Subversion Repositories wpShopGermany4

Rev

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

Rev 6454 Rev 7130
Line 1... Line 1...
1
<?php
1
<?php
2
 
2
 
3
	/**
3
	/**
4
	 * Template für die Zusammenfassung der Bestellung
4
	 * Template für die Zusammenfassung der Bestellung
5
	 * Anzeige vor dem Abschluß einer Bestellung
5
	 * Anzeige vor dem Abschluss einer Bestellung
6
	 */
6
	 */
7
 
7
 
8
	//wpsg_debug($this->view['basket']);
8
	//wpsg_debug($this->view['basket']);
9
 
9
 
10
?>
10
?>
Line 52... Line 52...
52
		<?php if (wpsg_getStr($this->view['basket']['checkout']['diff_shippingadress']) == '1') { ?>
52
		<?php if (wpsg_getStr($this->view['basket']['checkout']['diff_shippingadress']) == '1') { ?>
53
		<div class="anschrift">
53
		<div class="anschrift">
54
			<div class="subtitle"><?php echo __('Rechnungsanschrift', 'wpsg'); ?>&nbsp;
54
			<div class="subtitle"><?php echo __('Rechnungsanschrift', 'wpsg'); ?>&nbsp;
55
				<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?></span>
55
				<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?></span>
56
			</div>
56
			</div>
-
 
57
			<?php if ($this->view['pflicht']['firma'] != '2') { ?>
57
			<?php if (trim($this->view['basket']['checkout']['firma']) != '') { ?>
58
				<?php if (trim($this->view['basket']['checkout']['firma']) != '') { ?>
58
			<?php echo wpsg_hspc($this->view['basket']['checkout']['firma']); ?><br />
59
					<?php echo wpsg_hspc($this->view['basket']['checkout']['firma']); ?><br />
-
 
60
				<?php } ?>
-
 
61
			<?php } ?>
-
 
62
			<?php if ($this->view['pflicht']['anrede'] != '2') { ?>
-
 
63
				<?php echo wpsg_hspc(($this->view['basket']['checkout']['title'] != '' && $this->view['basket']['checkout']['title'] != '-1')?$arAnrede[$this->view['basket']['checkout']['title']]:''); ?> 		
-
 
64
			<?php } ?>
-
 
65
			<?php if ($this->view['pflicht']['vname'] != '2') { ?>
-
 
66
				<?php echo wpsg_hspc($this->view['basket']['checkout']['vname']); ?> 
-
 
67
			<?php } ?>
-
 
68
			<?php if ($this->view['pflicht']['name'] != '2') { ?>
-
 
69
				<?php echo wpsg_hspc($this->view['basket']['checkout']['name']); ?><br />
59
			<?php } ?>
70
			<?php } ?>
60
			<?php echo wpsg_hspc(($this->view['basket']['checkout']['title'] != '' && $this->view['basket']['checkout']['title'] != '-1')?$arAnrede[$this->view['basket']['checkout']['title']]:''); ?> <?php echo wpsg_hspc($this->view['basket']['checkout']['vname']); ?> <?php echo wpsg_hspc($this->view['basket']['checkout']['name']); ?><br />
71
			<?php if ($this->view['pflicht']['strasse'] != '2') { ?>
61
			<?php echo wpsg_hspc($this->view['basket']['checkout']['strasse']); ?><br />
72
				<?php echo wpsg_hspc($this->view['basket']['checkout']['strasse']); ?><br />
-
 
73
			<?php } ?>
-
 
74
			<?php if ($this->view['pflicht']['plz'] != '2') { ?>
-
 
75
				<?php echo wpsg_hspc($this->view['basket']['checkout']['plz']); ?> 
-
 
76
			<?php } ?>
-
 
77
			<?php if ($this->view['pflicht']['ort'] != '2') { ?>
62
			<?php echo wpsg_hspc($this->view['basket']['checkout']['plz']); ?> <?php echo wpsg_hspc($this->view['basket']['checkout']['ort']); ?><br />
78
				<?php echo wpsg_hspc($this->view['basket']['checkout']['ort']); ?><br />
-
 
79
			<?php }?>
-
 
80
			<?php if ($this->view['pflicht']['land'] != '2') { ?>
63
			<?php if (wpsg_isSizedArray($this->view['basket']['land'])) { ?>
81
				<?php if (wpsg_isSizedArray($this->view['basket']['land'])) { ?>
64
			<?php echo wpsg_hspc($this->view['basket']['land']['name']); ?>
82
					<?php echo wpsg_hspc($this->view['basket']['land']['name']); ?>
-
 
83
				<?php } ?>
65
			<?php } ?>
84
			<?php } ?>
66
		</div>
85
		</div>
67
		<div class="wpsg_clear"></div><br />
86
		<div class="wpsg_clear"></div><br />
68
 
87
 
69
		<div class="anschrift">
88
		<div class="anschrift">
70
			<div class="subtitle"><?php echo __('Lieferanschrift', 'wpsg'); ?>&nbsp;
89
			<div class="subtitle"><?php echo __('Lieferanschrift', 'wpsg'); ?>&nbsp;
71
				<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?></span>
90
				<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?></span>
72
			</div>
91
			</div>
-
 
92
			<?php if ($this->view['pflicht']['firma'] != '2') { ?>
73
			<?php if (trim($this->view['basket']['checkout']['shipping_firma']) != '') { ?>
93
				<?php if (trim($this->view['basket']['checkout']['shipping_firma']) != '') { ?>
74
			<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_firma']); ?><br />
94
					<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_firma']); ?><br />
-
 
95
				<?php } ?>
-
 
96
			<?php } ?>
-
 
97
			<?php if ($this->view['pflicht']['anrede'] != '2') { ?>
-
 
98
				<?php echo (($this->view['basket']['checkout']['shipping_title'] != '' && $this->view['basket']['checkout']['shipping_title'] != '-1')?$arAnrede[$this->view['basket']['checkout']['shipping_title']]:''); ?> 
-
 
99
			<?php } ?>
-
 
100
			<?php if ($this->view['pflicht']['vname'] != '2') { ?>	
-
 
101
				<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_vname']); ?> 
75
			<?php } ?>
102
			<?php } ?>
76
			<?php echo (($this->view['basket']['checkout']['shipping_title'] != '' && $this->view['basket']['checkout']['shipping_title'] != '-1')?$arAnrede[$this->view['basket']['checkout']['shipping_title']]:''); ?> <?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_vname']); ?> <?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_name']); ?><br />
103
			<?php if ($this->view['pflicht']['name'] != '2') { ?>
-
 
104
				<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_name']); ?><br />
-
 
105
			<?php } ?>
-
 
106
			<?php if ($this->view['pflicht']['strasse'] != '2') { ?>
77
			<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_strasse']); ?><br />
107
				<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_strasse']); ?><br />
-
 
108
			<?php } ?>
-
 
109
			<?php if ($this->view['pflicht']['plz'] != '2') { ?>
-
 
110
				<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_plz']); ?> 
-
 
111
			<?php } ?>
-
 
112
			<?php if ($this->view['pflicht']['ort'] != '2') { ?>
78
			<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_plz']); ?> <?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_ort']); ?><br />
113
				<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_ort']); ?><br />
-
 
114
			<?php } ?>
-
 
115
			<?php if ($this->view['pflicht']['land'] != '2') { ?>
79
			<?php if (wpsg_isSizedArray($this->view['basket']['shipping_land'])) { ?>
116
				<?php if (wpsg_isSizedArray($this->view['basket']['shipping_land'])) { ?>
80
			<?php echo wpsg_hspc($this->view['basket']['shipping_land']['name']); ?>
117
					<?php echo wpsg_hspc($this->view['basket']['shipping_land']['name']); ?>
-
 
118
				<?php } ?>
81
			<?php } ?>
119
			<?php } ?>
82
		</div>
120
		</div>
83
		<div class="wpsg_clear"></div><br />
121
		<div class="wpsg_clear"></div><br />
84
 
122
 
85
		<?php } else { ?>
123
		<?php } else { ?>
Line 90... Line 128...
90
				<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?></span>
128
				<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?></span>
91
				<?php } else { ?>
129
				<?php } else { ?>
92
				<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?></span>
130
				<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?></span>
93
				<?php } ?>
131
				<?php } ?>
94
			</div>
132
			</div>
-
 
133
			<?php if ($this->view['pflicht']['firma'] != '2') { ?>
95
			<?php if (trim($this->view['basket']['checkout']['firma']) != '') { ?>
134
				<?php if (trim($this->view['basket']['checkout']['firma']) != '') { ?>
96
			<?php echo wpsg_hspc($this->view['basket']['checkout']['firma']); ?><br />
135
					<?php echo wpsg_hspc($this->view['basket']['checkout']['firma']); ?><br />
-
 
136
				<?php } ?>
97
			<?php } ?>
137
			<?php } ?>
98
			<?php echo wpsg_hspc(($this->view['basket']['checkout']['title'] != '' && $this->view['basket']['checkout']['title'] != '-1')?$arAnrede[$this->view['basket']['checkout']['title']]:''); ?> <?php echo $this->view['basket']['checkout']['vname']; ?> <?php echo $this->view['basket']['checkout']['name']; ?><br />
138
			<?php if ($this->view['pflicht']['anrede'] != '2') { ?>
-
 
139
				<?php echo wpsg_hspc(($this->view['basket']['checkout']['title'] != '' && $this->view['basket']['checkout']['title'] != '-1')?$arAnrede[$this->view['basket']['checkout']['title']]:''); ?>
-
 
140
			<?php } ?> 
-
 
141
			<?php if ($this->view['pflicht']['vname'] != '2') { ?>
-
 
142
				<?php echo $this->view['basket']['checkout']['vname']; ?>
-
 
143
			<?php } ?>
-
 
144
			<?php if ($this->view['pflicht']['name'] != '2') { ?>
-
 
145
				<?php echo $this->view['basket']['checkout']['name']; ?><br />
-
 
146
			<?php } ?>	
-
 
147
			<?php if ($this->view['pflicht']['strasse'] != '2') { ?>
99
			<?php echo wpsg_hspc($this->view['basket']['checkout']['strasse']); ?><br />
148
				<?php echo wpsg_hspc($this->view['basket']['checkout']['strasse']); ?><br />
-
 
149
			<?php } ?>
-
 
150
			<?php if ($this->view['pflicht']['plz'] != '2') { ?>
-
 
151
				<?php echo wpsg_hspc($this->view['basket']['checkout']['plz']); ?>
-
 
152
			<?php } ?>
-
 
153
			<?php if ($this->view['pflicht']['ort'] != '2') { ?>
100
			<?php echo wpsg_hspc($this->view['basket']['checkout']['plz']); ?> <?php echo wpsg_hspc($this->view['basket']['checkout']['ort']); ?><br />
154
				<?php echo wpsg_hspc($this->view['basket']['checkout']['ort']); ?><br />
-
 
155
			<?php } ?>
-
 
156
			<?php if ($this->view['pflicht']['land'] != '2') { ?>
101
			<?php if (wpsg_isSizedArray($this->view['basket']['land'])) { ?>
157
				<?php if (wpsg_isSizedArray($this->view['basket']['land'])) { ?>
102
			<?php echo wpsg_hspc($this->view['basket']['land']['name']); ?>
158
					<?php echo wpsg_hspc($this->view['basket']['land']['name']); ?>
-
 
159
				<?php } ?>
103
			<?php } ?>
160
			<?php } ?>
104
		</div>
161
		</div>
105
		<div class="wpsg_clear"></div><br />
162
		<div class="wpsg_clear"></div><br />
106
		<?php } ?>
163
		<?php } ?>
107
 
164