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

Diff of /templates/home.tpl

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

revision 1.13 by ravilov, Tue Oct 2 16:18:09 2001 UTC revision 1.14 by ravilov, Thu Oct 4 14:59:35 2001 UTC
# Line 4  Line 4 
4  {if ($EDIT)}{$EDIT}{else}  {if ($EDIT)}{$EDIT}{else}
5  {if ($top_id)}  {if ($top_id)}
6  {if (! $spec)}<span style="color:silver;font-size:8pt;">{if ($ismed)}aktualna tema{else}aktualno{/if}</span><br>{/if}  {if (! $spec)}<span style="color:silver;font-size:8pt;">{if ($ismed)}aktualna tema{else}aktualno{/if}</span><br>{/if}
7  {if ($top_read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$top_id}&amp;spec={$spec}">{/if}{if ($top_titlepic_url && ($top_titlepic_type == 1 || $top_titlepic_type == 2 || $top_titlepic_type == 3))}  {if ($top_read)}<a href="?{$top_read}">{/if}{if ($top_titlepic_url && ($top_titlepic_type == 1 || $top_titlepic_type == 2 || $top_titlepic_type == 3))}
8    <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>    <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>
9  {/if}{if ($top_read)}</a>{/if}  {/if}{if ($top_read)}</a>{/if}
10  {if ($top_title)}{if ($top_read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$top_id}&amp;spec={$spec}">{/if}<span class="topictitle">{$top_title}</span>{if ($top_read)}</a>{/if}<br>{/if}  {if ($top_title)}{if ($top_read)}<a href="{$top_read}">{/if}<span class="topictitle">{$top_title}</span>{if ($top_read)}</a>{/if}<br>{/if}
11  <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>
12  {if ($top_read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$top_id}&amp;spec={$spec}">{/if}  {if ($top_read)}<a href="{$top_read}">{/if}
13  {if ($top_titlepic_url && ($top_titlepic_type == 4 || $top_titlepic_type == 5))}  {if ($top_titlepic_url && ($top_titlepic_type == 4 || $top_titlepic_type == 5))}
14    {if ($top_titlepic_type == 4)}<img src="{$newspicdir}{$top_titlepic_url}" border=0 hspace=5 vspace=5 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}    {if ($top_titlepic_type == 4)}<img src="{$newspicdir}{$top_titlepic_url}" border=0 hspace=5 vspace=5 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}
15    {if ($top_titlepic_type == 5)}<img src="{$newspicdir}{$top_titlepic_url}" border=0 hspace=5 vspace=5 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}    {if ($top_titlepic_type == 5)}<img src="{$newspicdir}{$top_titlepic_url}" border=0 hspace=5 vspace=5 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}
# Line 17  Line 17 
17  {if ($top_lead)}<span class="topicsubtitle{if ($top_pgfs)}1{else}0{/if}">{$top_lead}</span><br>{/if}  {if ($top_lead)}<span class="topicsubtitle{if ($top_pgfs)}1{else}0{/if}">{$top_lead}</span><br>{/if}
18  {if ($top_read)}</a>{/if}  {if ($top_read)}</a>{/if}
19  </td></tr></table>  </td></tr></table>
20  {if ($top_read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$top_id}&amp;spec={$spec}">{/if}{if ($top_titlepic_url && ($top_titlepic_type == 6 || $top_titlepic_type == 7 || $top_titlepic_type == 8))}  {if ($top_read)}<a href="{$top_read}">{/if}{if ($top_titlepic_url && ($top_titlepic_type == 6 || $top_titlepic_type == 7 || $top_titlepic_type == 8))}
21    <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>    <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>
22  {/if}{if ($top_read)}</a>{/if}  {/if}{if ($top_read)}</a>{/if}
23  {section name=i loop=0}  {section name=i loop=0}
# Line 60  Line 60 
60  {$i/wn.EDIT}  {$i/wn.EDIT}
61  {else}  {else}
62  <a name="wn-{$i/wn.id}"></a>  <a name="wn-{$i/wn.id}"></a>
63  {if ($i/wn.read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$i/wn.id}&amp;spec={$spec}">{/if}{if ($i/wn.pic && ($i/wn.pos == 1 || $i/wn.pos == 2 || $i/wn.pos == 3))}  {if ($i/wn.read)}<a href="{$i/wn.read}">{/if}{if ($i/wn.pic && ($i/wn.pos == 1 || $i/wn.pos == 2 || $i/wn.pos == 3))}
64    <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>    <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>
65  {/if}{if ($i/wn.read)}</a>{/if}  {/if}{if ($i/wn.read)}</a>{/if}
66  {if ($i/wn.title)}{if ($i/wn.read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$i/wn.id}&amp;spec={$spec}">{/if}<span class="newzworld">{$i/wn.title}</span>{if ($i/wn.read)}</a>{/if}<br>{/if}  {if ($i/wn.title)}{if ($i/wn.read)}<a href="{$i/wn.read}">{/if}<span class="newzworld">{$i/wn.title}</span>{if ($i/wn.read)}</a>{/if}<br>{/if}
67  <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>
68  {if ($i/wn.read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$i/wn.id}&amp;spec={$spec}">{/if}{if ($i/wn.pic && ($i/wn.pos == 4 || $i/wn.pos == 5))}  {if ($i/wn.read)}<a href="{$i/wn.read}">{/if}{if ($i/wn.pic && ($i/wn.pos == 4 || $i/wn.pos == 5))}
69    {if ($i/wn.pos == 4)}<img src="{$newspicdir}{$i/wn.pic}" border=0 hspace=5 vspace=5 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}    {if ($i/wn.pos == 4)}<img src="{$newspicdir}{$i/wn.pic}" border=0 hspace=5 vspace=5 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}
70    {if ($i/wn.pos == 5)}<img src="{$newspicdir}{$i/wn.pic}" border=0 hspace=5 vspace=5 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}    {if ($i/wn.pos == 5)}<img src="{$newspicdir}{$i/wn.pic}" border=0 hspace=5 vspace=5 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}
71  {/if}  {/if}
72  {if ($i/wn.lead)}<span class="newzworldsub{if ($i/wn.pgfs)}1{else}0{/if}">{$i/wn.lead}</span><br>{/if}{if ($i/wn.read)}</a>{/if}  {if ($i/wn.lead)}<span class="newzworldsub{if ($i/wn.pgfs)}1{else}0{/if}">{$i/wn.lead}</span><br>{/if}{if ($i/wn.read)}</a>{/if}
73  </td></tr></table>  </td></tr></table>
74  {if ($i/wn.read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$i/wn.id}&amp;spec={$spec}">{/if}{if ($i/wn.pic && ($i/wn.pos == 6 || $i/wn.pos == 7 || $i/wn.pos == 8))}  {if ($i/wn.read)}<a href="{$i/wn.read}">{/if}{if ($i/wn.pic && ($i/wn.pos == 6 || $i/wn.pos == 7 || $i/wn.pos == 8))}
75    <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>    <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>
76  {/if}{if ($i/wn.read)}</a>{/if}  {/if}{if ($i/wn.read)}</a>{/if}
77  {$i/wn.links}  {$i/wn.links}
# Line 92  Line 92 
92  {$i/pn.EDIT}  {$i/pn.EDIT}
93  {else}  {else}
94  <a name="pn-{$i/pn.id}"></a>  <a name="pn-{$i/pn.id}"></a>
95  {if ($i/pn.read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$i/pn.id}&amp;spec={$spec}">{/if}{if ($i/pn.pic && ($i/pn.pos == 1 || $i/pn.pos == 2 || $i/pn.pos == 3))}  {if ($i/pn.read)}<a href="{$i/pn.read}">{/if}{if ($i/pn.pic && ($i/pn.pos == 1 || $i/pn.pos == 2 || $i/pn.pos == 3))}
96    <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>    <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>
97  {/if}{if ($i/pn.read)}</a>{/if}  {/if}{if ($i/pn.read)}</a>{/if}
98  {if ($i/pn.title)}{if ($i/pn.read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$i/pn.id}&amp;spec={$spec}">{/if}<span class="newzpliva">{$i/pn.title}</span>{if ($i/pn.read)}</a>{/if}<br>{/if}  {if ($i/pn.title)}{if ($i/pn.read)}<a href="{$i/pn.read}">{/if}<span class="newzpliva">{$i/pn.title}</span>{if ($i/pn.read)}</a>{/if}<br>{/if}
99  <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>
100  {if ($i/pn.read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$i/pn.id}&amp;spec={$spec}">{/if}{if ($i/pn.pic && ($i/pn.pos == 4 || $i/pn.pos == 5))}  {if ($i/pn.read)}<a href="{$i/pn.read}">{/if}{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 hspace=5 vspace=5 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}    {if ($i/pn.pos == 4)}<img src="{$newspicdir}{$i/pn.pic}" border=0 hspace=5 vspace=5 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 hspace=5 vspace=5 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}    {if ($i/pn.pos == 5)}<img src="{$newspicdir}{$i/pn.pic}" border=0 hspace=5 vspace=5 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}  {/if}
104  {if ($i/pn.lead)}<span class="newzplivasub{if ($i/wn.pgfs)}1{else}0{/if}">{$i/pn.lead}</span><br>{/if}{if ($i/pn.read)}</a>{/if}  {if ($i/pn.lead)}<span class="newzplivasub{if ($i/wn.pgfs)}1{else}0{/if}">{$i/pn.lead}</span><br>{/if}{if ($i/pn.read)}</a>{/if}
105  </td></tr></table>  </td></tr></table>
106  {if ($i/wn.read)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;show=1&amp;id={$i/wn.id}&amp;spec={$spec}">{/if}{if ($i/pn.pic && ($i/pn.pos == 6 || $i/pn.pos == 7 || $i/pn.pos == 8))}  {if ($i/wn.read)}<a href="{$i/pn.read}">{/if}{if ($i/pn.pic && ($i/pn.pos == 6 || $i/pn.pos == 7 || $i/pn.pos == 8))}
107    <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>    <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>
108  {/if}{if ($i/pn.read)}</a>{/if}  {/if}{if ($i/pn.read)}</a>{/if}
109  {$i/pn.links}  {$i/pn.links}

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.26