<%' Response.CharSet="utf-8" Response.codepage="65001" Response.ContentType="text/html;charset=utf-8" ''///============= ''1. sv가 로그인 후 해당 해당 컨택지역의 기관리스트를 보여 주기 ''2. 기관을 선택 후 컨택은 완료 된 상태이나 면접원이 배정 되지 않은 리스트를 보여주기 ''3. 리스트를 선택 후 면접원 배정 및 면접원에게 자동 sms 발송 ''4. 자료 다운로드 가능하게 dim i dim Query dim login_pwd dim login_name '로그인 아이디 dim login_area '로그인 지역 dim login_type '로그인 타입(관리자, sv,면접원, 컨택원 등) dim field_area dim login_id dim command dim myun_cnt command = request("command") login_id = trim(request("login_id")) login_name = trim(request("login_name")) login_area = trim(request("login_area")) login_type = trim(request("login_type")) kikoan_id = trim(request("kikoan_id")) kikoan_name = trim(request("kikoan_name")) ' Response.write "kikoan_id : " & kikoan_id & "
" ' Response.write "kikoan_name : " & kikoan_name & "
" if trim(request("opt")) = "0" then field_area = "" comp_area = "" elseif trim(request("opt")) = "1" then field_area = trim(request("field_area")) comp_area = "" else field_area = trim(request("field_area")) comp_area = trim(request("comp_area")) end if '///============================================== ''엑셀형식으로 자동으로 저장 if command = "excel" then ' Response.Buffer = false Response.CacheControl = "public" Response.ContentType = "application/vnd.ms-excel" Response.AddHeader "Content-Disposition","attachment;filename=" & kikoan_name & "_필드지역_" & field_area & "_주소지역_" & comp_area & "_" & replace(formatdatetime(date,2),"-","") & ".xls" end if '%> KRC - 컨택
<%if command <> "excel" then%> <%end if'''<%if command <> "excel" then%> <%if command <> "excel" then%> <%end if'<%if command <> "excel" then%>
<%if Request.ServerVariables("remote_addr") = "10.10.17.52" or Request.ServerVariables("remote_addr") = "1.235.195.52" then%> (listView.asp) <%end if%>
로그인 아이디 로그인 유형 로그인 지역
<%end if '<%if command <> "excel" then%> <%if kikoan_name <> "" then %> <%end if ''if kikoan_name <> "" and field_area <> "" %>
<%if command <> "excel" then%> <%if kikoan_name <> "" then%> <%end if''''if kikoan_name <> "" then%>
리스트 보기
<%=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%> (listView.asp) <%end if%>
기관(필드 지역=<%=login_area%>)
<%if command <> "excel" then%> <%end if''<%if command <> "excel" then%> <% query = "SELECT category_index, category_name " & _ "FROM category_code where kikoan_id = '" & kikoan_id & "' " & _ "GROUP BY category_index, category_name " adorsCategory.open query, adoconn, 1 dim category_index(7) dim category_name(7) dim category_cnt category_cnt = 1 do while not adorsCategory.eof category_index(category_cnt) = adorsCategory("category_index") category_name(category_cnt) = adorsCategory("category_name") category_cnt = category_cnt + 1 %> <% adorsCategory.movenext loop adorsCategory.close for i = 1 to category_cnt-1 %> <% next %> <% 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), '') as 'origin_category_01' " & _ ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 2 and category_code = A.categori_02), '') as 'origin_category_02' " & _ ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 3 and category_code = A.categori_03), '') as 'origin_category_03' " & _ ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 4 and category_code = A.categori_04), '') as 'origin_category_04' " & _ ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 5 and category_code = A.categori_05), '') as 'origin_category_05' " & _ ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 6 and category_code = A.categori_06), '') as 'origin_category_06' " & _ ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 7 and category_code = A.categori_07), '') as 'origin_category_07' " & _ ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 1 and category_code = A.add_item1), '') as 'change_category_01' " & _ ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 2 and category_code = A.add_item2), '') as 'change_category_02' " & _ ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 3 and category_code = A.add_item3), '') as 'change_category_03' " & _ ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 4 and category_code = A.add_item4), '') as 'change_category_04' " & _ ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 5 and category_code = A.add_item5), '') as 'change_category_05' " & _ ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 6 and category_code = A.add_item6), '') as 'change_category_06' " & _ ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 7 and category_code = A.add_item7), '') as 'change_category_07' " & _ ", C.contac_stat_label from list as A LEFT OUTER JOIN contac_stat as C ON A.contac_stat = C.contac_stat AND C.kikoan_id = '" & kikoan_id & "' " where_query = " where kikoan_name = '" & kikoan_name & "' "' & "and field_area = '" & login_area & "' " adors.open query & where_query & " order by A.id", adoconn, 1 'response.write query myun_cnt = 0 do while not adors.eof myun_cnt = myun_cnt + 1 %> <%if command <> "excel" then%> <%end if'''<%if command <> "excel" then%> <% for i = 1 to category_cnt-1 %> <% Next for i = 1 to category_cnt-1 %> <% next %> <%adors.movenext loop adors.close%>
선택리스트 id 쿼터 지역 회사명 직위 이름 전화 1 전화 2 주소 지역 리스트 주소 변경 주소 컨택원 컨택 일자 컨택 시각 전화 결과 인터뷰 예약날짜 인터뷰 장소 커택 기타사항<%=adorsCategory("category_name")%>변경 <%=category_name(i)%>
<%=adors("list_id")%> <%=adors("quota_area")%> <%=adors("comp_name")%> <%=adors("comp_posi")%> <%=adors("name")%> <%=adors("tel1")%> <%=adors("tel2")%> <%=adors("comp_area")%> <%=adors("comp_addr")%> <%=adors("comp_addr_new")%> <%=adors("contactor")%> <%=adors("contac_date")%> <%=adors("contac_time")%> <%=adors("contac_stat_label")%> <%=adors("interview_date")%> <%=adors("interview_area")%> <%=adors("contac_remark")%><%=adors("origin_category_0"&CStr(i))%><%=adors("change_category_0"&CStr(i))%>