/[health_html]/templates/stanja.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/stanja.tpl

Parent Directory Parent Directory | Revision Log Revision Log


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

1 <table width="100%" cellspacing=0 cellpadding=5 border=0>
2
3 {if ($cat == "x")}
4 <tr><td colspan=3 valign=top>
5 <span style="color:silver;font-size:8pt;">kolumna</span><br>
6 {if ($kol_id || $KOL_EDIT)}
7 {if ($KOL_EDIT)}
8 {$KOL_EDIT}
9 {else}
10 {if ($kol_read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$kol_id}">{/if}{if ($kol_titlepic_url && ($kol_titlepic_type == 1 || $kol_titlepic_type == 2 || $kol_titlepic_type == 3))}
11 <p align={if ($kol_titlepic_type == 1)}left{/if}{if ($kol_titlepic_type == 2)}center{/if}{if ($kol_titlepic_type == 3)}right{/if}><img src="{$newspicdir}{$kol_titlepic_url}" border=0 alt="{$kol_titlepic_alt}"{if ($kol_titlepic_width)} width={$kol_titlepic_width}{/if}{if ($kol_titlepic_height)} height={$kol_titlepic_height}{/if}></p>
12 {/if}{if ($kol_read)}</a>{/if}
13 {if ($kol_title)}{if ($kol_read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$kol_id}">{/if}<span class="maintitle">{$kol_title}</span>{if ($kol_read)}</a>{/if}<br>{/if}
14 <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top>
15 {if ($kol_read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$kol_id}">{/if}
16 {if ($kol_titlepic_url && ($kol_titlepic_type == 4 || $kol_titlepic_type == 5))}
17 {if ($kol_titlepic_type == 4)}<img src="{$newspicdir}{$kol_titlepic_url}" border=0 alt="{$kol_titlepic_alt}"{if ($kol_titlepic_width)} width={$kol_titlepic_width}{/if}{if ($kol_titlepic_height)} height={$kol_titlepic_height}{/if} align=left>{/if}
18 {if ($kol_titlepic_type == 5)}<img src="{$newspicdir}{$kol_titlepic_url}" border=0 alt="{$kol_titlepic_alt}"{if ($kol_titlepic_width)} width={$kol_titlepic_width}{/if}{if ($kol_titlepic_height)} height={$kol_titlepic_height}{/if} align=right>{/if}
19 {/if}
20 {if ($kol_lead)}<span class="mainsubtitle{if ($kol_pgfs)}1{else}0{/if}">{$kol_lead}</span><br>{/if}
21 {if ($kol_read)}</a>{/if}
22 </td></tr></table>
23 {if ($kol_read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$kol_id}">{/if}{if ($kol_titlepic_url && ($kol_titlepic_type == 6 || $kol_titlepic_type == 7 || $kol_titlepic_type == 8))}
24 <p align={if ($kol_titlepic_type == 6)}left{/if}{if ($kol_titlepic_type == 7)}center{/if}{if ($kol_titlepic_type == 8)}right{/if}><img src="{$newspicdir}{$kol_titlepic_url}" border=0 alt="{$kol_titlepic_alt}"{if ($kol_titlepic_width)} width={$kol_titlepic_width}{/if}{if ($kol_titlepic_height)} height={$kol_titlepic_height}{/if}></p>
25 {/if}{if ($kol_read)}</a>{/if}
26 {$kol_links}
27 <br>
28 {/if}
29 {else}
30 {if ($isedit)}<p align=right><small>[ <a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;cat=y&amp;kol_edit=1&amp;ed_id=0" class="more">nova kolumna</a> ]</small></p>{/if}
31 {/if}
32 </td></tr>
33 <tr><td align=center><table border=0 cellspacing=0 cellpadding=0></tr><tr><td bgcolor="#DAF0E5"><img src="img/klir.gif" width="400" height="2" border=0 alt=""></td></tr></table></tr></tr>
34 {/if}
35
36 {if ($top && ($prev || $next))}<tr><td colspan=3 align=right><small>[ {if ($prev)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;offset={$prev}" class="more">&lt;&lt;</a>{else}&lt;&lt;{/if} | {if ($next)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;offset={$next}" class="more">&gt;&gt;</a>{else}&gt;&gt;{/if} ]</small><br>&nbsp;</td></tr>{/if}
37 {$EDIT}
38 {section name=i loop=$top}
39 <tr><td colspan=3 valign=top>
40 {if ($i/top.EDIT)}
41 {$i/top.EDIT}
42 {else}
43 {if ($i/top.read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$i/top.id}">{/if}{if ($i/top.titlepic_url && ($i/top.titlepic_type == 1 || $i/top.titlepic_type == 2 || $i/top.titlepic_type == 3))}
44 <p align={if ($i/top.titlepic_type == 1)}left{/if}{if ($i/top.titlepic_type == 2)}center{/if}{if ($i/top.titlepic_type == 3)}right{/if}><img src="{$newspicdir}{$i/top.titlepic_url}" border=0 alt="{$i/top.titlepic_alt}"{if ($i/top.titlepic_width)} width={$i/top.titlepic_width}{/if}{if ($i/top.titlepic_height)} height={$i/top.titlepic_height}{/if}></p>
45 {/if}{if ($i/top.read)}</a>{/if}
46 {if ($i/top.title)}{if ($i/top.read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$i/top.id}">{/if}<span class="maintitle">{$i/top.title}</span>{if ($i/top.read)}</a>{/if}<br>{/if}
47 <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top>
48 {if ($i/top.read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$i/top.id}">{/if}
49 {if ($i/top.titlepic_url && ($i/top.titlepic_type == 4 || $i/top.titlepic_type == 5))}
50 {if ($i/top.titlepic_type == 4)}<img src="{$newspicdir}{$i/top.titlepic_url}" border=0 alt="{$i/top.titlepic_alt}"{if ($i/top.titlepic_width)} width={$i/top.titlepic_width}{/if}{if ($i/top.titlepic_height)} height={$i/top.titlepic_height}{/if} align=left>{/if}
51 {if ($i/top.titlepic_type == 5)}<img src="{$newspicdir}{$i/top.titlepic_url}" border=0 alt="{$i/top.titlepic_alt}"{if ($i/top.titlepic_width)} width={$i/top.titlepic_width}{/if}{if ($i/top.titlepic_height)} height={$i/top.titlepic_height}{/if} align=right>{/if}
52 {/if}
53 {if ($i/top.lead)}<span class="mainsubtitle{if ($i/top.pgfs)}1{else}0{/if}">{$i/top.lead}</span><br>{/if}
54 {if ($i/top.read)}</a>{/if}
55 </td></tr></table>
56 {if ($i/top.read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$i/top.id}">{/if}{if ($i/top.titlepic_url && ($i/top.titlepic_type == 6 || $i/top.titlepic_type == 7 || $i/top.titlepic_type == 8))}
57 <p align={if ($i/top.titlepic_type == 6)}left{/if}{if ($i/top.titlepic_type == 7)}center{/if}{if ($i/top.titlepic_type == 8)}right{/if}><img src="{$newspicdir}{$i/top.titlepic_url}" border=0 alt="{$i/top.titlepic_alt}"{if ($i/top.titlepic_width)} width={$i/top.titlepic_width}{/if}{if ($i/top.titlepic_height)} height={$i/top.titlepic_height}{/if}></p>
58 {/if}{if ($i/top.read)}</a>{/if}
59 {section name=j loop=0}
60 {if ($i/j.text/top.pic && ($i/j.text/top.pos == 1 || $i/j.text/top.pos == 2 || $i/j.text/top.pos == 3))}
61 <p align={if ($i/j.text/top.pos == 1)}left{/if}{if ($i/j.text/top.pos == 2)}center{/if}{if ($i/j.text/top.pos == 3)}right{/if}><img src="{$newspicdir}{$i/j.text/top.pic}" border=0 alt="{$i/j.text/top.alt}"{if ($i/j.text/top.w)} width={$i/j.text/top.w}{/if}{if ($i/j.text/top.h)} height={$i/j.text/top.h}{/if}></p>
62 {/if}
63 <p class="ptitle">{if ($i/j.text/top.class)}<span class="{$i/j.text/top.class}">{/if}{$i/j.text/top.title}{if ($i/j.text/top.class)}</span>{/if}</p>
64 <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top>
65 <p class="ptext">
66 {if ($i/j.text/top.pic && ($i/j.text/top.pos == 4 || $i/j.text/top.pos == 5))}
67 {if ($i/j.text/top.pos == 4)}<img src="{$newspicdir}{$i/j.text/top.pic}" border=0 alt="{$i/j.text/top.alt}"{if ($i/j.text/top.w)} width={$i/j.text/top.w}{/if}{if ($i/j.text/top.h)} height={$i/j.text/top.h}{/if} align=left>{/if}
68 {if ($i/j.text/top.pos == 5)}<img src="{$newspicdir}{$i/j.text/top.pic}" border=0 alt="{$i/j.text/top.alt}"{if ($i/j.text/top.w)} width={$i/j.text/top.w}{/if}{if ($i/j.text/top.h)} height={$i/j.text/top.h}{/if} align=right>{/if}
69 {/if}
70 </td></tr></table>
71 {$i/j.text/top.text}
72 </p>
73 </td></tr></table>
74 {if ($i/j.text/top.pic && ($i/j.text/top.pos == 6 || $i/j.text/top.pos == 7 || $i/j.text/top.pos == 8))}
75 <p align={if ($i/j.text/top.pos == 6)}left{/if}{if ($i/j.text/top.pos == 7)}center{/if}{if ($i/j.text/top.pos == 8)}right{/if}><img src="{$newspicdir}{$i/j.text/top.pic}" border=0 alt="{$i/j.text/top.alt}"{if ($i/j.text/top.w)} width={$i/j.text/top.w}{/if}{if ($i/j.text/top.h)} height={$i/j.text/top.h}{/if}></p>
76 {/if}
77 {/section}
78 {$i/top.links}
79 {/if}
80 <br></td></tr>
81 {sectionelse}
82 {if (! $EDIT)}<br><br><i>Nema èlanaka.</i><br>
83 {if ($isedit)}<p align=right><small>[ <a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;cat={$cat}&amp;top_edit=1&amp;ed_id=0" class="more">novi</a> ]</small></p>{/if}{/if}
84 {/section}
85
86 {if ($top && ($prev || $next))}<tr><td colspan=3 align=right><small>[ {if ($prev)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;offset={$prev}" class="more">&lt;&lt;</a>{else}&lt;&lt;{/if} | {if ($next)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;offset={$next}" class="more">&gt;&gt;</a>{else}&gt;&gt;{/if} ]</small><br>&nbsp;</td></tr>{/if}
87 </table>

  ViewVC Help
Powered by ViewVC 1.1.26