| 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%' style='BORDER: solid 1px;BORDER-BOTTOM: 3px;BORDER-TOP: 3px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px;'><tr> |
| 21 | |
| 22 | <!--left column--> |
| 23 | <td valign='top' align='center' width='23%'> |
| 24 | <img width='50' hspace='5' src='{get_image_link id=$node.node_creator}'><br> |
| 25 | <font size=5>{$node.node_name}</font> |
| 26 | |
| 27 | |
| 28 | {include file="modules/userinfo.tpl"} |
| 29 | {* showing poll *} |
| 30 | {*include file="modules/get_poll_box.tpl"*} |
| 31 | <br> |
| 32 | {*showing bookmark_statistics*} |
| 33 | bookli ma |
| 34 | {include file="modules/get_bookmark_statistics_box.tpl"} |
| 35 | <br> |
| 36 | <input type="button" value="show node info" |
| 37 | onClick="document.getElementById('ns').style.visibility = |
| 38 | 'visible';"><br> |
| 39 | <div style="visibility:hidden" id="ns" name="ns"> |
| 40 | <table border=0 style="border-left: solid 1pt #6dae42; border-right: solid 2pt #6dae42; border-bottom: solid 2pt #6dae42; border-top: solid 1pt #6dae42;"><tr><td> |
| 41 | <center><input type="button" value="HIDE node info" |
| 42 | onClick="document.getElementById('ns').style.visibility = |
| 43 | 'hidden';"></center> |
| 44 | <br> |
| 45 | {include file="modules/node_settings.tpl"} |
| 46 | <br> |
| 47 | </td></tr></table> |
| 48 | </div> |
| 49 | </td> |
| 50 | <!--end of left column--> |
| 51 | |
| 52 | <!--main central column--> |
| 53 | <td valign='top'> |
| 54 | <center> |
| 55 | <a href="http://my.opera.com/pyxel/affiliate/" title="Download Opera" ><img src="http://promote.opera.com/small/opera88x31.gif" border=0 width="88" height="31" alt="Download Opera" /></a> |
| 56 | |
| 57 | <a href="http://www.xfce.org/" target=__><img src="http://hysteria.sk/pyxel/kyberia/buttons/xfce4.gif" border=0></a> |
| 58 | <a href="http://www.vim.org/" target=_vim><img src="http://www.vim.org/images/vim.vialle.love.anim.gif" border=0></a> |
| 59 | <a href="http://www.debian.org/" target=_new><img src="http://hysteria.sk/pyxel/kyberia/forums/debian/debianlogo.gif" border=0></a> |
| 60 | </center> |
| 61 | |
| 62 | <form method='post' action='/id/{$node.node_id}'> |
| 63 | |
| 64 | </form> |
| 65 | |
| 66 | {if $action eq true} |
| 67 | |
| 68 | <center>{include file="modules/movement.tpl"}</center> |
| 69 | {include file="modules/get_creation_by_template_id.tpl" listing_amount=$listing_amount type=$action} |
| 70 | |
| 71 | |
| 72 | {else} |
| 73 | {include file="modules/node_content.tpl"} |
| 74 | |
| 75 | {* shows what other friends think about users *} |
| 76 | {get_children_by_external_link external_link='session://friend' listing_amount=$listing_amount offset=$offset orderby=desc} |
| 77 | {foreach from=$get_children_by_external_link item=child} |
| 78 | <table> |
| 79 | <tr> |
| 80 | <td valign='top' rowspan='2'><img width='50' hspace='5' src='{get_image_link id=$child.node_creator}'> </td> |
| 81 | <td valign='top' width='100%'> |
| 82 | <table width='100%'><tr class='header' valign='top'> |
| 83 | <td> |
| 84 | {if $child.template_id eq 6 } |
| 85 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> |
| 86 | {elseif $child.template_id eq 5 } |
| 87 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> |
| 88 | {else} |
| 89 | <a href='/id/{$child.node_creator}'>{$child.login}</a> |
| 90 | {if $child.user_action neq false} |
| 91 | [<a href='/{$child.user_action}/'>{$child.user_action}</a>] |
| 92 | {/if} |
| 93 | {/if} |
| 94 | <br> {$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}</center> |
| 95 | <tr><td>{$child.node_content}</td></tr> |
| 96 | </table> |
| 97 | </table> |
| 98 | {/foreach} |
| 99 | |
| 100 | <form method='post' action='/id/{$node.node_id}'> |
| 101 | <BR> |
| 102 | <textarea name='node_content' style='background-image: background-image: url(http://kyberia.sk/images/nodes/1/7/1749237.gif); background-position: top right; background-repeat: no-repeat;'>{$post_vars.node_content}</textarea> |
| 103 | <center>{include file="modules/movement.tpl"}</center> |
| 104 | <br> |
| 105 | {if $permissions.w eq true} |
| 106 | <input type='hidden' name='template_id' value='8'> |
| 107 | <input type='hidden' name='node_parent' value='{$node.node_id}'> |
| 108 | <input type='hidden' name='external_link' value='session://friend'> |
| 109 | <table><tr><td><input type='submit' name='event' value='add'> |
| 110 | <td> ako </td> <td><input type='text' name='node_name'></td> |
| 111 | </table> |
| 112 | {/if} |
| 113 | |
| 114 | </form> |
| 115 | {/if} |
| 116 | <!--end of central column--> |
| 117 | |
| 118 | </td></tr></table> |
| 119 | {/if} |