{include file="header.html"}

{if $smarty.const.USE_NICEDIT_SELLER == true}
{literal}
<script type="text/javascript" src="./js/nicedit/nicEdit.js"></script>
<script type="text/javascript">
//<![CDATA[
bkLib.onDomLoaded(function() {
        new nicEditor({fullPanel : true}).panelInstance('textarea1');
});
//]]>
</script>
{/literal}
{/if}

<div id="contents">

<div id="pankuzu">
  <ul>
    <li><a href="{$dirName}/index.php">トップ</a></li>
    <li>&nbsp;&gt;&nbsp;<a href="{$dirName}?action=seller_mypage">出品機能</a></li>
    <li>&nbsp;&gt;&nbsp;出品者用ページ作成</li>
  </ul>
</div>
<!--End of pankuzu-->


<div id="etc">
  <h3>出品者紹介ページ作成</h3>

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

<div id="buy">

<p>出品者様の紹介ページを作成します。</p>

{errorList->getMessages assign=errmsg}
{if $errmsg}
  <ul class="alert">
    {foreach from=$errmsg item=msg}
      <li>{$msg|escape}</li>
    {/foreach}
  </ul>
{/if}
<table border="0" cellspacing="0" cellpadding="0" class="entryform">
  <tr>
    <th class="must">HTML記述</th>
    <td><p><textarea id="textarea1" name="infomation" cols="60" rows="15">{$action.infomation}</textarea></p></td>
    <td class="caution">
      <input type="submit" value="プレビュー" onclick="document.getElementById('form1').target='_blank';document.getElementById('ac').value='seller_itemexhibit_infomation_preview';"/>
    </td>
  </tr>

  <tr>
    <td colspan="2" class="non">&nbsp;</td>
    <td class="constatation">
	<div id="submit">
      <input type="image" src="img/entry_btn.gif" alt="登録" onclick="if (!confirm('この内容で登録します\nよろしいですか？')) return false;">
	</div>
    </td>
  </tr>
  <tr>
  <td colspan="2" class="non">&nbsp;</td>
    <td class="constatation2"><p>前ページへ戻る</p>
    <div id="submit">
      <input name="dispatch_seller_mypage" type="image" onclick="location.href='{$scriptName|replace:$smarty.const.SSL_URL_ROOT:$smarty.const.URL_ROOT}?action=seller_mypage'; return false;" src="img/back_btn.gif" alt="戻る">
	</div>
    </td>
  </tr>
</table>
</form>

</div>
<!-- ↑マイページ -->

</div>
<!-- ↑ラッパー -->


{include file="footer.html"}
