| 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 | <center> |
| 10 | <form method='post'> |
| 11 | <input tabindex=1 type='text' value='{$smarty.post.query}' name='query'> |
| 12 | <input type='submit' name='template_event' tabindex=2 value='search'><br><br> |
| 13 | </form> |
| 14 | <br><br> |
| 15 | {if $smarty.post.query}{get_search query=$smarty.post.query listing_amount=$listing_amount offset=$offset} |
| 16 | {foreach from=$get_search_short item=found} |
| 17 | <a href='/id/{$found.node_id}'>{$found.node_name}</a><br> |
| 18 | {/foreach}<br><br> |
| 19 | {foreach from=$get_search item=child} |
| 20 | |
| 21 | <table class='bordered' cellspacing='0' cellpadding='0'> |
| 22 | <tr> |
| 23 | <td align='center' valign='top' rowspan='2'> |
| 24 | <img vspace='5' hspace='5' width='50' src='{get_image_link id=$child.node_creator}'> |
| 25 | {if $child.k eq true}<span class='most_important'>{$child.k} k</span>{/if} |
| 26 | </td> |
| 27 | |
| 28 | <td valign='top' style='width: 100%'> |
| 29 | <table width=100%> |
| 30 | <tr class='header' width=100% valign='top'><td> |
| 31 | <a href='/id/{$child.node_creator}'>{$child.login}</a> |
| 32 | {if $child.user_action neq false} |
| 33 | [lokacia :: <a href='/{$child.user_action}/'>{$child.user_action}</a>] |
| 34 | {/if} |
| 35 | {$child.node_created|date_format:"%H:%M:%S - %d.%m.%Y"} |
| 36 | <input type='checkbox' value='{$child.node_id}' name='node_chosen[]'> |
| 37 | <a href='/id/{$child.node_id}'>enter</a> |
| 38 | {if $child.node_created > $node.last_visit}<span class='most_important'> NEW</span>{/if} |
| 39 | {if $child.node_children_count}<span class='most_important'> |
| 40 | {$child.node_children_count} CHILDREN</span>{/if} |
| 41 | </td></tr> |
| 42 | <tr><td>{$child.node_content|stripslashes}</td></tr> |
| 43 | </table> |
| 44 | </table> |
| 45 | <br> |
| 46 | |
| 47 | {/foreach} |
| 48 | {/if} |
| 49 | </center> |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |