} ?> </select> <?php } elseif ($this->_vars['info']['type'] == 'text') { echo tpl_input_textarea(array('class' => "inputstyle x-input", 'rows' => "3", 'cols' => "40", 'id' => "misc_{$this->_vars['key']}", 'name' => "minfo[{$this->_vars['product_id']}][{$this->_vars['infokey']}][value]", 'vtype' => "required"), $this); } else { echo tpl_input_default(array('class' => "inputstyle", 'id' => "misc_{$this->_vars['key']}", 'size' => "30", 'name' => "minfo[{$this->_vars['product_id']}][{$this->_vars['infokey']}][value]", 'type' => 'required'), $this); } ?> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> <?php } ?> <div class="FormWrap checkoutbase" > <table width="100%" cellpadding="0" cellspacing="0"> <tbody> <tr> <td width='100' style='vertical-align:middle;white-space:nowrap;'><h3>收货信息确认</h3></td> <td><?php $_tpl_tpl_vars = $this->_vars; echo $this->_fetch_compile_include("shop:common/receiver.html", array()); $this->_vars = $_tpl_tpl_vars; unset($_tpl_tpl_vars); ?> </td> </tr> </tbody> </table> <table width="100%" cellpadding="0" cellspacing="0"> <tbody> <tr> <td width='100' style='vertical-align:middle;white-space:nowrap;'><h3>配送方式确认<em style="color: red;">*</em></h3></td> <td><div class='division' id='shipping'><div class="notice" >请先“在收货人信息”中选择“收货地区”</div></div></td> </tr> </tbody> </table> <table width="100%" cellpadding="0" cellspacing="0"> <tbody> <tr> <td width='100' style='vertical-align:middle;white-space:nowrap;'><h3>支付方式确认<em style="color: red;">*</em></h3></td> <td> <div class='division'> <div id="_payment_currency" style='padding:5px;'> 货币类型:<?php echo tpl_input_select(array('id' => "payment-cur", 'onchange' => "Order.setCurrency(this,event); Order.paymentChange(this);", 'name' => "payment[currency]", 'rows' => $this->_vars['currencys'], 'valueColumn' => "cur_code", 'labelColumn' => "cur_name", 'value' => $this->_vars['currency'], 'class' => "inputstyle", 'required' => "true"), $this); ?> </div> <div id='payment'> <?php $_tpl_tpl_vars = $this->_vars; echo $this->_fetch_compile_include("shop:common/paymethod.html", array()); $this->_vars = $_tpl_tpl_vars; unset($_tpl_tpl_vars); ?> </div> </div> </td> </tr> </tbody> </table> </div>
?> </div> <?php if ($this->_vars['prototype']['setting']['use_props']) { ?> <h4>扩展属性:</h4> <table border="0" cellpadding="0" cellspacing="0"> <?php if ($this->_vars['prototype']['setting']['use_props']) { ?> <tbody id='goods_type_props'> <?php foreach ((array) $this->_vars['prototype']['props'] as $this->_vars['key'] => $this->_vars['aProp']) { ?> <tr class="prop"> <th><?php echo $this->_vars['aProp']['name']; ?> :</th> <td><?php $this->_vars["p_col"] = "p_{$this->_vars['key']}"; if ($this->_vars['aProp']['type'] == 'select') { echo tpl_input_select(array('name' => "goods[p_{$this->_vars['key']}]", 'nulloption' => "1", 'options' => $this->_vars['aProp']['options'], 'value' => $this->_vars['goods'][$this->_vars['p_col']]), $this); } else { echo tpl_input_default(array('type' => "text", 'name' => "goods[p_{$this->_vars['key']}]", 'maxlength' => "25", 'value' => $this->_vars['goods'][$this->_vars['p_col']]), $this); } ?> </td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> </div>