source: branches/comu/data/Smarty/templates_c/admin/%%F5^F58^F583F3D2%%main_edit.tpl.php @ 2

Revision 2, 11.7 KB checked in by root, 17 years ago (diff)

new import

Line 
1<?php /* Smarty version 2.6.13, created on 2007-01-15 19:58:49
2         compiled from design/main_edit.tpl */ ?>
3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
4smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'design/main_edit.tpl', 36, false),)), $this); ?>
5<script type="text/javascript">
6function doPreview(){
7    document.form_edit.mode.value="preview"
8    document.form_edit.target = "_blank";
9    document.form_edit.submit();
10}
11
12function fnTargetSelf(){
13    document.form_edit.target = "_self";
14}
15
16</script>
17
18<SCRIPT language="JavaScript">
19<!--
20browser_type = 0;
21if(navigator.userAgent.indexOf("MSIE") >= 0){
22    browser_type = 1;
23}
24else if(navigator.userAgent.indexOf("Mozilla") >= 0){
25    browser_type = 2;
26}
27//-->
28</SCRIPT>
29
30
31<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
32<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
33<form name="form_edit" id="form_edit" method="post" action="<?php echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
34" >
35<input type="hidden" name="mode" value="">
36<input type="hidden" name="page_id" value="<?php echo $this->_tpl_vars['page_id']; ?>
37">
38    <tr valign="top">
39        <td background="<?php echo @URL_DIR; ?>
40img/contents/navi_bg.gif" height="402">
41            <!--¢§SUB NAVI-->
42            <?php $_smarty_tpl_vars = $this->_tpl_vars;
43$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['tpl_subnavi'], 'smarty_include_vars' => array()));
44$this->_tpl_vars = $_smarty_tpl_vars;
45unset($_smarty_tpl_vars);
46 ?>
47            <!--¢¥SUB NAVI-->
48        </td>
49        <td class="mainbg" >
50        <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
51            <!--¥á¥¤¥ó¥¨¥ê¥¢-->
52            <tr>
53                <td align="center">
54                <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
55
56                    <tr><td height="14"></td></tr>
57                    <tr>
58                        <td colspan="3"><img src="<?php echo @URL_DIR; ?>
59img/contents/main_top.jpg" width="706" height="14" alt=""></td>
60                    </tr>
61                    <tr>
62                        <td background="<?php echo @URL_DIR; ?>
63img/contents/main_left.jpg"><img src="<?php echo @URL_DIR; ?>
64img/common/_.gif" width="14" height="1" alt=""></td>
65                        <td bgcolor="#cccccc">
66                       
67                        <!--ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
68                        <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
69                            <tr>
70                                <td colspan="3"><img src="<?php echo @URL_DIR; ?>
71img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
72                            </tr>
73                            <tr>
74                                <td background="<?php echo @URL_DIR; ?>
75img/contents/contents_title_left_bg.gif"><img src="<?php echo @URL_DIR; ?>
76img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
77                                <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¥Ú¡¼¥¸¾ÜºÙÀßÄê</span></td>
78                                <td background="<?php echo @URL_DIR; ?>
79img/contents/contents_title_right_bg.gif"><img src="<?php echo @URL_DIR; ?>
80img/common/_.gif" width="18" height="1" alt=""></td>
81                            </tr>
82                            <tr>
83                                <td colspan="3"><img src="<?php echo @URL_DIR; ?>
84img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
85                            </tr>
86                            <tr>
87                                <td colspan="3"><img src="<?php echo @URL_DIR; ?>
88img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
89                            </tr>
90                        </table>
91
92                        <!--¢§ÊÔ½¸²èÌÌ¡¡¤³¤³¤«¤é-->
93                        <?php if ($this->_tpl_vars['arrErr']['page_id_err'] != ""): ?>
94                        <table width="678" border="0" cellspacing="1" cellpadding="5" summary=" ">
95                            <tr>
96                                <td bgcolor="#ffffff" align="center" class="fs14">
97                                    <span class="red"><strong><?php echo $this->_tpl_vars['arrErr']['page_id_err']; ?>
98</strong></span>
99                                </td>
100                            </tr>
101                        </table>
102                        <?php endif; ?>
103                       
104                        <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
105                            <tr class="fs12n">
106                                <td bgcolor="#ffffff" align="left" colspan=2>
107                                    <?php if ($this->_tpl_vars['arrErr']['page_name'] != ""): ?> <div align="center"> <span class="red12"><?php echo $this->_tpl_vars['arrErr']['page_name']; ?>
108</span></div> <?php endif; ?>
109                                    <?php if ($this->_tpl_vars['arrPageData']['edit_flg'] == 2): ?>
110                                        ̾¾Î¡§<?php echo ((is_array($_tmp=$this->_tpl_vars['arrPageData']['page_name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
111<input type="hidden" name="page_name" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrPageData']['page_name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
112" />
113                                    <?php else: ?>
114                                        ̾¾Î¡§<input type="text" name="page_name" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrPageData']['page_name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
115" maxlength="<?php echo @STEXT_LEN; ?>
116" style="<?php if ($this->_tpl_vars['arrErr']['page_name'] != ""): ?>background-color: <?php echo @ERR_COLOR;  endif; ?>" size="60" class="box60" /><span class="red"> ¡Ê¾å¸Â<?php echo @STEXT_LEN; ?>
117ʸ»ú¡Ë</span>
118                                    <?php endif; ?>
119                                </td>
120                            </tr>
121                            <tr class="fs12n">
122                                <td bgcolor="#ffffff" align="left" colspan=2>
123                                    <?php if ($this->_tpl_vars['arrErr']['url'] != ""): ?> <div align="center"> <span class="red12"><?php echo $this->_tpl_vars['arrErr']['url']; ?>
124</span></div> <?php endif; ?>
125                                    URL¡§<?php if ($this->_tpl_vars['arrPageData']['edit_flg'] == 2): ?>
126                                            <?php echo @SITE_URL;  echo ((is_array($_tmp=$this->_tpl_vars['arrPageData']['url'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
127
128                                            <input type="hidden" name="url" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrPageData']['filename'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
129" maxlength="<?php echo @STEXT_LEN; ?>
130" />
131                                        <?php else: ?>
132                                            <?php echo $this->_tpl_vars['user_URL']; ?>
133<input type="text" name="url" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrPageData']['directory'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp));  echo ((is_array($_tmp=$this->_tpl_vars['arrPageData']['filename'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
134" maxlength="<?php echo @STEXT_LEN; ?>
135" style="<?php if ($this->_tpl_vars['arrErr']['url'] != ""): ?>background-color: <?php echo @ERR_COLOR; ?>
136;<?php endif; ?> ime-mode: disabled;" size="60" class="box60" />.php<span class="red"> ¡Ê¾å¸Â<?php echo @STEXT_LEN; ?>
137ʸ»ú¡Ë</span>
138                                        <?php endif; ?>
139                                </td>
140                            </tr>
141                            <tr class="fs12n">
142                                <td bgcolor="#ffffff" align="left">
143                                    <label for="header"><input type="checkbox" name="header_chk" id="header" <?php echo $this->_tpl_vars['arrPageData']['header_chk']; ?>
144>¶¦Ä̤ΥإåÀ¡¼¤ò»ÈÍѤ¹¤ë</label>
145                                </td>
146                                <td bgcolor="#ffffff" align="left">
147                                    <label for="footer"><input type="checkbox" name="footer_chk" id="footer" <?php echo $this->_tpl_vars['arrPageData']['footer_chk']; ?>
148>¶¦Ä̤Υեå¿¡¼¤ò»ÈÍѤ¹¤ë</label>
149                                </td>
150                            </tr>
151
152                            <tr class="fs12n">
153                                <td bgcolor="#f2f1ec" align="center" colspan=2>
154                                    <br/>
155                                    <div>
156                                    <textarea name="tpl_data" cols=90 rows=<?php echo $this->_tpl_vars['text_row']; ?>
157 align="left" wrap=off style="width: 650px; "><?php echo $this->_tpl_vars['arrPageData']['tpl_data']; ?>
158</textarea>
159                                    <input type="hidden" name="html_area_row" value="<?php echo $this->_tpl_vars['text_row']; ?>
160">
161                                    </div>
162                                    <div align="right">
163                                        <input type="button" value="Â礭¤¯¤¹¤ë" onClick="ChangeSize(this, tpl_data, 50, 13, html_area_row)">
164                                    </div>
165                                    <br/>
166                                </td>
167                            </tr>
168                            <tr class="fs12n">
169                                <td bgcolor="#f2f1ec" align="center" colspan=2>
170                                    <input type='button' value='ÅÐÏ¿' name='subm' onclick="fnTargetSelf(); fnFormModeSubmit('form_edit','confirm','','');"  />
171                                    <input type='button' value='¥×¥ì¥Ó¥å¡¼' name='preview' onclick="doPreview(); "  />
172                                </td>
173                            </tr>
174                        </table>
175                        <!--¢¥ÊÔ½¸²èÌÌ¡¡¤³¤³¤Þ¤Ç-->
176                       
177                        <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
178                            <tr><td colspan="3"><img src="<?php echo @URL_DIR; ?>
179img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
180                        </table>
181                       
182                        <!--¢§°ìÍ÷¡¡¤³¤³¤«¤é-->
183                        <table width="678" border="0" cellspacing="1" cellpadding="5" summary=" ">
184                            <tr class="fs12n">
185                                <td bgcolor="#f2f1ec" align="center" colspan=3 ><strong>ÊÔ½¸²Äǽ²èÌÌ°ìÍ÷</strong></td>
186                            </tr>
187                           
188                            <?php $_from = $this->_tpl_vars['arrPageList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
189    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']):
190?>
191                            <?php if ($this->_tpl_vars['item']['tpl_dir'] != ""): ?>
192                            <tr class="fs12n" height=20>
193                                <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; ?>">
194                                    <a href="<?php echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
195?page_id=<?php echo $this->_tpl_vars['item']['page_id']; ?>
196" ><?php echo $this->_tpl_vars['item']['page_name']; ?>
197</a>
198                                </td>
199                                <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; ?>">
200                                    <input type="button" value="¥ì¥¤¥¢¥¦¥È" name="layout<?php echo $this->_tpl_vars['item']['page_id']; ?>
201" onclick="location.href='./index.php?page_id=<?php echo $this->_tpl_vars['item']['page_id']; ?>
202';"  />
203                                    <input type="hidden" value="<?php echo $this->_tpl_vars['item']['page_id']; ?>
204" name="del_id<?php echo $this->_tpl_vars['item']['page_id']; ?>
205">
206                                </td>
207                                <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; ?>">
208                                    <?php if ($this->_tpl_vars['item']['edit_flg'] == 1): ?>
209                                    <input type="button" value="ºï½ü" name="del<?php echo $this->_tpl_vars['item']['page_id']; ?>
210" onclick="fnTargetSelf(); fnFormModeSubmit('form_edit','delete','page_id',this.name.substr(3));"  />
211                                    <input type="hidden" value="<?php echo $this->_tpl_vars['item']['page_id']; ?>
212" name="del_id<?php echo $this->_tpl_vars['item']['page_id']; ?>
213">
214                                    <?php endif; ?>
215                                </td>
216                            </tr>
217                            <?php endif; ?>
218                            <?php endforeach; endif; unset($_from); ?>
219                            <tr class="fs12n">
220                                <td bgcolor="#f2f1ec" align="center" colspan=3>
221                                <input type='button' value='¿·µ¬¥Ú¡¼¥¸ºîÀ®' name='subm' onclick="location.href='http://<?php echo $_SERVER['HTTP_HOST'];  echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
222'">
223                                </td>
224                            </tr>
225                        </table>
226                        <!--¢¥°ìÍ÷¡¡¤³¤³¤Þ¤Ç-->
227
228                        <!--ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
229                        </td>
230                        <td background="<?php echo @URL_DIR; ?>
231img/contents/main_right.jpg"><img src="<?php echo @URL_DIR; ?>
232img/common/_.gif" width="14" height="1" alt=""></td>
233                    </tr>
234                    <tr>
235                        <td colspan="3"><img src="<?php echo @URL_DIR; ?>
236img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
237                    </tr>
238                    <tr><td height="30"></td></tr>
239
240                </table>
241                </td>
242            </tr>
243            <!--¥á¥¤¥ó¥¨¥ê¥¢-->
244        </table>
245        </td>
246    </tr>
247</form>
248</table>
249<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->     
250
251
Note: See TracBrowser for help on using the repository browser.