Kyberia v2.0
[mirrors/Kyberia-bloodline.git] / templates / own_templates / 1549839.tpl
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 {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 {elseif $template_event eq 'filter_by'}
22 {get_threaded_children listing_amount=23232322323 offset=$offset types=$children_types search_type=$post_vars.search_type search=$post_vars.node_content}
23 {elseif $node.node_user_subchild_count eq true}
24 {get_threaded_children offset=0 listing_amount=23232323232 time=$node.last_visit time=$node.last_visit orderby=$listing_order types=$children_types}
25 <!--<center><span class='most_important'>pozor doslo k zmene funkcnosti systemu, NEW prispevky (vsetky) sa zobrazuju od najstarsieho k najnovsiemu zhora dolu</span></center>-->
26 {else}
27 {get_threaded_children link='yes' listing_amount=$listing_amount offset=$offset types=$children_types orderby=$listing_order}
28 {/if}
29
30 {*get_linked_nodes*}
31
32 {merge_arrays array1=$get_threaded_children array2=$get_linked_nodes sort_by='thread' orderby=$listing_order}
33
34 {foreach from=$merged item=child}
35 {if $child.node_type eq 11}
36 {get_poll poll=$child}
37 {include file="modules/show_poll.tpl" get_poll=$get_poll}
38 <br>
39 {else}
40
41 <table width='666'>
42 <tr>
43 {*if $child.node_created > $node.last_visit and $child.depth>$node.vector_depth*}
44 <td colspan='3'><a href='/id/{$child.node_parent}'>{$child.node_vector}</a></td>
45 </tr>
46 {*/if*}
47 <td width='{math equation="(x-y)-8" x=$child.depth y=$node.vector_depth}%'></td>
48 <td valign='top' rowspan='2'><img src='{get_image_link id=$child.node_creator}' width='50' hspace='5' alt='' /></td>
49 <td width='{math equation="100-(x-y)" x=$child.depth y=$node.vector_depth}%'>
50 <table class='bordered' width='100%'><tr class='header'>
51 <td>
52 &nbsp;<a href='/id/{$child.node_creator}'>{$child.login}</a>
53 {if $child.user_action neq false}
54 &nbsp;[lokacia :: <a href='/{$child.user_actions}/'>{$child.user_action}</a>]
55 {/if}
56 &nbsp;&nbsp;<input type='checkbox' value='{$child.node_id}' name='node_chosen[]'>
57 &nbsp;&nbsp;{$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}
58 {if $child.node_created > $node.last_visit}<span class='most_important'>&nbsp;&nbsp;NEW</span>{/if}
59 {if $child.node_status eq 'linked'}<span class='most_important'>LINKED</span>{/if}
60
61 <div style='text-align:center;'>
62 {if $child.node_name eq ''}
63 <a href='/id/{$child.node_id}'>enter node {$child.node_id}</a>
64 {else}
65 <a href='/id/{$child.node_id}'>{$child.node_name}</a>
66 {/if}
67 {if $child.node_creator eq $user_id or $child.node_permission eq 'master' or $child.node_permission eq 'op'}| <a href='/id/{$child.node_id}/1961033'>conf</a>{/if}
68 </div>
69 <tr><td>{$child.node_content|stripslashes|nl2br}</td></tr>
70 </table>
71 </table>
72 {/if}
73 <br>
74 {/foreach}
75
76 <table align='center'><tr>
77 <td><input type='hidden' name='get_children_offset' value='{$offset}'></td>
78 <td><input type='submit' name='get_children_move' value='<'></td>
79 <td><input type='submit' name='get_children_move' value='<<'></td>
80 <td><input name='get_children_move' type='submit' value='>>'></td>
81 <td><input type='submit' name='get_children_move' value='>'></td>
82 </tr></table>
83
84
This page took 0.291417 seconds and 4 git commands to generate.