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

Diff of /templates/stanja.tpl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by ravilov, Tue Oct 2 16:18:09 2001 UTC revision 1.5 by ravilov, Thu Oct 4 14:59:35 2001 UTC
# Line 7  Line 7 
7  {if ($KOL_EDIT)}  {if ($KOL_EDIT)}
8  {$KOL_EDIT}  {$KOL_EDIT}
9  {else}  {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))}  {if ($kol_read)}<a href="{$kol_read}">{/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>    <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}  {/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}  {if ($kol_title)}{if ($kol_read)}<a href="{$kol_read}">{/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>  <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}  {if ($kol_read)}<a href="{$kol_read}">{/if}
16  {if ($kol_titlepic_url && ($kol_titlepic_type == 4 || $kol_titlepic_type == 5))}  {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}    {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}    {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}
# Line 20  Line 20 
20  {if ($kol_lead)}<span class="mainsubtitle{if ($kol_pgfs)}1{else}0{/if}">{$kol_lead}</span><br>{/if}  {if ($kol_lead)}<span class="mainsubtitle{if ($kol_pgfs)}1{else}0{/if}">{$kol_lead}</span><br>{/if}
21  {if ($kol_read)}</a>{/if}  {if ($kol_read)}</a>{/if}
22  </td></tr></table>  </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))}  {if ($kol_read)}<a href="{$kol_read}">{/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>    <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}  {/if}{if ($kol_read)}</a>{/if}
26  {$kol_links}  {$kol_links}
 <br>  
27  {/if}  {/if}
28  {else}  {else}
29  {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}  {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}
# Line 33  Line 32 
32  <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>  <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>
33  {/if}  {/if}
34    
35  {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}  {if ($top && ($prev || $next || $offset))}<tr><td colspan=3 align=right><small>[ {if ($prev || $offset)}<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}
36  {$EDIT}  {$EDIT}
37  {section name=i loop=$top}  {section name=i loop=$top}
38  <tr><td colspan=3 valign=top>  <tr><td colspan=3 valign=top>
39  {if ($i/top.EDIT)}  {if ($i/top.EDIT)}
40  {$i/top.EDIT}  {$i/top.EDIT}
41  {else}  {else}
42  {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))}  {if ($i/top.read)}<a href="{$i/top.read}">{/if}{if ($i/top.titlepic_url && ($i/top.titlepic_type == 1 || $i/top.titlepic_type == 2 || $i/top.titlepic_type == 3))}
43    <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>    <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>
44  {/if}{if ($i/top.read)}</a>{/if}  {/if}{if ($i/top.read)}</a>{/if}
45  {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}  {if ($i/top.title)}{if ($i/top.read)}<a href="{$i/top.read}">{/if}<span class="maintitle">{$i/top.title}</span>{if ($i/top.read)}</a>{/if}<br>{/if}
46  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top>  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top>
47  {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.read)}<a href="{$i/top.read}">{/if}
48  {if ($i/top.titlepic_url && ($i/top.titlepic_type == 4 || $i/top.titlepic_type == 5))}  {if ($i/top.titlepic_url && ($i/top.titlepic_type == 4 || $i/top.titlepic_type == 5))}
49    {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}    {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}
50    {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}    {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}
# Line 53  Line 52 
52  {if ($i/top.lead)}<span class="mainsubtitle{if ($i/top.pgfs)}1{else}0{/if}">{$i/top.lead}</span><br>{/if}  {if ($i/top.lead)}<span class="mainsubtitle{if ($i/top.pgfs)}1{else}0{/if}">{$i/top.lead}</span><br>{/if}
53  {if ($i/top.read)}</a>{/if}  {if ($i/top.read)}</a>{/if}
54  </td></tr></table>  </td></tr></table>
55  {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))}  {if ($i/top.read)}<a href="{$i/top.read}">{/if}{if ($i/top.titlepic_url && ($i/top.titlepic_type == 6 || $i/top.titlepic_type == 7 || $i/top.titlepic_type == 8))}
56    <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>    <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>
57  {/if}{if ($i/top.read)}</a>{/if}  {/if}{if ($i/top.read)}</a>{/if}
58  {section name=j loop=0}  {section name=j loop=0}
# Line 77  Line 76 
76  {/section}  {/section}
77  {$i/top.links}  {$i/top.links}
78  {/if}  {/if}
79  <br></td></tr>  </td></tr>
80  {sectionelse}  {sectionelse}
81  {if (! $EDIT)}<br><br><i>Nema članaka.</i><br>  {if (! $EDIT)}<br><br><i>Nema članaka.</i><br>
82  {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}  {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}
83  {/section}  {/section}
84    
85  {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}  {if ($top && ($prev || $next || $offset))}<tr><td colspan=3 align=right><small>[ {if ($prev || $offset)}<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}
86  </table>  </table>

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.26