摘 要
网络应用已经渗透到人类社会的各个角落。作为网络世界支撑点的网站,更
是人们关注的热点:企业利用网站宣传自己的形象,挖掘无限商机;个人利用网
站展示个性风采,创建彼此沟通的桥梁。
由于用户的需求,各类网站应运而生。其中求职招聘网站通过对人事信息的
整合,为社会提供权威、快捷、便利的网上政务服务;通过对人才信息资源的全
方位整合,建立人才信息的中央数据库,为各类人才交流机构提供资源共享、利
益分享的公平机会,促进各类人才网站的有序竞争和共同发展;为各类企事业单
位和个人提供高效便利的信息服务。
本文通过介绍求职招聘网站的好处、现况、总体格局、发展趋势说明求职招
聘网站在当今社会中,对人们的生活起到重要的作用。描述了求职招聘网站的设
计思想及其开发过程。文中小型求职招聘网站能完成单位招聘、个人求职、在线
洽谈、猎头服务等功能。
关键字:网站 ;求职招聘 ;ASP ;Dreamweaver
Internet is applied in every corner of our modern society. Internet, as the supporting point of the world’s net, is regarded as the hot point.
Companies use it as their appearance to improve the unlimited business
chances. The individual uses it to show their personality and to build
a bridge of understanding.
Because of the needs of the users, all kinds of web sites become more and more. Among them the one looking for jobs supplies the most powerful.
rapid, convinent service through personal information. It also provide
the egual chance of information and benefits which can be shawed for all
kinds of exchange of people through the combination of all the information
of person and setting up the central data company of personal information.
It can improve the ordered competition and common development for all
kinds of web sites. It also supply the valid information service for all
kinds of institutions awe.
This paper introduces the advantages of web sites for jobs and its general pattern and its development. It descrbes its importances to our
life in the modern society. It also shows the mind of design and its process
of develop of the job web site. In the thesis, it tell as the small web
sites will complete the unit application for jobs and personal application
of jobs, talking on line and huning service.
web site ;application of jobs ;ASP ;Dreamweaver
目 录
第一章 引言1
第二章 网站
才能进行注册
reg_gr.asp
reg_gr.asp注册页面,并录入数据库相关代码如下:
dim cnn,rst,sSQL
set cnn=Server.createobject("ADODB.Connection")
set rst=Server.createobject("ADODB.recordset")
cnn.connectionstring="PROVIDER=SQLOLEDB;DATA
SOURCE=1A1A63905A334A2;uid=sa;pwd=liangjuan;database=myweb"
cnn open
sSQL="select * from geren_user where username='"&username&"'"
set rst=cnn.execute (sSQL,,adcmdtext)
if not rst.eof then
会员登录后的管理主页面:
制作步骤:
1. 会员成功登陆后,需要查看登陆的用户名等于会员表中的会员字段里的
哪个会员名,从而准备或取正确的会员资料,判断方法如下:
SELECT *
FROM dbo.users
WHERE name = Session("MM_Username")
2.获取对应会员名的资料后,建立记录集: Set ziliao = Server.CreateObject("ADODB.Recordset")
将会员的资料绑定到相应的表单元素中。如: " />
3.成功显示会员资料后,要对会员资料进行修改,将修改后的表单元素中的
值更新到数据表中的相应列。
4.会员可以修改自己的密码及注销。修改密码代码如: If (CStr(Request("MM_update")) = "form1" And CStr(Request("MM_recordId"))
<> "") Then
MM_editConnection = MM_conn_STRING
MM_editTable = "dbo.geren_user"
MM_editColumn = "pwd"
MM_recordId = "'" + Request.Form("MM_recordId") + "'"
MM_editRedirectUrl = "gr_pwdxg_cg.asp"
MM_fieldsStr = "pwd1|value"
MM_columnsStr = "pwd|',none,''"
图片如右:
4.4
企业用户注册后可以对企业信息进行添加、修改、发布、密码修改、用
户注销。
制作步骤:
1. 进入免费注册页面,用户需同意协议才能注册,否则退出。
2. 企业用户注册基本信息,并录入数据库进行登录。
相关代码如下:
dim cnn,rst,sSQL
set cnn=Server.createobject("ADODB.Connection")
set rst=Server.createobject("ADODB.recordset")
cnn.connectionstring="PROVIDER=SQLOLEDB;DATA
SOURCE=1A1A63905A334A2;uid=sa;pwd=liangjuan;database=myweb"
cnn open
sSQL="select * from qiye_user where name='"&name&"'"
set rst=cnn.execute (sSQL,,adcmdtext)
if not rst.eof then
3. 进入管理界面
可以对用户的信息进行增、改、删,以及密码修改。
记录集代码如下:
Dim Recordset1
Dim Recordset1_numRows
Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_conn_STRING
Recordset1.Source = "SELECT * FROM dbo.qiye_user ORDER BY id ASC"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1.Open()
Recordset1_numRows = 0
4.5
4.5.1
管理员主要管理、处理网站后台信息。后台页面
对于后台系统的结构布局,如果采用表格布局,也是一件很不可取的事情。
我们讲究的是效率,用最好的方法达到最优的效果。现在大多数网站后台都采用
框架来进行布局,这样做的好处就是效率高、美观。
本后台框架集如下图所示:
其中:
框架top的源文件是:top.asp
框架left的源文件是:left.asp
框架main的源文件是:main.asp 框架集代码如下:
后台系统主要包括六大模块:网站管理员模块、个人用户管理模块、企业用
户管理模块、公告管理模块、文章管理模块。
4.5.2个人用户管理模块
实现步骤:
1.请求会员数据表的记录集:
Set user = Server.CreateObject("ADODB.Recordset")
user.Source = "SELECT * FROM dbo.geren_user ORDER BY id ASC"
2.绑定数据表中的字段到相应单元格中,如:
<%=(user.Fields.Item("name").Value)%>
动态图片:" width="82"
height="79">
3.设置重复区域,并且添加翻页导航。
4.制作详细显示页和删除会员页。传递的参数值都是会员ID:
<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) &
"id=" & user.Fields.Item("id").Value %>
5.删除记录:DELETE FROM dbo.geren_user WHERE
id=Request.Querystring("id")
6.添加会员:制作好表单元素后插入对应数据表。
4.5.3 企业用户管理模块
实现步骤:
1. 请求会员数据表的记录集:
Set user = Server.CreateObject("ADODB.Recordset")
user.Source = "SELECT * FROM dbo.qiye_user ORDER BY id ASC"
2. 绑定数据表中的字段到相应单元格中,如:
<%=(user.Fields.Item("name").Value)%>
3. 设置重复区域,并且添加翻页导航。 4. 制作详细显示页和删除会员页。传递的参数值都是会员ID:
<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) &
"id=" & user.Fields.Item("id").Value %>
5.删除记录:DELETE FROM dbo.qiye_user WHERE
id=Request.Querystring("id")
6.添加会员:制作好表单元素后插入对应数据表。
4.5.4 公告管理模块
1. 请求公告数据表的记录集:
Set user = Server.CreateObject("ADODB.Recordset")
user.Source = "SELECT * FROM dbo.gongao ORDER BY id ASC"
2.绑定数据表中的字段到相应单元格中,如:
<%=(user.Fields.Item("name").Value)%>
设置重复区域,并且添加翻页导航。
4. 制作详细显示页和删除公告页。传递的参数值都是会员ID:
<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) &
"id=" & user.Fields.Item("id").Value %>
5.删除记录:DELETE FROM dbo.gonggao WHERE
id=Request.Querystring("id")
6.添加公告内容:制作好表单元素后插入对应数据表。
4.5.5 文章管理模块
1. 请求文章数据表的记录集:
Set user = Server.CreateObject("ADODB.Recordset")
user.Source = "SELECT * FROM dbo.wenzhang ORDER BY id ASC"
2.绑定数据表中的字段到相应单元格中,如: