| 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 | |
| 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 | <table width='100%'><tr> |
| 21 | |
| 22 | <!--left column--> |
| 23 | <td valign='top' align='center' width='23%'> |
| 24 | {include file="modules/node_settings.tpl"} |
| 25 | {include file="modules/userinfo.tpl"} |
| 26 | |
| 27 | </td> |
| 28 | <!--end of left column--> |
| 29 | |
| 30 | <td valign='top'> |
| 31 | {get_neurons user_id=$node.node_id} |
| 32 | <table class='bordered'> |
| 33 | {foreach from=$get_dendrites item=synapse} |
| 34 | <tr><td> |
| 35 | <a href='/id/{$synapse.node_id}'>{$synapse.node_name}</a> |
| 36 | </td></tr> |
| 37 | {/foreach} |
| 38 | </table> |
| 39 | </td> |
| 40 | <td valign='top'> |
| 41 | <table class='bordered'> |
| 42 | {foreach from=$get_axons item=synapse} |
| 43 | <tr><td> |
| 44 | <a href='/id/{$synapse.node_id}'>{$synapse.node_name}</a> |
| 45 | </td></tr> |
| 46 | {/foreach} |
| 47 | </table> |
| 48 | |
| 49 | </td> |
| 50 | |
| 51 | <!--end of central column--> |
| 52 | |
| 53 | </td></tr></table> |
| 54 | {/if} |
| 55 | |
| 56 | {include file="modules/footer.tpl"} |