Handle basic HTTP auth using PHP instead of using webserver configuration = better...
[mirrors/Kyberia-bloodline.git] / data / templates / own_templates / 1961033.tpl
1 {if $header_id neq true}
2 <html>
3 <head>
4
5 <meta http-equiv="Default-Style" content="kyberia">
6 <meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
7 <link rel='stylesheet' title="kyberia" type='text/css' href='/data/templates/own_templates/2019722.tpl'>
8 <title>{* title.tpl *}{include file="791948.tpl"}</title>
9
10 <script language="JavaScript" type="text/javascript">
11 <!--
12 {literal}
13 function vymena()
14 {
15 document.formular.mail_to.value = document.formular.mail_to.value.toLowerCase() ;
16 var browser = navigator.appName;
17 if(browser == "Microsoft Internet Explorer")
18 {
19 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
20 }
21 else
22 {
23 xmlhttp = new XMLHttpRequest();
24 }
25 get_id_url = 'http://kyberia.sk/ajax/get_username_by_id.php?name=';
26 get_id_url += document.formular.mail_to.value;
27 xmlhttp.open("GET", get_id_url);
28 xmlhttp.onreadystatechange = function()
29 {
30 if (xmlhttp.readyState == 4 && xmlhttp.status == 200)
31 {
32 id = xmlhttp.responseText;
33 document.images['fricon'].src = '/images/nodes/'+id.substr(0,1)+'/'+id.substr(1,1)+'/'+id+'.gif';
34 }
35 }
36 xmlhttp.send(null);
37 }
38 function chngto(name,id)
39 {
40 document.formular.mail_to.value = name ;
41 name = name.toLowerCase() ;
42 document.images['fricon'].src = '/images/nodes/'+id.substr(0,1)+'/'+id.substr(1,1)+'/'+id+'.gif';
43 }
44 {/literal}
45 -->
46 </script>
47
48 </head>
49 <body>
50
51 {if $user_id eq true}{include file="1549959.tpl"}{/if}
52 {if $error eq true}<center><span class='most_important'>{$error}</span></center>{/if}
53 {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}
54 {/if}
55
56 <table style='width: 100%; align:center;' id='configure'>
57 <tr>
58 <td align='center'>
59 {if $user_id eq false}<center>{* loginbox *}{include file="1549885.tpl"}</center><br /><br />{/if}
60 {if $node.node_creator eq $user_id or $node.node_permission eq 'master'}
61 <form method='post' enctype="multipart/form-data" action='/id/{$node.node_id}/'>
62 <table align='center'>
63 <tr>
64 <td><input type='text' name='node_name' value='{$node.node_name}' /></td>
65 <td><input type='submit' name='event' value='configure_node_name' /></td>
66 </tr>
67 <tr>
68 <td>
69 <select name='node_system_access'>
70 <option value='public' {if $node.node_system_access eq 'public'}selected{/if}>public</option>
71 <option value='moderated' {if $node.node_system_access eq 'moderated'}selected{/if}>moderated</option>
72 <option value='private' {if $node.node_system_access eq 'private'}selected{/if}>private</option>
73 <option value='cube' {if $node.node_system_access eq 'cube'}selected{/if}>cube</option>
74 <option value='crypto' {if $node.node_system_access eq 'crypto'}selected{/if}>crypto</option>
75 </select>
76 </td>
77 <td><input type='submit' name='event' value='configure_system_access' /></td>
78 </tr>
79 <tr>
80 <td><input name='node_external_access' type='checkbox' value='yes' {if $node.node_external_access eq 'yes'}checked{/if} /></td>
81 <td><input type='submit' name='event' value='configure_external_access' /></td>
82 </tr>
83 {if $node.node_creator eq $user_id}
84 <tr>
85 <td><input type='file' name='description_image' /></td>
86 <td><input type='submit' name='event' value='configure_image' /></td>
87 </tr>
88 {/if}
89 <tr>
90 <td><input type='text' name='template_id' value='{$node.template_id}' title='[submission: 4 | forum: 3 | nodeshell: 2 | article: 5 | data: 12 | user: 7]' /></td>
91 <td><input type='submit' name='event' value='configure_template_id' /></td>
92 </tr>
93 </table>
94 <table>
95 <tr>
96 <td>apply on vector ??? <input type='checkbox' name='apply_on_vector' /></td>
97 </tr>
98 </table>
99 </form>
100
101 <form action='/id/{$node.node_id}/' method='post'>
102 <table>
103 <tr>
104 <td colspan='2'>vector: {$node.node_vector}</td>
105 </tr>
106 <tr>
107 <td><input type='text' name='new_parent' value='{$node.node_parent}' /></td>
108 <td><input type='submit' name='event' value='set_parent' /></td>
109 </tr>
110 {if $node.node_creator eq $user_id}
111 <tr>
112 <td><input type='text' name='external_link' value='{$node.external_link}' /></td>
113 <td><input type='submit' name='event' value='set_external_link' /></td>
114 </tr>
115 {/if}
116 </table>
117 </form>
118
119 {if $node.node_creator eq $user_id}
120 <form action='/id/{$node.node_id}/' method='post'>
121 <input type='text' name='owner' value='{$node.owner}' />
122 <input type='submit' name='event' value='set_creator' />
123 </form>
124 {/if}
125
126 <form method='post' enctype="multipart/form-data" action='/id/{$node.node_id}/'>
127 {if $node.node_system_access eq 'crypto'}crypto password: {$crypto_pass}{/if}
128 <input type='file' name='data_file' />
129 <input type='submit' name='event' value='upload_data_file' /><br />
130 <input type='checkbox' name='unzip' />unzip?
131 <input type='checkbox' name='gallery'>gallery<br /><br />
132 </form>
133
134 {if $user_id eq $node.node_id}
135 <form action='/id/{$node.node_id}/' method='post'>
136 <table align='center'>
137 <tr>
138 <td><input type='text' name='k_wallet' value='{$k_wallet}' /></td>
139 <td><input type='submit' name='event' value='k_wallet' /></td>
140 </tr>
141 <tr>
142 <td><input type='text' name='header_id' value='{$header_id}' /></td>
143 <td><input type='submit' name='event' value='set_header_template' /></td>
144 </tr>
145 <tr>
146 <td><input type='text' name='listing_amount' value='{$listing_amount}' /></td>
147 <td><input type='submit' name='event' value='set_listing_amount' /></td>
148 </tr>
149 <tr>
150 <td>
151 <select name='listing_order'>
152 <option value='desc' {if $smarty.session.listing_order eq 'desc'}selected{/if}>najnovsie hore</option>
153 <option value='asc' {if $smarty.session.listing_order eq 'asc'}selected{/if}>najstarsie hore</option>
154 </select>
155 </td>
156 <td><input type='submit' name='event' value='set_listing_order' /></td>
157 </tr>
158 </table>
159 <br />
160 <table class='bordered'>
161 <tr><td>old password</td><td><input name='old_password' type='password' /></td></tr>
162 <tr><td>new password</td><td><input name='new_password1' type='password' /></td></tr>
163 <tr><td>new password (again)</td><td><input name='new_password2' type='password' /></td></tr>
164 <tr><td colspan='2' align='center'><input type='submit' name='event' value='set_password' /></td></tr>
165 </table>
166 </form><br />
167
168 {get_user_email_icq_www user_id=$node.node_id}
169 {get_moods user_id=$user_id}
170 <form action='/id/{$node.node_id}/' method='post'>
171 <table>
172 <tr>
173 <td><input type='text' name='user_email' value='{$get_user_email}' /></td>
174 <td><input type='submit' name='event' value='configure_email' /></td>
175 </tr><br />
176 <tr>
177 <td><textarea class='small' name='moodlist'>{$get_moods_string}</textarea></td>
178 <td><input type='submit' name='event' value='moodlist' /></td>
179 </tr>
180 <tr>
181 <td>
182 <select name='mood'>
183 {foreach from=$get_moods item=mood}
184 <option value='{$mood.node_id}' {if $get_moods_mood.node_id eq $mood.node_id}selected{/if}>{$mood.node_name}</option>
185 {/foreach}
186 <option value='' {if $get_moods_mood.node_id eq ''}selected{/if}>clear mood</option>
187 </select>
188 </td>
189 <td><input type='submit' name='event' value='set_mood' /></td>
190 </tr>
191 </table>
192 </form>
193 {/if}
194 {/if}
195
196 <form method='post'>
197 template_id: <input type='text' value='{$node.node_id}' name='add_template_id' /><br />
198 <input type='submit' name='event' value='addTemplate' />
199 </form>
200
201 {if $node.node_creator eq $user_id or $node.node_permission eq 'master' or $node.node_permission eq 'op'}
202 <form method='post' enctype="multipart/form-data" action='/id/{$node.node_id}/'>
203 <textarea class=node_content name='node_content'>{$node.node_content|escape:"html"}</textarea><br />
204 <center>
205 <input type='submit' name='event' value='configure_content'> &nbsp;&nbsp;
206 <input type='checkbox' name='no_html' value='yes' />&nbsp;NO HTML &nbsp;&nbsp;
207 <input type='checkbox' name='code' value='yes'>&nbsp;code &nbsp;&nbsp;
208 <input type='checkbox' name='wiki' value='yes'>&nbsp;wiki
209 </center><br /><br />
210 </form>
211 <form method='post' action='/id/{$node.node_id}'>
212 {get_node_commanders}{*masterlist*}{include file="1549911.tpl"}
213 </form>
214 {/if}
215 </td>
216 </tr>
217 </table>
218
219 <!-- in memorian ergond 23.7.2002 -->
220 <center>
221 &copy; kyberia.sk v2.3 - solon's revenge<br />
222 prevadzkovatel stranky ruci za nic<br />
223 </center>
224 </body>
225 </html>
This page took 1.324641 seconds and 4 git commands to generate.