Subversion Repositories wpShopGermany4

Rev

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

Rev 6671 Rev 6874
Line 121... Line 121...
121
	
121
	
122
	<form method="post" id="form-profil" action="<?php echo $this->callMod('wpsg_mod_kundenverwaltung', 'getProfilURL'); ?>">
122
	<form method="post" id="form-profil" action="<?php echo $this->callMod('wpsg_mod_kundenverwaltung', 'getProfilURL'); ?>">
123
		
123
		
124
		<h2><?php echo __('Kundendaten', 'wpsg'); ?></h2>
124
		<h2><?php echo __('Kundendaten', 'wpsg'); ?></h2>
125
		
125
		
-
 
126
		<?php if ($this->view['pflicht']['firma'] != '2') { ?>
126
		<div class="wpsg_checkoutblock">
127
		<div class="wpsg_checkoutblock">
127
			<label for="wpsg_firma"><?php echo __("Firma", "wpsg"); ?>
128
			<label for="wpsg_firma"><?php echo __("Firma", "wpsg"); ?>
128
			<?php if ($this->view['pflicht']['firma'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
129
			<?php if ($this->view['pflicht']['firma'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
129
			</label>
130
			</label>
130
			<input class="<?php echo (($this->view['pflicht']['firma'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("firma", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_firma" name="wpsg[profil][firma]" value="<?php echo htmlspecialchars($this->view['data']['firma']); ?>" />
131
			<input class="<?php echo (($this->view['pflicht']['firma'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("firma", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_firma" name="wpsg[profil][firma]" value="<?php echo htmlspecialchars($this->view['data']['firma']); ?>" />
131
		</div>
132
		</div>
-
 
133
		<?php } ?>
132
		
134
		
-
 
135
		<?php if ($this->view['pflicht']['anrede'] != '2') { ?>
133
		<div class="wpsg_checkoutblock">		
136
		<div class="wpsg_checkoutblock">		
134
			<label for="wpsg_title"><?php echo __('Anrede', 'wpsg'); ?>
137
			<label for="wpsg_title"><?php echo __('Anrede', 'wpsg'); ?>
135
			<?php if ($this->view['pflicht']['anrede'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:</label>
138
			<?php if ($this->view['pflicht']['anrede'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:</label>
136
			<select class="wpsg_checkout <?php echo ((in_array("title", (array)$this->view['error']))?'wpsg_error':''); ?>" id="wpsg_title" name="wpsg[profil][title]">
139
			<select class="wpsg_checkout <?php echo ((in_array("title", (array)$this->view['error']))?'wpsg_error':''); ?>" id="wpsg_title" name="wpsg[profil][title]">
137
				<option value="-1"><?php echo __('Bitte auswählen', 'wpsg'); ?></option>
140
				<option value="-1"><?php echo __('Bitte auswählen', 'wpsg'); ?></option>
138
				<?php $i=0; foreach (explode("|", $this->view['pflicht']['anrede_auswahl']) as $t) { ?>
141
				<?php $i=0; foreach (explode("|", $this->view['pflicht']['anrede_auswahl']) as $t) { ?>
139
				<option value="<?php echo $i; /*wpsg_hspc($t);*/ $i++; ?>" <?php echo (($this->view['data']['title'] == $t)?'selected="selected"':''); ?>><?php echo $t; ?></option>
142
				<option value="<?php echo $i; /*wpsg_hspc($t);*/ $i++; ?>" <?php echo (($this->view['data']['title'] == $t)?'selected="selected"':''); ?>><?php echo $t; ?></option>
140
				<?php } ?>						
143
				<?php } ?>
141
			</select>		
144
			</select>
142
		</div>
145
		</div>
-
 
146
		<?php } ?>
143
		
147
		
-
 
148
		<?php if ($this->view['pflicht']['vname'] != '2') { ?>
144
		<div class="wpsg_checkoutblock">		
149
		<div class="wpsg_checkoutblock">		
145
			<label for="vname" class="wpsg_checkout"><?php echo __("Vorname", "wpsg"); ?> 
150
			<label for="vname" class="wpsg_checkout"><?php echo __("Vorname", "wpsg"); ?> 
146
			<?php if ($this->view['pflicht']['vname'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
151
			<?php if ($this->view['pflicht']['vname'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
147
			</label>
152
			</label>
148
			<input class="<?php echo (($this->view['pflicht']['vname'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("vname", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="vname" name="wpsg[profil][vname]" value="<?php echo htmlspecialchars($this->view['data']['vname']); ?>" />
153
			<input class="<?php echo (($this->view['pflicht']['vname'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("vname", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="vname" name="wpsg[profil][vname]" value="<?php echo htmlspecialchars($this->view['data']['vname']); ?>" />
149
		</div>
154
		</div>
-
 
155
		<?php } ?>
150
		
156
		
-
 
157
		<?php if ($this->view['pflicht']['name'] != '2') { ?>
151
		<div class="wpsg_checkoutblock">		
158
		<div class="wpsg_checkoutblock">		
152
			<label for="name" class="wpsg_checkout"><?php echo __("Name", "wpsg"); ?>
159
			<label for="name" class="wpsg_checkout"><?php echo __("Name", "wpsg"); ?>
153
			<?php if ($this->view['pflicht']['name'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
160
			<?php if ($this->view['pflicht']['name'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
154
			</label>
161
			</label>
155
			<input class="<?php echo (($this->view['pflicht']['name'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("name", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="name" name="wpsg[profil][name]" value="<?php echo htmlspecialchars($this->view['data']['name']); ?>" />
162
			<input class="<?php echo (($this->view['pflicht']['name'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("name", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="name" name="wpsg[profil][name]" value="<?php echo htmlspecialchars($this->view['data']['name']); ?>" />
156
		</div>
163
		</div>
-
 
164
		<?php } ?>
157
		
165
		
-
 
166
		<?php if ($this->view['pflicht']['geb'] != '2') { ?>
158
		<div class="wpsg_checkoutblock">
167
		<div class="wpsg_checkoutblock">
159
			<label for="geb" class="wpsg_checkout"><?php echo __('Geburtsdatum (Format: TT.MM.JJJJ)', 'wpsg'); ?>
168
			<label for="geb" class="wpsg_checkout"><?php echo __('Geburtsdatum (Format: TT.MM.JJJJ)', 'wpsg'); ?>
160
			<?php if ($this->view['pflicht']['geb'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
169
			<?php if ($this->view['pflicht']['geb'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
161
			</label>
170
			</label>
162
			<input class="wpsg_input_text <?php echo (($this->view['pflicht']['geb'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("geb", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="geb" name="wpsg[profil][geb]" value="<?php echo htmlspecialchars($this->view['data']['geb']); ?>" />
171
			<input class="wpsg_input_text <?php echo (($this->view['pflicht']['geb'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("geb", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="geb" name="wpsg[profil][geb]" value="<?php echo htmlspecialchars($this->view['data']['geb']); ?>" />
163
		</div>
172
		</div>
-
 
173
		<?php } ?>
164
		
174
		
-
 
175
		<?php if ($this->view['pflicht']['email'] != '2') { ?>
165
		<div class="wpsg_checkoutblock">
176
		<div class="wpsg_checkoutblock">
166
			<label for="email" class="wpsg_checkout"><?php echo __("E-Mail Adresse", "wpsg"); ?> 
177
			<label for="email" class="wpsg_checkout"><?php echo __("E-Mail Adresse", "wpsg"); ?> 
167
			<?php if ($this->view['pflicht']['email'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
178
			<?php if ($this->view['pflicht']['email'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
168
			</label>
179
			</label>
169
			<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="email" name="wpsg[profil][email]" value="<?php echo htmlspecialchars($this->view['data']['email']); ?>" />		
180
			<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="email" name="wpsg[profil][email]" value="<?php echo htmlspecialchars($this->view['data']['email']); ?>" />		
170
		</div>
181
		</div>
-
 
182
		<?php } ?>
171
		
183
		
172
		<?php if ($this->view['pflicht']['emailconfirm'] == '1') { ?>
184
		<?php if ($this->view['pflicht']['emailconfirm'] == '1') { ?>
173
		
-
 
174
		<div class="wpsg_checkoutblock">
185
		<div class="wpsg_checkoutblock">
175
			<label for="email" class="wpsg_checkout"><?php echo __("E-Mail Adresse (Wiederholung)", "wpsg"); ?> 
186
			<label for="email" class="wpsg_checkout"><?php echo __("E-Mail Adresse (Wiederholung)", "wpsg"); ?> 
176
			<?php if ($this->view['pflicht']['email'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
187
			<?php if ($this->view['pflicht']['email'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
177
			</label>
188
			</label>
178
			<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[profil][email2]" value="<?php echo htmlspecialchars($this->view['data']['email2']); ?>" />			
189
			<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[profil][email2]" value="<?php echo htmlspecialchars($this->view['data']['email2']); ?>" />			
179
		</div>
190
		</div>
180
		
-
 
181
		<?php } ?>
191
		<?php } ?>
182
		
192
		
-
 
193
		<?php if ($this->view['pflicht']['fax'] != '2') { ?>
183
		<div class="wpsg_checkoutblock">		
194
		<div class="wpsg_checkoutblock">		
184
			<label for="fax" class="wpsg_checkout"><?php echo __("Fax.", "wpsg"); ?>
195
			<label for="fax" class="wpsg_checkout"><?php echo __("Fax.", "wpsg"); ?>
185
			<?php if ($this->view['pflicht']['fax'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
196
			<?php if ($this->view['pflicht']['fax'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
186
			</label>
197
			</label>
187
			<input class="wpsg_input_text <?php echo (($this->view['pflicht']['fax'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("fax", (array)$this->view['error']))?'wpsg_error':''); ?>" type="tel" id="fax" name="wpsg[profil][fax]" value="<?php echo htmlspecialchars($this->view['data']['fax']); ?>" />		
198
			<input class="wpsg_input_text <?php echo (($this->view['pflicht']['fax'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("fax", (array)$this->view['error']))?'wpsg_error':''); ?>" type="tel" id="fax" name="wpsg[profil][fax]" value="<?php echo htmlspecialchars($this->view['data']['fax']); ?>" />		
188
		</div>
199
		</div>
-
 
200
		<?php } ?>
189
		
201
		
-
 
202
		<?php if ($this->view['pflicht']['tel'] != '2') { ?>
190
		<div class="wpsg_checkoutblock">		
203
		<div class="wpsg_checkoutblock">		
191
			<label for="tel" class="wpsg_checkout"><?php echo __("Tel.", "wpsg"); ?>
204
			<label for="tel" class="wpsg_checkout"><?php echo __("Tel.", "wpsg"); ?>
192
			<?php if ($this->view['pflicht']['tel'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
205
			<?php if ($this->view['pflicht']['tel'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
193
			</label>
206
			</label>
194
			<input class="wpsg_input_text <?php echo (($this->view['pflicht']['tel'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("tel", (array)$this->view['error']))?'wpsg_error':''); ?>" type="tel" id="tel" name="wpsg[profil][tel]" value="<?php echo htmlspecialchars($this->view['data']['tel']); ?>" />	
207
			<input class="wpsg_input_text <?php echo (($this->view['pflicht']['tel'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("tel", (array)$this->view['error']))?'wpsg_error':''); ?>" type="tel" id="tel" name="wpsg[profil][tel]" value="<?php echo htmlspecialchars($this->view['data']['tel']); ?>" />	
195
		</div>
208
		</div>
-
 
209
		<?php } ?>
196
				
210
				
-
 
211
		<?php if ($this->view['pflicht']['strasse'] != '2') { ?>
197
		<div class="wpsg_checkoutblock">			
212
		<div class="wpsg_checkoutblock">			
198
			<label for="strasse" class="wpsg_checkout"><?php echo __("Straße Nr.", "wpsg"); ?> 
213
			<label for="strasse" class="wpsg_checkout"><?php echo __("Straße Nr.", "wpsg"); ?> 
199
			<?php if ($this->view['pflicht']['strasse'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
214
			<?php if ($this->view['pflicht']['strasse'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
200
			</label>
215
			</label>
201
			<input class="<?php echo (($this->view['pflicht']['strasse'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("strasse", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="strasse" name="wpsg[profil][strasse]" value="<?php echo htmlspecialchars($this->view['data']['strasse']); ?>" />		
216
			<input class="<?php echo (($this->view['pflicht']['strasse'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("strasse", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="strasse" name="wpsg[profil][strasse]" value="<?php echo htmlspecialchars($this->view['data']['strasse']); ?>" />		
202
		</div>
217
		</div>
-
 
218
		<?php } ?>
203
		
219
		
-
 
220
		<?php if ($this->view['pflicht']['plz'] != '2') { ?>
204
		<div class="wpsg_checkoutblock">		
221
		<div class="wpsg_checkoutblock">		
205
			<label for="plz" class="wpsg_checkout"><?php echo __("Postleitzahl", "wpsg"); ?> 
222
			<label for="plz" class="wpsg_checkout"><?php echo __("Postleitzahl", "wpsg"); ?> 
206
			<?php if ($this->view['pflicht']['plz'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
223
			<?php if ($this->view['pflicht']['plz'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
207
			</label>
224
			</label>
208
			<input class="wpsg_input_text <?php echo (($this->view['pflicht']['plz'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("plz", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="plz" name="wpsg[profil][plz]" value="<?php echo htmlspecialchars($this->view['data']['plz']); ?>" />		
225
			<input class="wpsg_input_text <?php echo (($this->view['pflicht']['plz'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("plz", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="plz" name="wpsg[profil][plz]" value="<?php echo htmlspecialchars($this->view['data']['plz']); ?>" />		
209
		</div>
226
		</div>
-
 
227
		<?php } ?>
210
		
228
		
-
 
229
		<?php if ($this->view['pflicht']['ort'] != '2') { ?>
211
		<div class="wpsg_checkoutblock">		
230
		<div class="wpsg_checkoutblock">		
212
			<label for="ort" class="wpsg_checkout"><?php echo __("Ort", "wpsg"); ?> 
231
			<label for="ort" class="wpsg_checkout"><?php echo __("Ort", "wpsg"); ?> 
213
			<?php if ($this->view['pflicht']['ort'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
232
			<?php if ($this->view['pflicht']['ort'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
214
			</label>
233
			</label>
215
			<input class="<?php echo (($this->view['pflicht']['ort'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("ort", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="ort" name="wpsg[profil][ort]" value="<?php echo htmlspecialchars($this->view['data']['ort']); ?>" />		
234
			<input class="<?php echo (($this->view['pflicht']['ort'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("ort", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="ort" name="wpsg[profil][ort]" value="<?php echo htmlspecialchars($this->view['data']['ort']); ?>" />		
216
		</div>
235
		</div>
-
 
236
		<?php } ?>
217
		
237
		
-
 
238
		<?php if ($this->view['pflicht']['land'] != '2') { ?>
218
		<div class="wpsg_checkoutblock">		
239
		<div class="wpsg_checkoutblock">		
219
			<label for="wpsg_land" class="wpsg_checkout"><?php echo __("Land", "wpsg"); ?> 
240
			<label for="wpsg_land" class="wpsg_checkout"><?php echo __("Land", "wpsg"); ?> 
220
			<?php if ($this->view['pflicht']['land'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
241
			<?php if ($this->view['pflicht']['land'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
221
			</label>					
242
			</label>					
222
			<select name="wpsg[profil][land]" class="wpsg_checkout <?php echo ((in_array("land", (array)$this->view['error']))?'wpsg_error':''); ?>" id="wpsg_land">
243
			<select name="wpsg[profil][land]" class="wpsg_checkout <?php echo ((in_array("land", (array)$this->view['error']))?'wpsg_error':''); ?>" id="wpsg_land">
Line 224... Line 245...
224
				<?php foreach ($this->view['laender'] as $l) { ?>
245
				<?php foreach ($this->view['laender'] as $l) { ?>
225
				<option value="<?php echo $l['id']; ?>" <?php echo (($l['id'] == $this->view['data']['land'])?'selected="selected"':''); ?>><?php echo wpsg_hspc($l['name']); ?></option>
246
				<option value="<?php echo $l['id']; ?>" <?php echo (($l['id'] == $this->view['data']['land'])?'selected="selected"':''); ?>><?php echo wpsg_hspc($l['name']); ?></option>
226
				<?php } ?>
247
				<?php } ?>
227
			</select>		
248
			</select>		
228
		</div>
249
		</div>
-
 
250
		<?php } ?>
229
		
251
		
-
 
252
		<?php if ($this->view['pflicht']['ustidnr'] != '2') { ?>
230
		<div class="wpsg_checkoutblock">		
253
		<div class="wpsg_checkoutblock">		
231
			<label for="wpsg_ustidnr" class="wpsg_checkout"><?php echo __("UStIdNr.", "wpsg"); ?> 
254
			<label for="wpsg_ustidnr" class="wpsg_checkout"><?php echo __("UStIdNr.", "wpsg"); ?> 
232
			<?php if ($this->view['pflicht']['ustidnr'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
255
			<?php if ($this->view['pflicht']['ustidnr'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
233
			</label>
256
			</label>
234
			<input class="<?php echo (($this->view['pflicht']['ustidnr'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("ustidnr", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_ustidnr" name="wpsg[profil][ustidnr]" value="<?php echo htmlspecialchars($this->view['data']['ustidnr']); ?>" />		
257
			<input class="<?php echo (($this->view['pflicht']['ustidnr'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("ustidnr", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_ustidnr" name="wpsg[profil][ustidnr]" value="<?php echo htmlspecialchars($this->view['data']['ustidnr']); ?>" />		
235
		</div>
258
		</div>
-
 
259
		<?php } ?>
236
		
260
		
237
		<?php /* Automatische Einbindung der benutzerdefinierten Felder */ ?>
261
		<?php /* Automatische Einbindung der benutzerdefinierten Felder */ ?>
238
		<?php if ($this->get_option('wpsg_kundenvariablen_show') == '1') { ?>
262
		<?php if ($this->get_option('wpsg_kundenvariablen_show') == '1') { ?>
239
		<?php foreach ((array)$this->view['pflicht']['custom'] as $c_id => $c) { if ($c['show'] != '2') { ?>
263
		<?php foreach ((array)$this->view['pflicht']['custom'] as $c_id => $c) { if ($c['show'] != '2') { ?>
240
		<div class="wpsg_checkoutblock">
264
		<div class="wpsg_checkoutblock">