




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、- 1 -网站信息发布与管理平台系统介绍网站信息发布与管理平台系统介绍(河北省城乡规划设计研究院 李在霖)一、概述:一、概述:如何方便、快捷的建设、管理我院网内的各职能部门、机构组织等的网站,是非常重要的。我院目前网站存在的问题:信息发布网页制作难度高工作量大需要专业的网页技术人员实施, 因而内容单调信息不能及时更新;改版困难,延续性不高;专业程度高,不易维护。为此以先进的 asp 技术为开发工具, 采用 sqlserver2000 数据库,充分利用该数据库的安全性和全文检索等优越的功能, 把专业的网站管理制作工作简单化,把网站建设流程化,保证了网站建设积累的延续性,保证了网站的安全性。网站信
2、息发布系统,是将网页上的某些需要经常变动的信息,类似新闻和业界动态等更新信息集中管理, 并通过信息的某些共性进行分类,最后系统化、标准化发布到网站上的一种网站应用程序。网站信息通过一个操作简单的界面加入数据库, 然后通过已有的网页模板格式与审核流程发布到网站上。二、主要功能二、主要功能1、文章管理:- 2 -(1) 栏目管理(可任意设置栏目名称、类别、选择栏目模版、设置管理员等等相关属性) (2)添加文章(可添加附件、选择相应模版等等)文章录入、文章编辑、一文多图、多媒体支持、自动分页、文章发布效果预览、插入表格、插入超链结、段落格式控制、字体和颜色控制、分页控制、高级搜索(3)管理我的文章。
3、栏目设置: 初始使用需要先设置网站栏目,点击栏目管理进入栏目设置管理,添加(总栏名)|(注释名) ,设置导航栏目与首页是否显示,选择栏目所需模板,并设置栏目的顺序(只能为数字) ,如果此栏目需要链接到其他网站,则在外部链接中填写网址;如果此栏目由专门管理员进行管理,则在管理员处填写栏目管理员的用户名称,有多个管理员时请用|分开。图 1:总栏设置窗口- 3 -图 2 添加文章窗口2、用户管理:(1)修改资料 (2)部门管理 (3) 普通用户 (4)添加用户用户分类:注册用户、小类管理员、大类管理员、总栏管理员、文章审核员、系统管理员,分别拥有不同的权限。在添加各种不同权限的管理员时, 首先在用户
4、管理中添加用户信息, 然后在超级管理员中添加一用户并且一定要对应之前你在用户管理中添加的用户名, 登录时首先用你所添加的超级管理员对应的前以发文用户的的信息登录,在用对应的超级管理员进行管理登录。- 4 -图 3:用户管理窗口3、言论管理:(1)留言管理 (2)评论管理 (3) 领导信箱 (4)建言献策。网站信息留言版系统是互联网上一种人与人之间交互的必备工具,特别是做网站必备, 网上网站信息留言版提供一个信息交流的空间,人们可以通过网站信息留言版一起讨论自己喜欢的话题,提出问题或者回答问题。 用户可以在网站信息留言版中发表对某个问题的看法阐述自己的观点,跟别人讨论对某个问题的看法,在 int
5、ernet 的发展中网站信息留言版的作用将是无法替代的。为防止留言簿恶意广告攻击,进行了漏洞修正包括 ip 过滤和留言验证码。4、其他管理:(1) 文章审核 (2) 文章检索 (3)专题管理 (4) 投票管理 (5)公告管理(6)友情链接 (7)广告管理 (8)备份压缩- 5 -三、实施效果三、实施效果网站信息发布与管理平台大大减轻了网站更新维护的工作量, 通过网络数据库的引用, 将网站的更新维护工作简化到只需录入文字和上传图片,从而使网站的更新速度大大缩短,也吸引了更多的长期用户群,时时保持网站的活动力和影响力。附录文章审核代码文章审核代码%ifnot(request.cookies(ech
6、uang)(managekey)=superorrequest.cookies(echuang)(managekey)=typemasterorrequest.cookies(echuang)(managekey)=bigmaster) thenshow_err(对不起,您的后台管理权限不够操作!)response.endelsepageshowsize = 10每页显示多少个页mypagesize= 20每页显示多少条文章if not isnumeric(request(page) or isempty(request(page) or request(page) - 审核文章
7、审 核 文 章 共条 , 当 前 第/ 页,每页 条id 号标 题日 期图核- 7 -执行推荐固顶编辑删除formmethod=posttarget=_selfaction=checknews4.aspchecknews3.asp?newsid=%if rs(checkked)1 then% ahref=e_readnews.asp?newsid=onmouseover=window.status= 查 看 文 章 “ ” ;returntrue;onmouseout=window.status=;returntr
8、ue;target=_blanktitle=查看文章“”24then%.()input type=hidden name=newsid value=input type=submit value=通过取消 class=button onmouseover=window.status=按这个按钮通过取消审核文章“”;return true;onmouseout=window.status=;return true; title=按这个按钮通过取消审核文章“”style=font-size: 9pt;color:#000000;background-color:#eaeaf4;solid#eaea
9、f4onmouseover=this.style.backgroundcolor=#ffffff onmouseout =this.style.backgroundcolor=#eaeaf4%if rs(goodnews)1 then%推荐已荐a href=newsgood1.asp?newsid=%if rs(goodnews)1then%推荐已荐- 8 -%if rs(istop)1 then%固顶已固ahref=newsgu1.asp?newsid=%ifrs(istop)1then%固顶已固ahref=newsedit.asp?newsid=编辑a href=newsdel.asp?n
10、ewsid=删除 共条 , 当 前 第/ 页,每页 条1 thenpageprev=pageshowsize*(pagenextsize-1)response.write 上一翻页 response.write 页首 end ifif mypage-1 0 thenprev_page = mypage - 1response.write 上一页 end ifif maxpages=pagenextsize*pageshowsize thenpagesizeshow = pageshowsizeelsepagesizeshow = maxpages-pageshowsize*(pagenexts
11、ize-1)- 9 -end ifif pagesizeshow 1 then pagesizeshow = 1for pagecountersize=1 to pagesizeshowpagelink = (pagecountersize+pagenextsize*pageshowsize)-pageshowsizeif pagelink mypage thenresponse.write & pagelink & elseresponse.write & pagelink & end ifif pagelink = maxpages then exit fornextif mypage+1
12、 =pagetpagethennext_page = mypage + 1response.write 下一页end ifif maxpages pageshowsize*pagenextsize thenpagenext = pageshowsize * pagenextsize + 1response.write 页尾response.write 下一翻页end if%添加用户代码添加用户代码- 10 - - 会员注册!-function frmaddlink_onsubmit() var i, n;if (document.frmaddlink.username.value=)alert
13、(对不起,请输入您的用户名!)document.frmaddlink.username.focus()return falseelse if (document.frmaddlink.username.value.length 30)alert(您的用户名太长了吧!)document.frmaddlink.username.focus()return falseelse if (document.frmaddlink.username.value.indexof() = 0 |document.frmaddlink.username.value.indexof() = 0 |document.
14、frmaddlink.username.value.indexof(!) = 0 |document.frmaddlink.username.value.indexof() = 0 |document.frmaddlink.username.value.indexof(#) = 0 |document.frmaddlink.username.value.indexof($) = 0 |document.frmaddlink.username.value.indexof(%) = 0 |document.frmaddlink.username.value.indexof() = 0 |docum
15、ent.frmaddlink.username.value.indexof(&) = 0 |document.frmaddlink.username.value.indexof(*) = 0 |document.frmaddlink.username.value.indexof() = 0 |document.frmaddlink.username.value.indexof() = 0 |- 11 -document.frmaddlink.username.value.indexof(+) = 0 |document.frmaddlink.username.value.indexof() =
16、 0 |document.frmaddlink.username.value.indexof() = 0 |document.frmaddlink.username.value.indexof(|) = 0 |document.frmaddlink.username.value.indexof() = 0 |document.frmaddlink.username.value.indexof() = 0 |document.frmaddlink.username.value.indexof() = 0 |document.frmaddlink.username.value.indexof(;)
17、 = 0 |document.frmaddlink.username.value.indexof(:) = 0 |document.frmaddlink.username.value.indexof() = 0 |document.frmaddlink.username.value.indexof(= 0 |document.frmaddlink.username.value.indexof(,) = 0 |document.frmaddlink.username.value.indexof(?) = 0 |document.frmaddlink.username.value.indexof(
18、/) = 0 |document.frmaddlink.username.value.indexof() = 0 |document.frmaddlink.username.value.indexof() = 0 |document.frmaddlink.username.value.indexof( ) = 0 |document.frmaddlink.username.value.indexof(=) = 0 |document.frmaddlink.username.value.indexof(%) = 0)alert(用户名中包含无效字符,请重新选择用户名!);document.frm
19、addlink.username.focus();return false;else if (document.frmaddlink.passwd.value=)alert(对不起,请您输入密码!)document.frmaddlink.passwd.focus()return falseelse if (document.frmaddlink.passwd.value.length 16)alert(您的密码太长了吧!)document.frmaddlink.passwd.focus()return falseelse if (document.frmaddlink.username.val
20、ue=document.frmaddlink.passwd.value)- 12 -alert(为了安全,用户名与密码不应该相同!)document.frmaddlink.passwd.focus()return falseelse if (document.frmaddlink.passwd2.value=)alert(对不起,请您输入验证密码!)document.frmaddlink.passwd2.focus()return falseelseif(document.frmaddlink.passwd2.value!=document.frmaddlink.passwd.value)al
21、ert(对不起,您两次输入的密码不一致!)document.frmaddlink.passwd2.focus()return falseelse if (document.frmaddlink.question.value=)alert(对不起,请您输入提示问题!)document.frmaddlink.question.focus()return falseelse if (document.frmaddlink.answer.value=)alert(对不起,请您输入问题答案!)document.frmaddlink.answer.focus()return falseelse if (d
22、ocument.frmaddlink.question.value=document.frmaddlink.answer.value)alert(为了安全,提示问题与问题答案不应该相同!)document.frmaddlink.answer.focus()return falseelse if (document.frmaddlink.fullname.value=)alert(对不起,请输入您的真实姓名!)document.frmaddlink.fullname.focus()return falseelse if (document.frmaddlink.depid.value=)- 13
23、 -alert(对不起,请选择您的工作单位!)document.frmaddlink.depid.focus()return falseelse if (document.frmaddlink.sex.value=)alert(对不起,请选择您的性别!)document.frmaddlink.sex.focus()return falseelse if (document.frmaddlink.tel.value=)alert(对不起,请输入您的联系电话!)document.frmaddlink.tel.focus()return falseelse if (document.frmaddli
24、nk.email.value=)alert(对不起,请输入您的电子邮件!)document.frmaddlink.email.focus()return falseelseif(document.frmaddlink.email.value.indexof(,0)=-1|document.frmaddlink.email.value.indexof(.,0)=-1)alert(对不起,您输入的电子邮件有误!)document.frmaddlink.email.focus()return false/function to open pop up windowfunction openwin(theurl,winname,features) window.open(theurl,winname,features);/-tablewidth=500border=1align=centercellpadding=0cellspacing=0bordercolor= bgcolor=#ffffff style=border-collapse: collapse 会 员 注 册 为了使您能正常使用本系统,请详细填写每一项资料用户 名: 密 码: 验证密码: 提示问题: 问题答案: 真实姓名: 工作单位:请选择工作单位o
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 人民币幼儿学前教育设计
- 上海南汇区公开招聘农村(村务)工作者笔试题含答案2024年
- 安徽铜陵2025年公开招聘农村党务(村务)工作者笔试题带答案分析
- 口语常用表达技巧课件
- 优化进餐管理
- 天津外国语大学滨海外事学院《护理学基础(Ⅱ)》2023-2024学年第二学期期末试卷
- 宁波市江北区2024-2025学年初三下第四次(5月)月考生物试题含解析
- 山东中医药大学《学术道德与论文写作》2023-2024学年第一学期期末试卷
- 辽宁省红旗校2025年初三下学期第一次联考试题语文试题含解析
- 内蒙古准格尔旗2025年初三毕业班4月中考适应性考试语文试题试卷含解析
- 装配作业指导书
- 建设工程成本计划与控制课件(原)
- IPC-A-610国际标准中英文对照(doc 17)
- 《陕文投应聘表格》word版
- 建设工程围挡标准化管理图集(2022年版)
- (完整word版)中小学教育质量综合评价指标框架(试行)
- 《新概念英语》第一册单词表
- 半泽直树日语字幕台词(一)
- 拌和站地基承载力及抗倾覆计算书
- 最新公司客户订单流程管理制度
- 生物分离工程第四章膜分离技术.ppt
评论
0/150
提交评论