Subversion Repositories wpShopGermany4

Rev

Rev 6671 | Rev 7140 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6671 Rev 6874
Line 134... Line 134...
134
	
134
	
135
	<?php echo $this->writeFrontendMessage(); ?>
135
	<?php echo $this->writeFrontendMessage(); ?>
136
	
136
	
137
	<form id="form-step2" method="post" action="<?php echo $this->callMod('wpsg_mod_kundenverwaltung', 'getRegisterURL'); ?>">
137
	<form id="form-step2" method="post" action="<?php echo $this->callMod('wpsg_mod_kundenverwaltung', 'getRegisterURL'); ?>">
138
	
138
	
-
 
139
		<?php if ($this->view['pflicht']['firma'] != '2') { ?>
139
		<div class="wpsg_checkoutblock">
140
		<div class="wpsg_checkoutblock">
140
			<label for="wpsg_firma"><?php echo __("Firma", "wpsg"); ?>
141
			<label for="wpsg_firma"><?php echo __("Firma", "wpsg"); ?>
141
			<?php if ($this->view['pflicht']['firma'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
142
			<?php if ($this->view['pflicht']['firma'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
142
			</label>
143
			</label>
143
			<input class="<?php echo (($this->view['pflicht']['firma'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("firma", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_firma" name="wpsg[register][firma]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['firma'])); ?>" />
144
			<input class="<?php echo (($this->view['pflicht']['firma'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("firma", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_firma" name="wpsg[register][firma]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['firma'])); ?>" />
144
		</div>
145
		</div>
-
 
146
		<?php } ?>
145
	
147
	
-
 
148
		<?php if ($this->view['pflicht']['anrede'] != '2') { ?>
146
		<div class="wpsg_checkoutblock">
149
		<div class="wpsg_checkoutblock">
147
			<label for="wpsg_title"><?php echo __('Anrede', 'wpsg'); ?>
150
			<label for="wpsg_title"><?php echo __('Anrede', 'wpsg'); ?>
148
			<?php if ($this->view['pflicht']['anrede'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:</label>
151
			<?php if ($this->view['pflicht']['anrede'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:</label>
149
			<select class="<?php echo (($this->view['pflicht']['anrede'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("title", (array)$this->view['error']))?'wpsg_error':''); ?>" id="wpsg_title" name="wpsg[register][title]">
152
			<select class="<?php echo (($this->view['pflicht']['anrede'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("title", (array)$this->view['error']))?'wpsg_error':''); ?>" id="wpsg_title" name="wpsg[register][title]">
150
				<option value="-1"><?php echo __('Bitte auswählen', 'wpsg'); ?></option>
153
				<option value="-1"><?php echo __('Bitte auswählen', 'wpsg'); ?></option>
151
				<?php $i=0; foreach (explode("|", $this->view['pflicht']['anrede_auswahl']) as $t) { ?>
154
				<?php $i=0; foreach (explode("|", $this->view['pflicht']['anrede_auswahl']) as $t) { ?>
152
				<option value="<?php echo $i; /*wpsg_hspc($t);*/ $i++; ?>" <?php echo (($this->view['data']['title'] == $t)?'selected="selected"':''); ?>><?php echo $t; ?></option>
155
				<option value="<?php echo $i; /*wpsg_hspc($t);*/ $i++; ?>" <?php echo (($this->view['data']['title'] == $t)?'selected="selected"':''); ?>><?php echo $t; ?></option>
153
			<?php } ?>						
156
			<?php } ?>						
154
			</select>
157
			</select>
155
		</div>
158
		</div>
-
 
159
		<?php } ?>
156
	
160
	
-
 
161
		<?php if ($this->view['pflicht']['vname'] != '2') { ?>
157
		<div class="wpsg_checkoutblock">
162
		<div class="wpsg_checkoutblock">
158
			<label for="vname" class="wpsg_register"><?php echo __("Vorname", "wpsg"); ?>
163
			<label for="vname" class="wpsg_register"><?php echo __("Vorname", "wpsg"); ?>
159
			<?php if ($this->view['pflicht']['vname'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
164
			<?php if ($this->view['pflicht']['vname'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
160
			</label>
165
			</label>
161
			<input class="<?php echo (($this->view['pflicht']['vname'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("vname", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="vname" name="wpsg[register][vname]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['vname'])); ?>" />		
166
			<input class="<?php echo (($this->view['pflicht']['vname'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("vname", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="vname" name="wpsg[register][vname]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['vname'])); ?>" />		
162
		</div>
167
		</div>
-
 
168
		<?php } ?>
163
		
169
		
-
 
170
		<?php if ($this->view['pflicht']['name'] != '2') { ?>
164
		<div class="wpsg_checkoutblock">
171
		<div class="wpsg_checkoutblock">
165
			<label for="name" class="wpsg_register"><?php echo __("Name", "wpsg"); ?>
172
			<label for="name" class="wpsg_register"><?php echo __("Name", "wpsg"); ?>
166
			<?php if ($this->view['pflicht']['name'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
173
			<?php if ($this->view['pflicht']['name'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
167
			</label>
174
			</label>
168
			<input class="<?php echo (($this->view['pflicht']['name'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("name", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="name" name="wpsg[register][name]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['name'])); ?>" />
175
			<input class="<?php echo (($this->view['pflicht']['name'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("name", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="name" name="wpsg[register][name]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['name'])); ?>" />
169
		</div>
176
		</div>
-
 
177
		<?php } ?>
170
		
178
		
-
 
179
		<?php if ($this->view['pflicht']['email'] != '2') { ?>
171
		<div class="wpsg_checkoutblock">
180
		<div class="wpsg_checkoutblock">
172
			<label for="email" class="wpsg_register"><?php echo __("E-Mail Adresse", "wpsg"); ?>
181
			<label for="email" class="wpsg_register"><?php echo __("E-Mail Adresse", "wpsg"); ?>
173
			<?php if ($this->view['pflicht']['email'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
182
			<?php if ($this->view['pflicht']['email'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
174
			</label>
183
			</label>
175
			<input class="wpsg_input_text <?php echo (($this->view['pflicht']['email'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("email", (array)$this->view['error']))?'wpsg_error':''); ?>" type="email" id="email" name="wpsg[register][email]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['email'])); ?>" />
184
			<input class="wpsg_input_text <?php echo (($this->view['pflicht']['email'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("email", (array)$this->view['error']))?'wpsg_error':''); ?>" type="email" id="email" name="wpsg[register][email]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['email'])); ?>" />
176
		</div>
185
		</div>
-
 
186
		<?php } ?>
177
		
187
		
-
 
188
		<?php if ($this->view['pflicht']['email'] != '2') { ?>
178
		<div class="wpsg_checkoutblock">
189
		<div class="wpsg_checkoutblock">
179
			<label for="email" class="wpsg_register"><?php echo __("E-Mail Adresse (Wiederholung)", "wpsg"); ?>
190
			<label for="email" class="wpsg_register"><?php echo __("E-Mail Adresse (Wiederholung)", "wpsg"); ?>
180
			<?php if ($this->view['pflicht']['email'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
191
			<?php if ($this->view['pflicht']['email'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
181
			</label>
192
			</label>
182
			<input class="wpsg_input_text <?php echo (($this->view['pflicht']['email'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("email", (array)$this->view['error']))?'wpsg_error':''); ?>" type="email" id="email2" name="wpsg[register][email2]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['register']['email2'])); ?>" />
193
			<input class="wpsg_input_text <?php echo (($this->view['pflicht']['email'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("email", (array)$this->view['error']))?'wpsg_error':''); ?>" type="email" id="email2" name="wpsg[register][email2]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['register']['email2'])); ?>" />
183
		</div>
194
		</div>
-
 
195
		<?php } ?>
184
		
196
		
185
		<div class="wpsg_checkoutblock">
197
		<div class="wpsg_checkoutblock">
186
			<label for="pwd1" class="wpsg_register"><?php echo __("Passwort", "wpsg"); ?>
198
			<label for="pwd1" class="wpsg_register"><?php echo __("Passwort", "wpsg"); ?>
187
			<?php if (wpsg_getStr($this->view['pflicht']['pwd1']) != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
199
			<?php if (wpsg_getStr($this->view['pflicht']['pwd1']) != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
188
			</label>
200
			</label>
Line 205... Line 217...
205
				<li id="wpsg_pwd_number" class="invalid"><?php echo __('Mit mindestens einer Zahl wird das Passwort noch sicherer','wpsg') ?></li>
217
				<li id="wpsg_pwd_number" class="invalid"><?php echo __('Mit mindestens einer Zahl wird das Passwort noch sicherer','wpsg') ?></li>
206
				<li id="wpsg_pwd_speziell" class="invalid"><?php echo __('Mit mindestens einem Sonderzeichen wird das Passwort noch sicherer','wpsg') ?></li>
218
				<li id="wpsg_pwd_speziell" class="invalid"><?php echo __('Mit mindestens einem Sonderzeichen wird das Passwort noch sicherer','wpsg') ?></li>
207
			</ul>
219
			</ul>
208
		</div>
220
		</div>
209
		
221
		
-
 
222
		<?php if ($this->view['pflicht']['geb'] != '2') { ?>
210
		<div class="wpsg_checkoutblock">
223
		<div class="wpsg_checkoutblock">
211
			<label for="geb" class="wpsg_register"><?php echo __('Geburtsdatum (Format: TT.MM.JJJJ)', 'wpsg'); ?>
224
			<label for="geb" class="wpsg_register"><?php echo __('Geburtsdatum (Format: TT.MM.JJJJ)', 'wpsg'); ?>
212
			<?php if ($this->view['pflicht']['geb'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
225
			<?php if ($this->view['pflicht']['geb'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
213
			</label>
226
			</label>
214
			<input class="wpsg_input_text <?php echo (($this->view['pflicht']['geb'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("geb", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="geb" name="wpsg[register][geb]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['geb'])); ?>" />
227
			<input class="wpsg_input_text <?php echo (($this->view['pflicht']['geb'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("geb", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="geb" name="wpsg[register][geb]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['geb'])); ?>" />
215
		</div>
228
		</div>
-
 
229
		<?php } ?>
216
				
230
		
-
 
231
		<?php if ($this->view['pflicht']['fax'] != '2') { ?>
217
		<div class="wpsg_checkoutblock">
232
		<div class="wpsg_checkoutblock">
218
			<label for="fax" class="wpsg_register"><?php echo __("Fax.", "wpsg"); ?>
233
			<label for="fax" class="wpsg_register"><?php echo __("Fax.", "wpsg"); ?>
219
			<?php if ($this->view['pflicht']['fax'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
234
			<?php if ($this->view['pflicht']['fax'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
220
			</label>
235
			</label>
221
			<input class="wpsg_input_text <?php echo (($this->view['pflicht']['fax'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("fax", (array)$this->view['error']))?'wpsg_error':''); ?>" type="tel" id="fax" name="wpsg[register][fax]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['fax'])); ?>" />
236
			<input class="wpsg_input_text <?php echo (($this->view['pflicht']['fax'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("fax", (array)$this->view['error']))?'wpsg_error':''); ?>" type="tel" id="fax" name="wpsg[register][fax]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['fax'])); ?>" />
222
		</div>
237
		</div>
-
 
238
		<?php } ?>
223
		
239
		
-
 
240
		<?php if ($this->view['pflicht']['tel'] != '2') { ?>
224
		<div class="wpsg_checkoutblock">
241
		<div class="wpsg_checkoutblock">
225
			<label for="tel" class="wpsg_register"><?php echo __("Tel.", "wpsg"); ?>
242
			<label for="tel" class="wpsg_register"><?php echo __("Tel.", "wpsg"); ?>
226
			<?php if ($this->view['pflicht']['tel'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
243
			<?php if ($this->view['pflicht']['tel'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
227
			</label>
244
			</label>
228
			<input class="wpsg_input_text <?php echo (($this->view['pflicht']['tel'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("tel", (array)$this->view['error']))?'wpsg_error':''); ?>" type="tel" id="tel" name="wpsg[register][tel]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['tel'])); ?>" />
245
			<input class="wpsg_input_text <?php echo (($this->view['pflicht']['tel'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("tel", (array)$this->view['error']))?'wpsg_error':''); ?>" type="tel" id="tel" name="wpsg[register][tel]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['tel'])); ?>" />
229
		</div>
246
		</div>
-
 
247
		<?php } ?>
230
	
248
	
-
 
249
		<?php if ($this->view['pflicht']['strasse'] != '2') { ?>
231
		<div class="wpsg_checkoutblock">
250
		<div class="wpsg_checkoutblock">
232
			<label for="strasse" class="wpsg_register"><?php echo __("Straße Nr.", "wpsg"); ?>
251
			<label for="strasse" class="wpsg_register"><?php echo __("Straße Nr.", "wpsg"); ?>
233
			<?php if ($this->view['pflicht']['strasse'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
252
			<?php if ($this->view['pflicht']['strasse'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
234
			</label>
253
			</label>
235
			<input class="<?php echo (($this->view['pflicht']['strasse'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("strasse", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="strasse" name="wpsg[register][strasse]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['strasse'])); ?>" />		
254
			<input class="<?php echo (($this->view['pflicht']['strasse'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("strasse", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="strasse" name="wpsg[register][strasse]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['strasse'])); ?>" />		
236
		</div>
255
		</div>
-
 
256
		<?php } ?>
237
	
257
	
-
 
258
		<?php if ($this->view['pflicht']['plz'] != '2') { ?>
238
		<div class="wpsg_checkoutblock">
259
		<div class="wpsg_checkoutblock">
239
			<label for="plz" class="wpsg_register"><?php echo __("Postleitzahl", "wpsg"); ?>
260
			<label for="plz" class="wpsg_register"><?php echo __("Postleitzahl", "wpsg"); ?>
240
			<?php if ($this->view['pflicht']['plz'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
261
			<?php if ($this->view['pflicht']['plz'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
241
			</label>
262
			</label>
242
			<input class="wpsg_input_text <?php echo (($this->view['pflicht']['plz'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("plz", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="plz" name="wpsg[register][plz]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['plz'])); ?>" />
263
			<input class="wpsg_input_text <?php echo (($this->view['pflicht']['plz'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("plz", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="plz" name="wpsg[register][plz]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['plz'])); ?>" />
243
		</div>
264
		</div>
-
 
265
		<?php } ?>
244
		
266
		
-
 
267
		<?php if ($this->view['pflicht']['ort'] != '2') { ?>
245
		<div class="wpsg_checkoutblock">
268
		<div class="wpsg_checkoutblock">
246
			<label for="ort" class="wpsg_register"><?php echo __("Ort", "wpsg"); ?>
269
			<label for="ort" class="wpsg_register"><?php echo __("Ort", "wpsg"); ?>
247
			<?php if ($this->view['pflicht']['ort'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
270
			<?php if ($this->view['pflicht']['ort'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
248
			</label>
271
			</label>
249
			<input class="<?php echo (($this->view['pflicht']['ort'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("ort", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="ort" name="wpsg[register][ort]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['ort'])); ?>" />
272
			<input class="<?php echo (($this->view['pflicht']['ort'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("ort", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="ort" name="wpsg[register][ort]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['ort'])); ?>" />
250
		</div>
273
		</div>
-
 
274
		<?php } ?>
251
		
275
		
-
 
276
		<?php if ($this->view['pflicht']['land'] != '2') { ?>
252
		<div class="wpsg_checkoutblock">
277
		<div class="wpsg_checkoutblock">
253
			<label for="wpsg_land" class="wpsg_register"><?php echo __("Land", "wpsg"); ?>
278
			<label for="wpsg_land" class="wpsg_register"><?php echo __("Land", "wpsg"); ?>
254
			<?php if ($this->view['pflicht']['land'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
279
			<?php if ($this->view['pflicht']['land'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
255
			</label>					
280
			</label>					
256
			<select name="wpsg[register][land]" class="<?php echo (($this->view['pflicht']['land'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("land", (array)$this->view['error']))?'wpsg_error':''); ?>" id="wpsg_land">
281
			<select name="wpsg[register][land]" class="<?php echo (($this->view['pflicht']['land'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("land", (array)$this->view['error']))?'wpsg_error':''); ?>" id="wpsg_land">
Line 258... Line 283...
258
				<?php foreach ($this->view['laender'] as $l) { ?>
283
				<?php foreach ($this->view['laender'] as $l) { ?>
259
				<option value="<?php echo $l['id']; ?>" <?php echo (($l['id'] == $this->view['data']['land'])?'selected="selected"':(($this->get_option('wpsg_defaultland') == $l['id'])?'selected="selected"':'')); ?>><?php echo wpsg_hspc($l['name']); ?></option>
284
				<option value="<?php echo $l['id']; ?>" <?php echo (($l['id'] == $this->view['data']['land'])?'selected="selected"':(($this->get_option('wpsg_defaultland') == $l['id'])?'selected="selected"':'')); ?>><?php echo wpsg_hspc($l['name']); ?></option>
260
				<?php } ?>
285
				<?php } ?>
261
			</select>
286
			</select>
262
		</div>
287
		</div>
-
 
288
		<?php } ?>
263
		
289
		
-
 
290
		<?php if ($this->view['pflicht']['ustidnr'] != '2') { ?>
264
		<div class="wpsg_checkoutblock">
291
		<div class="wpsg_checkoutblock">
265
			<label for="wpsg_ustidnr" class="wpsg_register"><?php echo __("UStIdNr.", "wpsg"); ?>
292
			<label for="wpsg_ustidnr" class="wpsg_register"><?php echo __("UStIdNr.", "wpsg"); ?>
266
			<?php if ($this->view['pflicht']['ustidnr'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
293
			<?php if ($this->view['pflicht']['ustidnr'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
267
			</label>
294
			</label>
268
			<input class="<?php echo (($this->view['pflicht']['ustidnr'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("ustidnr", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_ustidnr" name="wpsg[register][ustidnr]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['ustidnr'])); ?>" />
295
			<input class="<?php echo (($this->view['pflicht']['ustidnr'] != '1')?'validate[required]':''); ?> wpsg_register <?php echo ((in_array("ustidnr", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_ustidnr" name="wpsg[register][ustidnr]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['data']['ustidnr'])); ?>" />
269
		</div>
296
		</div>
-
 
297
		<?php } ?>
270
		
298
		
271
		<?php /* Automatische Einbindung der benutzerdefinierten Felder */ ?>
299
		<?php /* Automatische Einbindung der benutzerdefinierten Felder */ ?>
272
		<?php if ($this->get_option('wpsg_kundenvariablen_show') == '1') { ?>
300
		<?php if ($this->get_option('wpsg_kundenvariablen_show') == '1') { ?>
273
		<?php foreach ((array)$this->view['pflicht']['custom'] as $c_id => $c) { if ($c['show'] != '2') { ?>
301
		<?php foreach ((array)$this->view['pflicht']['custom'] as $c_id => $c) { if ($c['show'] != '2') { ?>
274
		<div class="wpsg_checkoutblock">
302
		<div class="wpsg_checkoutblock">
275
			<label class="wpsg_cv" for="wpsg_cv_<?php echo $c_id; ?>">
303
			<label class="wpsg_cv" for="wpsg_cv_<?php echo $c_id; ?>">
276
				<?php echo wpsg_hspc(__($c['name'], 'wpsg')); ?><?php if ($c['show'] == '0') { ?> <span class="wpsg_required">*</span><?php } ?>:
304
				<?php echo wpsg_hspc(__($c['name'], 'wpsg')); ?><?php if ($c['show'] == '0') { ?> <span class="wpsg_required">*</span><?php } ?>:
277
				<?php if ($c['typ'] == '0') { // Textfeld ?>
305
				<?php if ($c['typ'] == '0') { // Textfeld ?>
278
				<input class="<?php echo (($c['show'] == '0')?'validate[required]':''); ?> <?php echo ((in_array("custom_".$c_id, (array)$this->view['error']))?'wpsg_error':''); ?>" name="wpsg[register][custom][<?php echo $c_id; ?>]" type="text" value="<?php echo wpsg_hspc($this->view['data']['custom'][$c_id]); ?>" />
306
				<input class="<?php echo (($c['show'] == '0')?'validate[required]':''); ?> <?php echo ((in_array("custom_".$c_id, (array)$this->view['error']))?'wpsg_error':''); ?>" name="wpsg[register][custom][<?php echo $c_id; ?>]" type="text" value="<?php echo wpsg_hspc(@$this->view['data']['custom'][$c_id]); ?>" />
279
				<?php } else if ($c['typ'] == '1') { $arAuswahl = explode("|", $c['auswahl']); // Auswahlfeld ?>
307
				<?php } else if ($c['typ'] == '1') { $arAuswahl = explode("|", $c['auswahl']); // Auswahlfeld ?>
280
				<select class="<?php echo (($c['show'] == '0')?'validate[required]':''); ?> <?php echo ((in_array("custom_".$c_id, (array)$this->view['error']))?'wpsg_error':''); ?>" name="wpsg[register][custom][<?php echo $c_id; ?>]">
308
				<select class="<?php echo (($c['show'] == '0')?'validate[required]':''); ?> <?php echo ((in_array("custom_".$c_id, (array)$this->view['error']))?'wpsg_error':''); ?>" name="wpsg[register][custom][<?php echo $c_id; ?>]">
281
					<option value="-1"><?php echo __('Bitte Auswählen', 'wpsg'); ?></option>
309
					<option value="-1"><?php echo __('Bitte Auswählen', 'wpsg'); ?></option>
282
					<?php foreach ((array)$arAuswahl as $a) { ?>
310
					<?php foreach ((array)$arAuswahl as $a) { ?>
283
					<option value="<?php echo wpsg_hspc($a); ?>" <?php echo (($a == $this->view['data']['custom'][$c_id])?'selected="selected"':''); ?>><?php echo wpsg_hspc($a); ?></option>
311
					<option value="<?php echo wpsg_hspc($a); ?>" <?php echo (($a == wpsg_getStr($this->view['data']['custom'][$c_id]))?'selected="selected"':''); ?>><?php echo wpsg_hspc($a); ?></option>
284
					<?php } ?>
312
					<?php } ?>
285
				</select>
313
				</select>
286
				<?php } else if ($c['typ'] == '2') { // Checkbox ?>
314
				<?php } else if ($c['typ'] == '2') { // Checkbox ?>
287
				<input type="hidden" name="wpsg[register][custom][<?php echo $c_id; ?>]" value="0" />
315
				<input type="hidden" name="wpsg[register][custom][<?php echo $c_id; ?>]" value="0" />
288
				<input id="wpsg_cv_<?php echo $c_id; ?>" class="<?php echo (($c['show'] == '0')?'validate[required]':''); ?> checkbox" type="checkbox" value="1" name="wpsg[register][custom][<?php echo $c_id; ?>]" value="1" <?php echo wpsg_hspc(($this->view['data']['custom'][$c_id] == '1')?'checked="checked"':''); ?> />
316
				<input id="wpsg_cv_<?php echo $c_id; ?>" class="<?php echo (($c['show'] == '0')?'validate[required]':''); ?> checkbox" type="checkbox" value="1" name="wpsg[register][custom][<?php echo $c_id; ?>]" value="1" <?php echo wpsg_hspc((@$this->view['data']['custom'][$c_id] == '1')?'checked="checked"':''); ?> />
289
				<span class="wpsg_clear"></span> 
317
				<span class="wpsg_clear"></span> 
290
				<?php } ?>
318
				<?php } ?>
291
			</label>
319
			</label>
292
		</div>
320
		</div>
293
		<?php } } ?>
321
		<?php } } ?>