<%' '정형기 기록 - 사용페이지 ''///============= ''로그인 후 해당 로그인자가 어느 지역 컨택원, 어느지역 면접원, 어느지역 sv인지 확인 후 ''컨택원의 경우 컨택리스트의 쿼터 지역 선택하기 dim i dim Query dim login_pwd dim login_name '로그인 아이디 dim login_area '로그인 지역 dim login_type '로그인 타입(관리자, sv,면접원, 컨택원 등) dim contac_area '쿼터용 기관명 dim categori_01, categori_02, categori_03, categori_04, categori_05, categori_06, categori_07 '쿼터용 기관 카테고리(대,중,소) dim ani_num '발신번호 dim client_id '면접원 자리번호 dim extension '면접원 내선번호 dim categori_cnt dim login_id dim quota_area 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_name = trim(request("kikoan_name")) kikoan_id = trim(request("kikoan_id")) 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")) 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")) contac_area = trim(request("contac_area")) ani_num = trim(request("ani_num")) categori_cnt = request("categori_cnt") quota_area = request("quota_area") prj_year = "2014" 'contac_stat = 99 '일단 컨택중으로 contac_stat = trim(request("contac_stat")) ' response.write "kikoan_name : " & kikoan_name & "
" ' response.write "kikoan_id : " & kikoan_id & "
" ' response.write "login_area : " & login_area & "
" ' response.write "quota_area : " & quota_area & "
" ' response.write "contac_area : " & contac_area & "
" ' response.write "categori_name_01 : " & categori_name_01 & "
" ' response.write "categori_name_02 : " & categori_name_02 & "
" ' response.write "categori_name_03 : " & categori_name_03 & "
" ' response.write "categori_name_04 : " & categori_name_04 & "
" ' response.write "categori_name_05 : " & categori_name_05 & "
" ' response.write "categori_name_06 : " & categori_name_06 & "
" ' response.write "categori_name_07 : " & categori_name_07 & "
" ' response.write "categori_label_01 : " & categori_label_01 & "
" ' response.write "categori_label_02 : " & categori_label_02 & "
" ' response.write "categori_label_03 : " & categori_label_03 & "
" ' response.write "categori_label_04 : " & categori_label_04 & "
" ' response.write "categori_label_05 : " & categori_label_05 & "
" ' response.write "categori_label_06 : " & categori_label_06 & "
" ' response.write "categori_label_07 : " & categori_label_07 & "
" ' response.write "categori_01 : " & categori_01 & "
" ' response.write "categori_02 : " & categori_02 & "
" ' response.write "categori_03 : " & categori_03 & "
" ' response.write "categori_04 : " & categori_04 & "
" ' response.write "categori_05 : " & categori_05 & "
" ' response.write "categori_06 : " & categori_06 & "
" ' response.write "categori_07 : " & categori_07 & "
" ' response.write "categori_cnt : " & categori_cnt & "
" if request("command") = "re_contac_sel" then '컨택화면에서(전화걸기) 올때 categori_cnt = 0 contac_area = "" kikoan_id = "" kikoan_name = "" 'Response.Write "id = " & request("id") & "
" 'query = "update list set contac_stat = 0 where id = " & request("id") & " and contac_stat = 99" 'adoconn.execute query end if if cint(categori_cnt) = 0 Then categori_cnt = "0" categori_01 = "" categori_02 = "" categori_03 = "" categori_04 = "" categori_05 = "" categori_06 = "" categori_07 = "" quota_area = "" elseif cint(categori_cnt) = 1 then categori_02 = "" categori_03 = "" categori_04 = "" categori_05 = "" categori_06 = "" categori_07 = "" quota_area = "" elseif cint(categori_cnt) = 2 then categori_03 = "" categori_04 = "" categori_05 = "" categori_06 = "" categori_07 = "" quota_area = "" elseif cint(categori_cnt) = 3 then categori_04 = "" categori_05 = "" categori_06 = "" categori_07 = "" quota_area = "" elseif cint(categori_cnt) = 4 then categori_05 = "" categori_06 = "" categori_07 = "" quota_area = "" elseif cint(categori_cnt) = 5 then categori_06 = "" categori_07 = "" quota_area = "" elseif cint(categori_cnt) = 6 then categori_07 = "" quota_area = "" end if ' response.write "categori_cnt : " & cint(categori_cnt) ''배수조절 if kikoan_name = "대한적십자사" then beasu = "2.0" else beasu = "1.2" end if beasu = 1000 '12월 20일 15시자로 컨택 갯수 제한 해제(나부장님 요청) quota_chk_where = "((quota * " & cdbl(beasu) & ") - contac_quota_ok + interview_quota_fail > 0 ) " '%> KRC - 컨택
<%if Request.ServerVariables("remote_addr") = "10.10.17.52" or Request.ServerVariables("remote_addr") = "1.235.195.52" then%> (contac_sel.asp) <%end if%>
로그인 아이디 로그인 유형 로그인 지역
자리번호 내선번호 발신번호
선택 케테고리 갯수
<% If login_name = "윤주희" Or login_name = "김나연" Or login_name = "박정욱" Or login_name = "어인선" Or login_name = "컨택" Then %> <% End if %>
<% if kikoan_id <> "" then %> <% query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ "FROM category_code where category_index = 1 AND kikoan_id = '" & kikoan_id & "' " adors.open query, adoconn, 1 dim tmp_categori_01_list() redim tmp_categori_01_list(adors.recordcount) i = 0 do while not adors.eof i = i + 1 If i = 1 Then categori_name_01 = adors("category_name") %> <% End if %> <% if categori_01 <> "" then %> <% query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ "FROM category_code where category_index = 2 AND kikoan_id = '" & kikoan_id & "' " adors.open query, adoconn, 1 dim tmp_categori_02_list() redim tmp_categori_02_list(adors.recordcount) i = 0 do while not adors.eof i = i + 1 If i = 1 Then categori_name_02 = adors("category_name") %> <% End if %> <% if categori_02 <> "" then %> <% query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ "FROM category_code where category_index = 3 AND kikoan_id = '" & kikoan_id & "' " adors.open query, adoconn, 1 dim tmp_categori_03_list() redim tmp_categori_03_list(adors.recordcount) i = 0 do while not adors.eof i = i + 1 If i = 1 Then categori_name_03 = adors("category_name") %> <% End if %> <% if categori_03 <> "" then %> <% query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ "FROM category_code where category_index = 4 AND kikoan_id = '" & kikoan_id & "' " adors.open query, adoconn, 1 dim tmp_categori_04_list() redim tmp_categori_04_list(adors.recordcount) i = 0 do while not adors.eof i = i + 1 If i = 1 Then categori_name_04 = adors("category_name") %> <% End if %> <% if categori_04 <> "" then %> <% query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ "FROM category_code where category_index = 5 AND kikoan_id = '" & kikoan_id & "' " adors.open query, adoconn, 1 dim tmp_categori_05_list() redim tmp_categori_05_list(adors.recordcount) i = 0 do while not adors.eof i = i + 1 If i = 1 Then categori_name_05 = adors("category_name") %> <% End if %> <% if categori_05 <> "" then %> <% query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ "FROM category_code where category_index = 6 AND kikoan_id = '" & kikoan_id & "' " adors.open query, adoconn, 1 dim tmp_categori_06_list() redim tmp_categori_06_list(adors.recordcount) i = 0 do while not adors.eof i = i + 1 If i = 1 Then categori_name_06 = adors("category_name") %> <% End if %> <% if categori_06 <> "" then %> <% query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ "FROM category_code where category_index = 7 AND kikoan_id = '" & kikoan_id & "' " adors.open query, adoconn, 1 dim tmp_categori_07_list() redim tmp_categori_07_list(adors.recordcount) i = 0 do while not adors.eof i = i + 1 If i = 1 Then categori_name_07 = adors("category_name") %> <% End if %>
<%=login_name%> 님은 <%=login_area%> 지역의 <%=login_type%> 입니다. 컨택할 쿼터 셀 선택
프로젝트
분류1(" readonly/>)
분류2(" readonly/>)
분류3(" readonly/>)
분류4(" readonly/>)
분류5(" readonly/>)
분류6(" readonly/>)
분류7(" readonly/>)
컨택결과 : 미사용      면접예정      부재중      비수신
리스트 초기화 : 미사용      면접예정      부재중      비수신