Commit | Line | Data |
---|---|---|
e586807d H |
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 | <table> | |
25 | <tbody><tr><td colspan='2' align='center'> | |
26 | <a href='http://elvraba.edu.sk/~ond/'><img src='http://img279.imageshack.us/img279/682/ja1004qz.jpg' style='border-width: 1px'></a> | |
27 | </td></tr> | |
28 | <tr><td>node:</td><td><a href='/id/{$node.node_id}'>{$node.node_name}</a></td></tr> | |
29 | <tr><td>datetime:</td><td>8.8.1987</a></td></tr> | |
30 | </tbody></table> | |
31 | <br> | |
32 | </td> | |
33 | <!--end of left column--> | |
34 | ||
35 | <!--main central column--> | |
36 | <td valign='top' width='50%'> | |
37 | <!--<form method='post' action='/id/{$node.node_id}'> | |
38 | <center>{include file="modules/movement.tpl"}</center> | |
39 | </form>--> | |
40 | ||
41 | {if $action eq true} | |
42 | {include file="modules/get_creation_by_template_id.tpl" listing_amount=300 type=$action} | |
43 | ||
44 | {else} | |
45 | <!--{include file="modules/node_content.tpl"}--> | |
46 | {* shows what other friends think about users *} | |
47 | {get_children_by_external_link external_link='session://friend' listing_amount=$listing_amount offset=$offset orderby=desc } | |
48 | {foreach from=$get_children_by_external_link item=child} | |
49 | <table width='666'> | |
50 | <tr><td> | |
51 | <td valign='top' rowspan='2'><img width='50' hspace='5' src='{get_image_link id=$child.node_creator}'> </td> | |
52 | <td valign='top' width='100%'> | |
53 | <table width='100%'><tr class='header' valign='top'> | |
54 | <td> | |
55 | {if $child.template_id eq 6 } | |
56 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> | |
57 | {elseif $child.template_id eq 5 } | |
58 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> | |
59 | {else} | |
60 | <a href='/id/{$child.node_creator}'>{$child.login}</a> | |
61 | {if $child.user_action neq false} | |
62 | [lokacia :: <a href='/{$child.user_action}/'>{$child.user_action}</a>] | |
63 | {/if} | |
64 | {/if} | |
65 | <br> {$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}</center> | |
66 | <tr><td>{$child.node_content}</td></tr> | |
67 | </table> | |
68 | </table> | |
69 | {/foreach} | |
70 | ||
71 | <form method='post' action='/id/{$node.node_id}'> | |
72 | <BR> | |
73 | <textarea name='node_content'>{$post_vars.node_content}</textarea> | |
74 | <br> | |
75 | {if $permissions.w eq true} | |
76 | <input type='hidden' name='node_parent' value='{$node.node_id}'> | |
77 | <input type='hidden' name='external_link' value='session://friend'> | |
78 | <table><tr><td><input type='submit' name='event' value='add'> | |
79 | <td> with name:</td> <td><input type='text' name='node_name'></td> | |
80 | </table> | |
81 | {/if} | |
82 | ||
83 | </form> | |
84 | {/if} | |
85 | <!--end of central column--> | |
86 | ||
87 | </td></tr></table> | |
88 | {/if} | |
89 | ||
90 | {include file="modules/footer.tpl"} | |
91 | ||
92 | ||
93 | ||
94 |