| 1 |
lars |
1 |
<html>
|
|
|
2 |
<head>
|
|
|
3 |
<title>Content-Management-System - Webagentur Niewerth</title>
|
|
|
4 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
5 |
<link rel="stylesheet" type="text/css" href="buttons.css">
|
|
|
6 |
<script language="javascript" src="Farb_Assistent.js"></script>
|
|
|
7 |
<script language="JavaScript">
|
|
|
8 |
<!--
|
|
|
9 |
|
|
|
10 |
function MM_swapImgRestore()
|
|
|
11 |
{ //v3.0
|
|
|
12 |
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
|
|
|
13 |
}
|
|
|
14 |
|
|
|
15 |
function MM_preloadImages()
|
|
|
16 |
{ //v3.0
|
|
|
17 |
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
|
|
|
18 |
var i,j=d.MM_p.length,a=MM_preloadImages.arguments;
|
|
|
19 |
for(i=0; i<a.length; i++)
|
|
|
20 |
{
|
|
|
21 |
if (a[i].indexOf("#")!=0)
|
|
|
22 |
{
|
|
|
23 |
d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}
|
|
|
24 |
}
|
|
|
25 |
}
|
|
|
26 |
}
|
|
|
27 |
|
|
|
28 |
function MM_swapImage()
|
|
|
29 |
{ //v3.0
|
|
|
30 |
var i,j=0,x,a=MM_swapImage.arguments;
|
|
|
31 |
document.MM_sr=new Array;
|
|
|
32 |
for(i=0;i<(a.length-2);i+=3)
|
|
|
33 |
{
|
|
|
34 |
if ((x=MM_findObj(a[i]))!=null)
|
|
|
35 |
{
|
|
|
36 |
document.MM_sr[j++]=x;
|
|
|
37 |
if(!x.oSrc)
|
|
|
38 |
{
|
|
|
39 |
x.oSrc=x.src;
|
|
|
40 |
}
|
|
|
41 |
x.src=a[i+2];
|
|
|
42 |
}
|
|
|
43 |
}
|
|
|
44 |
}
|
|
|
45 |
|
|
|
46 |
function MM_findObj(n, d)
|
|
|
47 |
{ //v4.01
|
|
|
48 |
var p,i,x;
|
|
|
49 |
if(!d)
|
|
|
50 |
{
|
|
|
51 |
d=document;
|
|
|
52 |
}
|
|
|
53 |
if((p=n.indexOf("?"))>0&&parent.frames.length)
|
|
|
54 |
{
|
|
|
55 |
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);
|
|
|
56 |
}
|
|
|
57 |
if(!(x=d[n])&&d.all)
|
|
|
58 |
{
|
|
|
59 |
x=d.all[n];
|
|
|
60 |
}
|
|
|
61 |
for (i=0;!x&&i<d.forms.length;i++)
|
|
|
62 |
{
|
|
|
63 |
x=d.forms[i][n];
|
|
|
64 |
}
|
|
|
65 |
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
|
|
|
66 |
{
|
|
|
67 |
x=MM_findObj(n,d.layers[i].document);
|
|
|
68 |
}
|
|
|
69 |
if(!x && d.getElementById)
|
|
|
70 |
{
|
|
|
71 |
x=d.getElementById(n);
|
|
|
72 |
}
|
|
|
73 |
return x;
|
|
|
74 |
}
|
|
|
75 |
//-->
|
|
|
76 |
</script>
|
|
|
77 |
<style type="text/css">
|
|
|
78 |
.error
|
|
|
79 |
{
|
|
|
80 |
font-size:50px;
|
|
|
81 |
color: red;
|
|
|
82 |
text-align : center;
|
|
|
83 |
}
|
|
|
84 |
</style>
|
|
|
85 |
<meta name="description" content="Redaktionssystem">
|
|
|
86 |
<meta name="author" content="Webagentur Niewerth">
|
|
|
87 |
<meta name="robots" content="noindex">
|
|
|
88 |
</head>
|
|
|
89 |
|
|
|
90 |
<body bgcolor="#FFFFFF" leftmargin="20" topmargin="10" marginwidth="20" marginheight="10" onLoad="MM_preloadImages('images/navigation/bt_neu_f2.gif','images/navigation/bt_bearbeiten_f2.gif','images/navigation/bt_delete_f2.gif')" bgcolor="#{$webs.bgcolor_seite}" text="#{$webs.font_color_seite}" alink="#{$webs.font_color_seite}" vlink="#{$webs.font_color_seite}">
|
|
|
91 |
{if $error}
|
|
|
92 |
<div class="error">
|
|
|
93 |
{$meld}
|
|
|
94 |
</div>
|
|
|
95 |
{else}
|
|
|
96 |
<form method="post" action="{$SCRIPT_NAME}" name="formname" enctype="multipart/form-data">
|
|
|
97 |
<table width="662" border="0" cellspacing="0" cellpadding="0">
|
|
|
98 |
<tr valign="top">
|
|
|
99 |
<td width="585">
|
|
|
100 |
<!-- Auswahl Löschen START -->
|
|
|
101 |
{if $action=="delete"}
|
|
|
102 |
<table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolorlight="#FFFFFF" bordercolordark="#999999">
|
|
|
103 |
<tr bgcolor="#{$webs.bgcolor_links}">
|
|
|
104 |
<td colspan="2" class="headline">
|
|
|
105 |
<font color="{$webs.font_color_links}">
|
|
|
106 |
<b>Benutzer: Löschen</b>
|
|
|
107 |
</font>
|
|
|
108 |
</td>
|
|
|
109 |
</tr>
|
|
|
110 |
{section loop=$users name=u_ind}
|
|
|
111 |
<tr bgcolor="#{$webs.bgcolor_rechts}">
|
|
|
112 |
<td>
|
|
|
113 |
<a href="{$SCRIPT_NAME}?action=edit&ID={$users[u_ind].ID}">
|
|
|
114 |
{$users[u_ind].user|implode:"@"}
|
|
|
115 |
</a>
|
|
|
116 |
</td>
|
|
|
117 |
<td width="5%" align="center">
|
|
|
118 |
<input type="checkbox" name="ID[]" value="{$users[u_ind].ID}">
|
|
|
119 |
</td>
|
|
|
120 |
</tr>
|
|
|
121 |
{sectionelse}
|
|
|
122 |
<tr>
|
|
|
123 |
<td colspan="2">
|
|
|
124 |
<p class="error">Es sind keine Daten eingetragen !</p>
|
|
|
125 |
<p></p>
|
|
|
126 |
</td>
|
|
|
127 |
</tr>
|
|
|
128 |
{/section}
|
|
|
129 |
<tr bgcolor="#{$webs.bgcolor_links}">
|
|
|
130 |
<td colspan="2" align="right">
|
|
|
131 |
<input type="hidden" name="action" value='delete'>
|
|
|
132 |
<input type="submit" value="LÖSCHEN">
|
|
|
133 |
<input type="reset" name="Button22" value="Zurücksetzen">
|
|
|
134 |
</td>
|
|
|
135 |
</tr>
|
|
|
136 |
</table>
|
|
|
137 |
<!-- Auswahl SELECT_EDIT START -->
|
|
|
138 |
{elseif $action=="select_edit"}
|
|
|
139 |
<table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolorlight="#FFFFFF" bordercolordark="#999999">
|
|
|
140 |
<tr bgcolor="#{$webs.bgcolor_links}">
|
|
|
141 |
<td colspan="2" class="headline">
|
|
|
142 |
<font color="{$webs.font_color_links}">
|
|
|
143 |
<b>Benutzer: Bearbeiten</b>
|
|
|
144 |
</font>
|
|
|
145 |
</td>
|
|
|
146 |
</tr>
|
|
|
147 |
{section loop=$users name=u_ind}
|
|
|
148 |
<tr bgcolor="#{$webs.bgcolor_rechts}">
|
|
|
149 |
<td>
|
|
|
150 |
<a href="{$SCRIPT_NAME}?action=edit&ID={$users[u_ind].ID}">
|
|
|
151 |
{$users[u_ind].user|implode:"@"}
|
|
|
152 |
</a>
|
|
|
153 |
</td>
|
|
|
154 |
</tr>
|
|
|
155 |
{/section}
|
|
|
156 |
<tr bgcolor="#{$webs.bgcolor_links}">
|
|
|
157 |
<td colspan="2" align="right"> </td>
|
|
|
158 |
</tr>
|
|
|
159 |
</table>
|
|
|
160 |
<!-- Auswahl SELECT_EDIT ENDE -->
|
|
|
161 |
{elseif $action=="edit"}
|
|
|
162 |
<table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolorlight="#FFFFFF" bordercolordark="#999999">
|
|
|
163 |
<tr bgcolor="#{$webs.bgcolor_links}">
|
|
|
164 |
<td colspan="2" class="headline">
|
|
|
165 |
<font color="{$webs.font_color_links}">
|
|
|
166 |
<b>Benutzer: {if $smarty.get.ID}Bearbeiten{else}Neueintrag{/if}</b>
|
|
|
167 |
</font>
|
|
|
168 |
</td>
|
|
|
169 |
</tr>
|
|
|
170 |
<tr>
|
|
|
171 |
<td bgcolor="#{$webs.bgcolor_links}" valign="middle" width="13%">
|
|
|
172 |
<font color="#{$webs.font_color_links}">
|
|
|
173 |
<b>Login:</b>
|
|
|
174 |
</font>
|
|
|
175 |
</td>
|
|
|
176 |
<td colspan="2" bgcolor="#{$webs.bgcolor_rechts}">
|
|
|
177 |
<font color="{$webs.font_color_rechts}">
|
|
|
178 |
<input type="text" name="user" value="{$users[0].user[0]}">
|
|
|
179 |
@{$webs.domain}</font>
|
|
|
180 |
</td>
|
|
|
181 |
</tr>
|
|
|
182 |
<tr>
|
|
|
183 |
<td bgcolor="#{$webs.bgcolor_links}" valign="middle" width="13%">
|
|
|
184 |
<font color="#{$webs.font_color_links}">
|
|
|
185 |
<b>Name:</b>
|
|
|
186 |
</font>
|
|
|
187 |
</td>
|
|
|
188 |
<td colspan="2" bgcolor="#{$webs.bgcolor_rechts}">
|
|
|
189 |
<font color="#{$webs.font_color_rechts}">
|
|
|
190 |
<input type="text" name="name" value="{$users[0].name}"></font>
|
|
|
191 |
</font>
|
|
|
192 |
</td>
|
|
|
193 |
</tr>
|
|
|
194 |
<tr>
|
|
|
195 |
<td bgcolor="#{$webs.bgcolor_links}" valign="top" width="13%">
|
|
|
196 |
<font color="#{$webs.font_color_links}">
|
|
|
197 |
<b>Passwort:</b>
|
|
|
198 |
</font>
|
|
|
199 |
</td>
|
|
|
200 |
<td colspan="2" bgcolor="#{$webs.bgcolor_rechts}">
|
|
|
201 |
<font color="#{$webs.font_color_rechts}">
|
|
|
202 |
<input type="password" name="passwd">(Passwort)<br>
|
|
|
203 |
<input type="password" name="pwdcheck">(Passwortbestätigung)
|
|
|
204 |
</font>
|
|
|
205 |
</td>
|
|
|
206 |
</tr>
|
|
|
207 |
<tr>
|
|
|
208 |
<td bgcolor="#{$webs.bgcolor_links}" valign="top" width="13%">
|
|
|
209 |
<font color="#{$webs.font_color_links}">
|
|
|
210 |
<b>Hostsperre:</b>
|
|
|
211 |
</font>
|
|
|
212 |
</td>
|
|
|
213 |
<td colspan="2" bgcolor="#{$webs.bgcolor_rechts}">
|
|
|
214 |
<font color="#{$webs.font_color_rechts}">
|
|
|
215 |
<input type="hidden" name="ignoreRemoteHosts" value="0">
|
|
|
216 |
<input type="checkbox" name="ignoreRemoteHosts" value="1"{if $users[0].ignoreRemoteHosts == 1}checked="checked"{/if}>Ignoriere Einschränkung auf Hosts
|
|
|
217 |
</font>
|
|
|
218 |
</td>
|
|
|
219 |
</tr>
|
|
|
220 |
{if isset($web_rechte.admin.admin.zusatz_daten)}
|
|
|
221 |
<tr>
|
|
|
222 |
<td bgcolor="#{$webs.bgcolor_links}" valign="top" width="13%">
|
|
|
223 |
<font color="#{$webs.font_color_links}">
|
|
|
224 |
<b>E-Mail Adresse:</b>
|
|
|
225 |
</font>
|
|
|
226 |
</td>
|
|
|
227 |
<td colspan="2" bgcolor="#{$webs.bgcolor_rechts}">
|
|
|
228 |
<font color="#{$webs.font_color_rechts}">
|
|
|
229 |
<input type="text" name="email" value="{$users[0].email}">
|
|
|
230 |
</font>
|
|
|
231 |
</td>
|
|
|
232 |
</tr>
|
|
|
233 |
<tr>
|
|
|
234 |
<td bgcolor="#{$webs.bgcolor_links}" valign="top" width="13%">
|
|
|
235 |
<font color="#{$webs.font_color_links}">
|
|
|
236 |
<b>Telefon:</b>
|
|
|
237 |
</font>
|
|
|
238 |
</td>
|
|
|
239 |
<td colspan="2" bgcolor="#{$webs.bgcolor_rechts}">
|
|
|
240 |
<font color="#{$webs.font_color_rechts}">
|
|
|
241 |
<input type="text" name="telefon" value="{$users[0].telefon}">
|
|
|
242 |
</font>
|
|
|
243 |
</td>
|
|
|
244 |
</tr>
|
|
|
245 |
<tr>
|
|
|
246 |
<td bgcolor="#{$webs.bgcolor_links}" valign="top" width="13%">
|
|
|
247 |
<font color="#{$webs.font_color_links}">
|
|
|
248 |
<b>Fax:</b>
|
|
|
249 |
</font>
|
|
|
250 |
</td>
|
|
|
251 |
<td colspan="2" bgcolor="#{$webs.bgcolor_rechts}">
|
|
|
252 |
<font color="#{$webs.font_color_rechts}">
|
|
|
253 |
<input type="text" name="fax" value="{$users[0].fax}">
|
|
|
254 |
</font>
|
|
|
255 |
</td>
|
|
|
256 |
</tr>
|
|
|
257 |
{/if}
|
|
|
258 |
{if isset($user_rechte.cms)}
|
|
|
259 |
<tr>
|
|
|
260 |
<td bgcolor="#{$webs.bgcolor_links}" width="13%">
|
|
|
261 |
<font color="#{$webs.font_color_links}">
|
|
|
262 |
<b>Verzeichnis:</b>
|
|
|
263 |
</font>
|
|
|
264 |
</td>
|
|
|
265 |
<td colspan="2" bgcolor="#{$webs.bgcolor_rechts}">
|
|
|
266 |
<font color="#{$webs.font_color_rechts}">
|
|
|
267 |
<input type="text" name="dir" value="{$users[0].dir}">
|
|
|
268 |
</font>
|
|
|
269 |
</td>
|
|
|
270 |
</tr>
|
|
|
271 |
{/if}
|
|
|
272 |
<tr>
|
|
|
273 |
<td bgcolor="#{$webs.bgcolor_links}" valign="top" width="13%">
|
|
|
274 |
<font color="#{$webs.font_color_links}">
|
|
|
275 |
<b>Beschreibung:</b>
|
|
|
276 |
</font>
|
|
|
277 |
</td>
|
|
|
278 |
<td colspan="2" bgcolor="#{$webs.bgcolor_rechts}">
|
|
|
279 |
<font color="#{$webs.font_color_rechts}">
|
|
|
280 |
<textarea name="beschreibung" cols="40" rows="3">{$users[0].beschreibung}</textarea>
|
|
|
281 |
</font>
|
|
|
282 |
</td>
|
|
|
283 |
</tr>
|
|
|
284 |
<!--
|
|
|
285 |
<tr>
|
|
|
286 |
<td bgcolor="#000099" class="headline" valign="top" width="13%">Rechte:</td>
|
|
|
287 |
<td colspan="2">
|
|
|
288 |
<input type="hidden" name="Useradministration" value="0">
|
|
|
289 |
<input type="checkbox" name="Useradministration" value="1"<? if ($zeile[Useradministration] == 1) {echo " checked";} ?>>Useradministration<br>
|
|
|
290 |
<input type="hidden" name="Frameset" value="0">
|
|
|
291 |
<input type="checkbox" name="Frameset" value="1"<? if ($zeile[Frameset] == 1) {echo " checked";} ?>>Frameset<br>
|
|
|
292 |
<input type="hidden" name="Navigation" value="0">
|
|
|
293 |
<input type="checkbox" name="Navigation" value="1"<? if ($zeile[Navigation] == 1) {echo " checked";} ?>>Navigation<br>
|
|
|
294 |
<input type="hidden" name="Seiten" value="0">
|
|
|
295 |
<input type="checkbox" name="Seiten" value="1"<? if ($zeile[Seiten] == 1) {echo " checked";} ?>>Seiten
|
|
|
296 |
</td>
|
|
|
297 |
</tr>
|
|
|
298 |
-->
|
|
|
299 |
<tr bgcolor="#{$webs.bgcolor_links}">
|
|
|
300 |
<td align="right" colspan="3">
|
|
|
301 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
302 |
<tr>
|
|
|
303 |
<td>
|
|
|
304 |
{if $smarty.get.ID}
|
|
|
305 |
<input type="button" value="Rechte verwalten" onClick="document.location='admin_user_rechte.php?ID={$smarty.get.ID}'">
|
|
|
306 |
{/if}
|
|
|
307 |
</td>
|
|
|
308 |
<td align="right">
|
|
|
309 |
<input type="hidden" name="ID" value="{$users[0].ID}">
|
|
|
310 |
<input type="hidden" name="action" value="update">
|
|
|
311 |
<input type="submit" value="OK" onClick="if (this.form.passwd.value != this.form.pwdcheck.value)
|
|
|
312 |
{
|
|
|
313 |
alert('Passwort und Passwortbestätigung stimmen nicht überein !');return false;
|
|
|
314 |
}">
|
|
|
315 |
<input type="reset" name="Button" value="Zurücksetzen">
|
|
|
316 |
</td>
|
|
|
317 |
</tr>
|
|
|
318 |
</table>
|
|
|
319 |
</td>
|
|
|
320 |
</tr>
|
|
|
321 |
</table>
|
|
|
322 |
{/if}
|
|
|
323 |
</td>
|
|
|
324 |
{include file="buttons.tpl"}
|
|
|
325 |
</tr>
|
|
|
326 |
</table>
|
|
|
327 |
</form>
|
|
|
328 |
{/if}
|
|
|
329 |
</body>
|
|
|
330 |
</html>
|