Ignore:
Timestamp:
2008/06/16 12:13:09 (16 years ago)
Author:
pineray
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/Smarty/templates/default/admin/basis/kiyaku.tpl

    r16582 r17351  
    33 * This file is part of EC-CUBE 
    44 * 
    5  * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. 
     5 * Copyright(c) 2000-2008 LOCKON CO.,LTD. All Rights Reserved. 
    66 * 
    77 * http://www.lockon.co.jp/ 
     
    2222 */ 
    2323*}--> 
    24 <!--★★メインコンテンツ★★--> 
    25 <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    2624<form name="form1" id="form1" method="post" action="./kiyaku.php"> 
    27 <input type="hidden" name="mode" value="edit"> 
    28 <input type="hidden" name="kiyaku_id" value="<!--{$tpl_kiyaku_id}-->"> 
    29     <tr valign="top"> 
    30         <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402"> 
    31             <!--▼SUB NAVI--> 
    32             <!--{include file=$tpl_subnavi}--> 
    33             <!--▲SUB NAVI--> 
    34         </td> 
    35         <td class="mainbg" > 
    36         <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    37             <!--メインエリア--> 
    38             <tr> 
    39                 <td align="center"> 
    40                 <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" "> 
     25<input type="hidden" name="mode" value="edit" /> 
     26<input type="hidden" name="kiyaku_id" value="<!--{$tpl_kiyaku_id}-->" /> 
     27<div id="basis" class="contents-main"> 
     28  <table class="form"> 
     29    <tr> 
     30      <th>規約タイトル<span class="attention"> *</span></th> 
     31      <td> 
     32        <span class="attention"><!--{$arrErr.kiyaku_title}--></span> 
     33        <input type="text" name="kiyaku_title" value="<!--{$arrForm.kiyaku_title|escape}-->" maxlength="<!--{$smarty.const.SMTEXT_LEN}-->" style="" size="60" class="box60"/> 
     34        <span class="attention"> (上限<!--{$smarty.const.SMTEXT_LEN}-->文字)</span> 
     35      </td> 
     36    </tr> 
     37    <tr> 
     38      <th>規約内容<span class="attention"> *</span></th> 
     39      <td> 
     40      <span class="attention"><!--{$arrErr.kiyaku_text}--></span> 
     41      <textarea name="kiyaku_text" maxlength="<!--{$smarty.const.MTEXT_LEN}-->" cols="60" rows="8" class="area60" style="" ><!--{$arrForm.kiyaku_text|escape}--></textarea> 
     42      <span class="attention"> (上限<!--{$smarty.const.MLTEXT_LEN}-->文字)</span> 
     43      </td> 
     44    </tr> 
     45  </table> 
     46  <div class="btn"><button type="button"><span>この内容で登録する</span></button></div> 
    4147 
    42                     <tr><td height="14"></td></tr> 
    43                     <tr> 
    44                         <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td> 
    45                     </tr> 
    46                     <tr> 
    47                         <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> 
    48                         <td bgcolor="#cccccc"> 
    49                          
    50                         <!--登録テーブルここから--> 
    51                         <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    52                             <tr> 
    53                                 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td> 
    54                             </tr> 
    55                             <tr> 
    56                                 <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td> 
    57                                 <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->会員規約登録</span></td> 
    58                                 <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td> 
    59                             </tr> 
    60                             <tr> 
    61                                 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td> 
    62                             </tr> 
    63                             <tr> 
    64                                 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td> 
    65                             </tr> 
    66                         </table> 
     48  <table class="list"> 
     49    <tr> 
     50      <th>規約タイトル</th> 
     51      <th>編集</th> 
     52      <th>削除</th> 
     53      <th>移動</th> 
     54    </tr> 
     55    <!--{section name=cnt loop=$arrKiyaku}--> 
     56    <tr style="background:<!--{if $tpl_class_id != $arrKiyaku[cnt].kiyaku_id}-->#ffffff<!--{else}--><!--{$smarty.const.SELECT_RGB}--><!--{/if}-->;"> 
     57    <!--{assign var=kiyaku_id value=$arrKiyaku[cnt].kiyaku_id}--> 
     58      <td><!--{* 規格名 *}--><!--{$arrKiyaku[cnt].kiyaku_title|escape}--></td> 
     59      <td align="center"> 
     60        <!--{if $tpl_kiyaku_id != $arrKiyaku[cnt].kiyaku_id}--> 
     61        <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('pre_edit', 'kiyaku_id', <!--{$arrKiyaku[cnt].kiyaku_id}-->); return false;">編集</a> 
     62        <!--{else}--> 
     63        編集中 
     64        <!--{/if}--> 
     65      </td> 
     66      <td align="center"> 
     67        <!--{if $arrClassCatCount[$class_id] > 0}--> 
     68        - 
     69        <!--{else}--> 
     70        <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('delete', 'kiyaku_id', <!--{$arrKiyaku[cnt].kiyaku_id}-->); return false;">削除</a> 
     71        <!--{/if}--> 
     72      </td> 
     73      <td align="center"> 
     74        <!--{if $smarty.section.cnt.iteration != 1}--> 
     75        <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('up', 'kiyaku_id', <!--{$arrKiyaku[cnt].kiyaku_id}-->); return false;">上へ</a> 
     76        <!--{/if}--> 
     77        <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}--> 
     78        <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('down', 'kiyaku_id', <!--{$arrKiyaku[cnt].kiyaku_id}-->); return false;">下へ</a> 
     79        <!--{/if}--> 
     80      </td> 
     81    </tr> 
     82<!--{/section}--> 
     83  </table> 
    6784 
    68                         <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> 
    69                             <tr> 
    70                                 <td bgcolor="#f2f1ec" width="160" class="fs12n">規約タイトル<span class="red"> *</span></td> 
    71                                 <td bgcolor="#ffffff" width="557" class="fs10n"> 
    72                                 <span class="red12"><!--{$arrErr.kiyaku_title}--></span> 
    73                                 <input type="text" name="kiyaku_title" value="<!--{$arrForm.kiyaku_title|escape}-->" maxlength="<!--{$smarty.const.SMTEXT_LEN}-->" style="" size="60" class="box60"/> 
    74                                 <span class="red"> (上限<!--{$smarty.const.SMTEXT_LEN}-->文字)</span> 
    75                                 </td> 
    76                             </tr> 
    77                             <tr> 
    78                                 <td bgcolor="#f2f1ec" width="160" class="fs12n">規約内容<span class="red"> *</span></td> 
    79                                 <td bgcolor="#ffffff" width="557" class="fs10n"> 
    80                                 <span class="red12"><!--{$arrErr.kiyaku_text}--></span> 
    81                                 <textarea name="kiyaku_text" maxlength="<!--{$smarty.const.MTEXT_LEN}-->" cols="60" rows="8" class="area60" style="" ><!--{$arrForm.kiyaku_text|escape}--></textarea> 
    82                                 <span class="red"> (上限<!--{$smarty.const.MLTEXT_LEN}-->文字)</span> 
    83                                 </td> 
    84                             </tr> 
    85                         </table> 
    86                          
    87                         <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    88                             <tr> 
    89                                 <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> 
    90                                 <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td> 
    91                                 <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> 
    92                             </tr> 
    93                             <tr> 
    94                                 <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> 
    95                                 <td bgcolor="#e9e7de" align="center"> 
    96                                 <table border="0" cellspacing="0" cellpadding="0" summary=" "> 
    97                                     <tr> 
    98                                         <td><input type="image" onMouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$TPL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="この内容で登録する" border="0" name="subm"></td> 
    99                                     </tr> 
    100                                 </table> 
    101                                 </td> 
    102                                 <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> 
    103                             </tr> 
    104                             <tr> 
    105                                 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td> 
    106                             </tr> 
    107                         </table> 
    108                          
    109                         <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    110                             <tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr> 
    111                         </table> 
    112                                                  
    113                         <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> 
    114                             <tr bgcolor="#f2f1ec" align="center" class="fs12n"> 
    115                                 <td width="471">規約タイトル</td> 
    116                                 <td width="50">編集</td> 
    117                                 <td width="50">削除</td> 
    118                                 <td width="70">移動</td> 
    119                             </tr> 
    120                             <!--{section name=cnt loop=$arrKiyaku}--> 
    121                             <tr bgcolor="<!--{if $tpl_class_id != $arrKiyaku[cnt].kiyaku_id}-->#ffffff<!--{else}--><!--{$smarty.const.SELECT_RGB}--><!--{/if}-->" class="fs12"> 
    122                                 <!--{assign var=kiyaku_id value=$arrKiyaku[cnt].kiyaku_id}--> 
    123                                 <td><!--{* 規格名 *}--><!--{$arrKiyaku[cnt].kiyaku_title|escape}--></td> 
    124                                 <td align="center"> 
    125                                 <!--{if $tpl_kiyaku_id != $arrKiyaku[cnt].kiyaku_id}--> 
    126                                 <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('pre_edit', 'kiyaku_id', <!--{$arrKiyaku[cnt].kiyaku_id}-->); return false;">編集</a> 
    127                                 <!--{else}--> 
    128                                 編集中 
    129                                 <!--{/if}--> 
    130                                 </td> 
    131                                 <td align="center"> 
    132                                 <!--{if $arrClassCatCount[$class_id] > 0}--> 
    133                                 - 
    134                                 <!--{else}--> 
    135                                 <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('delete', 'kiyaku_id', <!--{$arrKiyaku[cnt].kiyaku_id}-->); return false;">削除</a> 
    136                                 <!--{/if}--> 
    137                                 </td> 
    138                                 <td align="center"> 
    139                                 <!--{if $smarty.section.cnt.iteration != 1}--> 
    140                                 <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('up', 'kiyaku_id', <!--{$arrKiyaku[cnt].kiyaku_id}-->); return false;" />上へ</a> 
    141                                 <!--{/if}--> 
    142                                 <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}--> 
    143                                 <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('down', 'kiyaku_id', <!--{$arrKiyaku[cnt].kiyaku_id}-->); return false;" />下へ</a> 
    144                                 <!--{/if}--> 
    145                                 </td> 
    146                             </tr> 
    147                             <!--{/section}--> 
    148                         </table> 
    149                         <!--登録テーブルここまで--> 
    150                         </td> 
    151                         <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> 
    152                     </tr> 
    153                     <tr> 
    154                         <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td> 
    155                     </tr> 
    156                     <tr><td height="30"></td></tr> 
    157  
    158                 </table> 
    159                 </td> 
    160             </tr> 
    161             <!--メインエリア--> 
    162         </table> 
    163         </td> 
    164     </tr> 
    165 </form> 
    166 </table> 
    167 <!--★★メインコンテンツ★★-->      
     85</div> 
     86</form>     
Note: See TracChangeset for help on using the changeset viewer.