📄 default.asp
字号:
<!--#include file="asp/sqlstr.asp"-->
<!--#include file="asp/opendb.asp"-->
<%
'登录
username=request("username")
password=request("password")
if username<>"" and password<>"" then
'打开数据库查找是否有此用户
set conn=opendb("oabusy","conn","accessdsn")
set rs=server.createobject("adodb.recordset")
sql="select * from userinf where username=" & sqlstr(username) & " and password=" & sqlstr(password) & " and forbid='no'"
rs.open sql,conn,1
'如果有此用户就进入系统
if not rs.eof and not rs.bof then
response.cookies("oabusyname")=rs("name")
response.cookies("oabusyusername")=rs("username")
response.cookies("oabusyuserdept")=rs("userdept")
response.cookies("oabusyuserlevel")=rs("userlevel")
response.cookies("cook_allow_see_all_workrep")=rs("allow_see_all_workrep")
response.cookies("cook_allow_see_dept_workrep")=rs("allow_see_dept_workrep")
response.cookies("cook_allow_control_dept_user")=rs("allow_control_dept_user")
response.cookies("cook_allow_control_all_user")=rs("allow_control_all_user")
response.cookies("cook_allow_send_note")=rs("allow_send_note")
response.cookies("cook_allow_control_note")=rs("allow_control_note")
response.cookies("cook_allow_control_file")=rs("allow_control_file")
response.cookies("cook_allow_control_level")=rs("allow_control_level")
'response.cookies("cook_allow_see_all_personinf")=rs("allow_see_all_personinf")
'response.cookies("cook_allow_see_dept_personinf")=rs("allow_see_dept_personinf")
'response.cookies("cook_allow_edit_all_jobchanginf")=rs("allow_edit_all_jobchanginf")
'response.cookies("cook_allow_edit_dept_jobchanginf")=rs("allow_edit_dept_jobchanginf")
'response.cookies("cook_allow_edit_all_rewpuninf")=rs("allow_edit_all_rewpuninf")
'response.cookies("cook_allow_edit_dept_rewpuninf")=rs("allow_edit_dept_rewpuninf")
'response.cookies("cook_allow_edit_all_checkinf")=rs("allow_edit_all_checkinf")
'response.cookies("cook_allow_edit_dept_checkin")=rs("allow_edit_dept_checkinf")
response.redirect "gensystem.asp"
end if
end if
%>
<html>
<head>
<TITLE>代理管理系统</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<STYLE type=text/css>.pt9 {
FONT-SIZE: 9pt; FONT-FAMILY: "宋体"; TEXT-DECORATION: none
}
.yk9 {
FONT: 9pt "宋体"; TEXT-DECORATION: none
}
BODY {
FONT: 9pt "宋体"; TEXT-DECORATION: none
}
A {
FONT: 9pt "宋体"; TEXT-DECORATION: none
}
TD {
FONT: 9pt "宋体"; TEXT-DECORATION: none
}
A:hover {
FONT: 9pt "宋体"; COLOR: #ff0000; TEXT-DECORATION: underline
}
.wang { line-height: 21px}
</STYLE>
</HEAD>
<BODY text="#000000" link="#000000" vlink="#666666" alink="#000000" topmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="1" background="../image/bj4.gif">
<tr>
<td bgcolor="#808080"> </td>
</tr>
</table>
<p align="center"><b><font color="#808080" size="5"><i>代 理 商 管 理 系
统</i></font></b></p>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="87" bgcolor="#FFFFFF">
<tr>
<td bgcolor="#FFFFFF" width="36%" valign="top" height="87"><form method=post action="default.asp">
<table width="98%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td width="42%" height="18" align="right"><font color="#808080">代理名:</font> </td>
<td width="39%" height="18">
<font color="#808080">
<input type=text name=username size=10>
</font>
</td>
</tr>
<tr>
<td width="42%" height="13" align="right"><font color="#808080">密
码:</font> </td>
<td width="39%" height="13">
<font color="#808080">
<input type=password name=password size=10>
</font>
</td>
</tr>
<tr>
<td width="81%" height="7" align="left" colspan="2">
<p align="center"><font color="#808080"><input type="submit" value="提交" name="submit">
<input type="reset" value="重写" name="B2"></font> </td>
</tr>
<tr>
<td width="81%" height="14" align="right" colspan="2">
<p align="center"><a href="../jiameng.asp"><font color="#808080">申请代理</font></a> </td>
</tr>
<tr>
<td width="81%" height="47" align="right" colspan="2">
<div align="center">
<center>
<table border="0" cellpadding="2" cellspacing="0" width="100%" bordercolor="#000000" bordercolordark="#FFFFFF">
<tr>
<td width="100%"><font color="#808080">说明:<br>
欢迎使用代理系统。<br>
当您申请了代理,并经过我们的管理员确认以后。我们的管理员将为您开通本系统的帐号和密码。同时将他发送到您的邮箱。<br>
由于考虑到代理商的合法利益和安全,我们将密码招回功能删除了。您如果忘记了您的密码,请给我们写信索取。E-mail
: </font><a href="mailto:ciguan@21cn.com"><font color="#FF0000">ciguan@21cn.com</font></a></td>
</tr>
</table>
</center>
</div>
</td>
</tr>
</table> </form>
</td>
<td bgcolor="#FFFFFF" width="38%" valign="top" height="87" background="image/b.jpg">
</td>
</tr>
</table>
<p align="center"> </p>
<hr>
<table cellSpacing="0" cellPadding="0" width="775" align="center" border="0" height="64">
<tr>
<td align="middle" height="34" width="771" colspan="2">
<p align="center"> <a href="../about.htm"><font color="#808080">关于我们</font></a><font color="#808080">
| <a href="../daili.htm"></a></font><a href="../daili.htm"><font color="#808080">代理商列表</font></a>
<font color="#808080">| <a href="../me.htm"></a></font><a href="../me.htm"><font color="#808080">联系我们</font></a>
<font color="#808080">|</font> <a href="../job.htm"><font color="#808080">诚聘英才</font></a><font color="#808080">│</font><a href="../website.htm"><font color="#808080">网站地图</font></a><font color="#808080">│</font><a href="../cooperation.htm"><font color="#808080">合作伙伴</font></a><font color="#808080">
</font> </td>
</tr>
<tr>
<td class="bottom" align="middle" height="1" width="773" colspan="2">
<p align="center"><font color="#666666">Copyright 2002 互联主机(www.9494.net)
电话:<br>
地址:四川省成都市花牌坊街西林巷16号 邮编:610031<br>
E-mail:</font><a href="mailto:ciguan@21cn.com"><font color="#808080">ciguan@21cn.com</font></a></p>
</td>
</tr>
</table>
<p align="center"> </p>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -