최초커밋
This commit is contained in:
331
contact/tel_init.asp
Normal file
331
contact/tel_init.asp
Normal file
@@ -0,0 +1,331 @@
|
||||
<!-- #include file = "./lib/config.asp" -->
|
||||
<%'
|
||||
Response.CharSet="utf-8"
|
||||
|
||||
Response.codepage="65001"
|
||||
Response.ContentType="text/html;charset=utf-8"
|
||||
''단, (chasu_use_chk = 'yes')문을 이용하여 사용여부 판단...(값이 no 인것들은 컨택결과를 일괄적으로 지정을 했기에 컨택을 하면 안되기에)
|
||||
|
||||
|
||||
set adors2 = server.CreateObject("ADODB.RECORDSET")
|
||||
set adors_tmp = server.CreateObject("ADODB.RECORDSET")
|
||||
|
||||
dim login_name '로그인 아이디
|
||||
dim login_area '로그인 지역
|
||||
dim login_type '로그인 타입(관리자, sv,면접원, 컨택원 등)
|
||||
dim kikoan_name '쿼터용 기관명
|
||||
dim categori_01, categori_02, categori_03 '쿼터용 기관 카테고리(대,중,소)
|
||||
dim kikoan_area '응답자 지역
|
||||
dim ani_num '발신번호
|
||||
dim extension '면접원 내선번호
|
||||
dim dn '응답자 전화번호
|
||||
dim field_area_name()
|
||||
dim tel_num(2)
|
||||
dim chasu
|
||||
dim key_id
|
||||
dim login_id
|
||||
dim interview_date(13)
|
||||
|
||||
interview_date(1) = "없음(거절 등)"
|
||||
interview_date(2) = "2013-11-11 ~ 2013-11-16"
|
||||
interview_date(3) = "2013-11-18 ~ 2013-11-23"
|
||||
interview_date(4) = "2013-11-25 ~ 2013-11-30"
|
||||
interview_date(5) = "2013-12-02 ~ 2013-12-07"
|
||||
interview_date(6) = "2013-12-09 ~ 2013-12-14"
|
||||
interview_date(7) = "2013-12-16 ~ 2013-12-21"
|
||||
interview_date(8) = "2013-12-23 ~ 2013-12-28"
|
||||
interview_date(9) = "2013-12-30 ~ 2014-01-04"
|
||||
interview_date(10) = "2014-01-06 ~ 2014-01-11"
|
||||
interview_date(11) = "2014-01-13 ~ 2014-01-18"
|
||||
interview_date(12) = "2014-01-20 ~ 2014-01-25"
|
||||
interview_date(13) = "2014-01-27 ~ 2014-02-01"
|
||||
|
||||
login_id = trim(request("login_id"))
|
||||
login_name = trim(request("login_name"))
|
||||
login_area = trim(request("login_area"))
|
||||
login_type = trim(request("login_type"))
|
||||
client_id = trim(request("client_id"))
|
||||
extension = trim(request("extension"))
|
||||
|
||||
kikoan_id = trim(request("kikoan_id"))
|
||||
kikoan_name = trim(request("kikoan_name"))
|
||||
categori_name_01 = trim(request("categori_name_01"))
|
||||
categori_name_02 = trim(request("categori_name_02"))
|
||||
categori_name_03 = trim(request("categori_name_03"))
|
||||
categori_name_04 = trim(request("categori_name_04"))
|
||||
categori_name_05 = trim(request("categori_name_05"))
|
||||
categori_name_06 = trim(request("categori_name_06"))
|
||||
categori_name_07 = trim(request("categori_name_07"))
|
||||
categori_label_01 = trim(request("categori_label_01"))
|
||||
categori_label_02 = trim(request("categori_label_02"))
|
||||
categori_label_03 = trim(request("categori_label_03"))
|
||||
categori_label_04 = trim(request("categori_label_04"))
|
||||
categori_label_05 = trim(request("categori_label_05"))
|
||||
categori_label_06 = trim(request("categori_label_06"))
|
||||
categori_label_07 = trim(request("categori_label_07"))
|
||||
categori_01 = trim(request("categori_01"))
|
||||
categori_02 = trim(request("categori_02"))
|
||||
categori_03 = trim(request("categori_03"))
|
||||
categori_04 = trim(request("categori_04"))
|
||||
categori_05 = trim(request("categori_05"))
|
||||
categori_06 = trim(request("categori_06"))
|
||||
categori_07 = trim(request("categori_07"))
|
||||
add_item1 = trim(request("add_item1"))
|
||||
add_item2 = trim(request("add_item2"))
|
||||
add_item3 = trim(request("add_item3"))
|
||||
add_item4 = trim(request("add_item4"))
|
||||
add_item5 = trim(request("add_item5"))
|
||||
add_item6 = trim(request("add_item6"))
|
||||
add_item7 = trim(request("add_item7"))
|
||||
contac_area = trim(request("contac_area"))
|
||||
ani_num = trim(request("ani_num"))
|
||||
categori_cnt = request("categori_cnt")
|
||||
command = request("command")
|
||||
'contac_stat = 99 '일단 컨택중으로
|
||||
contac_stat = trim(request("contac_stat"))
|
||||
init_stat = trim(request("init_stat"))
|
||||
quota_area = request("quota_area")
|
||||
prj_year = request("prj_year")
|
||||
|
||||
sex = ""
|
||||
age = 0
|
||||
|
||||
' response.write "kikoan_name : " & kikoan_name & "<br/>"
|
||||
' response.write "kikoan_id : " & kikoan_id & "<br/>"
|
||||
' response.write "login_area : " & login_area & "<br/>"
|
||||
' response.write "quota_area : " & quota_area & "<br/>"
|
||||
' response.write "contac_area : " & contac_area & "<br/>"
|
||||
|
||||
' response.write "categori_name_01 : " & categori_name_01 & "<br/>"
|
||||
' response.write "categori_name_02 : " & categori_name_02 & "<br/>"
|
||||
' response.write "categori_name_03 : " & categori_name_03 & "<br/>"
|
||||
' response.write "categori_name_04 : " & categori_name_04 & "<br/>"
|
||||
' response.write "categori_name_05 : " & categori_name_05 & "<br/>"
|
||||
' response.write "categori_name_06 : " & categori_name_06 & "<br/>"
|
||||
' response.write "categori_name_07 : " & categori_name_07 & "<br/>"
|
||||
' response.write "categori_label_01 : " & categori_label_01 & "<br/>"
|
||||
' response.write "categori_label_02 : " & categori_label_02 & "<br/>"
|
||||
' response.write "categori_label_03 : " & categori_label_03 & "<br/>"
|
||||
' response.write "categori_label_04 : " & categori_label_04 & "<br/>"
|
||||
' response.write "categori_label_05 : " & categori_label_05 & "<br/>"
|
||||
' response.write "categori_label_06 : " & categori_label_06 & "<br/>"
|
||||
' response.write "categori_label_07 : " & categori_label_07 & "<br/>"
|
||||
' response.write "categori_01 : " & categori_01 & "<br/>"
|
||||
' response.write "categori_02 : " & categori_02 & "<br/>"
|
||||
' response.write "categori_03 : " & categori_03 & "<br/>"
|
||||
' response.write "categori_04 : " & categori_04 & "<br/>"
|
||||
' response.write "categori_05 : " & categori_05 & "<br/>"
|
||||
' response.write "categori_06 : " & categori_06 & "<br/>"
|
||||
' response.write "categori_07 : " & categori_07 & "<br/>"
|
||||
' response.write "categori_cnt : " & categori_cnt & "<br/>"
|
||||
|
||||
' response.write "contac_stat : " & contac_stat & "<br/>"
|
||||
' response.write "ani_num : " & ani_num & "<br/>"
|
||||
' response.write "init_stat : " & init_stat & "<br/>"
|
||||
|
||||
query = "update list set rechecker = '', contactor = 'no' " & _
|
||||
" where kikoan_name like '" & kikoan_name & "' " & _
|
||||
" and (chasu = '원표본') and (chasu_use_chk = 'yes') " & _
|
||||
" and contac_stat = " & init_stat & _
|
||||
" and prj_year = '" & prj_year & "'"
|
||||
|
||||
' response.write "query : " & query & "<br/>"
|
||||
adoconn.execute query
|
||||
%>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>KRC - 컨택</title>
|
||||
|
||||
<script type="text/javascript">
|
||||
function contec_sel(id)
|
||||
{ //기관 재선택 부터
|
||||
var f = document.frm_main;
|
||||
//f.action = "contac_sel.asp?command=re_contac_sel&id=" + id;
|
||||
f.action = "contac_sel.asp?command=re_contac_sel";
|
||||
f.submit();
|
||||
}
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form method=post name='frm_main'>
|
||||
|
||||
<input type='hidden' value = '<%=kikoan_id%>' name='kikoan_id'/>
|
||||
<input type='hidden' value = '<%=project_type%>' name='project_type'/>
|
||||
<input type='hidden' value = '<%=contac_stat%>' name='contac_stat'/>
|
||||
<input type='hidden' readonly value='<%=id%>' style='text-align:center' name = 'id'>
|
||||
|
||||
<table width=1000 cellpadding='0' cellspacing='0' border='0' valign='top' >
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<table width=100% cellpadding='0' cellspacing='0' border='0'>
|
||||
<tr height=5>
|
||||
|
||||
<td background='<%=domain_url%>/capi/images_new/top_bg.jpg'></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width='100%' cellpadding='3' cellspacing='1' border='1' bgcolor='#DADADA'>
|
||||
|
||||
<!--타이틀 -->
|
||||
<tr bgcolor=Aqua height=30>
|
||||
<td colspan=2 align='center' style="font-size:13pt;font-weight:bold">
|
||||
<%=login_name%> 님은 <%=login_area%> 지역의 <%=login_type%> 입니다.
|
||||
<%if Request.ServerVariables("remote_addr") = "10.10.17.52" or Request.ServerVariables("remote_addr") = "1.235.195.52" then%>
|
||||
(inc_top.asp)
|
||||
<%end if%>
|
||||
</td>
|
||||
</tr>
|
||||
<!--기관명 -->
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height='1' bgcolor='#dadada'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<table width=100% cellpadding='0' cellspacing='0' border='1'>
|
||||
<tr height=30>
|
||||
<td align='center'>로그인 아이디
|
||||
<input type='hidden' value = '<%=login_id%>' name = 'login_id'>
|
||||
</td>
|
||||
<td align='center'>
|
||||
<input type='text' readonly name='login_name' value='<%=login_name%>'> <!-- '로그인 아이디 -->
|
||||
</td>
|
||||
<td align='center'>로그인 유형</td>
|
||||
<td align='center'>
|
||||
<input type='text' readonly name='login_type' value='<%=login_type%>'> <!-- '로그인 타입(관리자, sv,면접원, 컨택원 등) -->
|
||||
</td>
|
||||
<td align='center'>기관명</td>
|
||||
<td align='center'>
|
||||
<input type='text' size=40 readonly name='kikoan_name' value='<%=kikoan_name%>' style='font-weight:bold'> <!-- '쿼터용 기관명 -->
|
||||
</td>
|
||||
<!--
|
||||
<td align='center'>로그인 지역</td>
|
||||
<td align='center'>
|
||||
<input type='text' readonly name='login_area' value='<%=login_area%>'> '로그인 지역(서울,부산, 대구, 광주, 대전, 강원)
|
||||
</td>
|
||||
-->
|
||||
</tr>
|
||||
|
||||
<tr height=30>
|
||||
<td align='center'>자리번호</td>
|
||||
<td align='center'>
|
||||
<input type='text' readonly name = 'client_id' value = '<%=client_id%>'> <!-- '면접원 자리번호 -->
|
||||
</td>
|
||||
<td align='center'>내선번호</td>
|
||||
<td align='center'>
|
||||
<input type='text' readonly name = 'extension' value = '<%=extension%>' > <!-- '면접원 내선번호 -->
|
||||
</td>
|
||||
<td align='center'>발신번호</td>
|
||||
<td align='center'>
|
||||
<input type='text' readonly name='ani_num' value='<%=ani_num%>'> <!-- '발신번호-->
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!--
|
||||
<tr height=30 align='center'>
|
||||
<td>기관명</td>
|
||||
<td>
|
||||
<input type='text' size=25 readonly name='kikoan_name' value='<%=kikoan_name%>'> '쿼터용 기관명
|
||||
</td>
|
||||
<td>컨택 지역</td>
|
||||
<td>
|
||||
<input type='text' readonly name='contac_area' value='<%=contac_area%>'> '쿼터용 지역
|
||||
</td>
|
||||
<td>쿼터지역</td>
|
||||
<td>
|
||||
<input type='text' size=13 readonly name='quota_area' value='<%=quota_area%>'> '쿼터용 지역
|
||||
<input type='text' size=7 readonly name='categori_cnt' value='<%=categori_cnt%>'> '선택한 카테고리 갯수 지역
|
||||
</td>
|
||||
</tr>
|
||||
-->
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width=1000 cellpadding='0' cellspacing='0' border='0'>
|
||||
<tr height=50 align='center' >
|
||||
<td width=100% style='font-size:16pt;font-weight:bold;font-color:yellow;'>
|
||||
<% If init_stat = 0 Then %>
|
||||
미사용
|
||||
<% ElseIf init_stat = 1 Then %>
|
||||
면접예정
|
||||
<% ElseIf init_stat = 2 Then %>
|
||||
부재중
|
||||
<% ElseIf init_stat = 4 Then %>
|
||||
비수신
|
||||
<% End If %>
|
||||
전화번호를 초기화를 적용 하였습니다.
|
||||
</td>
|
||||
</tr>
|
||||
<tr align='center' >
|
||||
<td>
|
||||
<img src='<%=domain_url%>:8888/images/common/btn_search_kikoan.jpg' onclick='contec_sel(<%=key_id%>)' style='cursor:hand;VERTICAL-ALIGN: middle;' title='기관 재선택'>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<%
|
||||
set Adors = nothing
|
||||
|
||||
AdoConn.close
|
||||
set AdoConn = nothing
|
||||
%>
|
||||
|
||||
<!-- #include file = "./inc_bottom_script.asp"-->
|
||||
|
||||
<form action="" name="fm" id="fm">
|
||||
|
||||
<div>
|
||||
<!--
|
||||
<table border=0>
|
||||
<tr align="center" style='cursor:hand;'>
|
||||
|
||||
<td width=150>
|
||||
<img src="<%=domain_url%>:8888/images/makecall/btn_reset.jpg" onclick="fn_login();" title ='로그인(초기화)' style='cursor:hand' >
|
||||
</td>
|
||||
|
||||
<td width=150>
|
||||
<img src="<%=domain_url%>:8888/images/makecall/btn_logout_02.jpg" onclick="fn_logout();" title ='로그 아웃' style='cursor:hand' >
|
||||
</td>
|
||||
<td width=150>
|
||||
<img style='cursor:hand;' src="<%=domain_url%>:8888/images/makecall/btn_dial.jpg" onclick="fn_makeCall();" title ='전화 걸기' >
|
||||
</td>
|
||||
<td width=150>
|
||||
<img style='cursor:hand;' src="<%=domain_url%>:8888/images/makecall/btn_hangup.gif" onclick="fn_dropCall();" title ='전화 끊기' >
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
-->
|
||||
|
||||
<div style="width:980px; margin: 0 auto; border: 0px solid;">
|
||||
<div>
|
||||
<!--b>자리번호</b--> <input type="hidden" readonly name="loginId" id="loginId" onblur="fn_insertVal(this.value);" value="<%=client_id%>">
|
||||
<!--b>패스워드</b> <input type="text" readonly name="loginPw" id="loginPw" onkeypress="if(event.keyCode == 13) fn_login();"> -->
|
||||
<!--b>내선번호</b--> <input type="hidden" readonly name="extension" id="extension" value="<%=extension%>">
|
||||
</div>
|
||||
<br />
|
||||
<div>
|
||||
<input type="hidden" readonly name="ani_num" id="ani_num" value="<%=ani_num%>" title='발신 번호'>
|
||||
<!--응답자 번호--> <input type="hidden" readonly name="dn" id="dn" value="<%=dn%>">
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
|
||||
<div name="logdata" id="logdata" style="width:100%; height:100px;" ></div>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user