Kyberia v2.3 - 1st revision from SVN (Without patches of kyberia.sk team)
[mirrors/Kyberia-bloodline.git] / data / templates / own_templates / 1462783.tpl
1 <!-- PHP code and design stolen from "frr", "MARIN" and "hromi" || regards & thanks -->
2
3 {include file="1549864.tpl"}
4 {if $error eq true}
5
6 <center><font style='error'>{$error}</font></center>
7 {/if}
8
9 {if $user_id eq false}
10 <center>{include file="1549885.tpl"}</center>
11
12 {else}
13
14 <table width='100%'><tr valign='top'><td width='30%'>
15
16 {get_userlist}
17
18 <!--left column-->
19 <!-- taken from '/id/1416619'
20 >><span class='important'> friendz</span>
21 <table width='100' style="border-bottom:1px solid #6dae42;"><tr><td>
22 {foreach name=friends from=$active_friends item=active_friend}
23 <div style=" clear:left; margin-bottom:15px">
24 <a href='/id/{$active_friend.user_id}/' style="float:left;">
25 <img width='23' height='23' alt='{$node_visitor.login}' src='{get_image_link id=$active_friend.user_id}' border='0'></a></font>
26 {$active_friend.login}
27 [<a href='/id/{$active_friend.user_action_id}'>{$active_friend.user_action}</a></b></font>] {$active_friend.idle_time_minutes}m {$active_friend.idle_time_seconds}s
28 </div>
29 {/foreach}
30 </td></tr></table><br> -->
31
32 ::<span class='important'> friendz</span>
33 <table width='75%' ><tr><td>
34 {foreach name=friends from=$active_friends item=active_friend}
35 {if $smarty.foreach.friends.iteration is div by 3}</tr><tr>{/if}
36 <td width='100%'>
37 <table><tr><td width='42' align='center'><a href='/id/{$active_friend.user_id}/'>
38 <img border='0' name='{$active_friend.login}' width='40' height='40' alt='{$node_visitor.login}' src='{get_image_link id=$active_friend.user_id}'></a></td></tr>
39
40 </table>
41 </td>
42 {/foreach}
43 </td></tr>
44
45 </table>
46
47
48
49
50 <br>
51
52
53 ::<span align='center' class='important'> latest forums</span></center><br>
54 {get_nodes_by_type type=3 listing_amount=10 offset=$offset}
55 {foreach from=$get_nodes_by_type item=child}
56 <div style=" clear:left; margin-bottom:4px">
57 <a href='/id/{$child.node_id}'>{$child.node_name}</a><br>
58 by <a href='/id/{$child.node_creator}'>{$child.login}</a>
59 ({$child.node_children_count} children)</a><br>
60 </div>
61 {/foreach}
62
63
64 <br><br>
65
66 ::<span class='important'> latest blogs</span><br>
67 {get_nodes_by_parent parent=21 listing_amount=15 offset=$offset}
68 {foreach from=$get_nodes_by_parent item=child}
69 <table width='100%'>
70 <tr><td>
71 <a href='/id/{$child.node_id}'>{$child.node_name|wordwrap:20:"<br>":true}</a><br>
72 by <a href='/id/{$child.node_creator}'>{$child.login}</a> ({$child.node_views} views)</td></tr>
73 </table>
74 {/foreach}
75
76 <br><br>
77
78 ::<span class='important'> latest data nodes</span></center><br>
79 {get_nodes_by_type type=12 listing_amount=20 offset=$offset}
80 {foreach from=$get_nodes_by_type item=child}
81 <div style=" clear:left; margin-bottom:4px">
82 <a href='/id/{$child.node_id}'>{$child.node_name|wordwrap:40:"<br>":true}</a>
83 by <a href='/id/{$child.node_creator}'>{$child.login|wordwrap:40:"<br>":true}</a><br>
84 in <a href='/id/{$child.node_parent}'>{$child.parent_name|wordwrap:40:"<br>":true}</a>
85 <br>
86 </div>
87 {/foreach}
88
89 <br><br>
90
91 ::<span class='important'> latest nodeshells</span></center><br>
92 {get_nodes_by_type type=2 listing_amount=20 offset=$offset}
93 {foreach from=$get_nodes_by_type item=child}
94 <div style=" clear:left; margin-bottom:4px">
95 <a href='/id/{$child.node_id}'>{$child.node_name|wordwrap:40:"<br>":true}</a>
96 by <a href='/id/{$child.node_creator}'>{$child.login|wordwrap:40:"<br>":true}</a><br>
97 in <a href='/id/{$child.node_parent}'>{$child.parent_name|wordwrap:40:"<br>":true}</a>
98 <br>
99 </div>
100 {/foreach}
101
102
103 </td>
104 <!--end of left column-->
105
106 <!--main central colmn-->
107 <td valign='top'>
108
109 <!--
110 <form method='post'>
111 <table align='center'><tr>
112 <td><input type='hidden' name='get_children_offset' value='{$offset}'></td>
113 <td><input type='submit' name='get_children_move' value='<'></td>
114 <td><input type='submit' name='get_children_move' value='<<'></td>
115 <td><input name='get_children_move' type='submit' value='>>'></td>
116 <td><input type='submit' name='get_children_move' value='>'></td>
117 </tr></table>
118 </form>
119 -->
120
121
122 ::<span class='important'> last sumbissions</span><br>
123 {get_last vector=0 listing_amount=$listing_amount offset=$offset}
124 {else}{get_last listing_amount=$listing_amount offset=$offset}
125 {/if}
126 {foreach from=$get_last item=child}
127 <table>
128 <tr>
129 <td width='100' valign='top' rowspan='2'><a href='/id/{$child.node_creator}'><img border=0 hspace='5' src='{get_image_link id=$child.node_creator}'></a>&nbsp;</td>
130 <td style='width: 100%' valign='top'>
131
132 <table width=100%><tr class='header' width=100%>
133 <td>
134 parent: <a href='/id/{$child.node_parent}'>{$child.parent_name}</a><br>
135 author: <a href='/{$child.login}'>{$child.login}</a>
136 {if $child.user_action neq false}
137 &nbsp;[lokacia :: <a href='/id/{$child.user_action_id}/'>{$child.user_action}</a>]
138 {/if}
139 &nbsp;&nbsp;{$child.node_created|date_format:"%H:%M:%S - %d.%m.%Y"}&nbsp;
140
141 <tr><td>{$child.node_content|stripslashes|nl2br|imagestrip}</td></tr>
142 </table>
143 </table>
144 {/foreach}
145
146
147
148
149 <!--end of central column-->
150
151 </td></tr></table>
152
153 {/if}
154
155
156 {include file='1549377.tpl'}
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
This page took 0.356026 seconds and 4 git commands to generate.