/[health_html]/templates/knjiznica-adresar.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

Contents of /templates/knjiznica-adresar.tpl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations)
Wed Oct 31 10:12:28 2001 UTC (22 years, 5 months ago) by ravilov
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -2 lines
Replaced textual hyperlinks with images. Other beautifications.

1 {if ($ID)}
2 <br><br>
3 <table border=0 cellspacing=0 cellpadding=2 width="100%">
4 <tr><td colspan=2 align=left valign=middle><big><b><font color="#000080">{$naziv}</font></b></big></td></tr>
5 <tr><td align=left valign=top width="1%">Adresa:</td><td align=left valign=top>{$adresa}, {$posta} {$mjesto}</td></tr>
6 <tr><td align=left valign=top>Opæina:</td><td align=left valign=top>{$opcina}</td></tr>
7 <tr><td align=left valign=top>®upanija:</td><td align=left valign=top>{$zupanija}</td></tr>
8 {if ($telefon)}<tr><td align=left valign=top>Telefon:</td><td align=left valign=top>{$telefon}</td></tr>{/if}
9 {if ($www)}<tr><td align=left valign=top>WWW&nbsp;adresa:</td><td align=left valign=top><a href="{$www}" target="_blank" class="underlined">{$www}</a></td></tr>{/if}
10 {if ($email)}<tr><td align=left valign=top>E-mail:</td><td align=left valign=top><a href="mailto:{$email}" class="underlined">{$email}</a></td></tr>{/if}
11 </table>
12 <p align=right class="small"><a href="javascript:history.go(-1);" class="more"><img src="img/{if ($ismed)}m{else}z{/if}back.gif" width=46 height=11 alt="&lt;&lt;&nbsp;natrag" border=0></a></p>
13 {else}
14 <big><b>Adresar ustanova</b></big><br><br>
15 {$SEARCH}
16 <br><br>
17 {if ($index || $srch)}
18 {if ($index)}
19 <font color="#008000"><b>Abecedni popis{if ($index != 1)}: <tt><big>{if ($index == '@')}<i>[non-alpha]</i>{else}{$index}{/if}</big></tt>{/if} {if ($records)}<small>({$records} ustanov{if ($records % 100 >= 10 && $records % 100 <= 20)}a{elseif ($records % 10 > 1 && $records % 10 < 5)}e{else}a{/if})</small>{/if}</b></font><br><br>
20 {if ($index == 1)}
21 {if ($records > 0)}<table border=0 cellspacing=0 cellpadding=3 width="100%"><tr><td align=left valign=top width="1%" class="small"><b>QuickJump:</b></td><td align=left valign=top class="small">[{section name=l loop=$letters}{if ($l/letters != '@')}<a href="#{$l/letters}" class="more">{$l/letters}</a>{if (%l.index% == %l.loop% / 2)}]<br>[{elseif (%l.index% < %l.loop% - 1)}|{/if}{/if}{/section}]</td></tr></table>{/if}
22 {else}
23 <table border=0 cellspacing=0 cellpadding=3 width="100%"><tr><td align=left valign=top width="1%" class="small"><b>Popis:</b></td><td align=left valign=top class="small">[{section name=l loop=$letters}{if ($index == $l/letters)}<span class="idxselected">{$l/letters}</span>{else}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;index={$l/letters}&amp;stype={$stype}" class="more">{$l/letters}</a>{/if}{if (%l.index% == %l.loop% / 2)}]<br>[{elseif (%l.index% < %l.loop% - 1)}|{/if}{/section}|<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;index=1&amp;stype={$stype}" class="more"><i>SVE</i></a>]</td></tr></table>
24 {/if}
25 <br>
26 {else}
27 <b>{if ($records > 0)}
28 <font color="#008000">Pronaðen{if ($records % 100 >= 10 && $records % 100 <= 20)}o{elseif ($records % 10 > 1 && $records % 10 < 5)}e{else}a{/if} {$records} ustanov{if ($records % 100 >= 10 && $records % 100 <= 20)}a{elseif ($records % 10 > 1 && $records % 10 < 5)}e{else}a{/if}.
29 {else}
30 <font color="#FF0000"><big>Nema ustanova koji odgovaraju upitu.</big>
31 {/if}</font></b><br><br>
32 {/if}
33 <hr width="90%" size=2>
34 {section name=i loop=$slova}
35 {if ($index == 1)}<center><a name="{$i/slova.l}"><big><b>{$i/slova.l}</b></big></a></center>{/if}
36 <ul>
37 {section name=j loop=$i/slova.ustanove}
38 <li><a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;id={$i/j.ustanove/slova.id}" class="underlined">{$i/j.ustanove/slova.naziv}{if ($i/j.ustanove/slova.mjesto)} <small><i>({$i/j.ustanove/slova.mjesto})</i></small>{/if}</a></li>
39 {/section}
40 </ul>
41 {if ($index)}<p align=right><a href="#top" class="more"><img src="img/{if ($ismed)}m{else}z{/if}vrh.gif" width=73 height=8 alt="vrh" border=0></a></p><br><br>{/if}
42 {sectionelse}
43 {if ($index)}<big><b><font color="#FF0000">Nema ustanova.</font></b></big><br><br>{/if}
44 {/section}
45 {/if}
46 {if (! $index && $letters)}<table border=0 cellspacing=0 cellpadding=3 width="100%"><tr><td align=left valign=top width="1%" class="small"><b>Popis:</b></td><td align=left valign=top class="small">[{section name=l loop=$letters}{if ($index == $l/letters)}<span class="idxselected">{$l/letters}</span>{else}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;index={$l/letters}&amp;stype={$stype}" class="more">{$l/letters}</a>{/if}{if (%l.index% == %l.loop% / 2)}]<br>[{elseif (%l.index% < %l.loop% - 1)}|{/if}{/section}|<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;index=1&amp;stype={$stype}" class="more"><i>SVE</i></a>]</td></tr></table>{/if}
47 {/if}

  ViewVC Help
Powered by ViewVC 1.1.26