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

Annotation of /templates/knjiznica-adresar.tpl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Thu Aug 30 16:35:36 2001 UTC (22 years, 8 months ago) by ravilov
Branch: MAIN
Started major site rearrangement. Minor bugfixes.

1 ravilov 1.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>{$naziv}</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">{$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}">{$email}</a></td></tr>{/if}
11     </table>
12     <p align=right class="small"><a href="javascript:history.go(-1);">Nazad</a></p>
13     {else}
14     {$SEARCH}
15     <br><br>
16     {if ($index || $srch)}
17     {if ($index)}
18     <font color="#008000"><b><a name="top">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}</a></b></font><br><br>
19     {if ($index == 1)}
20     <p class="small"><b>QuickJump:</b> <tt>[{section name=l loop=$letters}{if ($l/letters != '@')}<a href="#{$l/letters}" class="more">{$l/letters}</a>{if (%l.index% < %l.loop% - 1)}|{/if}{/if}{/section}]</tt></p>
21     {else}
22     <p align=right class="small"><tt>[{section name=l loop=$letters}{if ($index == $l/letters)}<font color="#C0C0C0"><b>{$l/letters}</b></font>{else}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;index={$l/letters}&amp;stype={$stype}" class="more">{$l/letters}</a>{/if}{if (%l.index% < %l.loop% - 1)}|{/if}{/section}|<a href="?section={$section}&amp;section_menu={$section_menu}&amp;index=1&amp;stype={$stype}" class="more"><i>SVE</i></a>]</tt></p>
23     {/if}
24     <br>
25     {else}
26     <b>{if ($records > 0)}
27     <font color="#008000">Pronaðen{if ($records % 100 >= 10 && $records % 100 <= 20)}o{elseif ($records % 10 > 1 && $records % 10 < 5)}e{else}o{/if} {$records} ustanov{if ($records % 100 >= 10 && $records % 100 <= 20)}a{elseif ($records % 10 > 1 && $records % 10 < 5)}e{else}a{/if}.
28     {else}
29     <font color="#FF0000">Nema ustanova koji odgovaraju upitu.
30     {/if}</font></b><br><br>
31     {/if}
32     <hr width="90%" size=2>
33     {section name=i loop=$slova}
34     {if ($index == 1)}<center><a name="{$i/slova.l}"><big><b>{$i/slova.l}</b></big></a></center>{/if}
35     <ul>
36     {section name=j loop=$i/slova.ustanove}
37     <li><a href="?section={$section}&amp;section_menu={$section_menu}&amp;id={$i/j.ustanove/slova.id}">{$i/j.ustanove/slova.naziv}{if ($i/j.ustanove/slova.mjesto)} ({$i/j.ustanove/slova.mjesto}){/if}</a></li>
38     {/section}
39     </ul>
40     {if ($index)}<p align=right><a href="#top" class="small">Vrh stranice</a></p><br><br>{/if}
41     {sectionelse}
42     {if ($index)}<big><b><font color="#FF0000">Nema ustanova.</font></b></big><br><br>{/if}
43     {/section}
44     {/if}
45     {if (! $index && $letters)}<p align=right class="small"><b>Popis:</b> <tt>[{section name=l loop=$letters}{if ($index == $l/letters)}<font color="#C0C0C0"><b>{$l/letters}</b></font>{else}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;index={$l/letters}&amp;stype={$stype}" class="more">{$l/letters}</a>{/if}{if (%l.index% < %l.loop% - 1)}|{/if}{/section}|<a href="?section={$section}&amp;section_menu={$section_menu}&amp;index=1&amp;stype={$stype}" class="more"><i>SVE</i></a>]</tt></p>{/if}
46     {/if}

  ViewVC Help
Powered by ViewVC 1.1.26