Handle basic HTTP auth using PHP instead of using webserver configuration = better...
[mirrors/Kyberia-bloodline.git] / data / templates / own_templates / 1.tpl
CommitLineData
51ff3226 1{if $user_id eq true}
2 {if $header_id neq true}
3 <html>
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
6 <link rel='stylesheet' type='text/css' href='/data/css/main.css'>
7 <title>{* title *}{include file="791948.tpl"}</title>
8 </head>
9 <body>
10 {if $user_id eq true}
11 {if $header_id neq true}
12 {* toolbar *}{include file="1549959.tpl"}
13 {/if}
14 {/if}
15 {if $error eq true}
16 <center><span class='most_important'>{$error}</span></center>
17 {/if}
18 {if $new_mail eq true}
19 <center><a href='/id/24/' class='mail'>u have {$new_mail} new mail,last from {$new_mail_name}</a></center>
20 {/if}
21 {/if}
22<center>
23<table align='center' valign='top' class='bordered' width='865'>
24 <tr>
25 <td colspan='3' align='center' valign='top'></td>
26 </tr>
27
28 <tr>
29 <!-- left column -->
30 <td align='left' valign='top' width='230'>
31
32 <!-- blogs -->
33 <center><span class='important'>user blogs</span></center><Br>
34 {get_nodes_by_parent parent=21 listing_amount=23 offset=$offset}
35 {foreach from=$get_nodes_by_parent item=child}
36 <table width='230'>
37 <tr>
38 <td>
39 <img src='{get_image_link id=$child.node_creator}' align='left' hspace='5' vspace='5' border='0'>
40 <a href='/id/{$child.node_id}'>{$child.node_name|wordwrap:20:"<br>":true|stripslashes}</a><br>
41 {$child.node_content|strip_tags:false|stripslashes|truncate:66:"...":true|wordwrap:20:"<br>":true}<br>
42 by <a href='/id/{$child.node_creator}'>{$child.login}</a> {$child.node_views} views
43 </td>
44 </tr>
45 </table>
46 <br>
47 {/foreach}
48 <!-- end of blogs -->
49
50 <br>
51
52 <!-- data nodes -->
53 <center><span class='important'>latest data nodes</span></center><br><br>
54 {get_nodes_by_type type=12 listing_amount=23 offset=$offset}
55 {foreach from=$get_nodes_by_type item=child}
56 <div style='margin-bottom: 6px;'>
57 <a href='/id/{$child.node_id}'>{$child.node_name|wordwrap:40:"<br>":true}</a><br>
58 by <a href='/id/{$child.node_creator}'>{$child.login|wordwrap:40:"<br>":true}</a><br>
59 in <a href='/id/{$child.node_parent}'>{$child.parent_name|wordwrap:40:"<br>":true}</a><br>
60 </div>
61 {/foreach}
62 <!-- end of datanodes -->
63
64 {* node_settings *}{include file="1549925.tpl"}
65 </td>
66 <!-- end of left column -->
67
68 <!-- central column -->
69 <td valign='top' width='468'>
70 <!-- forums -->
71 <center><span align='center' class='important'>latest forums</span></center><br>
72 {get_linked_nodes node_id=1058182 listing_amount=23}
73 {foreach from=$get_linked_nodes item=child}
74 <a href='/id/{$child.node_id}'>{$child.node_name|strip_tags|stripslashes}</a>
75 by <a href='/id/{$child.node_creator}'>{$child.login}</a>
76 ({$child.node_children_count} children)</a><br>
77 {/foreach}
78 <!-- end of forums -->
79
80 <br><br>
81 <!-- reklama? -->
82<center>{* banner editovat na /id/1870248 *}{include file='1870248.tpl'}
83<br>Bolo mi ctou.</center>
84 <form method='post'>
85 <table align='center'><tr>
86 <td><input type='hidden' name='get_children_offset' value='{$offset}'></td>
87 <td><input type='submit' name='get_children_move' value='<'</td>
88 <td><input type='submit' name='get_children_move' value='>'</td>
89 </tr></table>
90 </form>
91
92 <!-- articles -->
93 {get_linked_nodes listing_amount=42}
94 <br><center><span class='important' align='center'>latest articles</span></center>
95 {foreach from=$get_linked_nodes item=child }
96 <table width='100%' class='bordered'><tr>
97 <td>
98 <img width=75 src='{get_image_link id=$child.node_id}' align='left' hspace='5' vspace='5' border='0'>
99 <a href='/id/{$child.node_id}'>{$child.node_name|stripslashes}</a><br>
100 {$child.node_content|strip_tags|truncate:320|stripslashes}<br><br>
101 <i>node created by <a href='/id/{$child.node_creator}'>{$child.login}</a></i>
102 </td>
103 </tr></table>
104 <br>
105 {/foreach}
106 <!-- end of articles -->
107 </td>
108 <!-- end of central column -->
109
110 <!-- right column -->
111 <td valign='top' width='165'>
112 <center><br><a href='/id/31' title='register'>register</a>
113 <br><a href='/id/17/' title='request password'>request password</a>
114 <br><br>
115 <form action='/id/25/' method='post'>
116 <input type='text' value='{$smarty.post.query}' name='query'>
117 <input type='submit' name='template_event' value='search'><br>
118 </form><br><br>
119 </center>
120
121 {* get_userlist *}{include file="1549848.tpl"}
122 </td>
123 </tr>
124</table>
125</center>
126{else}
127 <html>
128 <head>
129 <meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
130 <link rel='stylesheet' type='text/css' href='/data/css/main.css'>
131 <title>{* title *}{include file="791948.tpl"}</title>
132 </head>
133 <body>
134 <center>{* loginbox *}{include file="1549885.tpl"}<br>
135 <a href="/id/17/">request password</a><br><br>
136 <img src='/images/stuff/kyberia-stickerVI.jpg'>
137 </center>
138{/if}
139{* footer *}{include file="1549377.tpl"}
This page took 0.940644 seconds and 4 git commands to generate.