ÿØÿà JFIF ` ` ÿþ
Server : Apache System : Linux ruga7-004.fmcity.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : tkt_travelbus ( 1137) PHP Version : 7.0.0p1 Disable Function : mysql_pconnect Directory : /tkt_travelbus/www/admin/reservation/ |
Upload File : |
<? /** * 객실 일정 요금 * * 작성일 : 20130522.허종 */ include "../include/top_proc.html"; //공통파일 인클루드 //파라메터(기본) $params = "hseq=".$hseq; $params .= "&ridx=".$ridx; //파라메터(검색) $_params = $params."&date_year_s=".$date_year_s; $_params .= "&date_month_s=".$date_month_s; //숙소 일자중 첫번째 날짜와 마지막 날짜 $room_date = hotel_date_first_last($hseq,$ridx); //검색된 년월 if(!$date_year_s) $date_year_s = date("Y"); if(!$date_month_s) $date_month_s = date("m"); //검색된 년월 이전, 이후 년월 $date_pre_next = date_pre_next($date_year_s."-".$date_month_s."-01"); //목록 $roomdate_data = hotel_date($hseq,$ridx,"",$date_year_s,$date_month_s); $total = count($roomdate_data); ?> <div style="width:100%;height:25px; padding-top:10px;"> <div style="float:left;width:250px;text-align:left; position:relative; top:5px"><?=$total?>개가 검색되었습니다.[<?=$date_year_s?>년 <?=$date_month_s?>월]</div> <div style="float:right;width:180px;"> <img src="../image/common/arrow_l.gif" onClick="ajax_loader('hotel_roomdate_ajax.dateroom.list.html?<?=$params?>&date_year_s=<?=$date_pre_next[0]['pre_date1']?>&date_month_s=<?=$date_pre_next[0]['pre_date2']?>','hotel_roomdate_list');" style="cursor:pointer;"> <select name="date_year_s" id="date_year_s" onChange="search_date()" style="width:60px;"> <? for($i=$room_date['first_dt1'] ; $i < $room_date['last_dt1']+3 ; $i++){ ?> <option value="<?=$i?>" <?=($i==$date_year_s)?"selected":""?>><?=$i?></option> <?}?> </select> <select name="date_month_s" id="date_month_s" onChange="search_date()" style="width:50px;"> <? for($i=1 ; $i<=12 ; $i++){ $j = sprintf("%02d",$i); ?> <option value="<?=$j?>" <?=($j==$date_month_s)?"selected":""?>><?=$j?></option> <?}?> </select> <img src="../image/common/arrow_r.gif" onClick="ajax_loader('hotel_roomdate_ajax.dateroom.list.html?<?=$params?>&date_year_s=<?=$date_pre_next[1]['next_date1']?>&date_month_s=<?=$date_pre_next[1]['next_date2']?>','hotel_roomdate_list');" style="cursor:pointer;"> <img src="../image/btn/btn_reset.gif" onClick="ajax_loader('hotel_roomdate_ajax.dateroom.list.html?<?=$params?>','hotel_roomdate_list');" style="cursor:pointer;"> </div> </div> <div style="float:left;width:100%;height:200px;overflow-y:auto;overflow-x:hidden;"> <table width="100%" align="center" cellpadding="0" cellspacing="0" id="tbl_roomdate_list" class="pop_search_table" summary="호텔객실 조회 결과"> <caption>호텔객실 조회</caption> <thead> <tr align="center"> <th width="40" height="25">요일</th> <th width="75" >출발일</th> <th>계약가/개인판매가/대리점판매가</th> <th width="60">사용/할당</th> <th width="60">예약상태</th> <th width="50">-</th> </tr> </thead> <? for( $i=0 ; $i<count($roomdate_data) ; $i++){ $row = $roomdate_data[$i]; ?> <tbody> <tr height="25" align="center"> <td><?=$row['yoil']?></td> <td><?=$row['room_date']?></td> <td><?=number_format($row['price_cost'])?> / <?=number_format($row['price_sell'])?> / <?=number_format($row['price_agent'])?></td> <td><?=$row['left_seat']?> / <?=$row['total_seat']?></td> <td><font color='<?=$row['reserv_color']?>'><?=$row['reserv_str']?></font></td> <td valign="absmiddle"><?if($row['reserv_yn']=="Y"){?> <input type="button" name="btn_check" value="확인" class="btn_green_left" onClick="insert_roomdate('<?=$hseq?>','<?=$ridx?>','<?=$row['hdidx']?>','<?=$row['room_date']?>','<?=$row['price_cost']?>','<?=$row['price_sell']?>','<?=$row['price_agent']?>','<?=$row['commission']?>','<?=$row['hotel_code']?>');" ><span class="btn_green"></span> <?}?></td> </tr> </tbody> <?}?> </table> </div> <style type="text/css"> img {position:relative;top:4px;} #tbl_roomdate_list {border:1px solid #CFCFD1;} #tbl_roomdate_list th{border:1px solid #CFCFD1; background-color:#F9F9F9} #tbl_roomdate_list td{border:1px solid #CFCFD1;} </style> <script type="text/javascript"> //검색 function search_date() { var date_year_s = $("#date_year_s").val(); var date_month_s = $("#date_month_s").val(); var param=""; param = "<?=$params?>&date_year_s="+date_year_s+"&date_month_s="+date_month_s; ajax_loader("hotel_roomdate_ajax.dateroom.list.html?"+param,"hotel_roomdate_list"); } </script>