Kyberia v2.0
[mirrors/Kyberia-bloodline.git] / templates / kyberia / main.tpl
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 <html>
10 <head>
11 <meta http-equiv="Cache-Control" content="Public">
12 <meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
13 <link rel='stylesheet' type='text/css' href='/data/css/main.css'>
14 <title>zelame tlupe domestikovanych primatov uspech v buchani drevenymi palickami do cierneho kotucika</title>
15
16 {if $node.node_name eq 'mail'}
17 <script>
18 function vymena() {ldelim}
19 document.formular.mail_to.value = document.formular.mail_to.value.toLowerCase() ;
20 document.images['fricon'].src = '/images/users/'+document.formular.mail_to.value+'.gif';
21 {rdelim}
22
23 function chngto(name,id) {ldelim}
24 document.formular.mail_to.value = name ;
25 name = name.toLowerCase() ;
26 document.images['fricon'].src = '/images/nodes/' +id.substr(0,1)+'/'+id.substr(1,1)+'/'+id+'.gif';
27 {rdelim}
28 </script>
29 {/if}
30
31 </head>
32
33 <body>
34 <form enctype="multipart/form-data" action='/id/{$node.node_id}/{if $action neq false}{$action}{/if}' method='post' name='formular'>
35 {if $user_id eq true}{include file="modules/toolbar.tpl"}{/if}
36 {if $error eq true}<center><span class='most_important'>{$error}</span></center>{/if}
37 {if $new_mail eq true}<center><a href='/id/24/' class='mail'>u have {$new_mail} new mail,last from {$new_mail_name}</a></center>{/if}
38 <!--<span class='most_important'>dnes v noci od 23:23 bude niekolko hodin kyberia vypnuta, vdaka za pochopenie</span>-->
39
40 <div id='banner'>
41
42 </div>
43 <center><img src='http://kyberia.sk/upload/top.gif' border='0'></center>
44
45 <table width='780' align='center' valign='top' class='bordered2'>
46 <tr>
47 <td align='center' valign='top' style='width: 230px'>
48 {get_nodes_by_type type=6 listing_amount=23 offset=$offset}
49 <center><span class='important'>user blogs</span></center><Br>
50 {foreach from=$get_nodes_by_type item=child}
51 <table width='100%'>
52 <tr><td><img src='{get_image_link id=$child.node_creator}' align='left' hspace='5' vspace='5' border='0'>
53 <a href='/id/{$child.node_id}'>{$child.node_name|wordwrap:20:"\n":true}</a><br>{$child.node_content|truncate:230|imagestrip|stripslashes|wordwrap:15:"\n":true|imagestrip}
54 <br><center>by <a href='/id/{$child.node_creator}'>{$child.login}</a> {$child.node_views} views</center></td></tr>
55 </table><br>
56 {/foreach}
57 <a href='/blogs/'>more blogs??</a>
58 </td>
59 <td valign='top'>
60 <center>{include file="modules/loginbox.tpl"}</center>
61 <br><br>
62 <Center><span align='center' class='important'>latest forums</span></center><br>
63 {get_nodes_by_type type=3 listing_amount=10 offset=$offset}
64 {foreach from=$get_nodes_by_type item=child}
65 <a href='/id/{$child.node_id}'>{$child.node_name}</a>
66 by <a href='/id/{$child.node_creator}'>{$child.login}</a>
67 ({$child.node_children_count} children)</a><br>
68 {/foreach}
69
70 <br><br>
71 <Center><span align='center' class='important'>latest data nodes</span></center><br>
72 {get_nodes_by_type vector=;1;101 type=12 listing_amount=9 offset=$offset}
73 {foreach from=$get_nodes_by_type item=child}
74 <a href='/id/{$child.node_id}'>{$child.node_name}</a>
75 by <a href='/id/{$child.node_creator}'>{$child.login}</a>
76 in <a href='/id/{$child.node_parent}'>{$child.parent_name}</a><br>
77 {/foreach}
78 <br>
79 {get_nodes_by_type orderby="nodes.node_created desc" vector=;1;101 type=5 listing_amount=27 offset=$offset}
80 <br><center><span class='important' align='center'>latest articles</span></center>
81 {foreach from=$get_nodes_by_type item=child }
82 <table width='100%' class='bordered'>
83 <tr><td><img src='{get_image_link id=$child.node_id}' align='left' hspace='5' vspace='5' border='0'>
84 <a href='/id/{$child.node_id}'>{$child.node_name}</a><br>
85 {$child.node_content|truncate:230|stripslashes}
86 <br><br><i>added by <a href='/id/{$child.node_creator}'>{$child.login}</a>
87 into nodeshell <a href='/id/{$child.node_parent}'> {$child.parent_name}</a></i>
88 </td></tr>
89 </table><br>
90 {/foreach}
91
92 </td>
93 <td valign='top' style='width: 105px'>
94 <center><br><a href='/id/31'>register</a></center>
95 <br><br>
96 {include file="modules/get_userlist.tpl"}
97 </td>
98
99 </tr>
100 </table>
101 {include file="modules/footer.tpl"}
This page took 0.405367 seconds and 4 git commands to generate.