Kyberia v2.3 - 1st revision from SVN (Without patches of kyberia.sk team)
[mirrors/Kyberia-bloodline.git] / data / templates / own_templates / 1858646.tpl
1 {if $template_event eq 'preview'}
2 <div class='sub{$user_id}' style='margin-top: 10px;'>
3 <img width='50' hspace='5' src='{get_image_link id=$user_id}' alt='' style='float:left; margin-right:5px;' class='icon' />
4 <div class='th_header' style='background:#333;'>
5 PREVIEW
6 </div>
7 <div class='th_content' style='margin-top: 5px;'>
8 {$post_vars.node_content|preview}
9 </div>
10 </div>
11 {* end of preview *}
12
13 {elseif $template_event eq 'filter_by'}
14 {get_threaded_children listing_amount=23232322323 offset=$offset types=$children_types search_type=$post_vars.search_type search=$post_vars.node_content}
15 {elseif $user_id neq true}
16 {get_threaded_children offset=0 listing_amount=232 orderby="asc"}
17 {elseif $node.node_user_subchild_count eq true}
18 {get_threaded_children offset=0 listing_amount=232 time=$node.last_visit time=$node.last_visit orderby=$listing_order types=$children_types}
19
20 {else}
21 {get_threaded_children listing_amount=$listing_amount offset=$offset types=$children_types orderby=$listing_order}
22 {/if}
23
24 {*get_linked_nodes time_1=$time_1 time_2=$time_2 orderby=$listing_order*}
25 {if $user_id neq true}
26 {merge_arrays array1=$get_threaded_children array2=$get_linked_nodes sort_by='thread' orderby="asc"}
27 {else}
28 {merge_arrays array1=$get_threaded_children array2=$get_linked_nodes sort_by='thread' orderby=$listing_order}
29 {/if}
30
31 {foreach from=$merged item=child}
32 {if $child.template_id eq 11}
33 {get_poll poll=$child}
34 {include file="modules/show_poll.tpl" get_poll=$get_poll}
35 <br>
36 {else}
37
38 <div class='thread'>
39 <div class='sub{$user_id}' style='margin-top: 10px;'>
40 {*if $child.node_created > $node.last_visit and $child.depth>$node.vector_depth*}
41 <a href='/id/{$child.node_parent}' class='th_vector'>{$child.node_vector}</a>
42 {*/if*}
43 <div class='th_margin' style='float:left;' width='{math equation="(x-y)-9" x=$child.depth y=$node.vector_depth}%'>
44 </div>
45 <div {if $child.node_created > $node.last_visit} class='th_body_new' {else} class='th_body' {/if}>
46 <img width='50' hspace='5' src='{get_image_link id=$child.node_creator}' alt='' style='float:left; margin-right:5px;' class='icon' />
47 <div class='th_header' style='background:#333;'>
48 <a href='/id/{$child.node_creator}'>{$child.login}</a>
49 <input type='checkbox' value='{$child.node_id}' name='node_chosen[]'>
50 {$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}
51 {if $child.node_created > $node.last_visit}
52 <span class='most_important'>NEW</span>
53 {/if}
54 {if $child.node_status eq 'linked'}
55 <span class='most_important'>LINKED</span>
56 {/if}
57 <div class='header_button' style='text-align:center;'>
58 {if $child.node_name eq ''}
59 <a href='/id/{$child.node_id}'>{$child.node_created|date_format:"%d.%m.%Y.-%H:%M:%S"}</a>
60 {else}
61 <a href='/id/{$child.node_id}'>{$child.node_name}</a>
62 {/if}
63 | <a href='/id/{$child.node_id}/configure'>conf</a>
64 </div>
65 </div>
66 <div class='th_content' style='margin-top: 5px;'>
67 {$child.node_content|stripslashes|nl2br}
68 </div>
69 </div>
70 </div>
71 </div>
72 {/if}
73 {/foreach}
74
75 <div class='list'>
76 <input type='hidden' name='get_children_offset' value='{$offset}'>
77 <input type='submit' name='get_children_move' value='<'>
78 <input type='submit' name='get_children_move' value='<<'>
79 <input name='get_children_move' type='submit' value='>>'>
80 <input type='submit' name='get_children_move' value='>'>
81 </div>
This page took 0.294215 seconds and 4 git commands to generate.