1 | <!--{*
|
---|
2 | /*
|
---|
3 | * Copyright(c) 2000-2006 LOCKON CO.,LTD. All Rights Reserved.
|
---|
4 | *
|
---|
5 | * http://www.lockon.co.jp/
|
---|
6 | */
|
---|
7 | *}-->
|
---|
8 | <script type="text/javascript">
|
---|
9 | <!--
|
---|
10 | function func_check() {
|
---|
11 | res = confirm('ÅÐÏ¿¤·¤Þ¤¹¡£µ¹¤·¤¤¤Ç¤¹¤«¡©');
|
---|
12 | if( res == true ) {
|
---|
13 | return true;
|
---|
14 | }
|
---|
15 | return false;
|
---|
16 | }
|
---|
17 |
|
---|
18 |
|
---|
19 | function func_disp( no ){
|
---|
20 |
|
---|
21 | ml = document.form1.elements['question[' + no + '][kind]'];
|
---|
22 | len = ml.length;
|
---|
23 |
|
---|
24 | var flag = 0;
|
---|
25 |
|
---|
26 | for( i = 0; i < len ; i++) {
|
---|
27 |
|
---|
28 | td = document.getElementById("TD" + no);
|
---|
29 |
|
---|
30 | if ( ml[i].checked ){
|
---|
31 | if ( (ml[i].value == 3) || (ml[i].value == 4) ) {
|
---|
32 | td.style.display = 'block';
|
---|
33 | } else {
|
---|
34 | td.style.display = 'none';
|
---|
35 | }
|
---|
36 | flag = 1;
|
---|
37 | }
|
---|
38 |
|
---|
39 | }
|
---|
40 |
|
---|
41 | if ( flag == 0 ){
|
---|
42 | td.style.display = 'none';
|
---|
43 | }
|
---|
44 |
|
---|
45 | }
|
---|
46 |
|
---|
47 | function delete_check() {
|
---|
48 | res = confirm('¥¢¥ó¥±¡¼¥È¤òºï½ü¤·¤Æ¤âµ¹¤·¤¤¤Ç¤¹¤«¡©');
|
---|
49 | if(res == true) {
|
---|
50 | return true;
|
---|
51 | }
|
---|
52 | return false;
|
---|
53 | }
|
---|
54 | // -->
|
---|
55 | </script>
|
---|
56 |
|
---|
57 | <!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
|
---|
58 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
59 | <tr valign="top">
|
---|
60 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402">
|
---|
61 | <!--¢§SUB NAVI-->
|
---|
62 | <!--{include file=$tpl_subnavi}-->
|
---|
63 | <!--¢¥SUB NAVI-->
|
---|
64 | </td>
|
---|
65 | <td class="mainbg" >
|
---|
66 | <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
67 | <!--¥á¥¤¥ó¥¨¥ê¥¢-->
|
---|
68 | <tr>
|
---|
69 | <td align="center">
|
---|
70 | <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
71 |
|
---|
72 | <tr><td height="14"></td></tr>
|
---|
73 | <tr>
|
---|
74 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
|
---|
75 | </tr>
|
---|
76 | <tr>
|
---|
77 | <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>
|
---|
78 | <td bgcolor="#cccccc">
|
---|
79 |
|
---|
80 | <!--ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
|
---|
81 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
82 | <tr>
|
---|
83 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
|
---|
84 | </tr>
|
---|
85 | <tr>
|
---|
86 | <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>
|
---|
87 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë--><!--{if $QUESTION_ID}-->½¤Àµ<!--{else}-->¿·µ¬<!--{/if}-->ÅÐÏ¿</span></td>
|
---|
88 | <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>
|
---|
89 | </tr>
|
---|
90 | <tr>
|
---|
91 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
|
---|
92 | </tr>
|
---|
93 | <tr>
|
---|
94 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
|
---|
95 | </tr>
|
---|
96 | </table>
|
---|
97 |
|
---|
98 | <!--¢§FORM-->
|
---|
99 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
|
---|
100 | <form name="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->?mode=regist" onSubmit="return func_check(); false;">
|
---|
101 | <input type="hidden" name="question_id" value="<!--{$QUESTION_ID}-->">
|
---|
102 |
|
---|
103 | <!--{if $MESSAGE != ""}-->
|
---|
104 | <tr>
|
---|
105 | <td height="20" class="fs14n">
|
---|
106 | <span class="red"><!--{$MESSAGE}--></span>
|
---|
107 | </td>
|
---|
108 | </tr>
|
---|
109 | <!--{/if}-->
|
---|
110 | <tr class="fs12n">
|
---|
111 | <td width="140" bgcolor="#f2f1ec">²ÔƯ¡¦Èó²ÔƯ</td>
|
---|
112 | <td width="637" bgcolor="#ffffff">
|
---|
113 | <span <!--{if $ERROR.active}--><!--{sfSetErrorStyle}--><!--{/if}-->>
|
---|
114 | <!--{html_radios name="active" options=$arrActive selected=$smarty.post.active}-->
|
---|
115 | </span>
|
---|
116 | <!--{if $ERROR.active}--><br><span class="red"><!--{$ERROR.active}--></span><!--{/if}-->
|
---|
117 | </td>
|
---|
118 | </tr>
|
---|
119 | <tr class="fs12n">
|
---|
120 | <td width="140" bgcolor="#f2f1ec">¥¢¥ó¥±¡¼¥È¥¿¥¤¥È¥ë<span class="red">*</span></td>
|
---|
121 | <td width="637" bgcolor="#ffffff"><input type="text" name="title" size="70" class="box70" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$smarty.post.title|escape}-->" <!--{if $ERROR.title}--><!--{sfSetErrorStyle}--><!--{/if}-->>
|
---|
122 | <!--{if $ERROR.title}--><br><span class="red"><!--{$ERROR.title}--></span><!--{/if}-->
|
---|
123 | </td>
|
---|
124 | </tr>
|
---|
125 | <tr class="fs12n">
|
---|
126 | <td width="140" bgcolor="#f2f1ec">¥¢¥ó¥±¡¼¥ÈÆâÍÆ</td>
|
---|
127 | <td width="637" bgcolor="#ffffff"><textarea name="contents" cols="60" rows="4" class="area60" wrap="physical" <!--{if $ERROR.contents}--><!--{sfSetErrorStyle}--><!--{/if}-->><!--{$smarty.post.contents}--></textarea>
|
---|
128 | <!--{if $ERROR.contents}--><br><span class="red"><!--{$ERROR.contents}--></span><!--{/if}--></td>
|
---|
129 | </tr>
|
---|
130 | <!--{section name=question loop=$cnt_question}-->
|
---|
131 | <tr class="fs12n">
|
---|
132 | <td width="140" bgcolor="#f2f1ec">¼ÁÌä<!--{if $smarty.section.question.iteration eq 1}--><span class="red">*</span><!--{/if}--><!--{$smarty.section.question.iteration}--></td>
|
---|
133 | <td width="637" bgcolor="#ffffff">
|
---|
134 | <input type="text" name="question[<!--{$smarty.section.question.index}-->][name]" size="70" class="box70" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$smarty.post.question[$smarty.section.question.index].name|escape}-->" <!--{if $ERROR.question[$smarty.section.question.index].name}--><!--{sfSetErrorStyle}--><!--{/if}-->>
|
---|
135 | <!--{if $ERROR.question[$smarty.section.question.index].name}--><br><span class="red"><!--{$ERROR.question[$smarty.section.question.index].name}--></span><!--{/if}-->
|
---|
136 | </td>
|
---|
137 | </tr>
|
---|
138 | <tr class="fs12n" bgcolor="#ffffff">
|
---|
139 | <td colspan="2">
|
---|
140 | <span style=background-color:"<!--{$ERROR_COLOR.question[$smarty.section.question.index].kind}-->">
|
---|
141 | <!--{html_radios_ex onClick="func_disp(`$smarty.section.question.index`)" name="question[`$smarty.section.question.index`][kind]" options="$arrQuestion" selected="`$smarty.post.question[$smarty.section.question.index].kind`"}-->
|
---|
142 | </span>
|
---|
143 | <!--{if $ERROR.question[$smarty.section.question.index].kind}--><br><span class="red"><!--{$ERROR.question[$smarty.section.question.index].kind}--></span><!--{/if}-->
|
---|
144 | </td>
|
---|
145 | </tr>
|
---|
146 | <tr class="fs12n" bgcolor="#ffffff"><td colspan="2">
|
---|
147 | <table id="TD<!--{$smarty.section.question.index}-->">
|
---|
148 | <tr class="fs12n" bgcolor="#ffffff">
|
---|
149 | <td colspan="2">1 <input type="text" name="question[<!--{$smarty.section.question.index}-->][option][0]" size="45" class="box45" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$smarty.post.question[$smarty.section.question.index].option.0|escape}-->" <!--{if $ERROR.question[$smarty.section.question.index].kind}--><!--{sfSetErrorStyle}--><!--{/if}-->>¡¡2 <input type="text" name="question[<!--{$smarty.section.question.index}-->][option][1]" size="45" class="box45" value="<!--{$smarty.post.question[$smarty.section.question.index].option.1|escape}-->" <!--{if $ERROR.question[$smarty.section.question.index].kind}--><!--{sfSetErrorStyle}--><!--{/if}-->></td>
|
---|
150 | </tr>
|
---|
151 | <tr class="fs12n" bgcolor="#ffffff">
|
---|
152 | <td colspan="2">3 <input type="text" name="question[<!--{$smarty.section.question.index}-->][option][2]" size="45" class="box45" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$smarty.post.question[$smarty.section.question.index].option.2|escape}-->">¡¡4 <input type="text" name="question[<!--{$smarty.section.question.index}-->][option][3]" size="45" class="box45" value="<!--{$smarty.post.question[$smarty.section.question.index].option.3|escape}-->"></td>
|
---|
153 | </tr>
|
---|
154 | <tr class="fs12n" bgcolor="#ffffff">
|
---|
155 | <td colspan="2">5 <input type="text" name="question[<!--{$smarty.section.question.index}-->][option][4]" size="45" class="box45" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$smarty.post.question[$smarty.section.question.index].option.4|escape}-->">¡¡6 <input type="text" name="question[<!--{$smarty.section.question.index}-->][option][5]" size="45" class="box45" value="<!--{$smarty.post.question[$smarty.section.question.index].option.5|escape}-->"></td>
|
---|
156 | </tr>
|
---|
157 | <tr class="fs12n" bgcolor="#ffffff">
|
---|
158 | <td colspan="2">7 <input type="text" name="question[<!--{$smarty.section.question.index}-->][option][6]" size="45" class="box45" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$smarty.post.question[$smarty.section.question.index].option.6|escape}-->">¡¡8 <input type="text" name="question[<!--{$smarty.section.question.index}-->][option][7]" size="45" class="box45" value="<!--{$smarty.post.question[$smarty.section.question.index].option.7|escape}-->"></td>
|
---|
159 | </tr>
|
---|
160 | </table>
|
---|
161 | </td></tr>
|
---|
162 | <!--{/section}-->
|
---|
163 | </table>
|
---|
164 | <!--¢¥FORM-->
|
---|
165 |
|
---|
166 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
167 | <tr>
|
---|
168 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
|
---|
169 | <td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
|
---|
170 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
|
---|
171 | </tr>
|
---|
172 | <tr>
|
---|
173 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
|
---|
174 | <td bgcolor="#e9e7de" align="center">
|
---|
175 | <table border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
176 | <tr>
|
---|
177 | <td>
|
---|
178 | <input type="submit" name="subm1" value="¥¢¥ó¥±¡¼¥È¤ò<!--{if $QUESTION_ID}-->½¤Àµ<!--{else}-->ºîÀ®<!--{/if}-->" /> <input type="reset" value="ÆâÍƤò¥¯¥ê¥¢" />
|
---|
179 | </td>
|
---|
180 | </tr>
|
---|
181 | </table>
|
---|
182 | </td>
|
---|
183 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
|
---|
184 | </tr>
|
---|
185 | <tr>
|
---|
186 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
|
---|
187 | </tr>
|
---|
188 | </table>
|
---|
189 |
|
---|
190 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
191 | <tr><td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
|
---|
192 | </table>
|
---|
193 |
|
---|
194 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
195 | <tr>
|
---|
196 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
|
---|
197 | </tr>
|
---|
198 | <tr>
|
---|
199 | <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>
|
---|
200 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->ÅÐÏ¿ºÑ¤ß¥¢¥ó¥±¡¼¥È</span></td>
|
---|
201 | <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>
|
---|
202 | </tr>
|
---|
203 | <tr>
|
---|
204 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
|
---|
205 | </tr>
|
---|
206 | <tr>
|
---|
207 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
|
---|
208 | </tr>
|
---|
209 | </table>
|
---|
210 |
|
---|
211 | <!--¢§FORM-->
|
---|
212 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
|
---|
213 | <form name="form2" method="post" action="<!--{$smaryt.server.PHP_SELF|escape}-->">
|
---|
214 | <tr class="fs12n" bgcolor="#f2f1ec" align="center">
|
---|
215 | <td width="42">ÊÔ½¸</td>
|
---|
216 | <td width="80">ÅÐÏ¿Æü</td>
|
---|
217 | <td width="280">¥¢¥ó¥±¡¼¥È¥¿¥¤¥È¥ë</td>
|
---|
218 | <td width="80">¥Ú¡¼¥¸»²¾È</td>
|
---|
219 | <td width="80">·ë²Ì¼èÆÀ</td>
|
---|
220 | <td width="42">ºï½ü</td>
|
---|
221 | </tr>
|
---|
222 | <!--{section name=data loop=$list_data}-->
|
---|
223 | <tr bgcolor="#FFFFFF" class="fs12" <!--{if $list_data[data].question_id eq $smarty.request.question_id}--><!--{sfSetErrorStyle}--><!--{/if}-->>
|
---|
224 | <td align="center" class="main"><a href="<!--{$smarty.server.PHP_SELF|escape}-->?question_id=<!--{$list_data[data].question_id}-->">ÊÔ½¸</a></td>
|
---|
225 | <td align="center"><!--{$list_data[data].disp_date}--></td>
|
---|
226 | <td><!--{$list_data[data].question_name|escape}--></td>
|
---|
227 | <td align="center"><a href="<!--{$smarty.const.SITE_URL}-->inquiry/index.php?question_id=<!--{$list_data[data].question_id}-->" target="_blank">»²¾È</a></td>
|
---|
228 | <td align="center"><a href="<!--{$smarty.server.PHP_SELF|escape}-->?mode=csv&question_id=<!--{$list_data[data].question_id}-->">download</a></td>
|
---|
229 | <td align="center"><a href="<!--{$smarty.server.PHP_SELF|escape}-->?mode=delete&question_id=<!--{$list_data[data].question_id}-->" onClick="return delete_check()">ºï½ü</a></td>
|
---|
230 | </tr>
|
---|
231 | <!--{/section}-->
|
---|
232 | </form>
|
---|
233 | </table>
|
---|
234 | <!--¢¥FORM-->
|
---|
235 |
|
---|
236 | <!--ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
|
---|
237 | </td>
|
---|
238 | <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>
|
---|
239 | </tr>
|
---|
240 | <tr>
|
---|
241 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
|
---|
242 | </tr>
|
---|
243 | <tr><td height="30"></td></tr>
|
---|
244 |
|
---|
245 | </table>
|
---|
246 | </td>
|
---|
247 | </tr>
|
---|
248 | <!--¥á¥¤¥ó¥¨¥ê¥¢-->
|
---|
249 | </table>
|
---|
250 | </td>
|
---|
251 | </tr>
|
---|
252 | </form>
|
---|
253 | </table>
|
---|
254 | <!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
|
---|
255 |
|
---|
256 | <script type="text/javascript">
|
---|
257 | <!--
|
---|
258 | <!--{section name=question loop=$cnt_question}-->
|
---|
259 | func_disp(<!--{$smarty.section.question.index}-->);
|
---|
260 | <!--{/section}-->
|
---|
261 | //-->
|
---|
262 | </script>
|
---|
263 |
|
---|