|
|
|
|
|
|
|
|
|
< %
duty1=request("jobs")
if duty1="" then
duty1=cint(request.querystring("jobs"))
'if(duty1<>"0" and InStr(duty1,",")>0) then
' duty1 = cint(request.querystring("position1"))
'else
' duty1 = cint(duty1)
'end if
end if
'response.write(duty1)
'response.end
select case duty1
case 9
xxDuty = " and duty in(9,22,23,24,25,26,27,28)"
case 1
xxDuty = " and duty in(1,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43)"
case 2
xxDuty = " and duty in(2,4,51,52,53,54,55,56,57,58,59)"
case 3
xxDuty = " and duty in(3,20,60,61,62,63,64,65,66,67,68,69,70,71,72)"
case 7
xxDuty = " and duty in(7,8,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92)"
case 5
xxDuty = " and duty in(5,118,93,94,95,96,97)"
case 11
xxDuty = " and duty in(11,98,99,100,101,102,103,104,105)"
case 15
xxDuty = " and duty in(15,106,107,108,109,110,111)"
case 12
xxDuty = " and duty in(12,10,112,113,114,116,117)"
case 6
xxDuty = " and duty in(6,119,120,121,122,123,124)"
case 16
xxDuty = " and duty in(16,115,125)"
case 13
xxDuty = " and duty in(13)"
case 17
xxDuty = " and duty in(17,44,45,46,47,48,49,50)"
end select
workplace1=request("workplace")
if workplace1="" then
workplace1=cint(request.querystring("workplace"))
end if
hopesalary1 = request("hopesalary")
if hopesalary1 ="" then
hopesalary1 =cint(request.querystring("hopesalary"))
end if
city1=request("city")
if city1 = "" then
city1=request.querystring("city")
end if
expire1=request("expire")
if expire1="" then
expire1=cint(request.querystring("expire"))
end if
rctype1 = request("rctype")
if rctype1 ="" then
rctype1 =cint(request.querystring("rctype"))
end if
worktime1=request("worktime")
if worktime1 = "" then
worktime1 = request.querystring("worktime")
end if
sex1=request("sex")
if sex1="" then
sex1=cint(request.querystring("sex"))
end if
education1=request("education")
if education1="" then
education1=cint(request.querystring("education"))
end if
truename1=request("truename")
searchsql=" "
if duty1<>0 and duty1<>14 and xxDuty="" then
searchsql=searchsql&" and duty="&duty1
else
searchsql=searchsql & xxDuty
end if
if (workplace1<>0 and workplace1<>32) then
searchsql=searchsql&" and workplace="&workplace1
end if
if (city1 <> "01" and city1 <> "0") then
rem searchsql=searchsql&" and city ="&city1
end if
if rctype1 <>"" then
if rctype1=1 then searchsql=searchsql&" and hopesalary<6 or worktime not in ('5��8��','8��10��','10������')"
if rctype1=2 then searchsql=searchsql&" and hopesalary>=6 or worktime in ('5��8��','8��10��','10������')"
end if
if hopesalary1 <>0 then
searchsql=searchsql&" and hopesalary="&hopesalary1
end if
if (expire1<>0 and expire1<>1) then
searchsql=searchsql&" and datediff(day,indate,getdate())<="&expire1
end if
if (education1<>0 and education1<>10) then
searchsql=searchsql&" and education="&education1
end if
if sex1<>0 then
searchsql=searchsql&" and sex="&sex1
end if
if truename1<>"" then
searchsql=searchsql&" and truename like '%" & truename1 & "%'"
end if
if worktime1 <> "" then
searchsql=searchsql&" and worktime = '" & worktime1 & "'"
end if
PageNum = 26
RowNum = PageNum
i=0
SubjectId = Request.QueryString ("SubjectId")
outStr = ""
sql = "SELECT distinct top 1000 pbid,max(id),max(truename),max(duty),max(education),max(workplace),max(indate),max(sex),max(worktime),max(hopesalary),max(email) from personalview where newflag<>0 "&searchsql&" and jlstatus=1 and status=1 and duty<127 group by pbid ORDER BY max(inDate) DESC"
'response.write(sql)
'response.end
set rs = server.CreateObject ("adodb.recordset")
rs.CursorType = 3
rs.Open sql,conn
dim dutyname,eduname,proname
set rs = PageOn(rs,PageNum)
if not rs.EOF then
while not rs.EOF and RowNum>0
Id = rs(1)
truename = rs(2)
duty = rs(3)
education = rs(4)
workplace = rs(5)
Indate = GetDateFormat(rs(6),2)
sex = rs(7)
worktime= rs(8)
hopesalary = rs(9)
mto= rs(10)
if hopesalary=0 then hopename="���h"
if hopesalary=1 then hopename="���h"
if hopesalary=2 then hopename="2�f����"
if hopesalary=3 then hopename="2-5�f"
if hopesalary=4 then hopename="5-8�f"
if hopesalary=5 then hopename="8-15�f"
if hopesalary=6 then hopename="15-30�f"
if hopesalary=7 then hopename="30�f����"
if sex=1 then sex="��" else sex="Ů" end if
if duty=0 then dutyname="����"
if duty=1 then dutyname="���b�OӋ"
if duty=2 then dutyname="���b���g(sh��)"
if duty=3 then dutyname="���b���a(ch��n)"
if duty=4 then dutyname="CAD/CAM"
if duty=5 then dutyname="���Q(m��o)�"
if duty=6 then dutyname="���ڷ���"
if duty=7 then dutyname="�Ј��I�N"
if duty=8 then dutyname="��ُ��T"
if duty=9 then dutyname="��(j��ng)�I����"
if duty=10 then dutyname="���b�"
if duty=11 then dutyname="��������"
if duty=12 then dutyname="�����"
if duty=13 then dutyname="������λ"
if duty=14 then dutyname="������λ"
if duty=15 then dutyname="ؔ�Օ�Ӌ"
if duty=16 then dutyname="Ӌ��C�ˆT"
if duty=17 then dutyname="�����OӋ"
if duty=22 then dutyname="����(j��ng)��"
if duty=23 then dutyname="������(j��ng)��"
if duty=24 then dutyname="�I�\��(j��ng)��"
if duty=25 then dutyname="��(j��ng)��"
if duty=26 then dutyname="�Ŀ��(j��ng)��"
if duty=27 then dutyname="��I(y��)����"
if duty=28 then dutyname="��(j��ng)������"
if duty=29 then dutyname="�OӋ���O(ji��n)"
if duty=30 then dutyname="��ϯ�OӋ��"
if duty=31 then dutyname="�OӋ����"
if duty=32 then dutyname="Ů�b�OӋ��"
if duty=33 then dutyname="���b�OӋ��"
if duty=34 then dutyname="ͯ�b�OӋ��"
if duty=35 then dutyname="��(n��i)��/�����OӋ��"
if duty=36 then dutyname="Ӿ�b�OӋ"
if duty=37 then dutyname="���e���OӋ��"
if duty=38 then dutyname="�Ҿӷ��OӋ��"
if duty=39 then dutyname="ţ�з��OӋ"
if duty=40 then dutyname="ë���OӋ��"
if duty=41 then dutyname="Ƥ��/��Ƥ�OӋ��"
if duty=42 then dutyname="�Y��/�鼆�OӋ��"
if duty=43 then dutyname="�\�ӷ��OӋ"
if duty=44 then dutyname="����OӋ��"
if duty=45 then dutyname="�����OӋ��"
if duty=46 then dutyname="ƽ���OӋ��"
if duty=47 then dutyname="�W(w��ng)վ�OӋ��"
if duty=48 then dutyname="�D���OӋ��"
if duty=49 then dutyname="���Ʒ�OӋ��"
if duty=50 then dutyname="�ִ��OӋ��"
if duty=51 then dutyname="���g(sh��)���O(ji��n)"
if duty=52 then dutyname="���g(sh��)������"
if duty=53 then dutyname="�巿����"
if duty=54 then dutyname="�ư掟"
if duty=55 then dutyname="�Ӱ原"
if duty=56 then dutyname="���¹�ˇ��"
if duty=57 then dutyname="���g(sh��)�c�؛����"
if duty=58 then dutyname="�ƙn/�Ŵa����"
if duty=59 then dutyname="������T"
if duty=60 then dutyname="���a(ch��n)�S�L"
if duty=61 then dutyname="���a(ch��n)���O(ji��n)"
if duty=62 then dutyname="���a(ch��n)����(j��ng)��"
if duty=63 then dutyname="܇�g����"
if duty=64 then dutyname="���b������"
if duty=65 then dutyname="Ʒ�ؽ�(j��ng)��"
if duty=66 then dutyname="����"
if duty=67 then dutyname="�ü�/늼�"
if duty=68 then dutyname="܇λ��"
if duty=69 then dutyname="��/�C"
if duty=70 then dutyname="���C��"
if duty=71 then dutyname="�C��"
if duty=72 then dutyname="�|(zh��)�z�ˆT"
if duty=73 then dutyname="�Ј��I�N���O(ji��n)"
if duty=74 then dutyname="�a(ch��n)Ʒ���O(ji��n)"
if duty=75 then dutyname="�I�N���O(ji��n)"
if duty=76 then dutyname="�Ј���չ��(j��ng)��"
if duty=77 then dutyname="�^(q��)��(j��ng)��"
if duty=78 then dutyname="�N�۴���"
if duty=79 then dutyname="Ʒ�ƽ�(j��ng)��"
if duty=80 then dutyname="���˲���(j��ng)��"
if duty=81 then dutyname="��(j��ng)��"
if duty=82 then dutyname="��䁲߄�"
if duty=83 then dutyname="�Ј�����"
if duty=84 then dutyname="���u����L"
if duty=85 then dutyname="��Ӗ�v��"
if duty=86 then dutyname="�Ј����T"
if duty=87 then dutyname="�y(t��ng)Ӌ�T"
if duty=88 then dutyname="��(sh��)��(j��)�����T"
if duty=89 then dutyname="��Ϣ�ˆT"
if duty=90 then dutyname="�I(y��)�ս�(j��ng)��"
if duty=91 then dutyname="�I(y��)�ՆT"
if duty=92 then dutyname="���ΆT"
if duty=93 then dutyname="���Q(m��o)�I(y��)�ՆT"
if duty=94 then dutyname="���Q(m��o)����"
if duty=95 then dutyname="���C�T"
if duty=96 then dutyname="���C����"
if duty=97 then dutyname="���g"
if duty=98 then dutyname="�����YԴ����(j��ng)��"
if duty=99 then dutyname="������(j��ng)��"
if duty=100 then dutyname="��Ӗ�v��"
if duty=101 then dutyname="�����ĆT"
if duty=102 then dutyname="��������"
if duty=103 then dutyname="�ͷ���(j��ng)��"
if duty=104 then dutyname="�ͷ�����"
if duty=105 then dutyname="���P(gu��n)�ˆT"
if duty=106 then dutyname="ؔ�տ��O(ji��n)"
if duty=107 then dutyname="ؔ�ս�(j��ng)��/����"
if duty=108 then dutyname="��Ӌ��(j��ng)��"
if duty=109 then dutyname="��Ӌ"
if duty=110 then dutyname="���{"
if duty=111 then dutyname="�y(t��ng)Ӌ"
if duty=112 then dutyname="����(j��ng)���ؕ�"
if duty=113 then dutyname="�ؕ�"
if duty=114 then dutyname="�ĆT"
if duty=116 then dutyname="�ĆT��ԇ��ģ��"
if duty=117 then dutyname="ǰ�_�ĆT"
if duty=118 then dutyname="���Q(m��o)�I(y��)�ս�(j��ng)��"
if duty=119 then dutyname="��ُ����"
if duty=120 then dutyname="�}������ˆT"
if duty=121 then dutyname="�������T"
if duty=122 then dutyname="�����ˆT"
if duty=123 then dutyname="�n������T"
if duty=124 then dutyname="����"
if duty=125 then dutyname="Ӌ��C�S�o�ˆT"
if duty=115 then dutyname="�W(w��ng)վ�OӋ/����̄�"
if education=0 then eduname="����"
if education=1 then eduname="����"
if education=2 then eduname="��У"
if education=3 then eduname="����"
if education=4 then eduname="�Ќ�"
if education=5 then eduname="��"
if education=6 then eduname="����"
if education=7 then eduname="�p�Wʿ"
if education=8 then eduname="�Tʿ"
if education=9 then eduname="��ʿ"
if education=10 then eduname="����"
if workplace=0 then proname="����"
if workplace=1 then proname="����"
if workplace=2 then proname="����"
if workplace=3 then proname="����"
if workplace=4 then proname="���C"
if workplace=5 then proname="�V�|"
if workplace=6 then proname="�V��"
if workplace=7 then proname="�F��"
if workplace=8 then proname="����"
if workplace=9 then proname="�ӱ�"
if workplace=10 then proname="����"
if workplace=11 then proname="������"
if workplace=12 then proname="����"
if workplace=13 then proname="����"
if workplace=14 then proname="����"
if workplace=15 then proname="���K"
if workplace=16 then proname="����"
if workplace=17 then proname="�|��"
if workplace=18 then proname="��(n��i)�ɹ�"
if workplace=19 then proname="����"
if workplace=20 then proname="�ຣ"
if workplace=21 then proname="ɽ�|"
if workplace=22 then proname="ɽ��"
if workplace=23 then proname="���"
if workplace=24 then proname="�Ϻ�"
if workplace=25 then proname="�Ĵ�"
if workplace=26 then proname="���"
if workplace=27 then proname="�½�"
if workplace=28 then proname="����"
if workplace=29 then proname="����"
if workplace=30 then proname="�㽭"
if workplace=31 then proname="�ؑc"
if ((i mod 2)=0) then
outStr = outStr & "" & truename & " | " & sex & " | " & dutyname & " | " & worktime & " | " & eduname & " | " & proname & " | "& indate &" | "
else
outStr = outStr & "" & truename & " | " & sex & " | " & dutyname & " | " & worktime & " | " & eduname & " | " & proname & " | "& indate &" | "
end if
rs.MoveNext
RowNum = RowNum - 1
i = i + 1
wend
else
outStr = "
��Ǹ��Ŀǰ�]�НM��l����ӛ䛡� Ո���Ō������l������ԇԇ��
| "
end if
Response.Write (outStr)
Response.Write ("")
ViewPageOn rs,PageNum,15,"hr.asp?SubjectId="&SubjectId&"&rctype="&rctype1&"&jobs="&duty1&"&workplace="&workplace1&"&education="&education1&"&expire="&expire1&"&sex="&sex1&"&truename="&truename1&"&worktime="&worktime1&"&hopesalary="&hopesalary1
Response.Write (" | ")
rs.Close()
conn.close()
% >
|
|
|
|
|