PageRenderTime 68ms CodeModel.GetById 36ms RepoModel.GetById 1ms app.codeStats 0ms

/temp/compiled/pick_out.dwt.php

https://bitbucket.org/luxi78/fengyu
PHP | 160 lines | 144 code | 16 blank | 0 comment | 18 complexity | a18d3e5d31e2bf3772b91f6dd2c3f58d MD5 | raw file
Possible License(s): LGPL-2.1
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta name="Generator" content="ECSHOP v2.7.0" />
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <meta name="Keywords" content="<?php echo $this->_var['keywords']; ?>" />
  7. <meta name="Description" content="<?php echo $this->_var['description']; ?>" />
  8. <title><?php echo $this->_var['page_title']; ?></title>
  9. <link rel="shortcut icon" href="favicon.ico" />
  10. <link rel="icon" href="animated_favicon.gif" type="image/gif" />
  11. <link href="<?php echo $this->_var['ecs_css_path']; ?>" rel="stylesheet" type="text/css" />
  12. <?php echo $this->smarty_insert_scripts(array('files'=>'common.js,lefttime.js')); ?>
  13. <script type="text/javascript">
  14. <?php $_from = $this->_var['lang']['js_languages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
  15. foreach ($_from AS $this->_var['key'] => $this->_var['item']):
  16. ?>
  17. var <?php echo $this->_var['key']; ?> = "<?php echo $this->_var['item']; ?>";
  18. <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  19. </script>
  20. </head>
  21. <body>
  22. <?php echo $this->fetch('library/page_header.lbi'); ?>
  23. <?php echo $this->fetch('library/search_form.lbi'); ?>
  24. <?php echo $this->fetch('library/ur_here.lbi'); ?>
  25. <div class="block clearfix">
  26. <div id="areaLeft">
  27. <div id="goodsLtop">
  28. <div class="cartBox">
  29. <?php echo $this->fetch('library/cart.lbi'); ?>
  30. </div>
  31. <div class="Gaction clearfix">
  32. <a href="user.php"><?php echo $this->_var['lang']['label_login']; ?></a><a href="user.php?act=register"><?php echo $this->_var['lang']['label_regist']; ?></a>
  33. <a href="user.php?act=profile"><?php echo $this->_var['lang']['label_profile']; ?></a><a href="user.php?act=collection_list"><?php echo $this->_var['lang']['label_collection']; ?></a>
  34. </div>
  35. </div>
  36. <?php echo $this->fetch('library/category_tree.lbi'); ?>
  37. <?php echo $this->fetch('library/promotion_info.lbi'); ?>
  38. <?php echo $this->fetch('library/history.lbi'); ?>
  39. <?php echo $this->fetch('library/goods_article.lbi'); ?>
  40. <?php echo $this->fetch('library/price_grade.lbi'); ?>
  41. <div class="general">
  42. <h1>
  43. <span class="left"></span><span class="right"></span>
  44. <p><?php echo $this->_var['lang']['your_choice']; ?></p>
  45. </h1>
  46. <div class="content">
  47. <div class="contentR vote">
  48. <ul>
  49. <?php $_from = $this->_var['picks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'pick');if (count($_from)):
  50. foreach ($_from AS $this->_var['pick']):
  51. ?>
  52. <li style="word-break:break-all;"><a href="<?php echo $this->_var['pick']['url']; ?>"><?php echo $this->_var['pick']['name']; ?></a></li>
  53. <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  54. </ul>
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. <div id="areaRight">
  60. <div class="general">
  61. <h1>
  62. <span class="left"></span><span class="right"></span>
  63. <p><?php echo $this->_var['lang']['search_result']; ?> (<?php echo $this->_var['count']; ?>)</p>
  64. <?php if ($this->_var['count'] > 5): ?>
  65. <a href="<?php echo $this->_var['url']; ?>"><img src="themes/clothing/images/bnt_more_1.gif" /></a>
  66. <?php endif; ?>
  67. </h1>
  68. <div class="content">
  69. <div class="contentR clearfix">
  70. <?php $_from = $this->_var['pickout_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');$this->_foreach['goods'] = array('total' => count($_from), 'iteration' => 0);
  71. if ($this->_foreach['goods']['total'] > 0):
  72. foreach ($_from AS $this->_var['goods']):
  73. $this->_foreach['goods']['iteration']++;
  74. ?>
  75. <div class="General_goodsBox">
  76. <a href="<?php echo $this->_var['goods']['url']; ?>"><img src="<?php echo $this->_var['goods']['thumb']; ?>" alt="<?php echo htmlspecialchars($this->_var['goods']['name']); ?>" class="goodsimg" /></a><br />
  77. <p><a href="<?php echo $this->_var['goods']['url']; ?>" title="<?php echo htmlspecialchars($this->_var['goods']['name']); ?>"><?php echo $this->_var['goods']['short_style_name']; ?></a></p>
  78. <font class="price">
  79. <?php if ($this->_var['goods']['promote_price'] != ""): ?>
  80. <?php echo $this->_var['goods']['promote_price']; ?>
  81. <?php else: ?>
  82. <?php echo $this->_var['goods']['shop_price']; ?>
  83. <?php endif; ?>
  84. </font>
  85. <div class="action"><a href="javascript:collect(<?php echo $this->_var['goods']['id']; ?>)"><?php echo $this->_var['lang']['btn_collect']; ?></a> | <a href="javascript:addToCart(<?php echo $this->_var['goods']['id']; ?>)"><?php echo $this->_var['lang']['btn_buy']; ?></a></div>
  86. </div>
  87. <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  88. </div>
  89. </div>
  90. </div>
  91. <div class="General_Title clearfix">
  92. <div class="TitleBoxcon"><p><?php echo $this->_var['lang']['pick_out']; ?></p>&nbsp;</div>
  93. </div>
  94. <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
  95. <?php $_from = $this->_var['condition']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'caption');if (count($_from)):
  96. foreach ($_from AS $this->_var['caption']):
  97. ?>
  98. <tr>
  99. <td bgcolor="#e5ecfb">
  100. <img src="themes/clothing/images/note.gif" alt="no alt" />&nbsp;&nbsp;<font class="empty"><?php echo $this->_var['caption']['name']; ?></font></td>
  101. </tr>
  102. <?php $_from = $this->_var['caption']['cat']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'cat');if (count($_from)):
  103. foreach ($_from AS $this->_var['cat']):
  104. ?>
  105. <tr>
  106. <td bgcolor="#ffffff">&nbsp;&nbsp;<strong><?php echo $this->_var['cat']['cat_name']; ?></strong></td>
  107. </tr>
  108. <tr>
  109. <td bgcolor="#ffffff">&nbsp;&nbsp;
  110. <?php $_from = $this->_var['cat']['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'list');if (count($_from)):
  111. foreach ($_from AS $this->_var['list']):
  112. ?>
  113. &nbsp;&nbsp;<a href="<?php echo $this->_var['list']['url']; ?>" class="f6"><?php echo $this->_var['list']['name']; ?></a>
  114. <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  115. </td>
  116. </tr>
  117. <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  118. <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  119. </table>
  120. </div>
  121. </div>
  122. <?php echo $this->fetch('library/page_footer.lbi'); ?>
  123. </body>
  124. <script type="text/javascript">
  125. var gmt_end_time = "<?php echo empty($this->_var['group_buy']['gmt_end_date']) ? '0' : $this->_var['group_buy']['gmt_end_date']; ?>";
  126. <?php $_from = $this->_var['lang']['goods_js']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
  127. foreach ($_from AS $this->_var['key'] => $this->_var['item']):
  128. ?>
  129. var <?php echo $this->_var['key']; ?> = "<?php echo $this->_var['item']; ?>";
  130. <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  131. var btn_buy = "<?php echo $this->_var['lang']['btn_buy']; ?>";
  132. var is_cancel = "<?php echo $this->_var['lang']['is_cancel']; ?>";
  133. var select_spe = "<?php echo $this->_var['lang']['select_spe']; ?>";
  134. onload = function()
  135. {
  136. try
  137. {
  138. onload_leftTime();
  139. }
  140. catch (e)
  141. {}
  142. }
  143. </script>
  144. </html>