sell_nonmember_search.php 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?php
  2. include $_SERVER['DOCUMENT_ROOT'].'/common/lib/comm.php';
  3. // include $_SERVER['DOCUMENT_ROOT'].'/common/auth_chk.php';
  4. ?>
  5. <? include("../include/inc_top.php") ?>
  6. <? include("../include/inc_header.php") ?>
  7. <section id="wrap">
  8. <section id="visual" class="visual_sell">
  9. <h2>내차팔기</h2>
  10. <p>쉽고 간편한 내차팔기, 견적산출, 최종 매각까지 어떤 수수료도 요구하지 않습니다.</p>
  11. </section>
  12. <section id="content">
  13. <ul class="location">
  14. <li><a href="/" class="home">홈</a></li>
  15. <li><span class="depth1">내차팔기</span></li>
  16. <li><span class="depth2">조회하기</span></li>
  17. </ul>
  18. <h3>입찰조회 확인</h3>
  19. <form id="frmMember" name="frmMember" method="post" action="sell_view_nomember.php" enctype="multipart/form-data">
  20. <input type="hidden" name="mode" id="mode" value="sellNoMemberSearch"/>
  21. <table class="tbl_h">
  22. <colgroup>
  23. <col width="18%">
  24. <col width="*">
  25. </colgroup>
  26. <tr>
  27. <th>이름</th>
  28. <td><input type="text" class="inp_txt" style="width:330px;" name="nm_name" id="nm_name"></td>
  29. </tr>
  30. <tr>
  31. <th>핸드폰</th>
  32. <td><input type="text" class="inp_txt" style="width:330px;" name="nm_hp" id="nm_hp"><span class="td_txt"> 숫자만 입력</span></td>
  33. </tr>
  34. <tr>
  35. <th>차량번호</th>
  36. <td><input type="text" class="inp_txt" style="width:330px;" name="nm_number" id="nm_number"></td>
  37. </tr>
  38. </table>
  39. </form>
  40. <div class="btn_center">
  41. <input type="submit" class="button" title="비회원 차량조회" value="비회원 차량조회" id="btn_write">
  42. </div>
  43. </section>
  44. </section>
  45. <script laguage="javascript" type="text/javascript">
  46. $(document).ready(function() {
  47. $("#btn_write").bind("click",function(){
  48. var fieldlist = [["nm_name","이름"],["nm_hp","휴대번호"],["nm_number","차량번호"]]
  49. if (!fnCheckForm(fieldlist)){
  50. return false;
  51. }else{
  52. if(!ChkNum($("#nm_hp").val())){
  53. alert("휴대폰 번호는 숫자만 입력하세요.");
  54. $("#nm_hp").focus();
  55. return false;
  56. }
  57. var c=confirm("조회 하시겠습니까?");
  58. if(c){
  59. $("#btn_write").hide();
  60. $("#frmMember").submit();
  61. }else{
  62. $("#btn_write").show();
  63. return false;
  64. }
  65. }
  66. });
  67. });
  68. </script>
  69. <? include("../include/inc_footer.php") ?>
  70. <? include("../include/inc_bottom.php") ?>
  71. <?
  72. mysql_close($connect);
  73. ?>