/[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.7 by ravilov, Mon Sep 3 15:52:16 2001 UTC revision 1.10 by ravilov, Wed Sep 19 12:23:57 2001 UTC
# Line 10  Line 10 
10  <br>&nbsp;  <br>&nbsp;
11  <table border=0 align="center" cellspacing=0 cellpadding=0 width=784>  <table border=0 align="center" cellspacing=0 cellpadding=0 width=784>
12  <tr>  <tr>
13      <td colspan=11><a href="http://www.plivahealth.com/"><img src="img/h{if ($ismed)}med{else}health{/if}.gif" width=792 height=63 alt="PLIVA{if ($ismed)}med{else}zdravlje{/if}" border="0"></a></td>      <td colspan=11 background="img/head02.gif" valign=top>
14  <!--        <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr>
15      <td width=148><a href="http://www.plivahealth.com/"><img src="img/head01.gif" width=148 height=52 alt="Pliva Health" border="0"></a></td>          <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>
16      <td width=16><img src="img/head03.gif" width="16" height=52 alt="" border="0"></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>
17      <td colspan=9 width="100%"><img src="img/head02.gif" width="100%" height=52 alt="" border="0"></td>        </tr></table>
18  -->      </td>
19  </tr>  </tr>
20  <tr>  <tr>
21      <td width=148><img src="img/left01.gif" width="148" height="22" alt="" border="0"></td>      <td width=148 background="img/left01.gif" height="22">&nbsp;</td>
22      <td width=16><img src="img/left02.gif" width="16" height="22" alt="" border="0"></td>      <td width=16><img src="img/left02.gif" width="16" height="22" alt="" border="0"></td>
23      <td width=44><img src="img/left03.gif" width="44" height="22" alt="" border="0"></td>      <td width=44><img src="img/left03.gif" width="44" height="22" alt="" border="0"></td>
24    {if ($ismed)}
25        <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>
26        <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>
27        <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>
28        <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>
29        <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>
30        <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>
31    {else}
32      <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=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>
33      <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=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>
34      <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=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>
35      <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=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>
36      <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=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>
37      <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>      <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>
38    {/if}
39      <!-- td width="100%"><img src="img/right00.gif" width="100%" height="22" alt="" border="0"></td -->      <!-- td width="100%"><img src="img/right00.gif" width="100%" height="22" alt="" border="0"></td -->
40      <td width=15><img src="img/right01.gif" width="15" height="22" alt="" border="0"></td>      <td width=15><img src="img/right01.gif" width="15" height="22" alt="" border="0"></td>
41      <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>      <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>
# Line 36  Line 45 
45      <table border=0 cellspacing=0 cellpadding=0 width="100%">      <table border=0 cellspacing=0 cellpadding=0 width="100%">
46    
47  <!-- bigin lejva navigacija -->  <!-- bigin lejva navigacija -->
48      <tr><td align=center valign=middle><br><br><br>&nbsp;</td></tr>      <tr><td align=center valign=middle><br>
49        <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>
50        <br>
51        <a href="?section=onama">O nama</a>
52        <br>&nbsp;
53        </td></tr>
54  <!-- end lejva navigacija -->  <!-- end lejva navigacija -->
55    
56  <!-- bigin bjela pauza -->  <!-- bigin bjela pauza -->
# Line 44  Line 58 
58  <!-- end bjela pauza -->  <!-- end bjela pauza -->
59    
60  <!-- bigin drugi lejvi kontent -->  <!-- bigin drugi lejvi kontent -->
61      <tr><td align=top valign=left>      <tr><td align=top valign=left width=148>
62      <table border=0 cellspacing=0 cellpadding=8 width="100%"><tr><td align=left valign=top>      <table border=0 cellspacing=0 cellpadding=8 width=148><tr><td align=left valign=top>
63      {if ($MENU)}      {if ($MENU)}
64        <br><table border=0 cellspacing=0 cellpadding=0>        <br><table border=0 cellspacing=0 cellpadding=0>
65        {section name=i loop=$MENU}        {section name=i loop=$MENU}{if ($i/MENU.caption)}
66        <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.caption}&amp;type={if ($section_menu == $i/MENU.name)}1{else}0{/if}" alt="{$i/MENU.caption}" border=0>{if ($section_menu != $i/MENU.name)}</a>{/if}</td></tr>        <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>
67        {/section}        {/if}{/section}
68        </table><br><br>&nbsp;        </table><br><br>&nbsp;
69      {else}      {else}
70        &nbsp;        &nbsp;
71      {/if}      {/if}
72        {if ($MENU3)}
73          <br><big><b><i>Kliničke specijalnosti:</i></b></big><br><table border=0 cellspacing=0 cellpadding=2>
74          <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>
75          {section name=i loop=$MENU3}
76          <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>
77          {/section}
78          </table>
79          <br>&nbsp;
80        {else}
81          &nbsp;
82        {/if}
83      {if ($MENU2)}      {if ($MENU2)}
84        <br><table border=0 cellspacing=0 cellpadding=2>{section name=i loop=$MENU2}        <br><table border=0 cellspacing=0 cellpadding=2>{section name=i loop=$MENU2}
85        <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><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>
86        {/section}</table>        {/section}</table>
87        <br><br>&nbsp;        <br>&nbsp;
88      {else}      {else}
89        &nbsp;        &nbsp;
90      {/if}      {/if}
# Line 70  Line 95 
95      </table>      </table>
96      </td>      </td>
97      <td colspan=9 valign="top" align="left" style="padding:15px">      <td colspan=9 valign="top" align="left" style="padding:15px">
98      <table border=0 cellspacing=0 cellpadding=3 width="100%"><tr><td>      <table border=0 cellspacing=0 cellpadding=10 width="100%"><tr><td>
99  {if ($MAIN)}  {if ($MAIN)}
100  {$MAIN}  {$MAIN}
101  {else}  {else}
102  <h2><b>Unknown section: <i>{$section}</i></b></h2>  <center><h3><br><br><b>Nepoznata sekcija:</b> <i>{$section}{if ($section_menu)}/{$section_menu}{/if}</i></h3></center>
103  {/if}  {/if}
104      </td></tr></table>      </td></tr></table>
105      </td>      </td>
# Line 97  Line 122 
122  </td>  </td>
123  </tr>  </tr>
124  <tr><td colspan=11 bgcolor="#FFFFFF" height=2></td></tr>  <tr><td colspan=11 bgcolor="#FFFFFF" height=2></td></tr>
125  <tr><td colspan=11 bgcolor="#98C9E7" align="center" style="padding:3px">my name is footer! what is your name?</td></tr>  <tr><td colspan=11 bgcolor="#98C9E7" align="center" style="padding:3px">{$FOOTER}</td></tr>
126  </table>  </table>
127  <br>&nbsp;  <br>&nbsp;
128  </body>  </body>

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

  ViewVC Help
Powered by ViewVC 1.1.26