<[include file="common/group_list.tpl"]>
<div id="contents">
<[include file="common/group_menu.tpl"]>
  <br />
  <div id="site-info">
    <table width="100%">
      <tr>
        <td width="50%" align="left">
          <h3><img src="<[$TEMPLATE_DIR]>/img/icon_large/henshu.jpg" align="absmiddle" style="margin-right:8px;">カテゴリページテンプレート編集</h3>
        </td>
        <td width="50%" align="right" valign="bottom"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('upload','','<[$TEMPLATE_DIR]>/img/btn/image_on.gif',1)" onclick="MM_openBrWindow('./index.php?mode=4&group_code=<[$current_group.group_code]>','Upload','scrollbars=yes,width=800,height=600')"><img name="upload" border="0" src="<[$TEMPLATE_DIR]>/img/btn/image_off.gif" alt="画像の一覧・新規登録"></a></td>
      </tr>
    </table>
    <[include file="common/error.tpl"]>
    <[include file="common/message.tpl"]>
    <form method="post" action="./index.php?mode=39&group_code=<[$current_group.group_code]>">
    <input name="state" type="hidden" value="<[$state]>" />
      <fieldset style="width:100%;">
      <legend>カテゴリページテンプレート</legend>
      <table width="100%" border="0">
        <tr>
          <td><textarea name="body" style="width:100%; height:300px; word-break:break-all;"><[$body|escape]></textarea></td>
        </tr>
      </table>
      </fieldset>
      <table width="100%" border="0" cellspacing="0" cellpadding="5">
        <tr>
          <td><input type="submit" value="　確　　認　" />&nbsp;<input type="button" onclick="location.href='./index.php?mode=8&group_code=<[$current_group.group_code]>'" value="一覧へ戻る" /></td>
        </tr>
      </table>
    </form>
  </div>
</div>