| 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 | {include file="modules/header.tpl"} |
| 10 | <link rel='stylesheet' type='text/css' href='http://freezy.rulez.sk/kyb.css'> |
| 11 | |
| 12 | {if $error eq true} |
| 13 | <center><font style='error'>{$error}</font></center> |
| 14 | {/if} |
| 15 | |
| 16 | {if $user_id eq false} |
| 17 | <center>{include file="modules/loginbox.tpl"}<br> |
| 18 | <img src='/images/nodes/2/3/2334.gif'><br> |
| 19 | {include file="modules/node_content.tpl"} |
| 20 | </center> |
| 21 | |
| 22 | {else} |
| 23 | |
| 24 | <table width='100%'><tr> |
| 25 | |
| 26 | <!--left column--> |
| 27 | <td valign='top' align='center' width='23%'> |
| 28 | <table> |
| 29 | <tr><td colspan='2' align='center'> |
| 30 | <img src='/images/nodes/2/3/2334.gif'> |
| 31 | </td></tr> |
| 32 | <tr><td>node:</td><td><a href='/id/{$node.node_id}'>{$node.node_name}</a></td></tr> |
| 33 | <tr><td>template:</td><td><a href='/id/1502635'>1502635</a></td></tr> |
| 34 | <tr><td>parent:</td><td><a href='/id/{$node.node_parent}'>{$node.node_parent_name}</a></td></tr> |
| 35 | <tr><td>owner:</td><td><a href='/id/{$node.node_creator}'>{$node.owner}</a></td></tr> |
| 36 | <tr><td>datetime:</td><td>11.11.2003 - 15:11</td></tr> |
| 37 | </table> |
| 38 | <br> |
| 39 | <table class='bordered'> |
| 40 | <tr><td colspan='2' align='center' class='important'>permissions</td></tr> |
| 41 | <tr><td>you:</td><td align='center'>{if $permissions.r eq true}r,{/if}{if $permissions.w eq true}w,{/if}{$node.node_permission}</td> |
| 42 | <tr><td>system:</td><td align='center'>{$node.node_system_access}</td> |
| 43 | <tr><td>net:</td><td align='center'>{$node.node_external_access}</td> |
| 44 | </table> |
| 45 | |
| 46 | <br> |
| 47 | <center><a href='/id/{$node.node_id}/neurons'>neurons</a></center> |
| 48 | <center><a href='/id/{$node.node_id}/stats'>statistics</a></center> |
| 49 | <center><a href='/id/{$node.node_id}/offtopic'>offtopic</a></center> |
| 50 | <center><a href='/id/{$node.node_id}/links'>links</a></center> |
| 51 | <center><a href='/id/{$node.node_id}/print'>print</a></center> |
| 52 | <center><a href='/id/15/{$node.node_vector}'>k</a></center><br> |
| 53 | <table><tr> |
| 54 | <td colspan='2' align='center'> |
| 55 | <br><span class='important'>node viewed {$node.node_views} times</span> |
| 56 | <br><span class='important'>total descendants::{$node.node_descendant_count}</span> |
| 57 | <br><span class='important'>total children::{$node.node_children_count}</span> |
| 58 | {if $node.node_user_subchild_count neq false} |
| 59 | <br><span class='most_important'>{$node.node_user_subchild_count} NEW</span> |
| 60 | {/if} |
| 61 | |
| 62 | {if $node.k neq false} |
| 63 | <br><span class='most_important'>23 K</span><br><br> |
| 64 | {/if} |
| 65 | |
| 66 | {if $offset neq false} |
| 67 | <br><span class='important'>using offset:: {$offset} </span> |
| 68 | {/if} |
| 69 | </td> |
| 70 | <form action='/id/{$node.node_id}/' method='post'> |
| 71 | <tr><td colspan='2' align='center'> |
| 72 | {if $node.node_bookmark neq 'yes'} |
| 73 | <input type='submit' name='event' value='book'> |
| 74 | {else} |
| 75 | |
| 76 | <input type='submit' name='event' value='unbook'> |
| 77 | {/if} |
| 78 | |
| 79 | <input type='submit' name='event' value='K'> |
| 80 | </td></tr> |
| 81 | </form> |
| 82 | </table> |
| 83 | <center>{if $node.node_creator eq $user_id or $node.node_permission eq 'master' or $node.node_permission eq 'op'}<a href='/id/{$node.node_id}/configure'>configure</a><br>{/if} |
| 84 | <a href='/id/{$node.node_id}/forum'>!!!show flat!!!</a></center> |
| 85 | <br> |
| 86 | {include file="modules/userinfo.tpl"} |
| 87 | {* showing poll *} |
| 88 | {*include file="modules/get_poll_box.tpl"*} |
| 89 | <br> |
| 90 | {*showing bookmark_statistics*} |
| 91 | {include file="modules/get_bookmark_statistics_box.tpl"} |
| 92 | |
| 93 | |
| 94 | </td> |
| 95 | <!--end of left column--> |
| 96 | |
| 97 | <!--main central column--> |
| 98 | <td valign='top'> |
| 99 | <form method='post' action='/id/{$node.node_id}'> |
| 100 | <center>{include file="modules/movement.tpl"}</center> |
| 101 | </form> |
| 102 | |
| 103 | {if $action eq 6} |
| 104 | {get_nodes_by_parent parent=21 listing_amount=2323232323 offset=$offset} |
| 105 | {foreach from=$get_nodes_by_parent item=child} |
| 106 | {if $child.node_creator eq $node.node_id} |
| 107 | <a href='/id/{$child.node_id}'>{$child.node_name}</a><br> |
| 108 | {/if} |
| 109 | {/foreach} |
| 110 | |
| 111 | {elseif $action eq true} |
| 112 | |
| 113 | |
| 114 | {include file="modules/get_creation_by_template_id.tpl" listing_amount=$listing_amount type=$action} |
| 115 | |
| 116 | {else} |
| 117 | {include file="modules/node_content.tpl"} |
| 118 | |
| 119 | {* shows what other friends think about users *} |
| 120 | |
| 121 | |
| 122 | {get_children_by_external_link external_link='session://friend' listing_amount=$listing_amount offset=$offset orderby=desc} |
| 123 | {foreach from=$get_children_by_external_link item=child} |
| 124 | <table> |
| 125 | <tr> |
| 126 | <td valign='top' rowspan='2'><img width='50' hspace='5' src='{get_image_link id=$child.node_creator}'> </td> |
| 127 | <td valign='top' width='100%'> |
| 128 | <table width='100%'><tr class='header' valign='top'> |
| 129 | |
| 130 | |
| 131 | <td> |
| 132 | {if $child.template_id eq 6 } |
| 133 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> |
| 134 | {elseif $child.template_id eq 5 } |
| 135 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> |
| 136 | {else} |
| 137 | <a href='/id/{$child.node_creator}'>{$child.login}</a> |
| 138 | {if $child.user_action neq false} |
| 139 | [location || <a href='/{$child.user_action}/'>{$child.user_action}</a>] |
| 140 | |
| 141 | {/if} |
| 142 | {/if} |
| 143 | <br> {$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}</center> |
| 144 | <tr><td>{$child.node_content}</td></tr> |
| 145 | </table> |
| 146 | </table> |
| 147 | {/foreach} |
| 148 | |
| 149 | <form method='post' action='/id/{$node.node_id}'> |
| 150 | <BR> |
| 151 | <textarea name='node_content'>{$post_vars.node_content}</textarea> |
| 152 | |
| 153 | <br> |
| 154 | {if $permissions.w eq true} |
| 155 | <input type='submit' name='event' value='delete'> |
| 156 | <input type='hidden' name='node_parent' value='{$node.node_id}'> |
| 157 | <input type='hidden' name='external_link' value='session://friend'> |
| 158 | <table><tr><td><input type='submit' name='event' value='add'> |
| 159 | <td> with name:</td> <td><input type='text' name='node_name'></td> |
| 160 | </table> |
| 161 | {/if} |
| 162 | |
| 163 | </form> |
| 164 | {/if} |
| 165 | <!--end of central column--> |
| 166 | |
| 167 | </td></tr></table> |
| 168 | {/if} |
| 169 | |
| 170 | {include file="modules/footer.tpl"} |
| 171 | <center>|| | ||| || | | |||| ||</center> |