commit 62d8c362fd4a6f6dea22de53054683847783bc95 Author: editor <@51Aspx.com> Date: Wed Mar 6 18:30:32 2024 +0800 初始化 diff --git a/51Aspx源码必读.txt b/51Aspx源码必读.txt new file mode 100644 index 0000000..613a0b9 --- /dev/null +++ b/51Aspx源码必读.txt @@ -0,0 +1,88 @@ +HWW企业网站实用源码 V2.0 + +一、源码描述 + +环境:VS2022 Access + +二、功能介绍 + +hww企业网站实用源码 V2.0 +1.提供全部cs文件; +2.一般企业网站用; +3.修改简单方便; +4.后台管理地址/admin/index.aspx +5.具有会员注册、在线购物、人才招聘、在线留言等常用功能 +6.后台有管理员管理、网站公告、网站配置、在线客服设置、新闻管理、产品管理、会员管理、招聘发布、应聘管理等 +7.后台编辑器采用FCKeditor + +后台管理页面:http://localhost:12609/admin/admin_login.aspx +后台管理功能 +1、系统管理 +管理员管理 +网站公告 +网站配置 +在线客服设置 +2、新闻管理 +添加新闻内容 +管理全部新闻 +新闻分类管理 +3、会员管理 +添加会员 +管理会员 +审核会员 +4、产品管理 +添加产品 +产品管理 +产品类别设置 +审核产品 +5、人才管理 +招聘管理 +发布招聘 +应聘管理 +人オ策略 + +前台页面: +首页 +企业简介 +产品介绍 +服务介绍 +成功案例 +关于我们 +人才招聘 +客户服务 +论坛 +联系我们 + + + +三、注意事项 +1、在项目web.config修改数据库连接字符串,附加数据库。 +2、管理员账号与密码:51aspx 51aspx 。 +用户账号与密码:user 51aspx +3、ctrl+F5运行即可。 +4、编译模式不用管,VS内置的IIS设置32位运行。 + + + + + +作者: webabc + +如需获得该源码的视频、更新等更多资料请访问: https://www.51aspx.com/Code/XMW61R29MGM55 +------------------------------------------------------------------------------------------------ + + 源码服务专家 + 官网: https://www.51aspx.com + 讨论圈: https://club.51aspx.com/ + +平台声明: + +1.51Aspx平台上提供下载的资源为免费、共享、商业三类源码,其中免费和共享源码仅供个人学习和研究使用,商业源码请在相应的授权许可条件下使用; +2.51Aspx平台对提供下载的软件及其它资源不拥有任何权利,其版权归属源码合法拥有者所有; +3.著作权人发现本网站载有侵害其合法权益的内容或作品,请与我们联系( 登录官网与客服反馈或发送邮件到support@51Aspx.com ); +4.51Aspx平台不保证提供的下载资源的准确性、安全性和完整性; + +友情提示: + 一般数据库文件默认在 DB_51Aspx 文件夹下 + 默认账号密码一般均为51Aspx + 关于源码使用常见问题及解决方案,请参阅: https://www.51aspx.com/Help diff --git a/About.aspx b/About.aspx new file mode 100644 index 0000000..c235308 --- /dev/null +++ b/About.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="about.aspx.cs" Inherits="about" %> + +<%@ Register Src="WebUserControl2.ascx" TagName="WebUserControl2" TagPrefix="uc2" %> + +<%@ Register Src="WebUserControl.ascx" TagName="WebUserControl" TagPrefix="uc1" %> + + + + + + 无标题页 + + + +
diff --git a/AcceptJob.aspx b/AcceptJob.aspx new file mode 100644 index 0000000..4854374 --- /dev/null +++ b/AcceptJob.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AcceptJob.aspx.cs" Inherits="AcceptJob" %> + + + + + + 无标题页 + + + +
+ + + +
 当前位置: 首页 ->人才招聘
diff --git a/AcceptJob.aspx.cs b/AcceptJob.aspx.cs new file mode 100644 index 0000000..ee5999a --- /dev/null +++ b/AcceptJob.aspx.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +public partial class AcceptJob : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { diff --git a/App_Code/Up_Loadcs.cs b/App_Code/Up_Loadcs.cs new file mode 100644 index 0000000..5e1a638 --- /dev/null +++ b/App_Code/Up_Loadcs.cs @@ -0,0 +1,15 @@ +using System; +using System.IO; +using System.Data; +using System.Configuration; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + + public class Up_Loadcs + { + public string Up(System.Web.UI.HtmlControls.HtmlInputFile File2) + { diff --git a/App_Code/access.cs b/App_Code/access.cs new file mode 100644 index 0000000..426e8c2 --- /dev/null +++ b/App_Code/access.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Data.OleDb; +using System.Configuration; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +/// +/// access 的摘要说明 +/// +public class access diff --git a/App_Code/fun.cs b/App_Code/fun.cs new file mode 100644 index 0000000..6da42f1 --- /dev/null +++ b/App_Code/fun.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Configuration; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +/// +/// fun 的摘要说明 +/// +public class fun +{ diff --git a/App_Code/login.cs b/App_Code/login.cs new file mode 100644 index 0000000..ed3f3d8 --- /dev/null +++ b/App_Code/login.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Data.OleDb; +using System.Configuration; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + + +/// +/// login 的摘要说明 +/// diff --git a/App_Code/pagebase.cs b/App_Code/pagebase.cs new file mode 100644 index 0000000..9105abd --- /dev/null +++ b/App_Code/pagebase.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Configuration; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +/// +/// pagebase 的摘要说明 +/// +public class pagebase : System.Web.UI.Page +{ diff --git a/App_Code/re.cs b/App_Code/re.cs new file mode 100644 index 0000000..38b4695 --- /dev/null +++ b/App_Code/re.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Configuration; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +/// +/// re 的摘要说明 +/// +public class re +{ diff --git a/App_Code/upload.cs b/App_Code/upload.cs new file mode 100644 index 0000000..48b3083 --- /dev/null +++ b/App_Code/upload.cs @@ -0,0 +1,15 @@ +using System; +using System.IO; +using System.Data; +using System.Configuration; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +/// +/// upload 的摘要说明 +/// +public class upload diff --git a/Contact.aspx b/Contact.aspx new file mode 100644 index 0000000..b5363ba --- /dev/null +++ b/Contact.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Contact.aspx.cs" Inherits="Contact" %> + +<%@ Register Src="WebUserControl2.ascx" TagName="WebUserControl2" TagPrefix="uc2" %> + +<%@ Register Src="WebUserControl.ascx" TagName="WebUserControl" TagPrefix="uc1" %> + + + + + 无标题页 + + + +
+ diff --git a/Contact.aspx.cs b/Contact.aspx.cs new file mode 100644 index 0000000..3b7d19a --- /dev/null +++ b/Contact.aspx.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +//该源码下载自www.51aspx.com(51aspx.com) +public partial class Contact : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) diff --git a/Culture.aspx b/Culture.aspx new file mode 100644 index 0000000..e545e5f --- /dev/null +++ b/Culture.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Culture.aspx.cs" Inherits="Culture" %> + +<%@ Register Src="WebUserControl2.ascx" TagName="WebUserControl2" TagPrefix="uc2" %> + +<%@ Register Src="WebUserControl.ascx" TagName="WebUserControl" TagPrefix="uc1" %> + + + + + 无标题页 + + + +
+
diff --git a/Culture.aspx.cs b/Culture.aspx.cs new file mode 100644 index 0000000..ea654a6 --- /dev/null +++ b/Culture.aspx.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +public partial class Culture : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { diff --git a/Default.aspx b/Default.aspx new file mode 100644 index 0000000..8656e64 --- /dev/null +++ b/Default.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> + +<%@ Register Src="head.ascx" TagName="head" TagPrefix="uc4" %> + +<%@ Register Src="WebUserControl5.ascx" TagName="WebUserControl5" TagPrefix="uc3" %> + +<%@ Register Src="WebUserControl3.ascx" TagName="WebUserControl3" TagPrefix="uc2" %> + +<%@ Register Src="WebUserControl.ascx" TagName="WebUserControl" TagPrefix="uc1" %> + + + + + + ʵ����ҵ��Ϣ����ϵͳ|-51aspx.com diff --git a/Default.aspx.cs b/Default.aspx.cs new file mode 100644 index 0000000..8686d9e --- /dev/null +++ b/Default.aspx.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +public partial class _Default : System.Web.UI.Page +{ + public string imgUrl = "", imgLink = "", imgtext = "", imgAlt = ""; + protected void Page_Load(object sender, EventArgs e) diff --git a/Default2.aspx b/Default2.aspx new file mode 100644 index 0000000..4d2f75f --- /dev/null +++ b/Default2.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %> + + + + + + <%=stitle%> + + + +
+
+ + + diff --git a/Default2.aspx.cs b/Default2.aspx.cs new file mode 100644 index 0000000..1c82169 --- /dev/null +++ b/Default2.aspx.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +public partial class Default2 : pagebase +{ + protected void Page_Load(object sender, EventArgs e) + { diff --git a/Default3.aspx b/Default3.aspx new file mode 100644 index 0000000..9100a72 --- /dev/null +++ b/Default3.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Default3" %> + + + + + 无标题页 + + + +
+ diff --git a/admin/index.aspx.cs b/admin/index.aspx.cs new file mode 100644 index 0000000..81d5db1 --- /dev/null +++ b/admin/index.aspx.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; +//该源码下载自www.51aspx.com(51aspx.com) + +public partial class admin_index : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) diff --git a/admin/left.aspx b/admin/left.aspx new file mode 100644 index 0000000..a7df0c6 --- /dev/null +++ b/admin/left.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="left.aspx.cs" Inherits="admin_left" %> + + + + + + + + 无标题页 + diff --git a/admin/pronunciamento.aspx.cs b/admin/pronunciamento.aspx.cs new file mode 100644 index 0000000..de28d3e --- /dev/null +++ b/admin/pronunciamento.aspx.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +public partial class admin_pronunciamento : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { diff --git a/admin/top.aspx b/admin/top.aspx new file mode 100644 index 0000000..3c37dc2 --- /dev/null +++ b/admin/top.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="top.aspx.cs" Inherits="admin_top" %> + + + + + + 无标题页 + + +
+
+ +
+ + diff --git a/admin/top.aspx.cs b/admin/top.aspx.cs new file mode 100644 index 0000000..9b7de32 --- /dev/null +++ b/admin/top.aspx.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +public partial class admin_top : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { diff --git a/admin/webconfig.aspx b/admin/webconfig.aspx new file mode 100644 index 0000000..a802e5e --- /dev/null +++ b/admin/webconfig.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="webconfig.aspx.cs" Inherits="admin_webconfig" %> + +<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %> + + + + + + + + + diff --git a/control/info.asp b/control/info.asp new file mode 100644 index 0000000..fdbd4e2 --- /dev/null +++ b/control/info.asp @@ -0,0 +1,15 @@ +<% +operate=Trim(Request.QueryString("operate")) +select case operate +case "quit" + report="�Ѿ��˳�վ����������齫���ڹر�" +case "noright" + report="Ŀǰû�й���Ȩ��" +case "wrongurl" + report="�Ƿ����ύ·��" +case "loginf" + report="��½ʧ��" +case else + report="����" +end select + %> diff --git a/control/isy.asp b/control/isy.asp new file mode 100644 index 0000000..4db3219 --- /dev/null +++ b/control/isy.asp @@ -0,0 +1 @@ +<% if session("controlvote")<>"you have this right!" then response.Redirect("info.asp?operate=noright")%> diff --git a/control/listvote.asp b/control/listvote.asp new file mode 100644 index 0000000..217a2c9 --- /dev/null +++ b/control/listvote.asp @@ -0,0 +1,15 @@ + + + + + +��ʾ����ͶƱ . ����ͶƱϵͳ + + + + + + + + + diff --git a/control/login.asp b/control/login.asp new file mode 100644 index 0000000..50bf25b --- /dev/null +++ b/control/login.asp @@ -0,0 +1,15 @@ + + + + +�û���½ . ����ͶƱϵͳ + + + + + + +
+
+
+ diff --git a/control/md5.asp b/control/md5.asp new file mode 100644 index 0000000..3048149 --- /dev/null +++ b/control/md5.asp @@ -0,0 +1,15 @@ +<% +Private Const BITS_TO_A_BYTE = 8 +Private Const BYTES_TO_A_WORD = 4 +Private Const BITS_TO_A_WORD = 32 + +Private m_lOnBits(30) +Private m_l2Power(30) + +Private Function LShift(lValue, iShiftBits) + If iShiftBits = 0 Then + LShift = lValue + Exit Function + ElseIf iShiftBits = 31 Then + If lValue And 1 Then + LShift = &H80000000 diff --git a/control/oorcvote.asp b/control/oorcvote.asp new file mode 100644 index 0000000..07c78bf --- /dev/null +++ b/control/oorcvote.asp @@ -0,0 +1,9 @@ + + + +<% +thisid=Trim(Request.QueryString("voteid")) +oorc=Trim(Request.QueryString("oorc")) +if oorc="close" then conn.execute "update votepro set oorc=false where id="&thisid:closedb:response.Redirect("rep.asp?operate=close") +if oorc="open" then conn.execute "update votepro set oorc=true where id="&thisid:closedb:response.Redirect("rep.asp?operate=open") +%> diff --git a/control/out.asp b/control/out.asp new file mode 100644 index 0000000..cfd0b40 --- /dev/null +++ b/control/out.asp @@ -0,0 +1,5 @@ + +<% +Session.Contents.Remove("controlvote") +response.Redirect("info.asp?operate=quit") +%> diff --git a/control/pathcheck.asp b/control/pathcheck.asp new file mode 100644 index 0000000..e4425ab --- /dev/null +++ b/control/pathcheck.asp @@ -0,0 +1,4 @@ +<% +isour=Instr(request.ServerVariables("HTTP_REFERER"),request.ServerVariables("HTTP_HOST")) +if request.ServerVariables("HTTP_REFERER")<>null and isour=0 then response.Redirect("info.asp?operate=wrongurl") '�ж��Ƿ�Ϊ��վ�������ύ +%> diff --git a/control/rcs.asp b/control/rcs.asp new file mode 100644 index 0000000..4e7bdb4 --- /dev/null +++ b/control/rcs.asp @@ -0,0 +1,15 @@ + +<% +thisid=request("voteid") +if request.Cookies("vote"&thisid)="pubvote_"&thisid then + Response.Write("&back=�Ѿ������ͶƱ��лл") + closedb +else + response.Cookies("vote"&thisid)="pubvote_"&thisid + response.Cookies("vote"&thisid).expires="2008/10/26" + response.Cookies("vote"&thisid).domain=request.ServerVariables("SERVER_NAME") + cs=split(request("mychoose"),",",-1,1) + sql="select * from votepro where id="&thisid + set rs=server.CreateObject("adodb.recordset") + rs.open sql,conn,1,3 + for i=1 to 5 diff --git a/control/rep.asp b/control/rep.asp new file mode 100644 index 0000000..a8fbc7a --- /dev/null +++ b/control/rep.asp @@ -0,0 +1,15 @@ + +<% +operate=Trim(Request.QueryString("operate")) +select case operate +case "add" + report="����ͶƱ�������" +case "edit" + report="�޸�ͶƱ�������" +case "del" + report="ɾ��ͶƱ�������" +case "close" + report="�ر�ͶƱ�������" +case "open" + report="��ͶƱ�������" +case "nosame" diff --git a/control/thisvote.asp b/control/thisvote.asp new file mode 100644 index 0000000..97a329e --- /dev/null +++ b/control/thisvote.asp @@ -0,0 +1,15 @@ + + +<% +thisid=Trim(Request.QueryString("voteid")) +set rs=conn.execute("select * from votepro where id="&thisid) +if rs.eof then Response.Redirect("rep.asp?operate=rsf") +%> + + + +��ʾ<%= rs("id") %>��ͶƱ���� . ����ͶƱϵͳ + +