sell_view.php 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635
  1. <?php
  2. include $_SERVER['DOCUMENT_ROOT'].'/common/lib/comm.php';
  3. include $_SERVER['DOCUMENT_ROOT'].'/common/user_chk.php';
  4. $ListPageNo = $_REQUEST["ListPageNo"];
  5. ?>
  6. <? include("../include/inc_top.php") ?>
  7. <? include("../include/inc_header.php") ?>
  8. <section id="wrap">
  9. <section id="visual" class="visual_sell">
  10. <h2>내차팔기</h2>
  11. <p>쉽고 간편한 내차팔기, 견적산출, 최종 매각까지 어떤 수수료도 요구하지 않습니다.</p>
  12. </section>
  13. <section id="content">
  14. <ul class="location">
  15. <li><a href="/" class="home">홈</a></li>
  16. <li><span class="depth1">차량정보</span>
  17. <ul class="sub_depth">
  18. <li><a href="/mypage/mypage.php">마이페이지</a></li>
  19. <li><a href="/mypage//sell_list.php">입찰정보</a></li>
  20. <li><a href="/sell/sell_list.php">차량정보</a></li>
  21. <li><a href="/mypage/qna_list.php?cd_board=02&ds_kind=A">문의내역</a></li>
  22. </ul>
  23. </li>
  24. <li><span class="depth2">차량정보</span></li>
  25. </ul>
  26. <?
  27. $cd_sale = $_REQUEST["cd_sale"];
  28. $sql ="SELECT
  29. a.*
  30. , b.nm_model
  31. , c.nm_grade
  32. , d.nm_brand
  33. , e.nm_model_sub
  34. , getCode('car_master','ds_type',a.ds_type) as nm_type
  35. , getCode('car_master','ds_year',a.ds_year) as nm_year
  36. , getCode('car_master','ds_open',a.ds_open) as nm_open
  37. , getCode('car_master','ds_sales',a.ds_sales) as nm_sales
  38. , getCode('car_master','ds_transmission',a.ds_transmission) as nm_transmission
  39. , getCode('car_master','ds_oil',a.ds_oil) as nm_oil
  40. , getCode('car_master','ds_accident',a.ds_accident) as nm_accident
  41. , getCode('sale_master','ds_usertype',s.ds_usertype) as nm_usertype
  42. , getCode('sale_master','ds_area',s.ds_area) as nm_area
  43. , getCode('sale_master','ds_status',s.ds_status) as nm_status
  44. , s.nm_name nm_name_sale
  45. , s.ds_status ds_status_sale
  46. , s.nm_hp nm_hp_sale
  47. , s.nm_email nm_email_sale
  48. , s.ds_area ds_area_sale
  49. , s.nm_recommend nm_recommend_sale
  50. , s.nm_cont_return nm_cont_return_sale
  51. FROM sale_master s
  52. inner join car_master a
  53. on (s.cd_car = a.cd_car)
  54. left outer join car_model b
  55. on (a.cd_model = b.cd_model)
  56. left outer join car_grade c
  57. on (a.cd_grade = c.cd_grade)
  58. left outer join car_brand d
  59. on (a.cd_brand = d.cd_brand)
  60. left outer join car_model_sub e
  61. on (a.cd_model_sub = e.cd_model_sub)
  62. WHERE s.cd_sale='$cd_sale' ";
  63. $col=mysql_fetch_array(mysql_query($sql));
  64. if (!empty($col[cd_car])){
  65. $cd_car = $col[cd_car];
  66. $cd_model = $col[cd_model];
  67. $cd_brand = $col[cd_brand];
  68. $ds_logo = $col[ds_logo];
  69. $cd_category = $col[cd_category];
  70. $cd_grade = $col[cd_grade];
  71. $ds_cate = $col[ds_cate];
  72. $ds_type = $col[ds_type];
  73. $ds_year = $col[ds_year];
  74. $nm_name = $col[nm_name];
  75. $nm_price = $col[nm_price];
  76. $nm_mileage = $col[nm_mileage];
  77. $ds_driving_system = $col[ds_driving_system];
  78. $ds_transmission = $col[ds_transmission];
  79. $nm_file_list = $col[nm_file_list];
  80. $nm_file_main = $col[nm_file_main];
  81. $nm_file_report = $col[nm_file_report];
  82. $nm_file_report_back = $col[nm_file_report_back];
  83. $nm_file_front = $col[nm_file_front];
  84. $nm_file_back = $col[nm_file_back];
  85. $nm_file_side1 = $col[nm_file_side1];
  86. $nm_file_side2 = $col[nm_file_side2];
  87. $nm_file_dashboard = $col[nm_file_dashboard];
  88. $ds_oil = $col[ds_oil];
  89. $nm_gearbox = $col[nm_gearbox];
  90. $nm_color = $col[nm_color];
  91. $nm_incolor = $col[nm_incolor];
  92. $ds_accident = $col[ds_accident];
  93. $nm_cont_accident = $col[nm_cont_accident];
  94. $nm_regdate = $col[nm_regdate];
  95. $ds_sales = $col[ds_sales];
  96. $nm_btitle = $col[nm_btitle];
  97. $nm_stitle = $col[nm_stitle];
  98. $nm_ltitle = $col[nm_ltitle];
  99. $nm_cont = $col[nm_cont];
  100. $nm_guide = $col[nm_guide];
  101. $ds_open = $col[ds_open];
  102. $ds_status = $col[ds_status];
  103. $dt_insert = $col[dt_insert];
  104. $nm_insert = $col[nm_insert];
  105. $dt_update = $col[dt_update];
  106. $nm_update = $col[nm_update];
  107. $ds_delind = $col[ds_delind];
  108. $nm_number = $col[nm_number];
  109. $nm_cc = $col[nm_cc];
  110. $ds_trade = $col[ds_trade];
  111. $ds_main = $col[ds_main];
  112. $nm_regdate_yyyy = $col[nm_regdate_yyyy];
  113. $nm_regdate_mm = $col[nm_regdate_mm];
  114. $nm_regdate_dd = $col[nm_regdate_dd];
  115. $nm_brand = $col[nm_brand];
  116. $nm_model = $col[nm_model];
  117. $nm_model_sub = $col[nm_model_sub];
  118. $nm_grade = $col[nm_grade];
  119. $nm_year = $col[nm_year];
  120. $nm_type = $col[nm_type];
  121. $nm_open = $col[nm_open];
  122. $nm_sales = $col[nm_sales];
  123. $nm_transmission = $col[nm_transmission];
  124. $nm_oil = $col[nm_oil];
  125. $nm_usertype = $col[nm_usertype];
  126. $nm_accident = $col[nm_accident];
  127. $nm_area = $col[nm_area];
  128. $nm_name_sale = $col[nm_name_sale];
  129. $ds_status_sale = $col[ds_status_sale];
  130. $nm_hp_sale = $col[nm_hp_sale];
  131. $nm_email_sale = $col[nm_email_sale];
  132. $ds_area_sale = $col[ds_area_sale];
  133. $nm_recommend_sale = $col[nm_recommend_sale];
  134. $nm_cont_return_sale = $col[nm_cont_return_sale];
  135. //보험처리
  136. $nm_act_chgno = $col[nm_act_chgno];
  137. $nm_act_chgnm = $col[nm_act_chgnm];
  138. $nm_act_s1 = $col[nm_act_s1];
  139. $nm_act_s2 = $col[nm_act_s2];
  140. $nm_act_s3 = $col[nm_act_s3];
  141. $nm_act_s4 = $col[nm_act_s4];
  142. $nm_act_my = $col[nm_act_my];
  143. $nm_act_my_amt = $col[nm_act_my_amt];
  144. $nm_act_other = $col[nm_act_other];
  145. $nm_act_other_amt = $col[nm_act_other_amt];
  146. $nm_act_searchdt = $col[nm_act_searchdt];
  147. $nm_act_cnt = $col[nm_act_cnt];
  148. $nm_act_general_spec = $col[nm_act_general_spec];
  149. $nm_act_use_record = $col[nm_act_use_record];
  150. $nm_act_use_record_lend = $col[nm_act_use_record_lend];
  151. $nm_act_use_record_biz = $col[nm_act_use_record_biz];
  152. $nm_act_use_record_official = $col[nm_act_use_record_official];
  153. $nm_act_ins_loss = $col[nm_act_ins_loss];
  154. $nm_act_ins_wet = $col[nm_act_ins_wet];
  155. $nm_act_ins_robbery = $col[nm_act_ins_robbery];
  156. $nm_file_act = $col[nm_file_act];
  157. $nm_act_yn = $col[nm_act_yn];
  158. $ds_g1_01 = $col[ds_g1_01];
  159. $ds_g1_02 = $col[ds_g1_02];
  160. $ds_g1_03 = $col[ds_g1_03];
  161. $ds_g1_04 = $col[ds_g1_04];
  162. $ds_g1_05 = $col[ds_g1_05];
  163. $ds_g2_01 = $col[ds_g2_01];
  164. $ds_g2_02 = $col[ds_g2_02];
  165. $ds_g2_03 = $col[ds_g2_03];
  166. $ds_g2_04 = $col[ds_g2_04];
  167. $ds_g2_05 = $col[ds_g2_05];
  168. $ds_g3_01 = $col[ds_g3_01];
  169. $ds_g3_02 = $col[ds_g3_02];
  170. $ds_g3_03 = $col[ds_g3_03];
  171. $ds_g3_04 = $col[ds_g3_04];
  172. $ds_g3_05 = $col[ds_g3_05];
  173. $ds_g4_01 = $col[ds_g4_01];
  174. $ds_g4_02 = $col[ds_g4_02];
  175. $ds_g4_03 = $col[ds_g4_03];
  176. $ds_g4_04 = $col[ds_g4_04];
  177. $ds_g4_05 = $col[ds_g4_05];
  178. /*
  179. $arr_nm_info1 = explode("-",$nm_info1);
  180. if(count($arr_nm_info1) == 3){
  181. $nm_info11 = $arr_nm_info1[0];
  182. $nm_info12 = $arr_nm_info1[1];
  183. $nm_info13 = $arr_nm_info1[2];
  184. }else{
  185. $nm_info11 = "";
  186. $nm_info12 = "";
  187. $nm_info13 = "";
  188. }
  189. $arr_nm_info3 = explode("@",$nm_info3);
  190. if(count($arr_nm_info3) == 2){
  191. $nm_info31 = $arr_nm_info3[0];
  192. $nm_info32 = $arr_nm_info3[1];
  193. }else{
  194. $nm_info31 = "";
  195. $nm_info32 = "";
  196. }
  197. $nm_info3 = $col[nm_info3];
  198. */
  199. }else{
  200. AlertBack("지정되지않은 요청입니다");
  201. }
  202. ?>
  203. <h3>차량기본정보</h3>
  204. <table class="tbl_h">
  205. <colgroup>
  206. <col width="16%">
  207. <col width="34%">
  208. <col width="16%">
  209. <col width="*">
  210. </colgroup>
  211. <tr>
  212. <th>차량번호</th>
  213. <td><?=$nm_number?></td>
  214. <th>제조사</th>
  215. <td><?=$nm_brand?></td>
  216. </tr>
  217. <tr>
  218. <th>모델</th>
  219. <td><?=$nm_model?></td>
  220. <th>세부모델</th>
  221. <td><?=$nm_model_sub?></td>
  222. </tr>
  223. <tr>
  224. <th>등급</th>
  225. <td><?=$nm_grade?></td>
  226. <th>연식(최초등록일)</th>
  227. <td><?=$nm_regdate_yyyy."년 ".$nm_regdate_mm."월"?></td>
  228. </tr>
  229. <tr>
  230. <th>형식연도</th>
  231. <td><?=$nm_year?>년</td>
  232. <th>배기량</th>
  233. <td><?=$nm_cc?>cc</td>
  234. </tr>
  235. <tr>
  236. <th>변속기</th>
  237. <td><?=$nm_transmission?></td>
  238. <th>연료</th>
  239. <td><?=$nm_oil?></td>
  240. </tr>
  241. <tr>
  242. <th>색상</th>
  243. <td><?=$nm_color?></td>
  244. <th>주행거리</th>
  245. <td><?=$nm_mileage?>km</td>
  246. </tr>
  247. <tr>
  248. <th>사고유무</th>
  249. <td><?=$nm_accident?><?=($ds_accident == "A0") ? " - ".$nm_cont_accident : "" ?></td>
  250. <th>추천인</th>
  251. <td><?= ($nm_recommend_sale == "") ? "없음":$nm_recommend_sale ?></td>
  252. </tr>
  253. <tr>
  254. <th>옵션</th>
  255. <td colspan="3"><?=$nm_cont?></td>
  256. </tr>
  257. <tr>
  258. <th>필수사진</th>
  259. <td colspan="3">
  260. <ul class="photo_list">
  261. <li>
  262. <img src="<?=UPLOAD_PATH_CAR?>nm_file_main/<?=$nm_file_front?>" onclick="viewPhoto('<?=UPLOAD_PATH_CAR?>nm_file_main/<?=$nm_file_front?>')">
  263. <span>차량전면</span>
  264. </li>
  265. <li>
  266. <img src="<?=UPLOAD_PATH_CAR?>nm_file_main/<?=$nm_file_back?>" onclick="viewPhoto('<?=UPLOAD_PATH_CAR?>nm_file_main/<?=$nm_file_back?>')">
  267. <span>차량후면</span>
  268. </li>
  269. <li>
  270. <img src="<?=UPLOAD_PATH_CAR?>nm_file_main/<?=$nm_file_side1?>" onclick="viewPhoto('<?=UPLOAD_PATH_CAR?>nm_file_main/<?=$nm_file_side1?>')">
  271. <span>운전석 측면</span>
  272. </li>
  273. <li>
  274. <img src="<?=UPLOAD_PATH_CAR?>nm_file_main/<?=$nm_file_side2?>" onclick="viewPhoto('<?=UPLOAD_PATH_CAR?>nm_file_main/<?=$nm_file_side2?>')">
  275. <span>조수석 측면</span>
  276. </li>
  277. <li>
  278. <img src="<?=UPLOAD_PATH_CAR?>nm_file_main/<?=$nm_file_dashboard?>" onclick="viewPhoto('<?=UPLOAD_PATH_CAR?>nm_file_main/<?=$nm_file_dashboard?>')">
  279. <span>계기판</span>
  280. </li>
  281. </ul>
  282. </td>
  283. </tr>
  284. <tr>
  285. <th>추가사진</th>
  286. <td colspan="3">
  287. <ul class="photo_list">
  288. <?
  289. if(!empty($col[cd_car])){
  290. $r = mysql_query("SELECT * FROM car_file WHERE cd_car = '$cd_car' and ds_type='' and ds_delind='N' Order by no_sort asc , cd_car ASC ");
  291. $i=1;
  292. while($imgs = mysql_fetch_array($r)) {
  293. ?>
  294. <li><img src="<?=UPLOAD_PATH_CAR?><?=$imgs[cd_car]?>_detail/<?=$imgs[nm_file]?>" onclick="viewPhoto('<?=UPLOAD_PATH_CAR?><?=$imgs[cd_car]?>_detail/<?=$imgs[nm_file]?>')"></li>
  295. <?
  296. }
  297. }else{
  298. ?>
  299. <?
  300. }
  301. ?>
  302. </ul>
  303. </td>
  304. </tr>
  305. </table>
  306. <div class="btn_right">
  307. <?
  308. if($ds_status_sale == "A0" || $ds_status_sale == "B0" || $ds_status_sale == "C0" || $ds_status_sale == "D0"){
  309. ?>
  310. <a href="#" class="button gray" id="btn_update">수정하기</a>
  311. <?
  312. }
  313. ?>
  314. <a href="./sell_list.php?PageNo=<?=$ListPageNo?>" class="button">목록가기</a>
  315. </div>
  316. <h3>사고이력정보</h3>
  317. <table class="tbl_h">
  318. <colgroup>
  319. <col width="16%">
  320. <col width="*">
  321. </colgroup>
  322. <tr>
  323. <th>차량번호 변경</th>
  324. <td><?=$nm_act_chgno?> 회</td>
  325. </tr>
  326. <tr>
  327. <th>소유자 변경</th>
  328. <td><?=$nm_act_chgnm?> 회</td>
  329. </tr>
  330. <tr>
  331. <th>자동차 보험 특수 사고</th>
  332. <td>전손 : <?=$nm_act_s1?>회 / 침수전손 : <?=$nm_act_s2?>회 / 침수분손 : <?=$nm_act_s3?>회 / 도난 : <?=$nm_act_s4?>회</td>
  333. </tr>
  334. <tr>
  335. <th>보험사고 (내차피해)</th>
  336. <td><?=$nm_act_my?> 회(<?=$nm_act_my_amt?> 원)</td>
  337. </tr>
  338. <tr>
  339. <th>보험사고 (타차가해)</th>
  340. <td><?=$nm_act_other?> 회(<?=$nm_act_other_amt?> 원)</td>
  341. </tr>
  342. <!--tr>
  343. <th>사고이력 조회일</th>
  344. <td>2018-12-05 </td>
  345. </tr-->
  346. </table>
  347. <div class="btn_right">
  348. <a href="#" class="button" onclick="openLayer('car'); return false;">사고이력 정보 조회 보기</a>
  349. </div>
  350. <!-- layer popup -->
  351. <div class="layer_popup car_popup">
  352. <h3>중고차 보험처리 이력정보 보고서</h3>
  353. <p class="close">레이어팝업닫기</p>
  354. <div class="scr_cont">
  355. <h4>중고차 사고이력 요약 정보</h4>
  356. <table class="tbl_data">
  357. <colgroup>
  358. <col width="35%">
  359. <col width="*">
  360. </colgroup>
  361. <tr>
  362. <th>자동차 일반사양</th>
  363. <td><?=$nm_act_general_spec?></td>
  364. </tr>
  365. <tr>
  366. <th>자동차 용도이력</th>
  367. <td><?=$nm_act_use_record?></td>
  368. </tr>
  369. <tr>
  370. <th>자동차 번호 / 소유자 변경횟수</th>
  371. <td><?=$nm_act_chgno?> 회 / <?=$nm_act_chgnm?> 회</td>
  372. </tr>
  373. <tr>
  374. <th>자동차보험 특수 사고이력(전손, 침수, 도난)</th>
  375. <td>전손 : <?=$nm_act_s1?>, 도난 : <?=$nm_act_s4?>, 침수(전손 : <?=$nm_act_s2?>, 분손 : <?=$nm_act_s3?>)</td>
  376. </tr>
  377. <tr>
  378. <th>보험사고이력(내차 피해)</th>
  379. <td><?=$nm_act_my?> 회, <?=$nm_act_my_amt?> 원</td>
  380. </tr>
  381. <tr>
  382. <th>보험사고이력(타차 피해)</th>
  383. <td><?=$nm_act_other?> 회, <?=$nm_act_other_amt?> 원</td>
  384. </tr>
  385. </table>
  386. <p class="notice01">자동차보험 사고기록이 없었다고 해서 반드시 무사고라고 할 수는 없습니다.</p>
  387. <h5>1. 자동차 용도 이력정보</h5>
  388. <table class="tbl_data">
  389. <colgroup>
  390. <col width="35%">
  391. <col width="*">
  392. </colgroup>
  393. <tr>
  394. <th>대여용도 사용이력(렌터카)</th>
  395. <td><?=$nm_act_use_record_lend?></td>
  396. </tr>
  397. <tr>
  398. <th>영업용도 사용이력</th>
  399. <td><?=$nm_act_use_record_biz?></td>
  400. </tr>
  401. <tr>
  402. <th>관용용도 사용이력</th>
  403. <td><?=$nm_act_use_record_official?></td>
  404. </tr>
  405. </table>
  406. <p class="notice02">과거 자동차번호 변경기록을 모두 검색하여 제공하는 것으로 대여용(렌트카), 영업용(택시 등)으로 사용된 적이 있는지 확인할 수 있습니다.</p>
  407. <h5>2. 자동차보험 특수 사고 이력 정보</h5>
  408. <table class="tbl_data">
  409. <colgroup>
  410. <col width="35%">
  411. <col width="*">
  412. </colgroup>
  413. <tr>
  414. <th>전손 보험사고</th>
  415. <td><?=$nm_act_ins_loss?></td>
  416. </tr>
  417. <tr>
  418. <th>침수 보험사고</th>
  419. <td><?=$nm_act_ins_wet?></td>
  420. </tr>
  421. <tr>
  422. <th>도난 보험사고</th>
  423. <td><?=$nm_act_ins_robbery?></td>
  424. </tr>
  425. </table>
  426. <h5>3. 보험사고 이력정보 : 내차 피해</h5>
  427. <table class="tbl_data2">
  428. <colgroup>
  429. <col width="20%">
  430. <col width="20%">
  431. <col width="20%">
  432. <col width="20%">
  433. <col width="20%">
  434. </colgroup>
  435. <thead>
  436. <tr>
  437. <th>사고일자</th>
  438. <th>부품</th>
  439. <th>공임</th>
  440. <th>도장</th>
  441. <th>총 수리비용</th>
  442. </tr>
  443. </thead>
  444. <tbody>
  445. <tr>
  446. <th><?=$ds_g1_01?></th>
  447. <td><?=$ds_g1_02?>원</td>
  448. <td><?=$ds_g1_03?>원</td>
  449. <td><?=$ds_g1_04?>원</td>
  450. <td><?=$ds_g1_05?>원</td>
  451. </tr>
  452. <tr>
  453. <th><?=$ds_g2_01?></th>
  454. <td><?=$ds_g2_02?>원</td>
  455. <td><?=$ds_g2_03?>원</td>
  456. <td><?=$ds_g2_04?>원</td>
  457. <td><?=$ds_g2_05?>원</td>
  458. </tr>
  459. <tr>
  460. <th><?=$ds_g3_01?></th>
  461. <td><?=$ds_g3_02?>원</td>
  462. <td><?=$ds_g3_03?>원</td>
  463. <td><?=$ds_g3_04?>원</td>
  464. <td><?=$ds_g3_05?>원</td>
  465. </tr>
  466. <tr>
  467. <th><?=$ds_g4_01?></th>
  468. <td><?=$ds_g4_02?>원</td>
  469. <td><?=$ds_g4_03?>원</td>
  470. <td><?=$ds_g4_04?>원</td>
  471. <td><?=$ds_g4_05?>원</td>
  472. </tr>
  473. </tbody>
  474. </table>
  475. <!--h5>4. 보험사고 이력정보 : 타차 가해</h5>
  476. <table class="tbl_data2">
  477. <colgroup>
  478. <col width="20%">
  479. <col width="20%">
  480. <col width="20%">
  481. <col width="20%">
  482. <col width="20%">
  483. </colgroup>
  484. <thead>
  485. <tr>
  486. <th>사고일자</th>
  487. <th>부품</th>
  488. <th>공임</th>
  489. <th>도장</th>
  490. <th>총 수리비용</th>
  491. </tr>
  492. </thead>
  493. <tbody>
  494. <tr>
  495. <th>2017-05-27</th>
  496. <td>857,610원</td>
  497. <td>857,610원</td>
  498. <td>857,610원</td>
  499. <td>857,610원</td>
  500. </tr>
  501. <tr>
  502. <th>2017-05-27</th>
  503. <td>857,610원</td>
  504. <td>857,610원</td>
  505. <td>857,610원</td>
  506. <td>857,610원</td>
  507. </tr>
  508. </tbody>
  509. </table>
  510. <ul class="notice03">
  511. <li>중고차 사고 이력정보 서비스는 자동차 보험을 취급하는 14개 손해보험사의 자동차 보험수리비 지급기록(1996년 이후)에 근거하여 제공하고 있습니다.<br>
  512. 따라서 다음과 같은 경우에는 중고차 사고 이력정보 서비스를 제공할 수 없습니다.</li>
  513. <li>
  514. <ol>
  515. <li>사고가 있었다하더라도 보험회사에 사전신고를 하지 않고 자비로 처리한 경우,<br>
  516. 사고신고를 하였더라도 면책, 취소 등의 사유로 보험금이 지급되지 않은경우,<br>
  517. 사고신고 후 자비로 처리한 경우입니다.</li>
  518. <li>사고가 있었다하더라도 종합보험, 즉 자기차량담보나 대물배상담보의 자동차 보험에 가입하지 않아서 자동차 보험으로 수리비용을 청구하지 못한 경우<br>
  519. (단, 이경우라도 타인 자동차보험에서 보상받은 경우에는 사고정보 제공가능)</li>
  520. <li>자동차보험이 아니 운수공제(택시공제, 화물공제, 버스공제 등)에 가입되어 운수공제로부터 자동차의 피해에 대한 손해를 보상받은 경우 등</li>
  521. </ol>
  522. </li>
  523. <li>본 중고차 사고이력정보는 중고차 품질확인을 위한 보조정보이며 결정적인 판단 자료로 사용되어서는 아니됩니다. 따라서 정밀한 중고차 품질확인을<br>
  524. 원하시면 차량진단 전문업체의 진단을 받아보시기 바랍니다.</li>
  525. <li>※ 보험개발원(www.kidi.or.kr)은 보험입법 제 176조에 의하여 설립된 보험요율산출기관이며,<br>
  526. 중고차사고이력정보서비스(www.carhistory.or.kr)는 보험업법시행령 제86조 제1호 근거하여 제공합니다. </li>
  527. </ul>
  528. <p class="sign"><img src="/img/img_sign.gif"></p-->
  529. </div>
  530. </div>
  531. <!-- // layer popup -->
  532. <?
  533. if($ds_status_sale == "D0"){ //ds_status_sale=D0
  534. ?>
  535. <!-- layer_popup -->
  536. <div class="layer_popup return_popup">
  537. <div class="popup_wrap">
  538. <p class="msg">
  539. <?=$nm_cont_return_sale?>
  540. </p>
  541. <div class="btn_center">
  542. <a href="#" class="button" id="btn_write">차량정보 수정</a>
  543. </div>
  544. </div>
  545. <div class="close">레이어팝업 닫기</div>
  546. </div>
  547. <!-- // layer_popup -->
  548. <script type="text/javascript">
  549. openLayer('return');
  550. </script>
  551. <?
  552. }
  553. ?>
  554. <!-- layer popup3 -->
  555. <div class="layer_popup photo_popup">
  556. <div class="popup_wrap">
  557. <img src="/img/sell/ic_car_photo1.png" id="photoBig">
  558. <!--div class="btn_center">
  559. <a href="#" class="button gray" onclick="closeLayer('photo'); return false;">확인</a>
  560. </div -->
  561. </div>
  562. <div class="close" onclick="closeLayer('photo'); return false;">레이어팝업 닫기</div>
  563. </div>
  564. <!-- // layer popup3 -->
  565. </section>
  566. </section>
  567. <script type="text/javascript">
  568. function viewPhoto(arg1){
  569. $("#photoBig").attr("src", arg1);
  570. openLayer('photo'); return false;
  571. }
  572. $(document).ready(function() {
  573. $("#btn_update,#btn_write").on("click", function(){
  574. $.post("/sell/proc.php", { mode:"updateCar", cd_car:"<?=$cd_car?>", cd_sale:"<?=$cd_sale?>"},function(data) {
  575. // alert(data);
  576. if(data=="Y"){
  577. location.href = "./sell_step1.php?mode=Step1";
  578. }else{
  579. alert("수정할 수 없습니다.");
  580. return;
  581. }
  582. });
  583. });
  584. });
  585. </script>
  586. <? include("../include/inc_footer.php") ?>
  587. <? include("../include/inc_bottom.php") ?>
  588. <?
  589. mysql_close($connect);
  590. ?>