/[health_html]/templates/index.tpl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /templates/index.tpl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by ravilov, Wed Sep 19 12:23:57 2001 UTC revision 1.11 by ravilov, Tue Sep 25 15:38:05 2001 UTC
# Line 1  Line 1 
1  <html>  <html>
2  <head>  <head>
3  <title>{section name=i loop=$PATH}{$i/PATH}{if (%i.index% < %i.loop% - 1)} :: {/if}{sectionelse}#{/section}</title>  <title>{section name=i loop=$PATH}{$i/PATH}{if (%i.index% < %i.loop% - 1)} :: {/if}{sectionelse}#{/section}</title>
4  <link rel="StyleSheet" type="text/css" href="stil.css">  <link rel="StyleSheet" type="text/css" href="stil.php">
5  <link rel="StyleSheet" type="text/css" href="levels.css">  <link rel="StyleSheet" type="text/css" href="levels.css">
6    {if ($refresh)}<meta http-equiv="Refresh" content="3; URL=$refresh">{/if}
7  </head>  </head>
8    
9  <body bgcolor="#FFFFFF" marginwidth=8 marginheight=8{if ($onload)} onload="{$onload}"{/if}>  <body bgcolor="#FFFFFF" marginwidth=8 marginheight=8{if ($onload)} onload="{$onload}"{/if}>
10  <a name="top">&nbsp;</a>  <a name="top"></a>
11  <br>&nbsp;  <table border=0 align="center" cellspacing=0 cellpadding=0 width=770>
 <table border=0 align="center" cellspacing=0 cellpadding=0 width=784>  
12  <tr>  <tr>
13      <td colspan=11 background="img/head02.gif" valign=top>      <td colspan=5 height=10></td>
       <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr>  
         <td align=left valign=top><a href="http://www.plivahealth.com/"><img src="img/head01.gif" width={if ($ismed)}180{else}228{/if} height=63 alt="PLIVAzdravlje" border="0"></a></td>  
         <td align=right valign=top><table border=0 cellspacing=0 cellpadding=6 width="100%"><tr><td align=right valign=top><font color="#FFFFFF"><b><small>ZDRAVLJE NA DOHVAT.</small>&nbsp;</b></font></td></tr></table></td>  
       </tr></table>  
     </td>  
14  </tr>  </tr>
15  <tr>  <tr>
16      <td width=148 background="img/left01.gif" height="22">&nbsp;</td>      <td colspan="5"><table width="100%" cellspacing="0" cellpadding="0" border="0"><tr>
17      <td width=16><img src="img/left02.gif" width="16" height="22" alt="" border="0"></td>      <td><img src="img/banner-title.gif" width="302" height="39" alt="" border="0"><br>
18      <td width=44><img src="img/left03.gif" width="44" height="22" alt="" border="0"></td>          <img src="img/head.gif" width="302" height="64" alt="" border="0"><br></td>
19  {if ($ismed)}      <td>{if ($isreg)}<a href="javascript:void(0);">{/if}<img src="img/banneri/{$banner}" width="468" height="60" alt="" border="0">{if ($isreg)}</a>{/if}<br>
20      <td>{if ($section == "home")}<img src="#" width=60 height=22 alt="home" border="0">{else}<a href="index.php?section=home"><img src="#" width=60 height=22 alt="home" border="0"></a>{/if}</td>          <img src="img/stripe.gif" width="468" height="43" alt="" border="0"><br></td>
21      <td>{if ($section == "registracija")}<img src="#" width=60 height=22 width=60 height=22 alt="registracija" border="0">{else}<a href="index.php?section=registracija"><img src="#" width=60 height=22 alt="registracija" border="0"></a>{/if}</td>      </tr></table></td>
     <td>{if ($section == "onama")}<img src="#" width=60 height=22 alt="o nama" border="0">{else}<a href="index.php?section=onama"><img src="#" width=60 height=22 alt="o nama" border="0"></a>{/if}</td>  
     <td>{if ($section == "knjiznica")}<img src="#" width=60 height=22 alt="knjižnica" border="0">{else}<a href="index.php?section=knjiznica"><img src="#" width=60 height=22 alt="knjižnica" border="0"></a>{/if}</td>  
     <td>{if ($section == "linkovi")}<img src="#" width=60 height=22 alt="linkovi" border="0">{else}<a href="index.php?section=linkovi"><img src="#" width=60 height=22 alt="linkovi" border="0"></a>{/if}</td>  
     <td>{if ($section == "pretrazivanje")}<img src="#" width=60 height=22 alt="pretraživanje" border="0">{else}<a href="index.php?section=pretrazivanje"><img src="#" width=60 height=22 alt="pretraživanje" border="0"></a>{/if}</td>  
 {else}  
     <td width=51>{if ($section == "home")}<img src="img/meni01a.gif" width="51" height="22" alt="home" border="0">{else}<a href="index.php?section=home"><img src="img/meni01.gif" width="51" height="22" alt="home" border="0"></a>{/if}</td>  
     <td width=65>{if ($section == "bolesti")}<img src="img/meni02a.gif" width="65" height="22" alt="bolesti" border="0">{else}<a href="index.php?section=bolesti"><img src="img/meni02.gif" width="65" height="22" alt="bolesti" border="0"></a>{/if}</td>  
     <td width=90>{if ($section == "simptomi")}<img src="img/meni03a.gif" width="90" height="22" alt="simptomi" border="0">{else}<a href="index.php?section=simptomi"><img src="img/meni03.gif" width="90" height="22" alt="simptomi" border="0"></a>{/if}</td>  
     <td width=79>{if ($section == "stanja")}<img src="img/meni04a.gif" width="79" height="22" alt="stanja" border="0">{else}<a href="index.php?section=stanja"><img src="img/meni04.gif" width="79" height="22" alt="stanja" border="0"></a>{/if}</td>  
     <td width=66>{if ($section == "lifestyle")}<img src="img/meni05a.gif" width="66" height="22" alt="lifestyle" border="0">{else}<a href="index.php?section=lifestyle"><img src="img/meni05.gif" width="66" height="22" alt="lifestyle" border="0"></a>{/if}</td>  
     <td width=58>{if ($section == "knjiznica")}<img src="img/meni06a.gif" width="58" height="22" alt="knjižnica" border="0">{else}<a href="index.php?section=knjiznica"><img src="img/meni06.gif" width="58" height="22" alt="knjižnica" border="0"></a>{/if}</td>  
 {/if}  
     <!-- td width="100%"><img src="img/right00.gif" width="100%" height="22" alt="" border="0"></td -->  
     <td width=15><img src="img/right01.gif" width="15" height="22" alt="" border="0"></td>  
     <td width=160 bgcolor="#DAF0E5"><a href="mailto:info@plivaheatlh.com"><img src="img/pisite.gif" width="160" height="22" alt="pišite nam!" border="0"></a></td>  
22  </tr>  </tr>
23  <tr>  <tr>
24      <td bgcolor="#B6E1CB" valign=top align=center>      <td><img src="img/left01.gif" width="134" height="23" alt="" border="0"></td>
25      <table border=0 cellspacing=0 cellpadding=0 width="100%">      <td><img src="img/left02.gif" width="{if ($ismed)}183{else}79{/if}" height="23" alt="" border="0">{section name=i loop=$mainmenu}{if (($section != $i/mainmenu.sec || $section_menu || $section_menu2) && $isreg)}<a href="?section={$i/mainmenu.sec}">{/if}<img src="img/meni0{%i.rownum%}{if ($section == $i/mainmenu.sec)}a{/if}.gif" width="{$i/mainmenu.w}" height="{$i/mainmenu.h}" alt="{$i/mainmenu.alt}" border="0">{if ($section != $i/mainmenu.sec || $section_menu || $section_menu2)}</a>{/if}{/section}</td>
26        <td bgcolor="#{if ($ismed)}D0E7F4{else}DAF0E5{/if}"><a href="mailto:info@pliva{if ($ismed)}med.net{else}zdravlje.hr{/if}"><img src="img/pisite.gif" width="160" height="22" alt="pišite nam!" border="0"></a></td>
27  <!-- bigin lejva navigacija -->  </tr>
28      <tr><td align=center valign=middle><br>  <tr>
29      <a href="{if ($ismed)}/ph/thefilez/{if ($isedit)}edit/{/if}{else}/ph/thefilez/med/{if ($isedit)}edit/{/if}{/if}">{if ($ismed)}PLIVAzdravlje{else}PLIVAmed{/if}</a><br>      <td valign="top" align="center" width="134" bgcolor="#{if ($ismed)}D0E7F4{else}DAF0E5{/if}">
30      <br>          <table align="center" width="100%" cellspacing="0" cellpadding="0" border="0">
31      <a href="?section=onama">O nama</a>          <tr>
32      <br>&nbsp;              <td align="center" bgcolor="#{if ($ismed)}A2CEE9{else}B6E1CB{/if}"><form action="{if ($isreg)}?section=search{/if}" method="post" onsubmit="{if (! $isreg)}return false;{else}return (self.document.forms[0].query || self.document.forms[0].elements[0]).value ? true : false;{/if}"><table border="0" cellspacing="0" cellpadding="0" width="70%"><tr><td align="left" valign="middle">
33      </td></tr>              <br><span class="small">pretraživanje</span><br><input type="text" name="query" value="{$query}" size="12" class="small"><br>{if ($isreg)}<input type="image" src="img/search.gif" width="30" height="15" alt="traži" border="0">{else}<img src="img/search.gif" width="30" height="15" alt="traži" border="0">{/if}
34  <!-- end lejva navigacija -->              </td></tr></table></form></td>
35            </tr>
36  <!-- bigin bjela pauza -->          <tr>
37      <tr><td bgcolor="#FFFFFF"><table width="100%" height=2 cellspacing=0 cellpadding=0 border=0><tr><td></td></tr></table></td></tr>              <td align="center" valign="middle"><a href="http://{if ($ismed)}ph.pliva.hr/{if ($isedit)}edit/{/if}{else}pm.pliva.hr/{if ($isedit)}edit/{/if}{/if}"><img src="img/pliva{if ($ismed)}zdravlje{else}med{/if}.gif" width=134 height=30 border=0 alt="PLIVA{if ($ismed)}zdravlje.hr{else}med.net{/if}"></a></td>
38  <!-- end bjela pauza -->          </tr>
39            {if ($MENU)}
40  <!-- bigin drugi lejvi kontent -->          <tr>
41      <tr><td align=top valign=left width=148>              <td align="center"><br><table border=0 cellspacing=0 cellpadding=3 width="90%">
42      <table border=0 cellspacing=0 cellpadding=8 width=148><tr><td align=left valign=top>              {section name=i loop=$MENU}{if ($i/MENU.caption)}
43      {if ($MENU)}              <tr><td align=left valign=middle>{if (($section_menu != $i/MENU.name || $section_menu2) && $isreg)}<a href="?section={$section}&amp;section_menu={$i/MENU.name}" class="mainlinks">{else}<span class="mainlinks">{/if}{$i/MENU.caption}{if (($section_menu != $i/MENU.name || $section_menu2) && $isreg)}</a>{else}</span>{/if}<br>
44        <br><table border=0 cellspacing=0 cellpadding=0>              {if ($section_menu == $i/MENU.name && $i/MENU.menu && $isreg)}<table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td><img src="img/klir.gif" alt="" border=0 width=10></td><td><table border=0 cellspacing=0 cellpadding=3 width="100%">
45        {section name=i loop=$MENU}{if ($i/MENU.caption)}              {section name=j loop=$i/MENU.menu}
46        <tr><td align=left valign=middle>{if ($section_menu != $i/MENU.name)}<a href="?section={$section}&amp;section_menu={$i/MENU.name}">{/if}<img src="button.php?text={$i/MENU.caption2}&amp;type={if ($section_menu == $i/MENU.name)}1{else}0{/if}" alt="{$i/MENU.caption}" border=0 width=130 height=19>{if ($section_menu != $i/MENU.name)}</a>{/if}</td></tr>                <tr><td align=left valign=middle>{if ($section_menu2 != $i/j.menu/MENU.name)}<a href="?section={$section}&amp;section_menu={$i/MENU.name}&amp;section_menu2={$i/j.menu/MENU.name}" class="mainlinks">{else}<span class="mainlinks">{/if}{$i/j.menu/MENU.caption}{if ($section_menu2 != $i/j.menu/MENU.name)}</a>{else}</span>{/if}</td></tr>
47        {/if}{/section}              {/section}
48        </table><br><br>&nbsp;              </table></td></tr></table>{/if}</td></tr>
49      {else}              {/if}{/section}
50        &nbsp;              </table><br></td>
51      {/if}          </tr>
52      {if ($MENU3)}          {/if}
53        <br><big><b><i>Kliničke specijalnosti:</i></b></big><br><table border=0 cellspacing=0 cellpadding=2>          {if ($MENU3)}
54        <tr><td width="1%" valign=top>&#8226;</td><td align=left valign=top>{if (! $spec)}<b>SVE{else}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;spec=0" class="menu2">SVE</a>{/if}</td></tr>          <tr>
55        {section name=i loop=$MENU3}              <td align=center valign=top><table border=0 cellspacing=0 cellpadding=3 width="{if ($ismed)}70{else}90{/if}%"><tr><td align=left valign=middle><br><big><b>Kliničke specijalnosti:</b></big><br><br></td></tr>
56        <tr><td width="1%" valign=top>&#8226;</td><td align=left valign=top>{if ($i/MENU3.id == $spec)}<b>{$i/MENU3.title}{else}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;spec={$i/MENU3.id}" class="menu2">{$i/MENU3.title}</a>{/if}</td></tr>              <tr><td align=left valign=top>{if (! $spec || ! $isreg)}<span class="mainlinks">SVE</span>{else}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;spec=0" class="mainlinks">SVE</a>{/if}</td></tr>
57        {/section}              {section name=i loop=$MENU3}
58        </table>              <tr><td height=15></td></tr>
59        <br>&nbsp;              {section name=j loop=$i/MENU3}
60      {else}              <tr><td align=left valign=top>{if ($i/j/MENU3.id == $spec || ! $isreg)}<span class="mainlinks">{$i/j/MENU3.title}</span>{else}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;spec={$i/j/MENU3.id}" class="mainlinks">{$i/j/MENU3.title}</a>{/if}</td></tr>
61        &nbsp;              {/section}
62      {/if}              {/section}
63      {if ($MENU2)}              </table>
64        <br><table border=0 cellspacing=0 cellpadding=2>{section name=i loop=$MENU2}              <br>&nbsp;
65        <tr><td width="1%" valign=top>&#8226;</td><td align=left valign=top><a href="#{$i/MENU2.pre}{$i/MENU2.id}" class="menu2">{$i/MENU2.title}</a><!-- {if ($i/MENU2.more)} [<a href="?section={$section}&amp;section_menu={$section_menu}&amp;cat={$i/MENU2.cat}&amp;id={$i/MENU2.id}&amp;show=1" class="more">pročitaj</a>]{/if}{if ($i/MENU2.url)} [<a href="{$i/MENU2.url}" class="more" target="_blank">više...</a>]{/if} --></td></tr>          </tr>
66        {/section}</table>          {/if}
67        <br>&nbsp;          {if ($MENU2)}
68      {else}          <tr><td align=center>
69        &nbsp;              <br><table border=0 cellspacing=0 cellpadding=3 width="90%">{section name=i loop=$MENU2}
70      {/if}              <tr><td colspan=2 align=left valign=center{if ($i/MENU2.class)} class="{$i/MENU2.class}"{/if}>{$i/MENU2.title}</td></tr>
71      </td></tr></table>              {section name=j loop=$i/MENU2.items}
72      </td></tr>              <tr><td align=left valign=top>{if ($isreg)}<a href="#{$i/MENU2.pre}{$i/j.items/MENU2.id}" class="menu2">{/if}{$i/j.items/MENU2.title}{if ($isreg)}</a>{/if}</td></tr>
73  <!-- end drugi lejvi kontent -->              {/section}
74                <tr><td height=10></td></tr>
75      </table>              {/section}</table>
76                <br>&nbsp;
77            </td></tr>
78            {/if}
79            </tr>
80            </table>
81      </td>      </td>
82      <td colspan=9 valign="top" align="left" style="padding:15px">      <td align=center valign=top>
83      <table border=0 cellspacing=0 cellpadding=10 width="100%"><tr><td>          <table border=0 cellspacing=0 cellpadding=20 width="100%"><tr><td>
84  {if ($MAIN)}          {if ($MAIN)}
85  {$MAIN}          {$MAIN}
86  {else}          {else}
87  <center><h3><br><br><b>Nepoznata sekcija:</b> <i>{$section}{if ($section_menu)}/{$section_menu}{/if}</i></h3></center>          <center><h3><br><br><b>Nepoznata sekcija:</b> <i>{$section}{if ($section_menu)}/{$section_menu}{if ($section_menu2)}/{$section_menu2}{/if}{/if}</i></h3></center>
88  {/if}          {/if}
89      </td></tr></table>          </td></tr></table>
90        </td>
91        <td align=center valign=top bgcolor="#{if ($ismed)}D0E7F4{else}DAF0E5{/if}">
92            <table align="center" width="100%" cellspacing="0" cellpadding="0" border="0">
93            <tr>
94                <td align="center"><br>{if ($isreg)}<a href="#" class="more">Forum</a>{else}<span class="small">Forum</span>{/if} | {if ($isreg)}<a href="#" class="more">Chat</a>{else}<span class="small">Chat</span>{/if}<br><br>&nbsp;</td>
95            </tr>
96            <tr>
97                <td bgcolor="#FFFFFF" height="2"><img src="img/klir.gif" height="2" border="0" alt=""></td>
98            </tr>
99            <tr>
100                <td align="center"><br><br>{if (! $ismed)}<br><br><a href="?section=bmi" class="more">BMI</a><br><br><a href="?section=ovulacija" class="more">Kalendar ovulacije</a>{/if}<br><br><br><br><br>&nbsp;</td>
101            </tr>
102            </table>
103      </td>      </td>
     <td bgcolor="#DAF0E5" align=center valign=top>  
     <table border=0 cellspacing=0 cellpadding=0 width="100%">  
   
 <!-- bigin desna navigacija -->  
     <tr><td align=center valign=middle><br><br><br>&nbsp;</td></tr>  
 <!-- end desna navigacija -->  
   
 <!-- bigin bjela pauza -->  
     <tr><td bgcolor="#FFFFFF"><table width="100%" height=2 cellspacing=0 cellpadding=0 border=0><tr><td></td></tr></table></td></tr>  
 <!-- end bjela pauza -->  
   
 <!-- bigin drugi desni kontent -->  
     <tr><td>&nbsp;</td></tr>  
 <!-- end drugi desni kontent -->  
   
 </table>  
 </td>  
104  </tr>  </tr>
105  <tr><td colspan=11 bgcolor="#FFFFFF" height=2></td></tr>  <tr><td colspan=11 bgcolor="#FFFFFF" height=2><img src="img/klir.gif" border=0 alt="" height="2"></td></tr>
106  <tr><td colspan=11 bgcolor="#98C9E7" align="center" style="padding:3px">{$FOOTER}</td></tr>  <tr><td colspan=11 bgcolor="#98C9E7" align="center" style="padding:3px">{$FOOTER}</td></tr>
107  </table>  </table>
 <br>&nbsp;  
108  </body>  </body>
109  </html>  </html>

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.26