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
|
<? if(( $_COOKIE['CUSERID'] == "" ) && ( $_COOKIE['COMID'] == "" )) { ?>
<script> alert("Á¤ºñÁ¶È¸ ·Î±×ÀÎ ÈÄ¿¡ À̿밡´ÉÇÕ´Ï´Ù."); location.href = "./ecarbook.php"; </script>
<? } include("./include/header.php"); include("../../manage/category/mscommon.php");
$msQry = "SELECT * From app_priv WHERE user_id = '$_COOKIE[COMID]' and app_id = '11'"; $msResult = MYSQL_QUERY($msQry); mysql_close;
$msRow = MYSQL_FETCH_ARRAY($msResult); $sa_uid = $msRow['user_id']; $sa_dbip = $msRow['app_dbip']; $sa_dbname = $msRow['app_dbname'];
if( MYSQL_NUM_ROWS($msResult) > 0){ include("./common.php"); $cm_nCount = 15; $cm_item_nCount = 30;
$qry = "SELECT * FROM custom WHERE cus_carnum = '$_COOKIE[CUSERID]' AND cus_hp = '$_COOKIE[CUSERID2]'"; $result = mysql_query($qry) or die (mysql_error()); if( mysql_num_rows($result) > 0){ $row = mysql_fetch_array($result); // mysql_close(); $webid = $row[cus_WebID]; $sacode = $row[sa_code]; $cuscode = $row[cus_code]; } ?>
<script> function carlogout(){ carlogin_ifm.location.href = "carlogout.php"; }
function FrmCh(){
if( asinsertFrm.txtdate.value == ""){ alert("¿¹¾àÀÏÀÚ¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä."); asinsertFrm.txtdate.focus(); return; }
if( asinsertFrm.fixinfo.value == ""){ alert("Á¤ºñ¿¹¾à ³»¿ªÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä."); asinsertFrm.fixinfo.focus(); return; } if( confirm("µî·ÏÇϽг»¿ëÀ¸·Î Á¢¼ö ÇϽðڽÀ´Ï±î?")){ asinsertFrm.action = "fixBoardProcess.php"; asinsertFrm.submit(); } } </script>
<iframe name='carlogin_ifm' width=0 height=0 style="border:0px;"></iframe> <table style="margin:0 auto;width:942px;"> <tr> <td style="height:30px;" colspan="3"></td> </tr> <tr> <td width="212" valign="top"> <table> <caption class="sound_only">ÁÂÃø¸Þ´º</caption> <tr> <td> <? include("./include/aside_book.html") ?> </td> </tr> <tr> <td height="25"> </td> </tr> <tr> <td> <!-- ¹è³Ê --> <? include("./leftbannerprocs.php") ?> </td> </tr> </table> </td>
<td width="12"><span class="sound_only">¸Þ´º¿©¹é</span></td> <td valign="top"> <table> <caption class="sound_only">³»¿ë¿µ¿ª</caption> <tr> <td> <table background="./img/titlebar/ecarbook.gif" width="718" height="44"> <tr> <td class="txt04" style="text-align:right">HOME > <font color="000000">ÀÎÅͳÝÂ÷°èºÎ</td> </tr> <tr> <td colspan="2" height="12"></td> </tr> </table> </td> </tr> <tr> <td> <!-- Á¦Ç°¼Ò°³»ó´Ü --> <div class="swSection"> <div class="imgArea"> <img src="./img/carbook/ebox.gif" alt="Á¦Ç°À̹ÌÁö"> </div> <div class="textArea"> <h3><img src="./img/carbook/etitle.gif" alt="eÂ÷°èºÎ"></h3> <div class="swText"><? include("./ecarinfo.php"); ?></div> <div class="btnArea"> <!--·Î±×ÀÎ Àü--> <? if( $_COOKIE['CUSERID'] == "") { ?> <img src="./img/carbook/ecar1_bt.gif" style="cursor:pointer;" alt="³»Á¤ºñÈ®ÀÎ" onClick="javascript:window.open('caroutlogin.php','','width=420,height=350,menubar=no,location=no,toolbar=no,scrollbar=no')"><img src="./img/carbook/ecar2_bt.gif" style="cursor:pointer;" alt="Á¤ºñ¿¹¾àµî·Ï" onClick="javascript:window.open('car2outlogin.php','','width=420,height=350,menubar=no,location=no,toolbar=no,scrollbar=no')">
<!--·Î±×ÀÎ ÈÄ--> <? } else { ?> <a href="./ecarbooklist.php"><img src="./img/carbook/ecar1_bt.gif" alt="³»Á¤ºñÈ®ÀÎ"></a><a href="./ecarbookreserve.php"><img src="./img/carbook/ecar2_bt.gif" alt="¿¹¾àÁ¤ºñµî·Ï"></a><a style="cursor:pointer;" onClick="carlogout();"><img src="./img/carbook/ecar0_bt2.gif" alt="Á¤ºñÁ¶È¸ ·Î±×¾Æ¿ô"></a> <? } ?> </div><!--//btnArea--> </div> </div><!--//swSection--> <table class="vertiTable txt03"> <caption style="height:30px;"><img src="./img/titlebar/ecar2-2.gif" alt="Á¤ºñ¿¹¾àµî·Ï"> <colgroup> <col style="width:100px;"><col style="width:390px;"> <col style="width:100px;"><col style="width:110px;"> </colgroup> <tr> <th><img src="./img/ecarbook/rtab1.gif" alt="Á¤ºñÀÏÀÚ"></th> <th><img src="./img/ecarbook/rtab2.gif" alt="Á¤ºñ³»¿ª"></th> <th><img src="./img/ecarbook/rtab3.gif" alt="ÁÖÇà°Å¸®"></th> <th><img src="./img/ecarbook/rtab4.gif" alt="´ã´çÀÚ"></th> </tr>
<? $total_sql = "select * from res_fix WHERE cus_code = '$cuscode' AND sa_code = '$sacode' AND res_Online = 'Online'";
$result = mysql_query($total_sql) or die (mysql_error()); $nTotalCount = mysql_num_rows($result); $sql = $total_sql . " order by res_fix_date desc"; $result = mysql_query($sql) or die (mysql_error()); if( mysql_num_rows($result) > 0 ){ while ($Row = mysql_fetch_array($result)){ if( $Row[res_fix_Check] == "0") $proResult = "<font color='#000000'>Á¢¼öÁß"; if( $Row[res_fix_Check] == "1") $proResult = "<font color='#3333CC'>Á¢¼ö¿Ï·á"; if( $Row[res_fix_Check] == "3") $proResult = "<font color='#FF0000'>Á¤ºñ¿Ï·á"; $Reg_date = date('Y-m-d',$row[reg_date] ); ?>
<tr> <td><?=$Row[res_fix_date];?></td> <td> <? if( $Row[res_fix_Check] == "3") { ?> <?=$Row[res_fix_detail];?> <? } else {?> <a href='ecarbookadd_01.php?pType=up&uid=<?=$Row[res_fix_code];?>'><?=$Row[res_fix_detail];?><? } ?> </td> <td><?=$Row[res_date];?></td> <td><?=$proResult;?></td> </tr> <? } } ?> </table> <p class="dotLine"></p> <form name='asinsertFrm' method='post' action='' enctype='multipart/form-data'> <input type='hidden' name="mode" value="insert"> <input type='hidden' name="sacode_" value="<?=$sacode;?>"> <input type='hidden' name="cuscode_" value="<?=$cuscode;?>"> <table class="horiTable txt03"> <colgroup> <col style="width:120px;"><col style="width:230px;"> <col style="width:120px;"><col style="width:230px;"> </colgroup> <tr> <th>¿¹¾àÀÏÀÚ</th> <td> <?
if ($txtdate == "") { $txtdate = ($txtdate == "") ? date("Y-m-d", time()) : $txtdate; } ?> <input type='text' readonly name='txtdate' class="log" size='10' value='<?=$txtdate;?>'><img src="./img/ecarbook/calendar.gif" style="cursor:pointer;" onClick="popUpCalendar(this, txtdate, 'yyyy-mm-dd');"><span>(´Þ·Â ¾ÆÀÌÄÜÀ» Ŭ¸¯ ÈÄ ¿¹¾àÀÏÀÚ¸¦ ¼±ÅÃÇØ ÁÖ¼¼¿ä.)</span> </td> </tr> <tr> <th>¿¹¾à»çÀ¯</th> <td><input name="fixinfo" type="text" class="log" size="90" maxlength="38"></td> </tr> </table> <div class="btnArea"> <a href="javascript:FrmCh();"><img src="./img/ecarbook/res_bt.gif" alt=""><a href="./ecarbookreserve.php"><img src="./img/mypage/list_bt.gif" alt="¸ñ·Ï"></a> </div> <!--//¿¹¾àµî·Ï-->
<!-- ³»¿ë --------------- ³¡ -----> </td> </tr> </table> <!-- Áß°£ -------------- ³¡ --> </td> </tr> <? include('./include/footer.php'); ?>
<? } ?>
|