| 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="1549864.tpl"} |
| 10 | <link rel='stylesheet' type='text/css' href='http://x86.sk/~marin/css/mrn-k.css'> |
| 11 | {if $error eq true} |
| 12 | <center><span class='error'>{$error}</span></center> |
| 13 | {/if} |
| 14 | |
| 15 | {if $user_id eq false} |
| 16 | |
| 17 | <center>{include file="1549885.tpl"}</center> |
| 18 | |
| 19 | {else} |
| 20 | |
| 21 | <table width='100%'><tr> |
| 22 | |
| 23 | <!--left column--> |
| 24 | <td valign='top' align='center' width='23%'> |
| 25 | <table> |
| 26 | <tr><td colspan='2' align='center'> |
| 27 | <img src='{get_image_link id=$node.node_id}'> |
| 28 | </td></tr> |
| 29 | <tr><td>node:</td><td><a href='/id/{$node.node_id}'>{$node.node_name}</a></td></tr> |
| 30 | <!--<tr><td>template:</td><td><a href='/id/{$node.template_id}'>{$node.template_id}</a></td></tr>--> |
| 31 | <tr><td>parent:</td><td>mamina&ocino zaco im 'dakujem'</td> |
| 32 | <tr><td>owner:</td><td><a href='/id/{$node.node_creator}'>{$node.owner}</a></td> |
| 33 | <tr><td>datetime:</td><td>23.06.1983</td></tr> |
| 34 | </table> |
| 35 | <br> |
| 36 | <table class='bordered'> |
| 37 | <tr><td colspan='2' align='center' class='important'>permissions</td></tr> |
| 38 | <tr><td>you:</td><td align='center'> |
| 39 | {if $permissions.r}r,{/if} |
| 40 | {if $permissions.w}w,{/if} |
| 41 | {$node.node_permission} |
| 42 | </a></td> |
| 43 | <tr><td>system:</td><td align='center'>{$node.node_system_access}</a></td> |
| 44 | <tr><td>net:</td><td align='center'>{$node.node_external_access}</a></td> |
| 45 | </table> |
| 46 | <br> |
| 47 | <center><a href='/id/{$node.node_id}/neurons'>neurons</a></center> |
| 48 | <br> |
| 49 | <center><a href='/id/{$node.node_id}/1961037'>statistics</a><a href='/id/{$node.node_id}/748131'>/sort</a></center> |
| 50 | <center><a href='/id/{$node.node_id}/offtopic'>offtopic</a></center> |
| 51 | <center><a href='/id/{$node.node_id}/links'>links</a></center> |
| 52 | <center><a href='/id/{$node.node_id}/print'>print</a></center> |
| 53 | <center><a href='/id/15/{$node.node_vector}'>k</a></center> |
| 54 | <table> |
| 55 | <tr> |
| 56 | <td colspan='2' align='center'> |
| 57 | <br><span class='important'>node viewed {$node.node_views} times</span> |
| 58 | <br><span class='important'>total descendants::{$node.node_descendant_count}</span> |
| 59 | <br><span class='important'>total children::{$node.node_children_count}</span> |
| 60 | {if $node.node_user_subchild_count neq false} |
| 61 | <br><span class='most_important'>{$node.node_user_subchild_count} NEW</span> |
| 62 | {/if} |
| 63 | {if $node.k neq false} |
| 64 | <br><span class='most_important'>{$node.k} K</span><br><br> |
| 65 | {/if} |
| 66 | {$node.external_link} |
| 67 | {if $offset neq false} |
| 68 | <br><span class='important'>using offset:: {$offset} </span> |
| 69 | {/if} |
| 70 | </td> |
| 71 | <form action='/id/{$node.node_id}/' method='post'> |
| 72 | <tr><td colspan='2' align='center'> |
| 73 | {if $node.node_bookmark neq 'yes'} |
| 74 | <input type='submit' name='event' value='book'> |
| 75 | {else} |
| 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 | {if $node.node_creator eq $user_id or $node.node_permission eq 'master' or $node.node_permission eq 'op'}<center><a href='/id/{$node.node_id}/1961033'>configure</a></center>{/if} |
| 84 | <br> |
| 85 | <center><a href='/id/{$node.node_id}/3'>!!!show flat!!!</a></center> |
| 86 | <br> |
| 87 | |
| 88 | <a href='/id/{$node.node_id}/1757900'>nodeshells</a><br /> |
| 89 | <a href='/id/{$node.node_id}/1761254'>forums</a><br /> |
| 90 | <a href='/id/{$node.node_id}/1573668'>submissions</a><br /> |
| 91 | <a href='/id/{$node.node_id}/1773535'>articles</a><br /> |
| 92 | <a href='/id/{$node.node_id}/1757556'>blogs</a><br /> |
| 93 | <a href='/id/{$node.node_id}/1757626'>datas</a><br /> |
| 94 | |
| 95 | {* showing poll *} |
| 96 | {*include file="modules/get_poll_box.tpl"*} |
| 97 | |
| 98 | <br> |
| 99 | {*showing bookmark_statistics*} |
| 100 | {include file="1549386.tpl"} |
| 101 | </td> |
| 102 | <!--end of left column--> |
| 103 | |
| 104 | <!--main central column <center>{include file="modules/movement.tpl"}</center><br /> |
| 105 | {include file="modules/get_creation_by_template_id.tpl" listing_amount=$listing_amount type=$action} --> |
| 106 | <td valign='top'> |
| 107 | |
| 108 | {if $action eq true} |
| 109 | |
| 110 | |
| 111 | {include file="modules/get_creation_by_template_id.tpl" listing_amount=101 type=$action} |
| 112 | |
| 113 | {else} |
| 114 | <table width='666' border=0><tr><td> |
| 115 | {$node.node_content|nl2br} |
| 116 | </td></tr></table><br><br> |
| 117 | {* shows what other friends think about users *} |
| 118 | {get_children_by_external_link external_link='session://friend' listing_amount=1666 offset=$offset orderby=desc} |
| 119 | {foreach from=$get_children_by_external_link item=child} |
| 120 | |
| 121 | <table> |
| 122 | <tr> |
| 123 | <td valign='top' rowspan='2'><img width='50' hspace='5' src='{get_image_link id=$child.node_creator}'> </td> |
| 124 | <td valign='top' width='100%'> |
| 125 | <div class='com'><div class='header'> |
| 126 | {if $child.template_id eq 6 } |
| 127 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> |
| 128 | {elseif $child.template_id eq 5 } |
| 129 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> |
| 130 | {else} |
| 131 | <a href='/id/{$child.node_creator}'>{$child.login}</a> |
| 132 | |
| 133 | {/if} |
| 134 | <br> {$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}</center></div> |
| 135 | {$child.node_content}</div></td></tr> |
| 136 | </table> |
| 137 | {/foreach} |
| 138 | |
| 139 | |
| 140 | <form method='post' action='/id/{$node.node_id}'> |
| 141 | <BR> |
| 142 | <textarea name='node_content'>{$post_vars.node_content}</textarea> |
| 143 | <br> |
| 144 | {if $permissions.w eq true} |
| 145 | <input type='hidden' name='node_parent' value='{$node.node_id}'> |
| 146 | <input type='hidden' name='external_link' value='session://friend'> |
| 147 | <table><tr><td><input type='submit' name='event' value='add'> |
| 148 | <td> with name:</td> <td><input type='text' name='node_name'></td> |
| 149 | </table> |
| 150 | {/if} |
| 151 | |
| 152 | |
| 153 | </form> |
| 154 | {/if} |
| 155 | <!--end of central column--> |
| 156 | |
| 157 | {/if} |
| 158 | |
| 159 | {include file="modules/footer.tpl"} |
| 160 | <center>|chjaj|</center> |
| 161 | |
| 162 | |
| 163 | |
| 164 | |
| 165 | |
| 166 | |
| 167 | |
| 168 | |
| 169 | |
| 170 | |
| 171 | |
| 172 | |
| 173 | |
| 174 | |
| 175 | |
| 176 | |
| 177 | |
| 178 | |
| 179 | |
| 180 | |
| 181 | |
| 182 | |
| 183 | |
| 184 | |
| 185 | |
| 186 | |
| 187 | |
| 188 | |
| 189 | |
| 190 | |