1 | <?php /* Smarty version 2.6.13, created on 2007-01-15 19:58:47 |
---|
2 | compiled from design/index.tpl */ ?> |
---|
3 | <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); |
---|
4 | smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'design/index.tpl', 76, false),)), $this); ?> |
---|
5 | <style type="text/css">
|
---|
6 | div.dragged_elm {
|
---|
7 | position: absolute;
|
---|
8 | border: 1px solid black;
|
---|
9 | background: rgb(195,217,255);
|
---|
10 | color: #333;
|
---|
11 | cursor: move;
|
---|
12 | PADDING-RIGHT: 2px;
|
---|
13 | PADDING-LEFT: 2px;
|
---|
14 | PADDING-BOTTOM: 5px;
|
---|
15 | PADDING-TOP: 5px;
|
---|
16 | FONT-SIZE: 10pt;
|
---|
17 | }
|
---|
18 |
|
---|
19 | div.drop_target {
|
---|
20 | border: 0px solid gray;
|
---|
21 | position: relative;
|
---|
22 | text-align: center;
|
---|
23 | color: #333;
|
---|
24 | }
|
---|
25 |
|
---|
26 | </style>
|
---|
27 | <script type="text/javascript">
|
---|
28 |
|
---|
29 | function doPreview(){
|
---|
30 | document.form1.mode.value="preview"
|
---|
31 | document.form1.target = "_blank";
|
---|
32 | document.form1.submit();
|
---|
33 | }
|
---|
34 | function fnTargetSelf(){
|
---|
35 | document.form1.target = "_self";
|
---|
36 | }
|
---|
37 |
|
---|
38 | // ½é´ü½èÍý
|
---|
39 | function init () {
|
---|
40 | document.body.ondrag = function () { return false; };
|
---|
41 | document.body.onselectstart = function () { return false; };
|
---|
42 |
|
---|
43 | // ¥¦¥£¥ó¥É¥¦¥µ¥¤¥º¤ò¼èÆÀ
|
---|
44 | scrX = GetWindowSize("width");
|
---|
45 | scrY = GetWindowSize("height");
|
---|
46 |
|
---|
47 | // ¥¦¥£¥ó¥É¥¦¥µ¥¤¥ºÊѹ¹¥¤¥Ù¥ó¥È¤Ë´ØÏ¢ÉÕ¤±
|
---|
48 | window.onresize = fnMoveObject;
|
---|
49 |
|
---|
50 | // div¥¿¥°¤ò¼èÆÀ
|
---|
51 | all_elms = document.getElementsByTagName ( 'div' );
|
---|
52 |
|
---|
53 | // td¥¿¥°¤ò¼èÆÀ
|
---|
54 | all_td = document.getElementsByTagName ( 'td' );
|
---|
55 |
|
---|
56 | // ÇÛÎóºîÀ®
|
---|
57 | fnCreateArr(0);
|
---|
58 |
|
---|
59 | // alerttest(0);
|
---|
60 |
|
---|
61 | // ʤÓÂؤ¨
|
---|
62 | fnMoveObject();
|
---|
63 |
|
---|
64 | <?php echo $this->_tpl_vars['complate_msg']; ?> |
---|
65 |
|
---|
66 | }
|
---|
67 |
|
---|
68 | </script>
|
---|
69 |
|
---|
70 | <script type="text/javascript" src="<?php echo @URL_DIR; ?> |
---|
71 | js/layout_design.js"></script>
|
---|
72 |
|
---|
73 | <!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
|
---|
74 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
75 | <form name="form1" id="form1" method="post" action="<?php echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
---|
76 | " >
|
---|
77 | <input type="hidden" name="mode" value="">
|
---|
78 | <input type="hidden" name="page_id" value="<?php echo $this->_tpl_vars['page_id']; ?> |
---|
79 | ">
|
---|
80 | <input type="hidden" name="bloc_cnt" value="<?php echo $this->_tpl_vars['bloc_cnt']; ?> |
---|
81 | ">
|
---|
82 | <tr valign="top">
|
---|
83 | <td background="<?php echo @URL_DIR; ?> |
---|
84 | img/contents/navi_bg.gif" height="402">
|
---|
85 | <!--¢§SUB NAVI-->
|
---|
86 | <?php $_smarty_tpl_vars = $this->_tpl_vars; |
---|
87 | $this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['tpl_subnavi'], 'smarty_include_vars' => array())); |
---|
88 | $this->_tpl_vars = $_smarty_tpl_vars; |
---|
89 | unset($_smarty_tpl_vars); |
---|
90 | ?>
|
---|
91 | <!--¢¥SUB NAVI-->
|
---|
92 | </td>
|
---|
93 | <td class="mainbg" >
|
---|
94 | <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
95 | <!--¥á¥¤¥ó¥¨¥ê¥¢-->
|
---|
96 | <tr>
|
---|
97 | <td align="center">
|
---|
98 | <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
99 |
|
---|
100 | <tr><td height="14"></td></tr>
|
---|
101 | <tr>
|
---|
102 | <td colspan="3"><img src="<?php echo @URL_DIR; ?> |
---|
103 | img/contents/main_top.jpg" width="706" height="14" alt=""></td>
|
---|
104 | </tr>
|
---|
105 | <tr>
|
---|
106 | <td background="<?php echo @URL_DIR; ?> |
---|
107 | img/contents/main_left.jpg"><img src="<?php echo @URL_DIR; ?> |
---|
108 | img/common/_.gif" width="14" height="1" alt=""></td>
|
---|
109 | <td bgcolor="#cccccc">
|
---|
110 |
|
---|
111 | <!--ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
|
---|
112 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
113 | <tr>
|
---|
114 | <td colspan="3"><img src="<?php echo @URL_DIR; ?> |
---|
115 | img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
|
---|
116 | </tr>
|
---|
117 | <tr>
|
---|
118 | <td background="<?php echo @URL_DIR; ?> |
---|
119 | img/contents/contents_title_left_bg.gif"><img src="<?php echo @URL_DIR; ?> |
---|
120 | img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
|
---|
121 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¥ì¥¤¥¢¥¦¥ÈÊÔ½¸</span></td>
|
---|
122 | <td background="<?php echo @URL_DIR; ?> |
---|
123 | img/contents/contents_title_right_bg.gif"><img src="<?php echo @URL_DIR; ?> |
---|
124 | img/common/_.gif" width="18" height="1" alt=""></td>
|
---|
125 | </tr>
|
---|
126 | <tr>
|
---|
127 | <td colspan="3"><img src="<?php echo @URL_DIR; ?> |
---|
128 | img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
|
---|
129 | </tr>
|
---|
130 | <tr>
|
---|
131 | <td colspan="3"><img src="<?php echo @URL_DIR; ?> |
---|
132 | img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
|
---|
133 | </tr>
|
---|
134 | </table>
|
---|
135 |
|
---|
136 | <!--¢§¥ì¥¤¥¢¥¦¥ÈÊÔ½¸¡¡¤³¤³¤«¤é-->
|
---|
137 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
|
---|
138 | <tr class="fs12n">
|
---|
139 | <td bgcolor="#f2f1ec" align="center"><strong>¥ì¥¤¥¢¥¦¥ÈÊÔ½¸</strong></td>
|
---|
140 | <td bgcolor="#f2f1ec" align="center"><strong>̤»ÈÍÑ¥Ö¥í¥Ã¥¯</strong></td>
|
---|
141 | </tr>
|
---|
142 | <tr>
|
---|
143 | <!--¢§¥ì¥¤¥¢¥¦¥È¡¡¤³¤³¤«¤é-->
|
---|
144 | <td bgcolor="#ffffff" align="center" valign = 'top'>
|
---|
145 | <table width="450" border=0 cellspacing="1" cellpadding="" summary=" " bgcolor="ffffff">
|
---|
146 | <tr class="fs12n"><td bgcolor="#ffffff" height=5px colspan=3></td></tr>
|
---|
147 | <tr class="fs12n" height = 50>
|
---|
148 | <td bgcolor="#cccccc" align="center" colspan=3> ¥Ø¥Ã¥À¡¼Éô </td>
|
---|
149 | </tr>
|
---|
150 | <tr class="fs12n"><td bgcolor="#ffffff" height=5px colspan=3></td></tr>
|
---|
151 | <tr>
|
---|
152 | <!-- ¡ú¡ù¡ú º¸¥Ê¥Ó¥Æ¡¼¥Ö¥ë ¡ù¡ú¡ù -->
|
---|
153 | <td bgcolor="#ffffff" align="center" valign = 'top'>
|
---|
154 | <table border="0" height="400" cellspacing="1" cellpadding="" summary=" " bgcolor="#cccccc">
|
---|
155 | <tr class="fs12n">
|
---|
156 | <td bgcolor="#ffffff" align="center" id="layout">
|
---|
157 | <div tid="LeftNavi" class="drop_target" id="t1" style="width: 145px; height: 100px;"></div>
|
---|
158 | </td>
|
---|
159 | </tr>
|
---|
160 | </table>
|
---|
161 | </td>
|
---|
162 | <!-- ¡ú¡ù¡ú º¸¥Ê¥Ó¥Æ¡¼¥Ö¥ë ¡ù¡ú¡ù -->
|
---|
163 | <td bgcolor="#ffffff" align="center" valign = 'top'>
|
---|
164 | <table border="0" cellspacing="1" cellpadding="" summary=" " bgcolor="#cccccc">
|
---|
165 | <!-- ¡ú¡ù¡ú ¥á¥¤¥ó¾åÉô¥Æ¡¼¥Ö¥ë ¡ù¡ú¡ù -->
|
---|
166 | <thead>
|
---|
167 | <tr class="fs12n">
|
---|
168 | <td bgcolor="#ffffff" valign="top" name='MainHead' height="100" id="layout">
|
---|
169 | <div tid="MainHead" class="drop_target" id="t2" style="width: 145px; height: 100px;"></div>
|
---|
170 | </td>
|
---|
171 | </tr>
|
---|
172 | </thead>
|
---|
173 | <!-- ¡ú¡ù¡ú ¥á¥¤¥ó¾åÉô¥Æ¡¼¥Ö¥ë ¡ù¡ú¡ù -->
|
---|
174 | <!-- ¡ú¡ù¡ú ¥á¥¤¥ó ¡ù¡ú¡ù -->
|
---|
175 | <tr class="fs12n">
|
---|
176 | <td height=198 align="center" name='Main'>¥á¥¤¥ó</td>
|
---|
177 | </tr>
|
---|
178 | <!-- ¡ú¡ù¡ú ¥á¥¤¥ó ¡ù¡ú¡ù -->
|
---|
179 | <!-- ¡ú¡ù¡ú ¥á¥¤¥ó²¼Éô¥Æ¡¼¥Ö¥ë ¡ù¡ú¡ù -->
|
---|
180 | <tfoot>
|
---|
181 | <tr class="fs12n">
|
---|
182 | <td bgcolor="#ffffff" valign="top" name='MainFoot' height="100" id="layout">
|
---|
183 | <div tid="MainFoot" class="drop_target" id="t4" style="width: 145px; height: 100px;"></div>
|
---|
184 | </td>
|
---|
185 | </tr>
|
---|
186 | </tfoot>
|
---|
187 | <!-- ¡ú¡ù¡ú ¥á¥¤¥ó²¼Éô¥Æ¡¼¥Ö¥ë ¡ù¡ú¡ù -->
|
---|
188 | </table>
|
---|
189 | </td>
|
---|
190 | <!-- ¡ú¡ù¡ú ±¦¥Ê¥Ó¥Æ¡¼¥Ö¥ë ¡ù¡ú¡ù -->
|
---|
191 | <td bgcolor="#ffffff" align="center" valign = 'top'>
|
---|
192 | <table border="0" cellspacing="1" cellpadding="" summary=" " bgcolor="#cccccc">
|
---|
193 | <tr class="fs12n">
|
---|
194 | <td bgcolor="#ffffff" align="center">
|
---|
195 | <div tid="RightNavi" class="drop_target" id="t3" style="width: 145px; height: 100px;"></div>
|
---|
196 | </td>
|
---|
197 | </tr>
|
---|
198 | </table>
|
---|
199 | </td>
|
---|
200 | <!-- ¡ú¡ù¡ú ±¦¥Ê¥Ó¥Æ¡¼¥Ö¥ë ¡ù¡ú¡ù -->
|
---|
201 | </tr>
|
---|
202 | <tr class="fs12n"><td bgcolor="#ffffff" height=5px colspan=3></td></tr>
|
---|
203 | <tr class="fs12n" height=50><td bgcolor="#cccccc" align="center" colspan=3>¥Õ¥Ã¥¿¡¼Éô</td></tr>
|
---|
204 | <tr class="fs12n"><td bgcolor="#ffffff" height=5px colspan=3></td></tr>
|
---|
205 | </table>
|
---|
206 | </td>
|
---|
207 | <!--¢¥¥ì¥¤¥¢¥¦¥È¡¡¤³¤³¤Þ¤Ç-->
|
---|
208 |
|
---|
209 | <!--¢§Ì¤»ÈÍÑ¥Ö¥í¥Ã¥¯¡¡¤³¤³¤«¤é-->
|
---|
210 | <td bgcolor="#ffffff" align="center" valign = 'top'>
|
---|
211 | <table width="140" border="0" cellspacing="" cellpadding="" summary=" " bgcolor="#ffffff">
|
---|
212 | <tr class="fs12n">
|
---|
213 | <td bgcolor="#ffffff" align="center" >
|
---|
214 | <div tid="Unused" class="drop_target" id="t5" style="width: 160px; height: 500px; border: 1px solid #cccccc;"></div>
|
---|
215 | </td>
|
---|
216 | </tr>
|
---|
217 | <tr class="fs12n">
|
---|
218 | <td bgcolor="#ffffff" align="center" height="30">
|
---|
219 | <input type='button' value='¿·µ¬¥Ö¥í¥Ã¥¯ºîÀ®' name='subm' onclick="fnTargetSelf(); fnFormModeSubmit('form1','new_bloc','','');" />
|
---|
220 | </td>
|
---|
221 | </tr>
|
---|
222 | </table>
|
---|
223 | </td>
|
---|
224 | <!--¢¥Ì¤»ÈÍÑ¥Ö¥í¥Ã¥¯¡¡¤³¤³¤Þ¤Ç-->
|
---|
225 | </tr>
|
---|
226 | <tr class="fs12n">
|
---|
227 | <td bgcolor="#f2f1ec" align="center" colspan=2>
|
---|
228 | <input type='button' value='Êݸ' name='subm' onclick="fnTargetSelf(); fnFormModeSubmit('form1','confirm','','');" />
|
---|
229 | <input type='button' value='¥×¥ì¥Ó¥å¡¼' name='preview' onclick="doPreview();" <?php if ($this->_tpl_vars['page_id'] == '0' || $this->_tpl_vars['exists_page'] == '0'): ?>DISABLED<?php endif; ?> />
|
---|
230 | </td>
|
---|
231 | </tr>
|
---|
232 | </table>
|
---|
233 | <!--¢¥¥ì¥¤¥¢¥¦¥ÈÊÔ½¸¡¡¤³¤³¤Þ¤Ç-->
|
---|
234 |
|
---|
235 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
236 | <tr><td colspan="3"><img src="<?php echo @URL_DIR; ?> |
---|
237 | img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
|
---|
238 | </table>
|
---|
239 |
|
---|
240 | <!--¢§¥Ú¡¼¥¸°ìÍ÷¡¡¤³¤³¤«¤é-->
|
---|
241 | <table width="678" border="0" cellspacing="1" cellpadding="5" summary=" ">
|
---|
242 | <tr class="fs12n">
|
---|
243 | <td bgcolor="#f2f1ec" align="center" colspan=3 ><strong>ÊÔ½¸²Äǽ¥Ú¡¼¥¸</strong></td>
|
---|
244 | </tr>
|
---|
245 |
|
---|
246 | <?php $_from = $this->_tpl_vars['arrEditPage']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): |
---|
247 | foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']): |
---|
248 | ?>
|
---|
249 | <tr class="fs12n" height=20>
|
---|
250 | <td align="center" width=600 bgcolor="<?php if ($this->_tpl_vars['item']['page_id'] == $this->_tpl_vars['page_id']): echo @SELECT_RGB; else: ?>#ffffff<?php endif; ?>">
|
---|
251 | <a href="<?php echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
---|
252 | ?page_id=<?php echo $this->_tpl_vars['item']['page_id']; ?> |
---|
253 | " ><?php echo $this->_tpl_vars['item']['page_name']; ?> |
---|
254 | </a>
|
---|
255 | </td>
|
---|
256 | <td align="center" width=78 bgcolor="<?php if ($this->_tpl_vars['item']['page_id'] == $this->_tpl_vars['page_id']): echo @SELECT_RGB; else: ?>#ffffff<?php endif; ?>">
|
---|
257 | <?php if ($this->_tpl_vars['item']['tpl_dir'] != ""): ?>
|
---|
258 | <input type='button' value='¥á¥¤¥óÊÔ½¸' name='page_edit' onclick="location.href='./main_edit.php?page_id=<?php echo $this->_tpl_vars['item']['page_id']; ?> |
---|
259 | '" />
|
---|
260 | <?php else: ?>
|
---|
261 | ÊÔ½¸ÉÔ²Ä
|
---|
262 | <?php endif; ?>
|
---|
263 | </td>
|
---|
264 | <td align="center" width=78 bgcolor="<?php if ($this->_tpl_vars['item']['page_id'] == $this->_tpl_vars['page_id']): echo @SELECT_RGB; else: ?>#ffffff<?php endif; ?>">
|
---|
265 | <?php if ($this->_tpl_vars['item']['edit_flg'] == 1): ?>
|
---|
266 | <input type='button' value='ºï½ü' name='del' onclick="fnTargetSelf(); fnFormModeSubmit('form1','delete','','');" />
|
---|
267 | <?php endif; ?>
|
---|
268 | </td>
|
---|
269 | </tr>
|
---|
270 | <?php endforeach; endif; unset($_from); ?>
|
---|
271 |
|
---|
272 | <tr class="fs12n">
|
---|
273 | <td bgcolor="#f2f1ec" align="center" colspan=3>
|
---|
274 | <input type='button' value='¿·µ¬¥Ú¡¼¥¸ºîÀ®' name='subm' onclick="fnTargetSelf(); fnFormModeSubmit('form1','new_page','','');" />
|
---|
275 | </td>
|
---|
276 | </tr>
|
---|
277 | </table>
|
---|
278 | <!--¢¥¥Ú¡¼¥¸°ìÍ÷¡¡¤³¤³¤Þ¤Ç-->
|
---|
279 |
|
---|
280 | </td>
|
---|
281 | <td background="<?php echo @URL_DIR; ?> |
---|
282 | img/contents/main_right.jpg"><img src="<?php echo @URL_DIR; ?> |
---|
283 | img/common/_.gif" width="14" height="1" alt=""></td>
|
---|
284 | </tr>
|
---|
285 | <tr>
|
---|
286 | <td colspan="3"><img src="<?php echo @URL_DIR; ?> |
---|
287 | img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
|
---|
288 | </tr>
|
---|
289 | <tr><td height="30"></td></tr>
|
---|
290 |
|
---|
291 | </table>
|
---|
292 | </td>
|
---|
293 | </tr>
|
---|
294 | <!--¥á¥¤¥ó¥¨¥ê¥¢-->
|
---|
295 | </table>
|
---|
296 | </td>
|
---|
297 | </tr>
|
---|
298 |
|
---|
299 | </table>
|
---|
300 | <!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
|
---|
301 |
|
---|
302 | <?php $_from = $this->_tpl_vars['tpl_arrBloc']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['bloc_loop'] = array('total' => count($_from), 'iteration' => 0); |
---|
303 | if ($this->_foreach['bloc_loop']['total'] > 0): |
---|
304 | foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']): |
---|
305 | $this->_foreach['bloc_loop']['iteration']++; |
---|
306 | ?>
|
---|
307 | <div align=center target_id="<?php echo $this->_tpl_vars['item']['target_id']; ?> |
---|
308 | " did="<?php echo $this->_foreach['bloc_loop']['iteration']; ?> |
---|
309 | " class="dragged_elm" id="<?php echo $this->_tpl_vars['item']['target_id']; ?> |
---|
310 | "
|
---|
311 | style="left:350px; top:0px; filter: alpha(opacity=100); opacity: 1; width: 120px;">
|
---|
312 | <?php echo $this->_tpl_vars['item']['name']; ?> |
---|
313 |
|
---|
314 | </div>
|
---|
315 |
|
---|
316 | <input type="hidden" name="name_<?php echo $this->_foreach['bloc_loop']['iteration']; ?> |
---|
317 | " value="<?php echo $this->_tpl_vars['item']['name']; ?> |
---|
318 | ">
|
---|
319 | <input type="hidden" name="id_<?php echo $this->_foreach['bloc_loop']['iteration']; ?> |
---|
320 | " value="<?php echo $this->_tpl_vars['item']['bloc_id']; ?> |
---|
321 | ">
|
---|
322 | <input type="hidden" name="target_id_<?php echo $this->_foreach['bloc_loop']['iteration']; ?> |
---|
323 | " value="<?php echo $this->_tpl_vars['item']['target_id']; ?> |
---|
324 | ">
|
---|
325 | <input type="hidden" name="top_<?php echo $this->_foreach['bloc_loop']['iteration']; ?> |
---|
326 | " value="<?php echo $this->_tpl_vars['item']['bloc_row']; ?> |
---|
327 | ">
|
---|
328 | <?php endforeach; endif; unset($_from); ?>
|
---|
329 | </form>
|
---|