PageRenderTime 52ms CodeModel.GetById 22ms RepoModel.GetById 1ms app.codeStats 0ms

/PhpOnAzure.Web/data/Smarty/templates/sphone/shopping/confirm.tpl

http://eccubeonwaz.codeplex.com
Smarty Template | 288 lines | 243 code | 26 blank | 19 comment | 19 complexity | 889b87b46fc2f4efb62b5967aa2674d7 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1
  1. <!--{*
  2. * This file is part of EC-CUBE
  3. *
  4. * Copyright(c) 2000-2011 LOCKON CO.,LTD. All Rights Reserved.
  5. *
  6. * http://www.lockon.co.jp/
  7. *
  8. * This program is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU General Public License
  10. * as published by the Free Software Foundation; either version 2
  11. * of the License, or (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program; if not, write to the Free Software
  20. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  21. *}-->
  22. <script>//<![CDATA[
  23. var send = true;
  24. function fnCheckSubmit() {
  25. if(send) {
  26. send = false;
  27. return true;
  28. } else {
  29. alert("????????????????????");
  30. return false;
  31. }
  32. }
  33. //???????????/???
  34. var speed = 1000; //???????????????
  35. var stateCartconfirm = 0;
  36. function fnCartconfirmToggle(areaEl, imgEl) {
  37. areaEl.toggle(speed);
  38. if (stateCartconfirm == 0) {
  39. $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_plus.png");
  40. stateCartconfirm = 1;
  41. } else {
  42. $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_minus.png");
  43. stateCartconfirm = 0
  44. }
  45. }
  46. //??????????/???
  47. var stateDelivconfirm = 0;
  48. function fnDelivconfirmToggle(areaEl, imgEl) {
  49. areaEl.toggle(speed);
  50. if (stateDelivconfirm == 0) {
  51. $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_plus.png");
  52. stateDelivconfirm = 1;
  53. } else {
  54. $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_minus.png");
  55. stateDelivconfirm = 0
  56. }
  57. }
  58. //??????????/???
  59. var stateOtherconfirm = 0;
  60. function fnOtherconfirmToggle(areaEl, imgEl) {
  61. areaEl.toggle(speed);
  62. if (stateOtherconfirm == 0) {
  63. $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_plus.png");
  64. stateOtherconfirm = 1;
  65. } else {
  66. $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_minus.png");
  67. stateOtherconfirm = 0
  68. }
  69. }
  70. //]]></script>
  71. <!--?????????? -->
  72. <section id="undercolumn">
  73. <h2 class="title"><!--{$tpl_title|h}--></h2>
  74. <!--???????????-->
  75. <div class="information end">
  76. <p>?????????????????????????????????????????</p>
  77. </div>
  78. <form name="form1" id="form1" method="post" action="<!--{$smarty.const.ROOT_URLPATH}-->shopping/confirm.php">
  79. <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
  80. <input type="hidden" name="mode" value="confirm" />
  81. <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
  82. <h3 class="subtitle">?????</h3>
  83. <section class="cartconfirm_area">
  84. <div class="form_area">
  85. <!--????????????? -->
  86. <div class="formBox">
  87. <!--??????????? -->
  88. <div class="cartcartconfirmarea">
  89. <!--{foreach from=$arrCartItems item=item}-->
  90. <!--??? -->
  91. <div class="cartconfirmBox">
  92. <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=80&amp;height=80" alt="<!--{$item.productsClass.name|h}-->" width="80" height="80" class="photoL" />
  93. <div class="cartconfirmContents">
  94. <div>
  95. <p><em><!--{$item.productsClass.name|h}--></em><br />
  96. <!--{if $item.productsClass.classcategory_name1 != ""}-->
  97. <span class="mini"><!--{$item.productsClass.class_name1}-->?<!--{$item.productsClass.classcategory_name1}--></span><br />
  98. <!--{/if}-->
  99. <!--{if $item.productsClass.classcategory_name2 != ""}-->
  100. <span class="mini"><!--{$item.productsClass.class_name2}-->?<!--{$item.productsClass.classcategory_name2}--></span>
  101. <!--{/if}-->
  102. </p>
  103. </div>
  104. <ul>
  105. <li><span class="mini">???</span><!--{$item.quantity|number_format}--></li>
  106. <li class="result"><span class="mini">???</span><!--{$item.total_inctax|number_format}-->?</li>
  107. </ul>
  108. </div>
  109. </div>
  110. <!--??? -->
  111. <!--{/foreach}-->
  112. </div>
  113. <!--??????????????? -->
  114. <!--??????-->
  115. <div class="result_area">
  116. <ul>
  117. <li><span class="mini">?? ?</span><!--{$tpl_total_inctax[$cartKey]|number_format}--> ?</li>
  118. <!--{if $smarty.const.USE_POINT !== false}-->
  119. <li><span class="mini">?????????????? </span><!--{assign var=discount value=`$arrForm.use_point*$smarty.const.POINT_VALUE`}-->
  120. -<!--{$discount|number_format|default:0}--> ?</li>
  121. <!--{/if}-->
  122. <li><span class="mini">?? ?</span><!--{$arrForm.deliv_fee|number_format}--> ?</li>
  123. <li><span class="mini">??? ?</span><!--{$arrForm.charge|number_format}--> ?</li>
  124. </ul>
  125. </div>
  126. <!--????-->
  127. <div class="total_area">
  128. <span class="mini">???</span><span class="price fb"><!--{$arrForm.payment_total|number_format}--> ?</span>
  129. </div>
  130. </div><!--?formBox -->
  131. <!--{* ??????????? *}-->
  132. <!--{if $tpl_login == 1 && $smarty.const.USE_POINT !== false}-->
  133. <!--????????-->
  134. <div class="formBox point_confifrm">
  135. <dl>
  136. <dt>?????????</dt><dd><!--{$tpl_user_point|number_format|default:0}-->Pt</dd>
  137. </dl>
  138. <dl>
  139. <dt>???????</dt><dd>-<!--{$arrForm.use_point|number_format|default:0}-->Pt</dd>
  140. </dl>
  141. <!--{if $arrForm.birth_point > 0}-->
  142. <dl>
  143. <dt>????????</dt><dd>+<!--{$arrForm.birth_point|number_format|default:0}-->Pt</dd>
  144. </dl>
  145. <!--{/if}-->
  146. <dl>
  147. <dt>???????????</dt><dd>+<!--{$arrForm.add_point|number_format|default:0}-->Pt</dd>
  148. </dl>
  149. <dl>
  150. <!--{assign var=total_point value=`$tpl_user_point-$arrForm.use_point+$arrForm.add_point`}-->
  151. <dt>????????</dt><dd><!--{$total_point|number_format}-->Pt</dd>
  152. </dl>
  153. </div><!--?formBox -->
  154. <!--{/if}-->
  155. </div><!--?form_area -->
  156. </section>
  157. <!--?????????-->
  158. <!--{* ???????????????????????????????? *}-->
  159. <!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
  160. <section class="delivconfirm_area">
  161. <h3 class="subtitle">????</h3>
  162. <div class="form_area">
  163. <!--{foreach item=shippingItem from=$arrShipping name=shippingItem}-->
  164. <!--????????????? -->
  165. <div class="formBox">
  166. <dl class="deliv_confirm">
  167. <dt>????<!--{if $is_multiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--></dt>
  168. <dd>
  169. <p>?<!--{$shippingItem.shipping_zip01|h}-->-<!--{$shippingItem.shipping_zip02|h}--><br />
  170. <!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--></p>
  171. <p class="deliv_name"><!--{$shippingItem.shipping_name01|h}--> <!--{$shippingItem.shipping_name02|h}--></p>
  172. <p><!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--></p>
  173. </dd>
  174. <!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
  175. <dd>
  176. <ul class="date_confirm">
  177. <li><em>?????</em><!--{$shippingItem.shipping_date|default:"????"|h}--></li>
  178. <li><em>??????</em><!--{$shippingItem.shipping_time|default:"????"|h}--></li>
  179. </ul>
  180. </dd>
  181. <!--{/if}-->
  182. </dl>
  183. <!--{if $is_multiple}-->
  184. <!--??????????? -->
  185. <div class="cartcartconfirmarea">
  186. <!--{foreach item=item from=$shippingItem.shipment_item}-->
  187. <!--??? -->
  188. <div class="cartconfirmBox">
  189. <!--{if $item.productsClass.main_image|strlen >= 1}-->
  190. <a href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->" target="_blank">
  191. <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=80&amp;height=80" alt="<!--{$item.productsClass.name|h}-->" width="80" height="80" class="photoL" /></a>
  192. <!--{else}-->
  193. <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=80&amp;height=80" alt="<!--{$item.productsClass.name|h}-->" width="80" height="80" class="photoL" />
  194. <!--{/if}-->
  195. <div class="cartconfirmContents">
  196. <p><em><!--{$item.productsClass.name|h}--></em><br />
  197. <!--{if $item.productsClass.classcategory_name1 != ""}-->
  198. <span class="mini"><!--{$item.productsClass.class_name1}-->?<!--{$item.productsClass.classcategory_name1}--></span><br />
  199. <!--{/if}-->
  200. <!--{if $item.productsClass.classcategory_name2 != ""}-->
  201. <span class="mini"><!--{$item.productsClass.class_name2}-->?<!--{$item.productsClass.classcategory_name2}--></span>
  202. <!--{/if}-->
  203. </p>
  204. <ul>
  205. <li><span class="mini">???</span><!--{$item.quantity}--></li>
  206. <!--{* XXX ??????????????????????????*}-->
  207. <li class="result"><span class="mini">???</span><!--{$item.total_inctax|number_format}-->?</li>
  208. </ul>
  209. </div>
  210. </div>
  211. <!--??? -->
  212. <!--{/foreach}-->
  213. </div>
  214. <!--??????????????? -->
  215. <!--{/if}-->
  216. </div><!--?formBox -->
  217. <!--{/foreach}-->
  218. </div><!--?form_area -->
  219. </section>
  220. <!--{/if}-->
  221. <!--??????????????-->
  222. <section class="otherconfirm_area">
  223. <h3 class="subtitle">????????????</h3>
  224. <div class="form_area">
  225. <!--????????????? -->
  226. <div class="formBox">
  227. <div class="innerBox">
  228. <em>????</em>?<!--{$arrDeliv[$arrForm.deliv_id]|h}-->
  229. </div>
  230. <div class="innerBox">
  231. <em>??????</em><!--{$arrForm.payment_method|h}-->
  232. </div>
  233. <div class="innerBox">
  234. <em>??????????</em><br />
  235. <!--{$arrForm.message|h|nl2br}-->
  236. </div>
  237. </div><!--?formBox -->
  238. </div><!--?form_area -->
  239. </section>
  240. <!--?????-->
  241. <div class="btn_area">
  242. <ul class="btn_btm">
  243. <!--{if $use_module}-->
  244. <li><a rel="external" href="javascript:void(document.form1.submit());" class="btn">??</a></li>
  245. <!--{else}-->
  246. <li><a rel="external" href="javascript:void(document.form1.submit());" class="btn">?????????</a></li>
  247. <!--{/if}-->
  248. <li><a rel="external" href="./payment.php" class="btn_back">??</a></li>
  249. </ul>
  250. </div>
  251. </form>
  252. </section>
  253. <!--????? -->
  254. <section id="search_area">
  255. <form method="get" action="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php">
  256. <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
  257. <input type="hidden" name="mode" value="search" />
  258. <input type="search" name="name" id="search" value="" placeholder="????????" class="searchbox" >
  259. </form>
  260. </section>
  261. <!--????? -->
  262. <!--?????????? -->