Subversion-Projekte lars-tiefland.content-management

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?
2
    define("Range",100);
3
	$self=basename($PHP_SELF);
4
	$DB="Logins";
5
	define ("modul_name", "logins");
6
	define ("tool_name", "admin");
7
	require_once "../Online-Shop/connect2.php";
8
	unset($HTTP_POST_VARS[pwdcheck]);
9
?>
10
<style>
11
body
12
{
13
	margin:3px;
14
	background-color:	#<?=$webs[bgcolor_seite];?>;
15
}
16
 
17
.links
18
{
19
	background-color:	#<?=$webs[bgcolor_links];?>;
20
	color:				#<?=$webs[font_color_links];?>;
21
	font-family:		Arial, Helvetica, sans-serif;
22
	font-weight:		bold;
23
	font-size: 			12px;
24
	vertical-align:		middle;
25
}
26
 
27
.rechts
28
{
29
	background-color:	#<?=$webs[bgcolor_rechts];?>;
30
	color:				#<?=$webs[font_color_rechts];?>;
31
	font-family:		Arial, Helvetica, sans-serif;
32
	font-size: 			12px
33
}
34
</style>
35
<form action="export1.php" method="get">
36
<table>
37
		<tr class="links" valign="middle">
38
		<?
39
		if($msg==fehler)
40
		{
41
 			$fehler="Bitte wählen Sie mindestens einen Datensatz aus";
42
		}
43
		echo $fehler ?>
44
		</tr>
45
		<?
46
		$Feld="user";
47
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
48
		{
49
		?>
50
    	<tr>
51
      		<td class="links" valign="middle" width="20%">
52
        	<? if ($web_rechte[modul_name][tool_name][$Feld]) { echo $web_rechte[modul_name][tool_name][$Feld]; } else { ?>
53
        	Login:
54
        	<? } ?>
55
        	</td>
56
      		<td colspan="2" class="rechts"><INPUT TYPE=CHECKBOX NAME="auswahl[]" VALUE=user >
57
      		</td>
58
    	</tr>
59
    	<?
60
		}
61
		$Feld="userlevel";
62
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
63
		{
64
		?>
65
    	<tr>
66
      		<td class="links" valign="top" width="20%">
67
        	Status: </td>
68
      		<td colspan="2" class="rechts"> <INPUT TYPE=CHECKBOX NAME="auswahl[]" VALUE=Status >
69
      		</td>
70
    	</tr>
71
    	<?
72
		}
73
		$Feld="Anrede";
74
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
75
		{
76
		?>
77
    	<tr>
78
      		<td class="links">
79
        	<?
80
			if (($web_rechte[modul_name][tool_name][$Feld]) and (!strrpos($web_rechte[modul_name][tool_name][$Feld],";")))
81
			{
82
				echo $web_rechte[modul_name][tool_name][$Feld];
83
			}
84
			else
85
			{
86
			?>
87
        		Anrede:
88
        	<?
89
			}
90
			?>
91
       		</td>
92
      		<td colspan="2" class="rechts">
93
        	<INPUT TYPE=CHECKBOX NAME="auswahl[<?=$web_rechte[modul_name][tool_name][$Feld];?>]" VALUE=Anrede >
94
      		</td>
95
    	</tr>
96
    	<?
97
		}
98
		?>
99
    	<?
100
		$Feld="Vorname";
101
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
102
		{
103
		?>
104
    	<tr>
105
      		<td class="links">
106
        	<? if ($web_rechte[modul_name][tool_name][$Feld])
107
			{
108
				echo $web_rechte[modul_name][tool_name][$Feld];
109
			}
110
			else
111
			{
112
			?>
113
        		Vorname:
114
        	<? } ?>
115
        	</td>
116
      		<td colspan="2" class="rechts">
117
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=$web_rechte[modul_name][tool_name][$Feld];?>]" VALUE=Vorname >
118
      		</td>
119
    	</tr>
120
    	<?
121
		}
122
		?>
123
    	<?
124
		$Feld="Name1";
125
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
126
		{
127
		?>
128
    	<tr>
129
      		<td class="links">
130
        	<?
131
			if ($web_rechte[modul_name][tool_name][$Feld])
132
			{
133
				echo $web_rechte[modul_name][tool_name][$Feld];
134
			}
135
			else
136
			{
137
			?>
138
        		Name1:
139
        	<? } ?>
140
        	</td>
141
      		<td colspan="2" class="rechts">
142
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=$web_rechte[modul_name][tool_name][$Feld];?>]" VALUE=Name1 >
143
      		</td>
144
    	</tr>
145
    	<?
146
		}
147
		?>
148
    	<?
149
		$Feld="Name2";
150
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
151
		{
152
		?>
153
    	<tr>
154
      		<td class="links">
155
        	<? if ($web_rechte[modul_name][tool_name][$Feld])
156
			{
157
				echo $web_rechte[modul_name][tool_name][$Feld];
158
			}
159
			else
160
			{
161
			?>
162
        		Name2:
163
        	<? } ?>
164
        	</td>
165
      		<td colspan="2" bgcolor="#<? echo $webs[bgcolor_rechts] ?>">
166
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=$web_rechte[modul_name][tool_name][$Feld];?>]" VALUE=Name2 >
167
      		</td>
168
    	</tr>
169
    	<?
170
		}
171
		$Feld="Strasse";
172
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
173
		{
174
		?>
175
    	<tr>
176
      		<td class="links">
177
        	<? if ($web_rechte[modul_name][tool_name][$Feld])
178
			{
179
				echo $web_rechte[modul_name][tool_name][$Feld];
180
			}
181
			else
182
			{
183
			?>
184
        		Strasse:
185
        	<? } ?>
186
        	</td>
187
      		<td colspan="2" class="rechts">
188
	  		<INPUT TYPE=CHECKBOX NAME="auswahl[Strasse]" VALUE=Strasse >
189
			</td>
190
		</tr>
191
		<tr>
192
			<td class="links">
193
			<?
194
			if (isset($user_rechte[modul_name][tool_name][Hausnummer]))
195
			{
196
			?>
197
        		Nr.:
198
			</td>
199
			<td>
200
        	<INPUT TYPE=CHECKBOX NAME="auswahl[Hausnummer]" VALUE=Hausnummer >
201
        	<?
202
			}
203
			?>
204
      		</td>
205
    	</tr>
206
    	<?
207
		}
208
		$Feld="PLZ_Ort";
209
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
210
		{
211
		?>
212
    	<tr>
213
      		<td class="links">
214
        	<? if ($web_rechte[modul_name][tool_name][$Feld])
215
			{
216
				echo $web_rechte[modul_name][tool_name][$Feld];
217
			}
218
			else
219
			{
220
			?>
221
        		Plz:
222
        	<? } ?>
223
        	</td>
224
      		<td colspan="2" class="rechts">
225
			<INPUT TYPE=CHECKBOX NAME="auswahl[PLZ]" VALUE=PLZ >
226
			</td>
227
		</tr>
228
		<tr>
229
		    <td class="links">
230
        	<? if ($web_rechte[modul_name][tool_name][$Feld])
231
			{
232
				echo $web_rechte[modul_name][tool_name][$Feld];
233
			}
234
			else
235
			{
236
			?>
237
        		Ort:
238
        	<? } ?>
239
        	</td>
240
			<td colspan="2" class="rechts">
241
        	<INPUT TYPE=CHECKBOX NAME="auswahl[Ort]" VALUE=Ort >
242
			</td>
243
    	</tr>
244
    	<?
245
		}
246
		?>
247
    	<?
248
		$Feld="Land";
249
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
250
		{
251
		?>
252
    	<tr>
253
      		<td class="links">
254
        	<? if ($web_rechte[modul_name][tool_name][$Feld])
255
			{
256
				echo $web_rechte[modul_name][tool_name][$Feld];
257
			}
258
			else
259
			{
260
			?>
261
        		Land:
262
        	<? } ?>
263
        	</td>
264
      		<td colspan="2" class="rechts">
265
			<input type=CHECKBOX name="auswahl[Land]" value=Land >
266
			</td>
267
    	</tr>
268
    	<?
269
		}
270
		?>
271
    	<?
272
		$Feld="Telefon";
273
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
274
		{
275
		?>
276
    	<tr>
277
      		<td class="links">
278
        	<?
279
			if ($web_rechte[modul_name][tool_name][$Feld])
280
			{
281
				$felder = explode(";",$web_rechte[modul_name][tool_name][$Feld]);
282
				echo array_shift($felder);
283
			}
284
			else
285
			{
286
				echo "Telefon:";
287
				$felder=array("");
288
			}
289
			?>
290
        	</td>
291
      		<td colspan="2" class="rechts">
292
        	<?
293
			foreach(array_keys($felder) as $fkey)
294
			{
295
			if ($fkey > 0)
296
			{
297
				$fIndex = $fkey;
298
			}
299
			else
300
			{
301
				unset($fIndex);
302
			}
303
			?>
304
        	<INPUT TYPE=CHECKBOX NAME="auswahl[]" VALUE=Telefon >
305
        	<?
306
			echo " (".$felder[$fkey].")";
307
			?>
308
        	<?
309
			}
310
			?>
311
      		</td>
312
    	</tr>
313
    	<?
314
		}
315
		?>
316
    	<?
317
		$Feld="Fax";
318
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
319
		{
320
		?>
321
    	<tr>
322
      		<td class="links">
323
        	<? if ($web_rechte[modul_name][tool_name][$Feld])
324
			{
325
				echo $web_rechte[modul_name][tool_name][$Feld];
326
			}
327
			else
328
			{
329
			?>
330
        		Fax:
331
        	<?
332
			}
333
			?>
334
        	</td>
335
      		<td colspan="2" class="rechts">
336
			<INPUT TYPE=CHECKBOX NAME="auswahl[]" VALUE=FAX >
337
      		</td>
338
    	</tr>
339
    	<?
340
		}
341
		?>
342
    	<?
343
		$Feld="E_Mail";
344
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
345
		{
346
		?>
347
    	<tr>
348
      		<td class="links">
349
        	<? if ($web_rechte[modul_name][tool_name][$Feld])
350
			{
351
				echo $web_rechte[modul_name][tool_name][$Feld];
352
			}
353
			else
354
			{
355
			?>
356
        		E-Mail:
357
        	<?
358
			}
359
			?>
360
        	</td>
361
      		<td colspan="2" class="rechts">
362
			<INPUT TYPE=CHECKBOX NAME="auswahl[]" VALUE=E_Mail >
363
      		</td>
364
    	</tr>
365
    	<?
366
		}
367
		?>
368
    	<?
369
		$Feld="URL";
370
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
371
		{
372
		?>
373
    	<tr>
374
      		<td class="links">
375
        	<? if ($web_rechte[modul_name][tool_name][$Feld])
376
			{
377
				echo $web_rechte[modul_name][tool_name][$Feld];
378
			}
379
			else
380
			{
381
			?>
382
        		Homepage:
383
        	<?
384
			}
385
			?>
386
        	</td>
387
      		<td colspan="2" class="rechts">
388
			<INPUT TYPE=CHECKBOX NAME="auswahl[]" VALUE=URL >
389
			</td>
390
    	</tr>
391
    	<?
392
		}
393
		?>
394
    	<?
395
		for ($x=1; $x<=2; $x++)
396
		{
397
		$Feld="Datum".$x;
398
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
399
		{
400
		?>
401
    	<?
402
		}
403
		}
404
		?>
405
    	<?
406
		for ($Eigenschaft_nr=1; $Eigenschaft_nr<=5; $Eigenschaft_nr++)
407
		{
408
		$Feld="Eigenschaft_".$Eigenschaft_nr;
409
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
410
		{
411
		?>
412
    	<tr>
413
      		<td class="links">
414
        	<?
415
			if ($web_rechte[modul_name][tool_name][$Feld])
416
			{
417
				echo $web_rechte[modul_name][tool_name][$Feld];
418
			}
419
			else
420
			{
421
			?>
422
        		Eigenschaft<? echo $Eigenschaft_nr ?>
423
        	<?
424
			}
425
			?>
426
        	</td>
427
      		<td colspan="2"class="rechts">
428
			<input type="hidden" name="Eigenschaft_<? echo $Eigenschaft_nr ?>" value="0">
429
        	<input type="checkbox" name="Eigenschaft_<? echo $Eigenschaft_nr ?>" <? if ($zeile[$Feld] == 1) {echo "checked";} ?> value="1">
430
      		</td>
431
    	</tr>
432
    	<?
433
		}
434
		}
435
		?>
436
    	<?
437
		$Feld="AP_Daten";
438
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
439
		{
440
		?>
441
    	<tr>
442
      		<td class="links">
443
        	<?
444
			if ($web_rechte[modul_name][tool_name][$Feld])
445
			{
446
				echo $web_rechte[modul_name][tool_name][$Feld];
447
			}
448
			else
449
			{
450
			?>
451
        		Ansprechpartner:
452
        	<? } ?>
453
        	</td>
454
      		<td width="14%" class="rechts">
455
	    		Name:
456
	  		</td>
457
      		<td class="rechts">
458
			<INPUT TYPE=CHECKBOX NAME="auswahl[]" VALUE=AP_Name >
459
      		</td>
460
    	</tr>
461
    	<tr>
462
      		<td width="14%" height="36" class="rechts">
463
	    		Handy:
464
	  		</td>
465
      		<td height="36" class="rechts">
466
			<INPUT TYPE=CHECKBOX NAME="auswahl[]" VALUE=AP_Handy >
467
      		</td>
468
    	</tr>
469
    	<tr>
470
      		<td width="14%" class="rechts">
471
	    		Bemerkung:
472
	  		</td>
473
      		<td class="rechts">
474
			<INPUT TYPE=CHECKBOX NAME="auswahl[]" VALUE=AP_Bemerkung>
475
      		</td>
476
		</tr>
477
    	<?
478
		}
479
		?>
480
    	<?
481
		for ($Notiz_nr=1; $Notiz_nr<=5; $Notiz_nr++)
482
		{
483
		$Feld="Notiz_".$Notiz_nr;
484
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
485
		{
486
		?>
487
    	<tr>
488
      		<td class="links">
489
        	<?
490
			if ($web_rechte[modul_name][tool_name][$Feld])
491
			{
492
				echo $web_rechte[modul_name][tool_name][$Feld];
493
			}
494
			else
495
			{
496
			?>
497
        		Notiz<? echo $Notiz_nr ?>
498
        	<?
499
			}
500
			?>
501
        	</td>
502
      		<td colspan="2" class="rechts">
503
      		<input type=CHECKBOX name="auswahl[]" value= <? $zeile[$Feld]; ?>> </td>
504
    	</tr>
505
    	<?
506
		}
507
		}
508
		?>
509
		<?
510
		$Feld="Vereinsdaten";
511
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
512
		{
513
		?>
514
    	<tr>
515
      		<td class="links">
516
	  			Eintrittsdatum:
517
	  		</td>
518
      		<td colspan="2" class="rechts">
519
			<INPUT TYPE=CHECKBOX NAME="auswahl[]" VALUE=Eintrittsdatum >
520
			</td>
521
    	</tr>
522
    	<tr>
523
      		<td class="links">Austrittsdatum:</td>
524
      		<td colspan="2" class="rechts">
525
			<INPUT TYPE=CHECKBOX NAME="auswahl[]" VALUE=Austrittsdatum >
526
        		Grund:
527
        	<INPUT TYPE=CHECKBOX NAME="auswahl[]" VALUE=Austrittsgrund >
528
			</td>
529
    	</tr>
530
    	<tr>
531
      		<td class="links">
532
				Beitrag bezahlt:
533
			</td>
534
      		<td colspan="2" class="rechts">
535
        	<INPUT TYPE=CHECKBOX NAME="auswahl[]" VALUE=Beitrag_bezahlt >
536
        		&nbsp;&euro;:-Betrag
537
        	<INPUT TYPE=CHECKBOX NAME="auswahl[]" VALUE=Beitrag_Wert>
538
      		</td>
539
    	</tr>
540
    	<tr>
541
      		<td class="links">
542
	  			Beitrag letztes J.:
543
	  		</td>
544
      		<td colspan="2" class="rechts">
545
        	<INPUT TYPE=CHECKBOX NAME="auswahl[]" VALUE=Beitrag_letztes >
546
				&nbsp;&euro;:-Betrag
547
        	<INPUT TYPE=CHECKBOX NAME="auswahl[]" VALUE=Betrag_letzter_Wert></td>
548
    	</tr>
549
    	<tr>
550
      		<td class="links">
551
        		Mitgliedskarte ausgegeben:
552
			</td>
553
      		<td colspan="2" class="rechts"><INPUT TYPE=CHECKBOX NAME="auswahl[]" VALUE=Mitgliedskarte >
554
        	</td>
555
    	</tr>
556
    	<?
557
		}
558
		?>
559
    	<?
560
		$Feld="bemerkung";
561
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
562
		{
563
		?>
564
    	<tr>
565
      		<td class="links">
566
        		Bemerkung
567
      		</td>
568
      		<td width="79%" colspan="2" class="rechts">
569
        	<INPUT TYPE=CHECKBOX NAME="auswahl[]" VALUE=bemerkung >
570
      		</td>
571
    	</tr>
572
    	<?
573
		}
574
		?>
575
		<tr>
576
			<td class="links">
577
		  		Trennerzeichen:
578
			</td>
579
			<td colspan="2" class="rechts">
580
			<input type="radio" name="trenner" value="0">  ; (Semikolon)
581
			<input type="radio" name="trenner" value="1">  | (Pipe)
582
			<input name="trenner" type="radio" value="2" checked> \t (Tabstop)
583
			</td>
584
		</tr>
585
		<tr>
586
			<td class="links" rowspan="3">
587
		  		Texterkennungszeichen:
588
			</td>
589
			<td class="rechts">
590
			<input type="radio" name="txt_kenn" value="0">  ' (einfache Anführungszeichen)
591
			<input type="radio" name="txt_kenn" value="1">  " (doppelte Anführungszeichen)<br>
592
			</td>
593
		</tr>
594
</table>
595
<br>
596
    <input type="submit" name="action" value="Abschicken">
597
    <input type="reset" name="action" value="Verwerfen">
598
</form>