/[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.2 by ravilov, Tue Sep 25 15:38:05 2001 UTC revision 1.7 by ravilov, Fri Oct 12 13:13:38 2001 UTC
# Line 1  Line 1 
1  {if ($top && ($prev || $next))}<p 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;Prev 10</a>{else}&lt;&lt;Prev 10{/if} | {if ($next)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;offset={$next}" class="more">Next 10&gt;&gt;</a>{else}Next 10&gt;&gt;{/if} ]</small></p><br><br>{/if}  <table width="100%" cellspacing=0 cellpadding=5 border=0>
2  <table width="100%" cellspacing=0 cellpadding=5 border=0>  
3    {if ($cat == "x")}
4  {$EDIT}  <tr><td colspan=3 valign=top>
5  {section name=i loop=$top}  <span style="color:silver;font-size:8pt;">kolumna</span><br>
6  <tr><td colspan=3 valign=top>  {if ($kol_id || $KOL_EDIT)}
7  {if ($i/top.EDIT)}  {if ($KOL_EDIT)}
8  {$i/top.EDIT}  {$KOL_EDIT}
9  {else}  {else}
10  {if ($i/top.titlepic_url && ($i/top.titlepic_type == 1 || $i/top.titlepic_type == 2 || $i/top.titlepic_type == 3))}  {if ($kol_titlepic_url && ($kol_titlepic_type == 1 || $kol_titlepic_type == 2 || $kol_titlepic_type == 3))}
11    <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 ($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} hspace=5 vspace=5></p>
12  {/if}  {/if}
13  {if ($i/top.title)}<span class="maintitle">{$i/top.title}</span><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 ($i/top.titlepic_url && ($i/top.titlepic_type == 4 || $i/top.titlepic_type == 5))}  {if ($kol_titlepic_url && ($kol_titlepic_type == 4 || $kol_titlepic_type == 5))}
16    {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 ($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 hspace=5 vspace=5>{/if}
17    {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 ($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 hspace=5 vspace=5>{/if}
18  {/if}  {/if}
19  {if ($i/top.lead)}<span class="mainsubtitle">{$i/top.lead}</span><br>{/if}  {if ($kol_lead)}<span class="mainsubtitle{if ($kol_pgfs)}1{else}0{/if}">{$kol_lead}</span><br>{/if}
20  </td></tr></table>  </td></tr></table>
21  {if ($i/top.titlepic_url && ($i/top.titlepic_type == 6 || $i/top.titlepic_type == 7 || $i/top.titlepic_type == 8))}  {if ($kol_titlepic_url && ($kol_titlepic_type == 6 || $kol_titlepic_type == 7 || $kol_titlepic_type == 8))}
22    <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 ($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} hspace=5 vspace=5></p>
23  {/if}  {/if}
24  <br>  {$kol_links}
25  {section name=j loop=0}  {/if}
26  {if ($i/j.text/top.pic && ($i/j.text/top.pos == 1 || $i/j.text/top.pos == 2 || $i/j.text/top.pos == 3))}  {else}
27    <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>  {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}
28  {/if}  {/if}
29  <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>  </td></tr>
30  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top>  <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></td></tr>
31  <p class="ptext">  {/if}
32  {if ($i/j.text/top.pic && ($i/j.text/top.pos == 4 || $i/j.text/top.pos == 5))}  
33    {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}  {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;&nbsp;nazad</a>{/if}{if (($prev || $offset) && $next)} | {/if}{if ($next)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;offset={$next}" class="more">sljedećih 10&nbsp;&gt;&gt;</a>{/if} ]</small><br>&nbsp;</td></tr>{/if}
34    {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}  {if ($EDIT)}<tr><td align=center>{$EDIT}</td></tr>{/if}
35  {/if}  {section name=i loop=$top}
36  </td></tr></table>  <tr><td colspan=3 valign=top>
37  {$i/j.text/top.text}  {if ($i/top.EDIT)}{$i/top.EDIT}{else}
38  </p>  <a name="{$i/top.id}"></a>
39  </td></tr></table>  {if ($i/top.titlepic_url && ($i/top.titlepic_type == 1 || $i/top.titlepic_type == 2 || $i/top.titlepic_type == 3))}
40  {if ($i/j.text/top.pic && ($i/j.text/top.pos == 6 || $i/j.text/top.pos == 7 || $i/j.text/top.pos == 8))}    <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} hspace=5 vspace=5></p>
41    <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>  {/if}
42  {/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}
43  {/section}  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top>
44  {$i/top.links}  {if ($i/top.titlepic_url && ($i/top.titlepic_type == 4 || $i/top.titlepic_type == 5))}
45  {/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 hspace=5 vspace=5>{/if}
46  <br></td></tr>    {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 hspace=5 vspace=5>{/if}
47  {sectionelse}  {/if}
48  {if (! $EDIT)}<br><br><i>Nema članaka.</i><br>  {if ($i/top.lead)}<span class="mainsubtitle{if ($i/top.pgfs)}1{else}0{/if}">{$i/top.lead}</span><br>{/if}
49  {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}  </td></tr></table>
50  {/section}  {if ($i/top.titlepic_url && ($i/top.titlepic_type == 6 || $i/top.titlepic_type == 7 || $i/top.titlepic_type == 8))}
51      <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} hspace=5 vspace=5></p>
52  </table>  {/if}
53  {if ($top && ($prev || $next))}<p 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;Prev 10</a>{else}&lt;&lt;Prev 10{/if} | {if ($next)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;offset={$next}" class="more">Next 10&gt;&gt;</a>{else}Next 10&gt;&gt;{/if} ]</small></p><br><br>{/if}  {$i/top.links}
54    {/if}
55    </td></tr>
56    {sectionelse}
57    {if (! $EDIT)}<br><br><i>Nema članaka.</i><br>
58    {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}
59    {/section}
60    
61    {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;&nbsp;nazad</a>{/if}{if (($prev || $offset) && $next)} | {/if}{if ($next)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;offset={$next}" class="more">sljedećih 10&nbsp;&gt;&gt;</a>{/if} ]</small><br>&nbsp;</td></tr>{/if}
62    </table>

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.26