<%' Response.CharSet="utf-8" Response.codepage="65001" Response.ContentType="text/html;charset=utf-8" '정형기 기록 - 사용페이지 ''///============= ''모든 사람이 검색가능하게 ''단, (chasu_use_chk = 'yes')문을 이용하여 사용여부 판단...(값이 no 인것들은 컨택결과를 일괄적으로 지정을 했기에 컨택을 하면 안되기에) dim i dim Query dim login_pwd dim login_name '로그인 아이디 dim login_area '로그인 지역 dim login_type '로그인 타입(관리자, sv,면접원, 컨택원 등) dim ani_num '발신번호 dim client_id '면접원 자리번호 dim extension '면접원 내선번호 dim categori_cnt dim login_id 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")) ani_num = trim(request("ani_num")) key_id = trim(request("key_id")) kikoan_id = trim(request("kikoan_id")) kikoan_name = trim(request("kikoan_name")) res_tel1 = trim(request("res_tel1")) res_tel2 = trim(request("res_tel2")) res_name = trim(request("res_name")) command = request("command") list_id = request("list_id") query = "select a.* " & _ ", isnull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 1 and category_code = a.categori_01), categori_01) as 'categori_label01' " & _ ", isnull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 2 and category_code = a.categori_02), categori_02) as 'categori_label02' " & _ ", isnull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 3 and category_code = a.categori_03), categori_03) as 'categori_label03' " & _ ", isnull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 4 and category_code = a.categori_04), categori_04) as 'categori_label04' " & _ ", isnull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 5 and category_code = a.categori_05), categori_05) as 'categori_label05' " & _ ", isnull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 6 and category_code = a.categori_06), categori_06) as 'categori_label06' " & _ ", isnull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 7 and category_code = a.categori_07), categori_07) as 'categori_label07' " & _ ", b.contac_stat_label from list as a left outer join contac_stat as b on b.kikoan_id = '" & kikoan_id & "' and a.contac_stat = b.contac_stat " if login_type = "컨택" or login_type = "관리자" then query = query & "where a.kikoan_id = '" & kikoan_id & "' " & _ "and a.list_id = '" & list_id & "' and (a.chasu_use_chk = 'yes') " else res_name = trim(request("res_name")) res_tel1 = trim(request("res_tel1")) res_tel2 = trim(request("res_tel2")) query = query & "where " tmp_query = "" if res_name <> "" then tmp_query = "name = '" & res_name & "' " end if if res_tel1 <> "" then if tmp_query = "" then tmp_query = "tel1 = '" & res_tel1 & "' " else tmp_query = tmp_query & " or tel1 = '" & res_tel1 & "' " end if end if if res_tel2 <> "" then if tmp_query = "" then tmp_query = "tel2 = '" & res_tel2 & "' " else tmp_query = tmp_query & " or tel2 = '" & res_tel2 & "' " end if end if if res_tel3 <> "" then if tmp_query = "" then tmp_query = "tel3 = '" & res_tel3 & "' " else tmp_query = tmp_query & " or tel3 = '" & res_tel3 & "' " end if end if if res_tel4 <> "" then if tmp_query = "" then tmp_query = "tel4 = '" & res_tel4 & "' " else tmp_query = tmp_query & " or tel4 = '" & res_tel4 & "' " end if end if query = query & tmp_query end if ' response.write query ' response.write "
" & kikoan_id & ".." adors.open query, adoconn, 1 ' Response.Write query '%> KRC - 컨택
로그인 아이디 로그인 유형 로그인 지역
자리번호 내선번호 발신번호
<%=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%> (contact_search_ok.asp) <%end if%>
<% If adors.recordcount > 0 Then %> <% do while not adors.eof cnt = cnt + 1 %> <% adors.movenext Loop Else %> <% End if %>
선택 기관명 컨택지역 LIST ID 차수 분류 1 분류 2 분류 3 분류 4 분류 5 분류 6 분류 7 쿼터 지역 회사명 이름 주소 컨택결과 기타 1
<%=adors("kikoan_name")%> <%=adors("contac_area")%> <%=adors("list_id")%> <%=adors("chasu")%> <%=adors("categori_label01")%> <%=adors("categori_label02")%> <%=adors("categori_label03")%> <%=adors("categori_label04")%> <%=adors("categori_label05")%> <%=adors("categori_label06")%> <%=adors("categori_label07")%> <%=adors("quota_area")%> <%=adors("comp_name")%> <%=adors("name")%> <%=adors("comp_addr")%> <%=adors("contac_stat_label")%> <%=adors("etc1")%>
해당되는 리스트가 존재하지 않습니다.