PageRenderTime 41ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 0ms

/PhpOnAzure.Web/data/Smarty/templates/default/mypage/history.tpl

http://eccubeonwaz.codeplex.com
Smarty Template | 239 lines | 209 code | 7 blank | 23 comment | 8 complexity | f38d22f091685cf804342b0d76515210 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1
  1. <!--{*
  2. /*
  3. * This file is part of EC-CUBE
  4. *
  5. * Copyright(c) 2000-2011 LOCKON CO.,LTD. All Rights Reserved.
  6. *
  7. * http://www.lockon.co.jp/
  8. *
  9. * This program is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU General Public License
  11. * as published by the Free Software Foundation; either version 2
  12. * of the License, or (at your option) any later version.
  13. *
  14. * This program is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU General Public License
  20. * along with this program; if not, write to the Free Software
  21. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  22. */
  23. *}-->
  24. <!--?CONTENTS-->
  25. <div id="mypagecolumn">
  26. <h2 class="title"><!--{$tpl_title|h}--></h2>
  27. <!--{include file=$tpl_navi}-->
  28. <div id="mycontents_area">
  29. <h3><!--{$tpl_subtitle|h}--></h3>
  30. <div class="mycondition_area clearfix">
  31. <p>
  32. <span class="st">?????&nbsp;</span><!--{$tpl_arrOrderData.create_date|sfDispDBDate}--><br />
  33. <span class="st">?????&nbsp;</span><!--{$tpl_arrOrderData.order_id}--><br />
  34. <span class="st">???????&nbsp;</span><!--{$arrPayment[$tpl_arrOrderData.payment_id]|h}-->
  35. </p>
  36. <form action="order.php" method="post">
  37. <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
  38. <p class="btn">
  39. <input type="hidden" name="order_id" value="<!--{$tpl_arrOrderData.order_id|h}-->">
  40. <input type="image" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_order_re_on.jpg', this);" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_order_re.jpg', this);" src="<!--{$TPL_URLPATH}-->img/button/btn_order_re.jpg" alt="????????????" name="submit" value="????????????" />
  41. </p>
  42. </form>
  43. </div>
  44. <table summary="??????">
  45. <col width="15%" />
  46. <col width="25%" />
  47. <col width="20%" />
  48. <col width="15%" />
  49. <col width="10%" />
  50. <col width="15%" />
  51. <tr>
  52. <th class="alignC">?????</th>
  53. <th class="alignC">???</th>
  54. <th class="alignC">????</th>
  55. <th class="alignC">??</th>
  56. <th class="alignC">??</th>
  57. <th class="alignC">??</th>
  58. </tr>
  59. <!--{foreach from=$tpl_arrOrderDetail item=orderDetail}-->
  60. <tr>
  61. <td><!--{$orderDetail.product_code|h}--></td>
  62. <td><a<!--{if $orderDetail.enable}--> href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$orderDetail.product_id|u}-->"<!--{/if}-->><!--{$orderDetail.product_name|h}--></a></td>
  63. <td class="alignC">
  64. <!--{if $orderDetail.product_type_id == $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
  65. <!--{if $orderDetail.is_downloadable}-->
  66. <a target="_self" href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/download.php?order_id=<!--{$tpl_arrOrderData.order_id}-->&product_id=<!--{$orderDetail.product_id}-->&product_class_id=<!--{$orderDetail.product_class_id}-->">??????</a>
  67. <!--{else}-->
  68. <!--{if $orderDetail.payment_date == "" && $orderDetail.effective == "0"}-->
  69. <!--{$arrProductType[$orderDetail.product_type_id]}--><BR />???????
  70. <!--{else}-->
  71. <!--{$arrProductType[$orderDetail.product_type_id]}--><BR />??????
  72. <!--{/if}-->
  73. <!--{/if}-->
  74. <!--{else}-->
  75. <!--{$arrProductType[$orderDetail.product_type_id]}-->
  76. <!--{/if}-->
  77. </td>
  78. <!--{assign var=price value=`$orderDetail.price`}-->
  79. <!--{assign var=quantity value=`$orderDetail.quantity`}-->
  80. <td class="alignR"><!--{$price|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format|h}-->?</td>
  81. <td class="alignR"><!--{$quantity|h}--></td>
  82. <td class="alignR"><!--{$price|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|sfMultiply:$quantity|number_format}-->?</td>
  83. </tr>
  84. <!--{/foreach}-->
  85. <tr>
  86. <th colspan="5" class="alignR">??</th>
  87. <td class="alignR"><!--{$tpl_arrOrderData.subtotal|number_format}-->?</td>
  88. </tr>
  89. <!--{assign var=point_discount value="`$tpl_arrOrderData.use_point*$smarty.const.POINT_VALUE`"}-->
  90. <!--{if $point_discount > 0}-->
  91. <tr>
  92. <th colspan="5" class="alignR">???????</th>
  93. <td class="alignR">&minus;<!--{$point_discount|number_format}-->?</td>
  94. </tr>
  95. <!--{/if}-->
  96. <!--{assign var=key value="discount"}-->
  97. <!--{if $tpl_arrOrderData[$key] != "" && $tpl_arrOrderData[$key] > 0}-->
  98. <tr>
  99. <th colspan="5" class="alignR">???</th>
  100. <td class="alignR">&minus;<!--{$tpl_arrOrderData[$key]|number_format}-->?</td>
  101. </tr>
  102. <!--{/if}-->
  103. <tr>
  104. <th colspan="5" class="alignR">??</th>
  105. <td class="alignR"><!--{assign var=key value="deliv_fee"}--><!--{$tpl_arrOrderData[$key]|number_format|h}-->?</td>
  106. </tr>
  107. <tr>
  108. <th colspan="5" class="alignR">???</th>
  109. <!--{assign var=key value="charge"}-->
  110. <td class="alignR"><!--{$tpl_arrOrderData[$key]|number_format|h}-->?</td>
  111. </tr>
  112. <tr>
  113. <th colspan="5" class="alignR">??</th>
  114. <td class="alignR"><span class="price"><!--{$tpl_arrOrderData.payment_total|number_format}-->?</span></td>
  115. </tr>
  116. </table>
  117. <!-- ?????????? -->
  118. <!--{if $smarty.const.USE_POINT !== false}-->
  119. <table summary="??????">
  120. <col width="30%" />
  121. <col width="70%" />
  122. <tr>
  123. <th class="alignL">???????</th>
  124. <td><!--{assign var=key value="use_point"}--><!--{$tpl_arrOrderData[$key]|number_format|default:0}--> pt</td>
  125. </tr>
  126. <tr>
  127. <th class="alignL">???????????</th>
  128. <td><!--{$tpl_arrOrderData.add_point|number_format|default:0}--> pt</td>
  129. </tr>
  130. </table>
  131. <!--{/if}-->
  132. <!-- ?????????? -->
  133. <!--{foreach item=shippingItem name=shippingItem from=$arrShipping}-->
  134. <h3>????<!--{if $isMultiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--></h3>
  135. <!--{if $isMultiple}-->
  136. <table summary="???????">
  137. <col width="30%" />
  138. <col width="40%" />
  139. <col width="20%" />
  140. <col width="10%" />
  141. <tr>
  142. <th class="alignC">?????</th>
  143. <th class="alignC">???</th>
  144. <th class="alignC">??</th>
  145. <th class="alignC">??</th>
  146. <!--{* XXX ???????????????????
  147. <th>??</th>
  148. *}-->
  149. </tr>
  150. <!--{foreach item=item from=$shippingItem.shipment_item}-->
  151. <tr>
  152. <td><!--{$item.productsClass.product_code|h}--></td>
  153. <td><!--{* ??? *}--><!--{$item.productsClass.name|h}--><br />
  154. <!--{if $item.productsClass.classcategory_name1 != ""}-->
  155. <!--{$item.productsClass.class_name1}-->?<!--{$item.productsClass.classcategory_name1}--><br />
  156. <!--{/if}-->
  157. <!--{if $item.productsClass.classcategory_name2 != ""}-->
  158. <!--{$item.productsClass.class_name2}-->?<!--{$item.productsClass.classcategory_name2}-->
  159. <!--{/if}-->
  160. </td>
  161. <td class="alignR">
  162. <!--{$item.price|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->?
  163. </td>
  164. <td class="alignC"><!--{$item.quantity}--></td>
  165. <!--{* XXX ???????????????????
  166. <td class="alignR"><!--{$item.total_inctax|number_format}-->?</td>
  167. *}-->
  168. </tr>
  169. <!--{/foreach}-->
  170. </table>
  171. <!--{/if}-->
  172. <table summary="????" class="delivname">
  173. <col width="30%" />
  174. <col width="70%" />
  175. <tr>
  176. <th class="alignL">???</th>
  177. <td><!--{$shippingItem.shipping_name01|h}-->&nbsp;<!--{$shippingItem.shipping_name02|h}--></td>
  178. </tr>
  179. <tr>
  180. <th class="alignL">???(????)</th>
  181. <td><!--{$shippingItem.shipping_kana01|h}-->&nbsp;<!--{$shippingItem.shipping_kana02|h}--></td>
  182. </tr>
  183. <tr>
  184. <th class="alignL">????</th>
  185. <td>?<!--{$shippingItem.shipping_zip01}-->-<!--{$shippingItem.shipping_zip02}--></td>
  186. </tr>
  187. <tr>
  188. <th class="alignL">??</th>
  189. <td><!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--></td>
  190. </tr>
  191. <tr>
  192. <th class="alignL">????</th>
  193. <td><!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--></td>
  194. </tr>
  195. <tr>
  196. <th class="alignL">????</th>
  197. <td><!--{$shippingItem.shipping_date|default:'????'|h}--></td>
  198. </tr>
  199. <tr>
  200. <th class="alignL">?????</th>
  201. <td><!--{$shippingItem.shipping_time|default:'????'|h}--></td>
  202. </tr>
  203. </tbody>
  204. </table>
  205. <!--{/foreach}-->
  206. <br />
  207. <h3>?????????</h3>
  208. <table>
  209. <tr>
  210. <th class="alignC">???</th>
  211. <th class="alignC">?????</th>
  212. <th class="alignC">??</th>
  213. </tr>
  214. <!--{section name=cnt loop=$tpl_arrMailHistory}-->
  215. <tr class="center">
  216. <td class="alignC"><!--{$tpl_arrMailHistory[cnt].send_date|sfDispDBDate|h}--></td>
  217. <!--{assign var=key value="`$tpl_arrMailHistory[cnt].template_id`"}-->
  218. <td class="alignC"><!--{$arrMAILTEMPLATE[$key]|h}--></td>
  219. <td><a href="#" onclick="win02('./mail_view.php?send_id=<!--{$tpl_arrMailHistory[cnt].send_id}-->','mail_view','650','800'); return false;"><!--{$tpl_arrMailHistory[cnt].subject|h}--></a></td>
  220. </tr>
  221. <!--{/section}-->
  222. </table>
  223. <div class="btn_area">
  224. <ul>
  225. <li>
  226. <a href="./<!--{$smarty.const.DIR_INDEX_PATH}-->" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg','change');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg','change');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="??" name="change" id="change" /></a>
  227. </li>
  228. </ul>
  229. </div>
  230. </div>
  231. </div>
  232. <!--?CONTENTS-->