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

Annotation of /templates/show.tpl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (hide annotations)
Tue Oct 23 16:13:59 2001 UTC (22 years, 6 months ago) by ravilov
Branch: MAIN
Changes since 1.11: +16 -3 lines
Added an author's CV. Added a secondary main article. Added the Related fields to news editor, and also fixed some bugs in it. Other bugfixes and improvements.

1 ravilov 1.10 {if ($date)}<small>Objavljeno: {$date}</small><br>{/if}
2 ravilov 1.6 {if ($title)}<span class="{if ($cat == 't')}topictitle{elseif ($cat == 'w')}newsworldtitle{elseif ($cat == 'p')}newsplivatitle{else}maintitle{/if}">{$title}</span><br>{/if}
3     <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=middle>
4 ravilov 1.10 {if ($lead)}<span class="{if ($cat == 't')}topicsubtitle{elseif ($cat == 'w')}newsworldsubtitle{elseif ($cat == 'p')}newsplivasubtitle{else}mainsubtitle{/if}">{if ($pgfs)}<b>{/if}{$lead}{if ($pgfs)}</b>{/if}</span><br>{/if}
5 ravilov 1.6 </td></tr></table>
6 ravilov 1.8
7 ravilov 1.6 {if ($text)}
8     <br>
9     {section name=i loop=$text}
10     {if ($i/text.title)}
11 ravilov 1.9 <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr>{if ($i/text.level2)}<td width="{$i/text.level2}"><img src="img/klir.gif" border=0 alt="" width={$i/text.level2} height=1></td>{/if}<td width="100%" align=left><a href="#{%i.rownum%}" class="more">{$i/text.title}</a></td></tr></table>
12 ravilov 1.6 {/if}
13 ravilov 1.11 {/section}<br>
14 ravilov 1.6 {/if}
15 ravilov 1.8
16 ravilov 1.6 {section name=i loop=$text}
17     {if ($i/text.pic && ($i/text.pos == 1 || $i/text.pos == 2 || $i/text.pos == 3))}
18 ravilov 1.12 <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>{if ($i/text.full)}<a href="{$newspicdir}{$i/text.full}" target="_blank" onclick="{$i/text.full|js_popup:"syspicdir"}" title="Kliknite za veæu sliku">{/if}<img src="{$newspicdir}{$i/text.pic}" border=0 alt="{$i/text.alt}{if ($i/text.full)}{if ($i/text.alt)}. {/if}Kliknite za veæu sliku.{/if}"{if ($i/text.w)} width={$i/text.w}{/if}{if ($i/text.h)} height={$i/text.h}{/if}>{if ($i/text.full)}</a>{/if}</td></tr>{if ($i/text.exp)}<tr><td align=center><b>{$i/text.exp}</b></td></tr>{/if}</table></p>
19 ravilov 1.6 {/if}
20 ravilov 1.11 <a name="{%i.rownum%}"></a>
21 ravilov 1.6 {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}
22     <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=middle>
23     <p class="ptext">
24     {if ($i/text.pic && ($i/text.pos == 4 || $i/text.pos == 5))}
25 ravilov 1.12 <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>{if ($i/text.full)}<a href="{$newspicdir}{$i/text.full}" target="_blank" onclick="{$i/text.full|js_popup:"syspicdir"}" title="Kliknite za veæu sliku">{/if}<img src="{$newspicdir}{$i/text.pic}" border=0 hspace=5 vspace=5 alt="{$i/text.alt}{if ($i/text.full)}{if ($i/text.alt)}. {/if}Kliknite za veæu sliku.{/if}"{if ($i/text.w)} width={$i/text.w}{/if}{if ($i/text.h)} height={$i/text.h}{/if}>{if ($i/text.full)}</a>{/if}</td></tr>{if ($i/text.exp)}<tr><td align=center><b>{$i/text.exp}</b></td></tr>{/if}</table>
26 ravilov 1.6 {/if}
27     {if ($i/text.hl)}{$i/text.hl}{/if}
28     {if ($i/text.text)}{$i/text.text}{else}&nbsp;{/if}
29     </p>
30     </td></tr></table>
31     {if ($i/text.pic && ($i/text.pos == 6 || $i/text.pos == 7 || $i/text.pos == 8))}
32 ravilov 1.12 <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>{if ($i/text.full)}<a href="{$newspicdir}{$i/text.full}" target="_blank" onclick="{$i/text.full|js_popup:"syspicdir"}" title="Kliknite za veæu sliku">{/if}<img src="{$newspicdir}{$i/text.pic}" border=0 alt="{$i/text.alt}{if ($i/text.full)}{if ($i/text.alt)}. {/if}Kliknite za veæu sliku.{/if}"{if ($i/text.w)} width={$i/text.w}{/if}{if ($i/text.h)} height={$i/text.h}{/if}>{if ($i/text.full)}</a>{/if}</td></tr>{if ($i/text.exp)}<tr><td align=center><b>{$i/text.exp}</b></td></tr>{/if}</table></p>
33 ravilov 1.6 {/if}
34 ravilov 1.10 <br>
35 ravilov 1.6 {/section}
36 ravilov 1.9 <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr>
37     {if ($title_url)}<td align=right valign=middle><small><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></td></tr>{/if}
38 ravilov 1.10 <td align=left valign=middle><br><small>[ <a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}{if ($spec)}&amp;spec={$spec}{/if}{if ($offset)}&amp;offset={$offset}{/if}{if ($acat)}&amp;acat={$acat}{/if}{if ($acat2)}&amp;acat2={$acat2}{/if}" class="more">&lt;&lt;&nbsp;nazad</a> | <a href="#top" class="more">vrh</a> ]</small></td></tr>
39 ravilov 1.9 </tr></table><br>
40 ravilov 1.6 {$AUTHOR}
41 ravilov 1.12 <a name="vise"></a>
42     {if ($related)}
43     <br><img src="img/viseotemi.gif" border=0 alt="vi¹e o ovoj temi..."><br>
44     <table border=0 cellspacing=0 cellpadding=1 width="100%">
45     {section name=i loop=$related}
46     <tr><td>&nbsp;</td></tr>
47     <tr><td align=left valign=middle>{if ($i/related.read)}<a href="{$i/related.read}">{/if}<span class="newzworld">{$i/related.title}</span>{if ($i/related.read)}</a>{/if}</td></tr>
48     <tr><td align=left valign=top>{$i/related.lead}</td></tr>
49     {if ($i/related.read)}<tr><td align=right valign=middle><a href="{$i/related.read}"><img src="img/procitaj02.gif" width=98 height=10 alt="proèitaj èlanak..." border=0></a></td></tr>{/if}
50     {/section}
51     <tr><td>&nbsp;</td></tr>
52     </table>
53     {/if}

  ViewVC Help
Powered by ViewVC 1.1.26