<!--{*
/*
 * This file is part of EC-CUBE
 *
 * Copyright(c) 2000-2011 LOCKON CO.,LTD. All Rights Reserved.
 *
 * http://www.lockon.co.jp/
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
*}-->
<!--▼CONTENTS-->
<section id="mypagecolumn">
    <h2 class="title"><!--{$tpl_title|h}--></h2>
    <!--{include file=$tpl_navi}-->
    
                <h3 class="title_mypage"><!--{$tpl_subtitle|h}--></h3>

      <div class="form_area">
          <div id="historyBox">
             <p>
               <em>注文番号</em>：&nbsp;<!--{$tpl_arrOrderData.order_id}--><br />
                        <em>購入日時</em>：&nbsp;<!--{$tpl_arrOrderData.create_date|sfDispDBDate}--><br />
               <em>お支払い方法</em>：&nbsp;<!--{$arrPayment[$tpl_arrOrderData.payment_id]|h}--><!--{if $tpl_arrOrderData.deliv_time_id != ""}--><br />
                           <em>お届け時間</em>：&nbsp;</strong><!--{$arrDelivTime[$tpl_arrOrderData.deliv_time_id]|h}-->
               <!--{/if}-->
               <!--{if $tpl_arrOrderData.deliv_date != ""}--><br />
               <em>お届け日</em>：&nbsp;</strong><!--{$tpl_arrOrderData.deliv_date|h}-->
               <!--{/if}-->
             </p>

                            <form action="order.php" method="post">
              <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
              <input type="hidden" name="order_id" value="<!--{$tpl_arrOrderData.order_id}-->">
              <input class="btn_reorder btn data-role-none" type="submit" name="submit" value="再注文">
          </form>
          </div>
      <div class="formBox">

      <!--▼カートの中の商品一覧 -->
      <div class="cartinarea clearfix">

      <!--▼商品 -->
      <!--{foreach from=$tpl_arrOrderDetail item=orderDetail}-->
        <div class="cartitemBox">
          <!--{if $item.productsClass.main_image|strlen >= 1}--><a href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->" rel="external">
              <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$orderDetail.main_list_image|sfNoImageMainList|h}-->&amp;width=80&amp;height=80" alt="<!--{$orderDetail.product_name|h}-->" class="photoL" /></a>
          <!--{else}-->
              <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$orderDetail.main_list_image|sfNoImageMainList|h}-->&amp;width=80&amp;height=80" alt="<!--{$orderDetail.product_name|h}-->" class="photoL" />
          <!--{/if}-->
        <div class="cartinContents">
								<div>
           <p><em><!--→商品名--><a<!--{if $orderDetail.enable}--> href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$orderDetail.product_id|u}-->"<!--{/if}--> rel="external"><!--{$orderDetail.product_name|h}--></a><!--←商品名--></em></p>
											<p>
              <!--→商品種別-->
              <!--{if $orderDetail.product_type_id == $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
                  <!--{if $orderDetail.is_downloadable}-->
                      <a target="_self" href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/download.php?order_id=<!--{$tpl_arrOrderData.order_id}-->&amp;product_id=<!--{$orderDetail.product_id}-->&amp;product_class_id=<!--{$orderDetail.product_class_id}-->" rel="external">ダウンロードする</a><br />
                  <!--{else}-->
                     <!--{if $orderDetail.payment_date == "" && $orderDetail.effective == "0"}-->
                         <!--{$arrProductType[$orderDetail.product_type_id]}--><BR />（入金確認中）
                     <!--{else}-->
                         <!--{$arrProductType[$orderDetail.product_type_id]}--><BR />（期限切れ）
                     <!--{/if}-->
                  <!--{/if}-->
              <!--{else}-->
                  <!--{$arrProductType[$orderDetail.product_type_id]}-->
              <!--{/if}-->
              <!--←商品種別--><br />
              <!--→金額-->
              <!--{assign var=price value=`$orderDetail.price`}-->
              <!--{assign var=quantity value=`$orderDetail.quantity`}--><span class="mini">価格:</span><!--{$price|number_format|h}-->円<!--←金額-->
              <span class="mini"><!--{$item.productsClass.name|h}--><br />
              <!--{if $item.productsClass.classcategory_name1 != ""}-->
                  <span class="mini"><!--{$item.productsClass.class_name1}-->：<!--{$item.productsClass.classcategory_name1}--></span><br />
              <!--{/if}-->
              <!--{if $item.productsClass.classcategory_name2 != ""}-->
                  <span class="mini"><!--{$item.productsClass.class_name2}-->：<!--{$item.productsClass.classcategory_name2}--></span>
              <!--{/if}-->
          </p>
										</div>
      <ul>
        <li><span class="mini">数量：</span><!--{$quantity|h}--></li>
        <li class="result"><span class="mini">小計：</span><!--{$price|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|sfMultiply:$quantity|number_format}-->円</li>
      </ul>
    </div>
  </div>
  <!--{/foreach}-->
<!--▲商品 -->

</div>
<!--▲cartinarea カートの中の商品一覧ここまで -->

    <div class="total_area">
       <p><span class="mini">小計：</span><!--{$tpl_arrOrderData.subtotal|number_format}-->円</p>
       <p><span class="mini">合計：</span><span class="price fb"><!--{$tpl_arrOrderData.payment_total|number_format}-->円</span></p>
       <p><span class="mini">今回加算ポイント：</span><!--{$tpl_arrOrderData.add_point|number_format|default:0}-->Pt</p>
    </div>
  </div><!--▲formBox -->

     <!--▼メール一覧 -->
     <div class="formBox">
 
          <div class="box_header">
       メール配信履歴一覧
       </div>
        <!--{section name=cnt loop=$tpl_arrMailHistory}-->
           <!--▼メール -->
     <div class="arrowBox">
         <p>配信日：<!--{$tpl_arrMailHistory[cnt].send_date|sfDispDBDate|h}--><br />
                     <!--{assign var=key value="`$tpl_arrMailHistory[cnt].template_id`"}-->
         通知メール：<!--{$arrMAILTEMPLATE[$key]|h}--></p>
         <p><a href="#" onclick="win02('./mail_view.php?send_id=<!--{$tpl_arrMailHistory[cnt].send_id}-->','mail_view','650','800'); return false;" rel="external"><!--{$tpl_arrMailHistory[cnt].subject|h}--></a></p> 
     </div>
     <!--▲メール -->
     <!--{/section}-->
     <!--▲メール一覧ここまで -->

   </div><!--▲formBox -->

       <p><a rel="external" class="btn_more" href="./<!--{$smarty.const.DIR_INDEX_PATH}-->">購入履歴一覧に戻る</a></p>

  </div><!--▲form_area -->

</section>
<!--▲CONTENTS -->
