1 | <!--{*
|
---|
2 | /*
|
---|
3 | * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
|
---|
4 | *
|
---|
5 | * http://www.lockon.co.jp/
|
---|
6 | */
|
---|
7 | *}-->
|
---|
8 | <script type="text/javascript">
|
---|
9 | function doPreview(){
|
---|
10 | document.form_edit.mode.value="preview"
|
---|
11 | document.form_edit.target = "_blank";
|
---|
12 | document.form_edit.submit();
|
---|
13 | }
|
---|
14 |
|
---|
15 | function fnTargetSelf(){
|
---|
16 | document.form_edit.target = "_self";
|
---|
17 | }
|
---|
18 |
|
---|
19 | </script>
|
---|
20 |
|
---|
21 | <SCRIPT language="JavaScript">
|
---|
22 | <!--
|
---|
23 | browser_type = 0;
|
---|
24 | if(navigator.userAgent.indexOf("MSIE") >= 0){
|
---|
25 | browser_type = 1;
|
---|
26 | }
|
---|
27 | else if(navigator.userAgent.indexOf("Mozilla") >= 0){
|
---|
28 | browser_type = 2;
|
---|
29 | }
|
---|
30 | //-->
|
---|
31 | </SCRIPT>
|
---|
32 |
|
---|
33 |
|
---|
34 | <!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
|
---|
35 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
36 | <form name="form_edit" id="form_edit" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" >
|
---|
37 | <input type="hidden" name="mode" value="">
|
---|
38 | <input type="hidden" name="page_id" value="<!--{$page_id}-->">
|
---|
39 | <tr valign="top">
|
---|
40 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402">
|
---|
41 | <!--¢§SUB NAVI-->
|
---|
42 | <!--{include file=$tpl_subnavi}-->
|
---|
43 | <!--¢¥SUB NAVI-->
|
---|
44 | </td>
|
---|
45 | <td class="mainbg" >
|
---|
46 | <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
47 | <!--¥á¥¤¥ó¥¨¥ê¥¢-->
|
---|
48 | <tr>
|
---|
49 | <td align="center">
|
---|
50 | <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
51 |
|
---|
52 | <tr><td height="14"></td></tr>
|
---|
53 | <tr>
|
---|
54 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
|
---|
55 | </tr>
|
---|
56 | <tr>
|
---|
57 | <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>
|
---|
58 | <td bgcolor="#cccccc">
|
---|
59 |
|
---|
60 | <!--ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
|
---|
61 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
62 | <tr>
|
---|
63 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
|
---|
64 | </tr>
|
---|
65 | <tr>
|
---|
66 | <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>
|
---|
67 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¥Ú¡¼¥¸¾ÜºÙÀßÄê</span></td>
|
---|
68 | <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>
|
---|
69 | </tr>
|
---|
70 | <tr>
|
---|
71 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
|
---|
72 | </tr>
|
---|
73 | <tr>
|
---|
74 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
|
---|
75 | </tr>
|
---|
76 | </table>
|
---|
77 |
|
---|
78 | <!--¢§ÊÔ½¸²èÌÌ¡¡¤³¤³¤«¤é-->
|
---|
79 | <!--{if $arrErr.page_id_err != ""}-->
|
---|
80 | <table width="678" border="0" cellspacing="1" cellpadding="5" summary=" ">
|
---|
81 | <tr>
|
---|
82 | <td bgcolor="#ffffff" align="center" class="fs14">
|
---|
83 | <span class="red"><strong><!--{$arrErr.page_id_err}--></strong></span>
|
---|
84 | </td>
|
---|
85 | </tr>
|
---|
86 | </table>
|
---|
87 | <!--{/if}-->
|
---|
88 |
|
---|
89 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
|
---|
90 | <tr class="fs12n">
|
---|
91 | <td bgcolor="#ffffff" align="left" colspan=2>
|
---|
92 | <!--{ if $arrErr.page_name != "" }--> <div align="center"> <span class="red12"><!--{$arrErr.page_name}--></span></div> <!--{/if}-->
|
---|
93 | <!--{if $arrPageData.edit_flg == 2}-->
|
---|
94 | ̾¾Î¡§<!--{$arrPageData.page_name|escape}--><input type="hidden" name="page_name" value="<!--{$arrPageData.page_name|escape}-->" />
|
---|
95 | <!--{else}-->
|
---|
96 | ̾¾Î¡§<input type="text" name="page_name" value="<!--{$arrPageData.page_name|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{if $arrErr.page_name != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" size="60" class="box60" /><span class="red"> ¡Ê¾å¸Â<!--{$smarty.const.STEXT_LEN}-->ʸ»ú¡Ë</span>
|
---|
97 | <!--{/if}-->
|
---|
98 | </td>
|
---|
99 | </tr>
|
---|
100 | <tr class="fs12n">
|
---|
101 | <td bgcolor="#ffffff" align="left" colspan=2>
|
---|
102 | <!--{ if $arrErr.url != "" }--> <div align="center"> <span class="red12"><!--{$arrErr.url}--></span></div> <!--{/if}-->
|
---|
103 | URL¡§<!--{if $arrPageData.edit_flg == 2}-->
|
---|
104 | <!--{$smarty.const.SITE_URL}--><!--{$arrPageData.url|escape}-->
|
---|
105 | <input type="hidden" name="url" value="<!--{$arrPageData.filename|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" />
|
---|
106 | <!--{else}-->
|
---|
107 | <!--{$user_URL}--><input type="text" name="url" value="<!--{$arrPageData.directory|escape}--><!--{$arrPageData.filename|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{if $arrErr.url != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}--> ime-mode: disabled;" size="60" class="box60" />.php<span class="red"> ¡Ê¾å¸Â<!--{$smarty.const.STEXT_LEN}-->ʸ»ú¡Ë</span>
|
---|
108 | <!--{/if}-->
|
---|
109 | </td>
|
---|
110 | </tr>
|
---|
111 | <tr class="fs12n">
|
---|
112 | <td bgcolor="#ffffff" align="left">
|
---|
113 | <label for="header"><input type="checkbox" name="header_chk" id="header" <!--{$arrPageData.header_chk}-->>¶¦Ä̤ΥإåÀ¡¼¤ò»ÈÍѤ¹¤ë</label>
|
---|
114 | </td>
|
---|
115 | <td bgcolor="#ffffff" align="left">
|
---|
116 | <label for="footer"><input type="checkbox" name="footer_chk" id="footer" <!--{$arrPageData.footer_chk}-->>¶¦Ä̤Υեå¿¡¼¤ò»ÈÍѤ¹¤ë</label>
|
---|
117 | </td>
|
---|
118 | </tr>
|
---|
119 |
|
---|
120 | <tr class="fs12n">
|
---|
121 | <td bgcolor="#f2f1ec" align="center" colspan=2>
|
---|
122 | <br/>
|
---|
123 | <div>
|
---|
124 | <textarea name="tpl_data" cols=90 rows=<!--{$text_row}--> align="left" wrap=off style="width: 650px; "><!--{$arrPageData.tpl_data}--></textarea>
|
---|
125 | <input type="hidden" name="html_area_row" value="<!--{$text_row}-->">
|
---|
126 | </div>
|
---|
127 | <div align="right">
|
---|
128 | <input type="button" value="Â礤¯¤¹¤ë" onClick="ChangeSize(this, tpl_data, 50, 13, html_area_row)">
|
---|
129 | </div>
|
---|
130 | <br/>
|
---|
131 | </td>
|
---|
132 | </tr>
|
---|
133 | <tr class="fs12n">
|
---|
134 | <td bgcolor="#f2f1ec" align="center" colspan=2>
|
---|
135 | <input type='button' value='ÅÐÏ¿' name='subm' onclick="fnTargetSelf(); fnFormModeSubmit('form_edit','confirm','','');" />
|
---|
136 | <input type='button' value='¥×¥ì¥Ó¥å¡¼' name='preview' onclick="doPreview(); " />
|
---|
137 | </td>
|
---|
138 | </tr>
|
---|
139 | </table>
|
---|
140 | <!--¢¥ÊÔ½¸²èÌÌ¡¡¤³¤³¤Þ¤Ç-->
|
---|
141 |
|
---|
142 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
143 | <tr><td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
|
---|
144 | </table>
|
---|
145 |
|
---|
146 | <!--¢§°ìÍ÷¡¡¤³¤³¤«¤é-->
|
---|
147 | <table width="678" border="0" cellspacing="1" cellpadding="5" summary=" ">
|
---|
148 | <tr class="fs12n">
|
---|
149 | <td bgcolor="#f2f1ec" align="center" colspan=3 ><strong>ÊÔ½¸²Äǽ²èḬ̀ìÍ÷</strong></td>
|
---|
150 | </tr>
|
---|
151 |
|
---|
152 | <!--{foreach key=key item=item from=$arrPageList}-->
|
---|
153 | <!--{if $item.tpl_dir != "" }-->
|
---|
154 | <tr class="fs12n" height=20>
|
---|
155 | <td align="center" width=600 bgcolor="<!--{if $item.page_id == $page_id}--><!--{$smarty.const.SELECT_RGB}--><!--{else}-->#ffffff<!--{/if}-->">
|
---|
156 | <a href="<!--{$smarty.server.PHP_SELF|escape}-->?page_id=<!--{$item.page_id}-->" ><!--{$item.page_name}--></a>
|
---|
157 | </td>
|
---|
158 | <td align="center" width=78 bgcolor="<!--{if $item.page_id == $page_id}--><!--{$smarty.const.SELECT_RGB}--><!--{else}-->#ffffff<!--{/if}-->">
|
---|
159 | <input type="button" value="¥ì¥¤¥¢¥¦¥È" name="layout<!--{$item.page_id}-->" onclick="location.href='./index.php?page_id=<!--{$item.page_id}-->';" />
|
---|
160 | <input type="hidden" value="<!--{$item.page_id}-->" name="del_id<!--{$item.page_id}-->">
|
---|
161 | </td>
|
---|
162 | <td align="center" width=78 bgcolor="<!--{if $item.page_id == $page_id}--><!--{$smarty.const.SELECT_RGB}--><!--{else}-->#ffffff<!--{/if}-->">
|
---|
163 | <!--{if $item.edit_flg == 1}-->
|
---|
164 | <input type="button" value="ºï½ü" name="del<!--{$item.page_id}-->" onclick="fnTargetSelf(); fnFormModeSubmit('form_edit','delete','page_id',this.name.substr(3));" />
|
---|
165 | <input type="hidden" value="<!--{$item.page_id}-->" name="del_id<!--{$item.page_id}-->">
|
---|
166 | <!--{/if}-->
|
---|
167 | </td>
|
---|
168 | </tr>
|
---|
169 | <!--{/if}-->
|
---|
170 | <!--{/foreach}-->
|
---|
171 | <tr class="fs12n">
|
---|
172 | <td bgcolor="#f2f1ec" align="center" colspan=3>
|
---|
173 | <input type='button' value='¿·µ¬¥Ú¡¼¥¸ºîÀ®' name='subm' onclick="location.href='http://<!--{$smarty.server.HTTP_HOST}--><!--{$smarty.server.PHP_SELF|escape}-->'">
|
---|
174 | </td>
|
---|
175 | </tr>
|
---|
176 | </table>
|
---|
177 | <!--¢¥°ìÍ÷¡¡¤³¤³¤Þ¤Ç-->
|
---|
178 |
|
---|
179 | <!--ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
|
---|
180 | </td>
|
---|
181 | <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>
|
---|
182 | </tr>
|
---|
183 | <tr>
|
---|
184 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
|
---|
185 | </tr>
|
---|
186 | <tr><td height="30"></td></tr>
|
---|
187 |
|
---|
188 | </table>
|
---|
189 | </td>
|
---|
190 | </tr>
|
---|
191 | <!--¥á¥¤¥ó¥¨¥ê¥¢-->
|
---|
192 | </table>
|
---|
193 | </td>
|
---|
194 | </tr>
|
---|
195 | </form>
|
---|
196 | </table>
|
---|
197 | <!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
|
---|
198 |
|
---|
199 |
|
---|