| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <?php
- include $_SERVER['DOCUMENT_ROOT'].'/common/lib/comm.php';
- // include $_SERVER['DOCUMENT_ROOT'].'/common/auth_chk.php';
- header("Content-Type: text/html; charset=utf-8");
- $cd_car_history = $_GET['cd_car_history'];
- if(empty($cd_car_history)) {
- echo '해당 자료가 없습니다.';
- exit;
- }
- // $OWNER_NM = "염수환";
- // $VHRNO = "37저4633";
- include_once($_SERVER['DOCUMENT_ROOT']."/common/lib/class.carhistory.php");
- $r = mysql_query("SELECT s.*
- FROM car_history_master s
- where cd_car_history = '$cd_car_history'
- and ds_type = 'user'
- LIMIT 1");
- $history_col = mysql_fetch_array($r);
- if(empty($history_col['cd_car_history'])) {
- echo '해당 자료가 없습니다.';
- exit;
- }
- $r000 = $history_col["r000"];
- $r001 = $history_col["r001"];
- $r002 = $history_col["r002"];
- $r003 = $history_col["r003"];
- $r004 = $history_col["r004"];
- $r005 = $history_col["r005"];
- $r101 = $history_col["r101"];
- $r102 = $history_col["r102"];
- $r103 = $history_col["r103"];
- $r104 = $history_col["r104"];
- $r105 = $history_col["r105"];
- $r106 = $history_col["r106"];
- $r107 = $history_col["r107"];
- $r108 = $history_col["r108"];
- $r109 = $history_col["r109"];
- $r111 = $history_col["r111"];
- $r401 = $history_col["r401"];
- $r402 = $history_col["r402"];
- $r403 = $history_col["r403"];
- $r404 = $history_col["r404"];
- $r405 = $history_col["r405"];
- $r406_01 = $history_col["r406_01"];
- $r407 = $history_col["r407"];
- $r408_01 = $history_col["r408_01"];
- $r409 = $history_col["r409"];
- $r410_01 = $history_col["r410_01"];
- $r201 = $history_col["r201"];
- $r202 = $history_col["r202"];
- $r203 = $history_col["r203"];
- $r204 = $history_col["r204"];
- $r205 = $history_col["r205"];
- $r510 = $history_col["r510"];
- $r511_01 = $history_col["r511_01"];
- $r501 = $history_col["r501"];
- $r502 = $history_col["r502"];
- $r301 = $history_col["r301"];
- $r302 = $history_col["r302"];
- $r303 = $history_col["r303"];
- $r601 = $history_col["r601"];
- $r602 = $history_col["r602"];
- $r701 = $history_col["r701"];
- //차량 보험처리 이력 전체 정보
- if(isset($_REQUEST['device']) && $_REQUEST['device'] == 'm') {
- include_once($_SERVER['DOCUMENT_ROOT'].'/common/inc/inc_car_history_m.php');
- }else {
- include_once($_SERVER['DOCUMENT_ROOT'].'/common/inc/inc_car_history.php');
- }
- exit;
- ?>
|