|
|
|
| |
| 项目单位经费管理信息数据库 |
| |
<%
user_name=trim(request.form("user_name"))
user_password=trim(request.form("user_pwd"))
if user_name="" or user_password="" then
NiceError "管理用户名和密码不能为空!返回"
elseif (instr(1,user_name,"'",1)>0 or instr(1,user_password,"'",1)>0 or instr(1,user_name,"=",1)>0 or instr(1,user_password,"=",1)>0 or instr(1,user_name,"<",1)>0 or instr(1,user_password,"<",1)>0 or instr(1,user_name,">",1)>0 or instr(1,user_password,">",1)>0) then
NiceError "操作出错,请重新登录!返回"
else
sql ="select * from viplist where vip_name='"& user_name &"'"
openrs rs,sql,2,2
If rs.EOF Or rs.BOF Then
NiceError "用户名或密码错误,请重新登录!返回"
elseif rs("vip_pwd")<>user_password then
NiceError "用户名或密码错误,请重新登录!返回"
else
session("gapuser")=1
session("chkuser")= user_name
end if
rs.close
set rs=nothing
set conn=nothing
if user_name="河南" then
response.redirect "f_henan.asp"
end if
if user_name="宁夏" then
response.redirect "f_ningxia.asp"
end if
if user_name="新疆" then
response.redirect "f_xinjiang.asp"
end if
if user_name="山东" then
response.redirect "f_shandong.asp"
end if
if user_name="北京" then
response.redirect "f_beijing.asp"
end if
if user_name="黑龙江" then
response.redirect "f_heilongjiang.asp"
end if
if user_name="内蒙古" then
response.redirect "f_neimenggu.asp"
end if
if user_name="青海" then
response.redirect "f_henan.asp"
end if
if user_name="西藏" then
response.redirect "f_xizang.asp"
end if
if user_name="贵州" then
response.redirect "f_guizhou.asp"
end if
if user_name="广东" then
response.redirect "f_guangdong.asp"
end if
if user_name="广西" then
response.redirect "f_guangxi.asp"
end if
if user_name="云南" then
response.redirect "f_yunnan.asp"
end if
if user_name="安徽" then
response.redirect "f_anhui.asp"
end if
if user_name="江苏" then
response.redirect "f_jiangsu.asp"
end if
if user_name="国际合作项目管理办公室" then
response.redirect "f_guoheban.asp"
end if
if user_name="咨询与检测" then
response.redirect "f_zixun.asp"
end if
if user_name="参比实验室" then
response.redirect "f_canbi.asp"
end if
if user_name="健康教育与行为干预室" then
response.redirect "f_ganyu.asp"
end if
if user_name="治疗关怀室" then
response.redirect "f_zhiliao.asp"
end if
if user_name="流行病室" then
response.redirect "f_liubing.asp"
end if
if user_name="全球基金" then
response.redirect "f_quanqiu.asp"
end if
if user_name="GAP省级项目管理培训班" then
response.redirect "f_gappeixun.asp"
end if
if user_name="综合示范区" then
response.redirect "f_shifanqu.asp"
end if
if user_name="全球基金6" then
response.redirect "f_quanqiu6.asp"
end if
if user_name="NCAIDS" then
response.redirect "f_ncaids.asp"
end if
end if
%>
|
|
|
|