/[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.5 - (hide annotations)
Wed Aug 22 11:43:59 2001 UTC (22 years, 9 months ago) by ravilov
Branch: MAIN
Changes since 1.4: +2 -2 lines
Added the menu on the left.

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     <br><br><i>No articles.</i>
40     {/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     <td bgcolor="#459FD6" align=left valign=middle width="50%"><span class="newztitle">&nbsp;PLIVA&nbsp;WORLD&nbsp;NEWS</span></td>
50     <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     <td bgcolor="#A687B6" align=right valign=middle width="50%"><span class="newztitle">PLIVA&nbsp;HEALTH&nbsp;NEWS&nbsp;</span></td>
54     <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     {if ($i/wn.title)}<span class="newzworld">{$i/wn.title}</span><br>{/if}
73     {if ($i/wn.lead)}<span class="newzworldsub">{$i/wn.lead}</span><br>&nbsp;{/if}
74     {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}
77     <br>
78     {$i/wn.links}
79     {/if}
80     {sectionelse}
81     <br><i>No articles.</i><br>
82 ravilov 1.5 {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">new art.</a> ]</small></p>{/if}
83 ravilov 1.1 {/section}
84     </td>
85     <!-- end vrld njuz -->
86    
87 ravilov 1.4 <td>&nbsp;&nbsp;</td>
88     <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>
89     <td>&nbsp;&nbsp;</td>
90    
91 ravilov 1.1 <!-- bigin pliva njuz -->
92 ravilov 1.4 <td valign=top colspan=2><br>
93 ravilov 1.1 {$PN_EDIT}
94     {section name=i loop=$pn}
95     {if ($i/pn.EDIT)}
96     {$i/pn.EDIT}
97     {else}
98     {if ($i/pn.pic && ($i/pn.pos == 1 || $i/pn.pos == 2 || $i/pn.pos == 3))}
99     <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>
100     {/if}
101     {if ($i/pn.pic && ($i/pn.pos == 4 || $i/pn.pos == 5))}
102     {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}
103     {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}
104     {/if}
105     {if ($i/pn.title)}<span class="newzpliva">{$i/pn.title}</span><br>{/if}
106     {if ($i/pn.lead)}<span class="newzplivasub">{$i/pn.lead}</span><br>&nbsp;{/if}
107     {if ($i/pn.pic && ($i/pn.pos == 6 || $i/pn.pos == 7 || $i/pn.pos == 8))}
108     <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>
109     {/if}
110     <br>
111     {$i/pn.links}
112     {/if}
113     {sectionelse}
114     <br><i>No articles.</i><br>
115 ravilov 1.5 {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">new art.</a> ]</small></p>{/if}
116 ravilov 1.1 {/section}
117     </td>
118     <!-- end pliva njuz -->
119    
120     </tr>
121     <!-- end njuz -->
122    
123     </table>

  ViewVC Help
Powered by ViewVC 1.1.26