/[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.1 - (hide annotations)
Fri Aug 3 09:12:42 2001 UTC (22 years, 9 months ago) by ravilov
Branch: MAIN
Branch point for: pliva
Initial revision

1 ravilov 1.1 <table width="100%" cellspacing=0 cellpadding=5 border=0>
2    
3     <!-- bigin mejn kontent -->
4     <tr><td colspan=3 valign=top>
5     {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     <td style="padding:0" bgcolor="#459FD6" align=left width="50%"><img src="img/newz01.gif" width="214" height="16" alt="" border="0"></td>
49     <td style="padding:0" rowspan=2 width=1><table border=0 cellspacing=0 cellpadding=0 width="100%" height="100%" bgcolor="#999999"><tr><td><img src="img/klir.gif" alt="" width=1 border="0"></td></tr></table></td>
50     <td style="padding:0" bgcolor="#A687B6" align=right width="50%"><img src="img/newz02.gif" width="214" height="16" alt="" border="0"></td>
51     </tr>
52     <tr>
53    
54     <!-- bigin vrld njuz -->
55     <td valign=top><br>
56     {$WN_EDIT}
57     {section name=i loop=$wn}
58     {if ($i/wn.EDIT)}
59     {$i/wn.EDIT}
60     {else}
61     {if ($i/wn.pic && ($i/wn.pos == 1 || $i/wn.pos == 2 || $i/wn.pos == 3))}
62     <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>
63     {/if}
64     {if ($i/wn.pic && ($i/wn.pos == 4 || $i/wn.pos == 5))}
65     {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}
66     {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}
67     {/if}
68     {if ($i/wn.title)}<span class="newzworld">{$i/wn.title}</span><br>{/if}
69     {if ($i/wn.lead)}<span class="newzworldsub">{$i/wn.lead}</span><br>&nbsp;{/if}
70     {if ($i/wn.pic && ($i/wn.pos == 6 || $i/wn.pos == 7 || $i/wn.pos == 8))}
71     <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>
72     {/if}
73     <br>
74     {$i/wn.links}
75     {/if}
76     {sectionelse}
77     <br><i>No articles.</i><br>
78     <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>
79     {/section}
80     </td>
81     <!-- end vrld njuz -->
82    
83     <!-- bigin pliva njuz -->
84     <td valign=top><br>
85     {$PN_EDIT}
86     {section name=i loop=$pn}
87     {if ($i/pn.EDIT)}
88     {$i/pn.EDIT}
89     {else}
90     {if ($i/pn.pic && ($i/pn.pos == 1 || $i/pn.pos == 2 || $i/pn.pos == 3))}
91     <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>
92     {/if}
93     {if ($i/pn.pic && ($i/pn.pos == 4 || $i/pn.pos == 5))}
94     {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}
95     {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}
96     {/if}
97     {if ($i/pn.title)}<span class="newzpliva">{$i/pn.title}</span><br>{/if}
98     {if ($i/pn.lead)}<span class="newzplivasub">{$i/pn.lead}</span><br>&nbsp;{/if}
99     {if ($i/pn.pic && ($i/pn.pos == 6 || $i/pn.pos == 7 || $i/pn.pos == 8))}
100     <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>
101     {/if}
102     <br>
103     {$i/pn.links}
104     {/if}
105     {sectionelse}
106     <br><i>No articles.</i><br>
107     <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>
108     {/section}
109     </td>
110     <!-- end pliva njuz -->
111    
112     </tr>
113     <!-- end njuz -->
114    
115     </table>

  ViewVC Help
Powered by ViewVC 1.1.26