/[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.6 by ravilov, Thu Aug 30 16:35:36 2001 UTC revision 1.7 by ravilov, Mon Sep 3 15:52:16 2001 UTC
# Line 1  Line 1 
1  <html>  <html>
2  <head>  <head>
3  <title>PlivaHealth.com{if ($section_name)} :: {$section_name}{/if}{if ($section_menu_name)} :: {$section_menu_name}{/if}</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.css">
5  <link rel="StyleSheet" type="text/css" href="levels.css">  <link rel="StyleSheet" type="text/css" href="levels.css">
6  </head>  </head>
7    
8  <body bgcolor="#FFFFFF" marginwidth=8 marginheight=8{if ($onload)} onload="{$onload}"{/if}>  <body bgcolor="#FFFFFF" marginwidth=8 marginheight=8{if ($onload)} onload="{$onload}"{/if}>
9    <a name="top">&nbsp;</a>
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 width=784 colspan=10><a href="http://www.plivahealth.com/"><img src="img/h{if ($ismed)}med{else}health{/if}.gif" width=784 height=63 alt="PLIVA{if ($ismed)}med{else}zdravlje{/if}" border="0"></a></td>      <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>
14  <!--  <!--
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 width=148><a href="http://www.plivahealth.com/"><img src="img/head01.gif" width=148 height=52 alt="Pliva Health" border="0"></a></td>
16      <td width=16><img src="img/head03.gif" width="16" height=52 alt="" border="0"></td>      <td width=16><img src="img/head03.gif" width="16" height=52 alt="" border="0"></td>
17      <td colspan=8 width="100%"><img src="img/head02.gif" width="100%" height=52 alt="" border="0"></td>      <td colspan=9 width="100%"><img src="img/head02.gif" width="100%" height=52 alt="" border="0"></td>
18  -->  -->
19  </tr>  </tr>
20  <tr>  <tr>
# Line 21  Line 22 
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      <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>
25      <td width=147>{if ($section == "ds")}<img src="img/meni02a.gif" width="147" height="22" alt="disease &amp; symptomes" border="0">{else}<a href="index.php?section=ds"><img src="img/meni02.gif" width="147" height="22" alt="disease &amp; symptomes" 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>
26      <td width=79>{if ($section == "stanja")}<img src="img/meni03a.gif" width="79" height="22" alt="stanja" border="0">{else}<a href="index.php?section=stanja"><img src="img/meni03.gif" width="79" height="22" alt="stanja" 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>
27      <td width=66>{if ($section == "lifestyle")}<img src="img/meni04a.gif" width="66" height="22" alt="lifestyle" border="0">{else}<a href="index.php?section=lifestyle"><img src="img/meni04.gif" width="66" height="22" alt="lifestyle" 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>
28      <td width=58>{if ($section == "knjiznica")}<img src="img/meni05a.gif" width="58" height="22" alt="knjižnica" border="0">{else}<a href="index.php?section=knjiznica"><img src="img/meni05.gif" width="58" height="22" alt="knjiznica" 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>
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>
30      <!-- 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 -->
31      <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>
32      <td width=160 bgcolor="#DAF0E5"><a href="mailto:info@plivaheatlh.com"><img src="img/meni06.gif" width="160" height="22" alt="pisite 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>
33  </tr>  </tr>
34  <tr>  <tr>
35      <td bgcolor="#B6E1CB" valign=top align=center>      <td bgcolor="#B6E1CB" valign=top align=center>
# Line 43  Line 45 
45    
46  <!-- bigin drugi lejvi kontent -->  <!-- bigin drugi lejvi kontent -->
47      <tr><td align=top valign=left>      <tr><td align=top valign=left>
48      <table border=0 cellspacing=0 cellpadding=5 width="100%"><tr><td align=left valign=top>      <table border=0 cellspacing=0 cellpadding=8 width="100%"><tr><td align=left valign=top>
49      {if ($MENU)}      {if ($MENU)}
50        <br>        <br><table border=0 cellspacing=0 cellpadding=0>
   
       <table border=0 cellspacing=0 cellpadding=0 width=134>  
       {section name=i loop=$MENU}  
       <tr><td align=left height=16 valign=middle background="img/leftbutton.gif" class="menurow">{if ($section_menu == $i/MENU.name)}<span class="menu1">{$i/MENU.caption}{else}<a href="?section={$section}&amp;section_menu={$i/MENU.name}" class="menu0">{$i/MENU.caption}</a>{/if}</td></tr>  
       {/section}  
       </table>  
 <!--  
       <ul>  
51        {section name=i loop=$MENU}        {section name=i loop=$MENU}
52          <li>{if ($section_menu == $i/MENU.name)}<b><i>{$i/MENU.caption}</i></b>{else}<a href="?section={$section}&amp;section_menu={$i/MENU.name}">{$i/MENU.caption}</a>{/if}</li>        <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>
53        {/section}        {/section}
54        </ul>        </table><br><br>&nbsp;
55  -->      {else}
56  <br><br>&nbsp;        &nbsp;
57        {/if}
58        {if ($MENU2)}
59          <br><table border=0 cellspacing=0 cellpadding=2>{section name=i loop=$MENU2}
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>
61          {/section}</table>
62          <br><br>&nbsp;
63      {else}      {else}
64        &nbsp;        &nbsp;
65      {/if}      {/if}
# Line 69  Line 69 
69    
70      </table>      </table>
71      </td>      </td>
72      <td colspan=8 valign="top" align="left" style="padding:15px">      <td colspan=9 valign="top" align="left" style="padding:15px">
73      <table border=0 cellspacing=0 cellpadding=5 width="100%"><tr><td>      <table border=0 cellspacing=0 cellpadding=3 width="100%"><tr><td>
74  {if ($MAIN)}  {if ($MAIN)}
75  {$MAIN}  {$MAIN}
76  {else}  {else}

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

  ViewVC Help
Powered by ViewVC 1.1.26