/[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.16 by ravilov, Sat Sep 29 15:24:49 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  </head>  {if ($refresh)}<meta http-equiv="Refresh" content="3; URL=$refresh">{/if}
7    </head>
8  <body bgcolor="#FFFFFF" marginwidth=8 marginheight=8{if ($onload)} onload="{$onload}"{/if}>  
9  <a name="top">&nbsp;</a>  <body bgcolor="#FFFFFF" marginwidth=8 marginheight=8{if ($onload)} onload="{$onload}"{/if}>
10  <br>&nbsp;  <noindex>
11  <table border=0 align="center" cellspacing=0 cellpadding=0 width=784>  <a name="top"></a>
12  <tr>  <table border=0 align="center" cellspacing=0 cellpadding=0 width=760>
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>  <tr>
14  <!--      <td colspan=5 height=10></td>
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>  </tr>
16      <td width=16><img src="img/head03.gif" width="16" height=52 alt="" border="0"></td>  <tr>
17      <td colspan=9 width="100%"><img src="img/head02.gif" width="100%" height=52 alt="" border="0"></td>      <td colspan="5"><table width="100%" cellspacing="0" cellpadding="0" border="0"><tr>
18  -->      <td><img src="img/banner-title.gif" width="292" height="39" alt="" border="0"><br>
19  </tr>          <a href="http://{if ($ismed)}www.plivamed.net/{else}www.plivazdravlje.hr{/if}{if ($edit)}edit/{/if}"><img src="img/head.gif" width="292" height="64" alt="" border="0"></a><br></td>
20  <tr>      <td><a href="{$banner_url}" target="_blank"><img src="img/banneri/{$banner}" width="468" height="60" alt="{$banner_alt}" border="0"></a><br>
21      <td width=148><img src="img/left01.gif" width="148" height="22" alt="" border="0"></td>          <img src="img/stripe.gif" width="468" height="43" alt="" border="0"><br></td>
22      <td width=16><img src="img/left02.gif" width="16" height="22" alt="" border="0"></td>      </tr></table></td>
23      <td width=44><img src="img/left03.gif" width="44" height="22" alt="" border="0"></td>  </tr>
24      <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>  <tr>
25      <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><img src="img/left01.gif" width="134" height="23" alt="" border="0"></td>
26      <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><img src="img/left02.gif" width="{if ($ismed)}150{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>
27      <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 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="150" height="23" alt="pišite nam!" border="0"></a></td>
28      <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>  </tr>
29      <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>  <tr>
30      <!-- td width="100%"><img src="img/right00.gif" width="100%" height="22" alt="" border="0"></td -->      <td valign="top" align="center" width="134" bgcolor="#{if ($ismed)}D0E7F4{else}DAF0E5{/if}">
31      <td width=15><img src="img/right01.gif" width="15" height="22" alt="" border="0"></td>          <table align="center" width="100%" cellspacing="0" cellpadding="0" border="0">
32      <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>          <tr>
33  </tr>              <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">
34  <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" onclick="if (this.blur) this.blur(); return true;">{else}<img src="img/search.gif" width="30" height="15" alt="traži" border="0">{/if}
35      <td bgcolor="#B6E1CB" valign=top align=center>              </td></tr></table></form></td>
36      <table border=0 cellspacing=0 cellpadding=0 width="100%">          </tr>
37            <tr>
38  <!-- bigin lejva navigacija -->              <td bgcolor="#FFFFFF"><img src="img/klir.gif" alt="" border=0 height=2></td>
39      <tr><td align=center valign=middle><br><br><br>&nbsp;</td></tr>          </tr>
40  <!-- end lejva navigacija -->          {if ($MENU)}
41            <tr>
42  <!-- bigin bjela pauza -->              <td align="center"><br><table border=0 cellspacing=0 cellpadding=3 width="90%">
43      <tr><td bgcolor="#FFFFFF"><table width="100%" height=2 cellspacing=0 cellpadding=0 border=0><tr><td></td></tr></table></td></tr>              {section name=i loop=$MENU}{if ($i/MENU.caption)}
44  <!-- end bjela pauza -->              <tr><td align=left valign=middle>{if (! $i/MENU.nolink && $isreg)}<a href="?section={$section}&amp;section_menu={$i/MENU.name}" class="mainlinks">{else}<span class="mainlinks">{/if}{$i/MENU.caption}{if (! $i/MENU.nolink && $isreg)}</a>{else}</span>{/if}<br>
45                {if ($i/MENU.name == $section_menu && $isreg && $i/MENU.menu)}<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%">
46  <!-- bigin drugi lejvi kontent -->              {section name=j loop=$i/MENU.menu}
47      <tr><td align=top valign=left>                <tr><td align=left valign=middle>{if (! $i/j.menu/MENU.nolink)}<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 (! $i/j.menu/MENU.nolink)}</a>{else}</span>{/if}</td></tr>
48      <table border=0 cellspacing=0 cellpadding=8 width="100%"><tr><td align=left valign=top>              {/section}
49      {if ($MENU)}              </table></td></tr></table>{/if}</td></tr>
50        <br><table border=0 cellspacing=0 cellpadding=0>              {/if}{/section}
51        {section name=i loop=$MENU}              </table><br></td>
52        <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>
53        {/section}          {/if}
54        </table><br><br>&nbsp;          {if ($MENU3)}
55      {else}          <tr>
56        &nbsp;              <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>
57      {/if}              <tr><td align=left valign=top>{if ((! $spec && $section == "home") || ! $isreg)}<span class="mainlinks">SVE</span>{else}<a href="?section=home&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;spec=0" class="mainlinks">SVE</a>{/if}</td></tr>
58      {if ($MENU2)}              {section name=i loop=$MENU3}
59        <br><table border=0 cellspacing=0 cellpadding=2>{section name=i loop=$MENU2}              <tr><td height=15></td></tr>
60        <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>              {section name=j loop=$i/MENU3}
61        {/section}</table>              <tr><td align=left valign=top>{if (($i/j/MENU3.id == $spec && $section == "home") || ! $isreg)}<span class="mainlinks">{$i/j/MENU3.title}</span>{else}<a href="?section=home&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>
62        <br><br>&nbsp;              {/section}
63      {else}              {/section}
64        &nbsp;              </table>
65      {/if}              <br>&nbsp;
66      </td></tr></table>          </tr>
67      </td></tr>          {/if}
68  <!-- end drugi lejvi kontent -->          {if ($MENU2)}
69            <tr><td align=center>
70      </table>              <br><table border=0 cellspacing=0 cellpadding=3 width="90%">{section name=i loop=$MENU2}
71      </td>              <tr><td colspan=2 align=left valign=center{if ($i/MENU2.class)} class="{$i/MENU2.class}"{/if}>{$i/MENU2.title}</td></tr>
72      <td colspan=9 valign="top" align="left" style="padding:15px">              {section name=j loop=$i/MENU2.items}
73      <table border=0 cellspacing=0 cellpadding=3 width="100%"><tr><td>              <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>
74  {if ($MAIN)}              {/section}
75  {$MAIN}              <tr><td height=10></td></tr>
76  {else}              {/section}</table>
77  <h2><b>Unknown section: <i>{$section}</i></b></h2>              <br>&nbsp;
78  {/if}          </td></tr>
79      </td></tr></table>          {/if}
80      </td>          </tr>
81      <td bgcolor="#DAF0E5" align=center valign=top>          </table>
82      <table border=0 cellspacing=0 cellpadding=0 width="100%">      </td>
83        <td align=center valign=top>
84  <!-- bigin desna navigacija -->          <table border=0 cellspacing=0 cellpadding=15 width=430><tr><td>
85      <tr><td align=center valign=middle><br><br><br>&nbsp;</td></tr>  </noindex>
86  <!-- end desna navigacija -->          {if ($MAIN)}
87            {$MAIN}
88  <!-- bigin bjela pauza -->          {else}
89      <tr><td bgcolor="#FFFFFF"><table width="100%" height=2 cellspacing=0 cellpadding=0 border=0><tr><td></td></tr></table></td></tr>          <center><h3><br><b>Nepoznata sekcija:</b> <i>{$section}{if ($section_menu)}/{$section_menu}{if ($section_menu2)}/{$section_menu2}{/if}{/if}</i></h3></center>
90  <!-- end bjela pauza -->          {/if}
91    <noindex>
92  <!-- bigin drugi desni kontent -->          </td></tr></table>
93      <tr><td>&nbsp;</td></tr>      </td>
94  <!-- end drugi desni kontent -->      <td align=center valign=top bgcolor="#{if ($ismed)}D0E7F4{else}DAF0E5{/if}">
95            <table align="center" width="100%" cellspacing="0" cellpadding="0" border="0">
96  </table>          {if ($ismed)}
97  </td>          <tr>
98  </tr>              <td align="center"><br><br><table border=0 cellspacing=0 cellpadding=0 width="100%">
99  <tr><td colspan=11 bgcolor="#FFFFFF" height=2></td></tr>              <tr><td colspan=2><a href="#" onclick="if (this.blur) this.blur(); if (this.style) this.style.behaviour = 'url(#default#homepage)'; if (this.setHomePage) this.setHomePage('http://www.plivazdravlje.hr/'); return false;"><img src="img/pocetna.gif" border=0 alt="PLIVAmed.net - početna stranica" width=150 height=24></a></td></tr>
100  <tr><td colspan=11 bgcolor="#98C9E7" align="center" style="padding:3px">my name is footer! what is your name?</td></tr>                  <td>{if ($isreg)}<a href="/chat/index.php?L=croatian&RO=PlivaMed" target="_blank">{/if}<img src="img/chat.gif" border=0 alt="chat" width=75 height=50>{if ($isreg)}</a>{/if}</td>
101  </table>                  <td>{if ($isreg)}<a href="?section=qa">{/if}<img src="img/pio.gif" border=0 alt="q&amp;a" width=75 height=50>{if ($isreg)}</a>{/if}</td>
102  <br>&nbsp;              <tr><td colspan=2><a href="#" onclick="if (this.blur) this.blur(); if (window.external) window.external.AddFavorite('http://www.plivamed.net/', 'PLIVAmed.net'); return false;"><img src="img/favorites.gif" border=0 alt="stavi PLIVAmed.net u favorites" width=150 height=24></a></td></tr>
103  </body>              </table>
104  </html>          </tr>
105            <tr>
106                <td align="center"><br><table border=0 cellspacing=0 cellpadding=3 width="80%">
107                    <tr><td align=left><a href="http://www.plivazdravlje.hr/{if ($isedit)}edit/{/if}" class="more"><img src="img/mali.plivazdravlje.gif" alt="PLIVAzdravlje.hr" border=0></a></td></tr>
108                    <tr><td align=left>{if ($isreg)}<a href="?section=harrison" class="more">{/if}<img src="img/mali.harrison.gif" alt="Harrison's Online" border=0>{if ($isreg)}</a>{/if}</td></tr>
109                    <tr><td align=left>{if ($isreg)}<a href="?section=vademecum" class="more">{/if}<img src="img/mali.vademecum.gif" alt="PLIVA Vademecum" border=0>{if ($isreg)}</a>{/if}</td></tr>
110                    <!-- tr><td align=left>{if ($isreg && $section != "kalendar")}<a href="?section=kalendar" class="more">{else}<span class="small">{/if}Kalendar događanja{if ($isreg)}</a>{else}</span>{/if}</td></tr -->
111                    <tr><td align=left>{if ($isreg && $section != "zanimljivo")}<a href="?section=zanimljivo" class="more">{else}<span class="small">{/if}Zanimljivosti{if ($isreg)}</a>{else}</span>{/if}</td></tr>
112                </table><br><br></td>
113            </tr>
114            <tr>
115                <td align=center><a href="http://www.mef.hr/" target="_blank"><img src="img/MedFaks.jpg" border=0 alt="Medicinski Fakultet Zagreb" width=136 height=20></a><br><br><br><br>&nbsp;</td>
116            </tr>
117            {else}
118            <tr>
119                <td align="center"><br><br><table border=0 cellspacing=0 cellpadding=0 width="100%">
120                <tr><td colspan=2><a href="#" onclick="if (this.blur) this.blur(); if (this.style) this.style.behaviour = 'url(#default#homepage)'; if (this.setHomePage) this.setHomePage('http://www.plivazdravlje.hr/'); return false;"><img src="img/pocetna.gif" border=0 alt="PLIVAzdravlje - početna stranica" width=150 height=24></a></td></tr>
121                <tr>
122                    <td><a href="/chat/index.php?L=croatian&RO=PlivaZdravlje" target="_blank"><img src="img/chat.gif" border=0 alt="chat" width=75 height=50></a></td>
123                    <td><a href="?section=qa"><img src="img/pio.gif" border=0 alt="q&amp;a" width=75 height=50></a></td>
124                </tr>
125                <tr><td colspan=2><a href="#" onclick="if (this.blur) this.blur(); if (window.external) window.external.AddFavorite('http://www.plivazdravlje.hr/', 'PLIVAzdravlje.hr'); return false;"><img src="img/favorites.gif" border=0 alt="stavi zdravlje u favorites" width=150 height=24></a></td></tr>
126                </table>
127            </tr>
128            <tr>
129                <td align="center"><br><table border=0 cellspacing=0 cellpadding=3 width="80%">
130                    <tr><td align=left><a href="http://www.plivamed.net/{if ($isedit)}edit/{/if}" class="more"><img src="img/mali.plivamed.gif" alt="PLIVAmed.net" border=0></a></td></tr>
131                    <tr><td align=left><a href="?section=bmi" class="more"><img src="img/mali.bmi.gif" alt="BMI" border=0></a></td></tr>
132                    <tr><td align=left><a href="?section=ovulacija" class="more"><img src="img/mali.kalendar.gif" alt="Kalendar ovulacije" border=0></a></td></tr>
133                    <tr><td align=left><a href="?section=duk" class="more"><img src="img/mali.doktor.sadrzaj.gif" alt="Doktor u kući" border=0></a></td></tr>
134                    <tr><td align=left><a href="?section=knjiznica&amp;section_menu=vademecum" class="more"><img src="img/mali.vademecum.gif" alt="PLIVA Vademecum" border=0></a></td></tr>
135                    <tr><td align=left><img src="semafor.php?g3=1&amp;msg=prevladava+ambrozija" alt="alergijski semafor" border=0></td></tr>
136                </table><br><br><br></td>
137            </tr>
138            <tr>
139                <td align=center><a href="http://www.idf.org/tools/day.htm" target="_blank" class="more"><img src="img/Diabetes.jpg" border=0 alt="Svjetski dan dijabetesa" width=40 height=73><br>Svjetski dan šećerne bolesti<br>14. studeni 2001.</a><br><br><br><br>&nbsp;</td>
140            </tr>
141            {/if}
142            </table>
143        </td>
144    </tr>
145    <tr><td colspan=11 bgcolor="#FFFFFF" height=2><img src="img/klir.gif" border=0 alt="" height="2"></td></tr>
146    <tr><td colspan=11 bgcolor="#98C9E7" align="center" style="padding:3px">{$FOOTER}</td></tr>
147    </table>
148    <center><a href="http://www.pliva.hr/" class="more" target="_blank"><font color="#808080">PLIVA d.d. korporativne stranice</font></a></center>
149    </noindex>
150    </body>
151    </html>

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

  ViewVC Help
Powered by ViewVC 1.1.26