{action->getMailaddress assign=mailaddress}
{errorList->getMessages assign=errmsg}
{include file="header.html"}

{literal}
<script type="text/javascript">
<!--
function enterCancel(evt){
  if (evt.keyCode == 13) {
    if (evt.preventDefault) {
      evt.preventDefault();
    } else {
      evt.returnValue = false;
    }
  }
}
//-->
</script>
{/literal}

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


<div id="etc">

<h3>退会確認</h3>


<form action="{$scriptName}" method="POST" name="submitform">

 <table border="0" cellspacing="0" cellpadding="0" class="login">
      <tr>
      <td colspan="2"  class="coment"><h4>本当に退会しますか？</h4>
{if $errmsg}
  <ul class="alert">
    {foreach from=$errmsg item=msg}
      <li>{$msg|escape}</li>
    {/foreach}
  </ul>
{/if}

　　 </td>
    </tr>

    <tr>
      <td class="leave1" height="30" colspan="2"><div align="left">当会員から退会される場合は、パスワードを入力し「退会する」ボタンを押してください。</div></td>
    </tr>
    <tr>
      <th class="leave1">メールアドレス：</th>
    <td width="436">{$mailaddress}</td>
    </tr>
    <tr>
      <th class="leave1">パスワード：</th>
    <td height="30"><input type="password" name="password" onkeypress="enterCancel(event||window.event);"></td>
    </tr>
  </table>
  
  <input type="hidden" name="action" value="customer_mypage_leave_confirm">
  <input type="text" name="dummy" style="position:absolute; visibility:hidden;">
  <input type="submit" name="dummy2" style="position:absolute; display:none;">

  
<p>&nbsp;</p>
<p align="center">
        {* <img src="img/btn_leave.gif" alt="退会する" onClick="submitform.submit();"> *}
        {* <img src="img/back_btn.gif" alt="戻る" onClick="location.href='{$scriptName}?action=customer_mypage';"> *}
        <input name="dispatch_customer_mypage_leave_confirm" type="image" src="img/btn_leave.gif"  alt="退会する" onClick="submitform.submit();"><br /><br />
        <input name="dispatch_customer_mypage" type="image" onclick="location.href='{$scriptName|replace:$smarty.const.SSL_URL_ROOT:$smarty.const.URL_ROOT}?action=customer_mypage'; return false;" src="img/back_btn.gif" alt="戻る">
</p>

<p>&nbsp;</p>

</form>

</div>

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


{include file="footer.html"}
