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

Annotation of /templates/home.tpl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (hide annotations)
Mon Sep 3 15:52:16 2001 UTC (22 years, 9 months ago) by ravilov
Branch: MAIN
Changes since 1.6: +10 -6 lines
Made the menu on the left into images. More bugfixes.

1 ravilov 1.4 <table width="100%" cellspacing=0 cellpadding=0 border=0>
2 ravilov 1.1
3     <!-- bigin mejn kontent -->
4 ravilov 1.4 <tr><td colspan=7 valign=top>
5 ravilov 1.1 {if ($EDIT)}
6     {$EDIT}
7     {else}
8     {if ($top_id)}
9     {if ($top_titlepic_url && ($top_titlepic_type == 1 || $top_titlepic_type == 2 || $top_titlepic_type == 3))}
10     <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>
11     {/if}
12     {if ($top_titlepic_url && ($top_titlepic_type == 4 || $top_titlepic_type == 5))}
13     {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}
14     {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}
15     {/if}
16     {if ($top_title)}<span class="topictitle">{$top_title}</span><br>{/if}
17     {if ($top_lead)}<span class="topicsubtitle">{$top_lead}</span><br>&nbsp;{/if}
18     {if ($top_titlepic_url && ($top_titlepic_type == 6 || $top_titlepic_type == 7 || $top_titlepic_type == 8))}
19     <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>
20     {/if}
21     <br>
22     {section name=i loop=1}
23     {if ($i/top_text.pic && ($i/top_text.pos == 1 || $i/top_text.pos == 2 || $i/top_text.pos == 3))}
24     <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>
25     {/if}
26     <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>
27     <p class="ptext">
28     {if ($i/top_text.pic && ($i/top_text.pos == 4 || $i/top_text.pos == 5))}
29     {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}
30     {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}
31     {/if}
32     {$i/top_text.text}
33     </p>
34     {if ($i/top_text.pic && ($i/top_text.pos == 6 || $i/top_text.pos == 7 || $i/top_text.pos == 8))}
35     <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>
36     {/if}
37     {/section}
38     {else}
39 ravilov 1.7 <br><br><i>Nema èlanaka.</i>
40 ravilov 1.1 {/if}
41     {$top_links}
42     {/if}
43     <br></td></tr>
44     <!-- end mejn kontent -->
45    
46     <!-- bigin njuz -->
47     <tr>
48 ravilov 1.4 <td align=left width=1><img src="img/newz01.gif" width=10 height=16 alt="" border=0></td>
49 ravilov 1.7 <td bgcolor="#459FD6" align=left valign=middle width="50%"><span class="newztitle"><b>&nbsp;PLIVA&nbsp;WORLD&nbsp;NEWS</b></span></td>
50 ravilov 1.4 <td bgcolor="#459FD6">&nbsp;&nbsp;</td>
51     <td height="100%"><table border=0 cellspacing=0 cellpadding=0 width=1 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>
52     <td bgcolor="#A687B6">&nbsp;&nbsp;</td>
53 ravilov 1.7 <td bgcolor="#A687B6" align=right valign=middle width="50%"><span class="newztitle"><b>PLIVA&nbsp;HEALTH&nbsp;NEWS&nbsp;</b></span></td>
54 ravilov 1.4 <td align=right width=1><img src="img/newz02.gif" width=10 height=16 alt="" border=0></td>
55 ravilov 1.1 </tr>
56     <tr>
57    
58     <!-- bigin vrld njuz -->
59 ravilov 1.4 <td valign=top colspan=2 width="50%"><br>
60 ravilov 1.1 {$WN_EDIT}
61     {section name=i loop=$wn}
62     {if ($i/wn.EDIT)}
63     {$i/wn.EDIT}
64     {else}
65     {if ($i/wn.pic && ($i/wn.pos == 1 || $i/wn.pos == 2 || $i/wn.pos == 3))}
66     <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>
67     {/if}
68     {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 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 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 ravilov 1.7 <a name="wn-{$i/wn.id}">
73 ravilov 1.1 {if ($i/wn.title)}<span class="newzworld">{$i/wn.title}</span><br>{/if}
74     {if ($i/wn.lead)}<span class="newzworldsub">{$i/wn.lead}</span><br>&nbsp;{/if}
75 ravilov 1.7 </a>
76 ravilov 1.1 {if ($i/wn.pic && ($i/wn.pos == 6 || $i/wn.pos == 7 || $i/wn.pos == 8))}
77     <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>
78     {/if}
79     <br>
80     {$i/wn.links}
81     {/if}
82     {sectionelse}
83     <br><i>No articles.</i><br>
84 ravilov 1.7 {if ($isedit)}<p align=right><small>[ <a href="?section={$section}&amp;section_menu={$section_menu}&amp;cat=w&amp;wn_edit=1&amp;ed_id=0" class="more">novi</a> ]</small></p>{/if}
85 ravilov 1.1 {/section}
86     </td>
87     <!-- end vrld njuz -->
88    
89 ravilov 1.4 <td>&nbsp;&nbsp;</td>
90     <td height="100%"><table border=0 cellspacing=0 cellpadding=0 width=1 height="100%"><tr><td width=1 height="100%" bgcolor="#999999"><img src="img/klir.gif" alt="" border=0 width=1 height="100%"></td></tr></table></td>
91     <td>&nbsp;&nbsp;</td>
92    
93 ravilov 1.1 <!-- bigin pliva njuz -->
94 ravilov 1.4 <td valign=top colspan=2><br>
95 ravilov 1.1 {$PN_EDIT}
96     {section name=i loop=$pn}
97     {if ($i/pn.EDIT)}
98     {$i/pn.EDIT}
99     {else}
100     {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>
102     {/if}
103     {if ($i/pn.pic && ($i/pn.pos == 4 || $i/pn.pos == 5))}
104     {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}
105     {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}
106     {/if}
107 ravilov 1.7 <a name="pn-{$i/pn.id}">
108 ravilov 1.1 {if ($i/pn.title)}<span class="newzpliva">{$i/pn.title}</span><br>{/if}
109     {if ($i/pn.lead)}<span class="newzplivasub">{$i/pn.lead}</span><br>&nbsp;{/if}
110 ravilov 1.7 </a>
111 ravilov 1.1 {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>
113     {/if}
114     <br>
115     {$i/pn.links}
116     {/if}
117     {sectionelse}
118 ravilov 1.7 <br><i>Nema èlanaka.</i><br>
119     {if ($isedit)}<p align=right><small>[ <a href="?section={$section}&amp;section_menu={$section_menu}&amp;cat=w&amp;wn_edit=1&amp;ed_id=0" class="more">novi</a> ]</small></p>{/if}
120 ravilov 1.1 {/section}
121     </td>
122     <!-- end pliva njuz -->
123    
124     </tr>
125     <!-- end njuz -->
126    
127     </table>

  ViewVC Help
Powered by ViewVC 1.1.26