源代码 电子商务中租房信用评价系统的与实现Word文档格式.docx
《源代码 电子商务中租房信用评价系统的与实现Word文档格式.docx》由会员分享,可在线阅读,更多相关《源代码 电子商务中租房信用评价系统的与实现Word文档格式.docx(35页珍藏版)》请在冰豆网上搜索。
-//W3C//DTDXHTML1.0Transitional//EN"
"
http:
//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
htmlxmlns="
//www.w3.org/1999/xhtml"
headid="
Head1"
runat="
server"
<
title>
租房网站信用评价系统<
/title>
scripttype="
text/javascript"
functionCheckNull(){
if(document.getElementById("
%=txtAccount.ClientID%>
"
).value=="
){
alert("
请输入账号!
);
returnfalse;
}
%=txtPassword.ClientID%>
请输入密码!
functionbtnReg_Click()
{
window.location.href="
Reg.aspx"
;
/script>
/head>
body>
formid="
form1"
divid="
div1"
style="
height:
50px;
/div>
divstyle="
width:
1002px;
margin:
0auto;
height:
580px;
background-image:
url(/images/bgLogin.jpg);
background-repeat:
no-repeat;
text-align:
left;
padding-top:
250px;
padding-left:
620px;
font-size:
12px;
账&
nbsp;
&
号:
asp:
TextBoxID="
txtAccount"
Width="
150"
Height="
20"
/asp:
TextBox>
40px;
密&
码:
txtPassword"
TextMode="
Password"
padding-left:
ImageButtonID="
btnLogin"
ImageUrl="
/images/btnLogin.jpg"
OnClick="
btnLogin_Click"
OnClientClick="
returnCheckNull()"
/>
imgsrc="
/Images/btnReg.jpg"
alt="
onclick="
btnReg_Click()"
cursor:
pointer;
/form>
/body>
/html>
2.用户注册模块代码
用户注册模块部分代码如下。
Theme="
Default"
MasterPageFile="
~/MasterPage/Default.master"
Reg.aspx.cs"
Web.Reg"
ContentID="
ContentHeader"
ContentPlaceHolderID="
HeaderScript"
functionCheckNull()
)
{
帐号不能为空!
document.getElementById("
).focus();
}
密码不能为空!
document.getElementById("
if(document.getElementById("
%=txtTruePassword.ClientID%>
确认密码不能为空!
).value!
=document.getElementById("
).value)
确认密码不正确!
functionCheckAccount(){
账号不能为空!
else{
url="
varaccount=document.getElementById("
).value;
url=encodeURI("
SyncCheck.aspx?
TableName=UserInfo&
Account="
+account+"
result=syncEvent(url);
if(result=="
){
账号不能重复!
functionsyncEvent(url)
varResult="
xmlHttp=newActiveXObject("
Microsoft.XMLHTTP"
xmlHttp.open("
POST"
url,false);
xmlHttp.setRequestHeader("
Content-Type"
"
application/x-www-form-urlencoded"
xmlHttp.send("
Result=xmlHttp.responseText;
returnResult;
functionbtnReset_Click()
Login.aspx"
Content>
Content1"
ContentPlaceHolder_Bar"
管理首页&
gt;
用户信息维护
Content"
ContentPlaceHolder_Content"
10px;
tablecellspacing="
0"
cellpadding="
width="
100%"
border="
line-height:
tr>
tdheight="
25"
30%"
align="
right"
账号:
/td>
*"
left"
200px"
onblur="
returnCheckAccount();
/tr>
密码:
确认密码:
txtTruePassword"
姓名:
txtName"
性别:
RadioButtonListID="
rblSex"
RepeatDirection="
Horizontal"
ListItemValue="
男"
Selected="
True"
男<
ListItem>
女"
女<
RadioButtonList>
电话:
txtPhone"
公司:
txtCompany"
类型:
DropDownListID="
ddlType"
租客"
租客<
经纪人"
经纪人<
DropDownList>
/table>
tablestyle="
100%;
cellspacing="
tdalign="
center"
valign="
bottom"
ButtonID="
btnSave"
Text="
保存"
btnSave_Click"
CssClass="
BtnStyle"
Button>
inputid="
btnReset"
type="
reset"
value="
取消"
btnReset_Click();
tdcolspan="
2"
height="
10"
3.用户管理模块代码
用户管理模块部分代码如下。
UserDetail.aspx.cs"
Web.UserDetail"
%=txtName.ClientID%>
姓名不能为空!
UserList.aspx"
管理首页&
帐号:
Enabled="
false"
spanstyle="
color:
#666666;
(非空即为修改)<
/span>
管理员"
管理员<
4.用户基本信息模块代码
用户基本信息模块部分代码如下。
AutoEventWir