|
{literal} |
|
|
<script type="text/javascript" language="JavaScript"> |
|
|
<!-- // begin |
|
|
// end --> |
|
|
</script> |
|
|
{/literal} |
|
1 |
{if ($DALJE)} |
{if ($DALJE)} |
2 |
<form method=post action="{$ME}" name="form"> |
<form method=post action="{$ME}#kalendar" name="form"> |
3 |
<font color="#000080"><b>1. KORAK:</b></font> Unesite prvi dan posljednjeg menstrualnog ciklusa:<br> |
<font color="#000080"><b>1. KORAK:</b></font> Unesite prvi dan posljednjeg menstrualnog ciklusa:<br> |
4 |
Dan: <select name="dan" class="small">{section name=i loop=$dani}<option value="{%i.rownum%}"{if ($i/dani == $dan)} selected{/if}>{$i/dani}</option>{/section}</select> |
Dan: <select name="dan" class="small">{section name=i loop=$dani}<option value="{%i.rownum%}"{if ($i/dani == $dan)} selected{/if}>{$i/dani}</option>{/section}</select> |
5 |
Mjesec: <select name="mjesec" class="small" onchange="document.form.refresh.value=1;document.form.submit();">{section name=i loop=$mjeseci}<option value="{$i/mjeseci}"{if ($i/mjeseci == $mjesec)} selected{/if}>{$i/mjeseci}</option>{/section}</select> |
Mjesec: <select name="mjesec" class="small" onchange="document.form.refresh.value=1;document.form.submit();">{section name=i loop=$mjeseci}<option value="{$i/mjeseci}"{if ($i/mjeseci == $mjesec)} selected{/if}>{$i/mjeseci}</option>{/section}</select> |
13 |
<br> |
<br> |
14 |
<p align=right class="small"><input type=submit name="kalendar" value="Kalendar"></p> |
<p align=right class="small"><input type=submit name="kalendar" value="Kalendar"></p> |
15 |
<input type=hidden name="refresh" value=""> |
<input type=hidden name="refresh" value=""> |
16 |
|
<input type=hidden name="old_dan" value="{$old_dan}"> |
17 |
|
<input type=hidden name="old_mjesec" value="{$old_mjesec}"> |
18 |
|
<input type=hidden name="old_godina" value="{$old_godina}"> |
19 |
|
<input type=hidden name="old_trajanje" value="{$old_trajanje}"> |
20 |
|
<input type=hidden name="old_kalendar" value="{$old_kalendar}"> |
21 |
</form> |
</form> |
22 |
<br> |
<br> |
23 |
{if ($kalendar)} |
<br> |
24 |
|
{if ($kal)} |
25 |
|
<a name="kalendar"> </a> |
26 |
<center> |
<center> |
27 |
<table border=1 cellspacing=0 cellpadding=5> |
<table border=1 cellspacing=0 cellpadding=5 bordercolor="#000000" width="95%"> |
28 |
|
<tr><th colspan=5><big>{if ($ime)}{$ime}<br>{/if}Kalendar ovulacije</big></th><td colspan=2 align=center>DC = Dan Ciklusa</td></tr> |
29 |
|
<tr><th width="14%">Pon</th><th width="14%">Uto</th><th width="14%">Sri</th><th width="14%">Čet</th><th width="14%">Pet</th><th width="14%">Sub</th><th width="14%">Ned</th></th> |
30 |
{section name=i loop=$kal} |
{section name=i loop=$kal} |
31 |
<!-- --> |
<tr> |
32 |
|
{section name=j loop=$i/kal} |
33 |
|
<td valign=top><table border=0 cellspacing=0 cellpadding=2 width="100%"> |
34 |
|
<tr><td align=left class="small">{if ($i/j/kal.cd)}DC{$i/j/kal.cd}{else} {/if}</td><td align=right class="small"><i>{$i/j/kal.dat_dan}.{$i/j/kal.dat_mjesec}.</i></td></tr> |
35 |
|
<tr><td align=center valign=middle colspan=2 class="small">{if ($i/j/kal.msg)} |
36 |
|
{if ($i/j/kal.msg == -1)}Zadnja mjesečnica{/if} |
37 |
|
{if ($i/j/kal.msg == 1)}Sljedeća očekivana mjesečnica{/if} |
38 |
|
{if ($i/j/kal.msg == -2)} <BR>Kasni?{/if} |
39 |
|
{if ($i/j/kal.msg == 5)}Plodno{/if} |
40 |
|
{if ($i/j/kal.msg == 9)}Jako plodno{/if} |
41 |
|
{if ($i/j/kal.msg == 10)}Ovulacija - najplodnije{/if} |
42 |
|
{if ($i/j/kal.msg == 4)}Možda malo prekasno...{/if} |
43 |
|
{if ($i/j/kal.msg == 2)}Moguć test trudnoće (urin){/if} |
44 |
|
{if ($i/j/kal.msg == 3)}Moguć test trudnoće (krv){/if} |
45 |
|
{else} {/if}</td></tr> |
46 |
|
</table></td> |
47 |
|
{/section} |
48 |
|
</tr> |
49 |
{/section} |
{/section} |
50 |
</table> |
</table><br> |
51 |
{/if} |
{/if} |
52 |
{else} |
{else} |
53 |
<br> |
<br> |