1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
|
<?php include_once("./_common2.php"); ?> <? $currentDay = date('Y-m-d',Time()); include("../../manage/category/common.php"); include('../../html/include/_Head.php'); if (!isset($filedir)) $filedir = ""; //20130829 ¼öÁ¤
if (!isset($_COOKIE['USERID']) || $_COOKIE['USERID'] == ""){ //20130903 ¼öÁ¤ ?>
<script> location.href = "./logingo.php?menu=4"; </script> <? exit(0); } ?> <script> function FrmCh(filedir){ if( asinsertFrm.subject.value == ""){ alert("±ÛÁ¦¸ñÀº ÇʼöÇ׸ñÀÔ´Ï´Ù."); asinsertFrm.subject.focus(); return; } if( asinsertFrm.Msw1.value == ""){ alert("ÇÁ·Î±×·¥¼±ÅÃÀº ÇʼöÇ׸ñÀÔ´Ï´Ù."); asinsertFrm.Msw1.focus(); return; } if( asinsertFrm.content.value == ""){ alert("±Û³»¿ëÀº ÇʼöÇ׸ñÀÔ´Ï´Ù."); asinsertFrm.content.focus(); return; } if( confirm("µî·ÏÇϽг»¿ëÀ¸·Î Á¢¼ö ÇϽðڽÀ´Ï±î?")){ asinsertFrm.action = "asBoardProcess.php?&filedir="+filedir; asinsertFrm.submit(); } } </script>
<link href="./css/style.css" rel="stylesheet" type="text/css"> <script language='javascript' src='./js/img.js'></script>
<!----- top ¹è°æ ½ºÅ¸ÀÏ ½ÃÀÛ ------> <style type="text/css"> body { background: url(./img/top/bodybg.jpg) repeat-x top center } </style> <!----- top ¹è°æ ½ºÅ¸ÀÏ ³¡ -------->
<body topmargin="0" marginwidth="0" marginheight="0" > <table width="970" border="0" cellspacing="0" cellpadding="0" align="center" > <tr> <td> <!-- »ó´Ü ž¸Þ´º, Ç÷¡½Ã ¸Þ´º -------------- ½ÃÀÛ --> <? include("topnav.php"); ?> <!-- »ó´Ü ž¸Þ´º, Ç÷¡½Ã ¸Þ´º -------------- Á¾·á --> </td> </tr>
<!-- »ó´Ü ¿©¹é --> <tr> <td height="15"></td> </tr>
<tr> <td> <!-- ¸ÞÀÎ ½ÃÀÛ --> <table width="930" border="0" cellspacing="0" cellpadding="0"> <tr>
<!-- ÁÂÃø³×ºñ : jÄõ¸® topnav.php --> <td valign="top" class="leftnavi"> <img src="http://www.mijinsoft.co.kr/html/millennium/img/leftnavi/leftnavi_top6.jpg" alt="¸¶ÀÌÆäÀÌÁö" /> <a href="./mypageedit.php"><img src="http://www.mijinsoft.co.kr/html/millennium/img/leftnavi/leftnavi_menu6_1.jpg" alt="leftnavi_menu6_1" class="image_rollover" /></a> <a href="./mypageauth.php"><img src="http://www.mijinsoft.co.kr/html/millennium/img/leftnavi/leftnavi_menu6_2.jpg" alt="leftnavi_menu6_2" class="image_rollover" /></a> <a href="./mypageqna.php"><img src="http://www.mijinsoft.co.kr/html/millennium/img/leftnavi/leftnavi_menu6_3.jpg" alt="leftnavi_menu6_3" class="image_rollover" /></a> <a href="./mypagepaper.php"><img src="http://www.mijinsoft.co.kr/html/millennium/img/leftnavi/leftnavi_menu6_4.jpg" alt="leftnavi_menu6_4" class="image_rollover" /></a> <a href="./mypagepoint.php"><img src="http://www.mijinsoft.co.kr/html/millennium/img/leftnavi/leftnavi_menu6_5.jpg" alt="leftnavi_menu6_5" class="image_rollover" /></a> <a href="./mypagebuild.php"><img src="http://www.mijinsoft.co.kr/html/millennium/img/leftnavi/leftnavi_menu6_6.jpg" alt="leftnavi_menu6_6" class="image_rollover" /></a> </td>
<!-- ¸Þ´º Æø ¿©¹é --> <td width="50"></td>
<td valign="top"> <!-- »ó´Ü ¿©¹é¿ë Å×ÀÌºí ½ÃÀÛ-----------------> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td height="15"></td> </tr>
<!-------------- »ó´Ü ŸÀÌÆ² ½ÃÀÛ ---------------> <tr> <td> <table width="710"> <tr valign="bottom"> <td width="153" height="30"> <img src="./img/titlebar/mypageqna.jpg"> </td> <td> <table align="right"> <tr> <td class="txt01"><a href="intro.php">Home</td> <td class="txt01"><font color="999999"> > ¸¶ÀÌÆäÀÌÁö > <font color="494949">Áú¹®/´äº¯ È®ÀÎ</td> </tr> </table> </td> </tr> </table> </td> </tr>
<!-- ŸÀÌÆ²°ú Á¦Ç°»ó¼¼ »çÀÌ ¼± --> <tr> <td height="5"></td> </tr> <tr> <td width="710" height="1" bgcolor="#cecece"></td> </tr>
<!-- ¸ÞÀÎ ÅÇ ³»¿ë »çÀÌ ¿©¹é-------------> <tr> <td height="20"> </td> </tr>
<!-- ¸ÞÀÎ ³»¿ë ½ÃÀÛ -------------> <tr> <td align="center" valign="top">
<table width="710" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center"><img src="./img/customer/as_top.jpg" border="0"></td> </tr> <tr><td height="10"></td></tr> </table>
<!-- ³ªÀÇ ¹®Àdz»¿ª --> <table width="710" border="0" cellspacing="0" cellpadding="0">
<tr><td height="20"></td></tr>
<tr> <td align="left" style="padding:0 0 10px 0;"><img src="./img/mypage/qna_txt_01.jpg"></td> </tr>
<tr><td height="2" bgcolor="#627aaf" colspan="5"></td></tr> <tr height="30" align="center"> <td width="90">Á¦ ¸ñ</td> <td width="300">Á¦¸ñ</td> <td width="110">´äº¯ÀÚ</td> <td width="100">»óÅÂ</td> <td width="110">ÀÛ¼ºÀÏ</td> </tr> <tr><td height="1" bgcolor="#c3c3c3" colspan="5"></td></tr> </table> <? $sql = " select * from mBoard_as where id = '$_COOKIE[USERID]' and thread = 'A' order by uid desc "; $result = mysql_query($sql) or die (mysql_error()); if($num = mysql_num_rows($result)){ while($row = mysql_fetch_array($result)) { if( $row[21] == "A") $proResult = "´ë±â"; if( $row[21] == "B") $proResult = "Á¢¼ö"; if( $row[21] == "C") $proResult = "ó¸®"; if( $row[21] == "D") $proResult = "º¸·ù"; if( $row[21] == "E") $proResult = "¿Ï·á"; if( $row[21] == "F") $proResult = "Áú¹®"; if( $row[21] == "G") $proResult = "¿äû"; $Reg_date = date('Y-m-d',$row['reg_date'] ); ?> <table width="710" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="30" align="center" class="txt03"><?=$row['uid'];?></td> <td width="300" class="txt03"><img src="./img/mypage/post_icon.gif" hspace="5" align="absmiddle"> <a href="mypageqna_03_01.php?pType=up&uid=<?=$row['uid'];?>"><?=stripcslashes($row['subject']);?></a> </td> <td width="110" align="center" class="txt03"></td> <td width="100" align="center" class="txt03"><?=$proResult;?></td> <td width="110" align="center" class="txt03"><?=$Reg_date;?></td> </tr> <tr><td height="1" bgcolor="#f8f8f8" colspan="5"></td></tr> </table>
<? $replyQry = " select a.uid, a.name , a.proResult, a.fid , a.subject, a.reg_date, a.ch_view from mBoard_as a where a.fid = '{$row['fid']}' and a.id = '{$_COOKIE['USERID']}' and thread = 'AA' order by a.uid desc limit 20 ";
$replyResult = mysql_query( $replyQry); ///////////////////////////ù¹øÂ° ÀÀ´ä////////////////////////////// if( mysql_num_rows($replyResult) > 0 ){ while( $replyRow = mysql_fetch_array($replyResult)){
if($replyRow['ch_view'] == "y") $_confirm = "ÀÐÀ½"; $replyReg_date = date('Y-m-d',$replyRow['reg_date'] );
?>
<table width="710" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="30" align="center" class="txt03"> </td> <td width="300" class="txt03"><img src="./img/mypage/reply_icon.gif" hspace="5" align="absmiddle"> <a href="mypageqna_03_01.php?uid=<?=$replyRow['uid'];?>"><?=$replyRow['subject'];?></a> </td> <td width="110" align="center" class="txt03"><?=$replyRow['name'];?></td> <td width="100" align="center" class="txt03"></td> <td width="110" align="center" class="txt03"><?=$replyReg_date;?></td> </tr> <tr><td height="1" bgcolor="#f8f8f8" colspan="5"></td></tr> </table>
<? } $replyQry2 = " select * from mBoard_as where fid = '$row[fid]' and id = '$_COOKIE[USERID]' and thread = 'AAA' "; $replyResult2 = mysql_query( $replyQry2); ///////////////////////////µÎ¹øÂ° ÀÀ´ä////////////////////////////// if( mysql_num_rows($replyResult2) > 0 ){ while( $replyRow2 = mysql_fetch_array($replyResult2)){ $replyReg_date2 = date('Y-m-d',$replyRow2['reg_date'] ); if($replyRow2['ch_view'] == "y") $_confirm2 = "ÀÐÀ½"; ?>
<table width="710" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="27" align="center" class="txt03"> </td> <td width="300" class="txt03"> <img src="../img/skin/reply.gif" width="8" height="6" hspace="5" align="absmiddle"> <a href="mypageqna_03_01.php?uid=<?=$replyRow2['uid'];?>"><?=$replyRow2['subject'];?></a> </td> <td width="110" align="center" class="txt03"><?=$replyRow2['name'];?></td> <td width="100" align="center" class="txt03"></td> <td width="110" align="center" class="txt03"><?=$replyReg_date2;?></td> </tr> <tr><td height="1" bgcolor="#f8f8f8" colspan="5"></td></tr> </table>
<? } } } } } ?>
<!-- ¹®ÀÇÇϱâ --> <table width="710" border="0" cellpadding="0" cellspacing="0">
<tr><td height="50"></td></tr>
<tr> <td align="left" style="padding:0 0 10px 0;"><img src="./img/mypage/qna_txt_02.jpg"></td> </tr>
<tr><td height="2" bgcolor="#627aaf" colspan="4"></td></tr> <tr> <td width="70" class="txt03" style="padding:3pt 5pt;" bgcolor="#f8f8f8"><font color="696969"><b>Á¦ ¸ñ</td> <td style="padding:5pt 5pt;"> <input name="subject" type="text" class="log" style="height:20px;" size="50" maxlength="70"> </td> </tr> <tr><td height="1" bgcolor="#e7e7e7" colspan="2"></td></tr>
<tr> <td class="txt03" style="padding:3pt 5pt;" bgcolor="#f8f8f8"><font color="696969"><b>»ç¿ëÇÁ·Î±×·¥</td> <td style="padding:5pt 5pt;"> <select name='Msw1'> <option value='' >ÇÁ·Î±×·¥¼±ÅÃ</option>
<? //ȸ¿øÅ×À̺í°ú ÇÁ·Î±×·¥ÀÏÄ¡È $memberQry = " select Msw1 from member WHERE Mid = '$_COOKIE[USERID]' "; $memberResult = mysql_query($memberQry); $memberRow = mysql_fetch_array($memberResult);
$qry = " select category_code,category_name from cate3 where category_code <= 100 order by idx "; $cateResult = mysql_query($qry); while( $cateRow = mysql_fetch_array($cateResult) ){ $category_nameArr = explode( "->", $cateRow[1] ); ?> <option <? if($memberRow[0] == $cateRow[0]){ echo "selected";}?> value='<?=$cateRow[0];?>'><?=$category_nameArr[1];?></option> <? } ?> </select> </td> </tr> <tr><td height="1" bgcolor="#e7e7e7" colspan="2"></td></tr>
<tr> <td class="txt03" style="padding:3pt 5pt;" bgcolor="#f8f8f8"><font color="696969"><b>÷ºÎÆÄÀÏ</td> <td colspan="3" class="txt04" style="padding:5pt 5pt;" bgcolor="#ffffff"> <input type="file" name="add_file" class="log" style=";height:20px;" size="40" maxlength="40">
<!-- ½ºÅ©¸°¼¦ °æ·Î º¸À̱â --> <? if ($filedir <> "") { ?> <? $Rfiledir = stripslashes($filedir); ?> <br>
<font color="#3366FF">¾Æ·¡ °æ·ÎÀÇ "¿À·ùȸé.jpg" ÆÄÀÏÀ» "ã¾Æº¸±â" ¹öưÀ» ´·¯ ÷ºÎÇϼ¼¿ä.</font>
<br>
<FONT COLOR="#FF0033"><? echo ($Rfiledir); ?></FONT> <? } ?>
</td> </tr> <tr><td height="1" bgcolor="#e7e7e7" colspan="2"></td></tr>
<tr> <td class="txt03" style="padding:3pt 5pt;" bgcolor="#f8f8f8"><font color="696969"><b>¹®Àdz»¿ë</td> <td colspan="3" class="txt03" style="padding:5pt 5pt;"> <textarea name="content" cols="97" rows="10" class="log"></textarea></td> </tr> <tr><td height="1" bgcolor="#e7e7e7" colspan="2"></td></tr> </table>
<table width="710" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="right"><img src="./img/mypage/add_bt.jpg" Onclick="javascript:FrmCh('<?=$filedir?>');" style="cursor:hand;" hspace="15" vspace="10"></td> <td align="left"><a href="./customeras.php"><img src="./img/mypage/list_bt.jpg" hspace="15" vspace="10" border="0"></a></td> </tr> </form> </table>
<!-- ¸ÞÀÎ ³»¿ë ³¡ -------------> </td> </tr> </table> <!-- »ó´Ü ¿©¹é¿ë Å×ÀÌºí ³¡----------------->
</td> </tr> </table>
<!-- ¸ÞÀÎ Á¾·á --------------------------------->
</td> </tr>
<tr> <td height="20"><!-- ÇÏ´Ü¿©¹é --></td> </tr> <tr> <td><? include('bottom.php'); ?></td> </tr> </table> </body>
<style type="text/css"> .leftnavi{ padding-top:22px; } .leftnavi img { border:none; display:block;} </style>
<script type="text/javascript"> $("img.image_rollover").mouseover(function(){ var temp = $(this).attr("src"); var length = temp.length; var file_type = temp.substring(length-6).substring(3); var filePath = "http://www.mijinsoft.co.kr/html/millennium/img/leftnavi/"; var fileName = $(this).attr("alt"); $(this).attr("src", filePath + fileName + "_on." + file_type); }).mouseout(function(){ var temp = $(this).attr("src"); var length = temp.length; var file_type = temp.substring(length-6).substring(3); var filePath = "http://www.mijinsoft.co.kr/html/millennium/img/leftnavi/"; var fileName = $(this).attr("alt"); $(this).attr("src", filePath + fileName + "." + file_type); }); </script> <!-- //ÁÂÃø³×ºñ -->
|