1 |
ravilov |
1.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}&section_menu={$section_menu}&qa={$qa}"> |
6 |
|
|
<table border=0 cellspacing=0 cellpadding=4 width="100%"> |
7 |
|
|
<tr><td align=left valign=top width="1%">Va¹e ime i 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 email 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"><< 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}&section_menu={$section_menu}&section_menu2={$section_menu2}&qa={$qa}&offset={$prev}" class="more"><< nazad</a>{/if}{if (($prev || $offset) && $next)} | {/if}{if ($next)}<a href="?section={$section}&section_menu={$section_menu}&section_menu2={$section_menu2}&qa={$qa}&offset={$next}" class="more">sljedeæih 10 >></a>{/if} ]</small></td></tr> |
19 |
|
|
<tr><td colspan=2><hr width="90%"></td></tr> |
20 |
|
|
{/if} |
21 |
|
|
{section name=i loop=$qas} |
22 |
ravilov |
1.3 |
<tr><td align=right colspan=2><small>Poslano: {$i/qas.date}</small></td></tr> |
23 |
ravilov |
1.1 |
<tr><td width="1%" valign=top><b>P:</b></td><td><b>{$i/qas.pitanje}</b></td></tr> |
24 |
|
|
<tr><td width="1%" valign=top>O:</td><td>{$i/qas.odgovor}</td></tr> |
25 |
ravilov |
1.2 |
{if ($i/qas.gost)}<tr><td colspan=2 align=right><small>Odgovara: {$i/qas.gost}</small></td></tr>{/if} |
26 |
ravilov |
1.1 |
<tr><td colspan=2><hr width="90%"></td></tr> |
27 |
|
|
{/section} |
28 |
|
|
{if ($prev || $next || $offset)}<tr><td colspan=2 align=right><small>[ {if ($prev || $offset)}<a href="?section={$section}&section_menu={$section_menu}&section_menu2={$section_menu2}&qa={$qa}&offset={$prev}" class="more"><< nazad</a>{/if}{if (($prev || $offset) && $next)} | {/if}{if ($next)}<a href="?section={$section}&section_menu={$section_menu}&section_menu2={$section_menu2}&qa={$qa}&offset={$next}" class="more">sljedeæih 10 >></a>{/if} ]</small></td></tr>{/if} |
29 |
|
|
</table> |
30 |
ravilov |
1.2 |
{else}<i>Nema pitanja (ni odgovora).</i><br>{/if} |
31 |
ravilov |
1.1 |
{else} |
32 |
|
|
<table border=0 cellspacing=3 cellpadding=4 width="100%"> |
33 |
|
|
<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> |
34 |
|
|
{section name=i loop=$teme} |
35 |
ravilov |
1.2 |
<tr class="qabg"><td align=left valign=middle width="100%"{if (! $i/teme.count)} colspan=2{/if}><a href="?section={$section}&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> |
36 |
ravilov |
1.1 |
{if ($i/teme.teme)}{section name=j loop=$i/teme.teme} |
37 |
ravilov |
1.2 |
<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}&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> |
38 |
ravilov |
1.1 |
{/section}{/if} |
39 |
|
|
{/section} |
40 |
|
|
</table> |
41 |
|
|
{/if} |