/[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.5 by ravilov, Wed Sep 19 12:23:57 2001 UTC revision 1.6 by ravilov, Tue Sep 25 15:38:05 2001 UTC
# Line 1  Line 1 
1  {if ($titlepic_url && ($titlepic_type == 1 || $titlepic_type == 2 || $titlepic_type == 3))}  {if ($titlepic_url && ($titlepic_type == 1 || $titlepic_type == 2 || $titlepic_type == 3))}
2    <p align={if ($titlepic_type == 1)}left{/if}{if ($titlepic_type == 2)}center{/if}{if ($titlepic_type == 3)}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 == 1)}left{/if}{if ($titlepic_type == 2)}center{/if}{if ($titlepic_type == 3)}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>
3  {/if}  {/if}
4  {if ($titlepic_url && ($titlepic_type == 4 || $titlepic_type == 5))}  {if ($title)}<span class="{if ($cat == 't')}topictitle{elseif ($cat == 'w')}newsworldtitle{elseif ($cat == 'p')}newsplivatitle{else}maintitle{/if}">{$title}</span><br>{/if}
5    {if ($titlepic_type == 4)}<img src="{$newspicdir}{$titlepic_url}" border=0 alt="{$titlepic_alt}"{if ($titlepic_width)} width={$titlepic_width}{/if}{if ($titlepic_height)} height={$titlepic_height}{/if} align=left>{/if}  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=middle>
6    {if ($titlepic_type == 5)}<img src="{$newspicdir}{$titlepic_url}" border=0 alt="{$titlepic_alt}"{if ($titlepic_width)} width={$titlepic_width}{/if}{if ($titlepic_height)} height={$titlepic_height}{/if} align=right>{/if}  {if ($titlepic_url && ($titlepic_type == 4 || $titlepic_type == 5))}
7  {/if}    {if ($titlepic_type == 4)}<img src="{$newspicdir}{$titlepic_url}" border=0 alt="{$titlepic_alt}"{if ($titlepic_width)} width={$titlepic_width}{/if}{if ($titlepic_height)} height={$titlepic_height}{/if} align=left>{/if}
8  {if ($title)}<span class="{if ($cat == 't')}topictitle{elseif ($cat == 'w')}newsworldtitle{elseif ($cat == 'p')}newsplivatitle{else}maintitle{/if}">{$title}</span><br>{/if}    {if ($titlepic_type == 5)}<img src="{$newspicdir}{$titlepic_url}" border=0 alt="{$titlepic_alt}"{if ($titlepic_width)} width={$titlepic_width}{/if}{if ($titlepic_height)} height={$titlepic_height}{/if} align=right>{/if}
9  {if ($lead)}<span class="{if ($cat == 't')}topicsubtitle{elseif ($cat == 'w')}newsworldsubtitle{elseif ($cat == 'p')}newsplivasubtitle{else}mainsubtitle{/if}">{$lead}</span><br>&nbsp;{/if}  {/if}
10  <br>  {if ($lead)}<span class="{if ($cat == 't')}topicsubtitle{elseif ($cat == 'w')}newsworldsubtitle{elseif ($cat == 'p')}newsplivasubtitle{else}mainsubtitle{/if}">{$lead}</span><br>{/if}
11  {if ($titlepic_url && ($titlepic_type == 6 || $titlepic_type == 7 || $titlepic_type == 8))}  <br>
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>  </td></tr></table>
13  {/if}  {if ($titlepic_url && ($titlepic_type == 6 || $titlepic_type == 7 || $titlepic_type == 8))}
14  {if ($text)}    <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>
15  <ul>  {/if}
16  {section name=i loop=$text}  {if ($text)}
17  {if ($i/text.title)}<li><a href="#{%i.rownum%}">{$i/text.title}</a></li>{/if}  <br>
18  {/section}  {section name=i loop=$text}
19  </ul>  {if ($i/text.title)}
20  {/if}  {section name=j loop=$i/text.level}<ul style="padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;">{/section}
21  <br>  <li><a href="#{%i.rownum%}" class="more">{$i/text.title}</a></li></ul>
22  {section name=i loop=$text}  {section name=j loop=$i/text.level}</ul>{/section}
23  {if ($i/text.pic && ($i/text.pos == 1 || $i/text.pos == 2 || $i/text.pos == 3))}  {/if}
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>  {/section}
25  {/if}  {/if}
26  <p class="ptitle"><a name="#{%i.rownum%}">{$i/text.title}</a> </p>  <br>
27  <p class="ptext">  {section name=i loop=$text}
28  {if ($i/text.pic && ($i/text.pos == 4 || $i/text.pos == 5))}  {if ($i/text.pic && ($i/text.pos == 1 || $i/text.pos == 2 || $i/text.pos == 3))}
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}    <p align={if ($i/text.pos == 1)}left{/if}{if ($i/text.pos == 2)}center{/if}{if ($i/text.pos == 3)}right{/if}><table border=0 cellspacing=0 cellpadding=0><tr><td><img src="{$newspicdir}{$i/text.pic}" border=0 alt="{$i/text.alt}"{if ($i/text.w)} width={$i/text.w}{/if}{if ($i/text.h)} height={$i/text.h}{/if}></td></tr>{if ($i/text.exp)}<tr><td align=center>{$i/text.exp}</td></tr>{/if}</table></p>
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}
31  {/if}  <a name="#{%i.rownum%}"></a>
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}  {if ($i/text.title)}<p class="ptitle">{if ($i/text.class)}<span class="{$i/text.class}">{/if}{$i/text.title}{if ($i/text.class)}</span>{/if} </p>{/if}
33  {if ($i/text.text)}{$i/text.text}{else}&nbsp;{/if}  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=middle>
34  </p>  <p class="ptext">
35  {if ($i/text.pic && ($i/text.pos == 6 || $i/text.pos == 7 || $i/text.pos == 8))}  {if ($i/text.pic && ($i/text.pos == 4 || $i/text.pos == 5))}
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>    <table border=0 cellspacing=0 cellpadding=0{if ($i/text.pos == 4)} align=left{/if}{if ($i/text.pos == 5)} align=right{/if}><tr><td><img src="{$newspicdir}{$i/text.pic}" border=0 alt="{$i/text.alt}"{if ($i/text.w)} width={$i/text.w}{/if}{if ($i/text.h)} height={$i/text.h}{/if}></td></tr>{if ($i/text.exp)}<tr><td align=center>{$i/text.exp}</td></tr>{/if}</table>
37  {/if}  {/if}
38  <a href="#top" class="more">Vrh stranice</a>  {if ($i/text.hl)}{$i/text.hl}{/if}
39  {/section}  {if ($i/text.text)}{$i/text.text}{else}&nbsp;{/if}
40  <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>  </p>
41  {$AUTHOR}  </td></tr></table>
42    {if ($i/text.pic && ($i/text.pos == 6 || $i/text.pos == 7 || $i/text.pos == 8))}
43      <p align={if ($i/text.pos == 6)}left{/if}{if ($i/text.pos == 7)}center{/if}{if ($i/text.pos == 8)}right{/if}><table border=0 cellspacing=0 cellpadding=0><tr><td><img src="{$newspicdir}{$i/text.pic}" border=0 alt="{$i/text.alt}"{if ($i/text.w)} width={$i/text.w}{/if}{if ($i/text.h)} height={$i/text.h}{/if}></td></tr>{if ($i/text.exp)}<tr><td align=center>{$i/text.exp}</td></tr>{/if}</table></p>
44    {/if}
45    <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=right valign=middle><a href="#top" class="more">Vrh stranice</a></td></tr></table>
46    {/section}
47    <p align=right><small>[ <a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}{if ($spec)}&amp;spec={$spec}{/if}" 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>
48    {$AUTHOR}

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

  ViewVC Help
Powered by ViewVC 1.1.26