ÿØÿà 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/res_good/ |
Upload File : |
<? include "../include/top.html"; include "../reservation/_common.php"; // 상품구분 $tab_arr = TO_good_module("all"); // 관리자 $admin_arr = member_fetch(" and mb_level <= 10 and del_flag='N' "); //상담진행상태 $contab_arr = base_codec("PRD","CONT"); ?> <div class="contents_wrap"> <div class="contents_wrap_in"> <div class="title"><strong>상담등록</strong></div> <div class="contents_detail"> <div id="Content_box"> <!-- 폼 --> <form name="frm_ins" id="frm_ins" method="post" enctype="multipart/form-data"> <input type="hidden" name="SqlType" value="contab_write" /> <h2 class="pt30">회원 정보</h2> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="t_register"> <colgroup> <col width="10%" /> <col width="23%" /> <col width="10%" /> <col width="23%" /> <col width="10%" /> <col width="24%" /> </colgroup> <tbody> <tr> <th><label for="mb_id">고객ID</label></th> <td><input name="mb_id" id="mb_id" type="text" class="input_text" style="width:124px" readonly /> <input type="button" id="btn_agent_search" value="검색" class="Table_btn gray" onClick="to_dialog.iframe('member_find_ajax.html','회원검색','680','360',true,true,'no');"></td> <th class="line_l"><label for="cu_name">고객이름*</label></th> <td><input name="cu_name" id="cu_name" type="text" style="width:160px" class="input_text" hname="고객이름" required /></td> <th class="line_l"></th> <td></td> </tr> <tr> <th><label for="cu_phone">핸드폰*</label></th> <td><input name="cu_phone" id="cu_phone" type="text" style="width:160px" class="input_text" hname="핸드폰" required /></td> <th class="line_l"><label for="cu_tel">전화번호</label></th> <td><input name="cu_tel" id="cu_tel" type="text" style="width:160px" class="input_text" /></td> <th class="line_l"><label for="cu_email">이메일</label></th> <td> <input name="cu_email" id="cu_email" type="text" style="width:160px" class="input_text" /> </td> </tr> </tbody> </table> <h2 class="pt30">여행 정보</h2> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="t_register"> <colgroup> <col width="10%" /> <col width="23%" /> <col width="10%" /> <col width="23%" /> <col width="10%" /> <col width="24%" /> </colgroup> <tbody> <tr> <th><label for="ct_title">제목*</label></th> <td colspan="5"><input name="ct_title" id="ct_title" type="text" style="width:50%" class="input_text" hname="제목" required /></td> </tr> <tr> <th><label for="dst_nm">여행지*</label></th> <td><input name="dst_nm" id="dst_nm" type="text" style="width:160px" class="input_text" /> </td> <th class="line_l"><label for="tab">상품구분*</label></th> <td colspan="3"> <select name="tab" id="tab" style="width:160px;"> <option value="">==상품구분==</option> <? for($i=0 ; $i < count($tab_arr) ; $i++){ $arr = $tab_arr[$i]; ?> <option value="<?=$arr['code']?>" <?=($arr['code']==$tab_s)?"selected":""?>><?=$arr['code']?> | <?=$arr['name']?></option> <?}?> </select> </td> </tr> <tr> <th><label for="d_start">출발일*</label></th> <td><input name="d_start" id="d_start" type="text" style="width:154px;" class="cal_input" value="<?=$row['d_start']?>" onclick="AjaxCal(this,event);" readonly /></td> <th class="line_l"><label for="">여행인원*</label></th> <td><input name="d_people1" id="d_people1" type="text" size="4" value="<?=$row['d_people1']?>" class="input_text" hname="여행인원" required maxlength="3" /> 명</td> <th class="line_l"><label for="admin_id">여행기간*</label></th> <td><input name="d_day" id="d_day" type="text" size="4" value="<?=$row['d_day']?>" class="input_text" hname="여행기간" required maxlength="3" /> 일</td> </tr> <tr> <th><label for="agent_corp_nm">담당자</label></th> <td> <select name="admin_id" id="admin_id" style="width:167px;"> <option value="">==선택==</option> <? for($i=0 ; $i < count($admin_arr) ; $i++){ $arr = $admin_arr[$i]; ?> <option value="<?=$arr['mb_id']?>" <?=($arr['mb_id']==$row['admin_id'])?"selected":""?>><?=$arr['mb_nm']?></option> <?}?> </select> </td> <th class="line_l"><label for="">상담일시</label></th> <td><input type="text" name="contab_dt" id="contab_dt" class="input_text" style="width:154px;" value="<?=date("Y-m-d H:i:s")?>" readonly></td> <th class="line_l"><label for="agent_tel">상담예약일</label></th> <td> <input name="contab_wdt" id="contab_wdt" type="text" value="" style="width:160px" class="cal_input" onclick="AjaxCal(this,event);" readonly /> </td> </tr> <tr> <th><label for="agent_corp_nm">진행구분</label></th> <td colspan="5"> <select name="proc_stat_cd" id="proc_stat_cd" style="width:167px;"> <? for($i=0 ; $i < count($contab_arr) ; $i++){ $arr = $contab_arr[$i]; ?> <option value="<?=$arr['code']?>" <?=($arr['code']==$TK_MEMBER['mb_id'])?"selected":""?>><?=$arr['cd_nm']?></option> <?}?> </select> </td> </tr> <tr> <th><label for="ct_cont">상담내용</label></th> <td colspan="5"><textarea name="ct_cont" id="ct_cont" style="width:95%; height:100px;" /></textarea></td> </tr> </tbody> </table> </form> <!-- /폼 --> <div class="btn_wrap_C mt30" style="background:#edf0f5;"> <a class="Bbtn red" href="javascript:;" onClick="ins_frm();">저장</a> <a class="Bbtn gray" href="index.html">목록보기</a> </div> </div> </div> </div> </div> <script type="text/javascript"> function ins_frm() { var f=document.frm_ins; var result = to_validation(f); if (result==false) return false; if(!confirm('저장하시겠습니까?')) return false; ajax_post("","contab_proc.html","frm_ins"); } </script> <? include "../include/footer.html"; ?>