/[health_html]/templates/show.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/show.tpl

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

revision 1.4 by ravilov, Mon Sep 3 15:52:16 2001 UTC revision 1.5 by ravilov, Wed Sep 19 12:23:57 2001 UTC
# Line 11  Line 11 
11  {if ($titlepic_url && ($titlepic_type == 6 || $titlepic_type == 7 || $titlepic_type == 8))}  {if ($titlepic_url && ($titlepic_type == 6 || $titlepic_type == 7 || $titlepic_type == 8))}
12    <p align={if ($titlepic_type == 6)}left{/if}{if ($titlepic_type == 7)}center{/if}{if ($titlepic_type == 8)}right{/if}><img src="{$newspicdir}{$titlepic_url}" border=0 alt="{$titlepic_alt}"{if ($titlepic_width)} width={$titlepic_width}{/if}{if ($titlepic_height)} height={$titlepic_height}{/if}></p>    <p align={if ($titlepic_type == 6)}left{/if}{if ($titlepic_type == 7)}center{/if}{if ($titlepic_type == 8)}right{/if}><img src="{$newspicdir}{$titlepic_url}" border=0 alt="{$titlepic_alt}"{if ($titlepic_width)} width={$titlepic_width}{/if}{if ($titlepic_height)} height={$titlepic_height}{/if}></p>
13  {/if}  {/if}
14    {if ($text)}
15    <ul>
16    {section name=i loop=$text}
17    {if ($i/text.title)}<li><a href="#{%i.rownum%}">{$i/text.title}</a></li>{/if}
18    {/section}
19    </ul>
20    {/if}
21  <br>  <br>
22  {section name=i loop=$text}  {section name=i loop=$text}
23  {if ($i/text.pic && ($i/text.pos == 1 || $i/text.pos == 2 || $i/text.pos == 3))}  {if ($i/text.pic && ($i/text.pos == 1 || $i/text.pos == 2 || $i/text.pos == 3))}
24    <p align={if ($i/text.pos == 1)}left{/if}{if ($i/text.pos == 2)}center{/if}{if ($i/text.pos == 3)}right{/if}><img src="{$newspicdir}{$i/text.pic}" border=0 alt="{$i/text.alt}"{if ($i/text.width)} width={$i/text.width}{/if}{if ($i/text.height)} height={$i/text.height}{/if}></p>    <p align={if ($i/text.pos == 1)}left{/if}{if ($i/text.pos == 2)}center{/if}{if ($i/text.pos == 3)}right{/if}><img src="{$newspicdir}{$i/text.pic}" border=0 alt="{$i/text.alt}"{if ($i/text.width)} width={$i/text.width}{/if}{if ($i/text.height)} height={$i/text.height}{/if}></p>
25  {/if}  {/if}
26  <p class="ptitle">{$i/text.title} </p>  <p class="ptitle"><a name="#{%i.rownum%}">{$i/text.title}</a> </p>
27  <p class="ptext">  <p class="ptext">
28  {if ($i/text.pic && ($i/text.pos == 4 || $i/text.pos == 5))}  {if ($i/text.pic && ($i/text.pos == 4 || $i/text.pos == 5))}
29    {if ($i/text.pos == 4)}<img src="{$newspicdir}{$i/text.pic}" border=0 alt="{$i/text.alt}"{if ($i/text.width)} width={$i/text.width}{/if}{if ($i/text.height)} height={$i/text.height}{/if} align=left>{/if}    {if ($i/text.pos == 4)}<img src="{$newspicdir}{$i/text.pic}" border=0 alt="{$i/text.alt}"{if ($i/text.width)} width={$i/text.width}{/if}{if ($i/text.height)} height={$i/text.height}{/if} align=left>{/if}
30    {if ($i/text.pos == 5)}<img src="{$newspicdir}{$i/text.pic}" border=0 alt="{$i/text.alt}"{if ($i/text.width)} width={$i/text.width}{/if}{if ($i/text.height)} height={$i/text.height}{/if} align=right>{/if}    {if ($i/text.pos == 5)}<img src="{$newspicdir}{$i/text.pic}" border=0 alt="{$i/text.alt}"{if ($i/text.width)} width={$i/text.width}{/if}{if ($i/text.height)} height={$i/text.height}{/if} align=right>{/if}
31  {/if}  {/if}
32    {if ($i/text.hl)}<table border=1 cellspacing=0 cellpadding=5 align=right bgcolor="#FFFFE0"><tr><td>{$i/text.hl}</td></tr></table>{/if}
33  {if ($i/text.text)}{$i/text.text}{else}&nbsp;{/if}  {if ($i/text.text)}{$i/text.text}{else}&nbsp;{/if}
34  </p>  </p>
35  {if ($i/text.pic && ($i/text.pos == 6 || $i/text.pos == 7 || $i/text.pos == 8))}  {if ($i/text.pic && ($i/text.pos == 6 || $i/text.pos == 7 || $i/text.pos == 8))}
36    <p align={if ($i/text.pos == 6)}left{/if}{if ($i/text.pos == 7)}center{/if}{if ($i/text.pos == 8)}right{/if}><img src="{$newspicdir}{$i/text.pic}" border=0 alt="{$i/text.alt}"{if ($i/text.width)} width={$i/text.width}{/if}{if ($i/text.height)} height={$i/text.height}{/if}></p>    <p align={if ($i/text.pos == 6)}left{/if}{if ($i/text.pos == 7)}center{/if}{if ($i/text.pos == 8)}right{/if}><img src="{$newspicdir}{$i/text.pic}" border=0 alt="{$i/text.alt}"{if ($i/text.width)} width={$i/text.width}{/if}{if ($i/text.height)} height={$i/text.height}{/if}></p>
37  {/if}  {/if}
38    <a href="#top" class="more">Vrh stranice</a>
39  {/section}  {/section}
40  <p align=right><small>[ {if ($title_url)}<a href="{$title_url}" class="more">{if ($title_url_title)}{$title_url_title}{else}više...{/if}</a> | {/if}<a href="?section={$section}&amp;section_menu={$section_menu}" class="more">nazad</a> ]</small></p>  <p align=right><small>[ <a href="?section={$section}&amp;section_menu={$section_menu}" class="more">nazad</a>{if ($title_url)} | <a href="{$title_url}" class="more"{if ($title_url_new)} target="_blank"{/if}>{if ($title_url_title)}{$title_url_title}{else}više...{/if}</a>{/if} ]</small></p>
41    {$AUTHOR}

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

  ViewVC Help
Powered by ViewVC 1.1.26