Kyberia v2.3 - 1st revision from SVN (Without patches of kyberia.sk team)
[mirrors/Kyberia-bloodline.git] / data / templates / own_templates / 7.tpl
1 {* header *}{include file="1549864.tpl"}
2
3 {if $error eq true}
4 <center><font style='error'>{$error}</font></center>
5 {/if}
6
7 {if $user_id eq false}
8 <center>{* loginbox *}{include file="1549885.tpl"}</center>
9
10 {else}
11
12 <table width='100%'><tr>
13
14 <!--left column-->
15 <td valign='top' align='center' width='23%'>
16 {* node_settings *}{include file="1549925.tpl"}
17
18 {* showing poll *}{*include file="1549834.tpl"*}
19 <br>
20 {*showing bookmark_statistics*}{include file="1549386.tpl"}
21 </td>
22 <!--end of left column-->
23
24 <!--main central column-->
25 <td valign='top'>
26
27 {include file="1549916.tpl"}
28 {* shows what other friends think about users *}
29 {get_children_by_external_link external_link='session://friend' listing_amount=$listing_amount offset=$offset orderby=desc}
30 {foreach from=$get_children_by_external_link item=child}
31 <table>
32 <tr>
33 <td valign='top' rowspan='2'><img width='50' hspace='5' src='{get_image_link id=$child.node_creator}'>&nbsp;</td>
34 <td valign='top' width='100%'>
35 <table width='100%'><tr class='header' valign='top'>
36 <td>
37 {if $child.template_id eq 6 }
38 <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b>
39 {elseif $child.template_id eq 5 }
40 <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b>
41 {else}
42 comment::<a href='/id/{$child.node_id}'>{$child.node_name}</a> by
43 &nbsp;<a href='/id/{$child.node_creator}'>{$child.login}</a>
44 {if $child.user_action neq false}
45 &nbsp;[<a href='/id/{$child.user_action_id}/'>{$child.user_action}</a>]
46 {/if}
47 {/if}
48 <br>&nbsp;&nbsp;{$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}</center>
49 <tr><td>{$child.node_content|nl2br|stripslashes}</td></tr>
50 </table>
51 </table>
52 {/foreach}
53
54 <form method='post' action='/id/{$node.node_id}'>
55 <BR>
56 <textarea name='node_content'>{$post_vars.node_content}</textarea>
57 <br>
58 {if $permissions.w eq true}
59 <!--
60 pridane input z template_id 8ckou.
61 vid /id/1860668
62 [pyxel]
63 -->
64 <input type='hidden' name='template_id' value='8'>
65 <input type='hidden' name='node_parent' value='{$node.node_id}'>
66 <input type='hidden' name='external_link' value='session://friend'>
67 <table><tr><td><input type='submit' name='event' value='add'>
68 <td> with name:</td> <td><input type='text' name='node_name'></td>
69 </table>
70 {/if}
71
72 </form>
73 <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>
74 <!--end of central column-->
75
76 </td></tr></table>
77 {/if}
This page took 0.294672 seconds and 4 git commands to generate.