/temp/compiled/flow.dwt.php
PHP | 915 lines | 878 code | 35 blank | 2 comment | 148 complexity | b9e664f936a3a0d4e3d754bcda973085 MD5 | raw file
Possible License(s): LGPL-2.1
Large files files are truncated, but you can click here to view the full file
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta name="Generator" content="ECSHOP v2.7.0" />
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="Keywords" content="<?php echo $this->_var['keywords']; ?>" />
- <meta name="Description" content="<?php echo $this->_var['description']; ?>" />
-
- <title><?php echo $this->_var['page_title']; ?></title>
-
- <link rel="shortcut icon" href="favicon.ico" />
- <link rel="icon" href="animated_favicon.gif" type="image/gif" />
- <link href="<?php echo $this->_var['ecs_css_path']; ?>" rel="stylesheet" type="text/css" />
-
- <?php echo $this->smarty_insert_scripts(array('files'=>'common.js,shopping_flow.js')); ?>
- </head>
- <body>
- <?php echo $this->fetch('library/page_header.lbi'); ?>
- <?php echo $this->fetch('library/search_form.lbi'); ?>
- <?php echo $this->fetch('library/ur_here.lbi'); ?>
- <div class="block">
- <?php if ($this->_var['step'] == "cart"): ?>
-
-
- <?php echo $this->smarty_insert_scripts(array('files'=>'showdiv.js')); ?>
- <script type="text/javascript">
- <?php $_from = $this->_var['lang']['password_js']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
- foreach ($_from AS $this->_var['key'] => $this->_var['item']):
- ?>
- var <?php echo $this->_var['key']; ?> = "<?php echo $this->_var['item']; ?>";
- <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
- </script>
- <div class="General_Title clearfix">
- <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['goods_list']; ?></p> </div>
- </div>
- <div class="clearfix groupList flowBox">
- <form id="formCart" name="formCart" method="post" action="flow.php">
- <table width="99%" align="center" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
- <tr>
- <th bgcolor="#ffffff"><?php echo $this->_var['lang']['goods_name']; ?></th>
- <?php if ($this->_var['show_goods_attribute'] == 1): ?>
- <th bgcolor="#ffffff"><?php echo $this->_var['lang']['goods_attr']; ?></th>
- <?php endif; ?>
- <?php if ($this->_var['show_marketprice']): ?>
- <th bgcolor="#ffffff"><?php echo $this->_var['lang']['market_prices']; ?></th>
- <?php endif; ?>
- <th bgcolor="#ffffff"><?php echo $this->_var['lang']['shop_prices']; ?></th>
- <th bgcolor="#ffffff"><?php echo $this->_var['lang']['number']; ?></th>
- <th bgcolor="#ffffff"><?php echo $this->_var['lang']['subtotal']; ?></th>
- <th bgcolor="#ffffff"><?php echo $this->_var['lang']['handle']; ?></th>
- </tr>
- <?php $_from = $this->_var['goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');if (count($_from)):
- foreach ($_from AS $this->_var['goods']):
- ?>
- <tr>
- <td bgcolor="#ffffff" align="center">
- <?php if ($this->_var['goods']['goods_id'] > 0 && $this->_var['goods']['extension_code'] != 'package_buy'): ?>
- <?php if ($this->_var['show_goods_thumb'] == 1): ?>
- <a href="goods.php?id=<?php echo $this->_var['goods']['goods_id']; ?>" target="_blank" class="f6"><?php echo $this->_var['goods']['goods_name']; ?></a>
- <?php elseif ($this->_var['show_goods_thumb'] == 2): ?>
- <a href="goods.php?id=<?php echo $this->_var['goods']['goods_id']; ?>" target="_blank"><img src="<?php echo $this->_var['goods']['goods_thumb']; ?>" border="0" title="<?php echo htmlspecialchars($this->_var['goods']['goods_name']); ?>" /></a>
- <?php else: ?>
- <a href="goods.php?id=<?php echo $this->_var['goods']['goods_id']; ?>" target="_blank"><img src="<?php echo $this->_var['goods']['goods_thumb']; ?>" border="0" title="<?php echo htmlspecialchars($this->_var['goods']['goods_name']); ?>" /></a><br />
- <a href="goods.php?id=<?php echo $this->_var['goods']['goods_id']; ?>" target="_blank" class="f6"><?php echo $this->_var['goods']['goods_name']; ?></a>
- <?php endif; ?>
- <?php if ($this->_var['goods']['parent_id'] > 0): ?>
- <span style="color:#FF0000">?<?php echo $this->_var['lang']['accessories']; ?>?</span>
- <?php endif; ?>
- <?php if ($this->_var['goods']['is_gift'] > 0): ?>
- <span style="color:#FF0000">?<?php echo $this->_var['lang']['largess']; ?>?</span>
- <?php endif; ?>
- <?php elseif ($this->_var['goods']['goods_id'] > 0 && $this->_var['goods']['extension_code'] == 'package_buy'): ?>
- <a href="javascript:void(0)" onclick="setSuitShow(<?php echo $this->_var['goods']['goods_id']; ?>)" class="f6"><?php echo $this->_var['goods']['goods_name']; ?><span style="color:#FF0000;">?<?php echo $this->_var['lang']['remark_package']; ?>?</span></a>
- <div id="suit_<?php echo $this->_var['goods']['goods_id']; ?>" style="display:none">
- <?php $_from = $this->_var['goods']['package_goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'package_goods_list');if (count($_from)):
- foreach ($_from AS $this->_var['package_goods_list']):
- ?>
- <a href="goods.php?id=<?php echo $this->_var['package_goods_list']['goods_id']; ?>" target="_blank" class="f6"><?php echo $this->_var['package_goods_list']['goods_name']; ?></a><br />
- <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
- </div>
-
- <?php else: ?>
- <?php echo $this->_var['goods']['goods_name']; ?>
- <?php endif; ?>
- </td>
- <?php if ($this->_var['show_goods_attribute'] == 1): ?>
- <td bgcolor="#ffffff"><?php echo nl2br($this->_var['goods']['goods_attr']); ?></td>
- <?php endif; ?>
- <?php if ($this->_var['show_marketprice']): ?>
- <td align="right" bgcolor="#ffffff"><?php echo $this->_var['goods']['market_price']; ?></td>
- <?php endif; ?>
- <td align="right" bgcolor="#ffffff"><?php echo $this->_var['goods']['goods_price']; ?></td>
- <td align="right" bgcolor="#ffffff">
- <?php if ($this->_var['goods']['goods_id'] > 0 && $this->_var['goods']['is_gift'] == 0 && $this->_var['goods']['parent_id'] == 0): ?>
- <input type="text" name="goods_number[<?php echo $this->_var['goods']['rec_id']; ?>]" id="goods_number_<?php echo $this->_var['goods']['rec_id']; ?>" value="<?php echo $this->_var['goods']['goods_number']; ?>" size="4" class="inputBg" style="text-align:center " onkeydown="showdiv(this)"/>
- <?php else: ?>
- <?php echo $this->_var['goods']['goods_number']; ?>
- <?php endif; ?>
- </td>
- <td align="right" bgcolor="#ffffff"><?php echo $this->_var['goods']['subtotal']; ?></td>
- <td align="center" bgcolor="#ffffff">
- <a href="javascript:if (confirm('<?php echo $this->_var['lang']['drop_goods_confirm']; ?>')) location.href='flow.php?step=drop_goods&id=<?php echo $this->_var['goods']['rec_id']; ?>'; " class="f6"><?php echo $this->_var['lang']['drop']; ?></a>
- <?php if ($_SESSION['user_id'] > 0): ?>
- <a href="javascript:if (confirm('<?php echo $this->_var['lang']['drop_goods_confirm']; ?>')) location.href='flow.php?step=drop_to_collect&id=<?php echo $this->_var['goods']['rec_id']; ?>'; " class="f6"><?php echo $this->_var['lang']['drop_to_collect']; ?></a>
- <?php endif; ?> </td>
- </tr>
- <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
- </table>
- <table width="99%" align="center" style="margin-top:5px;" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
- <tr>
- <td bgcolor="#ffffff">
- <?php if ($this->_var['discount'] > 0): ?><?php echo $this->_var['your_discount']; ?><br /><?php endif; ?>
- <?php echo $this->_var['shopping_money']; ?><?php if ($this->_var['show_marketprice']): ?>?<?php echo $this->_var['market_price_desc']; ?><?php endif; ?>
- </td>
- <td align="right" bgcolor="#ffffff">
- <input type="button" value="<?php echo $this->_var['lang']['clear_cart']; ?>" class="bnt_number6" onclick="location.href='flow.php?step=clear'" />
- <input name="submit" type="submit" class="bnt_number6" value="<?php echo $this->_var['lang']['update_cart']; ?>" />
- </td>
- </tr>
- </table>
- <input type="hidden" name="step" value="update_cart" />
- </form>
- <table width="99%" align="center" border="0" cellpadding="5" cellspacing="0" bgcolor="#dddddd">
- <tr>
- <td bgcolor="#ffffff"><a href="./"><img src="themes/clothing/images/continue.gif" alt="continue" /></a></td>
- <td bgcolor="#ffffff" align="right"><a href="flow.php?step=checkout"><img src="themes/clothing/images/checkout.gif" alt="checkout" /></a></td>
- </tr>
- </table>
- <?php if ($_SESSION['user_id'] > 0): ?>
- <?php echo $this->smarty_insert_scripts(array('files'=>'transport.js')); ?>
- <script type="text/javascript" charset="utf-8">
- function collect_to_flow(goodsId)
- {
- var goods = new Object();
- var spec_arr = new Array();
- var fittings_arr = new Array();
- var number = 1;
- goods.spec = spec_arr;
- goods.goods_id = goodsId;
- goods.number = number;
- goods.parent = 0;
- Ajax.call('flow.php?step=add_to_cart', 'goods=' + goods.toJSONString(), collect_to_flow_response, 'POST', 'JSON');
- }
- function collect_to_flow_response(result)
- {
- if (result.error > 0)
- {
- // ???????????
- if (result.error == 2)
- {
- if (confirm(result.message))
- {
- location.href = 'user.php?act=add_booking&id=' + result.goods_id;
- }
- }
- else if (result.error == 6)
- {
- if (confirm(result.message))
- {
- location.href = 'goods.php?id=' + result.goods_id;
- }
- }
- else
- {
- alert(result.message);
- }
- }
- else
- {
- location.href = 'flow.php';
- }
- }
- </script>
- </div>
- <?php endif; ?>
-
- <?php if ($this->_var['collection_goods']): ?>
- <div class="General_Title clearfix">
- <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['label_collection']; ?></p> </div>
- </div>
- <div class="clearfix groupList flowBox">
- <table width="99%" align="center" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
- <?php $_from = $this->_var['collection_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');if (count($_from)):
- foreach ($_from AS $this->_var['goods']):
- ?>
- <tr>
- <td bgcolor="#ffffff"><a href="goods.php?id=<?php echo $this->_var['goods']['goods_id']; ?>" class="f6"><?php echo $this->_var['goods']['goods_name']; ?></a></td>
- <td bgcolor="#ffffff" align="center" width="100"><a href="javascript:addToCart(<?php echo $this->_var['goods']['goods_id']; ?>)" class="f6"><?php echo $this->_var['lang']['collect_to_flow']; ?></a></td>
- </tr>
- <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
- </table>
- </div> <?php endif; ?>
-
- <?php endif; ?>
- <?php if ($this->_var['fittings_list']): ?>
- <?php echo $this->smarty_insert_scripts(array('files'=>'transport.js')); ?>
- <script type="text/javascript" charset="utf-8">
- function fittings_to_flow(goodsId,parentId)
- {
- var goods = new Object();
- var spec_arr = new Array();
- var number = 1;
- goods.spec = spec_arr;
- goods.goods_id = goodsId;
- goods.number = number;
- goods.parent = parentId;
- Ajax.call('flow.php?step=add_to_cart', 'goods=' + goods.toJSONString(), fittings_to_flow_response, 'POST', 'JSON');
- }
- function fittings_to_flow_response(result)
- {
- if (result.error > 0)
- {
- // ???????????
- if (result.error == 2)
- {
- if (confirm(result.message))
- {
- location.href = 'user.php?act=add_booking&id=' + result.goods_id;
- }
- }
- else if (result.error == 6)
- {
- if (confirm(result.message))
- {
- location.href = 'goods.php?id=' + result.goods_id;
- }
- }
- else
- {
- alert(result.message);
- }
- }
- else
- {
- location.href = 'flow.php';
- }
- }
- </script>
- <div class="General_Title clearfix">
- <div class="TitleBoxcon" style="overflow:hidden; zoom:1;">
- <p><?php echo $this->_var['lang']['goods_fittings']; ?></p>
- </div>
- </div>
- <div class="clearfix groupList flowBox NewHot">
- <form action="flow.php" method="post">
- <div class="goodsList clearfix">
- <?php $_from = $this->_var['fittings_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'fittings');if (count($_from)):
- foreach ($_from AS $this->_var['fittings']):
- ?>
- <div class="goodsBox" style="margin:5px 12px 0;">
- <a href="<?php echo $this->_var['fittings']['url']; ?>" target="_blank"><img src="<?php echo $this->_var['fittings']['goods_thumb']; ?>" alt="<?php echo htmlspecialchars($this->_var['fittings']['name']); ?>" class="B_blue" /></a><br />
- <a href="<?php echo $this->_var['fittings']['url']; ?>" target="_blank" title="<?php echo htmlspecialchars($this->_var['fittings']['goods_name']); ?>" class="f6"><?php echo htmlspecialchars($this->_var['fittings']['short_name']); ?></a><br />
- <?php echo $this->_var['lang']['fittings_price']; ?><font class="f1"><?php echo $this->_var['fittings']['fittings_price']; ?></font><br />
- <?php echo $this->_var['lang']['parent_name']; ?><?php echo $this->_var['fittings']['parent_short_name']; ?><br />
- <a href="javascript:fittings_to_flow(<?php echo $this->_var['fittings']['goods_id']; ?>,<?php echo $this->_var['fittings']['parent_id']; ?>)" style="color:#07A8CF;"><?php echo $this->_var['lang']['collect_to_flow']; ?></a>
- </div>
- <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
- </div>
- </form>
- </div>
- <?php endif; ?>
-
-
- <?php if ($this->_var['favourable_list']): ?>
- <div class="General_Title clearfix">
- <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['activity_list']; ?></p> </div>
- </div>
- <div class="clearfix groupList flowBox">
- <?php $_from = $this->_var['favourable_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'favourable');if (count($_from)):
- foreach ($_from AS $this->_var['favourable']):
- ?>
- <form action="flow.php" method="post">
- <table width="99%" align="center" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
- <tr>
- <td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['favourable_name']; ?></td>
- <td bgcolor="#ffffff"><strong><?php echo $this->_var['favourable']['act_name']; ?></strong></td>
- </tr>
- <tr>
- <td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['favourable_period']; ?></td>
- <td bgcolor="#ffffff"><?php echo $this->_var['favourable']['start_time']; ?> --- <?php echo $this->_var['favourable']['end_time']; ?></td>
- </tr>
- <tr>
- <td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['favourable_range']; ?></td>
- <td bgcolor="#ffffff"><?php echo $this->_var['lang']['far_ext'][$this->_var['favourable']['act_range']]; ?><br />
- <?php echo $this->_var['favourable']['act_range_desc']; ?></td>
- </tr>
- <tr>
- <td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['favourable_amount']; ?></td>
- <td bgcolor="#ffffff"><?php echo $this->_var['favourable']['formated_min_amount']; ?> --- <?php echo $this->_var['favourable']['formated_max_amount']; ?></td>
- </tr>
- <tr>
- <td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['favourable_type']; ?></td>
- <td bgcolor="#ffffff">
- <span class="STYLE1"><?php echo $this->_var['favourable']['act_type_desc']; ?></span>
- <?php if ($this->_var['favourable']['act_type'] == 0): ?>
- <?php $_from = $this->_var['favourable']['gift']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'gift');if (count($_from)):
- foreach ($_from AS $this->_var['gift']):
- ?><br />
- <input type="checkbox" value="<?php echo $this->_var['gift']['id']; ?>" name="gift[]" />
- <a href="goods.php?id=<?php echo $this->_var['gift']['id']; ?>" target="_blank" class="f6"><?php echo $this->_var['gift']['name']; ?></a> [<?php echo $this->_var['gift']['formated_price']; ?>]
- <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
- <?php endif; ?> </td>
- </tr>
- <?php if ($this->_var['favourable']['available']): ?>
- <tr>
- <td align="right" bgcolor="#ffffff"> </td>
- <td align="center" bgcolor="#ffffff"><input type="image" src="themes/clothing/images/bnt_cat.gif" alt="Add to cart" border="0" /></td>
- </tr>
- <?php endif; ?>
- </table>
- <input type="hidden" name="act_id" value="<?php echo $this->_var['favourable']['act_id']; ?>" />
- <input type="hidden" name="step" value="add_favourable" />
- </form>
- <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
- </div>
- <?php endif; ?>
-
-
- <?php if ($this->_var['step'] == "consignee"): ?>
-
- <?php echo $this->smarty_insert_scripts(array('files'=>'region.js,utils.js')); ?>
- <script type="text/javascript">
- region.isAdmin = false;
- <?php $_from = $this->_var['lang']['flow_js']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
- foreach ($_from AS $this->_var['key'] => $this->_var['item']):
- ?>
- var <?php echo $this->_var['key']; ?> = "<?php echo $this->_var['item']; ?>";
- <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
-
-
- onload = function() {
- if (!document.all)
- {
- document.forms['theForm'].reset();
- }
- }
-
- </script>
-
- <?php $_from = $this->_var['consignee_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('sn', 'consignee');if (count($_from)):
- foreach ($_from AS $this->_var['sn'] => $this->_var['consignee']):
- ?>
- <form action="flow.php" method="post" name="theForm" id="theForm" onsubmit="return checkConsignee(this)">
- <?php echo $this->fetch('library/consignee.lbi'); ?>
- </form>
- <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
- <?php endif; ?>
-
- <?php if ($this->_var['step'] == "checkout"): ?>
- <form action="flow.php" method="post" name="theForm" id="theForm" onsubmit="return checkOrderForm(this)">
- <script type="text/javascript">
- var flow_no_payment = "<?php echo $this->_var['lang']['flow_no_payment']; ?>";
- var flow_no_shipping = "<?php echo $this->_var['lang']['flow_no_shipping']; ?>";
- </script>
- <div class="General_Title clearfix">
- <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['goods_list']; ?></p><?php if ($this->_var['allow_edit_cart']): ?><a href="flow.php"><font class="price"><?php echo $this->_var['lang']['modify']; ?></font></a><?php endif; ?></div>
- </div>
- <div class="clearfix groupList flowBox">
- <table width="99%" align="center" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
- <tr>
- <th bgcolor="#ffffff"><?php echo $this->_var['lang']['goods_name']; ?></th>
- <th bgcolor="#ffffff"><?php echo $this->_var['lang']['goods_attr']; ?></th>
- <?php if ($this->_var['show_marketprice']): ?>
- <th bgcolor="#ffffff"><?php echo $this->_var['lang']['market_prices']; ?></th>
- <?php endif; ?>
- <th bgcolor="#ffffff"><?php if ($this->_var['gb_deposit']): ?><?php echo $this->_var['lang']['deposit']; ?><?php else: ?><?php echo $this->_var['lang']['shop_prices']; ?><?php endif; ?></th>
- <th bgcolor="#ffffff"><?php echo $this->_var['lang']['number']; ?></th>
- <th bgcolor="#ffffff"><?php echo $this->_var['lang']['subtotal']; ?></th>
- </tr>
- <?php $_from = $this->_var['goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');if (count($_from)):
- foreach ($_from AS $this->_var['goods']):
- ?>
- <tr>
- <td bgcolor="#ffffff">
- <?php if ($this->_var['goods']['goods_id'] > 0 && $this->_var['goods']['extension_code'] == 'package_buy'): ?>
- <a href="javascript:void(0)" onclick="setSuitShow(<?php echo $this->_var['goods']['goods_id']; ?>)" class="f6"><?php echo $this->_var['goods']['goods_name']; ?><span style="color:#FF0000;">?<?php echo $this->_var['lang']['remark_package']; ?>?</span></a>
- <div id="suit_<?php echo $this->_var['goods']['goods_id']; ?>" style="display:none">
- <?php $_from = $this->_var['goods']['package_goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'package_goods_list');if (count($_from)):
- foreach ($_from AS $this->_var['package_goods_list']):
- ?>
- <a href="goods.php?id=<?php echo $this->_var['package_goods_list']['goods_id']; ?>" target="_blank" class="f6"><?php echo $this->_var['package_goods_list']['goods_name']; ?></a><br />
- <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
- </div>
- <?php else: ?>
- <a href="goods.php?id=<?php echo $this->_var['goods']['goods_id']; ?>" target="_blank" class="f6"><?php echo $this->_var['goods']['goods_name']; ?></a>
- <?php if ($this->_var['goods']['parent_id'] > 0): ?>
- <span style="color:#FF0000">?<?php echo $this->_var['lang']['accessories']; ?>?</span>
- <?php elseif ($this->_var['goods']['is_gift']): ?>
- <span style="color:#FF0000">?<?php echo $this->_var['lang']['largess']; ?>?</span>
- <?php endif; ?>
- <?php endif; ?>
- </td>
- <td bgcolor="#ffffff"><?php echo nl2br($this->_var['goods']['goods_attr']); ?></td>
- <?php if ($this->_var['show_marketprice']): ?>
- <td align="right" bgcolor="#ffffff"><?php echo $this->_var['goods']['formated_market_price']; ?></td>
- <?php endif; ?>
- <td bgcolor="#ffffff" align="right"><?php echo $this->_var['goods']['formated_goods_price']; ?></td>
- <td bgcolor="#ffffff" align="right"><?php echo $this->_var['goods']['goods_number']; ?></td>
- <td bgcolor="#ffffff" align="right"><?php echo $this->_var['goods']['formated_subtotal']; ?></td>
- </tr>
- <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
- <?php if (! $this->_var['gb_deposit']): ?>
- <tr>
- <td bgcolor="#ffffff" colspan="7">
- <?php if ($this->_var['discount'] > 0): ?><?php echo $this->_var['your_discount']; ?><br /><?php endif; ?>
- <?php echo $this->_var['shopping_money']; ?><?php if ($this->_var['show_marketprice']): ?>?<?php echo $this->_var['market_price_desc']; ?><?php endif; ?>
- </td>
- </tr>
- <?php endif; ?>
- </table>
- </div>
-
- <div class="General_Title clearfix">
- <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['consignee_info']; ?></p><a href="flow.php?step=consignee"><font class="price"><?php echo $this->_var['lang']['modify']; ?></font></a></div>
- </div>
- <div class="clearfix groupList flowBox">
- <table width="99%" align="center" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
- <tr>
- <td bgcolor="#ffffff"><?php echo $this->_var['lang']['consignee_name']; ?>:</td>
- <td bgcolor="#ffffff"><?php echo htmlspecialchars($this->_var['consignee']['consignee']); ?></td>
- <td bgcolor="#ffffff"><?php echo $this->_var['lang']['email_address']; ?>:</td>
- <td bgcolor="#ffffff"><?php echo htmlspecialchars($this->_var['consignee']['email']); ?></td>
- </tr>
- <?php if ($this->_var['total']['real_goods_count'] > 0): ?>
- <tr>
- <td bgcolor="#ffffff"><?php echo $this->_var['lang']['detailed_address']; ?>:</td>
- <td bgcolor="#ffffff"><?php echo htmlspecialchars($this->_var['consignee']['address']); ?> </td>
- <td bgcolor="#ffffff"><?php echo $this->_var['lang']['postalcode']; ?>:</td>
- <td bgcolor="#ffffff"><?php echo htmlspecialchars($this->_var['consignee']['zipcode']); ?></td>
- </tr>
- <?php endif; ?>
- <tr>
- <td bgcolor="#ffffff"><?php echo $this->_var['lang']['phone']; ?>:</td>
- <td bgcolor="#ffffff"><?php echo $this->_var['consignee']['tel']; ?> </td>
- <td bgcolor="#ffffff"><?php echo $this->_var['lang']['backup_phone']; ?>:</td>
- <td bgcolor="#ffffff"><?php echo htmlspecialchars($this->_var['consignee']['mobile']); ?></td>
- </tr>
- <?php if ($this->_var['total']['real_goods_count'] > 0): ?>
- <tr>
- <td bgcolor="#ffffff"><?php echo $this->_var['lang']['sign_building']; ?>:</td>
- <td bgcolor="#ffffff"><?php echo htmlspecialchars($this->_var['consignee']['sign_building']); ?> </td>
- <td bgcolor="#ffffff"><?php echo $this->_var['lang']['deliver_goods_time']; ?>:</td>
- <td bgcolor="#ffffff"><?php echo htmlspecialchars($this->_var['consignee']['best_time']); ?></td>
- </tr>
- <?php endif; ?>
- </table>
- </div>
- <?php if ($this->_var['total']['real_goods_count'] != 0): ?>
- <div class="General_Title clearfix">
- <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['shipping_method']; ?></p> </div>
- </div>
- <div class="clearfix groupList flowBox">
- <table width="99%" align="center" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd" id="shippingTable">
- <tr>
- <th bgcolor="#ffffff" width="5%"> </th>
- <th bgcolor="#ffffff" width="25%"><?php echo $this->_var['lang']['name']; ?></th>
- <th bgcolor="#ffffff"><?php echo $this->_var['lang']['describe']; ?></th>
- <th bgcolor="#ffffff" width="15%"><?php echo $this->_var['lang']['fee']; ?></th>
- <th bgcolor="#ffffff" width="15%"><?php echo $this->_var['lang']['free_money']; ?></th>
- <th bgcolor="#ffffff" width="15%"><?php echo $this->_var['lang']['insure_fee']; ?></th>
- </tr>
- <?php $_from = $this->_var['shipping_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'shipping');if (count($_from)):
- foreach ($_from AS $this->_var['shipping']):
- ?>
- <tr>
- <td bgcolor="#ffffff" valign="top"><input name="shipping" type="radio" value="<?php echo $this->_var['shipping']['shipping_id']; ?>" <?php if ($this->_var['order']['shipping_id'] == $this->_var['shipping']['shipping_id']): ?>checked="true"<?php endif; ?> supportCod="<?php echo $this->_var['shipping']['support_cod']; ?>" insure="<?php echo $this->_var['shipping']['insure']; ?>" onclick="selectShipping(this)" />
- </td>
- <td bgcolor="#ffffff" valign="top"><strong><?php echo $this->_var['shipping']['shipping_name']; ?></strong></td>
- <td bgcolor="#ffffff" valign="top"><?php echo $this->_var['shipping']['shipping_desc']; ?></td>
- <td bgcolor="#ffffff" align="right" valign="top"><?php echo $this->_var['shipping']['format_shipping_fee']; ?></td>
- <td bgcolor="#ffffff" align="right" valign="top"><?php echo $this->_var['shipping']['free_money']; ?></td>
- <td bgcolor="#ffffff" align="right" valign="top"><?php if ($this->_var['shipping']['insure'] != 0): ?><?php echo $this->_var['shipping']['insure_formated']; ?><?php else: ?><?php echo $this->_var['lang']['not_support_insure']; ?><?php endif; ?></td>
- </tr>
- <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
- <tr>
- <td colspan="6" bgcolor="#ffffff" align="right"><label for="ECS_NEEDINSURE">
- <input name="need_insure" id="ECS_NEEDINSURE" type="checkbox" onclick="selectInsure(this.checked)" value="1" <?php if ($this->_var['order']['need_insure']): ?>checked="true"<?php endif; ?> <?php if ($this->_var['insure_disabled']): ?>disabled="true"<?php endif; ?> />
- <?php echo $this->_var['lang']['need_insure']; ?> </label></td>
- </tr>
- </table>
- </div>
- <?php else: ?>
- <input name = "shipping" type="radio" value = "-1" checked="checked" style="display:none"/>
- <?php endif; ?>
- <?php if ($this->_var['is_exchange_goods'] != 1 || $this->_var['total']['real_goods_count'] != 0): ?>
- <div class="General_Title clearfix">
- <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['payment_method']; ?></p> </div>
- </div>
- <div class="clearfix groupList flowBox">
- <table width="99%" align="center" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd" id="paymentTable">
- <tr>
- <th width="5%" bgcolor="#ffffff"> </th>
- <th width="20%" bgcolor="#ffffff"><?php echo $this->_var['lang']['name']; ?></th>
- <th bgcolor="#ffffff"><?php echo $this->_var['lang']['describe']; ?></th>
- <th bgcolor="#ffffff" width="15%"><?php echo $this->_var['lang']['pay_fee']; ?></th>
- </tr>
- <?php $_from = $this->_var['payment_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'payment');if (count($_from)):
- foreach ($_from AS $this->_var['payment']):
- ?>
-
- <tr>
- <td valign="top" bgcolor="#ffffff"><input type="radio" name="payment" value="<?php echo $this->_var['payment']['pay_id']; ?>" <?php if ($this->_var['order']['pay_id'] == $this->_var['payment']['pay_id']): ?>checked<?php endif; ?> isCod="<?php echo $this->_var['payment']['is_cod']; ?>" onclick="selectPayment(this)" <?php if ($this->_var['cod_disabled'] && $this->_var['payment']['is_cod'] == "1"): ?>disabled="true"<?php endif; ?>/></td>
- <td valign="top" bgcolor="#ffffff"><strong><?php echo $this->_var['payment']['pay_name']; ?></strong></td>
- <td valign="top" bgcolor="#ffffff"><?php echo $this->_var['payment']['pay_desc']; ?></td>
- <td align="right" bgcolor="#ffffff" valign="top"><?php echo $this->_var['payment']['format_pay_fee']; ?></td>
- </tr>
- <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
- </table>
- </div>
- <?php else: ?>
- <input name = "payment" type="radio" value = "-1" checked="checked" style="display:none"/>
- <?php endif; ?>
- <?php if ($this->_var['pack_list']): ?>
- <div class="General_Title clearfix">
- <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['goods_package']; ?></p> </div>
- </div>
- <div class="clearfix groupList flowBox">
- <table width="99%" align="center" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd" id="packTable">
- <tr>
- <th width="5%" scope="col" bgcolor="#ffffff"> </th>
- <th width="35%" scope="col" bgcolor="#ffffff"><?php echo $this->_var['lang']['name']; ?></th>
- <th width="22%" scope="col" bgcolor="#ffffff"><?php echo $this->_var['lang']['price']; ?></th>
- <th width="22%" scope="col" bgcolor="#ffffff"><?php echo $this->_var['lang']['free_money']; ?></th>
- <th scope="col" bgcolor="#ffffff"><?php echo $this->_var['lang']['img']; ?></th>
- </tr>
- <tr>
- <td valign="top" bgcolor="#ffffff"><input type="radio" name="pack" value="0" <?php if ($this->_var['order']['pack_id'] == 0): ?>checked="true"<?php endif; ?> onclick="selectPack(this)" /></td>
- <td valign="top" bgcolor="#ffffff"><strong><?php echo $this->_var['lang']['no_pack']; ?></strong></td>
- <td valign="top" bgcolor="#ffffff"> </td>
- <td valign="top" bgcolor="#ffffff"> </td>
- <td valign="top" bgcolor="#ffffff"> </td>
- </tr>
- <?php $_from = $this->_var['pack_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'pack');if (count($_from)):
- foreach ($_from AS $this->_var['pack']):
- ?>
- <tr>
- <td valign="top" bgcolor="#ffffff"><input type="radio" name="pack" value="<?php echo $this->_var['pack']['pack_id']; ?>" <?php if ($this->_var['order']['pack_id'] == $this->_var['pack']['pack_id']): ?>checked="true"<?php endif; ?> onclick="selectPack(this)" />
- </td>
- <td valign="top" bgcolor="#ffffff"><strong><?php echo $this->_var['pack']['pack_name']; ?></strong></td>
- <td valign="top" bgcolor="#ffffff" align="right"><?php echo $this->_var['pack']['format_pack_fee']; ?></td>
- <td valign="top" bgcolor="#ffffff" align="right"><?php echo $this->_var['pack']['format_free_money']; ?></td>
- <td valign="top" bgcolor="#ffffff" align="center">
- <?php if ($this->_var['pack']['pack_img']): ?>
- <a href="data/packimg/<?php echo $this->_var['pack']['pack_img']; ?>" target="_blank" class="f6"><?php echo $this->_var['lang']['view']; ?></a>
- <?php else: ?>
- <?php echo $this->_var['lang']['no']; ?>
- <?php endif; ?>
- </td>
- </tr>
- <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
- </table>
- </div>
- <?php endif; ?>
-
- <?php if ($this->_var['card_list']): ?>
- <div class="General_Title clearfix">
- <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['goods_card']; ?></p> </div>
- </div>
- <div class="clearfix groupList flowBox">
- <table width="99%" align="center" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd" id="cardTable">
- <tr>
- <th bgcolor="#ffffff" width="5%" scope="col"> </th>
- <th bgcolor="#ffffff" width="35%" scope="col"><?php echo $this->_var['lang']['name']; ?></th>
- <th bgcolor="#ffffff" width="22%" scope="col"><?php echo $this->_var['lang']['price']; ?></th>
- <th bgcolor="#ffffff" width="22%" scope="col"><?php echo $this->_var['lang']['free_money']; ?></th>
- <th bgcolor="#ffffff" scope="col"><?php echo $this->_var['lang']['img']; ?></th>
- </tr>
- <tr>
- <td bgcolor="#ffffff" valign="top"><input type="radio" name="card" value="0" <?php if ($this->_var['order']['card_id'] == 0): ?>checked="true"<?php endif; ?> onclick="selectCard(this)" /></td>
- <td bgcolor="#ffffff" valign="top"><strong><?php echo $this->_var['lang']['no_card']; ?></strong></td>
- <td bgcolor="#ffffff" valign="top"> </td>
- <td bgcolor="#ffffff" valign="top"> </td>
- <td bgcolor="#ffffff" valign="top"> </td>
- </tr>
- <?php $_from = $this->_var['card_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'card');if (count($_from)):
- foreach ($_from AS $this->_var['card']):
- ?>
- <tr>
- <td valign="top" bgcolor="#ffffff"><input type="radio" name="card" value="<?php echo $this->_var['card']['card_id']; ?>" <?php if ($this->_var['order']['card_id'] == $this->_var['card']['card_id']): ?>checked="true"<?php endif; ?> onclick="selectCard(this)" />
- </td>
- <td valign="top" bgcolor="#ffffff"><strong><?php echo $this->_var['card']['card_name']; ?></strong></td>
- <td valign="top" align="right" bgcolor="#ffffff"><?php echo $this->_var['card']['format_card_fee']; ?></td>
- <td valign="top" align="right" bgcolor="#ffffff"><?php echo $this->_var['card']['format_free_money']; ?></td>
- <td valign="top" align="center" bgcolor="#ffffff">
- <?php if ($this->_var['card']['card_img']): ?>
- <a href="data/cardimg/<?php echo $this->_var['card']['card_img']; ?>" target="_blank" class="f6"><?php echo $this->_var['lang']['view']; ?></a>
- <?php else: ?>
- <?php echo $this->_var['lang']['no']; ?>
- <?php endif; ?>
- </td>
- </tr>
- <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
- <tr>
- <td bgcolor="#ffffff"></td>
- <td bgcolor="#ffffff" valign="top"><strong><?php echo $this->_var['lang']['bless_note']; ?>:</strong></td>
- <td bgcolor="#ffffff" colspan="3"><textarea name="card_message" cols="60" rows="3" style="width:auto; border:1px solid #ccc;"><?php echo htmlspecialchars($this->_var['order']['card_message']); ?></textarea></td>
- </tr>
- </table>
- </div>
- <?php endif; ?>
-
- <div class="General_Title clearfix">
- <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['other_info']; ?></p> </div>
- </div>
- <div class="clearfix groupList flowBox">
- <table width="99%" align="center" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
- <?php if ($this->_var['allow_use_surplus']): ?>
- <tr>
- <td width="20%" bgcolor="#ffffff"><strong><?php echo $this->_var['lang']['use_surplus']; ?>: </strong></td>
- <td bgcolor="#ffffff"><input name="surplus" type="text" class="border" id="ECS_SURPLUS" size="10" value="<?php echo empty($this->_var['order']['surplus']) ? '0' : $this->_var['order']['surplus']; ?>" onblur="changeSurplus(this.value)" <?php if ($this->_var['disable_surplus']): ?>disabled="disabled"<?php endif; ?> />
- <?php echo $this->_var['lang']['your_surplus']; ?><?php echo empty($this->_var['your_surplus']) ? '0' : $this->_var['your_surplus']; ?> <span id="ECS_SURPLUS_NOTICE" class="notice"></span></td>
- </tr>
- <?php endif; ?>
- <?php if ($this->_var['allow_use_integral']): ?>
- <tr>
- <td bgcolor="#ffffff"><strong><?php echo $this->_var['lang']['use_integral']; ?></strong></td>
- <td bgcolor="#ffffff"><input name="integral" type="text" class="border" id="ECS_INTEGRAL" onblur="changeIntegral(this.value)" value="<?php echo empty($this->_var['order']['integral']) ? '0' : $this->_var['order']['integral']; ?>" size="10" />
- <?php echo $this->_var['lang']['can_use_integral']; ?>:<?php echo empty($this->_var['your_integral']) ? '0' : $this->_var['your_integral']; ?> <?php echo $this->_var['points_name']; ?>?<?php echo $this->_var['lang']['noworder_can_integral']; ?><?php echo $this->_var['order_max_integral']; ?> <?php echo $this->_var['points_name']; ?>. <span id="ECS_INTEGRAL_NOTICE" class="notice"></span></td>
- </tr>
- <?php endif; ?>
- <?php if ($this->_var['allow_use_bonus']): ?>
- <tr>
- <td bgcolor="#ffffff"><strong><?php echo $this->_var['lang']['use_bonus']; ?>:</strong></td>
- <td bgcolor="#ffffff">
- <?php echo $this->_var['lang']['select_bonus']; ?>
- <select name="bonus" onchange="changeBonus(this.value)" id="ECS_BONUS" style="border:1px solid #ccc;">
- <option value="0" <?php if ($this->_var['order']['bonus_id'] == 0): ?>selected<?php endif; ?>><?php echo $this->_var['lang']['please_select']; ?></option>
- <?php $_from = $this->_var['bonus_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'bonus');if (count($_from)):
- foreach ($_from AS $this->_var['bonus']):
- ?>
- <option value="<?php echo $this->_var['bonus']['bonus_id']; ?>" <?php if ($this->_var['order']['bonus_id'] == $this->_var['bonus']['bonus_id']): ?>selected<?php endif; ?>><?php echo $this->_var['bonus']['type_name']; ?>[<?php echo $this->_var['bonus']['bonus_money_formated']; ?>]</option>
- <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
- </select>
-
- <?php echo $this->_var['lang']['input_bonus_no']; ?>
- <input name="bonus_sn" type="text" class="border" size="15" />
- <input name="validate_bonus" type="button" class="bnt_number4" value="<?php echo $this->_var['lang']['validate_bonus']; ?>" onclick="validateBonus(document.forms['theForm'].elements['bonus_sn'].value)" />
- </td>
- </tr>
- <?php endif; ?>
- <?php if ($this->_var['inv_content_list']): ?>
- <tr>
- <td bgcolor="#ffffff"><strong><?php echo $this->_var['lang']['invoice']; ?>:</strong>
- <input name="need_inv" type="checkbox" class="border" id="ECS_NEEDINV" onclick="changeNeedInv()" value="1" <?php if ($this->_var['order']['need_inv']): ?>checked="true"<?php endif; ?> />
- </td>
- <td bgcolor="#ffffff">
- <?php if ($this->_var['inv_type_list']): ?>
- <?php echo $this->_var['lang']['invoice_type']; ?>
- <select name="inv_type" id="ECS_INVTYPE" <?php if ($this->_var['order']['need_inv'] != 1): ?>disabled="true"<?php endif; ?> onchange="changeNeedInv()" class="border">
- <?php echo $this->html_options(array('options'=>$this->_var['inv_type_list'],'selected'=>$this->_var['order']['inv_type'])); ?></select>
- <?php endif; ?>
- <?php echo $this->_var['lang']['invoice_title']; ?>
- <input name="inv_payee" type="text" class="border" id="ECS_INVPAYEE" size="20" <?php if (! $this->_var['order']['need_inv']): ?>disabled="true"<?php endif; ?> value="<?php echo $this->_var['order']['inv_payee']; ?>" onblur="changeNeedInv()" />
- <?php echo $this->_var['lang']['invoice_content']; ?>
- <select name="inv_content" id="ECS_INVCONTENT" <?php if ($this->_var['order']['need_inv'] != 1): ?>disabled="true"<?php endif; ?> onchange="changeNeedInv()" class="border">
-
- <?php echo $this->html_options(array('values'=>$this->_var['inv_content_list'],'output'=>$this->_var['inv_content_list'],'selected'=>$this->_var['order']['inv_content'])); ?>
-
- </select></td>
- </tr>
- <?php endif; ?>
- <tr>
- <td valign="top" bgcolor="#ffffff"><strong><?php echo $this->_var['lang']['order_postscript']; ?>:</strong></td>
- <td bgcolor="#ffffff"><textarea name="postscript" cols="80" rows="3" id="postscript" class="border"><?php echo htmlspecialchars($this->_var['order']['postscript']); ?></textarea></td>
- </tr>
- <?php if ($this->_var['how_oos_list']): ?>
- <tr>
- <td bgcolor="#ffffff"><strong><?php echo $this->_var['lang']['booking_process']; ?>:</strong></td>
- <td bgcolor="#ffffff"><?php $_from = $this->_var['how_oos_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('how_oos_id', 'how_oos_name');if (count($_from)):
- foreach ($_from AS $this->_var['how_oos_id'] => $this->_var['how_oos_name']):
- ?>
- <label>
- <input name="how_oos" type="radio" value="<?php echo $this->_var['how_oos_id']; ?>" <?php if ($this->_var['order']['how_oos'] == $this->_var['how_oos_id']): ?>checked<?php endif; ?> onclick="changeOOS(this)" />
- <?php echo $this->_var['how_oos_name']; ?></label>
- <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
- </td>
- </tr>
- <?php endif; ?>
- </table>
- </div>
-
- <div class="General_Title clearfix">
- <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['fee_total']; ?></p> </div>
- </div>
- <div class="clearfix groupList flowBox">
- <?php echo $this->fetch('library/order_total.lbi'); ?>
- <div align="center" style="margin:8px auto;">
- <input type="image" src="themes/clothing/images/bnt_subOrder.gif" />
- <input type="hidden" name="step" value="done" />
- </div>
- </div>
- </form>
- <?php endif; ?>
-
- <?php if ($this->_var['step'] == "done"): ?>
-
- <div class="Success">
- <h6><?php echo $this->_var['lang']['remember_order_number']; ?>: <font class="empty"><?php echo $this->_var['order']['order_sn']; ?></font></h6>
- <table width="99%" align="center" border="0" cellpadding="15" cellspacing="0" bgcolor="#fff" class="border">
- <tr>
- <td align="center" bgcolor="#FFFFFF">
- <?php if ($this->_var['order']['shipping_name']): ?><?php echo $this->_var['lang']['select_shipping']; ?>: <strong><?php echo $this->_var['order']['shipping_name']; ?></strong>?<?php endif; ?><?php echo $this->_var['lang']['select_payment']; ?>: <strong><?php echo $this->_var['order']['pay_name']; ?></strong>?<?php echo $this->_var['lang']['order_amount']; ?>: <strong><?php echo $this->_var['total']['amount_formated']; ?></strong>
- </td>
- </tr>
- <tr>
- <td align="center" bgcolor="#FFFFFF"><?php echo $this->_var['order']['pay_desc']; ?></td>
- </tr>
- <?php if ($this->_var['pay_online']): ?>
-
- <tr>
- <td align="center" bgcolor="#FFFFFF"><?php echo $this->_var['pay_online']; ?></td>
- </tr>
- <?php endif; ?>
- </table>
- <?php if ($this->_var['virtual_card']): ?>
- <div class="virtual_card border">
- <?php $_from = $this->_var['virtual_card']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'vgoods');if (count($_from)):
- foreach ($_from AS $this->_var['vgoods']):
- ?>
- <div class="empty"><?php echo $this->_var['vgoods']['goods_name']; ?></div>
- <?php $_from = $this->_var['vgoods']['info']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'card');if (count($_from)):
- foreach ($_from AS $this->_var['card']):
- ?>
- <ul>
- <?php if ($this->_var['card']['card_sn']): ?>
- <li>
- <strong><?php echo $this->_var['lang']['card_sn']; ?>:</strong><font class="empty"><?php echo $this->_var['card']['card_sn']; ?></font>
- </li><?php endif; ?>
- <?php if ($this->_var['card']['card_password']): ?>
- <li>
- <strong><?php echo $this->_var['lang']['card_password']; ?>:</strong><font class="empty"><?php echo $this->_var['card']['card_password']; ?></font>
- </li><?php endif; ?>
- <?php if ($this->_var['card']['end_date']): ?>
- <li>
- <strong><?php echo $this->_var['lang']['end_date']; ?>:</strong><?php echo $this->_var['card']['end_date']; ?>
- </li><?php endif; ?>
- </ul>
- <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
- <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
- </div>
- <?php endif; ?>
- <p style="text-align:center; margin:20px auto;"><?php echo $this->_var['order_submit_back']; ?></p>
- </div>
- <?php endif; ?>
- <?php if ($this->_var['step'] == "login"): ?>
- <?php echo $this->smarty_insert_scripts(array('files'=>'utils.js,user.js')); ?>
- <script type="text/javascript">
- <?php $_from = $this->_var['lang']['flow_login_register']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
- foreach ($_from AS $this->_var['key'] => $this->_var['item']):
- ?>
- var <?php echo $this->_var['key']; ?> = "<?php echo $this->_var['item']; ?>";
- <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
-
-
- function checkLoginForm(frm) {
- if (Utils.isEmpty(frm.elements['username'].value)) {
- alert(username_not_null);
- return false;
- }
-
- if (Utils.isEmpty(frm.elements['password'].value)) {
- alert(password_not_null);
- return false;
- }
-
- return true;
- }
-
- function checkSignupForm(frm) {
- if (Utils.isEmpty(frm.elements['username'].value)) {
- alert(username_not_null);
- return false;
- }
-
- if (Utils.trim(frm.elements['username'].value).match(/^\s*$|^c:\\con\\con$|[%,\'\*\"\s\t\<\>\&\\]/))
- {
- alert(username_invalid);
- return false;
- }
-
- if (Utils.isEmpty(frm.elements['email'].value)) {
- alert(email_not_null);
- return false;
- }
-
- if (!Utils.isEmail(frm.elements['email'].value)) {
- alert(email_invalid);
- return false;
- }
-
- if (Utils.isEmpty(frm.elements['password'].value)) {
- alert(password_not_null);
- return false;
- }
-
- if (frm.elements['password'].value.length < 6) {
- alert(password_lt_six);
- return false;
- }
-
- if (frm.elements['password'].value != frm.elements['confirm_password'].value) {
- alert(password_not_same);
- return false;
- }
- return true;
- }
-
- </script>
-
- <div class="flowBox">
- <table width="99%" align="center" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
- <tr>
- <td width="50%" valign="top" bgcolor="#ffffff">
- …
Large files files are truncated, but you can click here to view the full file