source: branches/beta/data/Smarty/templates_c/admin/%%DE^DED^DED92B5A%%csv_sql.tpl.php @ 1

Revision 1, 14.3 KB checked in by root, 20 years ago (diff)

new import

Line 
1<?php /* Smarty version 2.6.13, created on 2007-01-19 12:59:29
2         compiled from contents/csv_sql.tpl */ ?>
3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
4smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'contents/csv_sql.tpl', 36, false),array('function', 'html_options', 'contents/csv_sql.tpl', 208, false),)), $this); ?>
5<script type="text/javascript">
6<!--
7// ¥ê¥¹¥È¥Ü¥Ã¥¯¥¹¤Î¥µ¥¤¥ºÊѹ¹
8function ChangeSize(button, TextArea, Max, Min, row_tmp){
9    if(TextArea.rows <= Min){
10        TextArea.rows=Max; button.value="¾®¤µ¤¯¤¹¤ë"; row_tmp.value=Max;
11    }else{
12        TextArea.rows =Min; button.value="Â礭¤¯¤¹¤ë"; row_tmp.value=Min;
13    }
14}
15
16// SQL³Îǧ²èÌ̵¯Æ°
17function doPreview(){
18    document.form1.mode.value="preview"
19    document.form1.target = "_blank";
20    document.form1.submit();
21}
22
23// form¤Î¥¿¡¼¥²¥Ã¥È¤ò¼«Ê¬¤ËÌ᤹
24function fnTargetSelf(){
25    document.form1.target = "_self";
26}
27
28//-->
29</script>
30
31<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
32<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
33<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)); ?>
34">
35<input type="hidden" name="mode" value="confirm">
36<input type="hidden" name="sql_id" value="<?php echo $this->_tpl_vars['sql_id']; ?>
37">
38<input type="hidden" name="csv_output_id" value="">
39<input type="hidden" name="selectTable" value="">
40    <tr valign="top">
41        <td background="<?php echo @URL_DIR; ?>
42img/contents/navi_bg.gif" height="402">
43            <!--¢§SUB NAVI-->
44            <?php $_smarty_tpl_vars = $this->_tpl_vars;
45$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['tpl_subnavi'], 'smarty_include_vars' => array()));
46$this->_tpl_vars = $_smarty_tpl_vars;
47unset($_smarty_tpl_vars);
48 ?>
49            <!--¢¥SUB NAVI-->
50        </td>
51        <td class="mainbg">
52            <!--¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
53            <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
54                <!--¥á¥¤¥ó¥¨¥ê¥¢-->
55                <tr>
56                    <td align="center">
57                        <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
58                            <tr><td height="14"></td></tr>
59                            <tr>
60                                <td colspan="3"><img src="<?php echo @URL_DIR; ?>
61img/contents/main_top.jpg" width="706" height="14" alt=""></td>
62                            </tr>
63                            <tr>
64                                <td background="<?php echo @URL_DIR; ?>
65img/contents/main_left.jpg"><img src="<?php echo @URL_DIR; ?>
66img/common/_.gif" width="14" height="1" alt=""></td>
67                                <td bgcolor="#cccccc">
68
69                                    <!-- SQL°ìÍ÷ ¤³¤³¤«¤é -->
70                                    <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
71                                        <tr>
72                                            <td colspan="3"><img src="<?php echo @URL_DIR; ?>
73img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
74                                        </tr>
75                                        <tr>
76                                            <td background="<?php echo @URL_DIR; ?>
77img/contents/contents_title_left_bg.gif"><img src="<?php echo @URL_DIR; ?>
78img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
79                                            <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->SQL°ìÍ÷</span></td>
80                                            <td background="<?php echo @URL_DIR; ?>
81img/contents/contents_title_right_bg.gif"><img src="<?php echo @URL_DIR; ?>
82img/common/_.gif" width="18" height="1" alt=""></td>
83                                        </tr>
84                                        <tr>
85                                            <td colspan="3"><img src="<?php echo @URL_DIR; ?>
86img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
87                                        </tr>
88                                        <tr>
89                                            <td colspan="3"><img src="<?php echo @URL_DIR; ?>
90img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
91                                        </tr>
92                                    </table>
93
94                                    <table width="678" border="0" cellspacing="1" cellpadding="5" summary=" ">
95                                        <tr class="fs12n">
96                                            <td bgcolor="#f2f1ec" align="center" colspan=3 ><strong>SQL°ìÍ÷</strong></td>
97                                        </tr>
98
99                                        <?php $_from = $this->_tpl_vars['arrSqlList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
100    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']):
101?>
102                                        <tr class="fs12n" height=20>
103                                            <td align="center" width=600 bgcolor="<?php if ($this->_tpl_vars['item']['sql_id'] == $this->_tpl_vars['sql_id']):  echo @SELECT_RGB;  else: ?>#ffffff<?php endif; ?>">
104                                                <a href="<?php echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
105?sql_id=<?php echo $this->_tpl_vars['item']['sql_id']; ?>
106" ><?php echo $this->_tpl_vars['item']['sql_name']; ?>
107</a>
108                                            </td>
109                                            <td align="center" width=78 bgcolor="<?php if ($this->_tpl_vars['item']['sql_id'] == $this->_tpl_vars['sql_id']):  echo @SELECT_RGB;  else: ?>#ffffff<?php endif; ?>">
110                                                <input type='button' value='CSV½ÐÎÏ' name='csv' onclick="fnTargetSelf(); fnFormModeSubmit('form1','csv_output','csv_output_id',<?php echo $this->_tpl_vars['item']['sql_id']; ?>
111);"  />
112                                            </td>
113                                            <td align="center" width=78 bgcolor="<?php if ($this->_tpl_vars['item']['sql_id'] == $this->_tpl_vars['sql_id']):  echo @SELECT_RGB;  else: ?>#ffffff<?php endif; ?>">
114                                                <input type='button' value='ºï½ü' name='del' onclick="fnTargetSelf(); fnFormModeSubmit('form1','delete','sql_id',<?php echo $this->_tpl_vars['item']['sql_id']; ?>
115);"  />
116                                            </td>
117                                        </tr>
118                                        <?php endforeach; endif; unset($_from); ?>
119                                    </table>
120
121                                    <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
122                                        <tr>
123                                            <td bgcolor="#cccccc"><img src="<?php echo @URL_DIR; ?>
124img/common/_.gif" width="1" height="5" alt=""></td>
125                                            <td><img src="<?php echo @URL_DIR; ?>
126img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
127                                            <td bgcolor="#cccccc"><img src="<?php echo @URL_DIR; ?>
128img/common/_.gif" width="1" height="5" alt=""></td>
129                                        </tr>
130                                        <tr>
131                                            <td bgcolor="#cccccc"><img src="<?php echo @URL_DIR; ?>
132img/common/_.gif" width="1" height="10" alt=""></td>
133                                            <td bgcolor="#e9e7de" align="center">
134                                            <table border="0" cellspacing="0" cellpadding="0" summary=" ">
135                                                <tr>
136                                                    <td><input type='button' value='¿·µ¬SQLºîÀ®' name='subm' onclick="fnTargetSelf(); fnFormModeSubmit('form1','new_page','','');"  /></td>
137                                                </tr>
138                                            </table>
139                                            </td>
140                                            <td bgcolor="#cccccc"><img src="<?php echo @URL_DIR; ?>
141img/common/_.gif" width="1" height="10" alt=""></td>
142                                        </tr>
143                                        <tr>
144                                            <td colspan="3"><img src="<?php echo @URL_DIR; ?>
145img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
146                                        </tr>
147                                    </table>                                   
148                                    <!-- SQL°ìÍ÷ ¤³¤³¤Þ¤Ç -->
149
150                                    <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
151                                        <tr><td colspan="3"><img src="<?php echo @URL_DIR; ?>
152img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
153                                    </table>
154
155                                    <!-- SQLÀßÄê ¤³¤³¤«¤é -->
156                                    <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
157                                        <tr>
158                                            <td colspan="3"><img src="<?php echo @URL_DIR; ?>
159img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
160                                        </tr>
161                                        <tr>
162                                            <td background="<?php echo @URL_DIR; ?>
163img/contents/contents_title_left_bg.gif"><img src="<?php echo @URL_DIR; ?>
164img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
165                                            <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->CSV½ÐÎÏÀßÄê</span></td>
166                                            <td background="<?php echo @URL_DIR; ?>
167img/contents/contents_title_right_bg.gif"><img src="<?php echo @URL_DIR; ?>
168img/common/_.gif" width="18" height="1" alt=""></td>
169                                        </tr>
170                                        <tr>
171                                            <td colspan="3"><img src="<?php echo @URL_DIR; ?>
172img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
173                                        </tr>
174                                        <tr>
175                                            <td colspan="3"><img src="<?php echo @URL_DIR; ?>
176img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
177                                        </tr>
178                                    </table>
179
180                                    <table width="678" border="0" cellspacing="1" cellpadding="5" summary=" ">
181                                        <tr class="fs12n">
182                                            <td bgcolor="#f2f1ec" align="center" colspan=2><strong>SQLÀßÄê</strong></td>
183                                        </tr>
184                                        <tr class="fs12n">
185                                            <td bgcolor="#f2f1ec" align="center" width="100">̾¾Î<span class="red"> *</span></td>
186                                            <td bgcolor="#ffffff" align="left">
187                                                <span class="red12"><?php echo $this->_tpl_vars['arrErr']['sql_name']; ?>
188</span>
189                                                <input type="text" name="sql_name" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrSqlData']['sql_name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
190" maxlength="<?php echo @STEXT_LEN; ?>
191" style="<?php if ($this->_tpl_vars['arrErr']['name'] != ""): ?>background-color: <?php echo @ERR_COLOR;  endif; ?>" size="60" class="box60" /><span class="red"> ¡Ê¾å¸Â<?php echo @STEXT_LEN; ?>
192ʸ»ú¡Ë</span>
193                                            </td>
194                                        </tr>
195                                        <tr class="fs12n">
196                                            <td bgcolor="#f2f1ec" align="center" width="100">SQLʸ<br>¡ÊSELECT¤Ïµ­½Ò¤·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£¡Ë<span class="red"> *</span></td>
197                                            <td bgcolor="#ffffff" align="left">
198                                                <span class="red12"><?php echo $this->_tpl_vars['arrErr']['csv_sql']; ?>
199</span>
200                                                <div>
201                                                <textarea name="csv_sql" cols=75 rows=30 align="left" wrap=off style="<?php if ($this->_tpl_vars['arrErr']['csv_sql'] != ""): ?>background-color: <?php echo @ERR_COLOR; ?>
202;<?php endif; ?> width: 547px;"><?php echo $this->_tpl_vars['arrSqlData']['csv_sql']; ?>
203</textarea>
204                                                </div>
205                                            </td>
206                                        </tr>
207                                    </table>
208
209                                    <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
210                                        <tr>
211                                            <td bgcolor="#cccccc"><img src="<?php echo @URL_DIR; ?>
212img/common/_.gif" width="1" height="5" alt=""></td>
213                                            <td><img src="<?php echo @URL_DIR; ?>
214img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
215                                            <td bgcolor="#cccccc"><img src="<?php echo @URL_DIR; ?>
216img/common/_.gif" width="1" height="5" alt=""></td>
217                                        </tr>
218                                        <tr>
219                                            <td bgcolor="#cccccc"><img src="<?php echo @URL_DIR; ?>
220img/common/_.gif" width="1" height="10" alt=""></td>
221                                            <td bgcolor="#e9e7de" align="center">
222                                            <table border="0" cellspacing="0" cellpadding="0" summary=" ">
223                                                <tr>
224                                                    <td>
225                                                        <input type="image" onMouseover="chgImgImageSubmit('<?php echo @URL_DIR; ?>
226img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<?php echo @URL_DIR; ?>
227img/contents/btn_regist.jpg',this)" src="<?php echo @URL_DIR; ?>
228img/contents/btn_regist.jpg" width="123" height="24" alt="¤³¤ÎÆâÍÆ¤ÇÅÐÏ¿¤¹¤ë" border="0" name="subm" onClick="mode.value='confirm'; fnTargetSelf();">
229                                                        <input type="image" onMouseover="chgImgImageSubmit('<?php echo @URL_DIR; ?>
230img/contents/btn_confirm_on.jpg',this)" onMouseout="chgImgImageSubmit('<?php echo @URL_DIR; ?>
231img/contents/btn_confirm.jpg',this)" src="<?php echo @URL_DIR; ?>
232img/contents/btn_confirm.jpg" width="123" height="24" alt="³Îǧ¥Ú¡¼¥¸¤Ø" border="0" name="subm" onClick="doPreview(); return false;">
233                                                    </td>
234                                                </tr>
235                                            </table>
236                                            </td>
237                                            <td bgcolor="#cccccc"><img src="<?php echo @URL_DIR; ?>
238img/common/_.gif" width="1" height="10" alt=""></td>
239                                        </tr>
240                                        <tr>
241                                            <td colspan="3"><img src="<?php echo @URL_DIR; ?>
242img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
243                                        </tr>
244                                    </table>
245                                    <!-- SQLÀßÄê ¤³¤³¤Þ¤Ç -->
246
247                                    <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
248                                        <tr><td colspan="3"><img src="<?php echo @URL_DIR; ?>
249img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
250                                    </table>
251
252                                    <!-- DB°ìÍ÷ ¤³¤³¤«¤é -->
253                                    <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
254                                        <tr>
255                                            <td width="50%">
256                                            <table width="100%" border="0" cellspacing="1" cellpadding="5" summary=" ">
257                                                <tr class="fs12n">
258                                                    <td bgcolor="#f2f1ec" align="center" colspan=2><strong>¥Æ¡¼¥Ö¥ë°ìÍ÷</strong></td>
259                                                </tr>
260                                                <tr class="fs12n">
261                                                    <td bgcolor="#ffffff" align="center">
262                                                        <select name="arrTableList[]" size="20" style="width:325px; height:300px;" onChange="mode.value=''; selectTable.value=this.value; submit();" onDblClick="csv_sql.value = csv_sql.value +' , ' + this.value;">
263                                                        <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrTableList'],'selected' => $this->_tpl_vars['selectTable']), $this);?>
264
265                                                        </select>
266                                                    </td>
267                                                </tr>
268                                            </table>
269                                            </td>
270                                            <td width="50%">
271                                                <table width="100%" border="0" cellspacing="1" cellpadding="5" summary=" ">
272                                                    <tr class="fs12n">
273                                                        <td bgcolor="#f2f1ec" align="center" colspan=2><strong>¹àÌܰìÍ÷</strong></td>
274                                                    </tr>
275                                                    <tr class="fs12n">
276                                                        <td bgcolor="#ffffff" align="center">
277                                                            <select name="arrColList[]" size="20" style="width:325px; height:300px;" onDblClick="csv_sql.value = csv_sql.value +' , ' + this.value;">
278                                                            <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrColList']), $this);?>
279
280                                                            </select>
281                                                        </td>
282                                                    </tr>
283                                                </table>
284                                            </td>
285                                        </tr>
286                                    </table>
287                                    <!-- DB°ìÍ÷ ¤³¤³¤Þ¤Ç -->
288                                </td>
289                                <td background="<?php echo @URL_DIR; ?>
290img/contents/main_right.jpg"><img src="<?php echo @URL_DIR; ?>
291img/common/_.gif" width="14" height="1" alt=""></td>
292                            </tr>
293                            <tr>
294                                <td colspan="3"><img src="<?php echo @URL_DIR; ?>
295img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
296                            </tr>
297                            <tr><td height="30"></td></tr>
298                        </table>
299                    </td>
300                </tr>
301                <!--¥á¥¤¥ó¥¨¥ê¥¢-->
302            </table>
303            <!--¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
304        </td>
305    </tr>
306</form>
307</table>
308<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
309
310
311</script>
Note: See TracBrowser for help on using the repository browser.