Subversion-Projekte lars-tiefland.content-management

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?
2
/*
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
?>
11
<form action="export1.php" method="get" name="test">
12
<table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolorlight="#FFFFFF" bordercolordark="#999999">
13
	<tr><td colspan="3" class="links">Benutzer exportieren</td></tr>
14
		<?
15
		$Feld="user";
16
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
17
		{
18
		?>
19
    	<tr>
20
      		      		<td class="links">
21
			<?
22
			if ($web_rechte[modul_name][tool_name][$Feld])
23
			{
24
				$output = $web_rechte[modul_name][tool_name][$Feld];
25
			}
26
			else
27
			{
28
				$output = "Login:";
29
			}
30
				echo $output;
31
			?>        	</td>
32
      		<td colspan="2" class="rechts">
33
		<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=user>    	</tr>
34
    	<?
35
		}
36
		$Feld="userlevel";
37
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
38
		{
39
		?>
40
    	<tr>
41
      		<td class="links">
42
			<?
43
			if ($web_rechte[modul_name][tool_name][$Feld])
44
			{
45
				$output = "Status:";
46
			}
47
			else
48
			{
49
				$output = "Status:";
50
			}
51
				echo $output;
52
			?>        	</td>
53
      		<td colspan="2" class="rechts">
54
		<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=Status>    	</tr>
55
    	<?
56
		}
57
		$Feld="Anrede";
58
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
59
		{
60
		?>
61
    	<tr>
62
      		<td class="links">
63
			<?
64
			if ($web_rechte[modul_name][tool_name][$Feld])
65
			{
66
				$output = $web_rechte[modul_name][tool_name][$Feld];
67
			}
68
			else
69
			{
70
				$output = "Anrede:";
71
			}
72
				echo $output;
73
			?>        	</td>
74
      		<td colspan="2" class="rechts">
75
		<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=Anrede>    	</tr>
76
    	<?
77
		}
78
		?>
79
    	<?
80
		$Feld="Vorname";
81
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
82
		{
83
		?>
84
    	<tr>
85
      		<td class="links">
86
			<?
87
			if ($web_rechte[modul_name][tool_name][$Feld])
88
			{
89
				$output = $web_rechte[modul_name][tool_name][$Feld];
90
			}
91
			else
92
			{
93
				$output = "Vorname:";
94
			}
95
				echo $output;
96
			?>        	</td>
97
      		<td colspan="2" class="rechts">
98
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=Vorname>      		</td>
99
    	</tr>
100
    	<?
101
		}
102
		?>
103
    	<?
104
		$Feld="Name1";
105
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
106
		{
107
		?>
108
    	<tr>
109
      		<td class="links">
110
			<?
111
			if ($web_rechte[modul_name][tool_name][$Feld])
112
			{
113
				$output = $web_rechte[modul_name][tool_name][$Feld];
114
			}
115
			else
116
			{
117
				$output = "Name:";
118
			}
119
				echo $output;
120
			?>        	</td>
121
      		<td colspan="2" class="rechts">
122
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=Name1>      		</td>
123
    	</tr>
124
    	<?
125
		}
126
		?>
127
    	<?
128
		$Feld="Name2";
129
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
130
		{
131
		?>
132
    	<tr>
133
      		<td class="links">
134
			<?
135
			if ($web_rechte[modul_name][tool_name][$Feld])
136
			{
137
				$output = $web_rechte[modul_name][tool_name][$Feld];
138
			}
139
			else
140
			{
141
				$output = "Firma:";
142
			}
143
				echo $output;
144
			?>        	</td>
145
      		<td colspan="2" class="rechts">
146
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=Name2>      		</td>
147
    	</tr>
148
    	<?
149
		}
150
		?>
151
    	<?
152
		$Feld="Datum1";
153
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
154
		{
155
		?>
156
    	<tr>
157
      		<td class="links">
158
			<?
159
			if ($web_rechte[modul_name][tool_name][$Feld])
160
			{
161
				$output = $web_rechte[modul_name][tool_name][$Feld];
162
			}
163
			else
164
			{
165
				$output = "Geburtstag:";
166
			}
167
				echo $output;
168
			?>        	</td>
169
      		<td colspan="2" class="rechts">
170
		<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=Datum1>    	</tr>
171
    	<?
172
		}
173
		?>
174
    	<?
175
		$Feld="Strasse";
176
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
177
		{
178
		?>
179
    	<tr>
180
      		<td class="links">
181
			<?
182
			if ($web_rechte[modul_name][tool_name][$Feld])
183
			{
184
				$output =$output = $web_rechte[modul_name][tool_name][$Feld];
185
			}
186
			else
187
			{
188
				$output = "Strasse:";
189
			}
190
				echo $output;
191
			?>        	</td>
192
      		<td colspan="2" class="rechts">
193
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=Strasse>      		</td>
194
    	</tr>
195
    	<?
196
		}
197
		?>
198
    	<?
199
		$Feld="Hausnummer";
200
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
201
		{
202
		?>
203
    	<tr>
204
      		<td class="links">
205
			<?
206
			if ($web_rechte[modul_name][tool_name][$Feld])
207
			{
208
				$output = $web_rechte[modul_name][tool_name][$Feld];
209
			}
210
			else
211
			{
212
				$output = "Nr.:";
213
			}
214
				echo $output;
215
			?>        	</td>
216
      		<td colspan="2" class="rechts">
217
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=Hausnummer>      		</td>
218
    	</tr>
219
    	<?
220
		}
221
		?>
222
    	<?
223
		$Feld="PLZ_Ort";
224
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
225
		{
226
		?>
227
    	<tr>
228
      		<td height="29" class="links">
229
			<?
230
			if ($web_rechte[modul_name][tool_name][$Feld])
231
			{
232
				$output = $web_rechte[modul_name][tool_name][$Feld];
233
			}
234
			else
235
			{
236
				$output = "Plz:";
237
			}
238
				echo $output;
239
			?>        	</td>
240
      		<td colspan="2" class="rechts">
241
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=PLZ>      		</td>
242
    	</tr>
243
    	<?
244
		}
245
		?>
246
		<?
247
		$Feld="PLZ_Ort";
248
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
249
		{
250
		?>
251
    	<tr>
252
      		<td class="links">   <?
253
			if ($web_rechte[modul_name][tool_name][$Feld])
254
			{
255
			$output = $web_rechte[modul_name][tool_name][$Feld];
256
			}
257
			else
258
			{
259
				$output = "Ort:";
260
			}
261
				echo $output;
262
			?>
263
</td>
264
      		<td colspan="2" class="rechts">
265
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=Ort>      		</td>
266
    	</tr>
267
    	<?
268
		}
269
		?>
270
		<?
271
		$Feld="Land";
272
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
273
		{
274
		?>
275
    	<tr>
276
      		<td class="links">
277
			<?
278
			if ($web_rechte[modul_name][tool_name][$Feld])
279
			{
280
				$output = $web_rechte[modul_name][tool_name][$Feld];
281
			}
282
			else
283
			{
284
				$output = "Funktion:";
285
			}
286
				echo $output;
287
			?>        	</td>
288
      		<td colspan="2" class="rechts">
289
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=Land>      		</td>
290
    	</tr>
291
    	<?
292
		}
293
		?>
294
    	<?
295
		$Feld="Telefon";
296
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
297
		{
298
		?>
299
    	<tr>
300
      		<td class="links">
301
        	<?
302
			if ($web_rechte[modul_name][tool_name][$Feld])
303
			{
304
				$felder = explode(";",$web_rechte[modul_name][tool_name][$Feld]);
305
			}
306
			else
307
			{
308
				$felder=array("Telefon:","privat","beruflich","Handy");
309
 			}
310
 				echo $felder[0];
311
 			?>        	</td>
312
      		<td colspan="2" class="rechts">
313
			<input type=CHECKBOX name="auswahl[<?=urlencode($felder[0]." ".$felder[1]);?>]" value=Telefon> (<?=$felder[1];?>)
314
			<input type=CHECKBOX name="auswahl[<?=urlencode($felder[0]." ".$felder[2]);?>]" value=Telefon1> (<?=$felder[2];?>)
315
			<input type=CHECKBOX name="auswahl[<?=urlencode($felder[0]." ".$felder[3]);?>]" value=Telefon2> (<?=$felder[3];?>)			</td>
316
    	</tr>
317
		<?
318
		}
319
		?>
320
		<?
321
		$Feld="FAX";
322
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
323
		{
324
		?>
325
    	<tr>
326
      		<td class="links">
327
<?
328
	if ($web_rechte[modul_name][tool_name][$Feld])
329
	{
330
		$output = $web_rechte[modul_name][tool_name][$Feld];
331
	}
332
	else
333
	{
334
		$output = "Fax:";
335
	}
336
	echo $output;
337
?>        	</td>
338
      		<td colspan="2" class="rechts">
339
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=FAX>      		</td>
340
    	</tr>
341
    	<?
342
		}
343
		?>
344
    	<?
345
		$Feld="E_Mail";
346
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
347
		{
348
		?>
349
    	<tr>
350
      		<td class="links">
351
<?
352
	if ($web_rechte[modul_name][tool_name][$Feld])
353
	{
354
		$output = $web_rechte[modul_name][tool_name][$Feld];
355
	}
356
	else
357
	{
358
		$output = "E-Mail:";
359
	}
360
	echo $output;
361
?>        	</td>
362
      		<td colspan="2" class="rechts">
363
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=E_Mail>      		</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
			<?
376
			if ($web_rechte[modul_name][tool_name][$Feld])
377
			{
378
				$output = $web_rechte[modul_name][tool_name][$Feld];
379
			}
380
			else
381
			{
382
				$output = "Homepage:";
383
			}
384
				echo $output;
385
			?>        	</td>
386
      		<td colspan="2" class="rechts">
387
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=URL>			</td>
388
    	</tr>
389
    	<?
390
		}
391
		?>
392
    	<?
393
		$Feld="Eigenschaft_1";
394
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
395
		{
396
		?>
397
    	<tr>
398
      		<td class="links">
399
			<?
400
			if ($web_rechte[modul_name][tool_name][$Feld])
401
			{
402
				$output = $web_rechte[modul_name][tool_name][$Feld];
403
			}
404
			else
405
			{
406
				$output = "Mitglied bei S04: ";
407
			}
408
				echo $output;
409
			?>        	</td>
410
      		<td colspan="2" class="rechts">
411
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=Eigenschaft_1>			</td>
412
    	</tr>
413
    	<?
414
		}
415
		?>
416
    	<?
417
		$Feld="Eigenschaft_2";
418
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
419
		{
420
		?>
421
    	<tr>
422
      		<td class="links">
423
			<?
424
			if ($web_rechte[modul_name][tool_name][$Feld])
425
			{
426
				$output = $web_rechte[modul_name][tool_name][$Feld];
427
			}
428
			else
429
			{
430
				$output = "Dauerkarteninhaber";
431
			}
432
				echo $output;
433
			?>        	</td>
434
      		<td colspan="2" class="rechts">
435
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=Eigenschaft_2>			</td>
436
    	</tr>
437
    	<?
438
		}
439
		?>
440
    	<?
441
		$Feld="Eigenschaft_3";
442
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
443
		{
444
		?>
445
    	<tr>
446
      		<td class="links">
447
			<?
448
			if ($web_rechte[modul_name][tool_name][$Feld])
449
			{
450
				$output = $web_rechte[modul_name][tool_name][$Feld];
451
			}
452
			else
453
			{
454
				$output = "Bausteinbesitzer: ";
455
			}
456
				echo $output;
457
			?>        	</td>
458
      		<td colspan="2" class="rechts">
459
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=Eigenschaft_3>			</td>
460
    	</tr>
461
    	<?
462
		}
463
		?>
464
    	<?
465
		$Feld="AP_Daten";
466
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
467
		{
468
		?>
469
    	<tr>
470
      		<td class="links">
471
        	<?
472
			if ($web_rechte[modul_name][tool_name][$Feld])
473
			{
474
				echo $web_rechte[modul_name][tool_name][$Feld];
475
			}
476
			else
477
			{
478
			?>
479
        		Ansprechpartner:
480
        	<? } ?>        	</td>
481
      		<td width="14%" class="rechts">
482
	    		Name:	  		</td>
483
      		<td class="rechts">
484
			<INPUT TYPE=CHECKBOX NAME="auswahl[]" VALUE=AP_Name>      		</td>
485
    	</tr>
486
    	<tr>
487
      		<td width="14%" height="36" class="rechts">
488
	    		Handy:	  		</td>
489
      		<td height="36" class="rechts">
490
			<INPUT TYPE=CHECKBOX NAME="auswahl[]" VALUE=AP_Handy>      		</td>
491
    	</tr>
492
    	<tr>
493
      		<td width="14%" class="rechts">
494
	    		Bemerkung:	  		</td>
495
      		<td class="rechts">
496
			<INPUT TYPE=CHECKBOX NAME="auswahl[]" VALUE=AP_Bemerkung>      		</td>
497
		</tr>
498
    	<?
499
		}
500
		?>
501
		<?
502
		$Feld="Vereinsdaten";
503
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
504
		{
505
		?>
506
    	<tr>
507
      		<td class="links">
508
			<?
509
			if ($web_rechte[modul_name][tool_name][$Feld])
510
			{
511
				$output = $web_rechte[modul_name][tool_name][$Feld];
512
			}
513
			else
514
			{
515
				$output = "Eintrittsdatum:";
516
			}
517
				echo $output;
518
			?>        	</td>
519
      		<td colspan="2" class="rechts">
520
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=Eintrittsdatum>			</td>
521
		</tr>
522
		<tr>
523
      		<td class="links">
524
			<?
525
			if ($web_rechte[modul_name][tool_name][$Feld])
526
			{
527
				$output = $web_rechte[modul_name][tool_name][$Feld];
528
			}
529
			else
530
			{
531
				$output = "Austrittsdatum:";
532
			}
533
				echo $output;
534
			?>        	</td>
535
      		<td colspan="2" class="rechts">
536
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=Austrittsdatum>			</td>
537
		</tr>
538
		<tr>
539
      		<td class="links">
540
			<?
541
			if ($web_rechte[modul_name][tool_name][$Feld])
542
			{
543
				$output = $web_rechte[modul_name][tool_name][$Feld];
544
			}
545
			else
546
			{
547
				$output = "Beitrag bezahlt:";
548
			}
549
				echo $output;
550
			?>        	</td>
551
      		<td colspan="2" class="rechts">
552
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=Beitrag_bezahlt>
553
						<?
554
			if ($web_rechte[modul_name][tool_name][$Feld])
555
			{
556
				$output = $web_rechte[modul_name][tool_name][$Feld];
557
			}
558
			else
559
			{
560
				$output = "in Euro:";
561
			}
562
				echo $output;
563
			?>
564
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=Beitrag_Wert>			</td>
565
		</tr>
566
	    <tr>
567
      		<td class="links">
568
			<?
569
			if ($web_rechte[modul_name][tool_name][$Feld])
570
			{
571
				$output = $web_rechte[modul_name][tool_name][$Feld];
572
			}
573
			else
574
			{
575
				$output = "Beitrag letztes Jahr:";
576
			}
577
				echo $output;
578
			?>        	</td>
579
      		<td colspan="2" class="rechts">
580
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=Beitrag_letztes>
581
			<?
582
			if ($web_rechte[modul_name][tool_name][$Feld])
583
			{
584
				$output = $web_rechte[modul_name][tool_name][$Feld];
585
			}
586
			else
587
			{
588
				$output = "Euro - Betrag:";
589
			}
590
				echo $output;
591
			?>
592
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=Betrag_letzter_Wert>			</td>
593
		</tr>
594
        <tr>
595
      		<td class="links">
596
			<?
597
			if ($web_rechte[modul_name][tool_name][$Feld])
598
			{
599
				$output = $web_rechte[modul_name][tool_name][$Feld];
600
			}
601
			else
602
			{
603
				$output = "Mitgliedskarte ausgegeben:";
604
			}
605
				echo $output;
606
			?>        	</td>
607
      		<td colspan="2" class="rechts">
608
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=Mitgliedskarte>			</td>
609
    	</tr>
610
    	<?
611
		}
612
		?>
613
    	<?
614
		$Feld="bemerkung";
615
		if (isset($user_rechte[modul_name][tool_name][$Feld]))
616
		{
617
		?>
618
    	<tr>
619
      		<td class="links">
620
			<?
621
			if ($web_rechte[modul_name][tool_name][$Feld])
622
			{
623
				$output = $web_rechte[modul_name][tool_name][$Feld];
624
			}
625
			else
626
			{
627
				$output = "Bemerkung:";
628
			}
629
				echo $output;
630
			?>        	</td>
631
      		<td colspan="2" class="rechts">
632
			<INPUT TYPE=CHECKBOX NAME="auswahl[<?=urlencode($output);?>]" VALUE=bemerkung>			</td>
633
    	</tr>
634
    	<?
635
		}
636
		?>
637
 		<tr>
638
			<td class="links">
639
		  		Trennerzeichen:			</td>
640
			<td colspan="2" class="rechts">
641
			<input type="radio" name="trenner" value="0">  ; (Semikolon)
642
			<input type="radio" name="trenner" value="1">  | (Pipe)
643
			<input name="trenner" type="radio" value="2" checked> \t (Tabstop)			</td>
644
		</tr>
645
		<tr>
646
			<td class="links">
647
		  		Texterkennungszeichen:			</td>
648
			<td class="rechts">
649
			<input type="radio" name="txt_kenn" value="0">  ' (einfache Anführungszeichen)
650
			<input type="radio" name="txt_kenn" value="1" checked>  " (doppelte Anführungszeichen)<br>			</td>
651
		</tr>
652
	<tr><td colspan="3" class="links" align="right">
653
		<input type="submit" name="action" value="Abschicken">
654
	    <input type="reset" name="action" value="Verwerfen">
655
</td></tr>
656
</table>
657
</form>