Kyberia v2.0
[mirrors/Kyberia-bloodline.git] / templates / kyberia / search.tpl
CommitLineData
e586807d
H
1<!--
2This program is free software. It comes without any warranty, to
3the extent permitted by applicable law. You can redistribute it
4and/or modify it under the terms of the Do What The Fuck You Want
5To Public License, Version 2, as published by Sam Hocevar. See
6http://sam.zoy.org/wtfpl/COPYING for more details.
7-->
8
9{include file="modules/header.tpl"}
10</form>
11<br><br><br>
12<center>
13
14<form method='post'>
15<input tabindex=1 type='text' value='{$smarty.post.query}' name='query'>
16<input type='submit' name='template_event' tabindex=2 value='search'><br><br>
17</form>
18<br><br>
19{if $smarty.post.query}{get_search query=$smarty.post.query listing_amount=$listing_amount offset=$offset}
20{foreach from=$get_search_short item=found}
21 <a href='/id/{$found.node_id}'>{$found.node_name}</a><br>
22{/foreach}<br><br>
23 {foreach from=$get_search item=child}
24
25<table class='bordered' cellspacing='0' cellpadding='0'>
26<tr>
27<td align='center' valign='top' rowspan='2'>
28 <img vspace='5' hspace='5' width='50' src='{get_image_link id=$child.node_creator}'>
29 {if $child.k eq true}<span class='most_important'>{$child.k} k</span>{/if}
30</td>
31
32<td valign='top' style='width: 100%'>
33 <table width=100%>
34 <tr class='header' width=100% valign='top'><td>
35 &nbsp;<a href='/id/{$child.node_creator}'>{$child.login}</a>
36 {if $child.user_action neq false}
37 &nbsp;[lokacia :: <a href='/{$child.user_action}/'>{$child.user_action}</a>]
38 {/if}
39 &nbsp;&nbsp;{$child.node_created|date_format:"%H:%M:%S - %d.%m.%Y"}&nbsp;
40 &nbsp;&nbsp;<input type='checkbox' value='{$child.node_id}' name='node_chosen[]'>
41 &nbsp;&nbsp;<a href='/id/{$child.node_id}'>enter</a>&nbsp;&nbsp;
42 {if $child.node_created > $node.last_visit}<span class='most_important'>&nbsp;&nbsp;NEW</span>{/if}
43 {if $child.node_children_count}<span class='most_important'>
44{$child.node_children_count}&nbsp;&nbsp;CHILDREN</span>{/if}
45 </td></tr>
46 <tr><td>{$child.node_content|stripslashes}</td></tr>
47 </table>
48</table>
49<br>
50
51 {/foreach}
52{/if}
53</center><br><br>
54{include file="modules/footer.tpl"}
This page took 0.138919 seconds and 4 git commands to generate.