Kyberia v2.0
[mirrors/Kyberia-bloodline.git] / templates / own_templates / 1549582.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{if $template_event eq 'preview'}
10<table>
11<tr>
12<td valign='top' rowspan='2' ><img hspace='5' src='{get_image_link id=$user_id}'></td>
13<td width='100%' valign='top'>
14<table width='100%'><tr class='header'>
15<td align='center'>PREVIEW
16
17<tr><td>{$post_vars.node_content|preview}</td></tr>
18</table>
19</table>
20{* end of preview *}
21
22{elseif $template_event eq 'filter_by'}
23 {get_children listing_amount=23232322323 offset=$offset types=$children_types search_type=$post_vars.search_type search=$post_vars.node_content}
24{elseif $node.node_user_subchild_count eq true}
25 {get_children children_type=$children_type listing_amount=$node.node_user_subchild_count+5 offset=$offset}
26{else}
27 {get_children children_type=$children_type listing_amount=$listing_amount offset=$offset}
28{/if}
29
30{get_linked_nodes}
31
32{merge_arrays array1=$get_children array2=$get_linked_nodes sort_by='node_created'}
33
34
35{foreach from=$merged item=child}
36<table class='bordered' cellspacing='0' cellpadding='0'>
37<tr>
38<td align='center' valign='top' rowspan='2'>
39 <img vspace='5' hspace='5' width='50' src='{get_image_link id=$child.node_creator}'>
40 {if $child.k eq true}<span class='most_important'>{$child.k} k</span>{/if}
41</td>
42
43<td valign='top' style='width: 100%'>
44 <table width=100%>
45 <tr class='header' width=100% valign='top'><td>
46 &nbsp;<a href='/id/{$child.node_creator}'>{$child.creator}</a>
47 {if $child.user_action neq false}
48 &nbsp;[lokacia :: <a href='/{$child.user_action}/'>{$child.user_action}</a>]
49 {/if}
50 &nbsp;&nbsp;{$child.node_created|date_format:"%H:%M:%S - %d.%m.%Y"}&nbsp;
51 &nbsp;&nbsp;<input type='checkbox' value='{$child.node_id}' name='node_chosen[]'>
52 &nbsp;&nbsp;<a href='/id/{$child.node_id}'>{$child.node_name}</a>&nbsp;&nbsp;
53 {if $child.node_created > $node.last_visit}<span class='most_important'>&nbsp;&nbsp;NEW</span>{/if}
54 {if $child.node_children_count}<span class='most_important'>{$child.node_children_count}&nbsp;&nbsp;CHILDREN</span>{/if}
55 {if $child.node_parent neq $node.node_id}<span class='most_important'>LINKED</span>{/if}
56 </td></tr>
57 <tr><td>{$child.node_content|stripslashes}</td></tr>
58 </table>
59</table>
60<br>
61{/foreach}
This page took 0.156029 seconds and 4 git commands to generate.