{action->getConregist assign=conregist}
{action->prefCdToPrefName code=$conregist->pref assign=prefname}
{if $conregist->subpref != ""}
  {action->prefCdToPrefName code=$conregist->subpref assign=subprefname}
{/if}
{include file="header.html"}
<script src="./js/prototype.js"></script>
<script src="./js/ajaxzip2.js" charset="UTF-8"></script>
<script>AjaxZip2.JSONDATA = './js/zipdata';</script>


<!--↓コンテンツ-->
<div id="contents">

<div id="pankuzu">
  <ul>
    <li><a href="{$dirName}/index.php">トップ</a></li>
    <li>&nbsp;&gt;&nbsp;<a href="{$smarty.const.URL_ROOT}{$dirName}/?action=customer_mypage">マイページ</a></li>
    <li class="last">&nbsp;&gt;&nbsp;お届け先確認</li>
  </ul>
</div>
<!--End of pankuzu-->

<div id="etc">
{if $action.from=="cashier"}
  <p align="center">
    <img src="img/flow/flow1_a.gif">
  </p>
{/if}

  <h3>お届け先確認</h3>

  <p>入力内容をご確認ください。</p>

  <form action="{$scriptName}" id="form1" method="POST">
  <input type="hidden" name="from" value="{$action.from}">
  <input type="hidden" name="action" value="customer_mypage_consumer_insert_done">
  <input type="hidden" name="{token->getName}" value="{token->getValue}">

  <table border="0" cellspacing="0" cellpadding="0" class="entryform">
    <tr>
      <td colspan="2" class="non2">▼お名前に間違いはありませんか？</td>
    </tr>
    <tr>
      <th>お名前</th>
      <td>{$action.lastnm}&nbsp;{$action.firstnm}</td>
      <input type="hidden" name="lastnm" value="{$action.lastnm}">
      <input type="hidden" name="firstnm" value="{$action.firstnm}">
    </tr>
    <tr>
      <th>ふりがな</th>
      <td>{$action.lastnmkana}&nbsp;{$action.firstnmkana}</td>
      <input type="hidden" name="lastnmkana" value="{$action.lastnmkana}">
      <input type="hidden" name="firstnmkana" value="{$action.firstnmkana}">
    </tr>

    <tr>
      <td colspan="2" class="non2">▼ご住所に間違いはありませんか？</td>
    </tr>
    <tr>
      <th>郵便番号</th>
      <td>{$conregist->zip.0|escape}-{$conregist->zip.1|escape}</td>
      <input type="hidden" name="zip[0]" value="{$conregist->zip.0|escape}">
      <input type="hidden" name="zip[1]" value="{$conregist->zip.1|escape}">
    </tr>
    <tr>
      <th>都道府県</th>
      <td>{$prefname}</td>
      <input type="hidden" name="pref" value="{$conregist->pref|escape}">
    </tr>
    <tr>
      <th>住所１</th>
      <td>{$conregist->addr1|escape}</td>
      <input type="hidden" name="addr1" value="{$conregist->addr1|escape}">
    </tr>
    <tr>
      <th>住所２</th>
      <td>{$conregist->addr2|escape}</td>
      <input type="hidden" name="addr2" value="{$conregist->addr2|escape}">
    </tr>
    <tr>
      <th>電話番号１</th>
      <td>{$conregist->phone1[0]|escape}-{$conregist->phone1[1]|escape}-{$conregist->phone1[2]|escape}</td>
      <input type="hidden" name="phone1[]" value="{$conregist->phone1[0]|escape}">
      <input type="hidden" name="phone1[]" value="{$conregist->phone1[1]|escape}">
      <input type="hidden" name="phone1[]" value="{$conregist->phone1[2]|escape}">
    </tr>
    <tr>
      <th>電話番号２</th>
      <td>{$conregist->phone2[0]|escape}-{$conregist->phone2[1]|escape}-{$conregist->phone2[2]|escape}</td>
      <input type="hidden" name="phone2[]" value="{$conregist->phone2[0]|escape}">
      <input type="hidden" name="phone2[]" value="{$conregist->phone2[1]|escape}">
      <input type="hidden" name="phone2[]" value="{$conregist->phone2[2]|escape}">
    </tr>

    <tr>
      <td colspan="2" class="non2">▼別配送先に間違いはありませんか？</td>
    </tr>
    <tr>
      <th>宛名</th>
      <td>{$conregist->atena|escape}</td>
      <input type="hidden" name="atena" value="{$conregist->atena|escape}">
    </tr>
    <tr>
      <th>郵便番号</th>
      <td>{$conregist->subzip.0|escape}-{$conregist->subzip.1|escape}</td>
    </tr>
    <tr>
      <th>都道府県</th>
      <td>{$subprefname}</td>
      <input type="hidden" name="subpref" value="{$conregist->subpref|escape}">
    </tr>
    <tr>
      <th>住所１</th>
      <td>{$conregist->subaddr1|escape}</td>
      <input type="hidden" name="subaddr1" value="{$conregist->subaddr1|escape}">
    </tr>
    <tr>
      <th>住所２</th>
      <td>{$conregist->subaddr2|escape}</td>
      <input type="hidden" name="subaddr2" value="{$conregist->subaddr2|escape}">
    </tr>
    <tr>
      <th>電話番号</th>
      <td>{$conregist->subphone[0]|escape}-{$conregist->subphone[1]|escape}-{$conregist->subphone[2]|escape}</td>
      <input type="hidden" name="subphone[]" value="{$conregist->subphone[0]|escape}">
      <input type="hidden" name="subphone[]" value="{$conregist->subphone[1]|escape}">
      <input type="hidden" name="subphone[]" value="{$conregist->subphone[2]|escape}">
    </tr>

    <tr>
      <td rowspan="2" class="non">&nbsp;</td>
      <td class="constatation2"><p>間違いなければ登録ボタンをクリックしてください。</p>
      <input name="entry_button" type="image" src="img/entry_btn.gif" alt="登録" /></td>
    </tr>
    <tr>
      <td class="constatation"><p>入力し直す。</p>
      <input name="dispatch_customer_mypage_consumer_insert_form" type="image" src="img/input_btn.gif" alt="入力画面へ" /></td>
      <input type="hidden" name="conregist_serial" value="{action->getConregist_serial}">
    </tr>
</table>

</form>
</div>
<!--End of etc-->

</div>
<!--↑コンテンツ-->

{include file="footer.html"}
