/[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.9 - (show annotations)
Wed Sep 19 14:16:34 2001 UTC (22 years, 7 months ago) by ravilov
Branch: MAIN
Changes since 1.8: +1 -1 lines
Fixed some bugs in my_replace() (formely nonl()) in global.php

1 <table width="100%" cellspacing=0 cellpadding=0 border=0>
2
3 <!-- bigin mejn kontent -->
4 <tr><td colspan=5 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=0}
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 {$AUTHOR}
39 {else}
40 {if (! $EDIT)}<br><br><i>Nema èlanaka.</i>{/if}
41 {/if}
42 {$top_links}
43 {/if}
44 <br></td></tr>
45 <!-- end mejn kontent -->
46
47 <!-- bigin njuz -->
48 <tr>
49 <td bgcolor="#459FD6" align=left valign=middle height=16 colspan=2><img src="img/vijesti.gif" border=0 alt="VIJESTI" width=214 height=16></td>
50 <td bgcolor="#999999"><img src="img/klir.gif" alt="" border=0 width=1 height=16></td>
51 <td bgcolor="#A687B6" align=right valign=middle height=16 colspan=2><img src="img/novo.gif" border=0 alt="NOVO NA {if ($ismed)}PLIVAmed.net{else}PLIVAzdravlju{/if}" width=214 height=16></td>
52 </tr>
53 <tr>
54
55 <!-- bigin vrld njuz -->
56 <td valign=top><br>
57 {$WN_EDIT}
58 {section name=i loop=$wn}
59 {if ($i/wn.EDIT)}
60 {$i/wn.EDIT}
61 {else}
62 {if ($i/wn.pic && ($i/wn.pos == 1 || $i/wn.pos == 2 || $i/wn.pos == 3))}
63 <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>
64 {/if}
65 {if ($i/wn.pic && ($i/wn.pos == 4 || $i/wn.pos == 5))}
66 {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}
67 {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}
68 {/if}
69 <a name="wn-{$i/wn.id}">
70 {if ($i/wn.title)}<span class="newzworld">{$i/wn.title}</span><br>{/if}
71 {if ($i/wn.lead)}<span class="newzworldsub">{$i/wn.lead}</span><br>&nbsp;{/if}
72 </a>
73 {if ($i/wn.pic && ($i/wn.pos == 6 || $i/wn.pos == 7 || $i/wn.pos == 8))}
74 <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>
75 {/if}
76 <br>
77 {$i/wn.links}
78 {/if}
79 {sectionelse}
80 {if (! $WN_EDIT)}<br><i>Nema èlanaka.</i><br>
81 {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}{/if}
82 {/section}
83 </td>
84 <!-- end vrld njuz -->
85
86 <td width="10">&nbsp;&nbsp;</td>
87 <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>
88 <td width="10">&nbsp;&nbsp;</td>
89
90 <!-- bigin pliva njuz -->
91 <td valign=top><br>
92 {$PN_EDIT}
93 {section name=i loop=$pn}
94 {if ($i/pn.EDIT)}
95 {$i/pn.EDIT}
96 {else}
97 {if ($i/pn.pic && ($i/pn.pos == 1 || $i/pn.pos == 2 || $i/pn.pos == 3))}
98 <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>
99 {/if}
100 {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 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 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 <a name="pn-{$i/pn.id}">
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 </a>
108 {if ($i/pn.pic && ($i/pn.pos == 6 || $i/pn.pos == 7 || $i/pn.pos == 8))}
109 <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>
110 {/if}
111 <br>
112 {$i/pn.links}
113 {/if}
114 {sectionelse}
115 {if (! $PN_EDIT)}<br><i>Nema èlanaka.</i><br>
116 {if ($isedit)}<p align=right><small>[ <a href="?section={$section}&amp;section_menu={$section_menu}&amp;cat=p&amp;pn_edit=1&amp;ed_id=0" class="more">novi</a> ]</small></p>{/if}{/if}
117 {/section}
118 </td>
119 <!-- end pliva njuz -->
120
121 </tr>
122 <!-- end njuz -->
123
124 </table>

  ViewVC Help
Powered by ViewVC 1.1.26