| 1 | {* header *}{include file="1549864.tpl"} |
| 2 | <!--<link rel='stylesheet' type='text/css' href='/data/templates/own_templates/645341.tpl' media='screen'>--> |
| 3 | <link rel='stylesheet' type='text/css' href='/data/templates/own_templates/2284394.tpl' media='screen'> |
| 4 | <script type='text/javascript' src='/data/templates/own_templates/2257341.tpl'></script> |
| 5 | |
| 6 | {if $error eq true} |
| 7 | <center><font style='error'>{$error}</font></center> |
| 8 | {/if} |
| 9 | |
| 10 | {if $user_id eq false} |
| 11 | <center>{* loginbox *}{include file="1549885.tpl"}</center> |
| 12 | |
| 13 | {/if} |
| 14 | |
| 15 | <div style='margin: 0 auto 0 auto; width: 666px;'> |
| 16 | |
| 17 | <div class='bordered' id='topic'> |
| 18 | {$node.node_content|nl2br} |
| 19 | </div> |
| 20 | <br /><br /> |
| 21 | |
| 22 | {* shows what other friends think about users *} |
| 23 | {get_children_by_external_link external_link='session://friend' listing_amount='2323' offset=$offset orderby='desc' orderby_type='nodes.node_id'} |
| 24 | |
| 25 | {section name=friend loop=$get_children_by_external_link} |
| 26 | <div id='fr_node_{$smarty.section.friend.index}' class='fr_node_off' onclick='return showcontent({$smarty.section.friend.index})'> |
| 27 | <img id='fr_img_{$smarty.section.friend.index}' class='fr_img' src='{get_image_link id=$get_children_by_external_link[friend].node_creator}' onclick='return showcontent({$smarty.section.friend.index})'> |
| 28 | <div id='fr_nodecn_{$smarty.section.friend.index}' class='fr_nodecn_off'> |
| 29 | <div id='fr_title_{$smarty.section.friend.index}' class='fr_title_off'> |
| 30 | comment::<a href='/id/{$get_children_by_external_link[friend].node_id}'>{$get_children_by_external_link[friend].node_name}</a> by |
| 31 | <a href='/id/{$get_children_by_external_link[friend].node_creator}'>{$get_children_by_external_link[friend].login}</a> |
| 32 | {if $get_children_by_external_link[friend].user_action neq false} |
| 33 | [<a href='/id/{$get_children_by_external_link[friend].user_action_id}/'>{$get_children_by_external_link[friend].user_action}</a>] |
| 34 | {/if} |
| 35 | <br /> |
| 36 | {$get_children_by_external_link[friend].node_created|date_format:"%d.%m.%Y. - %H:%M:%S"} |
| 37 | </div> |
| 38 | <div id='fr_cn_{$smarty.section.friend.index}' class='fr_cn_off'> |
| 39 | {$get_children_by_external_link[friend].node_content|nl2br} |
| 40 | </div> |
| 41 | </div> |
| 42 | </div> |
| 43 | {/section} |
| 44 | </div> |
| 45 | |
| 46 | <div style='margin: 0 auto 0 auto; width: 666px;'> |
| 47 | <form method='post' action='/id/{$node.node_id}'> |
| 48 | <br /> |
| 49 | <textarea name='node_content'>{$post_vars.node_content}</textarea> |
| 50 | <br /> |
| 51 | {if $permissions.w eq true} |
| 52 | <!-- |
| 53 | pridane input z template_id 8ckou. |
| 54 | vid /id/1860668 |
| 55 | [pyxel] |
| 56 | --> |
| 57 | |
| 58 | <input type='hidden' name='template_id' value='8'> |
| 59 | <input type='hidden' name='node_parent' value='{$node.node_id}'> |
| 60 | <input type='hidden' name='external_link' value='session://friend'> |
| 61 | <table><tr><td><input type='submit' name='event' value='add'> |
| 62 | <td> with name:</td> <td><input type='text' name='node_name'></td> |
| 63 | </table> |
| 64 | {/if} |
| 65 | |
| 66 | </form> |
| 67 | <form method='post'> <table align='center'><tr> <td><input type='hidden' name='get_children_offset' value='{$offset}'></td> <td><input type='submit' name='get_children_move' value='<'></td> <td><input type='submit' name='get_children_move' value='<<'></td> <td><input name='get_children_move' type='submit' value='>>'></td> <td><input type='submit' name='get_children_move' value='>'></td> </tr></table> </form> |
| 68 | |
| 69 | <!--end of central column--> |
| 70 | |
| 71 | </div> |
| 72 | <br style='clear: both;' /> |