| 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 |
<style type="text/css">
|
|
|
7 |
span
|
|
|
8 |
{
|
|
|
9 |
text-decoration:underline;
|
|
|
10 |
color:#000000;
|
|
|
11 |
}
|
|
|
12 |
p
|
|
|
13 |
{
|
|
|
14 |
font-family: Arial, Helvetica, sans-serif;
|
|
|
15 |
font-size: 10pt;
|
|
|
16 |
color: #000000;
|
|
|
17 |
}
|
|
|
18 |
p.error
|
|
|
19 |
{
|
|
|
20 |
font-family: Arial, Helvetica, sans-serif;
|
|
|
21 |
font-size: 10pt;
|
|
|
22 |
font-weight: bold;
|
|
|
23 |
}
|
|
|
24 |
span
|
|
|
25 |
{
|
|
|
26 |
font-family: Arial, Helvetica, sans-serif;
|
|
|
27 |
font-size: 10pt;
|
|
|
28 |
}
|
|
|
29 |
span.blue
|
|
|
30 |
{
|
|
|
31 |
font-family: Arial, Helvetica, sans-serif;
|
|
|
32 |
color: #FFFFFF;
|
|
|
33 |
background-color:#0000A0;
|
|
|
34 |
font-size: 10pt;
|
|
|
35 |
}
|
|
|
36 |
span.small
|
|
|
37 |
{
|
|
|
38 |
font-family: Arial, Helvetica, sans-serif;
|
|
|
39 |
font-size: 8pt;
|
|
|
40 |
text-decoration: none;
|
|
|
41 |
}
|
|
|
42 |
td
|
|
|
43 |
{
|
|
|
44 |
font-family: Arial, Helvetica, sans-serif;
|
|
|
45 |
font-size: 10pt;
|
|
|
46 |
}
|
|
|
47 |
td.timeout
|
|
|
48 |
{
|
|
|
49 |
font-family: Arial, Helvetica, sans-serif;
|
|
|
50 |
font-size: 10pt;
|
|
|
51 |
color: #FF0000;
|
|
|
52 |
}
|
|
|
53 |
td.small
|
|
|
54 |
{
|
|
|
55 |
font-family: Arial, Helvetica, sans-serif;
|
|
|
56 |
font-size: 8pt;
|
|
|
57 |
}
|
|
|
58 |
td.headline
|
|
|
59 |
{
|
|
|
60 |
font-family: Arial, Helvetica, sans-serif;
|
|
|
61 |
font-size: 10pt;
|
|
|
62 |
color: #FFFFFF;
|
|
|
63 |
font-weight: bold;
|
|
|
64 |
}
|
|
|
65 |
td.haupt
|
|
|
66 |
{
|
|
|
67 |
font-family: Arial, Helvetica, sans-serif;
|
|
|
68 |
font-size: 10pt;
|
|
|
69 |
font-weight: bold;
|
|
|
70 |
}
|
|
|
71 |
input
|
|
|
72 |
{
|
|
|
73 |
font-family: Arial, Helvetica, sans-serif;
|
|
|
74 |
font-size: 8pt;
|
|
|
75 |
}
|
|
|
76 |
select
|
|
|
77 |
{
|
|
|
78 |
font-family: Arial, Helvetica, sans-serif;
|
|
|
79 |
font-size: 8pt;
|
|
|
80 |
}
|
|
|
81 |
textarea
|
|
|
82 |
{
|
|
|
83 |
font-family: Arial, Helvetica, sans-serif;
|
|
|
84 |
font-size: 8pt;
|
|
|
85 |
}
|
|
|
86 |
a
|
|
|
87 |
{
|
|
|
88 |
text-decoration: none;
|
|
|
89 |
}
|
|
|
90 |
img
|
|
|
91 |
{
|
|
|
92 |
border:0;
|
|
|
93 |
}
|
|
|
94 |
</style>
|
|
|
95 |
<script language="javascript" src="Farb_Assistent.js"></script>
|
|
|
96 |
<script language="JavaScript">
|
|
|
97 |
<!--
|
|
|
98 |
|
|
|
99 |
function MM_swapImgRestore()
|
|
|
100 |
{ //v3.0
|
|
|
101 |
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
|
|
|
102 |
}
|
|
|
103 |
|
|
|
104 |
function MM_preloadImages()
|
|
|
105 |
{ //v3.0
|
|
|
106 |
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
|
|
|
107 |
var i,j=d.MM_p.length,a=MM_preloadImages.arguments;
|
|
|
108 |
for(i=0; i<a.length; i++)
|
|
|
109 |
{
|
|
|
110 |
if (a[i].indexOf("#")!=0)
|
|
|
111 |
{
|
|
|
112 |
d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}
|
|
|
113 |
}
|
|
|
114 |
}
|
|
|
115 |
}
|
|
|
116 |
|
|
|
117 |
function MM_swapImage()
|
|
|
118 |
{ //v3.0
|
|
|
119 |
var i,j=0,x,a=MM_swapImage.arguments;
|
|
|
120 |
document.MM_sr=new Array;
|
|
|
121 |
for(i=0;i<(a.length-2);i+=3)
|
|
|
122 |
{
|
|
|
123 |
if ((x=MM_findObj(a[i]))!=null)
|
|
|
124 |
{
|
|
|
125 |
document.MM_sr[j++]=x;
|
|
|
126 |
if(!x.oSrc)
|
|
|
127 |
{
|
|
|
128 |
x.oSrc=x.src;
|
|
|
129 |
}
|
|
|
130 |
x.src=a[i+2];
|
|
|
131 |
}
|
|
|
132 |
}
|
|
|
133 |
}
|
|
|
134 |
|
|
|
135 |
function MM_findObj(n, d)
|
|
|
136 |
{ //v4.01
|
|
|
137 |
var p,i,x;
|
|
|
138 |
if(!d)
|
|
|
139 |
{
|
|
|
140 |
d=document;
|
|
|
141 |
}
|
|
|
142 |
if((p=n.indexOf("?"))>0&&parent.frames.length)
|
|
|
143 |
{
|
|
|
144 |
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);
|
|
|
145 |
}
|
|
|
146 |
if(!(x=d[n])&&d.all)
|
|
|
147 |
{
|
|
|
148 |
x=d.all[n];
|
|
|
149 |
}
|
|
|
150 |
for (i=0;!x&&i<d.forms.length;i++)
|
|
|
151 |
{
|
|
|
152 |
x=d.forms[i][n];
|
|
|
153 |
}
|
|
|
154 |
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
|
|
|
155 |
{
|
|
|
156 |
x=MM_findObj(n,d.layers[i].document);
|
|
|
157 |
}
|
|
|
158 |
if(!x && d.getElementById)
|
|
|
159 |
{
|
|
|
160 |
x=d.getElementById(n);
|
|
|
161 |
}
|
|
|
162 |
return x;
|
|
|
163 |
}
|
|
|
164 |
//-->
|
|
|
165 |
</script>
|
|
|
166 |
<meta name="description" content="Redaktionssystem">
|
|
|
167 |
<meta name="author" content="Webagentur Niewerth">
|
|
|
168 |
<meta name="robots" content="noindex">
|
|
|
169 |
</head>
|
|
|
170 |
|
|
|
171 |
<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')" text="#000096">
|
|
|
172 |
<form method="post" action="#" name="formname" enctype="multipart/form-data">
|
|
|
173 |
<table width="662" border="0" cellspacing="0" cellpadding="0">
|
|
|
174 |
<tr valign="top">
|
|
|
175 |
<td width="585">
|
|
|
176 |
<!-- Auswahl Löschen START -->
|
|
|
177 |
{if $action=="delete"}
|
|
|
178 |
<table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolorlight="#FFFFFF" bordercolordark="#999999">
|
|
|
179 |
<tr bgcolor="#000099">
|
|
|
180 |
<td colspan="2" class="headline">Web: Löschen</td>
|
|
|
181 |
</tr>
|
|
|
182 |
{section loop=$webs name=w_ind}
|
|
|
183 |
<tr>
|
|
|
184 |
<td>
|
|
|
185 |
<a href="{$SCRIPT_NAME}?action=edit&ID={$webs[w_ind].ID} ?>">
|
|
|
186 |
{$webs[w_ind].domain}
|
|
|
187 |
</a>
|
|
|
188 |
</td>
|
|
|
189 |
<td width="5%" align="center">
|
|
|
190 |
<input type="checkbox" name="ID[]" value="{$webs[w_ind].ID}">
|
|
|
191 |
</td>
|
|
|
192 |
</tr>
|
|
|
193 |
{sectionelse}
|
|
|
194 |
<tr>
|
|
|
195 |
<td colspan="2">
|
|
|
196 |
<p class="error">Es sind keine Daten eingetragen !</p>
|
|
|
197 |
<p></p>
|
|
|
198 |
</td>
|
|
|
199 |
</tr>
|
|
|
200 |
{/section}
|
|
|
201 |
<tr bgcolor="#000099">
|
|
|
202 |
<td colspan="2" align="right">
|
|
|
203 |
<input type="hidden" name="action" value='delete'>
|
|
|
204 |
<input type="submit" value="LÖSCHEN">
|
|
|
205 |
<input type="reset" name="Button22" value="Zurücksetzen">
|
|
|
206 |
</td>
|
|
|
207 |
</tr>
|
|
|
208 |
</table>
|
|
|
209 |
<!-- Auswahl SELECT_EDIT START -->
|
|
|
210 |
{elseif $action=="select_edit"}
|
|
|
211 |
<table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolorlight="#FFFFFF" bordercolordark="#999999">
|
|
|
212 |
<tr bgcolor="#000099">
|
|
|
213 |
<td colspan="2" class="headline">Web: Bearbeiten</td>
|
|
|
214 |
</tr>
|
|
|
215 |
{section loop=$webs name=w_ind}
|
|
|
216 |
<tr>
|
|
|
217 |
<td>
|
|
|
218 |
<a href="{$SCRIPT_NAME}?action=edit&ID={$webs[w_ind].ID}">
|
|
|
219 |
{$webs[w_ind].ID} {$webs[w_ind].domain}
|
|
|
220 |
</a>
|
|
|
221 |
</td>
|
|
|
222 |
</tr>
|
|
|
223 |
{/section}
|
|
|
224 |
</table>
|
|
|
225 |
<!-- Auswahl SELECT_EDIT ENDE -->
|
|
|
226 |
{elseif $action=="edit"}
|
|
|
227 |
<table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolorlight="#FFFFFF" bordercolordark="#999999">
|
|
|
228 |
<tr bgcolor="#000099">
|
|
|
229 |
<td colspan="2" class="headline">Web: {if $smarty.get.ID}Bearbeiten{else}Neueintrag{/if}</td>
|
|
|
230 |
</tr>
|
|
|
231 |
<tr>
|
|
|
232 |
<td bgcolor="#000099" class="headline" valign="top" width="13%">Kunde:</td>
|
|
|
233 |
<td>
|
|
|
234 |
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
235 |
<tr>
|
|
|
236 |
<td width="18%">Name:</td>
|
|
|
237 |
<td width="82%">
|
|
|
238 |
<input type="text" name="kunde" value="{$webs[0].kunde}">
|
|
|
239 |
</td>
|
|
|
240 |
</tr>
|
|
|
241 |
<tr>
|
|
|
242 |
<td width="18%">Bezeichnung:</td>
|
|
|
243 |
<td width="82%">
|
|
|
244 |
<input type="text" name="kunde_bezeichnung" value="{$webs[0].kunde_bezeichnung}">
|
|
|
245 |
</td>
|
|
|
246 |
</tr>
|
|
|
247 |
<tr>
|
|
|
248 |
<td width="18%">Begrüssung:</td>
|
|
|
249 |
<td width="82%">
|
|
|
250 |
<input type="text" name="kunde_begruessung" value="{$webs[0].kunde_begruessung}">
|
|
|
251 |
</td>
|
|
|
252 |
</tr>
|
|
|
253 |
</table>
|
|
|
254 |
</td>
|
|
|
255 |
</tr>
|
|
|
256 |
<tr>
|
|
|
257 |
<td bgcolor="#000099" class="headline" valign="top" width="13%">Datenbank:</td>
|
|
|
258 |
<td>
|
|
|
259 |
<input type="text" name="datenbank" value="{$webs[0].datenbank}">
|
|
|
260 |
{if (!$webs[0].ID)}
|
|
|
261 |
<br>
|
|
|
262 |
<input type="checkbox" name="create_db" value="create">Datenbank erstellen
|
|
|
263 |
<select name="sourceDatenbank">
|
|
|
264 |
<option>weban_de</option>
|
|
|
265 |
<option>mediaran_de</option>
|
|
|
266 |
</select>
|
|
|
267 |
{/if}
|
|
|
268 |
</td>
|
|
|
269 |
</tr>
|
|
|
270 |
<tr>
|
|
|
271 |
<td bgcolor="#000099" class="headline" valign="top" width="13%">SQL-Server </td>
|
|
|
272 |
<td>
|
|
|
273 |
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
274 |
<tr>
|
|
|
275 |
<td>Server</td>
|
|
|
276 |
<td>
|
|
|
277 |
<input type="text" name="db_server" value="{$webs[0].db_server}">
|
|
|
278 |
</td>
|
|
|
279 |
</tr>
|
|
|
280 |
<tr>
|
|
|
281 |
<td>Username </td>
|
|
|
282 |
<td>
|
|
|
283 |
<input type="text" name="db_username" value="{$webs[0].db_username}">
|
|
|
284 |
</td>
|
|
|
285 |
</tr>
|
|
|
286 |
<tr>
|
|
|
287 |
<td>Passwort</td>
|
|
|
288 |
<td>
|
|
|
289 |
<input type="text" name="db_password" value="{$webs[0].db_password}">
|
|
|
290 |
</td>
|
|
|
291 |
</tr>
|
|
|
292 |
</table>
|
|
|
293 |
</td>
|
|
|
294 |
</tr>
|
|
|
295 |
<tr>
|
|
|
296 |
<td bgcolor="#000099" class="headline" valign="middle" width="13%">Domain:</td>
|
|
|
297 |
<td>
|
|
|
298 |
<input type="text" name="domain" value="{$webs[0].domain}">
|
|
|
299 |
</td>
|
|
|
300 |
</tr>
|
|
|
301 |
<tr>
|
|
|
302 |
<td bgcolor="#000099" class="headline" valign="top" width="13%">Farben:</td>
|
|
|
303 |
<td>
|
|
|
304 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
305 |
<tr>
|
|
|
306 |
<td colspan="3">Hintergrund:</td>
|
|
|
307 |
</tr>
|
|
|
308 |
{include file="admin_webs_colours.tpl" colour_field="bgcolor_seite" colour_title=" Seite (gesamt)"}
|
|
|
309 |
{include file="admin_webs_colours.tpl" colour_field="bgcolor_links" colour_title=" Tabelle (links)"}
|
|
|
310 |
{include file="admin_webs_colours.tpl" colour_field="bgcolor_rechts" colour_title=" Tabelle (rechts)"}
|
|
|
311 |
<tr>
|
|
|
312 |
<td colspan="3">Schrift:</td>
|
|
|
313 |
</tr>
|
|
|
314 |
{include file="admin_webs_colours.tpl" colour_field="font_color_seite" colour_title=" Seite (gesamt)"}
|
|
|
315 |
{include file="admin_webs_colours.tpl" colour_field="font_color_links" colour_title=" Tabelle (links)"}
|
|
|
316 |
{include file="admin_webs_colours.tpl" colour_field="font_color_rechts" colour_title=" Tabelle (rechts)"}
|
|
|
317 |
</table>
|
|
|
318 |
</td>
|
|
|
319 |
</tr>
|
|
|
320 |
{include file="admin_webs_images.tpl" image_name="domain_logo" image_Path="images/Domain-Logos/" image_title="Logo"}
|
|
|
321 |
{include file="admin_webs_images.tpl" image_name="hintergrundbild" image_Path="images/hintergrundbild/" image_title="Hintergrundbild"}
|
|
|
322 |
<tr>
|
|
|
323 |
<td bgcolor="#000099" class="headline" valign="middle" width="13%">Verzeichnis:</td>
|
|
|
324 |
<td>
|
|
|
325 |
<input type="text" name="verzeichnis" value="{$webs[0].verzeichnis}">
|
|
|
326 |
</td>
|
|
|
327 |
</tr>
|
|
|
328 |
<tr bgcolor="#000099">
|
|
|
329 |
<td colspan="2" class="headline">Online-Shop</td>
|
|
|
330 |
</tr>
|
|
|
331 |
<tr bgcolor="#000099">
|
|
|
332 |
<td class="headline">max. Artikel:</td>
|
|
|
333 |
<td bgcolor="#FFFFFF">
|
|
|
334 |
<input type="text" name="max_artikel" value="{$webs[0].max_artikel}">(leer oder 0 falls keine Beschränkung)
|
|
|
335 |
</td>
|
|
|
336 |
</tr>
|
|
|
337 |
<tr bgcolor="#000099">
|
|
|
338 |
<td class="headline">Aktionsartikel:</td>
|
|
|
339 |
<td bgcolor="#FFFFFF">
|
|
|
340 |
<input type="text" name="max_Aktionsartikel" value="{$webs[0].max_Aktionsartikel}">(leer oder 0 falls keine Beschränkung)
|
|
|
341 |
</td>
|
|
|
342 |
</tr>
|
|
|
343 |
<tr bgcolor="#000099">
|
|
|
344 |
<td class="headline">Nav-Breite:</td>
|
|
|
345 |
<td bgcolor="#FFFFFF">
|
|
|
346 |
<input type="text" name="Shop_tree_Breite" value="{$webs[0].Shop_tree_Breite}">
|
|
|
347 |
</td>
|
|
|
348 |
</tr>
|
|
|
349 |
<tr bgcolor="#000099">
|
|
|
350 |
<td class="headline" valign="top">Copyright:</td>
|
|
|
351 |
<td bgcolor="#FFFFFF">
|
|
|
352 |
<textarea name="system_copyright" cols="75" rows="5">{$webs[0].system_copyright}</textarea>
|
|
|
353 |
</td>
|
|
|
354 |
</tr>
|
|
|
355 |
<tr bgcolor="#000099">
|
|
|
356 |
<td colspan="2" class="headline">FTP-Einstellungen</td>
|
|
|
357 |
</tr>
|
|
|
358 |
<tr bgcolor="#000099">
|
|
|
359 |
<td class="headline">Server:</td>
|
|
|
360 |
<td bgcolor="#FFFFFF">
|
|
|
361 |
<input type="text" name="FTP_server" value="{$webs[0].FTP_server}">
|
|
|
362 |
</td>
|
|
|
363 |
</tr>
|
|
|
364 |
<tr bgcolor="#000099">
|
|
|
365 |
<td class="headline">Username:</td>
|
|
|
366 |
<td bgcolor="#FFFFFF">
|
|
|
367 |
<input type="text" name="FTP_user" value="{$webs[0].FTP_user}">
|
|
|
368 |
</td>
|
|
|
369 |
</tr>
|
|
|
370 |
<tr bgcolor="#000099">
|
|
|
371 |
<td class="headline">Passwort:</td>
|
|
|
372 |
<td bgcolor="#FFFFFF">
|
|
|
373 |
<input type="password" name="FTP_passwd" value="{$webs[0].FTP_passwd}">
|
|
|
374 |
</td>
|
|
|
375 |
</tr>
|
|
|
376 |
<tr bgcolor="#000099">
|
|
|
377 |
<td class="headline">Passiv-Modus:</td>
|
|
|
378 |
<td bgcolor="#FFFFFF">
|
|
|
379 |
<input type="radio" name="FTP_passiv" value="1"{if $webs[0].FTP_passiv == 1} checked="checked"{/if}>Ja
|
|
|
380 |
<input type="radio" name="FTP_passiv" value="0"{if $webs[0].FTP_passiv == 0} checked="checked"{/if}>Nein
|
|
|
381 |
</td>
|
|
|
382 |
</tr>
|
|
|
383 |
<tr bgcolor="#000099">
|
|
|
384 |
<td colspan="2" class="headline">Globale Zugangskontrolle</td>
|
|
|
385 |
</tr>
|
|
|
386 |
<tr bgcolor="#000099">
|
|
|
387 |
<td class="headline" valign="top">erlaubte Standorte:</td>
|
|
|
388 |
<td bgcolor="#FFFFFF" valign="top">
|
|
|
389 |
<textarea name="remoteHosts" cols="50" rows="8" style="float:left;">{$webs[0].remoteHosts}</textarea>
|
|
|
390 |
<ul style="list-style-position:inside; margin:0px; padding:0px;">
|
|
|
391 |
<li>Ein Standort pro Zeile.</li>
|
|
|
392 |
<li>Keine Trennzeichen.</li>
|
|
|
393 |
<li>Es können DynDNS-Angaben oder IP-Adressen angegeben werden.</li>
|
|
|
394 |
<li>Kein Eintrag bedeutet keine Sperre.</li>
|
|
|
395 |
</ul>
|
|
|
396 |
</td>
|
|
|
397 |
</tr>
|
|
|
398 |
<tr bgcolor="#000099">
|
|
|
399 |
<td align="right" colspan="2">
|
|
|
400 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
401 |
<tr>
|
|
|
402 |
<td>
|
|
|
403 |
{if $webs[0].ID}
|
|
|
404 |
<input type="button" value="Rechte verwalten" onClick="document.location='admin_web_rechte.php?ID={$webs[0].ID}'">
|
|
|
405 |
{/if}
|
|
|
406 |
</td>
|
|
|
407 |
<td align="right">
|
|
|
408 |
<input type="hidden" name="ID" value="{$webs[0].ID|default:0}">
|
|
|
409 |
<input type="hidden" name="action" value="update">
|
|
|
410 |
<input type="submit" value="OK">
|
|
|
411 |
<input type="reset" name="Button" value="Zurücksetzen">
|
|
|
412 |
</td>
|
|
|
413 |
</tr>
|
|
|
414 |
</table>
|
|
|
415 |
</td>
|
|
|
416 |
</tr>
|
|
|
417 |
</table>
|
|
|
418 |
{/if}
|
|
|
419 |
</td>
|
|
|
420 |
{include file="buttons.tpl"}
|
|
|
421 |
</tr>
|
|
|
422 |
</table>
|
|
|
423 |
</form>
|
|
|
424 |
</body>
|
|
|
425 |
</html>
|