|
include "../com/l_menu03.html";?>
include "../com/lt_quick.html";?>
|
 |
Home > ·»Æ®Ä«¿¹¾à > ·»Æ®Ä«¿¹¾à |
|
|
|
include "../pro_com/refund_rent.html";?>
|
|
| Â÷·®À̹ÌÁö |
Â÷·®¸í |
»ç¿ë½Ã°£ |
»ç¿ë´ë¼ö |
ÆÇ¸Å°¡ |
¿¹¾à |
if (Trim($tmp_scode)) {
if ($tmp_scode == "001") {
if($where == '') { $where = $where." WHERE "; }else{ $where = $where." AND "; }
$where = $where." RPT_SCODE != '002' AND RPT_SCODE != '003' AND RPT_SCODE != '004' AND RPT_SCODE != '006'";
} else {
if($where == '') { $where = $where." WHERE "; }else{ $where = $where." AND "; }
$where = $where." RPT_SCODE = '$tmp_scode'";
}
}
if (Trim($sh)) {
if($where == '') { $where = $where." WHERE "; }else{ $where = $where." AND "; }
$where = $where." RPT_NAME LIKE '%$sh%'";
}
//¼º¼ö±â °¡´É
if (substr($tmp_sdate, 0, 8) >= '20141224' AND substr($tmp_sdate, 0, 8) <= '20150101') {
if($where == '') { $where = $where." WHERE "; }else{ $where = $where." AND "; }
$where = $where." RPT_BUSY = 'Y'";
}
if($where == '') { $where = $where." WHERE "; }else{ $where = $where." AND "; }
$where = $where." RPT_NUM = RPD_RPTNUM AND RPT_YN = 'Y' AND RPT_LCODE = '005'";
//¸ñ·ÏÀ» ²¨³»¿Â´Ù.
$query = "SELECT A.RPT_SCODE, A.RPT_NAME, A.RPT_IMAGE, B.RPD_NUM, B.RPD_RPTNUM
FROM AQU_RENTCARPRODUCT A, AQU_RENTCARPRDINDIVIDUAL B
$where ORDER BY RPT_RC DESC";
$result = mysql_query($query,$G_CONNECT);
$curr_row_cnt = mysql_num_rows($result); //ÇöÀç ÆäÀÌÁö¿¡¼ º¸¿©ÁÙ ·¹ÄÚµå ¼ö(À§ Äõ¸® °á°ú ¼ö)
//ÆäÀÌÁö¸¸Å ¸ñ·Ï ¾²±â
while($row = mysql_fetch_array($result,MYSQL_ASSOC)) {
$fname = $G_VIEW_PD.$row[RPT_IMAGE]; $spno = $row[RPD_RPTNUM]; $tm_scode = $row[RPT_SCODE];
//·»Æ®Ä« ÄíÆù °¡°Ý°è»ê¼ÂÆÃ
re_setRsvConfig("RE", $spno, $row[RPD_NUM], $tmp_sdate, $usetime, '0');
$tmp_discountprice = rfn_getRsvDiscountPriceRE() * $cnt; //ÇÒÀαݾ×
$tmp_priceynre = rfn_getPRICEYNRE(); //¹Ì¿ä±ÝÀ¯¹«
$query_name = "SELECT PRT_NM FROM AQU_PRDTYPE WHERE PRT_LCODE = '005' AND PRT_SCODE = '$tm_scode'";
$result_name = mysql_query($query_name,$G_CONNECT);
//µ¥ÀÌŸ ²¨³»¿À±â
while($row_name = mysql_fetch_array($result_name,MYSQL_ASSOC)) { $category_text = $row_name[PRT_NM]; }
?>
 |
[=$category_text;?>] echo rfn_kstrcut($row[RPT_NAME], 33, '...');?> |
=$usetime;?>½Ã°£ |
=$cnt;?>´ë |
if (substr($tmp_sdate, 0, 8) >= '20131003' AND substr($tmp_sdate, 0, 8) <= '20131006') { ?>
if ($spno == '2' || $spno == '4' || $spno == '5' || $spno == '6' || $spno == '96' || $spno == '81' || $spno == '1' || $spno == '3') { ?>
=number_format($tmp_discountprice);?>¿ø |
 |
} else { ?>
if ($tmp_priceynre == "Y") { ?>
Àüȹ®ÀÇ |
 |
} else { ?>
=number_format($tmp_discountprice);?>¿ø |
 |
} ?>
} ?>
} else { ?>
if ($tmp_priceynre == "Y") { ?>
Àüȹ®ÀÇ |
 |
} else { ?>
=number_format($tmp_discountprice);?>¿ø |
 |
} ?>
} ?>
} ?>
if($curr_row_cnt==0) { ?>
| µî·ÏµÈ ·»Æ®Ä«»óǰÀÌ ¾ø½À´Ï´Ù. |
} ?>
|
 |
|
|
include "../com/rt_quick.html";?>
|
include "../com/com_footer.html";?>