/[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

Contents of /templates/home.tpl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations)
Tue Oct 2 16:18:09 2001 UTC (22 years, 7 months ago) by ravilov
Branch: MAIN
Changes since 1.12: +23 -23 lines
Users can now pick their username/password on registration (PLIVAmed). Other bugfixes.

1 <table width=420 cellspacing=0 cellpadding=0 border=0>
2
3 <tr><td colspan=3 valign=top>
4 {if ($EDIT)}{$EDIT}{else}
5 {if ($top_id)}
6 {if (! $spec)}<span style="color:silver;font-size:8pt;">{if ($ismed)}aktualna tema{else}aktualno{/if}</span><br>{/if}
7 {if ($top_read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$top_id}&amp;spec={$spec}">{/if}{if ($top_titlepic_url && ($top_titlepic_type == 1 || $top_titlepic_type == 2 || $top_titlepic_type == 3))}
8 <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>
9 {/if}{if ($top_read)}</a>{/if}
10 {if ($top_title)}{if ($top_read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$top_id}&amp;spec={$spec}">{/if}<span class="topictitle">{$top_title}</span>{if ($top_read)}</a>{/if}<br>{/if}
11 <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top>
12 {if ($top_read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$top_id}&amp;spec={$spec}">{/if}
13 {if ($top_titlepic_url && ($top_titlepic_type == 4 || $top_titlepic_type == 5))}
14 {if ($top_titlepic_type == 4)}<img src="{$newspicdir}{$top_titlepic_url}" border=0 hspace=5 vspace=5 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}
15 {if ($top_titlepic_type == 5)}<img src="{$newspicdir}{$top_titlepic_url}" border=0 hspace=5 vspace=5 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}
16 {/if}
17 {if ($top_lead)}<span class="topicsubtitle{if ($top_pgfs)}1{else}0{/if}">{$top_lead}</span><br>{/if}
18 {if ($top_read)}</a>{/if}
19 </td></tr></table>
20 {if ($top_read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$top_id}&amp;spec={$spec}">{/if}{if ($top_titlepic_url && ($top_titlepic_type == 6 || $top_titlepic_type == 7 || $top_titlepic_type == 8))}
21 <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>
22 {/if}{if ($top_read)}</a>{/if}
23 {section name=i loop=0}
24 {if ($i/top_text.pic && ($i/top_text.pos == 1 || $i/top_text.pos == 2 || $i/top_text.pos == 3))}
25 <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>
26 {/if}
27 <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>
28 <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top>
29 <p class="ptext">
30 {if ($i/top_text.pic && ($i/top_text.pos == 4 || $i/top_text.pos == 5))}
31 {if ($i/top_text.pos == 4)}<img src="{$newspicdir}{$i/top_text.pic}" border=0 hspace=5 vspace=5 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}
32 {if ($i/top_text.pos == 5)}<img src="{$newspicdir}{$i/top_text.pic}" border=0 hspace=5 vspace=5 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}
33 {/if}
34 {$i/top_text.text}
35 </p>
36 </td></tr></table>
37 {if ($i/top_text.pic && ($i/top_text.pos == 6 || $i/top_text.pos == 7 || $i/top_text.pos == 8))}
38 <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>
39 {/if}
40 {/section}
41 {if ($AUTHOR)}<br>{$AUTHOR}{/if}
42 {else}
43 {if (! $EDIT)}<br><br><i>Nema èlanaka.</i>{/if}
44 {/if}
45 {$top_links}
46 {/if}
47 </td></tr>
48
49 <tr>
50 <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>
51 <td bgcolor="#{if ($ismed)}003366{else}999999{/if}" width="1"><img src="img/klir.gif" alt="" border=0 width=1 height=16></td>
52 <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>
53 </tr>
54
55 <tr>
56 <td valign=top><br><table cellspacing=0 cellpadding=0 border=0 width="100%"><tr><td>
57 {$WN_EDIT}
58 {section name=i loop=$wn}
59 {if ($i/wn.EDIT)}
60 {$i/wn.EDIT}
61 {else}
62 <a name="wn-{$i/wn.id}"></a>
63 {if ($i/wn.read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$i/wn.id}&amp;spec={$spec}">{/if}{if ($i/wn.pic && ($i/wn.pos == 1 || $i/wn.pos == 2 || $i/wn.pos == 3))}
64 <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>
65 {/if}{if ($i/wn.read)}</a>{/if}
66 {if ($i/wn.title)}{if ($i/wn.read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$i/wn.id}&amp;spec={$spec}">{/if}<span class="newzworld">{$i/wn.title}</span>{if ($i/wn.read)}</a>{/if}<br>{/if}
67 <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top>
68 {if ($i/wn.read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$i/wn.id}&amp;spec={$spec}">{/if}{if ($i/wn.pic && ($i/wn.pos == 4 || $i/wn.pos == 5))}
69 {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}
70 {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}
71 {/if}
72 {if ($i/wn.lead)}<span class="newzworldsub{if ($i/wn.pgfs)}1{else}0{/if}">{$i/wn.lead}</span><br>{/if}{if ($i/wn.read)}</a>{/if}
73 </td></tr></table>
74 {if ($i/wn.read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$i/wn.id}&amp;spec={$spec}">{/if}{if ($i/wn.pic && ($i/wn.pos == 6 || $i/wn.pos == 7 || $i/wn.pos == 8))}
75 <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>
76 {/if}{if ($i/wn.read)}</a>{/if}
77 {$i/wn.links}
78 <br>
79 {/if}
80 {sectionelse}
81 {if (! $WN_EDIT)}<br><i>Nema vijesti.</i><br>
82 {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}
83 {/section}
84 </td><td><img src="img/klir.gif" border=0 alt="" width="30"></td></tr></table></td>
85
86 <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>
87
88 <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>
89 {$PN_EDIT}
90 {section name=i loop=$pn}
91 {if ($i/pn.EDIT)}
92 {$i/pn.EDIT}
93 {else}
94 <a name="pn-{$i/pn.id}"></a>
95 {if ($i/pn.read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$i/pn.id}&amp;spec={$spec}">{/if}{if ($i/pn.pic && ($i/pn.pos == 1 || $i/pn.pos == 2 || $i/pn.pos == 3))}
96 <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>
97 {/if}{if ($i/pn.read)}</a>{/if}
98 {if ($i/pn.title)}{if ($i/pn.read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$i/pn.id}&amp;spec={$spec}">{/if}<span class="newzpliva">{$i/pn.title}</span>{if ($i/pn.read)}</a>{/if}<br>{/if}
99 <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top>
100 {if ($i/pn.read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$i/pn.id}&amp;spec={$spec}">{/if}{if ($i/pn.pic && ($i/pn.pos == 4 || $i/pn.pos == 5))}
101 {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}
102 {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}
103 {/if}
104 {if ($i/pn.lead)}<span class="newzplivasub{if ($i/wn.pgfs)}1{else}0{/if}">{$i/pn.lead}</span><br>{/if}{if ($i/pn.read)}</a>{/if}
105 </td></tr></table>
106 {if ($i/wn.read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$i/wn.id}&amp;spec={$spec}">{/if}{if ($i/pn.pic && ($i/pn.pos == 6 || $i/pn.pos == 7 || $i/pn.pos == 8))}
107 <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>
108 {/if}{if ($i/pn.read)}</a>{/if}
109 {$i/pn.links}
110 <br>
111 {/if}
112 {sectionelse}
113 {if (! $PN_EDIT)}<br><i>Nema novosti.</i><br>
114 {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}
115 {/section}
116 </td></tr></table></td>
117
118 </tr>
119
120 </table>

  ViewVC Help
Powered by ViewVC 1.1.26