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
|
<?php include_once("./_common2.php"); ?> <? include("./Page/common/header.sub.php"); $ipaddr = getenv("REMOTE_ADDR"); set_session("nomem_hash".date("H",time()), $_SERVER['REMOTE_ADDR']); ?>
<script language="JavaScript">
var bakObj=null; function chkBoxCheck(intChkNumber, obj) { //üũ¹Ú½º 1°³¸¸ ¼±Åà if(bakObj!=null) bakObj.checked=false; bakObj=obj; }
function RemoveOutline(){ //üũ¹Ú½º Å׵θ® ¾ø¾Ö±â
for(i=0;i<document.getElementsByTagName("input").length;i++){ objinput = document.getElementsByTagName("input"); if(objinput[i].type == "radio" || objinput[i].type == "checkbox" ){ objinput[i].style.border = 0; } } } </script>
<? $reg_date = date('Y-m-d',Time()); // ±âº»À¸·Î ¿À´ÃÀ» ³ÖÀ½
$string = substr(strtolower(md5(uniqid(rand(),1))),0,5); $string = str_replace('1','a',$string); ?>
<style> .wrap { width:900px; } .contents { margin:10px 0 10px} .head_title { font-size:24px; line-height:24px; font-weight:700; } .section .section_cont { /*width:100%;*/ border:1px solid #e0e0e0; padding:20px; font-size:18px; font-weight:700; line-height:20px; } </style>
<div class="wrap">
<div class="contents"> <div class="subContents"> <h1> <span class='head_title'>»ç¿ëÀÚ ºÒÆí½Å°í ÀÌ·Â</span> <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='section_cont'> ǰÁú°³¼±À» À§ÇÏ¿© Á¦Ç°»ç¿ë Áß ºÒÆí(°³¼±) »çÇ×ÀÇ ÀÌ·ÂÀ» È®ÀÎÇϽǼö ÀÖ½À´Ï´Ù. </div> <form name='SMFORM' method='post' target='ifrm' action='./easytax_requestProcess.php'> <input name="option" type="hidden" value='<?php echo $_GET['id']?>'><!-- õ³â3 ¾ÆÀ̵ð -->
<?
$proResult['0'] = '¹ÌÈ®ÀÎ'; $proResult[''] = '¹ÌÈ®ÀÎ'; $proResult['1'] = '󸮿Ϸá'; $proResult['2'] = 'ó¸®Áß'; $proResult['3'] = '󸮺Ұ¡';
$cm_nCount = 10; $cm_item_nCount = 30;
function pageListing($cur_page, $total_page, $n, $url, $mode, $SearchMdiv ,$SearchMup,$SearchMper,$searchCode ,$keyword ,$SearchMsw1 , $cm_nCount, $menu, $sub ) {
$retValue = "<div class='paging'>"; if ($cur_page > 1) {
$retValue .= "<a href='" . $url . ($cur_page-1) ."' class='page'><span class='next'>ÀÌÀü</span></a>"; } else { $retValue .= ""; $retValue .= ""; }
$retValue .= "";
$start_page = ( ( (int)( ($cur_page - 1 ) / 10 ) ) * 10 ) + 1;
$end_page = $start_page + 9; if ($end_page >= $total_page) $end_page = $total_page; if ($start_page > 1) $retValue .= "<a href='" . $url . ($start_page-1) . "' class='page'><span class='next10'>ÀÌÀü 10°³</span></a>";
if ($total_page > 1) for ($k=$start_page;$k<=$end_page;$k++) if ($cur_page != $k) $retValue .= "<a href='$url$k'>$k</a>"; else $retValue .= "<a href='$url$k' class='on'>$k</a>";
if ($total_page > $end_page) $retValue .= "<a href='" . $url . ($end_page+1) . "' class='page'><span class='pro10'>´ÙÀ½ 10°³</span></a>";
$retValue .= "";
if ($cur_page < $total_page) { $retValue .= "<a href='$url" . ($cur_page+1) ."' class='page'><span class='pro'>´ÙÀ½</span></a>";
} else { $retValue .= ""; $retValue .= ""; }
$retValue .= "</div>"; return $retValue; }
?>
<div class="wrap">
<div class="contents" style='margin-top:0px;margin-bottom:0px;'>
<div class="subContents" style=''> <div class="section" style="">
<table class="faqTable mt30" style=""> <tr> <th width="90">¹øÈ£</th> <th width="150">µî·ÏÀÏ</th> <th width="250">»óÈ£¸í</th> <th width="100">»óÅÂ</th> <th width="110">³»¿ëº¸±â</th> </tr>
<?
/* ·Î±×¾Æ¿ô ½Ã Àüü ±Û, ·Î±×ÀÎÇϸé Àڱ⠱۸¸ º¸ÀÓ */
$sql = "select * from mBoard_easytax_req where smoption = '{$id}' "; $result = mysql_query($sql) or die (mysql_error()); $nTotalCount = mysql_num_rows($result);
$nPage = ceil($nTotalCount / $cm_nCount); if ($pg == "") $pg = 1; $nFrom = ($pg - 1) * $cm_nCount; $result = mysql_query($sql) or die (mysql_error());
$sql = $sql . " order by reg_date desc limit $nFrom, $cm_nCount "; $result = mysql_query($sql) or die (mysql_error());
if( mysql_num_rows($result) > 0 ){ $cnt = $nTotalCount-$nFrom; while ($Row = mysql_fetch_array($result)){ $reg_date = $Row['reg_date'];
?> <tr <? if(isset($_COOKIE['USERID']) && $Row[4] == $_COOKIE['USERID'] && $replyRow_0 !== "" && $Row[3] == "E"){ echo "onClick=\"asLink('y','$replyRow_0');\" style='cursor:pointer;' bgcolor=ffffff ";} ?>> <td ><?=$cnt;?></td> <td ><?=$Row['reg_date'];?></td> <td ><?=$Row['smname'];?></td> <td ><?=$proResult[$Row['proResult']];?></td> <td><a style='cursor:pointer;' class='detail_show_btn'>[³»¿ëº¸±â]</a></td> </tr> <tr style='display:none;'> <td colspan=5 style='padding:15px;text-align:left;line-height:17px;'><?php echo nl2br($Row['smdetail']);?></td> </tr> <? $cnt--; } } ?> </table>
<? echo pageListing($pg, $nPage, $cm_nCount, "?id=".$id."&pg=" , $mode, $chknotend, $SearchMup, $SearchMper, $searchCode, $keyword, $SearchMsw1, $cm_nCount, $menu, $sub)?>
</div><!-- //section -->
</div><!-- //subContents --> </div><!-- //contents --> </div><!-- //wrap -->
</div><!-- //subContents --> </div><!-- //contents --> </div><!-- //wrap --> <input id='txtarea_flag' type='hidden' name='txtarea_flag' value='0'> <script> $(function(){ $(".detail_show_btn").click(function(){ $(this).closest("tr").next().toggle(); }); }); </script>
<script language="javascript"> //¶óµð¿À ¹öư ¹× üũ¹Ú½º Å׵θ® ¾ø¾Ö±â RemoveOutline(); </script>
|