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
|
<? include("../common/sub_header.php"); ?>
<script> function asLink(f,id){ if(f == 'y'){ location.href = "mypageqna_answer.php?uid="+id; } } </script>
<div class="wrap">
<div class="contents"> <div class="asideMenu"> <? include("./leftNavi.html"); ?> </div><!-- //leftNavi -->
<div class="subContents"> <h1> <img src="../../images/titlebar/support_customeras.php.png" alt="Áú¹®°ú´äº¯"> <p> <span class="home"><a href="intro.php">Home</a></span> <span class="depth">></span> <span class="depth1">°í°´Áö¿ø</span> <span class="depth">></span> <span class="depth2">Áú¹®°ú´äº¯</span> </p> </h1>
<!-- ¼ºê³»¿ë --> <div class="section">
<div class="board" style="min-height:300px;"> <h2 class="screen_out">Áú¹®°ú´äº¯ °Ô½ÃÆÇÀÔ´Ï´Ù.</h2> <!-- ±Û1 --> <dl> <dt> <ul class="noticeBoard"> <li class="qnaNum">¹ø È£</li> <li class="qnaCompany">»óÈ£¸í</li> <li class="qnaLocation">¼ÒÀçÁö</li> <li class="qnaReply">´äº¯ÀÚ</li> <li class="qnaState">»óÅÂ</li> <li class="qnaDate">ÀÛ¼ºÀÏ</li> </ul> </dt>
<?
/* ·Î±×ÀÎ ÇÏÁö ¾ÊÀ¸¸é Àüü ±Û º¸ÀÓ, ·Î±×ÀÎÇϸé Àڱ⠱۸¸ º¸ÀÓ */
if( !isset($_COOKIE['USERID']) || $_COOKIE['USERID'] == "" ) { $sql = " select a.uid , b.Madd, b.Mcompany, a.proResult, b.Mid, a.fid , b.Mname , a.reg_date from mBoard_as a, member b WHERE a.id = b.Mid and b.Madd != '' and a.thread = 'A' order by a.uid desc limit 20 "; $result = mysql_query($sql) or die (mysql_error()); } else { $sql = " select a.uid , b.Madd, b.Mcompany, a.proResult, b.Mid, a.fid , b.Mname , a.reg_date from mBoard_as a, member b WHERE a.id = b.Mid and a.id = '$_COOKIE[USERID]' and a.thread = 'A' order by a.uid desc limit 20 "; $result = mysql_query($sql) or die (mysql_error()); } if( mysql_num_rows($result) > 0 ){ while ($Row = mysql_fetch_array($result)){ if( $Row[3] == "A") $proResult = "´ë±â"; if( $Row[3] == "B") $proResult = "Á¢¼ö"; if( $Row[3] == "C") $proResult = "ó¸®Áß"; if( $Row[3] == "D") $proResult = "º¸·ù"; if( $Row[3] == "E") $proResult = "¿Ï·á"; if( $Row[3] == "F") $proResult = "Áú¹®"; if( $Row[3] == "G") $proResult = "¿äû"; $replyRow_0 = ""; $replyRow_1 = "";
$addr = explode(" ", $Row[1] ); $replyQry = " select uid,name from mBoard_as where fid = '$Row[5]' and thread = 'AA' "; $replyResult = mysql_query( $replyQry); if( mysql_num_rows($replyResult) > 0){ $replyRow = mysql_fetch_array($replyResult); $replyRow_0 = $replyRow[0]; $replyRow_1 = $replyRow[1]; } if($Row[2] == ""){ //ȸ»ç¸íÀÌ ¾øÀº°æ¿ìó¸®. $_disName = $Row[6]; } else{ $_disName = $Row[2]; } $reg_date = date('Y-m-d' ,$Row['reg_date']);
?> <!-- ±ÛÁ¦¸ñ --> <dd> <ul class="noticeSubject"> <li class="qnaNum"><?=$Row[0];?></li> <li class="qnaCompany"><?=$_disName;?></li> <li class="qnaLocation"><?=$addr[0]." ".$addr[1];?></li> <li class="qnaReply"><?=$addr[0]." ".$addr[1];?><?=$replyRow_1;?></li> <li class="qnaState"><?=$proResult;?></li> <li class="qnaDate"><?=$reg_date;?></li> </ul> </dd> <? } } ?> <!-- ±ÛÁ¦¸ñ ³¡ --> </dl> </div><!-- board ³¡-->
<!-- ±Û¸ñ·Ï --> <a href="#" style="cursor:pointer;" <? if( isset($_COOKIE['USERID']) && $_COOKIE['USERID'] !== "" ){ echo "onClick=\"location.href = '../mypage/mypageqna.php'\""; } else{ echo "onClick=\"javascript:window.open('../member/logingo.php','','')\"";} ?>>
<a href="../mypage/mypageqna.php"> <div class="qnaWriteBtn"><span class="screen_out">Áú¹® ±Û¾²±â ¹öư</span></div> </a>
</a>
</div><!-- //section --> </div><!-- //subContents --> </div><!-- //contents --> </div><!-- //wrap -->
<? include("../common/sub_footer.php"); ?>
|