电子商务课设报告Word文档格式.docx

上传人:b****8 文档编号:22570038 上传时间:2023-02-04 格式:DOCX 页数:31 大小:68.96KB
下载 相关 举报
电子商务课设报告Word文档格式.docx_第1页
第1页 / 共31页
电子商务课设报告Word文档格式.docx_第2页
第2页 / 共31页
电子商务课设报告Word文档格式.docx_第3页
第3页 / 共31页
电子商务课设报告Word文档格式.docx_第4页
第4页 / 共31页
电子商务课设报告Word文档格式.docx_第5页
第5页 / 共31页
点击查看更多>>
下载资源
资源描述

电子商务课设报告Word文档格式.docx

《电子商务课设报告Word文档格式.docx》由会员分享,可在线阅读,更多相关《电子商务课设报告Word文档格式.docx(31页珍藏版)》请在冰豆网上搜索。

电子商务课设报告Word文档格式.docx

第一部分是消费者可以接触到的部分一购物网站的前台部分,即顾客在虚拟商店中挑选商品,通过虚拟购物车核对所购买商品的品种及数量,然后下网络定单、进行结帐、选择付款方式和送货方式等的一系列过程。

第二部分是购物网站的后台管理部分,一般包括网站的日常维护与更新、客户关系管理、定单管理、售货单和发货单处理、电子支付平台、库存货品管理和商品配送系统管理等部分.

网站开发

采用循环的系统开发模式。

第一步:

开始进行系统结构设计、数据库设计。

第二步:

前台系统、后台系统及页面的设计。

首先是流程的分析,再作模板设计,然后写脚本代码。

第三步:

网站测试。

结构功能图

该网站的应具有的主要结构功能,如下

总体设计

本网站的主要结构功能模块图如下:

详细设计及代码

系统平台设计

Microsoftaccess,,IIS,记事本等。

所用软件皆可网上免费下载,故平台预算可忽略。

模块设计

目标系统实现八个模块功能,即1,实现用户注册。

2,实现用户登陆。

3,实现注册用户修改资料。

4,实现用户搜寻物品。

5,用户订单查询。

6,用户购物。

7,用户留言。

8,网站使用说明。

各个模块都是通过编写网页代码,并于数据库连接来实现。

代码设计

1.首页主要实现框架分页功能,代码如下:

<

html>

<

head>

metahttp-equiv="

Content-Language"

content="

zh-tw"

>

METAhttp-equiv="

Content-Type"

text/html;

charset=gb2312"

title>

购物网站<

/title>

/head>

framesetrows="

70,*"

framesrc="

"

noresizescrolling="

no"

frameborder="

1"

bordercolor="

darkgray"

framesetcols="

140,*"

noresize

frameborder="

name="

main"

bordercolor="

/frameset>

/html>

包括标题栏,导航栏,主显示窗口。

2.导航栏代码为:

bodybgcolor="

#a0ffa0"

leftmargin="

0"

tableborder="

align="

center"

tr>

<

td>

ahref="

target="

imgsrc="

image/"

alt="

登入"

border="

width="

66"

height="

/a>

/td>

fontsize="

2"

登入<

/font>

/tr>

加入会员"

加入<

br>

会员<

C=S&

F=购物篮车"

target="

购物篮车"

购物<

篮车<

搜寻"

eight="

搜寻<

C=Q&

F=订单查询"

订单查询"

订单<

查询<

C=N&

F=留言版"

留言版"

留言<

版<

使用说明"

使用<

说明<

/table>

/body>

3.用户注册页代码:

!

--#includefile="

proc/"

-->

%

DimblnOK,lngShopNo,objRs,strRs

DimstrUserID,strPassword,strName,strTel,strAddress,strEmail

DimstrSex,intAge

blnOK=("

strLogonSuccess"

)="

OK"

IfblnOKThen

lngShopNo=("

user"

)("

lngNo"

strRs="

SELECTuserID,password,tel,address,email,"

&

_

"

sex,age"

"

FROMshopIDINNERJOINshopper"

ON="

WHERE="

lngShopNo

SetobjRs=("

strRs,Application("

strCn"

strUserID=objRs("

userID"

strPassword=objRs("

password"

strName=("

strName"

strTel=objRs("

tel"

strAddress=objRs("

address"

strEmail=objRs("

email"

strSex=objRs("

sex"

intAge=objRs("

age"

SetobjRs=Nothing

EndIf

%>

body>

center>

h2style="

color:

dimgray"

IfblnOKThen

("

更新资料"

Else

EndIf

%>

/h2>

hr>

formmethod="

POST"

action="

<

tdalign="

right"

b>

用户名:

/b>

IfblnOKThen

%>

inputtype="

text"

size="

10"

disabled

value="

%=strUserID%>

hidden"

UserID"

Else

size="

maxlength="

EndIf

密码:

Pswd"

8"

IfblnOKThen

("

value="

Chr(34)&

strPassword&

Chr(34))

EndIf

>

确认密码:

RecPswd"

姓名:

name"

strName&

地址:

40"

maxlength="

50"

strAddress&

E-mail:

mail"

strEmail&

电话:

20"

strTel&

性别:

radio"

女"

IfstrSex="

Then

("

checked"

男"

trvalign="

top"

年龄:

selectname="

<

option

IfintAge=19Then

selected"

EndIf

%>

>

20以下<

/option>

IfintAge=20Then

20~29<

IfintAge=30Then

30~39<

IfintAge=40Then

40~49<

IfintAge=50Then

50~59<

IfintAge=60Then

60(含)以上<

/select>

submit"

value="

确定"

reset"

重新输入"

tdcolspan="

15"

tralign="

(粗体字之栏位请务必输入)<

%=showMsg(Request("

msg"

))%>

/form>

/center>

CallshowLogo

FunctionshowMsg(strArgMsg)

IfstrArgMsg<

EmptyThen

showMsg="

tdcolspan=2align=center>

fontcolor=red>

strArgMsg&

Else

tdcolspan=2>

EndFunction

留言板代码:

DimobjRs,strRs,blnHasEmail

SELECT*"

FROMshopper"

WHEREshopNo="

("

blnHasEmail=(objRs("

)<

Empty)

IfblnHasEmailThen

darkorchid"

留言版<

colspan="

5"

color="

#90a030"

请输入您的意见<

textarearows="

cols="

80"

note"

/textarea>

请留E-Mail<

4"

很抱歉!

由于您未留下E-Mail帐号,<

本功能无法提供服务。

请在"

功能留下您的E-Mail,<

以便我们能回复您的留言,谢谢!

callshowLogo

订单显示代码:

#fffff4"

fontcolor="

#9f2020"

%=getUser()%>

您的订单如下:

DimstrUserNo,objRs,strRs

strUserNo=CStr("

))

SELECTdescript,checkStatus"

FROM(ordersLEFTJOINor

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 高等教育 > 医学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1