| 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 | |
| 10 | {include file="modules/header.tpl"} |
| 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"}</center> |
| 18 | |
| 19 | {else} |
| 20 | |
| 21 | |
| 22 | <table width='100%'><tr> |
| 23 | |
| 24 | <!--left column--> |
| 25 | <td valign='top' align='center' width='23%'> |
| 26 | {include file="modules/node_settings.tpl"} |
| 27 | {include file="modules/userinfo.tpl"} |
| 28 | {* showing poll *} |
| 29 | {*include file="modules/get_poll_box.tpl"*} |
| 30 | <br> |
| 31 | {*showing bookmark_statistics*} |
| 32 | {include file="modules/get_bookmark_statistics_box.tpl"} |
| 33 | |
| 34 | </td> |
| 35 | <!--end of left column--> |
| 36 | |
| 37 | <!--main central column--> |
| 38 | <td valign='top'> |
| 39 | <form method='post' action='/id/{$node.node_id}'> |
| 40 | <center>{include file="modules/movement.tpl"}</center> |
| 41 | </form> |
| 42 | |
| 43 | {if $action eq true} |
| 44 | |
| 45 | <center>{include file="modules/movement.tpl"}</center> |
| 46 | {include file="modules/get_creation_by_template_id.tpl" listing_amount=$listing_amount type=$action} |
| 47 | |
| 48 | |
| 49 | |
| 50 | {else} |
| 51 | {include file="modules/node_content.tpl"} |
| 52 | {* shows what other friends think about users *} |
| 53 | {get_children_by_external_link external_link='session://friend' listing_amount=$listing_amount offset=$offset orderby=desc} |
| 54 | {foreach from=$get_children_by_external_link item=child} |
| 55 | <table> |
| 56 | <tr> |
| 57 | <td valign='top' rowspan='2'><img width='50' hspace='5' src='{get_image_link id=$child.node_creator}'> </td> |
| 58 | <td valign='top' width='100%'> |
| 59 | <table width='100%'><tr class='header' valign='top'> |
| 60 | |
| 61 | <td> |
| 62 | {if $child.template_id eq 6 } |
| 63 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> |
| 64 | {elseif $child.template_id eq 5 } |
| 65 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> |
| 66 | {else} |
| 67 | <a href='/id/{$child.node_creator}'>{$child.login}</a> |
| 68 | {if $child.user_action neq false} |
| 69 | [lokacia :: <a href='/{$child.user_action}/'>{$child.user_action}</a>] |
| 70 | |
| 71 | {/if} |
| 72 | {/if} |
| 73 | <br> {$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}</center> |
| 74 | <tr><td>{$child.node_content}</td></tr> |
| 75 | </table> |
| 76 | </table> |
| 77 | {/foreach} |
| 78 | |
| 79 | <form method='post' action='/id/{$node.node_id}'> |
| 80 | <BR> |
| 81 | <textarea name='node_content'>{$post_vars.node_content}</textarea> |
| 82 | |
| 83 | <br> |
| 84 | {if $permissions.w eq true} |
| 85 | <input type='hidden' name='node_parent' value='{$node.node_id}'> |
| 86 | <input type='hidden' name='external_link' value='session://friend'> |
| 87 | <table><tr><td><input type='submit' name='event' value='add'> |
| 88 | <td> with name:</td> <td><input type='text' name='node_name'></td> |
| 89 | </table> |
| 90 | {/if} |
| 91 | |
| 92 | </form> |
| 93 | {/if} |
| 94 | |
| 95 | <!--end of central column--> |
| 96 | |
| 97 | </td></tr></table> |
| 98 | {/if} |
| 99 | |
| 100 | {include file="modules/footer.tpl"} |
| 101 | |
| 102 | |
| 103 | |
| 104 | |
| 105 | |
| 106 | |
| 107 | |
| 108 | |
| 109 | </td></tr></table><br><br> |
| 110 | |