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