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