ÿØÿà 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/member/ |
Upload File : |
<? include "../include/top.html"; include "_common.php"; // 업로드 경로 $upload = "../../FileData/logo/"; $data = member_fetch(" and seq='{$seq}' "); $row = $data[0]; $code_avnk = base_codec("ACC","AVNK");// 은행코드 $ag_menu_arr = explode(",",$row['ag_allow_menu']); ?> <div class="contents_wrap"> <div class="contents_wrap_in"> <?if($level_cd == $cf['agent_level']){?> <div class="title" style="margin-bottom:10px">거래처회원<span class="arrow">></span><strong>거래처수정</strong></div> <?}else if($level_cd==$cf['trade_level']){?> <div class="title" style="margin-bottom:10px">공급처회원<span class="arrow">></span><strong>공급처수정</strong></div> <?}?> <div class="contents_detail"> <div class="member_wrap"> <!-- 폼 --> <form name="frm_mb_edit" id="frm_mb_edit" method="post" enctype="multipart/form-data"> <input type="hidden" name="SqlType" value="bz_edit"> <input type="hidden" name="seq" value="<?=$row['seq']?>"> <div id="Content_box"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="t_register" summary="업체회원 정보를 수정하실 수 있습니다."> <caption>업체회원 정보 수정</caption> <!-- <thead> <tr> <td colspan="4" class="t_top_line"></td> </tr> </thead> --> <tbody> <?if($level_cd==$cf['trade_level']) {?> <tr style="border-top:1.2px solid #555;"> <th scope="row">PMS 설정</th> <td colspan="3"> PMS 유료 사용 : <input type="radio" name="biz_pms" id="biz_pms_1" value="Y" <?=($row['biz_pms']=="Y")?"checked":""?>><label for="biz_pms_1"> 사용</label> <input type="radio" name="biz_pms" id="biz_pms_2" value="N" <?=($row['biz_pms']=="N")?"checked":""?>><label for="biz_pms_2"> 미사용</label> <span style="color:#e52626;">※ PMS 유료 사용 시 공급처 담당자가 로그인하면 예약현황 팝업창이 열립니다.</span><br><br> 입장 처리 버튼 : <input type="radio" name="biz_ticket_btn" id="biz_ticket_btn_1" value="Y" <?=($row['biz_ticket_btn']=="Y")?"checked":""?>><label for="biz_ticket_btn_1"> 사용</label> <input type="radio" name="biz_ticket_btn" id="biz_ticket_btn_2" value="N" <?=($row['biz_ticket_btn']=="N")?"checked":""?>><label for="biz_ticket_btn_2"> 미사용</label> <span style="color:#e52626;">※ 공급처에서 바코드 스캔앱을 사용할 수 없는 경우 고객 바코드 화면에 입장 처리 버튼을 노출합니다.</span> </td> </tr> <tr> <th scope="row">메뉴 사용</th> <td colspan="3"> <label><input type="checkbox" name="ag_allow_menu[]" value="TOUR" <? if(in_array('TOUR', $ag_menu_arr)) echo "checked" ?>> 투어/티켓</label> <label><input type="checkbox" name="ag_allow_menu[]" value="HOTEL" <? if(in_array('HOTEL', $ag_menu_arr)) echo "checked" ?>> 호텔/리조트</label> </td> </tr> <? } ?> <?if($level_cd==$cf['agent_level']) {?> <tr style="border-top:1.2px solid #555"> <th scope="row">메뉴 사용</th> <td colspan="3"> <label><input type="checkbox" name="ag_allow_menu[]" value="TOUR" <? if(in_array('TOUR', $ag_menu_arr)) echo "checked" ?>> 투어/티켓</label> <label><input type="checkbox" name="ag_allow_menu[]" value="HOTEL" <? if(in_array('HOTEL', $ag_menu_arr)) echo "checked" ?>> 호텔/리조트</label> </td> </tr> <? } ?> <tr> <th scope="row"><label for="mb_id">아이디</label></th> <td class="input_lo" colspan="3"><?=$row['mb_id']?> <input type="hidden" name="mb_id" value="<?=$row['mb_id']?>" /> </td> </tr> <tr> <th scope="row"><label for="mb_favorite">즐겨찾기</label></th> <td class="input_lo" colspan="3"><label><input type="checkbox" name="mb_favorite" value="1" <? if($row[mb_favorite]=='1') echo "checked" ?>> <span style="color:#e52626;">※ 선택 시 리스트에서 상단에 노출됩니다.</span></label></td> </tr> <tr> <th width="150" scope="row"><span class="start_icon">*</span><label for="com_name">업체명</label></th> <td colspan="3"><input name="bz_corp_nm" id="bz_corp_nm" type="text" value="<?=$row['bz_corp_nm']?>" size="25" class="input_text" hname="업체명" required /></td> </tr> <tr> <th width="150" scope="row"><span class="start_icon">*</span><label for="group">분류</label></th> <td colspan="3"> <select name="bz_cd" id="bz_cd" style="width:160px;" 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 width="150" scope="row"><span class="start_icon">*</span><label for="bz_nat">국적</label></th> <td colspan="3"> <select name="bz_nat" id="bz_nat" style="width:160px;" hname="국적" required /> <? $agency_nation_arr = base_codec("MEM","ANAT","","N"); //[son]대리점국적 foreach($agency_nation_arr as $k=>$v) { ?> <option value="<?=$v['code']?>" <?=($row['bz_nat']==$v['code'])?"selected":""?>><?=$v['cd_nm']?></option> <?}?> </select> <span style="color:#e52626">※ 한국선택-한국어 / 홍콩,대만선택-번체 / 중국선택-간체 / 기타국가선택-영어</span> <!-- <span>한국-한국어 표기 / 홍콩,대만-번체로 표기 / 중국-간체로 표기 / 기타국가-영어로 표기</span>--> </td> </tr> <tr> <th scope="row"><span class="start_icon">*</span><label for="mb_pwd">비밀번호</label></th> <td colspan="3"> <input name="mb_pwd" id="mb_pwd" type="text" value="" size="25" class="input_text" /> <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> <th scope="row"><label for="biz_pass_memo">비밀번호(목록 노출)</label></th> <td colspan="3"> <input name="biz_pass_memo" id="biz_pass_memo" type="text" value="<?=$row['biz_pass_memo']?>" size="25" class="input_text" /> </td> </tr> <tr> <th scope="row"><span class="start_icon">*</span><label for="mb_nm">업체담당자</label></th> <td colspan="3"><input name="mb_nm" id="mb_nm" type="text" value="<?=$row['mb_nm']?>" size="25" class="input_text" hname="해당" required /></td> </tr> <tr> <th scope="row"><span class="start_icon">*</span><label for="mb_phone">연락처</label></th> <td colspan="3"><input name="mb_phone" id="mb_phone" type="text" value="<?=$row['mb_phone']?>" size="25" class="input_text" hname="해당" required/></td> </tr> <!-- <tr> <th scope="row"><label for="mb_tel">전화번호</label></th> <td colspan="3"><input name="mb_tel" id="mb_tel" type="text" value="<?=$row['mb_tel']?>" size="30" class="input_text" /></td> </tr> --> <tr> <th scope="row"><label for="bz_fax">팩스번호</label></th> <td colspan="3"><input name="bz_fax" id="bz_fax" value="<?=$row['bz_fax']?>" type="text" size="25" class="input_text"/></td> </tr> <tr> <th scope="row"><label for="zipcd_1">주소</label></th> <td colspan="3"><!--<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','우편번호검색','500','400',true,false);" class="v_align" style="cursor:pointer;" /><br/>--> 기본주소 : <input name="mb_address1" id="mb_address1" type="text" value="<?=$row['mb_address1']?>" size="50" class="input_text mt5"/> <br> 상세주소 : <input name="mb_address2" id="mb_address2" type="text" value="<?=$row['mb_address2']?>" size="50" class="input_text mt5" /><span style="color:#e52626;"> ※ 상세주소까지 입력해야 인보이스 PDF에 두줄로 출력됩니다</span></td> </tr> <!-- <tr> <th scope="row"><label for="bz_comm">할인방식</label></th> <td> <input type="radio" name="bz_agent_comm_type" id="bz_agent_comm_type_1" value="A" <?=($row['bz_agent_comm_type']=="A")?"checked":""?>><label for="bz_agent_comm_type_1"> 정액제</label> <input type="radio" name="bz_agent_comm_type" id="bz_agent_comm_type_2" value="B" <?=($row['bz_agent_comm_type']=="B")?"checked":""?>><label for="bz_agent_comm_type_2"> 정율제</label> </td> <th width="100"><label for="bz_comm">할인금액(%)</label></th> <td> <input name="bz_agent_comm" type="text" size="10" class="input_text" style="text-align:right;ime-mode:disabled;" value="<?=$row['bz_agent_comm']?>" />원(정액제)/%(정율제) </td> </tr> --> <tr> <th width="100"><label for="">공급처 계좌</label></th> <td colspan="3">입금은행 : <select name="bz_avnk_cd" class="w02" style="width:126px;"> <option value="">=======</option> <? for($i=0 ; $i<count($code_avnk) ; $i++){ $r = $code_avnk[$i]; ?> <option value="<?=$r['code']?>" <?=($r['code']==$row['bz_avnk_cd'])?"selected":""?>><?=$r['cd_nm']?></option> <?}?> </select> 예금주 : <input name="bz_avnk_owner" type="text" size="20" class="input_text" value="<?=$row['bz_avnk_owner']?>" /> 계좌번호 : <input name="bz_avnk_number" type="text" size="40" class="input_text" value="<?=$row['bz_avnk_number']?>" /> <span style="color:#e52626;">※ 공급처 정산 시 인보이스 PDF에 출력되는 계좌번호입니다.</span> </td> </tr> <!-- <tr> <th scope="row"><label for="ag_shop_owner">대표자명</label></th> <td colspan="3"><input name="ag_shop_owner" id="ag_shop_owner" value="<?=$row['ag_shop_owner']?>" type="text" size="30" class="input_text"/> </td> </tr> <tr> <th scope="row"><label for="ag_shop_owner">대표이메일</label></th> <td colspan="3"><input name="ag_shop_email" id="ag_shop_email" value="<?=$row['ag_shop_email']?>" type="text" size="60" class="input_text"/> </td> </tr> <tr> <th scope="row"><label for="ag_shop_no">사업자등록증번호</label></th> <td colspan="3"><input name="ag_shop_no" id="ag_shop_no" value="<?=$row['ag_shop_no']?>" type="text" size="60" class="input_text"/> </td> </tr> <tr> <th scope="row"><label for="ag_tour_license">관광업등록증</label></th> <td colspan="3"><input name="ag_tour_license" id="ag_tour_license" value="<?=$row['ag_tour_license']?>" type="text" size="60" class="input_text"/> </td> </tr> <tr> <th scope="row"><label for="ag_sales_ino">통신판매업신고</label></th> <td colspan="3"><input name="ag_sales_ino" id="ag_sales_ino" value="<?=$row['ag_sales_ino']?>" type="text" size="60" class="input_text"/> </td> </tr> --> <!-- <tr> <th scope="row"><label for="ag_shop_logo">사이트로고</label></th> <td colspan="3"> <input name="ag_shop_logo" id="ag_shop_logo" type="file" class="input_text" /> <?if($row['ag_shop_logo']) {?><br/> <img src='<?=$upload.$row['ag_shop_logo']?>' alt="사이트로고" /> <?}?> </td> </tr> <tr> <th scope="row"><label for="ag_shop_bottom_logo">사이트하단로고</label></th> <td colspan="3"> <input name="ag_shop_bottom_logo" id="ag_shop_bottom_logo" type="file" class="input_text" /> <?if($row['ag_shop_bottom_logo']) {?><br/> <img src='<?=$upload.$row['ag_shop_bottom_logo']?>' alt="사이트하단로고" /> <?}?> </td> </tr> --> <tr> <th scope="row"><span class="start_icon">*</span><label for="ag_shop_photo">업체로고</br>(240x158)</label></th> <td> <input name="ag_shop_photo" id="ag_shop_photo" type="file" class="input_text" /> <?if($row['ag_shop_photo']) {?><br/> <img src='<?=$upload.$row['ag_shop_photo']?>' alt="사진" style="max-width:195px;" /> <?}?> </td> <?php // if(devCookie()){ ?> <th scope="row"><span class="start_icon">*</span><label for="ag_favicon">아이콘<br>(png 파일)</label></th> <td> <input name="ag_favicon" id="ag_favicon" type="file" class="input_text" /> <?php //파일 있는지 확인 $faviconFileName = $row['mb_id'].'.png'; $faviconFilePath = $_SERVER['DOCUMENT_ROOT'].'/admin/image/partner/'.$faviconFileName; ?> <?if(file_exists($faviconFilePath)) {?> <br/><br/> <img src='/admin/image/partner/<?=$faviconFileName?>?ver=<?=time()?>' alt="사진" style="max-width:195px;" /> <?}?> </td> <?php // } ?> </tr> <tr> <th scope="row"><span class="start_icon">*</span><label for="ag_manager">담당자/연락처</label></th> <td colspan="3"><input name="ag_manager" id="ag_manager" value="<?=$row['ag_manager']?>" type="text" size="50" class="input_text" hname="해당" required/> </td> <!-- <tr> <th scope="row"><label for="ag_phone">TK 연락처</label></th> <td colspan="3"><input name="ag_phone" id="ag_phone" value="<?=$row['ag_phone']?>" type="text" size="60" class="input_text" hname="해당"/> </td> <tr> <th scope="row"><label for="ag_whatsapp">CS Whatsapp</label></th> <td colspan="3"><input name="ag_whatsapp" id="ag_whatsapp" value="<?=$row['ag_whatsapp']?>" type="text" size="60" class="input_text" hname="해당"/> </td> <tr> <th scope="row"><label for="ag_line">CS Line</label></th> <td colspan="3"><input name="ag_line" id="ag_line" value="<?=$row['ag_line']?>" type="text" size="60" class="input_text" hname="해당"/> </td> <tr> <th scope="row"><label for="ag_wechat">CS Wechat</label></th> <td colspan="3"><input name="ag_wechat" id="ag_wechat" value="<?=$row['ag_wechat']?>" type="text" size="60" class="input_text" hname="해당"/></td> </tr> <tr> <th scope="row"><label for="ag_email">CS Email</label></th> <td colspan="3"><input name="ag_email" id="ag_email" value="<?=$row['ag_email']?>" type="text" size="60" class="input_text" hname="해당"/></td> </tr> --> <tr> <th scope="row"><label for="ag_homepage">Homepage</label></th> <td colspan="3"><input name="ag_homepage" id="ag_homepage" value="<?=$row['ag_homepage']?>" type="text" size="60" class="input_text" hname="해당"/></td> </tr> </tbody> </table> </div> <ul class="btn_check"> <li class="btn01"><a href="javascript:;" onClick="check_form();">수정</a></li> <li class="btn02"><a href="javascript:;" onClick="location.href='biz_member_list.html?<?=$_href?>';">리스트</a></li> </ul> </form> <!-- /폼 --> </div> </div> </div> </div> <style> .start_icon {color:red;font-weight:bold;} </style> <script Language="javascript"> //회원정보수정 function check_form() { var f = document.frm_mb_edit; var result = to_validation(f); if(result == false) return false; if(!confirm('수정하시겠습니까?'))return false; ajax_post("ajax_proc","member_proc.php?<?=$_href?>","frm_mb_edit"); } function check_email() { var f=document.frm_ins; var id = ""; var email_1 = $("#email_1"); var email_2 = $("#email_2"); if(!email_1.val() || !email_2.val()){ alert('이메일을 입력해 주세요.'); email_1.select(); return false; } id = email_1.val()+"@"+email_2.val(); ajax_loader("id_check_ajax.php?id="+id); } </script> <? include "../include/footer.html" ?>