/[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.16 by ravilov, Fri Oct 12 09:22:02 2001 UTC revision 1.17 by ravilov, Tue Oct 23 16:13:59 2001 UTC
# Line 1  Line 1 
1  <table width=420 cellspacing=0 cellpadding=0 border=0>  <table width=420 cellspacing=0 cellpadding=0 border=0>
2    
3    <tr><td colspan=3 align=left valign=middle>
4    <span style="color:silver;font-size:8pt;">{if ($ismed)}aktualna tema{else}aktualno{/if}</span>
5    </td></tr>
6    
7    {if ($top2 || $EDIT2)}
8    <tr><td colspan=3 valign=top>
9    {$EDIT2}
10    {section name=i loop=$top2}
11    <tr><td colspan=3 valign=top>
12    {if ($i/top2.EDIT)}
13    {$i/top2.EDIT}
14    {else}
15    {if ($i/top2.titlepic_url && ($i/top2.titlepic_type == 1 || $i/top2.titlepic_type == 2 || $i/top2.titlepic_type == 3))}
16      <p align={if ($i/top2.titlepic_type == 1)}left{/if}{if ($i/top2.titlepic_type == 2)}center{/if}{if ($i/top2.titlepic_type == 3)}right{/if}><img src="{$newspicdir}{$i/top2.titlepic_url}" border=0 alt="{$i/top2.titlepic_alt}"{if ($i/top2.titlepic_width)} width={$i/top2.titlepic_width}{/if}{if ($i/top2.titlepic_height)} height={$i/top2.titlepic_height}{/if}></p>
17    {/if}
18    {if ($i/top2.title)}{if ($i/top2.read)}<a href="{$i/top2.read}">{/if}<span class="topictitle">{$i/top2.title}</span>{if ($i/top2.read)}</a>{/if}<br>{/if}
19    <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top2>
20    {if ($i/top2.titlepic_url && ($i/top2.titlepic_type == 4 || $i/top2.titlepic_type == 5))}
21      {if ($i/top2.titlepic_type == 4)}<img src="{$newspicdir}{$i/top2.titlepic_url}" border=0 alt="{$i/top2.titlepic_alt}"{if ($i/top2.titlepic_width)} width={$i/top2.titlepic_width}{/if}{if ($i/top2.titlepic_height)} height={$i/top2.titlepic_height}{/if} align=left>{/if}
22      {if ($i/top2.titlepic_type == 5)}<img src="{$newspicdir}{$i/top2.titlepic_url}" border=0 alt="{$i/top2.titlepic_alt}"{if ($i/top2.titlepic_width)} width={$i/top2.titlepic_width}{/if}{if ($i/top2.titlepic_height)} height={$i/top2.titlepic_height}{/if} align=right>{/if}
23    {/if}
24    {if ($i/top2.lead)}<span class="topicsubtitle{if ($i/top2.pgfs)}1{else}0{/if}">{$i/top2.lead}</span><br>{/if}
25    </td></tr></table>
26    {if ($i/top2.titlepic_url && ($i/top2.titlepic_type == 6 || $i/top2.titlepic_type == 7 || $i/top2.titlepic_type == 8))}
27      <p align={if ($i/top2.titlepic_type == 6)}left{/if}{if ($i/top2.titlepic_type == 7)}center{/if}{if ($i/top2.titlepic_type == 8)}right{/if}><img src="{$newspicdir}{$i/top2.titlepic_url}" border=0 alt="{$i/top2.titlepic_alt}"{if ($i/top2.titlepic_width)} width={$i/top2.titlepic_width}{/if}{if ($i/top2.titlepic_height)} height={$i/top2.titlepic_height}{/if}></p>
28    {/if}
29    {section name=j loop=0}
30    {if ($i/j.text/top2.pic && ($i/j.text/top2.pos == 1 || $i/j.text/top2.pos == 2 || $i/j.text/top2.pos == 3))}
31      <p align={if ($i/j.text/top2.pos == 1)}left{/if}{if ($i/j.text/top2.pos == 2)}center{/if}{if ($i/j.text/top2.pos == 3)}right{/if}><img src="{$newspicdir}{$i/j.text/top2.pic}" border=0 alt="{$i/j.text/top2.alt}"{if ($i/j.text/top2.w)} width={$i/j.text/top2.w}{/if}{if ($i/j.text/top2.h)} height={$i/j.text/top2.h}{/if}></p>
32    {/if}
33    <p class="ptitle">{if ($i/j.text/top2.class)}<span class="{$i/j.text/top2.class}">{/if}{$i/j.text/top2.title}{if ($i/j.text/top2.class)}</span>{/if}</p>
34    <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top>
35    <p class="ptext">
36    {if ($i/j.text/top2.pic && ($i/j.text/top2.pos == 4 || $i/j.text/top2.pos == 5))}
37      {if ($i/j.text/top2.pos == 4)}<img src="{$newspicdir}{$i/j.text/top2.pic}" border=0 alt="{$i/j.text/top2.alt}"{if ($i/j.text/top2.w)} width={$i/j.text/top2.w}{/if}{if ($i/j.text/top2.h)} height={$i/j.text/top2.h}{/if} align=left>{/if}
38      {if ($i/j.text/top2.pos == 5)}<img src="{$newspicdir}{$i/j.text/top2.pic}" border=0 alt="{$i/j.text/top2.alt}"{if ($i/j.text/top2.w)} width={$i/j.text/top2.w}{/if}{if ($i/j.text/top2.h)} height={$i/j.text/top2.h}{/if} align=right>{/if}
39    {/if}
40    </td></tr></table>
41    {$i/j.text/top2.text}
42    </p>
43    </td></tr></table>
44    {if ($i/j.text/top2.pic && ($i/j.text/top2.pos == 6 || $i/j.text/top2.pos == 7 || $i/j.text/top2.pos == 8))}
45      <p align={if ($i/j.text/top2.pos == 6)}left{/if}{if ($i/j.text/top2.pos == 7)}center{/if}{if ($i/j.text/top2.pos == 8)}right{/if}><img src="{$newspicdir}{$i/j.text/top2.pic}" border=0 alt="{$i/j.text/top2.alt}"{if ($i/j.text/top2.w)} width={$i/j.text/top2.w}{/if}{if ($i/j.text/top2.h)} height={$i/j.text/top2.h}{/if}></p>
46    {/if}
47    {/section}
48    <br>{if ($i/top2.AUTHOR && $ismed)}{$i/top2.AUTHOR}{/if}
49    {$i/top2.links}
50    {/if}
51    </td></tr>
52    {/section}
53    
54    <tr><td colspan=3 align=center valign=middle>
55    <table border=0 cellspacing=0 cellpadding=0><tr><td bgcolor="#{if ($ismed)}D0E7F4{else}DAF0E5{/if}"><img src="img/klir.gif" width="400" height="2" border=0 alt=""></td></tr></table><br>
56    </td></tr>
57    {/if}
58    
59  <tr><td colspan=3 valign=top>  <tr><td colspan=3 valign=top>
 <span style="color:silver;font-size:8pt;">{if ($ismed)}aktualna tema{else}aktualno{/if}</span><br>  
60  {$EDIT}  {$EDIT}
61  {section name=i loop=$top}  {section name=i loop=$top}
62  <tr><td colspan=3 valign=top>  <tr><td colspan=3 valign=top>

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.26