免费获取|
论文天下网
  • 论文天下网 |
  • 原创毕业论文 |
  • 论文范文 |
  • 论文下载 |
  • 计算机论文 |
  • 论文降重 |
  • 毕业论文 |
  • 外文翻译 |
  • 免费论文 |
  • 开题报告 |
  • 心得体会 |

当前位置:论文天下网 -> 免费论文 -> 计算机论文

asp信息查询系统(四)

理员名称和密码均为admin

页面中需要用户填写的HTML表单元素。
  该页面中仅有两个表单元素,如表所示
名称 表单元素类型 含义 最大长度 
username text 管理员名称 25 
password password 管理员密码 25 
2.页面所涉及的数据库表信息
  此页仅向系统提交管理员用户名称和密码,并没有涉及到数据库表的操作。
页面代码分析
5.1.2 帐号验证页
1.Chklogin.asp此页为验证名称和密码的页面,无页面效果
2.页面中需要用户填写的HTML表单元素。
3.页面所涉及的数据库表信息
   管理员名称和密码存在文件中,并没有涉及到数据库表的操作。
页面代码分析

<%
dim sql
dim rs
dim seekerrs
dim founduser
dim username
dim companyid
dim password
dim errmsg
dim founderr
founderr=false
FoundUser=false
username=request.form("username")
password=request.Form("password")
if username="" then
   response.redirect "index.asp"
end if
if password="" then
     response.redirect "index.asp"
end if

 if username="admin" and password="admin" then
   response.cookies("adminok")=true
   response.redirect "manage.asp"
 else
     response.redirect "index.asp"
 end if
%> 

5.1.3管理后台页
Manage.asp页面示例
图为管理员登陆录成功后所看到的页面效果。


页面中需要用户添写HTML的表单元素
 此页面无需填写HTML表单元素
页面所涉及的数据库表信息
此页使用了系统中的信息记录表learning.
4.页面代码分析
<%
if request.cookies("adminok")="" then
  response.redirect "login.asp"
end if
%>
<!--#include file="articleconn.asp"-->
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>管理文件</title>
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<link rel="stylesheet" href="css/article.css">
</head>
<%
   const MaxPerPage=20
   dim totalPut  
   dim CurrentPage
   dim TotalPages
   dim i,j

   if not isempty(request("page")) then
      currentPage=cint(request("page"))
   else
      currentPage=1
   end if
  
%>
<body bgcolor="#FFFFFF">
<p>&nbsp;</p>
<table width="700" border="1" cellspacing="0" cellpadding="0" align="center" bordercolorlight="#000000" bordercolordark="#FFFFFF">
  <tr bgcolor="#99CCFF">
    <td height="10" bgcolor="#3399cc">
      <div align="center"><b>管 理 界 面</b></div>
    </td>
  </tr>
  <tr>
    <td height="49"><%
dim sql
dim rs
sql="select * from learning order by articleid desc"
Set rs= Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
  if rs.eof and rs.bof then
       response.write "<p align='center'> 还 没 有 任 何 信 息</p>"
   else
   totalPut=rs.recordcount
      totalPut=rs.recordcount
      if currentpage<1 then
          currentpage=1
      end if
      if (currentpage-1)*MaxPerPage>totalput then
 &n

首页 上一页 1 2 3 4 5 6 7 下一页 尾页 4/17/17

相关论文
上一篇:ASP网络购物系统 下一篇:ASP家教信息管理系统
推荐论文 本专业最新论文
Tags:asp 信息 查询系统 【返回顶部】

相关栏目

自动化相关
计算机论文
工程管理论文
法律论文
医学论文
人力资源
电子专业
电气工程
英语论文
行政管理
电子商务
社科文学
教育论文
物流专业
金融专业
财务管理
会计专业
化学化工材料科学
电子通信
环境科学
经济类
机械模具类
报告,总结,申请书
其他专业论文


关于我们 | 联系方式 | 论文说明 | 网站地图 | 免费获取 | 钻石会员 | 原创毕业论文

 

论文天下网提供论文检测,论文降重,论文范文,论文排版,网站永久域名WWW.GEPUW.NET

本站部分文章来自网友投稿上传,如发现侵犯了您的版权,请联系指出,本站及时确认并删除  E-mail: 893628136@qq.com

Copyright@ 2009-2022 GEPUW.NET 论文天下网 版权所有