1 | <!--{*
|
---|
2 | /*
|
---|
3 | * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
|
---|
4 | *
|
---|
5 | * http://www.lockon.co.jp/
|
---|
6 | */
|
---|
7 | *}-->
|
---|
8 | <!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
|
---|
9 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
10 | <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" enctype="multipart/form-data">
|
---|
11 | <input type="hidden" name="mode" value="edit">
|
---|
12 | <input type="hidden" name="parent_category_id" value="<!--{$arrForm.parent_category_id}-->">
|
---|
13 | <input type="hidden" name="category_id" value="<!--{$arrForm.category_id}-->">
|
---|
14 | <tr valign="top">
|
---|
15 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402">
|
---|
16 | <!--¢§SUB NAVI-->
|
---|
17 | <!--{include file=$tpl_subnavi}-->
|
---|
18 | <!--¢¥SUB NAVI-->
|
---|
19 | </td>
|
---|
20 | <td class="mainbg" >
|
---|
21 | <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
22 | <!--¥á¥¤¥ó¥¨¥ê¥¢-->
|
---|
23 | <tr>
|
---|
24 | <td align="center">
|
---|
25 | <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
26 |
|
---|
27 | <tr><td height="14"></td></tr>
|
---|
28 | <tr>
|
---|
29 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
|
---|
30 | </tr>
|
---|
31 | <tr>
|
---|
32 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
|
---|
33 | <td bgcolor="#cccccc">
|
---|
34 |
|
---|
35 | <!--¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
|
---|
36 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
37 | <tr>
|
---|
38 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
|
---|
39 | </tr>
|
---|
40 | <tr>
|
---|
41 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
|
---|
42 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¥«¥Æ¥´¥ê¡¼ÀßÄê(ºÇÂç<!--{$smarty.const.LEVEL_MAX}-->³¬ÁؤޤÇ)</span></td>
|
---|
43 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
|
---|
44 | </tr>
|
---|
45 | <tr>
|
---|
46 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
|
---|
47 | </tr>
|
---|
48 | <tr>
|
---|
49 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
|
---|
50 | </tr>
|
---|
51 | </table>
|
---|
52 |
|
---|
53 | <table width="678" border="0" cellspacing="1" cellpadding="5" summary=" " bgcolor="#cccccc">
|
---|
54 | <tr bgcolor="#ffffff">
|
---|
55 | <!--¢§²èÌ̺¸-->
|
---|
56 | <td width="250" valign="top" class="fs12">
|
---|
57 | <a href="<!--{$smarty.server.PHP_SELF|escape}-->">¢§¥Û¡¼¥à</a><br>
|
---|
58 | <!--{section name=cnt loop=$arrTree}-->
|
---|
59 | <!--{assign var=level value="`$arrTree[cnt].level`}-->
|
---|
60 |
|
---|
61 | <!--{* ¾å¤Î³¬ÁØɽ¼¨¤Î»þ¤Ëdiv¤òÊĤ¸¤ë *}-->
|
---|
62 | <!--{assign var=close_cnt value="`$before_level-$level+1`}-->
|
---|
63 | <!--{if $close_cnt > 0}-->
|
---|
64 | <!--{section name=n loop=$close_cnt}--></div><!--{/section}-->
|
---|
65 | <!--{/if}-->
|
---|
66 |
|
---|
67 | <!--{* ¥¹¥Ú¡¼¥¹·«¤êÊÖ¤· *}-->
|
---|
68 | <!--{section name=n loop=$level}-->¡¡¡¡<!--{/section}-->
|
---|
69 |
|
---|
70 | <!--{* ¥«¥Æ¥´¥ê̾ɽ¼¨ *}-->
|
---|
71 | <!--{assign var=disp_name value="`$arrTree[cnt].category_id`.`$arrTree[cnt].category_name`"}-->
|
---|
72 | <!--{if $arrTree[cnt].level != $smarty.const.LEVEL_MAX}-->
|
---|
73 | <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('tree', 'parent_category_id', <!--{$arrTree[cnt].category_id}-->); return false;">
|
---|
74 | <!--{if $arrForm.parent_category_id == $arrTree[cnt].category_id}-->
|
---|
75 | <img src="<!--{$smarty.const.URL_DIR}-->misc/openf.gif" border="0">
|
---|
76 | <!--{else}-->
|
---|
77 | <img src="<!--{$smarty.const.URL_DIR}-->misc/closef.gif" border="0">
|
---|
78 | <!--{/if}-->
|
---|
79 | <!--{$disp_name|sfCutString:20|escape}--></a><br>
|
---|
80 | <!--{else}-->
|
---|
81 | <img src="<!--{$smarty.const.URL_DIR}-->misc/closef.gif" border="0">
|
---|
82 | <!--{$disp_name|sfCutString:20|escape}--></a><br>
|
---|
83 | <!--{/if}-->
|
---|
84 |
|
---|
85 | <!--{if $arrTree[cnt].display == true}-->
|
---|
86 | <div id="f<!--{$arrTree[cnt].category_id}-->">
|
---|
87 | <!--{else}-->
|
---|
88 | <div id="f<!--{$arrTree[cnt].category_id}-->" style="display:none">
|
---|
89 | <!--{/if}-->
|
---|
90 |
|
---|
91 | <!--{assign var=before_level value="`$arrTree[cnt].level`}-->
|
---|
92 | <!--{/section}-->
|
---|
93 |
|
---|
94 | </td>
|
---|
95 |
|
---|
96 | <!--¢§²èÌ̱¦-->
|
---|
97 | <td width="428" valign="top">
|
---|
98 |
|
---|
99 | <span class="red12"><!--{$arrErr.category_name}--></span>
|
---|
100 | <input type="text" name="category_name" value="<!--{$arrForm.category_name|escape}-->" size="30" class="box30" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/>
|
---|
101 | <input type="submit" name="button" value="ÅÐÏ¿"/><span class="red10"> ¡Ê¾å¸Â<!--{$smarty.const.STEXT_LEN}-->ʸ»ú¡Ë</span>
|
---|
102 | <table width="428" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
103 | <tr><td height="15"></td></tr>
|
---|
104 | </table>
|
---|
105 |
|
---|
106 | <!--{if count($arrList) > 0}-->
|
---|
107 | <table border="0" cellspacing="1" cellpadding="5" summary=" " bgcolor="#cccccc">
|
---|
108 | <tr bgcolor="#f2f1ec" align="center" class="fs12n">
|
---|
109 | <td width="30">ID</td>
|
---|
110 | <td width="160">¥«¥Æ¥´¥ê̾</td>
|
---|
111 | <td width="60">ÊÔ½¸</td>
|
---|
112 | <td width="60">ºï½ü</td>
|
---|
113 | <td width="60">°ÜÆ°</td>
|
---|
114 | </tr>
|
---|
115 | <!--{section name=cnt loop=$arrList}-->
|
---|
116 | <tr bgcolor="<!--{if $arrForm.category_id != $arrList[cnt].category_id}-->#ffffff<!--{else}--><!--{$smarty.const.SELECT_RGB}--><!--{/if}-->" align="left" class="fs12n">
|
---|
117 | <td><!--{$arrList[cnt].category_id}--></td>
|
---|
118 | <td>
|
---|
119 | <!--{if $arrList[cnt].level != $smarty.const.LEVEL_MAX}-->
|
---|
120 | <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('tree', 'parent_category_id', <!--{$arrList[cnt].category_id}-->); return false"><!--{$arrList[cnt].category_name|escape}--></td>
|
---|
121 | <!--{else}-->
|
---|
122 | <!--{$arrList[cnt].category_name|escape}-->
|
---|
123 | <!--{/if}-->
|
---|
124 | <td align="center">
|
---|
125 | <!--{if $arrForm.category_id != $arrList[cnt].category_id}-->
|
---|
126 | <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('pre_edit', 'category_id', <!--{$arrList[cnt].category_id}-->); return false;" />ÊÔ½¸</a>
|
---|
127 | <!--{else}-->
|
---|
128 | ÊÔ½¸Ãæ
|
---|
129 | <!--{/if}-->
|
---|
130 | </td>
|
---|
131 | <td align="center">
|
---|
132 | <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('delete', 'category_id', <!--{$arrList[cnt].category_id}-->); return false;" />ºï½ü</a>
|
---|
133 | </td>
|
---|
134 | <td align="center">
|
---|
135 | <!--{* °ÜÆ° *}-->
|
---|
136 | <!--{if $smarty.section.cnt.iteration != 1}-->
|
---|
137 | <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('up','category_id', <!--{$arrList[cnt].category_id}-->); return false;">¾å¤Ø</a>
|
---|
138 | <!--{/if}-->
|
---|
139 | <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}-->
|
---|
140 | <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('down','category_id', <!--{$arrList[cnt].category_id}-->); return false;">²¼¤Ø</a>
|
---|
141 | <!--{/if}-->
|
---|
142 | </td>
|
---|
143 | </tr>
|
---|
144 | <!--{/section}-->
|
---|
145 | </table>
|
---|
146 |
|
---|
147 | <!--{else}-->
|
---|
148 | <table border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
149 | <tr>
|
---|
150 | <td class="fs12n">¤³¤Î³¬Áؤˤϡ¢¥«¥Æ¥´¥ê¤¬ÅÐÏ¿¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£</td>
|
---|
151 | </tr>
|
---|
152 | </table>
|
---|
153 | <!--{/if}-->
|
---|
154 | </td>
|
---|
155 | </tr>
|
---|
156 | </table>
|
---|
157 | <!-- ¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç -->
|
---|
158 |
|
---|
159 | </td>
|
---|
160 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
|
---|
161 | </tr>
|
---|
162 | <tr>
|
---|
163 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
|
---|
164 | </tr>
|
---|
165 | <tr><td height="30"></td></tr>
|
---|
166 |
|
---|
167 | </table>
|
---|
168 | </td>
|
---|
169 | </tr>
|
---|
170 | <!--¥á¥¤¥ó¥¨¥ê¥¢-->
|
---|
171 | </table>
|
---|
172 | </td>
|
---|
173 | </tr>
|
---|
174 | </form>
|
---|
175 | </table>
|
---|
176 | <!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
|
---|