2012 年毕业设计(论文)
XX 旅游网站的开发与设计
学 院:
专 业:
班 级:
学 号:
学生姓名:
指导教师:
2012 年 X 月 X 日
随着 Internet 的普及,越来越多的企业建立了自己的 WWW 网站,电子商
务应时而生。本论文主要讨论如何建立一个简单的旅游电子商务网站。本网站
主要包括 4 大系统:注册模块,线路的查看功能模块,线路查询模块,留言版
模块,页面管理模块,站内新闻,用户注册,景点查询,联系我站,后台管理
等。客户可以通过这 4 大系统查看最新的旅游信息,热门的旅游路线,外出旅
游所要配备的装备以及旅游的一些基本常识等。此外,由于本网站还包括一些
与旅游相关的奇闻逸事,以供客户在查看内容时,可获得一些娱乐。本网站没
有提供客户论坛,游客可以通过 e-mail 的方式把意见和需要改正的地方告诉我
们,我们会及时改正。对于网站的管理者来说,管理员可以通过登陆专门的管
理员界面来修改数据库中的内容,或更新网站的内容,使用户获得最新得数
据。
本网站的页面主要通过 Dreamweaver 来构建,本软件可以省去大量的 html
等语言的编写就可以获得比较好的效果。数据库的建立是用 MYSQL 建立的,
此软件是 windows 自带的,可以省去 MYSQL 语句的编写,但 MYSQL 不支持
远程访问的能力,这也是其缺点。而数据库的访问及联结主要是通过一些 PHP
语句来完成的。管理员界面是通过 Dreamweaver,PHP 简单构建的。
关键词 旅游网站;数据库;MYSQL;PHP
Abstract
With the popularization of Internet, more and more enterprises have set up one's
own WWW websites, e-commerce should be sometimes. Discuss mainly how to set
up a simple travel e-commerce website in this thesis. This website includes 4 big
systems mainly: News system, guide book, circuit recommendation, tourist handbook.
The customer can look over the latest travel information, the hot travelling route
through these 4 big systems, go out travel allocated equipment and some basic general
knowledge that travel,etc.. In addition, because this website also include some
intriguing story and anecdotes correlated with travelling, for the customer to can
obtain some amusement while looking over content. This website has not left the
forum on the customer, visitors can tell us the suggestion and place to need correcting
through the way of e-mail , we will correct in time. To the administrators of websites,
the administrator can revise the content in the data base through landing special
administrator'sinterface, upgrade content of website, make user get getting newest data.
Page of website this come and structure through dreamweaver mainly, software this
can save a large number of html wait for to write and can obtain kind result language.
Foundation of data base with what MYSQL set up, software this bring by oneself of
windows , can save MYSQL sentence write, but MYSQL does not support the ability
of the remote MYSQL , this is its shortcoming. And visit and connection of data base
to come and finish through some PHP sentence mainly. Administrator's interface is
was structured briefly through dreamweaver, PHP.
Keywords e-commerce; data base; MYSQL; PHP
目录
2011 年毕业设计(论文)..................................................................................I
第 1 章 绪论 ........................................................................................................3
1.1 课题背景 ...................................................................................................3
1.2 电子商务的发展趋势 ...............................................................................3
1.3 企业网站的建立及电子商务的意义 ........................................................4
第 2 章 电子商务简介 ........................................................................................6
2.1 电子商务的来临 .......................................................................................6
2.2 电子商务的概念 .......................................................................................6
2.3 电子商务的分类 .......................................................................................7
2.4 电子商务的特性 .......................................................................................8
2.5 电子商务的结构 .....................................................................................11
2.6 电子商务在中国的发展 .........................................................................11
2.7 本章小节 .................................................................................................12
第 3 章 应用软件介绍 ......................................................................................13
3.1 Dreamweaver 介绍...................................................................................13
3.2 MYSQL 简介 ...........................................................................................14
3.3 PHP 简介..................................................................................................15
3.4 本章小节 .................................................................................................16
第 4 章 网站的具体构思 ..................................................................................17
4.1 社会调查 .................................................................................................17
1 注册模块 .................................................................................................17
2 线路的查看功能模块 .............................................................................17
3 线路查询模块 .........................................................................................17
4 酒店预定模块 ........................................................................................17
5 留言版模块 ............................................................................................18
6 管理员登陆模块 ....................................................................................18
7 页面管理模块 ........................................................................................18
8 线路管理模块 ........................................................................................18
9 酒店管理模块 ........................................................................................18
10 留言管理功能模块 ..............................................................................18
4.2 旅游网站的需要 .....................................................................................18
4.3 其他旅游网站的优点与不足 .................................................................19
4.4 网站的构思及内容 .................................................................................19
4.5 网站系统结构图 .....................................................................................21
第 5 章 网站的具体设计 ..................................................................................24
5.1 网站的制作与运行环境 .........................................................................24
5.2 网站数据库的建立 .................................................................................24
5.3 设定网站的动态数据源 .........................................................................27
5.4 网站网页的制作 .....................................................................................27
第 6 章 各模块简介 ..........................................................................................31
6.1 网站首页 .................................................................................................31
6.2 站内新闻 .................................................................................................33
6.3 线路查询 .................................................................................................36
6.4 旅游线路 .................................................................................................39
6.5 用户注册 .................................................................................................41
6.6 后台登陆 .................................................................................................43
6.7 系统用户管理 .........................................................................................45
6.8 新闻添加模块 .........................................................................................46
6.9 用户查询模块 .........................................................................................47
第 7 章 小节 ......................................................................................................49
结论 ....................................................................................................................50
致谢 ....................................................................................................................51
参考文献 ............................................................................................................52
附录 ....................................................................................................................53