Subversion Repositories wpShopGermany4

Rev

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

Rev 7316 Rev 7361
Line 17... Line 17...
17
		
17
		
18
		<div class="checkout_shippingadress" style="display:none;"> 
18
		<div class="checkout_shippingadress" style="display:none;"> 
19
		
19
		
20
			<?php if ($this->view['pflicht']['firma'] != '2') { ?>
20
			<?php if ($this->view['pflicht']['firma'] != '2') { ?>
21
			<div class="wpsg_checkoutblock">
21
			<div class="wpsg_checkoutblock">
22
				<label for="firma" class="wpsg_checkout"><?php echo __("Firma:", "wpsg"); ?>
22
				<label for="shipping_firma" class="wpsg_checkout"><?php echo __("Firma:", "wpsg"); ?>
23
					<?php if ($this->view['pflicht']['firma'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>
23
					<?php if ($this->view['pflicht']['firma'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>
24
				</label>
24
				</label>
25
				<input class="<?php echo (($this->view['pflicht']['firma'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("name", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="shipping_name" name="wpsg[checkout][shipping_firma]" value="<?php echo wpsg_hspc(wpsg_getStr($this->view['basket']['checkout']['shipping_firma'])); ?>" />
25
				<input class="<?php echo (($this->view['pflicht']['firma'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("name", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="shipping_name" name="wpsg[checkout][shipping_firma]" value="<?php echo wpsg_hspc(wpsg_getStr($this->view['basket']['checkout']['shipping_firma'])); ?>" />
26
			</div>
26
			</div>
27
			<?php } ?>
27
			<?php } ?>
28
		
28
		
29
			<?php if ($this->view['pflicht']['anrede'] != '2') { ?>
29
			<?php if ($this->view['pflicht']['anrede'] != '2') { ?>
30
			<div class="wpsg_checkoutblock">
30
			<div class="wpsg_checkoutblock">
31
				<label for="title" class="wpsg_checkout"><?php echo __("Anrede:", "wpsg"); ?>
31
				<label for="shipping_title" class="wpsg_checkout"><?php echo __("Anrede:", "wpsg"); ?>
32
					<?php if ($this->view['pflicht']['anrede'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>
32
					<?php if ($this->view['pflicht']['anrede'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>
33
				</label>
33
				</label>
34
				<select class="<?php echo (($this->view['pflicht']['anrede'] != '1')?'validate[required_shipping]':''); ?> wpsg_checkout <?php echo ((in_array("title", (array)$this->view['error']))?'wpsg_error':''); ?>" type="select" id="shipping_title" name="wpsg[checkout][shipping_title]">
34
				<select class="<?php echo (($this->view['pflicht']['anrede'] != '1')?'validate[required_shipping]':''); ?> wpsg_checkout <?php echo ((in_array("title", (array)$this->view['error']))?'wpsg_error':''); ?>" type="select" id="shipping_title" name="wpsg[checkout][shipping_title]">
35
				<option value="-1"><?php echo __('Bitte auswählen', 'wpsg'); ?></option>
35
				<option value="-1"><?php echo __('Bitte auswählen', 'wpsg'); ?></option>
36
				<?php $i=0; foreach (explode("|", $this->view['pflicht']['anrede_auswahl']) as $t) { ?>
36
				<?php $i=0; foreach (explode("|", $this->view['pflicht']['anrede_auswahl']) as $t) { ?>
Line 40... Line 40...
40
			</div>
40
			</div>
41
			<?php } ?>
41
			<?php } ?>
42
			
42
			
43
			<?php if ($this->view['pflicht']['vname'] != '2') { ?>
43
			<?php if ($this->view['pflicht']['vname'] != '2') { ?>
44
			<div class="wpsg_checkoutblock">
44
			<div class="wpsg_checkoutblock">
45
				<label for="vname" class="wpsg_checkout"><?php echo __("Vorname:", "wpsg"); ?>
45
				<label for="shipping_vname" class="wpsg_checkout"><?php echo __("Vorname:", "wpsg"); ?>
46
					<?php if ($this->view['pflicht']['vname'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>
46
					<?php if ($this->view['pflicht']['vname'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>
47
				</label>
47
				</label>
48
				<input class="<?php echo (($this->view['pflicht']['vname'] != '1')?'validate[required_shipping]':''); ?> wpsg_checkout <?php echo ((in_array("shipping_vname", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="shipping_vname" name="wpsg[checkout][shipping_vname]" value="<?php echo wpsg_hspc(wpsg_getStr($this->view['basket']['checkout']['shipping_vname'])); ?>" />
48
				<input class="<?php echo (($this->view['pflicht']['vname'] != '1')?'validate[required_shipping]':''); ?> wpsg_checkout <?php echo ((in_array("shipping_vname", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="shipping_vname" name="wpsg[checkout][shipping_vname]" value="<?php echo wpsg_hspc(wpsg_getStr($this->view['basket']['checkout']['shipping_vname'])); ?>" />
49
			</div>
49
			</div>
50
			<?php } ?>
50
			<?php } ?>
51
				
51
				
52
			<?php if ($this->view['pflicht']['name'] != '2') { ?>
52
			<?php if ($this->view['pflicht']['name'] != '2') { ?>
53
			<div class="wpsg_checkoutblock">
53
			<div class="wpsg_checkoutblock">
54
				<label for="name" class="wpsg_checkout"><?php echo __("Name:", "wpsg"); ?>
54
				<label for="shipping_name" class="wpsg_checkout"><?php echo __("Name:", "wpsg"); ?>
55
					<?php if ($this->view['pflicht']['name'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
55
					<?php if ($this->view['pflicht']['name'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
56
				</label>
56
				</label>
57
				<input class="<?php echo (($this->view['pflicht']['name'] != '1')?'validate[required_shipping]':''); ?> wpsg_checkout <?php echo ((in_array("shipping_name", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="shipping_name" name="wpsg[checkout][shipping_name]" value="<?php echo wpsg_hspc(wpsg_getStr($this->view['basket']['checkout']['shipping_name'])); ?>" />
57
				<input class="<?php echo (($this->view['pflicht']['name'] != '1')?'validate[required_shipping]':''); ?> wpsg_checkout <?php echo ((in_array("shipping_name", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="shipping_name" name="wpsg[checkout][shipping_name]" value="<?php echo wpsg_hspc(wpsg_getStr($this->view['basket']['checkout']['shipping_name'])); ?>" />
58
			</div>
58
			</div>
59
			<?php } ?>
59
			<?php } ?>
Line 61... Line 61...
61
			<?php if ($this->view['pflicht']['strasse'] != '2') { ?>
61
			<?php if ($this->view['pflicht']['strasse'] != '2') { ?>
62
				
62
				
63
				<?php if ($this->view['pflicht']['wpsg_showNr'] === '1') { ?>
63
				<?php if ($this->view['pflicht']['wpsg_showNr'] === '1') { ?>
64
 
64
 
65
					<div class="wpsg_checkoutblock" id="wpsg_streetnr">
65
					<div class="wpsg_checkoutblock" id="wpsg_streetnr">
66
						<label for="strasse" class="street wpsg_checkout"><?php echo __('Straße:', 'wpsg'); ?>
66
						<label for="shipping_strasse" class="street wpsg_checkout"><?php echo __('Straße:', 'wpsg'); ?>
67
							<?php if ($this->view['pflicht']['strasse'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>
67
							<?php if ($this->view['pflicht']['strasse'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>
68
							<input class="<?php echo (($this->view['pflicht']['strasse'] != '1')?'validate[required_shipping]':''); ?> wpsg_checkout <?php echo ((in_array("shipping_strasse", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="shipping_strasse" name="wpsg[checkout][shipping_strasse]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['basket']['checkout']['shipping_strasse'])); ?>" />
68
							<input class="<?php echo (($this->view['pflicht']['strasse'] != '1')?'validate[required_shipping]':''); ?> wpsg_checkout <?php echo ((in_array("shipping_strasse", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="shipping_strasse" name="wpsg[checkout][shipping_strasse]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['basket']['checkout']['shipping_strasse'])); ?>" />
69
						</label>
69
						</label>
70
						<label for="nr" class="nr wpsg_checkout"><?php echo __('Nr:', 'wpsg'); ?>
70
						<label for="shipping_nr" class="nr wpsg_checkout"><?php echo __('Nr:', 'wpsg'); ?>
71
							<?php if ($this->view['pflicht']['strasse'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>
71
							<?php if ($this->view['pflicht']['strasse'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>
72
							<input class="<?php echo (($this->view['pflicht']['strasse'] != '1')?'validate[required_shipping]':''); ?> wpsg_checkout <?php echo ((in_array("shipping_nr", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="shipping_nr" name="wpsg[checkout][shipping_nr]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['basket']['checkout']['shipping_nr'])); ?>" />
72
							<input class="<?php echo (($this->view['pflicht']['strasse'] != '1')?'validate[required_shipping]':''); ?> wpsg_checkout <?php echo ((in_array("shipping_nr", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="shipping_nr" name="wpsg[checkout][shipping_nr]" value="<?php echo htmlspecialchars(wpsg_getStr($this->view['basket']['checkout']['shipping_nr'])); ?>" />
73
						</label>
73
						</label>
74
					</div>
74
					</div>
75
				
75
				
76
				<?php } else { ?>
76
				<?php } else { ?>
77
 
77
 
78
					<div class="wpsg_checkoutblock">
78
					<div class="wpsg_checkoutblock">
79
						<label for="strasse" class="wpsg_checkout"><?php echo __("Straße, Nr.:", "wpsg"); ?>
79
						<label for="shipping_strasse" class="wpsg_checkout"><?php echo __("Straße, Nr.:", "wpsg"); ?>
80
							<?php if ($this->view['pflicht']['strasse'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>
80
							<?php if ($this->view['pflicht']['strasse'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>
81
						</label>
81
						</label>
82
						<input class="<?php echo (($this->view['pflicht']['strasse'] != '1')?'validate[required_shipping]':''); ?> wpsg_checkout <?php echo ((in_array("shipping_strasse", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="shipping_strasse" name="wpsg[checkout][shipping_strasse]" value="<?php echo wpsg_hspc(wpsg_getStr($this->view['basket']['checkout']['shipping_strasse'])); ?>" />
82
						<input class="<?php echo (($this->view['pflicht']['strasse'] != '1')?'validate[required_shipping]':''); ?> wpsg_checkout <?php echo ((in_array("shipping_strasse", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="shipping_strasse" name="wpsg[checkout][shipping_strasse]" value="<?php echo wpsg_hspc(wpsg_getStr($this->view['basket']['checkout']['shipping_strasse'])); ?>" />
83
					</div>
83
					</div>
84
				
84
				
Line 86... Line 86...
86
				
86
				
87
			<?php } ?>
87
			<?php } ?>
88
						
88
						
89
			<?php if ($this->view['pflicht']['plz'] != '2') { ?>
89
			<?php if ($this->view['pflicht']['plz'] != '2') { ?>
90
			<div class="wpsg_checkoutblock">
90
			<div class="wpsg_checkoutblock">
91
				<label for="plz" class="wpsg_checkout"><?php echo __("Postleitzahl:", "wpsg"); ?> 
91
				<label for="shipping_plz" class="wpsg_checkout"><?php echo __("Postleitzahl:", "wpsg"); ?> 
92
					<?php if ($this->view['pflicht']['plz'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>
92
					<?php if ($this->view['pflicht']['plz'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>
93
				</label>
93
				</label>
94
				<input class="<?php echo (($this->view['pflicht']['plz'] != '1')?'validate[required_shipping]':''); ?> wpsg_checkout <?php echo ((in_array("shipping_plz", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="shipping_plz" name="wpsg[checkout][shipping_plz]" value="<?php echo wpsg_hspc(wpsg_getStr($this->view['basket']['checkout']['shipping_plz'])); ?>" />
94
				<input class="<?php echo (($this->view['pflicht']['plz'] != '1')?'validate[required_shipping]':''); ?> wpsg_checkout <?php echo ((in_array("shipping_plz", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="shipping_plz" name="wpsg[checkout][shipping_plz]" value="<?php echo wpsg_hspc(wpsg_getStr($this->view['basket']['checkout']['shipping_plz'])); ?>" />
95
			</div>
95
			</div>
96
			<?php } ?>
96
			<?php } ?>
97
				
97
				
98
			<?php if ($this->view['pflicht']['ort'] != '2') { ?>
98
			<?php if ($this->view['pflicht']['ort'] != '2') { ?>
99
			<div class="wpsg_checkoutblock">
99
			<div class="wpsg_checkoutblock">
100
				<label for="ort" class="wpshopgermany_checkout"><?php echo __("Ort:", "wpsg"); ?> 
100
				<label for="shipping_ort" class="wpshopgermany_checkout"><?php echo __("Ort:", "wpsg"); ?> 
101
					<?php if ($this->view['pflicht']['ort'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>
101
					<?php if ($this->view['pflicht']['ort'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>
102
				</label>
102
				</label>
103
				<input class="<?php echo (($this->view['pflicht']['ort'] != '1')?'validate[required_shipping]':''); ?> wpsg_checkout <?php echo ((in_array("shipping_ort", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="shipping_ort" name="wpsg[checkout][shipping_ort]" value="<?php echo wpsg_hspc(wpsg_getStr($this->view['basket']['checkout']['shipping_ort'])); ?>" />
103
				<input class="<?php echo (($this->view['pflicht']['ort'] != '1')?'validate[required_shipping]':''); ?> wpsg_checkout <?php echo ((in_array("shipping_ort", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="shipping_ort" name="wpsg[checkout][shipping_ort]" value="<?php echo wpsg_hspc(wpsg_getStr($this->view['basket']['checkout']['shipping_ort'])); ?>" />
104
			</div>
104
			</div>
105
			<?php } ?>
105
			<?php } ?>