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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Fri Oct 12 09:22:02 2001 UTC (22 years, 7 months ago) by ravilov
Branch: MAIN
Changes since 1.1: +4 -6 lines
Added Kalendar dogaðanja to PLIVAmed.net. Moved HTTP auth to external .htaccess files. Other bugfixes.

1 <br><big><b>Pitanja i odgovori</b></big><br>
2 {if ($naslov)}<b>{$naslov}</b><br>{/if}<br>
3 {if ($qa)}
4 {if ($done)}<span><font color="#008000"><b>Va¹e pitanje je primljeno na obradu. Uskoro oèekujte odgovor.</b></font></span><br>{/if}
5 <form method=post action="?section={$section}&amp;section_menu={$section_menu}&amp;qa={$qa}">
6 <table border=0 cellspacing=0 cellpadding=4 width="100%">
7 <tr><td align=left valign=top width="1%">Va¹e&nbsp;ime&nbsp;i&nbsp;prezime:</td><td><input type=text name="ime" value="{$ime}" size="20" style="width:100%;">{if ($error & 1)}<br><span class="small3">Morate upisati Va¹e ime.</span>{/if}</td></tr>
8 <tr><td align=left valign=top width="1%">Va¹a&nbsp;email&nbsp;adresa:</td><td><input type=text name="email" value="{$email}" size="20" style="width:100%;">{if ($error & 2)}<br><span class="small3">Morate upisati Va¹u e-mail adresu.</span>{/if}</td></tr>
9 <tr><td align=left valign=top colspan=2>Va¹e pitanje:{if ($error & 4)}<br><span class="small3">Morate upisati pitanje.</span>{/if}<br><textarea name="pitanje" cols="30" rows="6" wrap=virtual style="width:100%;">{$pitanje}</textarea></td></tr>
10 <tr><td align=right valign=bottom colspan=2><input type="submit" name="salji" value="Po¹alji" class="bsmall"></td></tr>
11 <tr><td align=left valign=middle colspan=2><a href="?section={$section}" class="more">&lt;&lt;&nbsp;kategorije</a></td></tr>
12 </table>
13 </form>
14 <hr width="100%"><br>
15 {if ($qas)}
16 <table border=0 cellspacing=0 cellpadding=4 width="100%">
17 {if ($prev || $next || $offset)}
18 <tr><td colspan=2 align=right><small>[ {if ($prev || $offset)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;qa={$qa}&amp;offset={$prev}" class="more">&lt;&lt;&nbsp;nazad</a>{/if}{if (($prev || $offset) && $next)} | {/if}{if ($next)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;qa={$qa}&amp;offset={$next}" class="more">sljedeæih 10&nbsp;&gt;&gt;</a>{/if} ]</small></td></tr>
19 <tr><td colspan=2><hr width="90%"></td></tr>
20 {/if}
21 {section name=i loop=$qas}
22 <tr><td width="1%" valign=top><b>P:</b></td><td><b>{$i/qas.pitanje}</b></td></tr>
23 <tr><td width="1%" valign=top>O:</td><td>{$i/qas.odgovor}</td></tr>
24 {if ($i/qas.gost)}<tr><td colspan=2 align=right><small>Odgovara: {$i/qas.gost}</small></td></tr>{/if}
25 <tr><td colspan=2><hr width="90%"></td></tr>
26 {/section}
27 {if ($prev || $next || $offset)}<tr><td colspan=2 align=right><small>[ {if ($prev || $offset)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;qa={$qa}&amp;offset={$prev}" class="more">&lt;&lt;&nbsp;nazad</a>{/if}{if (($prev || $offset) && $next)} | {/if}{if ($next)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;qa={$qa}&amp;offset={$next}" class="more">sljedeæih 10&nbsp;&gt;&gt;</a>{/if} ]</small></td></tr>{/if}
28 </table>
29 {else}<i>Nema pitanja (ni odgovora).</i><br>{/if}
30 {else}
31 <table border=0 cellspacing=3 cellpadding=4 width="100%">
32 <tr><td colspan=3><table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=bottom><b>Izaberite kategoriju:</b></td><td align=right valign=bottom class="bsmall">Pitanja / odgovora</td></tr></table></td></tr>
33 {section name=i loop=$teme}
34 <tr class="qabg"><td align=left valign=middle width="100%"{if (! $i/teme.count)} colspan=2{/if}><a href="?section={$section}&amp;qa={$i/teme.id}" class="qahead" title="{$i/teme.naziv}" style="width:100%;height:100%;padding:2px;font-size:11pt;">{$i/teme.naziv}</a></td>{if ($i/teme.count)}<td width="1%" align=right>{$i/teme.count}</td>{/if}</tr>
35 {if ($i/teme.teme)}{section name=j loop=$i/teme.teme}
36 <tr><td align=left valign=middle class="qabg{if (%j.rownum% % 2 != 0)}2{else}1{/if}"{if (! $i/j.teme/teme.count)} colspan=2{/if}><a href="?section={$section}&amp;qa={$i/j.teme/teme.id}" title="{$i/teme.naziv} - {$i/j.teme/teme.naziv}" class="qaitem" style="width:100%;height:100%;padding:2px;">{$i/j.teme/teme.naziv}</a></td>{if ($i/j.teme/teme.count)}<td width="1%" align=right>{$i/j.teme/teme.count}</td>{/if}</tr>
37 {/section}{/if}
38 {/section}
39 </table>
40 {/if}

  ViewVC Help
Powered by ViewVC 1.1.26