/[health_html]/templates/home.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/home.tpl

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

revision 1.2 by ravilov, Tue Aug 7 13:55:51 2001 UTC revision 1.16 by ravilov, Fri Oct 12 09:22:02 2001 UTC
# Line 1  Line 1 
1  <table width="100%" cellspacing=0 cellpadding=5 border=0>  <table width=420 cellspacing=0 cellpadding=0 border=0>
2    
 <!-- bigin mejn kontent -->  
3  <tr><td colspan=3 valign=top>  <tr><td colspan=3 valign=top>
4  {if ($EDIT)}  <span style="color:silver;font-size:8pt;">{if ($ismed)}aktualna tema{else}aktualno{/if}</span><br>
5  {$EDIT}  {$EDIT}
6    {section name=i loop=$top}
7    <tr><td colspan=3 valign=top>
8    {if ($i/top.EDIT)}
9    {$i/top.EDIT}
10  {else}  {else}
11  {if ($top_id)}  {if ($i/top.titlepic_url && ($i/top.titlepic_type == 1 || $i/top.titlepic_type == 2 || $i/top.titlepic_type == 3))}
12  {if ($top_titlepic_url && ($top_titlepic_type == 1 || $top_titlepic_type == 2 || $top_titlepic_type == 3))}    <p align={if ($i/top.titlepic_type == 1)}left{/if}{if ($i/top.titlepic_type == 2)}center{/if}{if ($i/top.titlepic_type == 3)}right{/if}><img src="{$newspicdir}{$i/top.titlepic_url}" border=0 alt="{$i/top.titlepic_alt}"{if ($i/top.titlepic_width)} width={$i/top.titlepic_width}{/if}{if ($i/top.titlepic_height)} height={$i/top.titlepic_height}{/if}></p>
13    <p align={if ($top_titlepic_type == 1)}left{/if}{if ($top_titlepic_type == 2)}center{/if}{if ($top_titlepic_type == 3)}right{/if}><img src="{$newspicdir}{$top_titlepic_url}" border=0 alt="{$top_titlepic_alt}"{if ($top_titlepic_width)} width={$top_titlepic_width}{/if}{if ($top_titlepic_height)} height={$top_titlepic_height}{/if}></p>  {/if}
14  {/if}  {if ($i/top.title)}{if ($i/top.read)}<a href="{$i/top.read}">{/if}<span class="topictitle">{$i/top.title}</span>{if ($i/top.read)}</a>{/if}<br>{/if}
15  {if ($top_titlepic_url && ($top_titlepic_type == 4 || $top_titlepic_type == 5))}  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top>
16    {if ($top_titlepic_type == 4)}<img src="{$newspicdir}{$top_titlepic_url}" border=0 alt="{$top_titlepic_alt}"{if ($top_titlepic_width)} width={$top_titlepic_width}{/if}{if ($top_titlepic_height)} height={$top_titlepic_height}{/if} align=left>{/if}  {if ($i/top.titlepic_url && ($i/top.titlepic_type == 4 || $i/top.titlepic_type == 5))}
17    {if ($top_titlepic_type == 5)}<img src="{$newspicdir}{$top_titlepic_url}" border=0 alt="{$top_titlepic_alt}"{if ($top_titlepic_width)} width={$top_titlepic_width}{/if}{if ($top_titlepic_height)} height={$top_titlepic_height}{/if} align=right>{/if}    {if ($i/top.titlepic_type == 4)}<img src="{$newspicdir}{$i/top.titlepic_url}" border=0 alt="{$i/top.titlepic_alt}"{if ($i/top.titlepic_width)} width={$i/top.titlepic_width}{/if}{if ($i/top.titlepic_height)} height={$i/top.titlepic_height}{/if} align=left>{/if}
18  {/if}    {if ($i/top.titlepic_type == 5)}<img src="{$newspicdir}{$i/top.titlepic_url}" border=0 alt="{$i/top.titlepic_alt}"{if ($i/top.titlepic_width)} width={$i/top.titlepic_width}{/if}{if ($i/top.titlepic_height)} height={$i/top.titlepic_height}{/if} align=right>{/if}
19  {if ($top_title)}<span class="topictitle">{$top_title}</span><br>{/if}  {/if}
20  {if ($top_lead)}<span class="topicsubtitle">{$top_lead}</span><br>&nbsp;{/if}  {if ($i/top.lead)}<span class="topicsubtitle{if ($i/top.pgfs)}1{else}0{/if}">{$i/top.lead}</span><br>{/if}
21  {if ($top_titlepic_url && ($top_titlepic_type == 6 || $top_titlepic_type == 7 || $top_titlepic_type == 8))}  </td></tr></table>
22    <p align={if ($top_titlepic_type == 6)}left{/if}{if ($top_titlepic_type == 7)}center{/if}{if ($top_titlepic_type == 8)}right{/if}><img src="{$newspicdir}{$top_titlepic_url}" border=0 alt="{$top_titlepic_alt}"{if ($top_titlepic_width)} width={$top_titlepic_width}{/if}{if ($top_titlepic_height)} height={$top_titlepic_height}{/if}></p>  {if ($i/top.titlepic_url && ($i/top.titlepic_type == 6 || $i/top.titlepic_type == 7 || $i/top.titlepic_type == 8))}
23  {/if}    <p align={if ($i/top.titlepic_type == 6)}left{/if}{if ($i/top.titlepic_type == 7)}center{/if}{if ($i/top.titlepic_type == 8)}right{/if}><img src="{$newspicdir}{$i/top.titlepic_url}" border=0 alt="{$i/top.titlepic_alt}"{if ($i/top.titlepic_width)} width={$i/top.titlepic_width}{/if}{if ($i/top.titlepic_height)} height={$i/top.titlepic_height}{/if}></p>
24  <br>  {/if}
25  {section name=i loop=1}  {section name=j loop=0}
26  {if ($i/top_text.pic && ($i/top_text.pos == 1 || $i/top_text.pos == 2 || $i/top_text.pos == 3))}  {if ($i/j.text/top.pic && ($i/j.text/top.pos == 1 || $i/j.text/top.pos == 2 || $i/j.text/top.pos == 3))}
27    <p align={if ($i/top_text.pos == 1)}left{/if}{if ($i/top_text.pos == 2)}center{/if}{if ($i/top_text.pos == 3)}right{/if}><img src="{$newspicdir}{$i/top_text.pic}" border=0 alt="{$i/top_text.alt}"{if ($i/top_text.w)} width={$i/top_text.w}{/if}{if ($i/top_text.h)} height={$i/top_text.h}{/if}></p>    <p align={if ($i/j.text/top.pos == 1)}left{/if}{if ($i/j.text/top.pos == 2)}center{/if}{if ($i/j.text/top.pos == 3)}right{/if}><img src="{$newspicdir}{$i/j.text/top.pic}" border=0 alt="{$i/j.text/top.alt}"{if ($i/j.text/top.w)} width={$i/j.text/top.w}{/if}{if ($i/j.text/top.h)} height={$i/j.text/top.h}{/if}></p>
28  {/if}  {/if}
29  <p class="ptitle">{if ($i/top_text.class)}<span class="{$i/top_text.class}">{/if}{$i/top_text.title}{if ($i/top_text.class)}</span>{/if}</p>  <p class="ptitle">{if ($i/j.text/top.class)}<span class="{$i/j.text/top.class}">{/if}{$i/j.text/top.title}{if ($i/j.text/top.class)}</span>{/if}</p>
30    <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top>
31  <p class="ptext">  <p class="ptext">
32  {if ($i/top_text.pic && ($i/top_text.pos == 4 || $i/top_text.pos == 5))}  {if ($i/j.text/top.pic && ($i/j.text/top.pos == 4 || $i/j.text/top.pos == 5))}
33    {if ($i/top_text.pos == 4)}<img src="{$newspicdir}{$i/top_text.pic}" border=0 alt="{$i/top_text.alt}"{if ($i/top_text.w)} width={$i/top_text.w}{/if}{if ($i/top_text.h)} height={$i/top_text.h}{/if} align=left>{/if}    {if ($i/j.text/top.pos == 4)}<img src="{$newspicdir}{$i/j.text/top.pic}" border=0 alt="{$i/j.text/top.alt}"{if ($i/j.text/top.w)} width={$i/j.text/top.w}{/if}{if ($i/j.text/top.h)} height={$i/j.text/top.h}{/if} align=left>{/if}
34    {if ($i/top_text.pos == 5)}<img src="{$newspicdir}{$i/top_text.pic}" border=0 alt="{$i/top_text.alt}"{if ($i/top_text.w)} width={$i/top_text.w}{/if}{if ($i/top_text.h)} height={$i/top_text.h}{/if} align=right>{/if}    {if ($i/j.text/top.pos == 5)}<img src="{$newspicdir}{$i/j.text/top.pic}" border=0 alt="{$i/j.text/top.alt}"{if ($i/j.text/top.w)} width={$i/j.text/top.w}{/if}{if ($i/j.text/top.h)} height={$i/j.text/top.h}{/if} align=right>{/if}
35  {/if}  {/if}
36  {$i/top_text.text}  </td></tr></table>
37    {$i/j.text/top.text}
38  </p>  </p>
39  {if ($i/top_text.pic && ($i/top_text.pos == 6 || $i/top_text.pos == 7 || $i/top_text.pos == 8))}  </td></tr></table>
40    <p align={if ($i/top_text.pos == 6)}left{/if}{if ($i/top_text.pos == 7)}center{/if}{if ($i/top_text.pos == 8)}right{/if}><img src="{$newspicdir}{$i/top_text.pic}" border=0 alt="{$i/top_text.alt}"{if ($i/top_text.w)} width={$i/top_text.w}{/if}{if ($i/top_text.h)} height={$i/top_text.h}{/if}></p>  {if ($i/j.text/top.pic && ($i/j.text/top.pos == 6 || $i/j.text/top.pos == 7 || $i/j.text/top.pos == 8))}
41      <p align={if ($i/j.text/top.pos == 6)}left{/if}{if ($i/j.text/top.pos == 7)}center{/if}{if ($i/j.text/top.pos == 8)}right{/if}><img src="{$newspicdir}{$i/j.text/top.pic}" border=0 alt="{$i/j.text/top.alt}"{if ($i/j.text/top.w)} width={$i/j.text/top.w}{/if}{if ($i/j.text/top.h)} height={$i/j.text/top.h}{/if}></p>
42  {/if}  {/if}
43  {/section}  {/section}
44  {else}  <br>{if ($i/top.AUTHOR && $ismed)}{$i/top.AUTHOR}{/if}
45  <br><br><i>No articles.</i>  {$i/top.links}
46  {/if}  {/if}
47  {$top_links}  </td></tr>
48  {/if}  {sectionelse}
49  <br></td></tr>  {if (! $EDIT)}<br><br><i>Nema članaka.</i><br>
50  <!-- end mejn kontent -->  {if ($isedit)}<p align=right><small>[ <a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;cat={$cat}&amp;top_edit=1&amp;ed_id=0" class="more">novi</a> ]</small></p>{/if}{/if}
51    <br>&nbsp;
52    {/section}
53    </td></tr>
54    
 <!-- bigin njuz -->  
55  <tr>  <tr>
56  <td style="padding:0" bgcolor="#459FD6" align=left width="50%"><img src="img/newz01.gif" width="214" height="16" alt="" border="0"></td>  <td bgcolor="#459FD6" align=left valign=middle width=213 height=16><img src="img/vijesti.gif" border=0 alt="VIJESTI" width=214 height=16></td>
57  <td style="padding:0" rowspan=2><table border=0 cellspacing=0 cellpadding=0 width="100%" height="100%" bgcolor="#999999"><tr><td width=1 height="100%"><img src="img/klir.gif" alt="" border=0 width=1 height="100%"></td></tr></table></td>  <td bgcolor="#{if ($ismed)}003366{else}999999{/if}" width="1"><img src="img/klir.gif" alt="" border=0 width=1 height=16></td>
58  <td style="padding:0" bgcolor="#A687B6" align=right width="50%"><img src="img/newz02.gif" width="214" height="16" alt="" border="0"></td>  <td bgcolor="#{if ($ismed)}003366{else}A687B6{/if}" align=left valign=middle width=213 height=16><img src="img/novo.gif" border=0 alt="NOVO NA {if ($ismed)}PLIVAmed.net{else}PLIVAzdravlju{/if}" width=214 height=16></td>
59  </tr>  </tr>
 <tr>  
60    
61  <!-- bigin vrld njuz -->  <tr>
62  <td valign=top><br>  <td valign=top><br><table cellspacing=0 cellpadding=0 border=0 width="100%"><tr><td>
63  {$WN_EDIT}  {$WN_EDIT}
64  {section name=i loop=$wn}  {section name=i loop=$wn}
65  {if ($i/wn.EDIT)}  {if ($i/wn.EDIT)}
66  {$i/wn.EDIT}  {$i/wn.EDIT}
67  {else}  {else}
68    <a name="wn-{$i/wn.id}"></a>
69  {if ($i/wn.pic && ($i/wn.pos == 1 || $i/wn.pos == 2 || $i/wn.pos == 3))}  {if ($i/wn.pic && ($i/wn.pos == 1 || $i/wn.pos == 2 || $i/wn.pos == 3))}
70    <p align={if ($i/wn.pos == 1)}left{/if}{if ($i/wn.pos == 2)}center{/if}{if ($i/wn.pos == 3)}right{/if}><img src="{$newspicdir}{$i/wn.pic}" border=0 alt="{$i/wn.alt}"{if ($i/wn.width)} width={$i/wn.width}{/if}{if ($i/wn.height)} height={$i/wn.height}{/if}></p>    <p align={if ($i/wn.pos == 1)}left{/if}{if ($i/wn.pos == 2)}center{/if}{if ($i/wn.pos == 3)}right{/if}><img src="{$newspicdir}{$i/wn.pic}" border=0 alt="{$i/wn.alt}"{if ($i/wn.width)} width={$i/wn.width}{/if}{if ($i/wn.height)} height={$i/wn.height}{/if}></p>
71  {/if}  {/if}
72    {if ($i/wn.title)}{if ($i/wn.read)}<a href="{$i/wn.read}">{/if}<span class="newzworld">{$i/wn.title}</span>{if ($i/wn.read)}</a>{/if}<br>{/if}
73    <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top>
74  {if ($i/wn.pic && ($i/wn.pos == 4 || $i/wn.pos == 5))}  {if ($i/wn.pic && ($i/wn.pos == 4 || $i/wn.pos == 5))}
75    {if ($i/wn.pos == 4)}<img src="{$newspicdir}{$i/wn.pic}" border=0 alt="{$i/wn.alt}"{if ($i/wn.width)} width={$i/wn.width}{/if}{if ($i/wn.height)} height={$i/wn.height}{/if} align=left>{/if}    {if ($i/wn.pos == 4)}<img src="{$newspicdir}{$i/wn.pic}" border=0 hspace=5 vspace=5 alt="{$i/wn.alt}"{if ($i/wn.width)} width={$i/wn.width}{/if}{if ($i/wn.height)} height={$i/wn.height}{/if} align=left>{/if}
76    {if ($i/wn.pos == 5)}<img src="{$newspicdir}{$i/wn.pic}" border=0 alt="{$i/wn.alt}"{if ($i/wn.width)} width={$i/wn.width}{/if}{if ($i/wn.height)} height={$i/wn.height}{/if} align=right>{/if}    {if ($i/wn.pos == 5)}<img src="{$newspicdir}{$i/wn.pic}" border=0 hspace=5 vspace=5 alt="{$i/wn.alt}"{if ($i/wn.width)} width={$i/wn.width}{/if}{if ($i/wn.height)} height={$i/wn.height}{/if} align=right>{/if}
77  {/if}  {/if}
78  {if ($i/wn.title)}<span class="newzworld">{$i/wn.title}</span><br>{/if}  {if ($i/wn.lead)}<span class="newzworldsub{if ($i/wn.pgfs)}1{else}0{/if}">{$i/wn.lead}</span><br>{/if}
79  {if ($i/wn.lead)}<span class="newzworldsub">{$i/wn.lead}</span><br>&nbsp;{/if}  </td></tr></table>
80  {if ($i/wn.pic && ($i/wn.pos == 6 || $i/wn.pos == 7 || $i/wn.pos == 8))}  {if ($i/wn.pic && ($i/wn.pos == 6 || $i/wn.pos == 7 || $i/wn.pos == 8))}
81    <p align={if ($i/wn.pos == 6)}left{/if}{if ($i/wn.pos == 7)}center{/if}{if ($i/wn.pos == 8)}right{/if}><img src="{$newspicdir}{$i/wn.pic}" border=0 alt="{$i/wn.alt}"{if ($i/wn.width)} width={$i/wn.width}{/if}{if ($i/wn.height)} height={$i/wn.height}{/if}></p>    <p align={if ($i/wn.pos == 6)}left{/if}{if ($i/wn.pos == 7)}center{/if}{if ($i/wn.pos == 8)}right{/if}><img src="{$newspicdir}{$i/wn.pic}" border=0 alt="{$i/wn.alt}"{if ($i/wn.width)} width={$i/wn.width}{/if}{if ($i/wn.height)} height={$i/wn.height}{/if}></p>
82  {/if}  {/if}
 <br>  
83  {$i/wn.links}  {$i/wn.links}
84  {/if}  {/if}
85  {sectionelse}  {sectionelse}
86  <br><i>No articles.</i><br>  {if (! $WN_EDIT)}<br><i>Nema vijesti.</i><br>
87  <p align=right><small>[ <a href="?section={$section}&amp;cat=w&amp;wn_edit=1&amp;ed_id=0" class="more">new article</a> ]</small></p>  {if ($isedit)}<p align=right><small>[ <a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;cat=w&amp;wn_edit=1&amp;ed_id=0" class="more">novi</a> ]</small></p>{/if}{/if}
88  {/section}  {/section}
89  </td>  </td><td><img src="img/klir.gif" border=0 alt="" width="30"></td></tr></table></td>
90  <!-- end vrld njuz -->  
91    <td width=1 height="100%" bgcolor="#{if ($ismed)}003366{else}999999{/if}"><img src="img/klir.gif" alt="" border=0 width=1 height="100%"></td>
92    
93  <!-- bigin pliva njuz -->  <td valign=top><br><table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td><img src="img/klir.gif" border=0 alt="" width="30"></td><td>
 <td valign=top><br>  
94  {$PN_EDIT}  {$PN_EDIT}
95  {section name=i loop=$pn}  {section name=i loop=$pn}
96  {if ($i/pn.EDIT)}  {if ($i/pn.EDIT)}
97  {$i/pn.EDIT}  {$i/pn.EDIT}
98  {else}  {else}
99    <a name="pn-{$i/pn.id}"></a>
100  {if ($i/pn.pic && ($i/pn.pos == 1 || $i/pn.pos == 2 || $i/pn.pos == 3))}  {if ($i/pn.pic && ($i/pn.pos == 1 || $i/pn.pos == 2 || $i/pn.pos == 3))}
101    <p align={if ($i/pn.pos == 1)}left{/if}{if ($i/pn.pos == 2)}center{/if}{if ($i/pn.pos == 3)}right{/if}><img src="{$newspicdir}{$i/pn.pic}" border=0 alt="{$i/pn.alt}"{if ($i/pn.width)} width={$i/pn.width}{/if}{if ($i/pn.height)} height={$i/pn.height}{/if}></p>    <p align={if ($i/pn.pos == 1)}left{/if}{if ($i/pn.pos == 2)}center{/if}{if ($i/pn.pos == 3)}right{/if}><img src="{$newspicdir}{$i/pn.pic}" border=0 alt="{$i/pn.alt}"{if ($i/pn.width)} width={$i/pn.width}{/if}{if ($i/pn.height)} height={$i/pn.height}{/if}></p>
102  {/if}  {/if}
103    {if ($i/pn.title)}{if ($i/pn.read)}<a href="{$i/pn.read}">{/if}<span class="newzpliva">{$i/pn.title}</span>{if ($i/pn.read)}</a>{/if}<br>{/if}
104    <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top>
105  {if ($i/pn.pic && ($i/pn.pos == 4 || $i/pn.pos == 5))}  {if ($i/pn.pic && ($i/pn.pos == 4 || $i/pn.pos == 5))}
106    {if ($i/pn.pos == 4)}<img src="{$newspicdir}{$i/pn.pic}" border=0 alt="{$i/pn.alt}"{if ($i/pn.width)} width={$i/pn.width}{/if}{if ($i/pn.height)} height={$i/pn.height}{/if} align=left>{/if}    {if ($i/pn.pos == 4)}<img src="{$newspicdir}{$i/pn.pic}" border=0 hspace=5 vspace=5 alt="{$i/pn.alt}"{if ($i/pn.width)} width={$i/pn.width}{/if}{if ($i/pn.height)} height={$i/pn.height}{/if} align=left>{/if}
107    {if ($i/pn.pos == 5)}<img src="{$newspicdir}{$i/pn.pic}" border=0 alt="{$i/pn.alt}"{if ($i/pn.width)} width={$i/pn.width}{/if}{if ($i/pn.height)} height={$i/pn.height}{/if} align=right>{/if}    {if ($i/pn.pos == 5)}<img src="{$newspicdir}{$i/pn.pic}" border=0 hspace=5 vspace=5 alt="{$i/pn.alt}"{if ($i/pn.width)} width={$i/pn.width}{/if}{if ($i/pn.height)} height={$i/pn.height}{/if} align=right>{/if}
108  {/if}  {/if}
109  {if ($i/pn.title)}<span class="newzpliva">{$i/pn.title}</span><br>{/if}  {if ($i/pn.lead)}<span class="newzplivasub{if ($i/wn.pgfs)}1{else}0{/if}">{$i/pn.lead}</span><br>{/if}
110  {if ($i/pn.lead)}<span class="newzplivasub">{$i/pn.lead}</span><br>&nbsp;{/if}  </td></tr></table>
111  {if ($i/pn.pic && ($i/pn.pos == 6 || $i/pn.pos == 7 || $i/pn.pos == 8))}  {if ($i/pn.pic && ($i/pn.pos == 6 || $i/pn.pos == 7 || $i/pn.pos == 8))}
112    <p align={if ($i/pn.pos == 6)}left{/if}{if ($i/pn.pos == 7)}center{/if}{if ($i/pn.pos == 8)}right{/if}><img src="{$newspicdir}{$i/pn.pic}" border=0 alt="{$i/pn.alt}"{if ($i/pn.width)} width={$i/pn.width}{/if}{if ($i/pn.height)} height={$i/pn.height}{/if}></p>    <p align={if ($i/pn.pos == 6)}left{/if}{if ($i/pn.pos == 7)}center{/if}{if ($i/pn.pos == 8)}right{/if}><img src="{$newspicdir}{$i/pn.pic}" border=0 alt="{$i/pn.alt}"{if ($i/pn.width)} width={$i/pn.width}{/if}{if ($i/pn.height)} height={$i/pn.height}{/if}></p>
113  {/if}  {/if}
 <br>  
114  {$i/pn.links}  {$i/pn.links}
115  {/if}  {/if}
116  {sectionelse}  {sectionelse}
117  <br><i>No articles.</i><br>  {if (! $PN_EDIT)}<br><i>Nema novosti.</i><br>
118  <p align=right><small>[ <a href="?section={$section}&amp;cat=w&amp;wn_edit=1&amp;ed_id=0" class="more">new article</a> ]</small></p>  {if ($isedit)}<p align=right><small>[ <a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;cat=p&amp;pn_edit=1&amp;ed_id=0" class="more">novi</a> ]</small></p>{/if}{/if}
119  {/section}  {/section}
120  </td>  </td></tr></table></td>
 <!-- end pliva njuz -->  
121    
122  </tr>  </tr>
 <!-- end njuz -->  
123    
124  </table>  </table>

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

  ViewVC Help
Powered by ViewVC 1.1.26