| 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 | {debug} |
| 11 | {if $error eq true} |
| 12 | <center><font style='error'>{$error}</font></center> |
| 13 | {/if} |
| 14 | |
| 15 | {if $user_id eq false} |
| 16 | <center>{include file="modules/loginbox.tpl"}</center> |
| 17 | |
| 18 | {else} |
| 19 | |
| 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='http://x86.sk/~marin/imgz/np.gif'> |
| 28 | </td></tr> |
| 29 | <tr><td>node:</td><td><a href='/id/{$node.node_id}'>{$node.node_name}</a></td></tr> |
| 30 | <tr><td>owner:</td><td><a href='/id/1538'>MARIN</a></td> |
| 31 | <tr><td>datetime:</td><td>niekedy zaciatkom leta</td></tr> |
| 32 | </table> |
| 33 | <br> |
| 34 | <center><a href='/id/{$node.node_id}/1961036'>neurons</a></center> |
| 35 | <br> |
| 36 | <center><a href='/id/{$node.node_id}/1961037'>statistics</a></center> |
| 37 | <center><a href='/id/{$node.node_id}/offtopic'>offtopic</a></center> |
| 38 | <center><a href='/id/{$node.node_id}/links'>links</a></center> |
| 39 | <center><a href='/id/15/000000000000{$node.node_id}'>k</a></center><br> |
| 40 | <span class='important'> total children::{$node.node_children_count} </span><br> |
| 41 | <span class='most_important'>666 K</span> |
| 42 | <center><a href='/id/{$node.node_id}/forum'>!!!show flat!!!</a></center> |
| 43 | <br> |
| 44 | {* showing poll *} |
| 45 | {*include file="modules/get_poll_box.tpl"*} |
| 46 | <br> |
| 47 | {*showing bookmark_statistics*} |
| 48 | {include file="modules/get_bookmark_statistics_box.tpl"} |
| 49 | |
| 50 | </td> |
| 51 | <!--end of left column--> |
| 52 | |
| 53 | <!--main central column--> |
| 54 | <td valign='top'> |
| 55 | <form method='post' action='/id/{$node.node_id}'> |
| 56 | <center>{include file="modules/movement.tpl"}</center> |
| 57 | </form> |
| 58 | |
| 59 | {if $action eq true} |
| 60 | |
| 61 | <center>{include file="modules/movement.tpl"}</center> |
| 62 | {include file="modules/get_creation_by_template_id.tpl" listing_amount=$listing_amount type=$action} |
| 63 | |
| 64 | |
| 65 | {else} |
| 66 | <table width='666' border=0><tr><td> |
| 67 | {$node.node_content|nl2br} |
| 68 | </td></tr></table><br><br> |
| 69 | {* shows what other friends think about users *} |
| 70 | {get_children_by_external_link external_link='session://friend' listing_amount=$listing_amount offset=$offset orderby=desc} |
| 71 | {foreach from=$get_children_by_external_link item=child} |
| 72 | <table> |
| 73 | <tr> |
| 74 | <td valign='top' rowspan='2'><img width='50' hspace='5' src='{get_image_link id=$child.node_creator}'> </td> |
| 75 | <td valign='top' width='100%'> |
| 76 | <table width='100%'><tr class='header' valign='top'> |
| 77 | |
| 78 | <td> |
| 79 | {if $child.template_id eq 6 } |
| 80 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> |
| 81 | {elseif $child.template_id eq 5 } |
| 82 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> |
| 83 | {else} |
| 84 | <a href='/id/{$child.node_creator}'>{$child.login}</a> |
| 85 | |
| 86 | {/if} |
| 87 | <br> {$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}</center> |
| 88 | <tr><td>{$child.node_content}</td></tr> |
| 89 | </table> |
| 90 | </table> |
| 91 | {/foreach} |
| 92 | |
| 93 | <form method='post' action='/id/{$node.node_id}'> |
| 94 | <BR> |
| 95 | <textarea name='node_content'>{$post_vars.node_content}</textarea> |
| 96 | |
| 97 | <br> |
| 98 | {if $permissions.w eq true}<br /> |
| 99 | <input type='hidden' name='node_parent' value='{$node.node_id}'> |
| 100 | <input type='hidden' name='external_link' value='session://friend'> |
| 101 | <table><tr><td><input type='submit' name='event' value='add'> |
| 102 | <td> with name:</td> <td><input type='text' name='node_name'></td> |
| 103 | </table> |
| 104 | {/if} |
| 105 | |
| 106 | </form> |
| 107 | {/if} |
| 108 | |
| 109 | <!--end of central column--> |
| 110 | |
| 111 | </td></tr></table> |
| 112 | {/if} |
| 113 | |
| 114 | {include file="modules/footer.tpl"} |
| 115 | {$node.external_link} |
| 116 | |
| 117 | |
| 118 | |
| 119 | |
| 120 | |
| 121 | |
| 122 | |