/[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.3 by ravilov, Wed Aug 8 12:58:08 2001 UTC revision 1.9 by ravilov, Wed Sep 19 14:16:34 2001 UTC
# Line 1  Line 1 
1  <table width="100%" cellspacing=0 cellpadding=5 border=0>  <table width="100%" cellspacing=0 cellpadding=0 border=0>
2    
3  <!-- bigin mejn kontent -->  <!-- bigin mejn kontent -->
4  <tr><td colspan=3 valign=top>  <tr><td colspan=5 valign=top>
5  {if ($EDIT)}  {if ($EDIT)}
6  {$EDIT}  {$EDIT}
7  {else}  {else}
# Line 19  Line 19 
19    <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>
20  {/if}  {/if}
21  <br>  <br>
22  {section name=i loop=1}  {section name=i loop=0}
23  {if ($i/top_text.pic && ($i/top_text.pos == 1 || $i/top_text.pos == 2 || $i/top_text.pos == 3))}  {if ($i/top_text.pic && ($i/top_text.pos == 1 || $i/top_text.pos == 2 || $i/top_text.pos == 3))}
24    <p align={if ($i/top_text.pos == 1)}left{/if}{if ($i/top_text.pos == 2)}center{/if}{if ($i/top_text.pos == 3)}right{/if}><img src="{$newspicdir}{$i/top_text.pic}" border=0 alt="{$i/top_text.alt}"{if ($i/top_text.w)} width={$i/top_text.w}{/if}{if ($i/top_text.h)} height={$i/top_text.h}{/if}></p>    <p align={if ($i/top_text.pos == 1)}left{/if}{if ($i/top_text.pos == 2)}center{/if}{if ($i/top_text.pos == 3)}right{/if}><img src="{$newspicdir}{$i/top_text.pic}" border=0 alt="{$i/top_text.alt}"{if ($i/top_text.w)} width={$i/top_text.w}{/if}{if ($i/top_text.h)} height={$i/top_text.h}{/if}></p>
25  {/if}  {/if}
# Line 35  Line 35 
35    <p align={if ($i/top_text.pos == 6)}left{/if}{if ($i/top_text.pos == 7)}center{/if}{if ($i/top_text.pos == 8)}right{/if}><img src="{$newspicdir}{$i/top_text.pic}" border=0 alt="{$i/top_text.alt}"{if ($i/top_text.w)} width={$i/top_text.w}{/if}{if ($i/top_text.h)} height={$i/top_text.h}{/if}></p>    <p align={if ($i/top_text.pos == 6)}left{/if}{if ($i/top_text.pos == 7)}center{/if}{if ($i/top_text.pos == 8)}right{/if}><img src="{$newspicdir}{$i/top_text.pic}" border=0 alt="{$i/top_text.alt}"{if ($i/top_text.w)} width={$i/top_text.w}{/if}{if ($i/top_text.h)} height={$i/top_text.h}{/if}></p>
36  {/if}  {/if}
37  {/section}  {/section}
38    {$AUTHOR}
39  {else}  {else}
40  <br><br><i>No articles.</i>  {if (! $EDIT)}<br><br><i>Nema članaka.</i>{/if}
41  {/if}  {/if}
42  {$top_links}  {$top_links}
43  {/if}  {/if}
# Line 45  Line 46 
46    
47  <!-- bigin njuz -->  <!-- bigin njuz -->
48  <tr>  <tr>
49  <td style="padding:0" bgcolor="#459FD6" align=left width="50%"><img src="img/newz01.gif" width="214" height="16" alt="" border="0"></td>  <td bgcolor="#459FD6" align=left valign=middle height=16 colspan=2><img src="img/vijesti.gif" border=0 alt="VIJESTI" width=214 height=16></td>
50  <td style="padding:0" rowspan=2><table border=0 cellspacing=0 cellpadding=0 width="100%" height="100%" bgcolor="#999999"><tr><td width=1 height="100%"><img src="img/klir.gif" alt="" border=0 width=1 height="100%"></td></tr></table></td>  <td bgcolor="#999999"><img src="img/klir.gif" alt="" border=0 width=1 height=16></td>
51  <td style="padding:0" bgcolor="#A687B6" align=right width="50%"><img src="img/newz02.gif" width="214" height="16" alt="" border="0"></td>  <td bgcolor="#A687B6" align=right valign=middle height=16 colspan=2><img src="img/novo.gif" border=0 alt="NOVO NA {if ($ismed)}PLIVAmed.net{else}PLIVAzdravlju{/if}" width=214 height=16></td>
52  </tr>  </tr>
53  <tr>  <tr>
54    
# Line 65  Line 66 
66    {if ($i/wn.pos == 4)}<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} align=left>{/if}    {if ($i/wn.pos == 4)}<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} align=left>{/if}
67    {if ($i/wn.pos == 5)}<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} align=right>{/if}    {if ($i/wn.pos == 5)}<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} align=right>{/if}
68  {/if}  {/if}
69    <a name="wn-{$i/wn.id}">
70  {if ($i/wn.title)}<span class="newzworld">{$i/wn.title}</span><br>{/if}  {if ($i/wn.title)}<span class="newzworld">{$i/wn.title}</span><br>{/if}
71  {if ($i/wn.lead)}<span class="newzworldsub">{$i/wn.lead}</span><br>&nbsp;{/if}  {if ($i/wn.lead)}<span class="newzworldsub">{$i/wn.lead}</span><br>&nbsp;{/if}
72    </a>
73  {if ($i/wn.pic && ($i/wn.pos == 6 || $i/wn.pos == 7 || $i/wn.pos == 8))}  {if ($i/wn.pic && ($i/wn.pos == 6 || $i/wn.pos == 7 || $i/wn.pos == 8))}
74    <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>
75  {/if}  {/if}
# Line 74  Line 77 
77  {$i/wn.links}  {$i/wn.links}
78  {/if}  {/if}
79  {sectionelse}  {sectionelse}
80  <br><i>No articles.</i><br>  {if (! $WN_EDIT)}<br><i>Nema članaka.</i><br>
81  {if ($isedit)}<p align=right><small>[ <a href="?section={$section}&amp;cat=w&amp;wn_edit=1&amp;ed_id=0" class="more">new art.</a> ]</small></p>{/if}  {if ($isedit)}<p align=right><small>[ <a href="?section={$section}&amp;section_menu={$section_menu}&amp;cat=w&amp;wn_edit=1&amp;ed_id=0" class="more">novi</a> ]</small></p>{/if}{/if}
82  {/section}  {/section}
83  </td>  </td>
84  <!-- end vrld njuz -->  <!-- end vrld njuz -->
85    
86    <td width="10">&nbsp;&nbsp;</td>
87    <td height="100%"><table border=0 cellspacing=0 cellpadding=0 width=1 height="100%"><tr><td width=1 height="100%" bgcolor="#999999"><img src="img/klir.gif" alt="" border=0 width=1 height="100%"></td></tr></table></td>
88    <td width="10">&nbsp;&nbsp;</td>
89    
90  <!-- bigin pliva njuz -->  <!-- bigin pliva njuz -->
91  <td valign=top><br>  <td valign=top><br>
92  {$PN_EDIT}  {$PN_EDIT}
# Line 94  Line 101 
101    {if ($i/pn.pos == 4)}<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} align=left>{/if}    {if ($i/pn.pos == 4)}<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} align=left>{/if}
102    {if ($i/pn.pos == 5)}<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} align=right>{/if}    {if ($i/pn.pos == 5)}<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} align=right>{/if}
103  {/if}  {/if}
104    <a name="pn-{$i/pn.id}">
105  {if ($i/pn.title)}<span class="newzpliva">{$i/pn.title}</span><br>{/if}  {if ($i/pn.title)}<span class="newzpliva">{$i/pn.title}</span><br>{/if}
106  {if ($i/pn.lead)}<span class="newzplivasub">{$i/pn.lead}</span><br>&nbsp;{/if}  {if ($i/pn.lead)}<span class="newzplivasub">{$i/pn.lead}</span><br>&nbsp;{/if}
107    </a>
108  {if ($i/pn.pic && ($i/pn.pos == 6 || $i/pn.pos == 7 || $i/pn.pos == 8))}  {if ($i/pn.pic && ($i/pn.pos == 6 || $i/pn.pos == 7 || $i/pn.pos == 8))}
109    <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>
110  {/if}  {/if}
# Line 103  Line 112 
112  {$i/pn.links}  {$i/pn.links}
113  {/if}  {/if}
114  {sectionelse}  {sectionelse}
115  <br><i>No articles.</i><br>  {if (! $PN_EDIT)}<br><i>Nema članaka.</i><br>
116  {if ($isedit)}<p align=right><small>[ <a href="?section={$section}&amp;cat=w&amp;wn_edit=1&amp;ed_id=0" class="more">new art.</a> ]</small></p>{/if}  {if ($isedit)}<p align=right><small>[ <a href="?section={$section}&amp;section_menu={$section_menu}&amp;cat=p&amp;pn_edit=1&amp;ed_id=0" class="more">novi</a> ]</small></p>{/if}{/if}
117  {/section}  {/section}
118  </td>  </td>
119  <!-- end pliva njuz -->  <!-- end pliva njuz -->

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.26