[5] | 1 | <!--{*
|
---|
| 2 | /*
|
---|
[15] | 3 | * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
|
---|
[5] | 4 | *
|
---|
| 5 | * http://www.lockon.co.jp/
|
---|
| 6 | */
|
---|
| 7 | *}-->
|
---|
| 8 | <script type="text/javascript">
|
---|
| 9 | <!--
|
---|
[11730] | 10 | // ¥ê¥¹¥È¥Ü¥Ã¥¯¥¹¤Î¥µ¥¤¥ºÊѹ¹
|
---|
[5] | 11 | function ChangeSize(button, TextArea, Max, Min, row_tmp){
|
---|
| 12 | if(TextArea.rows <= Min){
|
---|
[11730] | 13 | TextArea.rows=Max; button.value="¾®¤µ¤¯¤¹¤ë"; row_tmp.value=Max;
|
---|
[5] | 14 | }else{
|
---|
[11730] | 15 | TextArea.rows =Min; button.value="Â礤¯¤¹¤ë"; row_tmp.value=Min;
|
---|
[5] | 16 | }
|
---|
| 17 | }
|
---|
| 18 |
|
---|
[11730] | 19 | // SQL³Îǧ²èÌ̵¯Æ°
|
---|
[5] | 20 | function doPreview(){
|
---|
| 21 | document.form1.mode.value="preview"
|
---|
| 22 | document.form1.target = "_blank";
|
---|
| 23 | document.form1.submit();
|
---|
| 24 | }
|
---|
| 25 |
|
---|
[11730] | 26 | // form¤Î¥¿¡¼¥²¥Ã¥È¤ò¼«Ê¬¤ËÌ᤹
|
---|
[5] | 27 | function fnTargetSelf(){
|
---|
| 28 | document.form1.target = "_self";
|
---|
| 29 | }
|
---|
| 30 |
|
---|
| 31 | //-->
|
---|
| 32 | </script>
|
---|
| 33 |
|
---|
[11730] | 34 | <!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
|
---|
[5] | 35 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
| 36 | <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
|
---|
| 37 | <input type="hidden" name="mode" value="confirm">
|
---|
| 38 | <input type="hidden" name="sql_id" value="<!--{$sql_id}-->">
|
---|
| 39 | <input type="hidden" name="csv_output_id" value="">
|
---|
| 40 | <input type="hidden" name="selectTable" value="">
|
---|
| 41 | <tr valign="top">
|
---|
| 42 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402">
|
---|
[11730] | 43 | <!--¢§SUB NAVI-->
|
---|
[5] | 44 | <!--{include file=$tpl_subnavi}-->
|
---|
[11730] | 45 | <!--¢¥SUB NAVI-->
|
---|
[5] | 46 | </td>
|
---|
| 47 | <td class="mainbg">
|
---|
[11730] | 48 | <!--¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
|
---|
[5] | 49 | <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
[11730] | 50 | <!--¥á¥¤¥ó¥¨¥ê¥¢-->
|
---|
[5] | 51 | <tr>
|
---|
| 52 | <td align="center">
|
---|
| 53 | <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
| 54 | <tr><td height="14"></td></tr>
|
---|
| 55 | <tr>
|
---|
| 56 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
|
---|
| 57 | </tr>
|
---|
| 58 | <tr>
|
---|
| 59 | <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>
|
---|
| 60 | <td bgcolor="#cccccc">
|
---|
| 61 |
|
---|
[11730] | 62 | <!-- SQL°ìÍ÷ ¤³¤³¤«¤é -->
|
---|
[5] | 63 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
| 64 | <tr>
|
---|
| 65 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
|
---|
| 66 | </tr>
|
---|
| 67 | <tr>
|
---|
| 68 | <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>
|
---|
[11730] | 69 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->SQL°ìÍ÷</span></td>
|
---|
[5] | 70 | <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>
|
---|
| 71 | </tr>
|
---|
| 72 | <tr>
|
---|
| 73 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
|
---|
| 74 | </tr>
|
---|
| 75 | <tr>
|
---|
| 76 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
|
---|
| 77 | </tr>
|
---|
| 78 | </table>
|
---|
| 79 |
|
---|
| 80 | <table width="678" border="0" cellspacing="1" cellpadding="5" summary=" ">
|
---|
| 81 | <tr class="fs12n">
|
---|
[11730] | 82 | <td bgcolor="#f2f1ec" align="center" colspan=3 ><strong>SQL°ìÍ÷</strong></td>
|
---|
[5] | 83 | </tr>
|
---|
| 84 |
|
---|
| 85 | <!--{ foreach key=key item=item from=$arrSqlList }-->
|
---|
| 86 | <tr class="fs12n" height=20>
|
---|
| 87 | <td align="center" width=600 bgcolor="<!--{if $item.sql_id == $sql_id}--><!--{$smarty.const.SELECT_RGB}--><!--{else}-->#ffffff<!--{/if}-->">
|
---|
| 88 | <a href="<!--{$smarty.server.PHP_SELF|escape}-->?sql_id=<!--{$item.sql_id}-->" ><!--{$item.sql_name}--></a>
|
---|
| 89 | </td>
|
---|
| 90 | <td align="center" width=78 bgcolor="<!--{if $item.sql_id == $sql_id}--><!--{$smarty.const.SELECT_RGB}--><!--{else}-->#ffffff<!--{/if}-->">
|
---|
[11730] | 91 | <input type='button' value='CSV½ÐÎÏ' name='csv' onclick="fnTargetSelf(); fnFormModeSubmit('form1','csv_output','csv_output_id',<!--{$item.sql_id}-->);" />
|
---|
[5] | 92 | </td>
|
---|
| 93 | <td align="center" width=78 bgcolor="<!--{if $item.sql_id == $sql_id}--><!--{$smarty.const.SELECT_RGB}--><!--{else}-->#ffffff<!--{/if}-->">
|
---|
[11730] | 94 | <input type='button' value='ºï½ü' name='del' onclick="fnTargetSelf(); fnFormModeSubmit('form1','delete','sql_id',<!--{$item.sql_id}-->);" />
|
---|
[5] | 95 | </td>
|
---|
| 96 | </tr>
|
---|
| 97 | <!--{ /foreach }-->
|
---|
| 98 | </table>
|
---|
| 99 |
|
---|
| 100 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
| 101 | <tr>
|
---|
| 102 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
|
---|
| 103 | <td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
|
---|
| 104 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
|
---|
| 105 | </tr>
|
---|
| 106 | <tr>
|
---|
| 107 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
|
---|
| 108 | <td bgcolor="#e9e7de" align="center">
|
---|
| 109 | <table border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
| 110 | <tr>
|
---|
[11730] | 111 | <td><input type='button' value='¿·µ¬SQLºîÀ®' name='subm' onclick="fnTargetSelf(); fnFormModeSubmit('form1','new_page','','');" /></td>
|
---|
[5] | 112 | </tr>
|
---|
| 113 | </table>
|
---|
| 114 | </td>
|
---|
| 115 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
|
---|
| 116 | </tr>
|
---|
| 117 | <tr>
|
---|
| 118 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
|
---|
| 119 | </tr>
|
---|
| 120 | </table>
|
---|
[11730] | 121 | <!-- SQL°ìÍ÷ ¤³¤³¤Þ¤Ç -->
|
---|
[5] | 122 |
|
---|
| 123 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
| 124 | <tr><td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
|
---|
| 125 | </table>
|
---|
| 126 |
|
---|
[11730] | 127 | <!-- SQLÀßÄê ¤³¤³¤«¤é -->
|
---|
[5] | 128 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
| 129 | <tr>
|
---|
| 130 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
|
---|
| 131 | </tr>
|
---|
| 132 | <tr>
|
---|
| 133 | <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>
|
---|
[11730] | 134 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->CSV½ÐÎÏÀßÄê</span></td>
|
---|
[5] | 135 | <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>
|
---|
| 136 | </tr>
|
---|
| 137 | <tr>
|
---|
| 138 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
|
---|
| 139 | </tr>
|
---|
| 140 | <tr>
|
---|
| 141 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
|
---|
| 142 | </tr>
|
---|
| 143 | </table>
|
---|
| 144 |
|
---|
| 145 | <table width="678" border="0" cellspacing="1" cellpadding="5" summary=" ">
|
---|
| 146 | <tr class="fs12n">
|
---|
[11730] | 147 | <td bgcolor="#f2f1ec" align="center" colspan=2><strong>SQLÀßÄê</strong></td>
|
---|
[5] | 148 | </tr>
|
---|
| 149 | <tr class="fs12n">
|
---|
[11730] | 150 | <td bgcolor="#f2f1ec" align="center" width="100">̾¾Î<span class="red"> *</span></td>
|
---|
[5] | 151 | <td bgcolor="#ffffff" align="left">
|
---|
| 152 | <span class="red12"><!--{$arrErr.sql_name}--></span>
|
---|
[11730] | 153 | <input type="text" name="sql_name" value="<!--{$arrSqlData.sql_name|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{if $arrErr.name != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" size="60" class="box60" /><span class="red"> ¡Ê¾å¸Â<!--{$smarty.const.STEXT_LEN}-->ʸ»ú¡Ë</span>
|
---|
[5] | 154 | </td>
|
---|
| 155 | </tr>
|
---|
| 156 | <tr class="fs12n">
|
---|
[11730] | 157 | <td bgcolor="#f2f1ec" align="center" width="100">SQLʸ<br>¡ÊSELECT¤Ïµ½Ò¤·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£¡Ë<span class="red"> *</span></td>
|
---|
[5] | 158 | <td bgcolor="#ffffff" align="left">
|
---|
| 159 | <span class="red12"><!--{$arrErr.csv_sql}--></span>
|
---|
| 160 | <div>
|
---|
| 161 | <textarea name="csv_sql" cols=75 rows=30 align="left" wrap=off style="<!--{if $arrErr.csv_sql != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}--> width: 547px;"><!--{$arrSqlData.csv_sql}--></textarea>
|
---|
| 162 | </div>
|
---|
| 163 | </td>
|
---|
| 164 | </tr>
|
---|
| 165 | </table>
|
---|
| 166 |
|
---|
| 167 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
| 168 | <tr>
|
---|
| 169 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
|
---|
| 170 | <td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
|
---|
| 171 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
|
---|
| 172 | </tr>
|
---|
| 173 | <tr>
|
---|
| 174 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
|
---|
| 175 | <td bgcolor="#e9e7de" align="center">
|
---|
| 176 | <table border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
| 177 | <tr>
|
---|
| 178 | <td>
|
---|
[11730] | 179 | <input type="image" onMouseover="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="¤³¤ÎÆâÍƤÇÅÐÏ¿¤¹¤ë" border="0" name="subm" onClick="mode.value='confirm'; fnTargetSelf();">
|
---|
| 180 | <input type="image" onMouseover="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_confirm_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_confirm.jpg',this)" src="<!--{$smarty.const.URL_DIR}-->img/contents/btn_confirm.jpg" width="123" height="24" alt="³Îǧ¥Ú¡¼¥¸¤Ø" border="0" name="subm" onClick="doPreview(); return false;">
|
---|
[5] | 181 | </td>
|
---|
| 182 | </tr>
|
---|
| 183 | </table>
|
---|
| 184 | </td>
|
---|
| 185 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
|
---|
| 186 | </tr>
|
---|
| 187 | <tr>
|
---|
| 188 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
|
---|
| 189 | </tr>
|
---|
| 190 | </table>
|
---|
[11730] | 191 | <!-- SQLÀßÄê ¤³¤³¤Þ¤Ç -->
|
---|
[5] | 192 |
|
---|
| 193 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
| 194 | <tr><td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
|
---|
| 195 | </table>
|
---|
| 196 |
|
---|
[11730] | 197 | <!-- DB°ìÍ÷ ¤³¤³¤«¤é -->
|
---|
[5] | 198 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
| 199 | <tr>
|
---|
| 200 | <td width="50%">
|
---|
| 201 | <table width="100%" border="0" cellspacing="1" cellpadding="5" summary=" ">
|
---|
| 202 | <tr class="fs12n">
|
---|
[11730] | 203 | <td bgcolor="#f2f1ec" align="center" colspan=2><strong>¥Æ¡¼¥Ö¥ë°ìÍ÷</strong></td>
|
---|
[5] | 204 | </tr>
|
---|
| 205 | <tr class="fs12n">
|
---|
| 206 | <td bgcolor="#ffffff" align="center">
|
---|
| 207 | <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;">
|
---|
| 208 | <!--{html_options options=$arrTableList selected=$selectTable}-->
|
---|
| 209 | </select>
|
---|
| 210 | </td>
|
---|
| 211 | </tr>
|
---|
| 212 | </table>
|
---|
| 213 | </td>
|
---|
| 214 | <td width="50%">
|
---|
| 215 | <table width="100%" border="0" cellspacing="1" cellpadding="5" summary=" ">
|
---|
| 216 | <tr class="fs12n">
|
---|
[11730] | 217 | <td bgcolor="#f2f1ec" align="center" colspan=2><strong>¹àÌÜ°ìÍ÷</strong></td>
|
---|
[5] | 218 | </tr>
|
---|
| 219 | <tr class="fs12n">
|
---|
| 220 | <td bgcolor="#ffffff" align="center">
|
---|
| 221 | <select name="arrColList[]" size="20" style="width:325px; height:300px;" onDblClick="csv_sql.value = csv_sql.value +' , ' + this.value;">
|
---|
| 222 | <!--{html_options options=$arrColList}-->
|
---|
| 223 | </select>
|
---|
| 224 | </td>
|
---|
| 225 | </tr>
|
---|
| 226 | </table>
|
---|
| 227 | </td>
|
---|
| 228 | </tr>
|
---|
| 229 | </table>
|
---|
[11730] | 230 | <!-- DB°ìÍ÷ ¤³¤³¤Þ¤Ç -->
|
---|
[5] | 231 | </td>
|
---|
| 232 | <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>
|
---|
| 233 | </tr>
|
---|
| 234 | <tr>
|
---|
| 235 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
|
---|
| 236 | </tr>
|
---|
| 237 | <tr><td height="30"></td></tr>
|
---|
| 238 | </table>
|
---|
| 239 | </td>
|
---|
| 240 | </tr>
|
---|
[11730] | 241 | <!--¥á¥¤¥ó¥¨¥ê¥¢-->
|
---|
[5] | 242 | </table>
|
---|
[11730] | 243 | <!--¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
|
---|
[5] | 244 | </td>
|
---|
| 245 | </tr>
|
---|
| 246 | </form>
|
---|
| 247 | </table>
|
---|
[11730] | 248 | <!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
|
---|
[5] | 249 |
|
---|
| 250 |
|
---|
| 251 | </script>
|
---|