Commit | Line | Data |
---|---|---|
b42b2bf9 H |
1 | {if $template_event eq 'preview'} |
2 | <table> | |
3 | <tr> | |
4 | <td valign='top' rowspan='2' ><img hspace='5' src='{get_image_link id=$user_id}'></td> | |
5 | <td width='100%' valign='top'> | |
6 | <table width='100%'> | |
7 | <tr class='header'><td align='center'>PREVIEW of {$post_vars.node_name}</td></tr> | |
8 | <tr><td>{$post_vars.node_content|preview}</td></tr> | |
9 | </table> | |
10 | </table> | |
11 | {* end of preview *} | |
12 | {elseif $template_event eq 'filter_by'} | |
13 | {get_threaded_children listing_amount=23232322323 offset=$offset types=$children_types search_type=$post_vars.search_type search=$post_vars.node_content} | |
14 | {elseif $node.node_user_subchild_count eq true} | |
15 | {get_threaded_children offset=0 link='yes' listing_amount=23232323232 time=$node.last_visit time=$node.last_visit orderby=$listing_order } | |
16 | <!--<center><span class='most_important'>pozor doslo k zmene funkcnosti systemu, NEW prispevky (vsetky) sa zobrazuju od najstarsieho k najnovsiemu zhora dolu</span></center>--> | |
17 | {else} | |
18 | {get_threaded_children link='yes' listing_amount=$listing_amount offset=$offset ordearby=$listing_order} | |
19 | {/if} | |
20 | ||
21 | {foreach from=$get_threaded_children item=child}{if $child.template_id neq 1549834 and $child.external_link neq "session://fook"} | |
22 | <table width='666'> | |
23 | <tr> | |
24 | {*IGNORE USER CONDITION*}{if $ignore[$child.node_creator] neq true} | |
25 | {*if $child.node_created > $node.last_visit and $child.depth>$node.vector_depth*} | |
26 | <td colspan='3'><a href='/id/{$child.node_parent}'>{$child.node_vector}</a></td> | |
27 | </tr> | |
28 | {*/if*} | |
29 | <tr> | |
30 | <td width='{math equation="(x-y)-8" x=$child.depth y=$node.vector_depth}%'></td> | |
31 | <td valign='top' rowspan='2'> | |
32 | {* put.Ty hack *} | |
33 | {if $child.synapse_creator neq ''} | |
34 | <img src='{get_image_link id=$child.synapse_creator}' width='50' hspace='5' alt='SYNAPSE CREATOR' /> | |
35 | {else} | |
36 | <img src='{get_image_link id=$child.node_creator}' width='50' hspace='5' alt='{$child.login}' onclick="km();sm('{$child.login}','{$child.node_creator}','{$node.node_id}')" /> | |
37 | {/if} | |
38 | {*end of put.Ty hack *} | |
39 | </td> | |
40 | <td width='{math equation="100-(x-y)" x=$child.depth y=$node.vector_depth}%'> | |
41 | <table class='bordered' width='100%'><tr class='header'> | |
42 | <td> | |
43 | <a href='/id/{$child.node_creator}'>{$child.login}</a> | |
44 | {if $child.user_action neq false} | |
45 | [lokacia :: <a href='/{$child.user_actions}/'>{$child.user_action}</a>] | |
46 | {/if} | |
47 | <input type='checkbox' value='{$child.node_id}' name='node_chosen[]'> | |
48 | {$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"} | |
49 | {if $child.node_updated} (modif: {$child.node_updated|date_format:"%d.%m.%Y. - %H:%M:%S"}){/if} | |
50 | {if $child.k > 0} [<span class='most_important'>{$child.k}K</span>] {/if} | |
51 | {if $child.node_created > $node.last_visit}<span class='most_important'> NEW</span>{/if} | |
52 | {if $child.node_status eq 'linked'} | |
53 | <span class='important'>HARDLINK</span> | |
54 | {/if} | |
55 | {if $child.node_updated > $node.last_visit}<span class='most_important'>!!CONTENT CHANGED!!</span>{/if} | |
56 | {if $bookmarks.last_visit eq true and $child.lastdescendant_created > $bookmarks.last_visit}<span class='most_important'>!!NEW DESCENDANT!!</span>{/if} | |
57 | ||
58 | ||
59 | <div style='text-align:center;'> | |
60 | {if $child.node_name eq ''} | |
61 | <a href='/id/{$child.node_id}'>enter node {$child.node_id}</a> | |
62 | {else} | |
63 | <a href='/id/{$child.node_id}'>{$child.node_name|stripslashes}</a> | |
64 | {/if} | |
65 | {if $child.node_creator eq $user_id}| <a href='/id/{$child.node_id}/1961033'>conf</a>{/if} | |
66 | </div></td></tr> | |
67 | <tr><td>{if $permissions.r}{$child.node_content|stripslashes|nl2br|replace:'...':'…'|escape:'<embed>'}{else}you don't have permissions for viewing this data node{/if}</td></tr> | |
68 | </table></td> | |
69 | {/if}{*IGNORE USER CONDITION end*} | |
70 | </tr> | |
71 | </table> | |
72 | ||
73 | <br>{/if} | |
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> |