├── WebContent ├── 404 │ ├── _images │ │ ├── bg.jpg │ │ ├── home.png │ │ └── objects.png │ └── _fonts │ │ └── jennasue-webfont.woff ├── META-INF │ └── MANIFEST.MF ├── .DS_Store ├── favicon.ico ├── admin │ ├── logo.psd │ ├── favicon.ico │ ├── images │ │ ├── logo.png │ │ ├── next.png │ │ ├── prev.png │ │ ├── user.png │ │ ├── Thumbs.db │ │ ├── close.png │ │ ├── loading.gif │ │ ├── totop.png │ │ ├── acrossTab.png │ │ ├── hamburger.gif │ │ ├── head_120.png │ │ ├── icon-add.png │ │ ├── icon-pass.png │ │ ├── icon-user.png │ │ ├── icon_jt2.png │ │ ├── login-bg.jpg │ │ ├── login_bg.png │ │ ├── login_pas.png │ │ ├── sort_asc.png │ │ ├── sort_both.png │ │ ├── sort_desc.png │ │ ├── acrossTab-bg.png │ │ ├── header_logo.png │ │ ├── icon_arrow.png │ │ ├── icon_error_s.png │ │ ├── icon_right_s.png │ │ ├── loading_072.gif │ │ ├── login_bg_0.jpg │ │ ├── login_user.png │ │ ├── admin-login-bg.jpg │ │ ├── icon_warning_s.png │ │ ├── acrossTab-close.png │ │ ├── hamburger-retina.gif │ │ └── admin-loginform-bg.png │ ├── font │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.ttf │ │ └── fontawesome-webfont.woff │ ├── layer │ │ └── skin │ │ │ ├── default │ │ │ ├── textbg.png │ │ │ ├── icon_ext.png │ │ │ ├── xubox_ico0.png │ │ │ ├── xubox_title0.png │ │ │ ├── xubox_loading0.gif │ │ │ ├── xubox_loading1.gif │ │ │ ├── xubox_loading2.gif │ │ │ └── xubox_loading3.gif │ │ │ └── layer.ext.css │ ├── info-show.jsp │ ├── js │ │ ├── de_DE.txt │ │ ├── passwordStrength-min.js │ │ ├── html5.js │ │ ├── pagenav.cn.js │ │ └── preview.js │ ├── scen-show.jsp │ ├── banner-show.jsp │ ├── codeing.html │ ├── 404.html │ ├── css │ │ └── signin.css │ ├── login.jsp │ ├── banner-add.jsp │ ├── welcome.html │ ├── system-base.html │ ├── banner-edit.jsp │ ├── admin-add.jsp │ ├── info-add.jsp │ ├── admin-edit.jsp │ ├── admin-edit-pwd.jsp │ ├── pwd-edit.jsp │ └── banner-list.jsp ├── image │ ├── scen │ │ ├── 1.jpg │ │ ├── gudu.png │ │ ├── long.jpg │ │ ├── pic.jpg │ │ ├── shiku.jpg │ │ ├── slide1.jpg │ │ ├── slide2.jpg │ │ ├── slide3.jpg │ │ ├── slide4.jpg │ │ ├── slide5.jpg │ │ ├── 2c9661B.png │ │ ├── 402C245.jpg │ │ ├── baimasi.jpg │ │ ├── lijingmen.jpg │ │ ├── lijinmen.jpg │ │ ├── longmen.jpg │ │ ├── suitang.jpg │ │ ├── xunyicao.jpg │ │ ├── chongdugou.jpg │ │ ├── jiguandong.jpg │ │ ├── laojunshan.jpg │ │ ├── longtanxia.jpg │ │ ├── xiaolangdi.jpg │ │ ├── yujinxiang.jpg │ │ └── yuntaishan.png │ ├── banner │ │ ├── 1.jpg │ │ ├── 2.jpg │ │ ├── 3.jpg │ │ ├── 5.jpg │ │ ├── slide1.jpg │ │ ├── slide2.jpg │ │ ├── slide3.jpg │ │ ├── slide4.jpg │ │ ├── slide5.jpg │ │ ├── wrap_01.png │ │ ├── wrap_02.png │ │ ├── ydy_wenan_01.png │ │ └── ydy_wenan_02.png │ ├── info │ │ ├── ava-1.jpg │ │ ├── ava-2.jpg │ │ ├── ava-3.jpg │ │ ├── ava-4.jpg │ │ ├── ava-5.jpg │ │ ├── shuixi.jpg │ │ ├── video.png │ │ ├── 2014271.jpg │ │ ├── 2015B90.jpg │ │ ├── 20191CF.jpg │ │ ├── 201BB71.jpg │ │ ├── 402A6DB.jpg │ │ ├── bai4C20.png │ │ ├── baimasi.png │ │ ├── lvm8E67.png │ │ ├── xieE7A6.png │ │ └── yujinxiang.jpg │ └── index_banner1.jpg ├── WEB-INF │ ├── 404 │ │ ├── _images │ │ │ ├── bg.jpg │ │ │ ├── home.png │ │ │ └── objects.png │ │ └── _fonts │ │ │ └── jennasue-webfont.woff │ ├── favicon.ico │ ├── lib │ │ ├── jstl-1.2.jar │ │ ├── commons-lang.jar │ │ ├── ezmorph-1.0.6.jar │ │ ├── log4j-1.2.17.jar │ │ ├── commons-logging.jar │ │ ├── jsmartcom_zh_CN.jar │ │ ├── standard-1.1.2.jar │ │ ├── commons-beanutils.jar │ │ ├── json-lib-2.2.2-jdk15.jar │ │ ├── json-lib-2.2.3-jdk15.jar │ │ ├── commons-collections-3.1.jar │ │ └── mysql-connector-java-5.1.19-bin.jar │ ├── error │ │ ├── 404.html │ │ ├── 405.html │ │ └── 500.html │ └── web.xml ├── public │ ├── img │ │ ├── 1px.png │ │ ├── ban.jpg │ │ ├── ban1.jpg │ │ ├── food.png │ │ ├── gudu.png │ │ ├── next.png │ │ ├── play.png │ │ ├── prev.png │ │ ├── beauty.png │ │ ├── gss120.png │ │ ├── shuixi.jpg │ │ ├── video.png │ │ ├── weibo.png │ │ ├── weixin.png │ │ ├── 40239A7.png │ │ ├── 402F9CE.png │ │ ├── actCA12.png │ │ ├── bai4C20.png │ │ ├── baimasi.png │ │ ├── banA0D6.png │ │ ├── bg-bottom.png │ │ ├── describe.png │ │ ├── favicon.ico │ │ ├── feature.png │ │ ├── foot-logo.png │ │ ├── gooACC2.png │ │ ├── hot-info.png │ │ ├── int2173.png │ │ ├── introduce.png │ │ ├── lvm8E67.png │ │ ├── pms9C98.png │ │ ├── qun3B35.png │ │ ├── sea-hot.png │ │ ├── sea-title.png │ │ ├── smdABFD.png │ │ ├── top-arrow.png │ │ ├── top1BC4.png │ │ ├── wei-code.png │ │ ├── wrap_01.png │ │ ├── wrap_02.png │ │ ├── wzg7B42.png │ │ ├── xieE7A6.png │ │ ├── chongduogou.jpg │ │ ├── header_logo.png │ │ ├── hot-action.png │ │ ├── niuroutang.png │ │ ├── sea-action.png │ │ ├── wzgs_banner.png │ │ ├── yuntaishan.png │ │ ├── ydy_wenan_01.png │ │ └── gansu_experience_icon..png │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.woff2 │ ├── js │ │ ├── tj.js │ │ ├── npm.js │ │ ├── back-top.js │ │ └── loadmore.js │ └── css │ │ ├── css.css │ │ ├── style.css │ │ ├── reset.css │ │ └── info-ban.css ├── include │ ├── back-top.jsp │ ├── footer.jsp │ └── header.jsp ├── 404.html ├── map.html └── search-top.html ├── .DS_Store ├── .gitattributes ├── src ├── com │ └── trav │ │ └── cms │ │ ├── util │ │ ├── db.properties │ │ ├── DbConfig.java │ │ ├── DbUtil.java │ │ ├── Test.java │ │ └── Md5Code.java │ │ ├── banner │ │ ├── dao │ │ │ └── BanOper.java │ │ ├── service │ │ │ ├── BannerList.java │ │ │ ├── BannerShow.java │ │ │ └── BannerDel.java │ │ └── domain │ │ │ └── Banner.java │ │ ├── msg │ │ ├── dao │ │ │ └── MsgOper.java │ │ ├── service │ │ │ ├── MsgDel.java │ │ │ ├── MsgList.java │ │ │ └── MsgAdd.java │ │ └── domain │ │ │ └── Msg.java │ │ ├── scen │ │ ├── dao │ │ │ └── ScenOper.java │ │ └── service │ │ │ ├── Scens.java │ │ │ ├── ScenById.java │ │ │ ├── ScenDel.java │ │ │ ├── ScenList.java │ │ │ ├── ScenByName.java │ │ │ └── ScenShow.java │ │ ├── user │ │ ├── dao │ │ │ └── UserOper.java │ │ └── service │ │ │ ├── UserDel.java │ │ │ ├── UserPwdEdit.java │ │ │ ├── UserById.java │ │ │ ├── UserList.java │ │ │ ├── UserEdit.java │ │ │ └── UserAdd.java │ │ ├── info │ │ ├── dao │ │ │ └── InfoOper.java │ │ ├── service │ │ │ ├── InfoList.java │ │ │ ├── InfoById.java │ │ │ ├── InfoDel.java │ │ │ └── InfoShow.java │ │ └── domain │ │ │ └── Info.java │ │ └── admin │ │ ├── Admin.java │ │ └── AdminLogin.java └── Log4j.properties ├── travel.iml └── README.md /WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/.DS_Store -------------------------------------------------------------------------------- /WebContent/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/.DS_Store -------------------------------------------------------------------------------- /WebContent/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/favicon.ico -------------------------------------------------------------------------------- /WebContent/admin/logo.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/logo.psd -------------------------------------------------------------------------------- /WebContent/image/scen/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/1.jpg -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.js linguist-language=java 2 | *.css linguist-language=java 3 | *.html linguist-language=java 4 | *.vue linguist-language=java -------------------------------------------------------------------------------- /WebContent/404/_images/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/404/_images/bg.jpg -------------------------------------------------------------------------------- /WebContent/WEB-INF/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/WEB-INF/favicon.ico -------------------------------------------------------------------------------- /WebContent/admin/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/favicon.ico -------------------------------------------------------------------------------- /WebContent/image/banner/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/banner/1.jpg -------------------------------------------------------------------------------- /WebContent/image/banner/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/banner/2.jpg -------------------------------------------------------------------------------- /WebContent/image/banner/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/banner/3.jpg -------------------------------------------------------------------------------- /WebContent/image/banner/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/banner/5.jpg -------------------------------------------------------------------------------- /WebContent/image/scen/gudu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/gudu.png -------------------------------------------------------------------------------- /WebContent/image/scen/long.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/long.jpg -------------------------------------------------------------------------------- /WebContent/image/scen/pic.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/pic.jpg -------------------------------------------------------------------------------- /WebContent/public/img/1px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/1px.png -------------------------------------------------------------------------------- /WebContent/public/img/ban.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/ban.jpg -------------------------------------------------------------------------------- /WebContent/public/img/ban1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/ban1.jpg -------------------------------------------------------------------------------- /WebContent/public/img/food.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/food.png -------------------------------------------------------------------------------- /WebContent/public/img/gudu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/gudu.png -------------------------------------------------------------------------------- /WebContent/public/img/next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/next.png -------------------------------------------------------------------------------- /WebContent/public/img/play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/play.png -------------------------------------------------------------------------------- /WebContent/public/img/prev.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/prev.png -------------------------------------------------------------------------------- /WebContent/404/_images/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/404/_images/home.png -------------------------------------------------------------------------------- /WebContent/admin/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/logo.png -------------------------------------------------------------------------------- /WebContent/admin/images/next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/next.png -------------------------------------------------------------------------------- /WebContent/admin/images/prev.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/prev.png -------------------------------------------------------------------------------- /WebContent/admin/images/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/user.png -------------------------------------------------------------------------------- /WebContent/image/info/ava-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/info/ava-1.jpg -------------------------------------------------------------------------------- /WebContent/image/info/ava-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/info/ava-2.jpg -------------------------------------------------------------------------------- /WebContent/image/info/ava-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/info/ava-3.jpg -------------------------------------------------------------------------------- /WebContent/image/info/ava-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/info/ava-4.jpg -------------------------------------------------------------------------------- /WebContent/image/info/ava-5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/info/ava-5.jpg -------------------------------------------------------------------------------- /WebContent/image/info/shuixi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/info/shuixi.jpg -------------------------------------------------------------------------------- /WebContent/image/info/video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/info/video.png -------------------------------------------------------------------------------- /WebContent/image/scen/shiku.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/shiku.jpg -------------------------------------------------------------------------------- /WebContent/image/scen/slide1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/slide1.jpg -------------------------------------------------------------------------------- /WebContent/image/scen/slide2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/slide2.jpg -------------------------------------------------------------------------------- /WebContent/image/scen/slide3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/slide3.jpg -------------------------------------------------------------------------------- /WebContent/image/scen/slide4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/slide4.jpg -------------------------------------------------------------------------------- /WebContent/image/scen/slide5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/slide5.jpg -------------------------------------------------------------------------------- /WebContent/public/img/beauty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/beauty.png -------------------------------------------------------------------------------- /WebContent/public/img/gss120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/gss120.png -------------------------------------------------------------------------------- /WebContent/public/img/shuixi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/shuixi.jpg -------------------------------------------------------------------------------- /WebContent/public/img/video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/video.png -------------------------------------------------------------------------------- /WebContent/public/img/weibo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/weibo.png -------------------------------------------------------------------------------- /WebContent/public/img/weixin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/weixin.png -------------------------------------------------------------------------------- /WebContent/404/_images/objects.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/404/_images/objects.png -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/jstl-1.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/WEB-INF/lib/jstl-1.2.jar -------------------------------------------------------------------------------- /WebContent/admin/images/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/Thumbs.db -------------------------------------------------------------------------------- /WebContent/admin/images/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/close.png -------------------------------------------------------------------------------- /WebContent/admin/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/loading.gif -------------------------------------------------------------------------------- /WebContent/admin/images/totop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/totop.png -------------------------------------------------------------------------------- /WebContent/image/banner/slide1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/banner/slide1.jpg -------------------------------------------------------------------------------- /WebContent/image/banner/slide2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/banner/slide2.jpg -------------------------------------------------------------------------------- /WebContent/image/banner/slide3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/banner/slide3.jpg -------------------------------------------------------------------------------- /WebContent/image/banner/slide4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/banner/slide4.jpg -------------------------------------------------------------------------------- /WebContent/image/banner/slide5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/banner/slide5.jpg -------------------------------------------------------------------------------- /WebContent/image/banner/wrap_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/banner/wrap_01.png -------------------------------------------------------------------------------- /WebContent/image/banner/wrap_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/banner/wrap_02.png -------------------------------------------------------------------------------- /WebContent/image/index_banner1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/index_banner1.jpg -------------------------------------------------------------------------------- /WebContent/image/info/2014271.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/info/2014271.jpg -------------------------------------------------------------------------------- /WebContent/image/info/2015B90.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/info/2015B90.jpg -------------------------------------------------------------------------------- /WebContent/image/info/20191CF.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/info/20191CF.jpg -------------------------------------------------------------------------------- /WebContent/image/info/201BB71.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/info/201BB71.jpg -------------------------------------------------------------------------------- /WebContent/image/info/402A6DB.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/info/402A6DB.jpg -------------------------------------------------------------------------------- /WebContent/image/info/bai4C20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/info/bai4C20.png -------------------------------------------------------------------------------- /WebContent/image/info/baimasi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/info/baimasi.png -------------------------------------------------------------------------------- /WebContent/image/info/lvm8E67.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/info/lvm8E67.png -------------------------------------------------------------------------------- /WebContent/image/info/xieE7A6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/info/xieE7A6.png -------------------------------------------------------------------------------- /WebContent/image/scen/2c9661B.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/2c9661B.png -------------------------------------------------------------------------------- /WebContent/image/scen/402C245.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/402C245.jpg -------------------------------------------------------------------------------- /WebContent/image/scen/baimasi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/baimasi.jpg -------------------------------------------------------------------------------- /WebContent/image/scen/lijingmen.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/lijingmen.jpg -------------------------------------------------------------------------------- /WebContent/image/scen/lijinmen.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/lijinmen.jpg -------------------------------------------------------------------------------- /WebContent/image/scen/longmen.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/longmen.jpg -------------------------------------------------------------------------------- /WebContent/image/scen/suitang.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/suitang.jpg -------------------------------------------------------------------------------- /WebContent/image/scen/xunyicao.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/xunyicao.jpg -------------------------------------------------------------------------------- /WebContent/public/img/40239A7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/40239A7.png -------------------------------------------------------------------------------- /WebContent/public/img/402F9CE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/402F9CE.png -------------------------------------------------------------------------------- /WebContent/public/img/actCA12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/actCA12.png -------------------------------------------------------------------------------- /WebContent/public/img/bai4C20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/bai4C20.png -------------------------------------------------------------------------------- /WebContent/public/img/baimasi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/baimasi.png -------------------------------------------------------------------------------- /WebContent/public/img/banA0D6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/banA0D6.png -------------------------------------------------------------------------------- /WebContent/public/img/bg-bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/bg-bottom.png -------------------------------------------------------------------------------- /WebContent/public/img/describe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/describe.png -------------------------------------------------------------------------------- /WebContent/public/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/favicon.ico -------------------------------------------------------------------------------- /WebContent/public/img/feature.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/feature.png -------------------------------------------------------------------------------- /WebContent/public/img/foot-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/foot-logo.png -------------------------------------------------------------------------------- /WebContent/public/img/gooACC2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/gooACC2.png -------------------------------------------------------------------------------- /WebContent/public/img/hot-info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/hot-info.png -------------------------------------------------------------------------------- /WebContent/public/img/int2173.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/int2173.png -------------------------------------------------------------------------------- /WebContent/public/img/introduce.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/introduce.png -------------------------------------------------------------------------------- /WebContent/public/img/lvm8E67.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/lvm8E67.png -------------------------------------------------------------------------------- /WebContent/public/img/pms9C98.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/pms9C98.png -------------------------------------------------------------------------------- /WebContent/public/img/qun3B35.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/qun3B35.png -------------------------------------------------------------------------------- /WebContent/public/img/sea-hot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/sea-hot.png -------------------------------------------------------------------------------- /WebContent/public/img/sea-title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/sea-title.png -------------------------------------------------------------------------------- /WebContent/public/img/smdABFD.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/smdABFD.png -------------------------------------------------------------------------------- /WebContent/public/img/top-arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/top-arrow.png -------------------------------------------------------------------------------- /WebContent/public/img/top1BC4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/top1BC4.png -------------------------------------------------------------------------------- /WebContent/public/img/wei-code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/wei-code.png -------------------------------------------------------------------------------- /WebContent/public/img/wrap_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/wrap_01.png -------------------------------------------------------------------------------- /WebContent/public/img/wrap_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/wrap_02.png -------------------------------------------------------------------------------- /WebContent/public/img/wzg7B42.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/wzg7B42.png -------------------------------------------------------------------------------- /WebContent/public/img/xieE7A6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/xieE7A6.png -------------------------------------------------------------------------------- /WebContent/WEB-INF/404/_images/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/WEB-INF/404/_images/bg.jpg -------------------------------------------------------------------------------- /WebContent/admin/font/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/font/FontAwesome.otf -------------------------------------------------------------------------------- /WebContent/admin/images/acrossTab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/acrossTab.png -------------------------------------------------------------------------------- /WebContent/admin/images/hamburger.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/hamburger.gif -------------------------------------------------------------------------------- /WebContent/admin/images/head_120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/head_120.png -------------------------------------------------------------------------------- /WebContent/admin/images/icon-add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/icon-add.png -------------------------------------------------------------------------------- /WebContent/admin/images/icon-pass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/icon-pass.png -------------------------------------------------------------------------------- /WebContent/admin/images/icon-user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/icon-user.png -------------------------------------------------------------------------------- /WebContent/admin/images/icon_jt2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/icon_jt2.png -------------------------------------------------------------------------------- /WebContent/admin/images/login-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/login-bg.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/login_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/login_bg.png -------------------------------------------------------------------------------- /WebContent/admin/images/login_pas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/login_pas.png -------------------------------------------------------------------------------- /WebContent/admin/images/sort_asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/sort_asc.png -------------------------------------------------------------------------------- /WebContent/admin/images/sort_both.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/sort_both.png -------------------------------------------------------------------------------- /WebContent/admin/images/sort_desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/sort_desc.png -------------------------------------------------------------------------------- /WebContent/image/info/yujinxiang.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/info/yujinxiang.jpg -------------------------------------------------------------------------------- /WebContent/image/scen/chongdugou.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/chongdugou.jpg -------------------------------------------------------------------------------- /WebContent/image/scen/jiguandong.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/jiguandong.jpg -------------------------------------------------------------------------------- /WebContent/image/scen/laojunshan.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/laojunshan.jpg -------------------------------------------------------------------------------- /WebContent/image/scen/longtanxia.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/longtanxia.jpg -------------------------------------------------------------------------------- /WebContent/image/scen/xiaolangdi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/xiaolangdi.jpg -------------------------------------------------------------------------------- /WebContent/image/scen/yujinxiang.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/yujinxiang.jpg -------------------------------------------------------------------------------- /WebContent/image/scen/yuntaishan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/scen/yuntaishan.png -------------------------------------------------------------------------------- /WebContent/public/img/chongduogou.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/chongduogou.jpg -------------------------------------------------------------------------------- /WebContent/public/img/header_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/header_logo.png -------------------------------------------------------------------------------- /WebContent/public/img/hot-action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/hot-action.png -------------------------------------------------------------------------------- /WebContent/public/img/niuroutang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/niuroutang.png -------------------------------------------------------------------------------- /WebContent/public/img/sea-action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/sea-action.png -------------------------------------------------------------------------------- /WebContent/public/img/wzgs_banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/wzgs_banner.png -------------------------------------------------------------------------------- /WebContent/public/img/yuntaishan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/yuntaishan.png -------------------------------------------------------------------------------- /WebContent/WEB-INF/404/_images/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/WEB-INF/404/_images/home.png -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/commons-lang.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/WEB-INF/lib/commons-lang.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/ezmorph-1.0.6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/WEB-INF/lib/ezmorph-1.0.6.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/log4j-1.2.17.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/WEB-INF/lib/log4j-1.2.17.jar -------------------------------------------------------------------------------- /WebContent/admin/images/acrossTab-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/acrossTab-bg.png -------------------------------------------------------------------------------- /WebContent/admin/images/header_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/header_logo.png -------------------------------------------------------------------------------- /WebContent/admin/images/icon_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/icon_arrow.png -------------------------------------------------------------------------------- /WebContent/admin/images/icon_error_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/icon_error_s.png -------------------------------------------------------------------------------- /WebContent/admin/images/icon_right_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/icon_right_s.png -------------------------------------------------------------------------------- /WebContent/admin/images/loading_072.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/loading_072.gif -------------------------------------------------------------------------------- /WebContent/admin/images/login_bg_0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/login_bg_0.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/login_user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/login_user.png -------------------------------------------------------------------------------- /WebContent/image/banner/ydy_wenan_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/banner/ydy_wenan_01.png -------------------------------------------------------------------------------- /WebContent/image/banner/ydy_wenan_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/image/banner/ydy_wenan_02.png -------------------------------------------------------------------------------- /WebContent/public/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /WebContent/public/img/ydy_wenan_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/ydy_wenan_01.png -------------------------------------------------------------------------------- /WebContent/WEB-INF/404/_images/objects.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/WEB-INF/404/_images/objects.png -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/commons-logging.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/WEB-INF/lib/commons-logging.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/jsmartcom_zh_CN.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/WEB-INF/lib/jsmartcom_zh_CN.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/standard-1.1.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/WEB-INF/lib/standard-1.1.2.jar -------------------------------------------------------------------------------- /WebContent/admin/images/admin-login-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/admin-login-bg.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/icon_warning_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/icon_warning_s.png -------------------------------------------------------------------------------- /WebContent/404/_fonts/jennasue-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/404/_fonts/jennasue-webfont.woff -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/commons-beanutils.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/WEB-INF/lib/commons-beanutils.jar -------------------------------------------------------------------------------- /WebContent/admin/font/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/font/fontawesome-webfont.eot -------------------------------------------------------------------------------- /WebContent/admin/font/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/font/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /WebContent/admin/images/acrossTab-close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/acrossTab-close.png -------------------------------------------------------------------------------- /WebContent/admin/images/hamburger-retina.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/hamburger-retina.gif -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/json-lib-2.2.2-jdk15.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/WEB-INF/lib/json-lib-2.2.2-jdk15.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/json-lib-2.2.3-jdk15.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/WEB-INF/lib/json-lib-2.2.3-jdk15.jar -------------------------------------------------------------------------------- /WebContent/admin/font/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/font/fontawesome-webfont.woff -------------------------------------------------------------------------------- /WebContent/admin/images/admin-loginform-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/images/admin-loginform-bg.png -------------------------------------------------------------------------------- /WebContent/admin/layer/skin/default/textbg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/layer/skin/default/textbg.png -------------------------------------------------------------------------------- /WebContent/public/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /WebContent/public/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/commons-collections-3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/WEB-INF/lib/commons-collections-3.1.jar -------------------------------------------------------------------------------- /WebContent/admin/layer/skin/default/icon_ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/layer/skin/default/icon_ext.png -------------------------------------------------------------------------------- /WebContent/admin/layer/skin/default/xubox_ico0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/layer/skin/default/xubox_ico0.png -------------------------------------------------------------------------------- /WebContent/public/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /WebContent/public/img/gansu_experience_icon..png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/img/gansu_experience_icon..png -------------------------------------------------------------------------------- /WebContent/WEB-INF/404/_fonts/jennasue-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/WEB-INF/404/_fonts/jennasue-webfont.woff -------------------------------------------------------------------------------- /WebContent/admin/layer/skin/default/xubox_title0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/layer/skin/default/xubox_title0.png -------------------------------------------------------------------------------- /WebContent/admin/layer/skin/default/xubox_loading0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/layer/skin/default/xubox_loading0.gif -------------------------------------------------------------------------------- /WebContent/admin/layer/skin/default/xubox_loading1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/layer/skin/default/xubox_loading1.gif -------------------------------------------------------------------------------- /WebContent/admin/layer/skin/default/xubox_loading2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/layer/skin/default/xubox_loading2.gif -------------------------------------------------------------------------------- /WebContent/admin/layer/skin/default/xubox_loading3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/admin/layer/skin/default/xubox_loading3.gif -------------------------------------------------------------------------------- /WebContent/public/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /WebContent/public/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /WebContent/public/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/mysql-connector-java-5.1.19-bin.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/WEB-INF/lib/mysql-connector-java-5.1.19-bin.jar -------------------------------------------------------------------------------- /WebContent/public/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/LuoyangTourismManagementSystem/HEAD/WebContent/public/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /WebContent/admin/info-show.jsp: -------------------------------------------------------------------------------- 1 | <%@page contentType="text/html"%> 2 | <%@page pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 | 资讯页 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /WebContent/include/back-top.jsp: -------------------------------------------------------------------------------- 1 | <%@page contentType="text/html"%> 2 | <%@page pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 | JSP Page 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /WebContent/public/js/tj.js: -------------------------------------------------------------------------------- 1 | var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1258566963'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s95.cnzz.com/z_stat.php%3Fid%3D1258566963' type='text/javascript'%3E%3C/script%3E"));document.querySelector('#cnzz_stat_icon_1258566963').style.display='none'; -------------------------------------------------------------------------------- /src/com/trav/cms/util/db.properties: -------------------------------------------------------------------------------- 1 | #DRIVER_CLASS=oracle.jdbc.driver.OracleDriver 2 | #DB_URL=jdbc:oracle:thin:@ 3 | #DB_IP=localhost 4 | #DB_PORT=:1521 5 | #DB_SID=:orcl 6 | #USER=system 7 | #PASS=123456 8 | 9 | PROJ_NAME=travel 10 | DRIVER_CLASS=com.mysql.jdbc.Driver 11 | DB_URL=jdbc:mysql:// 12 | DB_IP =localhost 13 | DB_PORT=:3306 14 | DB_SID=/graduation_trav_cms 15 | USER=root 16 | PWD =123456 17 | CODE=?useUnicode=true&characterEncoding=UTF-8 18 | -------------------------------------------------------------------------------- /WebContent/admin/js/de_DE.txt: -------------------------------------------------------------------------------- 1 | { 2 | "processing": "处理中...", 3 | "lengthMenu": "每页显示 _MENU_ 条", 4 | "zeroRecords": "没有找到匹配的记录", 5 | "sProcessing": "<img src=’./loading.gif’ />", 6 | "info": "显示 _START_ 到 _END_ ,共 _TOTAL_ 条", 7 | "infoEmpty": "0条", 8 | "infoFiltered": "(从 _MAX_ 条中过滤)", 9 | "infoPostFix": "", 10 | "search": "当前检索", 11 | "url": "", 12 | "paginate": { 13 | "first": "第一页", 14 | "previous": "上一页", 15 | "next": "下一页", 16 | "last": "最后一页" 17 | } 18 | } -------------------------------------------------------------------------------- /WebContent/public/css/css.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'PT Sans Narrow'; 3 | font-style: normal; 4 | font-weight: 400; 5 | src: local('PT Sans Narrow'), local('PTSans-Narrow'), url(../fonts/UyYrYy3ltEffJV9QueSi4RdbPw3QSf9R-kE0EsQUn2A.woff) format('woff'); 6 | } 7 | @font-face { 8 | font-family: 'PT Sans Narrow'; 9 | font-style: normal; 10 | font-weight: 700; 11 | src: local('PT Sans Narrow Bold'), local('PTSans-NarrowBold'), url(../fonts/Q_pTky3Sc3ubRibGToTAYiylde52zikAzebNtJS89aM.woff) format('woff'); 12 | } 13 | -------------------------------------------------------------------------------- /WebContent/admin/scen-show.jsp: -------------------------------------------------------------------------------- 1 | <%@page contentType="text/html"%> 2 | <%@page pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 | 20 | 轮播图 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /WebContent/public/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /src/com/trav/cms/banner/dao/BanOper.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.banner.dao; 2 | 3 | import java.io.IOException; 4 | import java.util.List; 5 | 6 | import com.trav.cms.banner.domain.Banner; 7 | 8 | 9 | 10 | public interface BanOper { 11 | 12 | 13 | public List listAll(); 14 | public boolean addBan(Banner banner) throws IOException; 15 | public boolean delBan(int banid); 16 | public boolean editBan(Banner banner); 17 | 18 | /*查找*/ 19 | public Banner findPicByName(String picname); 20 | 21 | 22 | /*获取总的个数*/ 23 | public int getCount(); 24 | 25 | } 26 | -------------------------------------------------------------------------------- /WebContent/admin/banner-show.jsp: -------------------------------------------------------------------------------- 1 | <%@page contentType="text/html"%> 2 | <%@page pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 | 20 | 轮播图 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /src/com/trav/cms/msg/dao/MsgOper.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.msg.dao; 2 | 3 | import java.util.List; 4 | 5 | import com.trav.cms.msg.domain.Msg; 6 | 7 | public interface MsgOper { 8 | /** 9 | * @author forguo 10 | * @date 2017-4-8 11 | * 留言CURD操作接口 12 | * */ 13 | public List listAll(); 14 | 15 | public List listMore(int offset,int size); 16 | 17 | public boolean addMsg(Msg msg); 18 | public boolean delMsg(int msgId); 19 | public boolean editMsg(Msg msg); 20 | 21 | 22 | /* 23 | * 根据留言Id、名查找 24 | */ 25 | public Msg findMsgById(int msgId); 26 | 27 | public Msg findMsgByName(String msgName); 28 | 29 | } 30 | -------------------------------------------------------------------------------- /src/com/trav/cms/scen/dao/ScenOper.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.scen.dao; 2 | 3 | import java.util.List; 4 | 5 | import com.trav.cms.scen.domain.Scen; 6 | 7 | public interface ScenOper { 8 | 9 | /* 10 | * 景点CURD操作接口 11 | * */ 12 | 13 | public List listAll(); 14 | 15 | public List listMore(int offset,int size); 16 | 17 | public boolean addScen(Scen scen); 18 | public boolean delScen(int scenid); 19 | public boolean editScen(Scen scen); 20 | 21 | 22 | 23 | /* 24 | * 根据景点名查找 25 | */ 26 | public Scen findScenById(int scenid); 27 | 28 | public List findScenByName(String scenname); 29 | 30 | 31 | } 32 | -------------------------------------------------------------------------------- /src/com/trav/cms/user/dao/UserOper.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.user.dao; 2 | 3 | import java.util.List; 4 | 5 | import com.trav.cms.user.domain.User; 6 | 7 | public interface UserOper { 8 | 9 | /** 10 | * 用户CURD操作 11 | * @author admin 12 | */ 13 | public List listAll(); 14 | public List listMore(int offset,int size); 15 | public boolean addUser(User user); 16 | public boolean delUser(int user_id); 17 | public boolean editUser(User user); 18 | public boolean editPwd(int user_id,String password); 19 | 20 | /* 21 | * 根据用户名查找 22 | */ 23 | public User findUserByName(String user_name); 24 | public User findUserById(int user_id); 25 | } 26 | -------------------------------------------------------------------------------- /src/com/trav/cms/info/dao/InfoOper.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.info.dao; 2 | 3 | import java.util.List; 4 | 5 | import com.trav.cms.info.domain.Info; 6 | 7 | public interface InfoOper { 8 | /** 9 | * @author forguo 10 | * @date 2017-4-8 11 | * 资讯CURD操作接口 12 | * */ 13 | 14 | public List listAll(); 15 | 16 | public List listMore(int offset,int size); 17 | 18 | public boolean addInfo(Info info); 19 | public boolean delInfo(int infoid); 20 | public boolean editInfo(Info info); 21 | 22 | 23 | 24 | /* 25 | * 根据资讯Id、名查找 26 | */ 27 | public Info findinfoById(int infoid); 28 | 29 | public Info findinfoByName(String infoname); 30 | 31 | 32 | } 33 | -------------------------------------------------------------------------------- /WebContent/public/js/back-top.js: -------------------------------------------------------------------------------- 1 | /* 返回顶部 */ 2 | /* js代码 */ 3 | $(function() { 4 | $(window).bind('scroll', { 5 | fixedOffsetBottom: parseInt($('.back-top').css('bottom')) 6 | }, 7 | function(e) { 8 | var scrollTop = $(window).scrollTop(); 9 | 10 | scrollTop > 100 ? $('.top-button').show() : $('.top-button').hide(); 11 | if(!/msie 6/i.test(navigator.userAgent)) { 12 | if($(window).height() - ($(window).scrollTop()) > e.data.fixedOffsetBottom) { 13 | $('.back-top').css('bottom', $(window).height() - ($(window).scrollTop())) 14 | } else { 15 | $('.back-top').css('bottom', e.data.fixedOffsetBottom) 16 | } 17 | } 18 | }); 19 | $('.top-button').click(function() { 20 | $('body,html').stop().animate({ 21 | 'scrollTop': 0, 22 | 'duration': 100, 23 | 'easing': 'ease-in' 24 | }) 25 | }); 26 | }); -------------------------------------------------------------------------------- /WebContent/public/css/style.css: -------------------------------------------------------------------------------- 1 | 2 | /*--------------SLIDER----------------*/ 3 | 4 | #slider { 5 | width: 55%; 6 | margin: 0px auto; 7 | } 8 | 9 | 10 | /*--------------CONTROLS--------------*/ 11 | 12 | /*position controls*/ 13 | .controls li { 14 | top: 50%; 15 | margin-top: -30px 16 | } 17 | 18 | .controls li:nth-child(1) { 19 | left: 0; 20 | } 21 | 22 | .controls li:nth-child(2) { 23 | right: 0; 24 | } 25 | 26 | 27 | /*------------PAGINATION------------*/ 28 | 29 | /*style pagination*/ 30 | .pagination li { 31 | background-color: #ddd; 32 | } 33 | 34 | .pagination li.active { 35 | background-color: #000; 36 | } 37 | 38 | 39 | /*-------------HELPERS----------------*/ 40 | 41 | .responsive { 42 | width: 100%; 43 | height: auto; 44 | } 45 | 46 | .clearfix:after { 47 | content: ""; 48 | display: table; 49 | clear: both; 50 | } -------------------------------------------------------------------------------- /src/Log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=DEBUG,Console,A1,A2 2 | # \u8F93\u51FA\u5230\u63A7\u5236\u53F0log4j.appender.A1=org.apache.log4j.ConsoleAppender 3 | #New 4 | log4j.appender.Console=org.apache.log4j.ConsoleAppender 5 | log4j.appender.Console.layout=org.apache.log4j.PatternLayout 6 | 7 | 8 | log4j.appender.Console.layout.ConversionPattern=\u6D1B\u9633\u65C5\u6E38\u7F51--%d{yyyy-MM-dd HH:mm:ss} %m%n 9 | log4j.appender.A1.layout=org.apache.log4j.PatternLayout 10 | log4j.appender.A1.layout.ConversionPattern =\u6D1B\u9633\u65C5\u6E38\u7F51--%d{yyyy-MM-dd HH:mm:ss} %m%n 11 | 12 | # \u8F93\u51FA\u5230\u6587\u4EF6\u5F53\u4E2D 13 | log4j.appender.A2=org.apache.log4j.FileAppender 14 | log4j.appender.A2.File=E:\\logging.log 15 | log4j.appender.A2.Append=true 16 | log4j.appender.A2.layout=org.apache.log4j.PatternLayout 17 | log4j.appender.A2.layout.ConversionPattern=\u6D1B\u9633\u65C5\u6E38\u7F51 %d{yyyy-MM-dd HH:mm:ss} %m%n -------------------------------------------------------------------------------- /WebContent/404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 404 - 页面丢失 - 洛阳旅游 6 | 8 | 10 | 11 | 12 |
13 |
14 | 15 |
16 |

Error 404

17 |

18 | There was a problem
19 |
The page you are looking for is not here or moved. 20 |

21 |
22 | 23 | 24 |
25 | Back to homepage 26 |
27 | 28 |
29 | 30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/error/404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 404 - 页面丢失 - 洛阳旅游 6 | 8 | 10 | 11 | 12 |
13 |
14 | 15 |
16 |

Error 404

17 |

18 | There was a problem
19 |
The page you are looking for is not here or moved. 20 |

21 |
22 | 23 | 24 |
25 | Back to homepage 26 |
27 | 28 |
29 | 30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/error/405.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 405 - 页面丢失 - 洛阳旅游 6 | 8 | 10 | 11 | 12 |
13 |
14 | 15 |
16 |

Error 405

17 |

18 | There was a problem
19 |
The page you are looking for is not here or moved. 20 |

21 |
22 | 23 | 24 |
25 | Back to homepage 26 |
27 | 28 |
29 | 30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/error/500.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 500 - 页面丢失 - 洛阳旅游 6 | 8 | 10 | 11 | 12 |
13 |
14 | 15 |
16 |

Error 500

17 |

18 | There was a problem
19 |
The page you are looking for is not here or moved. 20 |

21 |
22 | 23 | 24 |
25 | Back to homepage 26 |
27 | 28 |
29 | 30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /travel.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /WebContent/admin/codeing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 14 | 15 | 16 | 17 | 20 | 我的桌面 21 | 22 | 23 |
24 |

Sorry!功能暂且开发中……
25 | 下一版本更新!

26 |
27 | 28 | 29 | -------------------------------------------------------------------------------- /WebContent/admin/404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 14 | 15 | 16 | 17 | 20 | 404 您打开的页面不存在! 21 | 22 | 23 |
24 |

404 您打开的页面不存在!

25 |
26 | 27 | 28 | -------------------------------------------------------------------------------- /src/com/trav/cms/util/DbConfig.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.util; 2 | 3 | import java.io.FileNotFoundException; 4 | import java.io.IOException; 5 | import java.util.Properties; 6 | 7 | public class DbConfig { 8 | private static Properties pros = new Properties(); 9 | 10 | static{ 11 | try { 12 | // pros.load(new FileInputStream("src/com/hpe/dbutil/db.properties")); 13 | pros.load(DbConfig.class.getResourceAsStream("db.properties")); 14 | } catch (FileNotFoundException e) { 15 | // TODO Auto-generated catch block 16 | e.printStackTrace(); 17 | } catch (IOException e) { 18 | // TODO Auto-generated catch block 19 | e.printStackTrace(); 20 | } 21 | } 22 | 23 | public static final String DRIVER_CLASS = (String)pros.get("DRIVER_CLASS"); 24 | public static final String DB_URL = (String)pros.get("DB_URL"); 25 | public static final String DB_IP = (String)pros.get("DB_IP"); 26 | public static final String DB_PORT = (String)pros.get("DB_PORT"); 27 | public static final String DB_SID = (String)pros.get("DB_SID"); 28 | public static final String USER = (String)pros.get("USER"); 29 | public static final String PWD = (String)pros.get("PWD"); 30 | public static final String CODE = (String)pros.get("CODE"); 31 | } 32 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | travel 4 | 5 | 6 | login.jsp 7 | login.html 8 | index.jsp 9 | index.html 10 | index.htm 11 | login.htm 12 | default.jsp 13 | default.html 14 | default.htm 15 | 16 | 17 | 18 | 19 | 403 20 | /WEB-INF/error/403.html 21 | 22 | 23 | 404 24 | /WEB-INF/error/404.html 25 | 26 | 27 | 500 28 | /WEB-INF/error/500.html 29 | 30 | 31 | -------------------------------------------------------------------------------- /WebContent/public/css/reset.css: -------------------------------------------------------------------------------- 1 | /* http://meyerweb.com/eric/tools/css/reset/ 2 | v2.0 | 20110126 3 | License: none (public domain) 4 | */ 5 | 6 | html, body, div, span, applet, object, iframe, 7 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, 8 | a, abbr, acronym, address, big, cite, code, 9 | del, dfn, em, img, ins, kbd, q, s, samp, 10 | small, strike, strong, sub, sup, tt, var, 11 | b, u, i, center, 12 | dl, dt, dd, ol, ul, li, 13 | fieldset, form, label, legend, 14 | table, caption, tbody, tfoot, thead, tr, th, td, 15 | article, aside, canvas, details, embed, 16 | figure, figcaption, footer, header, hgroup, 17 | menu, nav, output, ruby, section, summary, 18 | time, mark, audio, video { 19 | margin: 0; 20 | padding: 0; 21 | border: 0; 22 | font-size: 100%; 23 | font: inherit; 24 | vertical-align: baseline; 25 | } 26 | /* HTML5 display-role reset for older browsers */ 27 | article, aside, details, figcaption, figure, 28 | footer, header, hgroup, menu, nav, section { 29 | display: block; 30 | } 31 | body { 32 | line-height: 1; 33 | } 34 | ol, ul { 35 | list-style: none; 36 | } 37 | blockquote, q { 38 | quotes: none; 39 | } 40 | blockquote:before, blockquote:after, 41 | q:before, q:after { 42 | content: ''; 43 | content: none; 44 | } 45 | table { 46 | border-collapse: collapse; 47 | border-spacing: 0; 48 | } -------------------------------------------------------------------------------- /WebContent/admin/js/passwordStrength-min.js: -------------------------------------------------------------------------------- 1 | (function(a){a.fn.passwordStrength=function(b){b=a.extend({},a.fn.passwordStrength.defaults,b);this.each(function(){var d=a(this),e=0,c=false,f=a(this).parents("form").find(".passwordStrength");d.bind("keyup blur",function(){e=a.fn.passwordStrength.ratepasswd(d.val(),b);e>=0&&c==false&&(c=true);f.find("span").removeClass("bgStrength");if(e<35&&e>=0){f.find("span:first").addClass("bgStrength")}else{if(e<60&&e>=35){f.find("span:lt(2)").addClass("bgStrength")}else{if(e>=60){f.find("span:lt(3)").addClass("bgStrength")}}}if(c&&(d.val().lengthb.maxLen)){b.showmsg(d,d.attr("errormsg"),3)}else{if(c){b.showmsg(d,"",2)}}b.trigger(d,!(e>=0))})})};a.fn.passwordStrength.ratepasswd=function(c,d){var b=c.length,e;if(b>=d.minLen&&b<=d.maxLen){e=a.fn.passwordStrength.checkStrong(c)}else{e=-1}return e/4*100};a.fn.passwordStrength.checkStrong=function(d){var e=0,b=d.length;for(var c=0;c=48&&b<=57){return 1}else{if(b>=65&&b<=90){return 2}else{if(b>=97&&b<=122){return 4}else{return 8}}}};a.fn.passwordStrength.bitTotal=function(b){var d=0;for(var c=0;c<4;c++){if(b&1){d++}b>>>=1}return d};a.fn.passwordStrength.defaults={minLen:0,maxLen:30,trigger:a.noop}})(jQuery); 2 | -------------------------------------------------------------------------------- /WebContent/map.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 13 | 14 | 洛阳 - 显示全景控件 15 | 16 | 17 |
18 |

在地图上添加全景控件,点击全景控件进入全景图

19 | 20 | 21 | 22 | 37 | -------------------------------------------------------------------------------- /src/com/trav/cms/info/service/InfoList.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.info.service; 2 | 3 | import java.io.IOException; 4 | import javax.servlet.ServletException; 5 | import javax.servlet.annotation.WebServlet; 6 | import javax.servlet.http.HttpServlet; 7 | import javax.servlet.http.HttpServletRequest; 8 | import javax.servlet.http.HttpServletResponse; 9 | 10 | /** 11 | * Servlet implementation class InfoList 12 | */ 13 | @WebServlet("/InfoList") 14 | public class InfoList extends HttpServlet { 15 | private static final long serialVersionUID = 1L; 16 | 17 | /** 18 | * @see HttpServlet#HttpServlet() 19 | */ 20 | public InfoList() { 21 | super(); 22 | // TODO Auto-generated constructor stub 23 | } 24 | 25 | /** 26 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) 27 | */ 28 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 29 | // TODO Auto-generated method stub 30 | 31 | } 32 | 33 | /** 34 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) 35 | */ 36 | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 37 | // TODO Auto-generated method stub 38 | doGet(request, response); 39 | } 40 | 41 | } 42 | -------------------------------------------------------------------------------- /src/com/trav/cms/scen/service/Scens.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.scen.service; 2 | 3 | import java.io.IOException; 4 | import javax.servlet.ServletException; 5 | import javax.servlet.annotation.WebServlet; 6 | import javax.servlet.http.HttpServlet; 7 | import javax.servlet.http.HttpServletRequest; 8 | import javax.servlet.http.HttpServletResponse; 9 | 10 | import com.trav.cms.scen.dao.ScenOperator; 11 | 12 | /** 13 | * Servlet implementation class Scens 14 | */ 15 | @WebServlet("/Scens") 16 | public class Scens extends HttpServlet { 17 | private static final long serialVersionUID = 1L; 18 | ScenOperator scenOperator=new ScenOperator(); 19 | /** 20 | * @see HttpServlet#HttpServlet() 21 | */ 22 | public Scens() { 23 | super(); 24 | // TODO Auto-generated constructor stub 25 | } 26 | 27 | /** 28 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) 29 | */ 30 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 31 | // TODO Auto-generated method stub 32 | 33 | request.setCharacterEncoding("UTF-8"); 34 | 35 | 36 | } 37 | 38 | /** 39 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) 40 | */ 41 | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 42 | // TODO Auto-generated method stub 43 | doGet(request, response); 44 | } 45 | 46 | } 47 | -------------------------------------------------------------------------------- /WebContent/public/css/info-ban.css: -------------------------------------------------------------------------------- 1 | /**************************** 2 | *描述:jquery自适应焦点图轮播css 3 | *作者:方林 4 | *版本:v1.0.0(2014.10.27) 5 | *备注:所有的图片请务必保持统一尺寸 6 | *****************************/ 7 | body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, input, button, 8 | p, th, td { 9 | margin: 0; 10 | padding: 0; 11 | } 12 | 13 | body { 14 | min-width: 320px; 15 | background-color: #f6f7f7; 16 | } 17 | 18 | a, img { 19 | border: 0; 20 | } 21 | 22 | .index_banner { 23 | position: relative; 24 | } 25 | 26 | .index_banner ul { 27 | overflow: hidden; 28 | } 29 | 30 | .index_banner li { 31 | position: absolute; 32 | top: 0; 33 | left: 0; 34 | overflow: hidden; 35 | width: 100%; 36 | 37 | } 38 | 39 | .index_banner li a { 40 | display: block; 41 | margin: 0 auto; 42 | } 43 | 44 | .index_banner cite { 45 | position: absolute; 46 | bottom: 10px; 47 | left: 50%; 48 | z-index: 999; 49 | display: block; 50 | margin-left: -144px; 51 | width: 288px; 52 | height: 15px; 53 | _display: none; 54 | } 55 | 56 | .index_banner cite span { 57 | float: left; 58 | display: block; 59 | margin: 0 4px; 60 | width: 40px; 61 | height: 8px; 62 | background-color: #e5e5e5; 63 | text-indent: -999em; 64 | opacity: .8; 65 | cursor: pointer; 66 | } 67 | 68 | .index_banner cite span:hover { 69 | background-color: #f5f5f5; 70 | } 71 | 72 | .index_banner cite span.cur { 73 | background-color: #1d8bd8; 74 | cursor: default; 75 | } 76 | 77 | .clear { 78 | clear: both; 79 | } 80 | 81 | .infos { 82 | margin-bottom: 45px; 83 | } -------------------------------------------------------------------------------- /WebContent/admin/css/signin.css: -------------------------------------------------------------------------------- 1 | body { 2 | background:url(../images/login-bg.jpg) #f8f6e9 no-repeat center center fixed; 3 | background-size: cover; 4 | width: 100%; 5 | height:100%; 6 | } 7 | 8 | .signin { 9 | width:477px; 10 | height:440px; 11 | background:url(../images/login_bg.png) no-repeat; 12 | margin:0 auto; 13 | opacity: 0.89; 14 | position:absolute; 15 | top:50%; 16 | left:50%; 17 | margin-top:-239px; 18 | margin-left:-238px; 19 | } 20 | .signin-head { 21 | margin:0 auto; 22 | padding-top:15px; 23 | width:120px; 24 | 25 | } 26 | .form-signin { 27 | max-width: 330px; 28 | padding: 43px 15px 15px 15px; 29 | margin: 0 auto; 30 | } 31 | .form-signin .checkbox { 32 | margin-bottom: 10px; 33 | } 34 | .form-signin .checkbox { 35 | font-weight: normal; 36 | } 37 | .form-signin .form-control { 38 | position: relative; 39 | font-size: 16px; 40 | height: auto; 41 | padding: 10px; 42 | -webkit-box-sizing: border-box; 43 | -moz-box-sizing: border-box; 44 | box-sizing: border-box; 45 | } 46 | .form-signin .form-control:focus { 47 | z-index: 2; 48 | } 49 | .form-signin input[type="text"] { 50 | margin-bottom: 14px; 51 | border-radius: 0; 52 | background: url(../images/login_user.png) 0 0 #bdbdbd no-repeat; 53 | padding-left:60px; 54 | color:#171515; 55 | } 56 | .form-signin input[type="password"] { 57 | margin-bottom: 10px; 58 | border-radius: 0; 59 | background: url(../images/login_pas.png) 0 0 #bdbdbd no-repeat; 60 | padding-left:60px; 61 | color:#171515; 62 | } 63 | .form-signin button { 64 | border-radius: 0; 65 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 全目录 2 | 3 | [更多系统、论文,供君选择 ~~>](https://www.yuque.com/wisebit/blog) 4 | 5 | # 145.LuoyangTourismManagementSystem 6 | 7 |

群: 983063232(大佬群 2TB学习资料,讲解)(入群获取sql文件)

8 | 9 |

145.洛阳旅游管理系统

10 | 11 | 12 |

13 | 14 | 15 | 16 | 17 |

18 | 19 | # 简介 20 | 21 | 22 | > 本代码来源于网络,仅供学习参考使用,请入群(983063232)后联系群主索要sql文件! 23 | > 24 | > 提供1.远程部署/2.修改代码/3.设计文档指导/4.框架代码讲解等服务 25 | 26 | >http://localhost:8080/travel/admin/login.jsp 27 | > 28 | > admin admin 29 | 30 | 31 | # 环境 32 | 33 | - IntelliJ IDEA 2009.3 34 | 35 | - Mysql 5.7.26 36 | 37 | - Tomcat 9.0.73 38 | 39 | - JDK 1.8 40 | 41 | 42 | 43 | 44 | ## 缩略图 45 | 46 | 47 | ![](https://bitwise.oss-cn-heyuan.aliyuncs.com/2024/9/10/2c5ae25a-d242-4fee-93f1-961c7f3e317e.png) 48 | ![](https://bitwise.oss-cn-heyuan.aliyuncs.com/2024/9/10/d9801431-02ea-4018-b974-be43eb39a8b1.png) 49 | ![](https://bitwise.oss-cn-heyuan.aliyuncs.com/2024/9/10/39c5fbfd-9eec-48bf-b2c7-8d239e537e15.png) 50 | ![](https://bitwise.oss-cn-heyuan.aliyuncs.com/2024/9/10/3b6dedf5-3817-429f-a62b-ebb5a15fd754.png) 51 | ![](https://bitwise.oss-cn-heyuan.aliyuncs.com/2024/9/10/b7f4dd77-0efc-46c7-90b6-2d9b97a1a842.png) 52 | ![](https://bitwise.oss-cn-heyuan.aliyuncs.com/2024/9/10/a49d3acc-47e2-4273-bd3d-81a27643d21a.png) 53 | 54 | -------------------------------------------------------------------------------- /src/com/trav/cms/admin/Admin.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.admin; 2 | 3 | import java.io.IOException; 4 | 5 | import javax.servlet.RequestDispatcher; 6 | import javax.servlet.ServletException; 7 | import javax.servlet.annotation.WebServlet; 8 | import javax.servlet.http.HttpServlet; 9 | import javax.servlet.http.HttpServletRequest; 10 | import javax.servlet.http.HttpServletResponse; 11 | 12 | /** 13 | * Servlet implementation class AdminServlet 14 | * @author admin 15 | * @date 2017/4/1 16 | * 欢迎登录 17 | */ 18 | @WebServlet("/admin/") 19 | public class Admin extends HttpServlet { 20 | private static final long serialVersionUID = 1L; 21 | 22 | /** 23 | * @see HttpServlet#HttpServlet() 24 | */ 25 | public Admin() { 26 | super(); 27 | // TODO Auto-generated constructor stub 28 | } 29 | 30 | /** 31 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) 32 | */ 33 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 34 | // TODO Auto-generated method stub 35 | System.out.print("欢迎登录"); 36 | 37 | /*利用转发跳转至后台登录页面*/ 38 | RequestDispatcher dispatcher=request.getRequestDispatcher("/admin/login.jsp"); 39 | dispatcher.forward(request, response); 40 | 41 | } 42 | 43 | /** 44 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) 45 | */ 46 | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 47 | // TODO Auto-generated method stub 48 | doGet(request, response); 49 | } 50 | 51 | } 52 | -------------------------------------------------------------------------------- /WebContent/public/js/loadmore.js: -------------------------------------------------------------------------------- 1 | /* 2 | * loadmore.js 3 | * 加载更多 4 | * 5 | * @time 2016-4-18 17:40:25 6 | * @author 飞鸿影~ 7 | * @email jiancaigege@163.com 8 | * 可以传的参数默认有:size,scroll 可以自定义 9 | * */ 10 | 11 | ;(function(w,$){ 12 | 13 | var loadmore = { 14 | /*单页加载更多 通用方法 15 | * 16 | * @param callback 回调方法 17 | * @param config 自定义参数 18 | * */ 19 | get : function(callback, config){ 20 | var config = config ? config : {}; /*防止未传参数报错*/ 21 | 22 | var counter = 0; /*计数器*/ 23 | var pageStart = 0; 24 | var pageSize = config.size ? config.size : 10; 25 | 26 | /*默认通过点击加载更多*/ 27 | $(document).on('click', '.js-load-more', function(){ 28 | counter ++; 29 | pageStart = counter * pageSize; 30 | 31 | callback && callback(config, pageStart, pageSize); 32 | }); 33 | 34 | /*通过自动监听滚动事件加载更多,可选支持*/ 35 | config.isEnd = false; /*结束标志*/ 36 | config.isAjax = false; /*防止滚动过快,服务端没来得及响应造成多次请求*/ 37 | $(window).scroll(function(){ 38 | 39 | /*是否开启滚动加载*/ 40 | if(!config.scroll){ 41 | return; 42 | } 43 | 44 | /*滚动加载时如果已经没有更多的数据了、正在发生请求时,不能继续进行*/ 45 | if(config.isEnd == true || config.isAjax == true){ 46 | return; 47 | } 48 | 49 | /*当滚动到最底部以上100像素时, 加载新内容*/ 50 | if ($(document).height() - $(this).scrollTop() - $(this).height()<100){ 51 | counter ++; 52 | pageStart = counter * pageSize; 53 | 54 | callback && callback(config, pageStart, pageSize); 55 | } 56 | }); 57 | 58 | /*第一次自动加载*/ 59 | callback && callback(config, pageStart, pageSize); 60 | }, 61 | 62 | } 63 | 64 | $.loadmore = loadmore; 65 | })(window, window.jQuery || window.Zepto); -------------------------------------------------------------------------------- /WebContent/include/footer.jsp: -------------------------------------------------------------------------------- 1 | <%@page contentType="text/html"%> 2 | <%@page pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 |
7 | 50 |
51 | 52 | -------------------------------------------------------------------------------- /WebContent/admin/login.jsp: -------------------------------------------------------------------------------- 1 | <%@page contentType="text/html"%> 2 | <%@page pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 后台登录 - 洛阳游 17 | 18 | 19 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 45 | -------------------------------------------------------------------------------- /src/com/trav/cms/user/service/UserDel.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.user.service; 2 | 3 | import java.io.IOException; 4 | import java.io.PrintWriter; 5 | 6 | import javax.servlet.ServletException; 7 | import javax.servlet.annotation.WebServlet; 8 | import javax.servlet.http.HttpServlet; 9 | import javax.servlet.http.HttpServletRequest; 10 | import javax.servlet.http.HttpServletResponse; 11 | 12 | import com.trav.cms.user.dao.UserOperator; 13 | 14 | /** 15 | * Servlet implementation class UserDel 16 | */ 17 | @WebServlet("/admin/UserDel") 18 | public class UserDel extends HttpServlet { 19 | private static final long serialVersionUID = 1L; 20 | UserOperator userOperator=new UserOperator(); 21 | /** 22 | * @see HttpServlet#HttpServlet() 23 | */ 24 | public UserDel() { 25 | super(); 26 | // TODO Auto-generated constructor stub 27 | } 28 | 29 | /** 30 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) 31 | */ 32 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 33 | // TODO Auto-generated method stub 34 | request.setCharacterEncoding("UTF-8"); 35 | response.setContentType("text/html;charset=UTF-8"); 36 | PrintWriter out=response.getWriter(); 37 | 38 | int userid = Integer.parseInt(request.getParameter("userid")); 39 | 40 | if (userOperator.delUser(userid)) { 41 | out.flush();//清空缓存 42 | out.println("");//输出script结尾标签 46 | } 47 | 48 | out.close(); 49 | 50 | } 51 | 52 | /** 53 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) 54 | */ 55 | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 56 | // TODO Auto-generated method stub 57 | doGet(request, response); 58 | } 59 | 60 | } 61 | -------------------------------------------------------------------------------- /src/com/trav/cms/util/DbUtil.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.util; 2 | 3 | import java.sql.Connection; 4 | import java.sql.DriverManager; 5 | import java.sql.PreparedStatement; 6 | import java.sql.ResultSet; 7 | import java.sql.SQLException; 8 | 9 | public class DbUtil { 10 | /** 11 | * @author forguo 12 | * @date 2017-4-1 13 | * 数据库连接工具类 14 | */ 15 | 16 | //静态代码块 17 | static { 18 | try { 19 | /*1加载驱动*/ 20 | Class.forName(DbConfig.DRIVER_CLASS); 21 | //oracle.jdbc.driver.OracleDriver Oracle 22 | } 23 | catch (ClassNotFoundException e) { 24 | // TODO Auto-generated catch block 25 | e.printStackTrace(); 26 | } 27 | } 28 | /* 29 | * 连接参数 30 | * */ 31 | //Oracle static String url = "jdbc:oracle:thin:@localhost:1521:orcl"; 32 | static String url = DbConfig.DB_URL + DbConfig.DB_IP + DbConfig.DB_PORT + DbConfig.DB_SID+DbConfig.CODE; 33 | static String user = DbConfig.USER; 34 | static String pwd = DbConfig.PWD; 35 | 36 | public static Connection getConn() { 37 | Connection conn = null; 38 | try { 39 | /* 2.创建连接 */ 40 | conn = DriverManager.getConnection(url, user, pwd); 41 | System.out.println("*--------------------------------------------------*"); 42 | System.out.println("Db-MySql-getConnection!"); 43 | System.out.println("user:"+user+" , pwd:"+pwd); 44 | 45 | } catch (SQLException e) { 46 | // TODO Auto-generated catch block 47 | e.printStackTrace(); 48 | } 49 | if (conn == null) { 50 | return null; 51 | } 52 | return conn; 53 | } 54 | 55 | /* 56 | *关闭连接 57 | * */ 58 | public static void closeConn(Connection conn, PreparedStatement ps, 59 | ResultSet rs) { 60 | try { 61 | System.out.println("Close connection!"); 62 | System.out.println("*--------------------------------------------------*"); 63 | if (conn != null) { 64 | conn.close(); 65 | } 66 | if (ps != null) { 67 | ps.close(); 68 | } 69 | if (rs != null) { 70 | rs.close(); 71 | } 72 | } catch (SQLException e) { 73 | // TODO Auto-generated catch block 74 | e.printStackTrace(); 75 | } 76 | } 77 | } -------------------------------------------------------------------------------- /src/com/trav/cms/banner/service/BannerList.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.banner.service; 2 | 3 | import java.io.IOException; 4 | import java.util.List; 5 | 6 | import javax.servlet.ServletException; 7 | import javax.servlet.annotation.WebServlet; 8 | import javax.servlet.http.HttpServlet; 9 | import javax.servlet.http.HttpServletRequest; 10 | import javax.servlet.http.HttpServletResponse; 11 | 12 | import com.trav.cms.banner.dao.BanOperator; 13 | import com.trav.cms.banner.domain.Banner; 14 | 15 | /** 16 | * Servlet implementation class BannerList 17 | */ 18 | @WebServlet("/admin/BannerList") 19 | public class BannerList extends HttpServlet { 20 | private static final long serialVersionUID = 1L; 21 | 22 | BanOperator banOperator=new BanOperator(); 23 | 24 | /** 25 | * @see HttpServlet#HttpServlet() 26 | */ 27 | public BannerList() { 28 | super(); 29 | // TODO Auto-generated constructor stub 30 | } 31 | 32 | /** 33 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) 34 | */ 35 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 36 | // TODO Auto-generated method stub 37 | request.setCharacterEncoding("UTF-8"); 38 | response.setContentType("text/html;charset=UTF-8"); 39 | System.out.println("*--------------------------------------------------*"); 40 | System.out.println("*-查询所有轮播图-----/admin/BannerList"); 41 | 42 | try { 43 | List list=banOperator.listAll(); 44 | 45 | // 转发 46 | request.setAttribute("banner",list); 47 | request.getRequestDispatcher("banner-list.jsp").forward(request,response); 48 | } catch (Exception e) { 49 | // TODO Auto-generated catch block 50 | e.printStackTrace(); 51 | } 52 | } 53 | 54 | /** 55 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) 56 | */ 57 | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 58 | // TODO Auto-generated method stub 59 | doGet(request, response); 60 | } 61 | 62 | } 63 | -------------------------------------------------------------------------------- /src/com/trav/cms/banner/domain/Banner.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.banner.domain; 2 | 3 | public class Banner { 4 | /* 5 | * 轮播图实体类 6 | */ 7 | 8 | private int banid; 9 | private String banname; 10 | private String bantitle; 11 | private String banpath; 12 | private int scenid; 13 | public int getScenid() { 14 | return scenid; 15 | } 16 | public void setScenid(int scenid) { 17 | this.scenid = scenid; 18 | } 19 | public int getBanid() { 20 | return banid; 21 | } 22 | public void setBanid(int banid) { 23 | this.banid = banid; 24 | } 25 | 26 | public String getBanname() { 27 | return banname; 28 | } 29 | public void setBanname(String banname) { 30 | this.banname = banname; 31 | } 32 | 33 | public String getBantitle() { 34 | return bantitle; 35 | } 36 | public void setBantitle(String bantitle) { 37 | this.bantitle = bantitle; 38 | } 39 | 40 | public String getBanpath() { 41 | return banpath; 42 | } 43 | public void setBanpath(String banpath) { 44 | this.banpath = banpath; 45 | } 46 | 47 | /* 48 | * 构造函数 49 | * 50 | */ 51 | 52 | public Banner(int banid, String banname, String bantitle, String banpath,int scenid) { 53 | super(); 54 | this.banid = banid; 55 | this.banname = banname; 56 | this.bantitle = bantitle; 57 | this.banpath = banpath; 58 | this.scenid = scenid; 59 | } 60 | 61 | public Banner(String banname, String bantitle, String banpath) { 62 | super(); 63 | this.banname = banname; 64 | this.bantitle = bantitle; 65 | this.banpath = banpath; 66 | } 67 | public Banner(int banid, String banname, String bantitle, String banpath) { 68 | super(); 69 | this.banid = banid; 70 | this.banname = banname; 71 | this.bantitle = bantitle; 72 | this.banpath = banpath; 73 | } 74 | public Banner(int banid, String banpath,int scenid) { 75 | super(); 76 | this.banid = banid; 77 | this.banpath = banpath; 78 | this.scenid = scenid; 79 | } 80 | 81 | public Banner(String banname, String bantitle, String banpath,int scenid) { 82 | super(); 83 | this.banname = banname; 84 | this.bantitle = bantitle; 85 | this.banpath = banpath; 86 | this.scenid = scenid; 87 | } 88 | 89 | } 90 | -------------------------------------------------------------------------------- /WebContent/admin/banner-add.jsp: -------------------------------------------------------------------------------- 1 | <%@page contentType="text/html"%> 2 | <%@page pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 | 8 | 图片上传 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 |
20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 |
37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 |
* 图片名:
* URL:
图片:
45 |
46 |
47 |
48 | 49 | 50 | 51 | 52 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /src/com/trav/cms/util/Test.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.util; 2 | 3 | import java.io.UnsupportedEncodingException; 4 | import java.security.NoSuchAlgorithmException; 5 | import java.util.HashMap; 6 | import java.util.Map; 7 | 8 | public class Test { 9 | private static Map users = new HashMap(); 10 | 11 | public static void main(String[] args) { 12 | String userName = "zyg"; 13 | String password = "123"; 14 | registerUser(userName, password); 15 | 16 | userName = "changong"; 17 | password = "456"; 18 | registerUser(userName, password); 19 | 20 | String loginUserId = "zyg"; 21 | String pwd = "123"; 22 | try { 23 | if (loginValid(loginUserId, pwd)) { 24 | System.out.println("欢迎登陆!!!"); 25 | } else { 26 | System.out.println("口令错误,请重新输入!!!"); 27 | } 28 | } catch (NoSuchAlgorithmException e) { 29 | // TODO Auto-generated catch block 30 | e.printStackTrace(); 31 | } catch (UnsupportedEncodingException e) { 32 | // TODO Auto-generated catch block 33 | e.printStackTrace(); 34 | } 35 | } 36 | 37 | /** 38 | * 注册用户 39 | * 40 | * @param userName 41 | * @param password 42 | */ 43 | public static void registerUser(String userName, String password) { 44 | String encryptedPwd = null; 45 | try { 46 | //获得Md5加密后的密码 47 | encryptedPwd = Md5Code.getEncryptedPwd(password); 48 | System.out.println(encryptedPwd); 49 | users.put(userName, encryptedPwd); 50 | 51 | } catch (NoSuchAlgorithmException e) { 52 | // TODO Auto-generated catch block 53 | e.printStackTrace(); 54 | } catch (UnsupportedEncodingException e) { 55 | // TODO Auto-generated catch block 56 | e.printStackTrace(); 57 | } 58 | } 59 | 60 | /** 61 | * 验证登陆 62 | * 63 | * @param userName 64 | * @param password 65 | * @return 66 | * @throws UnsupportedEncodingException 67 | * @throws NoSuchAlgorithmException 68 | */ 69 | public static boolean loginValid(String userName, String password) 70 | throws NoSuchAlgorithmException, UnsupportedEncodingException { 71 | String pwdInDb = (String) users.get(userName); 72 | if (null != pwdInDb) { // 该用户存在 73 | return Md5Code.validPassword(password, pwdInDb); 74 | } else { 75 | System.out.println("不存在该用户!!!"); 76 | return false; 77 | } 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /WebContent/admin/welcome.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 我的桌面 9 | 10 | 11 |
12 |

欢迎使用 洛阳旅游管理系统

13 |

当前时间:

14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 |
服务器信息
服务器计算机名http://127.0.0.1/
服务器IP地址192.168.1.1
服务器域名www.forguo.com
服务器端口 8080
服务器Tomcat版本 Tomcat v7.0
Jdk版本 Jdk 1.7
服务器操作系统 Microsoft Windows Server 2012
服务器的语言种类 Chinese (People's Republic of China)
56 |
57 | 58 | 75 | 76 | -------------------------------------------------------------------------------- /src/com/trav/cms/user/service/UserPwdEdit.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.user.service; 2 | 3 | import java.io.IOException; 4 | import java.io.PrintWriter; 5 | 6 | import javax.servlet.ServletException; 7 | import javax.servlet.annotation.WebServlet; 8 | import javax.servlet.http.HttpServlet; 9 | import javax.servlet.http.HttpServletRequest; 10 | import javax.servlet.http.HttpServletResponse; 11 | 12 | import com.trav.cms.user.dao.UserOperator; 13 | 14 | 15 | /** 16 | * Servlet implementation class UserPwdEdit 17 | */ 18 | @WebServlet("/admin/UserPwdEdit") 19 | public class UserPwdEdit extends HttpServlet { 20 | private static final long serialVersionUID = 1L; 21 | UserOperator userOperator = new UserOperator(); 22 | 23 | /** 24 | * @see HttpServlet#HttpServlet() 25 | */ 26 | public UserPwdEdit() { 27 | super(); 28 | // TODO Auto-generated constructor stub 29 | } 30 | 31 | /** 32 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse 33 | * response) 34 | */ 35 | protected void doGet(HttpServletRequest request, HttpServletResponse response) 36 | throws ServletException, IOException { 37 | // TODO Auto-generated method stub 38 | request.setCharacterEncoding("UTF-8"); 39 | response.setContentType("text/html;charset=UTF-8"); 40 | PrintWriter out = response.getWriter(); 41 | 42 | int user_id = Integer.parseInt(request.getParameter("userid")); 43 | String newpwd = request.getParameter("newpassword"); 44 | if (userOperator.editPwd(user_id, newpwd)) { 45 | System.out.println("密码修改成功!"); 46 | out.flush();//清空缓存 47 | out.println("");//输出script结尾标签 51 | } 52 | else{ 53 | System.out.println("密码修改成功!"); 54 | out.print("falied"); 55 | } 56 | out.close(); 57 | } 58 | 59 | /** 60 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse 61 | * response) 62 | */ 63 | protected void doPost(HttpServletRequest request, HttpServletResponse response) 64 | throws ServletException, IOException { 65 | // TODO Auto-generated method stub 66 | doGet(request, response); 67 | } 68 | 69 | } 70 | -------------------------------------------------------------------------------- /WebContent/include/header.jsp: -------------------------------------------------------------------------------- 1 | <%@page contentType="text/html"%> 2 | <%@page pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 |
8 | 60 |
61 | 62 | 63 | -------------------------------------------------------------------------------- /src/com/trav/cms/msg/service/MsgDel.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.msg.service; 2 | 3 | import java.io.IOException; 4 | import java.io.PrintWriter; 5 | 6 | import javax.servlet.ServletException; 7 | import javax.servlet.annotation.WebServlet; 8 | import javax.servlet.http.HttpServlet; 9 | import javax.servlet.http.HttpServletRequest; 10 | import javax.servlet.http.HttpServletResponse; 11 | 12 | import com.trav.cms.msg.dao.MsgOperator; 13 | 14 | /** 15 | * Servlet implementation class MsgDel 16 | */ 17 | @WebServlet("/admin/MsgDel") 18 | public class MsgDel extends HttpServlet { 19 | private static final long serialVersionUID = 1L; 20 | MsgOperator msgOperator = new MsgOperator(); 21 | 22 | /** 23 | * @see HttpServlet#HttpServlet() 24 | */ 25 | public MsgDel() { 26 | super(); 27 | // TODO Auto-generated constructor stub 28 | } 29 | 30 | /** 31 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse 32 | * response) 33 | */ 34 | protected void doGet(HttpServletRequest request, HttpServletResponse response) 35 | throws ServletException, IOException { 36 | // TODO Auto-generated method stub 37 | request.setCharacterEncoding("UTF-8"); 38 | response.setContentType("text/html;charset=utf-8"); 39 | PrintWriter out=response.getWriter(); 40 | 41 | int msgid=Integer.parseInt(request.getParameter("msgid")); 42 | 43 | if (msgOperator.delMsg(msgid)) { 44 | System.out.println("删除成功!"); 45 | out.flush();// 清空缓存 46 | out.println("");// 输出script结尾标签 50 | } 51 | 52 | else{ 53 | System.out.println("删除失败!"); 54 | out.flush();// 清空缓存 55 | out.println("");// 输出script结尾标签 59 | } 60 | out.close(); 61 | } 62 | 63 | /** 64 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse 65 | * response) 66 | */ 67 | protected void doPost(HttpServletRequest request, HttpServletResponse response) 68 | throws ServletException, IOException { 69 | // TODO Auto-generated method stub 70 | doGet(request, response); 71 | } 72 | 73 | } 74 | -------------------------------------------------------------------------------- /src/com/trav/cms/msg/domain/Msg.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.msg.domain; 2 | 3 | public class Msg { 4 | /** 5 | * @author foruo 6 | * @date 2017-4-8 留言实体类 7 | */ 8 | 9 | private int msg_id; 10 | private String author; 11 | private String msg_text; 12 | private String msg_time; 13 | private String msg_ip; 14 | private String email; 15 | 16 | /* 17 | * 构造器、访问器 18 | */ 19 | public int getMsg_id() { 20 | return msg_id; 21 | } 22 | public void setMsg_id(int msg_id) { 23 | this.msg_id = msg_id; 24 | } 25 | public String getAuthor() { 26 | return author; 27 | } 28 | public void setAuthor(String author) { 29 | this.author = author; 30 | } 31 | public String getMsg_text() { 32 | return msg_text; 33 | } 34 | public void setMsg_text(String msg_text) { 35 | this.msg_text = msg_text; 36 | } 37 | public String getMsg_time() { 38 | return msg_time; 39 | } 40 | public void setMsg_time(String msg_time) { 41 | this.msg_time = msg_time; 42 | } 43 | public String getMsg_ip() { 44 | return msg_ip; 45 | } 46 | public void setMsg_ip(String msg_ip) { 47 | this.msg_ip = msg_ip; 48 | } 49 | public String getEmail() { 50 | return email; 51 | } 52 | public void setEmail(String email) { 53 | this.email = email; 54 | } 55 | 56 | /* 57 | * 构造函数 58 | */ 59 | public Msg(int msg_id, String author, String msg_text, String msg_time, String msg_ip, String email) { 60 | super(); 61 | this.msg_id = msg_id; 62 | this.author = author; 63 | this.msg_text = msg_text; 64 | this.msg_time = msg_time; 65 | this.msg_ip = msg_ip; 66 | this.email = email; 67 | } 68 | 69 | public Msg( String author, String msg_text, String msg_time, String msg_ip, String email) { 70 | super(); 71 | 72 | this.author = author; 73 | this.msg_text = msg_text; 74 | this.msg_time = msg_time; 75 | this.msg_ip = msg_ip; 76 | this.email = email; 77 | } 78 | 79 | 80 | public Msg(int msg_id, String author, String msg_text, String msg_time, String email) { 81 | super(); 82 | this.msg_id = msg_id; 83 | this.author = author; 84 | this.msg_text = msg_text; 85 | this.msg_time = msg_time; 86 | this.email = email; 87 | } 88 | public Msg(String author, String msg_text, String msg_ip, String email) { 89 | super(); 90 | this.author = author; 91 | this.msg_text = msg_text; 92 | this.msg_ip = msg_ip; 93 | this.email = email; 94 | } 95 | 96 | 97 | 98 | } 99 | -------------------------------------------------------------------------------- /WebContent/admin/system-base.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 基本设置 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 |
网站名称:
关键词:
描述:
底部版权信息:
备案号:
37 |
38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /WebContent/admin/js/html5.js: -------------------------------------------------------------------------------- 1 | /* 2 | HTML5 Shiv v3.7.0 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed 3 | */ 4 | (function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); 5 | a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x"; 6 | c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode|| 7 | "undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f); 8 | if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d= 5) { 50 | re += "..."; 51 | start = p - 2; 52 | var e = p + 2; 53 | end = (pn < e) ? pn: e; 54 | } 55 | for (var i = start; i < p; i++) { 56 | re += this.pHtml(i, pn); 57 | }; 58 | re += this.pHtml2(p); 59 | for (var i = p + 1; i <= end; i++) { 60 | re += this.pHtml(i, pn); 61 | }; 62 | if (end < pn) { 63 | re += "..."; 64 | //显示最后一页页码,如不需要则去掉下面这一句 65 | re += this.pHtml(pn, pn); 66 | }; 67 | if (p < pn) { 68 | re += this.pHtml(p + 1, pn, "下一页>"); 69 | }; 70 | return re; 71 | }; 72 | //显示非当前页 73 | pageNav.pHtml = function(pageNo, pn, showPageNo) { 74 | showPageNo = showPageNo || pageNo; 75 | var H = " " + showPageNo + " "; 76 | return H; 77 | 78 | }; 79 | //显示当前页 80 | pageNav.pHtml2 = function(pageNo) { 81 | var H = " " + pageNo + " "; 82 | return H; 83 | }; 84 | //输出页码,可根据需要重写此方法 85 | pageNav.go = function(p, pn) { 86 | //$("#pageNav").html(this.nav(p,pn)); //如果使用jQuery可用此句 87 | document.getElementById("pageNav").innerHTML = this.nav(p, pn); 88 | if (this.fn != null) { 89 | this.fn(this.p, this.pn); 90 | }; 91 | }; -------------------------------------------------------------------------------- /src/com/trav/cms/info/service/InfoById.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.info.service; 2 | 3 | import java.io.IOException; 4 | import java.io.PrintWriter; 5 | 6 | import javax.servlet.ServletException; 7 | import javax.servlet.annotation.WebServlet; 8 | import javax.servlet.http.HttpServlet; 9 | import javax.servlet.http.HttpServletRequest; 10 | import javax.servlet.http.HttpServletResponse; 11 | 12 | import com.trav.cms.info.dao.InfoOperator; 13 | import com.trav.cms.info.domain.Info; 14 | 15 | import net.sf.json.JSONArray; 16 | import net.sf.json.JSONObject; 17 | 18 | /** 19 | * Servlet implementation class InfoBuId 20 | */ 21 | @WebServlet("/admin/InfoById") 22 | public class InfoById extends HttpServlet { 23 | private static final long serialVersionUID = 1L; 24 | InfoOperator infoOperator=new InfoOperator(); 25 | /** 26 | * @see HttpServlet#HttpServlet() 27 | */ 28 | public InfoById() { 29 | super(); 30 | // TODO Auto-generated constructor stub 31 | } 32 | 33 | /** 34 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) 35 | */ 36 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 37 | // TODO Auto-generated method stub 38 | request.setCharacterEncoding("utf-8"); 39 | response.setContentType("text/html;charset=utf-8"); 40 | int infoid=Integer.parseInt(request.getParameter("infoid")); 41 | PrintWriter out=response.getWriter(); 42 | 43 | 44 | Info info = infoOperator.findinfoById(infoid); 45 | 46 | JSONArray infoJson = new JSONArray(); 47 | 48 | JSONObject json=new JSONObject(); 49 | 50 | if (info!=null) { 51 | json.put("info_id", info.getInfo_id()); 52 | json.put("info_title", info.getInfo_title()); 53 | json.put("info_txt", info.getInfo_txt()); 54 | json.put("info_tag", info.getInfo_tag()); 55 | json.put("info_pic", info.getInfo_pic()); 56 | json.put("info_url", info.getInfo_url()); 57 | json.put("info_date", info.getInfo_date()); 58 | json.put("info_order", info.getInfo_order()); 59 | // 将Json对象放入数组 60 | infoJson.add(json); 61 | } 62 | 63 | out.print(infoJson); 64 | 65 | out.close(); 66 | } 67 | 68 | /** 69 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) 70 | */ 71 | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 72 | // TODO Auto-generated method stub 73 | doGet(request, response); 74 | } 75 | 76 | } 77 | -------------------------------------------------------------------------------- /src/com/trav/cms/user/service/UserById.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.user.service; 2 | 3 | import java.io.IOException; 4 | import java.io.PrintWriter; 5 | 6 | import javax.servlet.ServletException; 7 | import javax.servlet.annotation.WebServlet; 8 | import javax.servlet.http.HttpServlet; 9 | import javax.servlet.http.HttpServletRequest; 10 | import javax.servlet.http.HttpServletResponse; 11 | 12 | 13 | import com.trav.cms.user.dao.UserOperator; 14 | import com.trav.cms.user.domain.User; 15 | 16 | import net.sf.json.JSONArray; 17 | import net.sf.json.JSONObject; 18 | 19 | /** 20 | * Servlet implementation class UserById 21 | */ 22 | @WebServlet("/admin/UserById") 23 | public class UserById extends HttpServlet { 24 | private static final long serialVersionUID = 1L; 25 | UserOperator userOperator=new UserOperator(); 26 | /** 27 | * @see HttpServlet#HttpServlet() 28 | */ 29 | public UserById() { 30 | super(); 31 | // TODO Auto-generated constructor stub 32 | } 33 | 34 | /** 35 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) 36 | */ 37 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 38 | // TODO Auto-generated method stub 39 | request.setCharacterEncoding("UTF-8"); 40 | response.setContentType("text/html;charset=UTF-8"); 41 | 42 | int userid = Integer.parseInt(request.getParameter("userid")); 43 | 44 | User user = null; 45 | PrintWriter out=response.getWriter(); 46 | 47 | user = userOperator.findUserById(userid); 48 | if (user != null) { 49 | 50 | System.out.println("^--^查找成功!"); 51 | 52 | System.out.println("用户名:" + user.getUsername()); 53 | 54 | JSONArray userJson = new JSONArray(); 55 | 56 | JSONObject json=new JSONObject(); 57 | 58 | json.put("username", user.getUsername()); 59 | json.put("password", user.getPassword()); 60 | json.put("email",user.getEmail()); 61 | json.put("gender", user.getGender()); 62 | 63 | userJson.add(json); 64 | 65 | out.print(userJson); 66 | 67 | } 68 | 69 | else { 70 | System.out.println("-*-*-查找失败!用户不存在"); 71 | out.print("用户不存在!"); 72 | } 73 | out.close(); 74 | 75 | } 76 | 77 | /** 78 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) 79 | */ 80 | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 81 | // TODO Auto-generated method stub 82 | doGet(request, response); 83 | } 84 | 85 | } 86 | -------------------------------------------------------------------------------- /WebContent/admin/banner-edit.jsp: -------------------------------------------------------------------------------- 1 | <%@page import="java.net.URLEncoder"%> 2 | <%@page contentType="text/html"%> 3 | <%@page pageEncoding="UTF-8"%> 4 | <%@ page import="com.trav.cms.banner.domain.*"%> 5 | <%@ page import="java.util.*"%> 6 | 7 | 8 | 9 | 10 | 11 | 12 | 图片编辑 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | <%request.setCharacterEncoding("UTF-8");%> 21 | 22 |
23 |
24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |
41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 |
* 图片名:" id="pic-name" name="ban-name">
* URL:" id="pic-title" name="ban-title">
图片:
51 |
52 |
53 |
54 | 55 | 56 | 57 | 58 | 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /WebContent/admin/admin-add.jsp: -------------------------------------------------------------------------------- 1 | <%@page contentType="text/html"%> 2 | <%@page pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 | 管理员添加 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 27 | 28 | 29 | 30 | 31 | 33 | 34 | 35 | 36 | 38 | 39 | 40 | 41 | 43 | 44 | 45 | 46 | 49 | 50 | 51 |
添加管理员
用户名: 26 |
邮箱: 32 |
性别: 37 |
设置密码: 42 |
47 | 48 |
52 |
53 |
54 | 55 | 56 | 57 | 58 | 59 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /WebContent/admin/js/preview.js: -------------------------------------------------------------------------------- 1 | /*大图预览*/ 2 | jQuery(function(){ 3 | var timer; 4 | $("a.preview").hover( 5 | function(e){ 6 | var _this =this; 7 | clearTimeout(timer); 8 | timer = setTimeout(function () { 9 | var pointY = e.pageY - $(document).scrollTop(); 10 | $(_this).addClass("active"); 11 | $("#tooltip-keleyi-com").remove(); 12 | var winW=$(window).width(); 13 | var winH=$(window).height(); 14 | var winW5=winW/2; 15 | var winH5=winH/2; 16 | _this.myTitle = _this.title; 17 | _this.title = ""; 18 | var midimg = $(_this).attr('data-preview'); 19 | var src = $(_this).find("img").attr('src'); 20 | var thumbW = $(_this).find("img").width(); 21 | var thumbH = $(_this).find("img").height(); 22 | if(midimg ==''){return;} 23 | var imgT=$(_this).parents(".imgItem").offset().top; 24 | var imgL=$(_this).parents(".imgItem").offset().left; 25 | var imgW=$(_this).parents(".imgItem").width(); 26 | var imgH=$(_this).parents(".imgItem").height(); 27 | var dataW = $(_this).attr('data-width'); 28 | var dataH = $(_this).attr('data-height'); 29 | if(dataW==""||dataW=="undefined"){ 30 | var midimgW = $(_this).parents("span").width()*3; 31 | var midimgH = $(_this).parents("span").height()*3; 32 | }else{ 33 | var midimgW = dataW; 34 | var midimgH = dataH; 35 | } 36 | var ww=(imgL+imgW/2); 37 | var hh=(imgT+imgH/2); 38 | if(ww < winW5){var tooltipLeft=(imgW+imgL)+"px";} 39 | else{var tooltipRight=(winW-imgL)+"px";} 40 | var midimgW2 = midimgW; 41 | if(midimgW > midimgH){ 42 | midimgW2 = midimgW; 43 | } 44 | else{ 45 | midimgW2 =(parseFloat(midimgW)+50); 46 | } 47 | var imgT2 = imgT; 48 | if(pointY > winH5){imgT2 = imgT-midimgH+128;} 49 | else{imgT2 = imgT;} 50 | var tooltip_keleyi_com = "
"; 51 | 52 | $("body").append(tooltip_keleyi_com); 53 | 54 | var imgTitle = _this.myTitle ? "
" + _this.myTitle + " 产品预览图" : ""; 55 | /*图片预加载*/ 56 | var image = new Image();/*创建一个Image对象*/ 57 | image.onload = function () { 58 | if($('a.preview.active').attr('data-preview') == midimg){ 59 | var midingW2 = this.width; 60 | var midingH2 = this.height; 61 | $("#tooltip-keleyi-div").css({"width":midingW2+"px","height":(midingH2-20)+"px"}); 62 | $(".thumbpic").hide(); 63 | $('#tooltip-keleyi-div').append(this); 64 | } 65 | }; 66 | image.src = midimg; 67 | },500); 68 | 69 | }, 70 | function(){ 71 | clearTimeout(timer); 72 | $(this).removeClass("active"); 73 | this.title = this.myTitle; 74 | $("#tooltip-keleyi-com").remove(); 75 | } 76 | ); 77 | 78 | }); -------------------------------------------------------------------------------- /src/com/trav/cms/banner/service/BannerShow.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.banner.service; 2 | 3 | import java.io.IOException; 4 | import java.io.PrintWriter; 5 | import java.util.List; 6 | 7 | import javax.servlet.ServletException; 8 | import javax.servlet.annotation.WebServlet; 9 | import javax.servlet.http.HttpServlet; 10 | import javax.servlet.http.HttpServletRequest; 11 | import javax.servlet.http.HttpServletResponse; 12 | 13 | import com.trav.cms.banner.dao.BanOperator; 14 | import com.trav.cms.banner.domain.Banner; 15 | 16 | 17 | import net.sf.json.JSONArray; 18 | import net.sf.json.JSONObject; 19 | 20 | /** 21 | * Servlet implementation class BannerShow 22 | */ 23 | @WebServlet("/BannerShow") 24 | public class BannerShow extends HttpServlet { 25 | private static final long serialVersionUID = 1L; 26 | 27 | BanOperator banOperator=new BanOperator(); 28 | /** 29 | * @see HttpServlet#HttpServlet() 30 | */ 31 | public BannerShow() { 32 | super(); 33 | // TODO Auto-generated constructor stub 34 | } 35 | 36 | /** 37 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) 38 | */ 39 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 40 | // TODO Auto-generated method stub 41 | request.setCharacterEncoding("UTF-8"); 42 | response.setContentType("text/html;charset=UTF-8"); 43 | PrintWriter out=response.getWriter(); 44 | System.out.println("*--------------------------------------------------*"); 45 | System.out.println("*--轮播图:BannerShow"); 46 | 47 | //Json数组 48 | JSONArray jsonArray=new JSONArray(); 49 | 50 | try { 51 | List list=banOperator.listAll(); 52 | 53 | for(int i=0;i");// 输出script标签 60 | out.println("alert('删除成功!');");// js语句:输出alert语句 61 | out.println("history.back();");// js语句:输出网页回退语句 62 | out.println("");// 输出script结尾标签 63 | } 64 | else { 65 | System.out.println("删除失败,文件不存在!"); 66 | out.flush();// 清空缓存 67 | out.println("");// 输出script结尾标签 71 | } 72 | } 73 | out.close(); 74 | } 75 | 76 | /** 77 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse 78 | * response) 79 | */ 80 | protected void doPost(HttpServletRequest request, HttpServletResponse response) 81 | throws ServletException, IOException { 82 | // TODO Auto-generated method stub 83 | doGet(request, response); 84 | } 85 | 86 | } 87 | -------------------------------------------------------------------------------- /src/com/trav/cms/msg/service/MsgList.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.msg.service; 2 | 3 | import java.io.IOException; 4 | import java.io.PrintWriter; 5 | import java.util.List; 6 | 7 | import javax.servlet.ServletException; 8 | import javax.servlet.annotation.WebServlet; 9 | import javax.servlet.http.HttpServlet; 10 | import javax.servlet.http.HttpServletRequest; 11 | import javax.servlet.http.HttpServletResponse; 12 | 13 | import com.trav.cms.msg.dao.MsgOperator; 14 | import com.trav.cms.msg.domain.Msg; 15 | 16 | 17 | import net.sf.json.JSONArray; 18 | import net.sf.json.JSONObject; 19 | 20 | /** 21 | * Servlet implementation class MsgList 22 | */ 23 | @WebServlet("/admin/MsgList") 24 | public class MsgList extends HttpServlet { 25 | private static final long serialVersionUID = 1L; 26 | MsgOperator msgOperator=new MsgOperator(); 27 | /** 28 | * @see HttpServlet#HttpServlet() 29 | */ 30 | public MsgList() { 31 | super(); 32 | // TODO Auto-generated constructor stub 33 | } 34 | 35 | /** 36 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) 37 | */ 38 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 39 | // TODO Auto-generated method stub 40 | request.setCharacterEncoding("UTF-8"); 41 | response.setContentType("text/html;charset=UTF-8"); 42 | PrintWriter out = response.getWriter(); 43 | System.out.println("---留言列表----MsgList"); 44 | 45 | int offset = Integer.parseInt(request.getParameter("offset")); 46 | int size = Integer.parseInt(request.getParameter("size")); 47 | 48 | System.out.println("offset--"+offset+",size---"+size); 49 | // Json数组 50 | JSONArray msgMore = new JSONArray(); 51 | 52 | try { 53 | List list = msgOperator.listMore(offset, size); 54 | 55 | for (int i = 0; i < list.size(); i++) { 56 | // Json对象 57 | JSONObject json = new JSONObject(); 58 | 59 | // 查询结果集 60 | Msg msg = list.get(i); 61 | 62 | json.put("msgid", msg.getMsg_id()); 63 | json.put("author", msg.getAuthor()); 64 | json.put("content",msg.getMsg_text()); 65 | json.put("email", msg.getEmail()); 66 | json.put("datetime", msg.getMsg_time()); 67 | json.put("msgip", msg.getMsg_ip()); 68 | 69 | // 将Json对象放入数组 70 | msgMore.add(json); 71 | } 72 | 73 | // 传到页面 74 | out.print(msgMore); 75 | } catch (Exception e) { 76 | // TODO Auto-generated catch block 77 | e.printStackTrace(); 78 | } 79 | 80 | out.close(); 81 | } 82 | 83 | /** 84 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) 85 | */ 86 | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 87 | // TODO Auto-generated method stub 88 | doGet(request, response); 89 | } 90 | 91 | } 92 | -------------------------------------------------------------------------------- /src/com/trav/cms/scen/service/ScenDel.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.scen.service; 2 | 3 | import java.io.File; 4 | import java.io.IOException; 5 | import java.io.PrintWriter; 6 | 7 | import javax.servlet.ServletException; 8 | import javax.servlet.annotation.WebServlet; 9 | import javax.servlet.http.HttpServlet; 10 | import javax.servlet.http.HttpServletRequest; 11 | import javax.servlet.http.HttpServletResponse; 12 | 13 | import com.trav.cms.scen.dao.ScenOperator; 14 | 15 | /** 16 | * Servlet implementation class ScenDel 17 | * 删除景点 18 | * @author admin 19 | * @date 2017/4/18 20 | */ 21 | @WebServlet("/admin/ScenDel") 22 | public class ScenDel extends HttpServlet { 23 | private static final long serialVersionUID = 1L; 24 | ScenOperator scenOperator=new ScenOperator(); 25 | /** 26 | * @see HttpServlet#HttpServlet() 27 | */ 28 | public ScenDel() { 29 | super(); 30 | // TODO Auto-generated constructor stub 31 | } 32 | 33 | /** 34 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) 35 | */ 36 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 37 | // TODO Auto-generated method stub 38 | request.setCharacterEncoding("UTF-8"); 39 | response.setContentType("text/html;charset=UTF-8"); 40 | PrintWriter out=response.getWriter(); 41 | 42 | //获取要删除的景点ID 43 | int scenid=Integer.parseInt(request.getParameter("scenid")); 44 | //景点图片 45 | String scenpic=request.getParameter("scenpic"); 46 | System.out.println("/admin/ScenDel"); 47 | 48 | if (scenOperator.delScen(scenid)) { 49 | //获取要删除的图片或者文件的绝对路径 50 | File file = new File(request.getServletContext().getRealPath(getServletInfo())+"/"+scenpic); 51 | //路径和文件名称 52 | System.out.println(file.getPath()); 53 | System.out.println(file.getName()); 54 | //如果文件存在 55 | if (file.exists()) { 56 | file.delete(); 57 | System.out.println("删除成功"); 58 | out.flush();// 清空缓存 59 | out.println("");// 输出script结尾标签 63 | } 64 | else { 65 | System.out.println("删除失败,文件不存在!"); 66 | out.flush();// 清空缓存 67 | out.println("");// 输出script结尾标签 71 | } 72 | } 73 | out.close(); 74 | } 75 | 76 | /** 77 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) 78 | */ 79 | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 80 | // TODO Auto-generated method stub 81 | doGet(request, response); 82 | } 83 | 84 | } 85 | -------------------------------------------------------------------------------- /src/com/trav/cms/banner/service/BannerDel.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.banner.service; 2 | 3 | import java.io.File; 4 | import java.io.IOException; 5 | import java.io.PrintWriter; 6 | 7 | import javax.servlet.ServletException; 8 | import javax.servlet.annotation.WebServlet; 9 | import javax.servlet.http.HttpServlet; 10 | import javax.servlet.http.HttpServletRequest; 11 | import javax.servlet.http.HttpServletResponse; 12 | 13 | import com.trav.cms.banner.dao.BanOperator; 14 | 15 | /** 16 | * Servlet implementation class BannerDel 17 | * 根据Id删除轮播图片 18 | * @author admin 19 | * @date 2017/4/15 20 | */ 21 | @WebServlet("/admin/BannerDel") 22 | public class BannerDel extends HttpServlet { 23 | private static final long serialVersionUID = 1L; 24 | 25 | BanOperator banOperator = new BanOperator(); 26 | 27 | /** 28 | * @see HttpServlet#HttpServlet() 29 | */ 30 | public BannerDel() { 31 | super(); 32 | // TODO Auto-generated constructor stub 33 | } 34 | 35 | /** 36 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse 37 | * response) 38 | */ 39 | protected void doGet(HttpServletRequest request, HttpServletResponse response) 40 | throws ServletException, IOException { 41 | // TODO Auto-generated method stub 42 | doPost(request, response); 43 | } 44 | 45 | /** 46 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse 47 | * response) 48 | */ 49 | protected void doPost(HttpServletRequest request, HttpServletResponse response) 50 | throws ServletException, IOException { 51 | // TODO Auto-generated method stub 52 | request.setCharacterEncoding("UTF-8"); 53 | response.setContentType("text/html;charset=UTF-8"); 54 | PrintWriter out = response.getWriter(); 55 | 56 | // 获取要删除的ID 57 | int banid = Integer.parseInt(request.getParameter("banid")); 58 | // 删除的文件的路径 59 | String banpath = request.getParameter("banpath"); 60 | 61 | System.out.println("删除轮播图" + banid); 62 | if (banOperator.delBan(banid)) { 63 | // 获取要删除的图片或者文件的绝对路径 64 | File file = new File(request.getServletContext().getRealPath(getServletInfo()) + "/" + banpath); 65 | // 路径和文件名称 66 | System.out.println(file.getPath()); 67 | System.out.println(file.getName()); 68 | // 如果文件存在 69 | if (file.exists()) { 70 | file.delete(); 71 | System.out.println("删除成功"); 72 | out.flush();// 清空缓存 73 | out.println("");// 输出script结尾标签 77 | } else { 78 | System.out.println("删除失败,文件不存在!"); 79 | out.flush();// 清空缓存 80 | out.println("");// 输出script结尾标签 84 | } 85 | } 86 | out.close(); 87 | } 88 | 89 | } 90 | -------------------------------------------------------------------------------- /WebContent/admin/info-add.jsp: -------------------------------------------------------------------------------- 1 | <%@page contentType="text/html"%> 2 | <%@page pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 | 8 | 资讯添加 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 |
48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 |
* 标题:
* 标签:
* 页面URL:
排序:
*图片上传:
内容:
57 |
58 |
59 | 60 | 61 | 62 | 63 | 64 | 65 | 68 | 69 | -------------------------------------------------------------------------------- /src/com/trav/cms/user/service/UserList.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.user.service; 2 | 3 | import java.io.IOException; 4 | import java.io.PrintWriter; 5 | import java.util.List; 6 | 7 | import javax.servlet.ServletException; 8 | import javax.servlet.annotation.WebServlet; 9 | import javax.servlet.http.HttpServlet; 10 | import javax.servlet.http.HttpServletRequest; 11 | import javax.servlet.http.HttpServletResponse; 12 | 13 | import com.trav.cms.user.dao.UserOperator; 14 | import com.trav.cms.user.domain.User; 15 | 16 | import net.sf.json.JSONArray; 17 | import net.sf.json.JSONObject; 18 | 19 | /** 20 | * Servlet implementation class UserList 21 | */ 22 | @WebServlet("/admin/UserList") 23 | public class UserList extends HttpServlet { 24 | private static final long serialVersionUID = 1L; 25 | UserOperator userOperator=new UserOperator(); 26 | /** 27 | * @see HttpServlet#HttpServlet() 28 | */ 29 | public UserList() { 30 | super(); 31 | // TODO Auto-generated constructor stub 32 | } 33 | 34 | /** 35 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) 36 | */ 37 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 38 | // TODO Auto-generated method stub 39 | request.setCharacterEncoding("UTF-8"); 40 | response.setContentType("text/html;charset=UTF-8"); 41 | PrintWriter out = response.getWriter(); 42 | System.out.println("---用户列表----userList"); 43 | 44 | int offset = Integer.parseInt(request.getParameter("offset")); 45 | int size = Integer.parseInt(request.getParameter("size")); 46 | 47 | System.out.println("offset--"+offset+",size---"+size); 48 | // Json数组 49 | JSONArray userMore = new JSONArray(); 50 | 51 | try { 52 | List list = userOperator.listMore(offset, size); 53 | 54 | for (int i = 0; i < list.size(); i++) { 55 | // Json对象 56 | JSONObject json = new JSONObject(); 57 | 58 | // 查询结果集 59 | User user = list.get(i); 60 | 61 | json.put("userid", user.getUser_id()); 62 | json.put("username", user.getUsername()); 63 | json.put("email", user.getEmail()); 64 | json.put("gender", user.getGender()); 65 | json.put("register_time",user.getRegister_time()); 66 | json.put("register_ip", user.getRegister_ip()); 67 | 68 | System.out.println("/admin/UserList"+user.getRegister_ip()); 69 | 70 | // 将Json对象放入数组 71 | userMore.add(json); 72 | } 73 | 74 | // 传到页面 75 | out.print(userMore); 76 | } catch (Exception e) { 77 | // TODO Auto-generated catch block 78 | e.printStackTrace(); 79 | } 80 | 81 | out.close(); 82 | } 83 | 84 | /** 85 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) 86 | */ 87 | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 88 | // TODO Auto-generated method stub 89 | doGet(request, response); 90 | } 91 | 92 | } 93 | -------------------------------------------------------------------------------- /src/com/trav/cms/scen/service/ScenList.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.scen.service; 2 | 3 | import java.io.IOException; 4 | import java.io.PrintWriter; 5 | import java.util.List; 6 | 7 | import javax.servlet.ServletException; 8 | import javax.servlet.annotation.WebServlet; 9 | import javax.servlet.http.HttpServlet; 10 | import javax.servlet.http.HttpServletRequest; 11 | import javax.servlet.http.HttpServletResponse; 12 | 13 | import com.trav.cms.scen.dao.ScenOperator; 14 | import com.trav.cms.scen.domain.Scen; 15 | 16 | import net.sf.json.JSONArray; 17 | import net.sf.json.JSONObject; 18 | 19 | /** 20 | * Servlet implementation class ScenList 21 | */ 22 | @WebServlet("/admin/ScenList") 23 | public class ScenList extends HttpServlet { 24 | private static final long serialVersionUID = 1L; 25 | ScenOperator scenOperator = new ScenOperator(); 26 | 27 | /** 28 | * @see HttpServlet#HttpServlet() 29 | */ 30 | public ScenList() { 31 | super(); 32 | // TODO Auto-generated constructor stub 33 | } 34 | 35 | /** 36 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse 37 | * response) 38 | */ 39 | protected void doGet(HttpServletRequest request, HttpServletResponse response) 40 | throws ServletException, IOException { 41 | // TODO Auto-generated method stub 42 | 43 | request.setCharacterEncoding("UTF-8"); 44 | response.setContentType("text/html;charset=UTF-8"); 45 | PrintWriter out = response.getWriter(); 46 | System.out.println("*--------------------------------------------------*"); 47 | System.out.println("*---景点图----ScenList"); 48 | 49 | int offset = Integer.parseInt(request.getParameter("offset")); 50 | int size = Integer.parseInt(request.getParameter("size")); 51 | 52 | System.out.println("offset--"+offset+",size---"+size); 53 | // Json数组 54 | JSONArray scenMore = new JSONArray(); 55 | try { 56 | List list = scenOperator.listMore(offset, size); 57 | 58 | for (int i = 0; i < list.size(); i++) { 59 | // Json对象 60 | JSONObject json = new JSONObject(); 61 | // 查询结果集 62 | Scen scen = list.get(i); 63 | json.put("scenid", scen.getScenid()); 64 | json.put("scenname", scen.getScenname()); 65 | json.put("scenlevel",scen.getScenlevel()); 66 | json.put("scentitle", scen.getScentitle()); 67 | json.put("scenadd", scen.getScenadd()); 68 | json.put("scenurl", scen.getScenurl()); 69 | json.put("scenpic", scen.getPicpath()); 70 | json.put("scenfeature", scen.getScenfeature()); 71 | // 将Json对象放入数组 72 | scenMore.add(json); 73 | } 74 | 75 | // 传到页面 76 | out.print(scenMore); 77 | } catch (Exception e) { 78 | // TODO Auto-generated catch block 79 | e.printStackTrace(); 80 | } 81 | 82 | out.close(); 83 | } 84 | 85 | /** 86 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse 87 | * response) 88 | */ 89 | protected void doPost(HttpServletRequest request, HttpServletResponse response) 90 | throws ServletException, IOException { 91 | // TODO Auto-generated method stub 92 | doGet(request, response); 93 | } 94 | 95 | } 96 | -------------------------------------------------------------------------------- /src/com/trav/cms/scen/service/ScenByName.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.scen.service; 2 | 3 | import java.io.IOException; 4 | import java.io.PrintWriter; 5 | import java.util.List; 6 | 7 | import javax.servlet.ServletException; 8 | import javax.servlet.annotation.WebServlet; 9 | import javax.servlet.http.HttpServlet; 10 | import javax.servlet.http.HttpServletRequest; 11 | import javax.servlet.http.HttpServletResponse; 12 | 13 | import com.trav.cms.scen.dao.ScenOperator; 14 | import com.trav.cms.scen.domain.Scen; 15 | 16 | import net.sf.json.JSONArray; 17 | import net.sf.json.JSONObject; 18 | 19 | /** 20 | * Servlet implementation class ScenByName 21 | * 根据景点名来查找景点 22 | * @author admin 23 | * @date 2017/4/18 24 | */ 25 | @WebServlet("/admin/ScenByName") 26 | public class ScenByName extends HttpServlet { 27 | private static final long serialVersionUID = 1L; 28 | ScenOperator scenOperator=new ScenOperator(); 29 | /** 30 | * @see HttpServlet#HttpServlet() 31 | */ 32 | public ScenByName() { 33 | super(); 34 | // TODO Auto-generated constructor stub 35 | } 36 | 37 | /** 38 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) 39 | */ 40 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 41 | // TODO Auto-generated method stub 42 | request.setCharacterEncoding("utf-8"); 43 | response.setContentType("text/html;charset=utf-8"); 44 | 45 | //Ajax发送Url乱码解决的问题 46 | String scenname=new String((request.getParameter("scenname")).getBytes("iso-8859-1"),"UTF-8"); 47 | 48 | PrintWriter out=response.getWriter(); 49 | 50 | System.out.println("ScenByName----"+scenname); 51 | 52 | //JSON数组 53 | JSONArray scenJson = new JSONArray(); 54 | 55 | try { 56 | //得到模糊查询的结果集 57 | List list = scenOperator.findScenByName(scenname); 58 | 59 | //遍历该集合 60 | for (int i = 0; i < list.size(); i++) { 61 | // Json对象 62 | JSONObject json=new JSONObject(); 63 | 64 | // 查询结果集 65 | Scen scen = list.get(i); 66 | //讲遍历对象的值分别放进json对象 67 | json.put("scenid", scen.getScenid()); 68 | json.put("scenname", scen.getScenname()); 69 | json.put("scenlevel",scen.getScenlevel()); 70 | json.put("scentitle", scen.getScentitle()); 71 | json.put("scenadd", scen.getScenadd()); 72 | json.put("scenurl", scen.getScenurl()); 73 | json.put("scenpic", scen.getPicpath()); 74 | json.put("scenfeature", scen.getScenfeature()); 75 | // 将Json对象放入数组 76 | scenJson.add(json); 77 | } 78 | 79 | // 将json数组传到页面 80 | out.print(scenJson); 81 | } catch (Exception e) { 82 | // TODO Auto-generated catch block 83 | e.printStackTrace(); 84 | } 85 | 86 | out.close(); 87 | } 88 | 89 | /** 90 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) 91 | */ 92 | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 93 | // TODO Auto-generated method stub 94 | doGet(request, response); 95 | } 96 | 97 | } 98 | -------------------------------------------------------------------------------- /WebContent/admin/layer/skin/layer.ext.css: -------------------------------------------------------------------------------- 1 | /** 2 | 3 | @Name: layer拓展样式 4 | @Date: 2012.12.13 5 | @Author: 贤心 6 | @blog: sentsin.com 7 | 8 | **/ 9 | 10 | .xubox_iconext{background:url(default/icon_ext.png) no-repeat;} 11 | 12 | /* prompt模式 */ 13 | .xubox_layer .xubox_form{width:240px; height:30px; line-height:30px; padding: 0 5px; border: 1px solid #ccc; background: url(default/textbg.png) #fff repeat-x; color:#333;} 14 | .xubox_layer .xubox_formArea{width:300px; height:100px; line-height:20px;} 15 | 16 | /* tab模式 */ 17 | .xubox_layer .xubox_tab{position:relative; background-color:#fff; box-shadow:1px 1px 50px rgba(0,0,0,.4)} 18 | .xubox_layer .xubox_tabmove{position:absolute; width:600px; height:30px; top:0; left:0;} 19 | .xubox_layer .xubox_tabtit{ display:block; height:34px; border-bottom:1px solid #ccc; background-color:#eee;} 20 | .xubox_layer .xubox_tabtit span{position:relative; float:left; width:120px; height:34px; line-height:34px; text-align:center; cursor:default;} 21 | .xubox_layer .xubox_tabtit span.xubox_tabnow{left:-1px; _top:1px; height:35px; border-left:1px solid #ccc; border-right:1px solid #ccc; background-color:#fff; z-index:10;} 22 | .xubox_layer .xubox_tab_main{line-height:24px; clear:both;} 23 | .xubox_layer .xubox_tab_main .xubox_tabli{display:none;} 24 | .xubox_layer .xubox_tab_main .xubox_tabli.xubox_tab_layer{display:block;} 25 | .xubox_layer .xubox_tabclose{position:absolute; right:10px; top:5px; cursor:pointer;} 26 | 27 | /* photo模式 */ 28 | .xubox_bigimg, .xubox_intro{height:300px} 29 | .xubox_bigimg{position:relative; display:block; width:600px; text-align:center; background:url(default/xubox_loading1.gif) center center no-repeat #000; overflow:hidden; } 30 | .xubox_bigimg img{position:relative; display:inline-block; visibility: hidden;} 31 | .xubox_intro{position:absolute; right:-315px; top:0; width:300px; background-color:#fff; overflow-x:hidden; overflow-y:auto;} 32 | .xubox_imgsee{display:none;} 33 | .xubox_prev, .xubox_next{position:absolute; top:50%; width:27px; _width:44px; height:44px; margin-top:-22px; outline:none;blr:expression(this.onFocus=this.blur());} 34 | .xubox_prev{left:10px; background-position:-5px -5px; _background-position:-70px -5px;} 35 | .xubox_prev:hover{background-position:-33px -5px; _background-position:-120px -5px;} 36 | .xubox_next{right:10px; _right:8px; background-position:-5px -50px; _background-position:-70px -50px;} 37 | .xubox_next:hover{background-position:-33px -50px; _background-position:-120px -50px;} 38 | .xubox_imgbar{position:absolute; left:0; bottom:0; width:100%; height:32px; line-height:32px; background-color:rgba(0,0,0,.8); background-color:#000\9; filter:Alpha(opacity=80); color:#fff; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; font-size:0;} 39 | .xubox_imgtit{/*position:absolute; left:20px;*/} 40 | .xubox_imgtit *{display:inline-block; *display:inline; *zoom:1; vertical-align:top; font-size:12px;} 41 | .xubox_imgtit a{max-width:65%; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; color:#fff;} 42 | .xubox_imgtit a:hover{color:#fff; text-decoration:underline;} 43 | .xubox_imgtit em{padding-left:10px;} 44 | 45 | 46 | -------------------------------------------------------------------------------- /src/com/trav/cms/info/domain/Info.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.info.domain; 2 | 3 | public class Info { 4 | /** 5 | * @author forguo 6 | * @version 1.0 7 | * @date 2017-4-8 资讯实体类 8 | */ 9 | 10 | private int info_id;// Id 11 | private String info_title;//标题 12 | private String info_txt;//内容 13 | private String info_tag;//标签,分类 14 | private String info_pic;//图片 15 | private String info_url;//连接 16 | private String info_date;//日期 17 | private int info_order;//日期 18 | 19 | public int getInfo_id() { 20 | return info_id; 21 | } 22 | public void setInfo_id(int info_id) { 23 | this.info_id = info_id; 24 | } 25 | public String getInfo_title() { 26 | return info_title; 27 | } 28 | public void setInfo_title(String info_title) { 29 | this.info_title = info_title; 30 | } 31 | public String getInfo_txt() { 32 | return info_txt; 33 | } 34 | public void setInfo_txt(String info_txt) { 35 | this.info_txt = info_txt; 36 | } 37 | public String getInfo_tag() { 38 | return info_tag; 39 | } 40 | public void setInfo_tag(String info_tag) { 41 | this.info_tag = info_tag; 42 | } 43 | public String getInfo_pic() { 44 | return info_pic; 45 | } 46 | public void setInfo_pic(String info_pic) { 47 | this.info_pic = info_pic; 48 | } 49 | 50 | public String getInfo_url() { 51 | return info_url; 52 | } 53 | public void setInfo_url(String info_url) { 54 | this.info_url = info_url; 55 | } 56 | public String getInfo_date() { 57 | return info_date; 58 | } 59 | public void setInfo_date(String info_date) { 60 | this.info_date = info_date; 61 | } 62 | 63 | 64 | public int getInfo_order() { 65 | return info_order; 66 | } 67 | public void setInfo_order(int info_order) { 68 | this.info_order = info_order; 69 | } 70 | /* 71 | * 构造函数 72 | */ 73 | public Info(int info_id, String info_title, String info_txt, String info_tag, String info_pic, 74 | String info_url, String info_date,int info_order) { 75 | super(); 76 | this.info_id = info_id; 77 | this.info_title = info_title; 78 | this.info_txt = info_txt; 79 | this.info_tag = info_tag; 80 | this.info_pic = info_pic; 81 | 82 | this.info_url = info_url; 83 | this.info_date = info_date; 84 | this.info_order = info_order; 85 | } 86 | 87 | public Info(String info_title, String info_txt, String info_tag, String info_pic, 88 | String info_url, String info_date,int info_order) { 89 | super(); 90 | this.info_title = info_title; 91 | this.info_txt = info_txt; 92 | this.info_tag = info_tag; 93 | this.info_pic = info_pic; 94 | 95 | this.info_url = info_url; 96 | this.info_date = info_date; 97 | this.info_order = info_order; 98 | } 99 | public Info(String info_title, String info_txt, String info_tag, String info_pic, String info_url, int info_order) { 100 | super(); 101 | this.info_title = info_title; 102 | this.info_txt = info_txt; 103 | this.info_tag = info_tag; 104 | this.info_pic = info_pic; 105 | this.info_url = info_url; 106 | this.info_order = info_order; 107 | } 108 | 109 | 110 | 111 | 112 | } 113 | -------------------------------------------------------------------------------- /src/com/trav/cms/scen/service/ScenShow.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.scen.service; 2 | 3 | import java.io.IOException; 4 | import java.io.PrintWriter; 5 | import java.util.List; 6 | 7 | import javax.servlet.ServletException; 8 | import javax.servlet.annotation.WebServlet; 9 | import javax.servlet.http.HttpServlet; 10 | import javax.servlet.http.HttpServletRequest; 11 | import javax.servlet.http.HttpServletResponse; 12 | 13 | 14 | import com.trav.cms.scen.dao.ScenOperator; 15 | import com.trav.cms.scen.domain.Scen; 16 | 17 | import net.sf.json.JSONArray; 18 | import net.sf.json.JSONObject; 19 | 20 | /** 21 | * Servlet implementation class ScenShow 22 | */ 23 | @WebServlet("/ScenShow") 24 | public class ScenShow extends HttpServlet { 25 | private static final long serialVersionUID = 1L; 26 | ScenOperator scenOperator = new ScenOperator(); 27 | 28 | /** 29 | * @see HttpServlet#HttpServlet() 30 | */ 31 | public ScenShow() { 32 | super(); 33 | // TODO Auto-generated constructor stub 34 | } 35 | 36 | /** 37 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse 38 | * response) 39 | */ 40 | protected void doGet(HttpServletRequest request, HttpServletResponse response) 41 | throws ServletException, IOException { 42 | // TODO Auto-generated method stub 43 | 44 | request.setCharacterEncoding("UTF-8"); 45 | response.setContentType("text/html;charset=UTF-8"); 46 | PrintWriter out = response.getWriter(); 47 | System.out.println("*--------------------------------------------------*"); 48 | System.out.println("*---景点图----ScenShow"); 49 | 50 | int offset = Integer.parseInt(request.getParameter("offset")); 51 | int size = Integer.parseInt(request.getParameter("size")); 52 | 53 | System.out.println("offset--"+offset+",size---"+size); 54 | // Json数组 55 | JSONArray scenMore = new JSONArray(); 56 | 57 | try { 58 | List list = scenOperator.listMore(offset, size); 59 | 60 | for (int i = 0; i < list.size(); i++) { 61 | // Json对象 62 | JSONObject json = new JSONObject(); 63 | 64 | // 查询结果集 65 | Scen scen = list.get(i); 66 | 67 | /* 68 | * json.put("picname", banner.getBanname()); 69 | * json.put("pictitle", banner.getBantitle()); 70 | */ 71 | 72 | json.put("scenname", scen.getScenname()); 73 | json.put("scenlevel",scen.getScenlevel()); 74 | json.put("scentitle", scen.getScentitle()); 75 | json.put("scenadd", scen.getScenadd()); 76 | json.put("scenurl", scen.getScenurl()); 77 | json.put("scenpic", scen.getPicpath()); 78 | json.put("scenid", scen.getScenid()); 79 | // 将Json对象放入数组 80 | scenMore.add(json); 81 | } 82 | 83 | // 传到页面 84 | out.print(scenMore); 85 | } catch (Exception e) { 86 | // TODO Auto-generated catch block 87 | e.printStackTrace(); 88 | } 89 | 90 | out.close(); 91 | 92 | } 93 | 94 | /** 95 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse 96 | * response) 97 | */ 98 | protected void doPost(HttpServletRequest request, HttpServletResponse response) 99 | throws ServletException, IOException { 100 | // TODO Auto-generated method stub 101 | doGet(request, response); 102 | } 103 | 104 | } 105 | -------------------------------------------------------------------------------- /src/com/trav/cms/info/service/InfoShow.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.info.service; 2 | 3 | import java.io.IOException; 4 | import java.io.PrintWriter; 5 | import java.util.List; 6 | 7 | import javax.servlet.ServletException; 8 | import javax.servlet.annotation.WebServlet; 9 | import javax.servlet.http.HttpServlet; 10 | import javax.servlet.http.HttpServletRequest; 11 | import javax.servlet.http.HttpServletResponse; 12 | 13 | import com.trav.cms.info.dao.InfoOperator; 14 | import com.trav.cms.info.domain.Info; 15 | 16 | import net.sf.json.JSONArray; 17 | import net.sf.json.JSONObject; 18 | 19 | /** 20 | * Servlet implementation class InfoShow 21 | */ 22 | @WebServlet("/admin/InfoShow") 23 | public class InfoShow extends HttpServlet { 24 | private static final long serialVersionUID = 1L; 25 | InfoOperator infoOperator = new InfoOperator(); 26 | 27 | /** 28 | * @see HttpServlet#HttpServlet() 29 | */ 30 | public InfoShow() { 31 | super(); 32 | // TODO Auto-generated constructor stub 33 | } 34 | 35 | /** 36 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse 37 | * response) 38 | */ 39 | protected void doGet(HttpServletRequest request, HttpServletResponse response) 40 | throws ServletException, IOException { 41 | // TODO Auto-generated method stub 42 | // TODO Auto-generated method stub 43 | 44 | request.setCharacterEncoding("UTF-8"); 45 | response.setContentType("text/html;charset=UTF-8"); 46 | PrintWriter out = response.getWriter(); 47 | System.out.println("---资讯----InfoShow"); 48 | 49 | int offset = Integer.parseInt(request.getParameter("offset")); 50 | int size = Integer.parseInt(request.getParameter("size")); 51 | 52 | System.out.println("offset--" + offset + ",size---" + size); 53 | // Json数组 54 | JSONArray infoMore = new JSONArray(); 55 | 56 | try { 57 | List list = infoOperator.listMore(offset, size); 58 | 59 | for (int i = 0; i < list.size(); i++) { 60 | // Json对象 61 | JSONObject json = new JSONObject(); 62 | 63 | // 查询结果集 64 | Info info = list.get(i); 65 | 66 | /* 67 | * json.put("picname", banner.getBanname()); 68 | * json.put("pictitle", banner.getBantitle()); 69 | */ 70 | json.put("info_id", info.getInfo_id()); 71 | json.put("info_title", info.getInfo_title()); 72 | json.put("info_txt", info.getInfo_txt()); 73 | json.put("info_tag", info.getInfo_tag()); 74 | json.put("info_pic", info.getInfo_pic()); 75 | json.put("info_url", info.getInfo_url()); 76 | json.put("info_date", info.getInfo_date()); 77 | System.out.println("InfoShow---:"+info.getInfo_date()); 78 | json.put("info_order", info.getInfo_order()); 79 | // 将Json对象放入数组 80 | infoMore.add(json); 81 | } 82 | 83 | // 传到页面 84 | out.print(infoMore); 85 | } catch (Exception e) { 86 | // TODO Auto-generated catch block 87 | e.printStackTrace(); 88 | } 89 | 90 | out.close(); 91 | } 92 | 93 | /** 94 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse 95 | * response) 96 | */ 97 | protected void doPost(HttpServletRequest request, HttpServletResponse response) 98 | throws ServletException, IOException { 99 | // TODO Auto-generated method stub 100 | doGet(request, response); 101 | } 102 | 103 | } 104 | -------------------------------------------------------------------------------- /WebContent/search-top.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 站内搜索 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 20 | 21 | 22 | 23 |
24 | 25 |
26 | 80 |
81 | 82 | 83 | 84 | 85 |
86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | -------------------------------------------------------------------------------- /WebContent/admin/admin-edit.jsp: -------------------------------------------------------------------------------- 1 | <%@page contentType="text/html"%> 2 | <%@page pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 | 8 | 管理员编辑 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 |
17 | 18 | 19 | 20 | 22 | 26 | 27 | 28 | 29 | 31 | 34 | 35 | 36 | 38 | 41 | 42 | 43 | 44 | 46 | 49 | 50 | 51 | 52 |
53 | 54 | 55 | 56 | 57 | 58 | 59 | 62 | 63 | 64 |
* 21 | 用户ID: 25 |
* 30 | 用户名:
* 37 | 邮箱:
* 45 | 性别:
65 |
66 |
67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 104 | 105 | 106 | -------------------------------------------------------------------------------- /src/com/trav/cms/util/Md5Code.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.util; 2 | 3 | 4 | import java.io.UnsupportedEncodingException; 5 | import java.security.MessageDigest; 6 | import java.security.NoSuchAlgorithmException; 7 | import java.security.SecureRandom; 8 | import java.util.Arrays; 9 | 10 | public class Md5Code { 11 | 12 | private static final String HEX_NUMS_STR="0123456789ABCDEF"; 13 | private static final Integer SALT_LENGTH = 12; 14 | 15 | /** 16 | * Md5加密工具 17 | * 将16进制字符串转换成字节数组 18 | * @param hex 19 | * @return 20 | */ 21 | public static byte[] hexStringToByte(String hex) { 22 | int len = (hex.length() / 2); 23 | byte[] result = new byte[len]; 24 | char[] hexChars = hex.toCharArray(); 25 | for (int i = 0; i < len; i++) { 26 | int pos = i * 2; 27 | result[i] = (byte) (HEX_NUMS_STR.indexOf(hexChars[pos]) << 4 28 | | HEX_NUMS_STR.indexOf(hexChars[pos + 1])); 29 | } 30 | return result; 31 | } 32 | 33 | 34 | /** 35 | * 将指定byte数组转换成16进制字符串 36 | * @param b 37 | * @return 38 | */ 39 | public static String byteToHexString(byte[] b) { 40 | StringBuffer hexString = new StringBuffer(); 41 | for (int i = 0; i < b.length; i++) { 42 | String hex = Integer.toHexString(b[i] & 0xFF); 43 | if (hex.length() == 1) { 44 | hex = '0' + hex; 45 | } 46 | hexString.append(hex.toUpperCase()); 47 | } 48 | return hexString.toString(); 49 | } 50 | 51 | 52 | /** 53 | * 验证口令是否合法 54 | * @param password 55 | * @param passwordInDb 56 | * @return 57 | * @throws NoSuchAlgorithmException 58 | * @throws UnsupportedEncodingException 59 | */ 60 | public static boolean validPassword(String password, String passwordInDb) 61 | throws NoSuchAlgorithmException, UnsupportedEncodingException { 62 | //将16进制字符串格式口令转换成字节数组 63 | byte[] pwdInDb = hexStringToByte(passwordInDb); 64 | //声明盐变量 65 | byte[] salt = new byte[SALT_LENGTH]; 66 | //将盐从数据库中保存的口令字节数组中提取出来 67 | System.arraycopy(pwdInDb, 0, salt, 0, SALT_LENGTH); 68 | //创建消息摘要对象 69 | MessageDigest md = MessageDigest.getInstance("MD5"); 70 | //将盐数据传入消息摘要对象 71 | md.update(salt); 72 | //将口令的数据传给消息摘要对象 73 | md.update(password.getBytes("UTF-8")); 74 | //生成输入口令的消息摘要 75 | byte[] digest = md.digest(); 76 | //声明一个保存数据库中口令消息摘要的变量 77 | byte[] digestInDb = new byte[pwdInDb.length - SALT_LENGTH]; 78 | //取得数据库中口令的消息摘要 79 | System.arraycopy(pwdInDb, SALT_LENGTH, digestInDb, 0, digestInDb.length); 80 | //比较根据输入口令生成的消息摘要和数据库中消息摘要是否相同 81 | if (Arrays.equals(digest, digestInDb)) { 82 | //口令正确返回口令匹配消息 83 | return true; 84 | } else { 85 | //口令不正确返回口令不匹配消息 86 | return false; 87 | } 88 | } 89 | 90 | 91 | /** 92 | * 获得加密后的16进制形式口令 93 | * @param password 94 | * @return 95 | * @throws NoSuchAlgorithmException 96 | * @throws UnsupportedEncodingException 97 | */ 98 | public static String getEncryptedPwd(String password) 99 | throws NoSuchAlgorithmException, UnsupportedEncodingException { 100 | //声明加密后的口令数组变量 101 | byte[] pwd = null; 102 | //随机数生成器 103 | SecureRandom random = new SecureRandom(); 104 | //声明盐数组变量 105 | byte[] salt = new byte[SALT_LENGTH]; 106 | //将随机数放入盐变量中 107 | random.nextBytes(salt); 108 | 109 | //声明消息摘要对象 110 | MessageDigest md = null; 111 | //创建消息摘要 112 | md = MessageDigest.getInstance("MD5"); 113 | //将盐数据传入消息摘要对象 114 | md.update(salt); 115 | //将口令的数据传给消息摘要对象 116 | md.update(password.getBytes("UTF-8")); 117 | //获得消息摘要的字节数组 118 | byte[] digest = md.digest(); 119 | 120 | //因为要在口令的字节数组中存放盐,所以加上盐的字节长度 121 | pwd = new byte[digest.length + SALT_LENGTH]; 122 | //将盐的字节拷贝到生成的加密口令字节数组的前12个字节,以便在验证口令时取出盐 123 | System.arraycopy(salt, 0, pwd, 0, SALT_LENGTH); 124 | //将消息摘要拷贝到加密口令字节数组从第13个字节开始的字节 125 | System.arraycopy(digest, 0, pwd, SALT_LENGTH, digest.length); 126 | //将字节数组格式加密后的口令转化为16进制字符串格式的口令 127 | return byteToHexString(pwd); 128 | } 129 | } 130 | 131 | 132 | -------------------------------------------------------------------------------- /src/com/trav/cms/admin/AdminLogin.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.admin; 2 | 3 | import java.io.IOException; 4 | import java.io.PrintWriter; 5 | 6 | import javax.servlet.ServletException; 7 | import javax.servlet.annotation.WebServlet; 8 | import javax.servlet.http.HttpServlet; 9 | import javax.servlet.http.HttpServletRequest; 10 | import javax.servlet.http.HttpServletResponse; 11 | import javax.servlet.http.HttpSession; 12 | 13 | import com.trav.cms.user.dao.UserOperator; 14 | import com.trav.cms.user.domain.User; 15 | 16 | /** 17 | * Servlet implementation class AdminLogin 18 | */ 19 | @WebServlet("/admin/Login") 20 | public class AdminLogin extends HttpServlet { 21 | private static final long serialVersionUID = 1L; 22 | UserOperator userOperator = new UserOperator(); 23 | 24 | /** 25 | * @see HttpServlet#HttpServlet() 26 | */ 27 | public AdminLogin() { 28 | super(); 29 | // TODO Auto-generated constructor stub 30 | } 31 | 32 | /** 33 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse 34 | * response) 35 | */ 36 | protected void doGet(HttpServletRequest request, HttpServletResponse response) 37 | throws ServletException, IOException { 38 | // TODO Auto-generated method stub 39 | request.setCharacterEncoding("UTF-8"); 40 | response.setContentType("text/html;charset=UTF-8"); 41 | PrintWriter out=response.getWriter(); 42 | 43 | String username = request.getParameter("username"); 44 | String password = request.getParameter("password"); 45 | User user = null; 46 | 47 | user = userOperator.findUserByName(username); 48 | if (user != null) { 49 | if (password.equals(user.getPassword())) { 50 | System.out.println("^--^登录成功!"); 51 | System.out.println("用户名:" + username+",密 码:" + password); 52 | // Session 53 | HttpSession session = request.getSession(); 54 | //数组信息 55 | String[] userinfo={username,Integer.toString(user.getUser_id())}; 56 | // 绑定数据 57 | session.setAttribute("userinfo", userinfo); 58 | //session.setAttribute("userid", user.getUser_id()); 59 | // 设置失效时间 5分钟 60 | session.setMaxInactiveInterval(300); 61 | // 做转发 62 | request.setAttribute("user", user); 63 | request.getRequestDispatcher("index.jsp").forward(request, response); 64 | } 65 | 66 | else { 67 | System.out.println("-*-*-登录失败!密码不正确!"); 68 | System.out.println("用户名:" + username); 69 | System.out.println("密 码:" + password); 70 | //response.sendRedirect("login.jsp"); 71 | out.flush();//清空缓存 72 | out.println("");//输出script结尾标签 76 | 77 | } 78 | } 79 | 80 | else { 81 | System.out.println("-*-*-登录失败!用户名不存在!"); 82 | System.out.println("用户名:" + username); 83 | System.out.println("密 码:" + password); 84 | //response.sendRedirect("login.jsp"); 85 | out.flush();//清空缓存 86 | out.println("");//输出script结尾标签 90 | // 做重定向到登录页面 91 | //response.sendRedirect("login.jsp"); 92 | } 93 | out.close(); 94 | 95 | } 96 | 97 | /** 98 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse 99 | * response) 100 | */ 101 | protected void doPost(HttpServletRequest request, HttpServletResponse response) 102 | throws ServletException, IOException { 103 | // TODO Auto-generated method stub 104 | doGet(request, response); 105 | } 106 | 107 | } 108 | -------------------------------------------------------------------------------- /src/com/trav/cms/user/service/UserEdit.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.user.service; 2 | 3 | import java.io.IOException; 4 | import java.io.PrintWriter; 5 | 6 | import javax.servlet.ServletException; 7 | import javax.servlet.annotation.WebServlet; 8 | import javax.servlet.http.HttpServlet; 9 | import javax.servlet.http.HttpServletRequest; 10 | import javax.servlet.http.HttpServletResponse; 11 | 12 | import com.trav.cms.user.dao.UserOperator; 13 | import com.trav.cms.user.domain.User; 14 | 15 | /** 16 | * Servlet implementation class UserEdit 17 | */ 18 | @WebServlet("/admin/UserEdit") 19 | public class UserEdit extends HttpServlet { 20 | private static final long serialVersionUID = 1L; 21 | UserOperator userOperator=new UserOperator(); 22 | /** 23 | * @see HttpServlet#HttpServlet() 24 | */ 25 | public UserEdit() { 26 | super(); 27 | // TODO Auto-generated constructor stub 28 | } 29 | 30 | // 获取客户端IP地址 31 | public static String getIpAddress(HttpServletRequest request) { 32 | String ip = request.getHeader("x-forwarded-for"); 33 | if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { 34 | ip = request.getHeader("Proxy-Client-IP"); 35 | } 36 | if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { 37 | ip = request.getHeader("WL-Proxy-Client-IP"); 38 | } 39 | if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { 40 | ip = request.getHeader("HTTP_CLIENT_IP"); 41 | } 42 | if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { 43 | ip = request.getHeader("HTTP_X_FORWARDED_FOR"); 44 | } 45 | if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { 46 | ip = request.getRemoteAddr(); 47 | } 48 | return ip; 49 | } 50 | 51 | 52 | /** 53 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) 54 | */ 55 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 56 | // TODO Auto-generated method stub 57 | request.setCharacterEncoding("UTF-8"); 58 | response.setContentType("text/html;charset=UTF-8"); 59 | PrintWriter out = response.getWriter(); 60 | 61 | int user_id = Integer.parseInt(request.getParameter("userid")); 62 | String username = null; 63 | String email = null; 64 | 65 | String register_ip = null; 66 | String gender = null; 67 | 68 | 69 | username = request.getParameter("username"); 70 | email = request.getParameter("email"); 71 | register_ip = getIpAddress(request); 72 | gender = request.getParameter("gender"); 73 | System.out.println("IpAddr" + register_ip); 74 | 75 | User user=new User(user_id, username, email, register_ip, gender); 76 | 77 | if (userOperator.editUser(user)) { 78 | System.out.println("编辑成功!"); 79 | out.flush();// 清空缓存 80 | out.println("");// 输出script结尾标签 84 | } 85 | else{ 86 | System.out.println("编辑失败!"); 87 | out.flush();// 清空缓存 88 | out.println("");// 输出script结尾标签 92 | } 93 | out.close(); 94 | } 95 | 96 | /** 97 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) 98 | */ 99 | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 100 | // TODO Auto-generated method stub 101 | doGet(request, response); 102 | } 103 | 104 | } 105 | -------------------------------------------------------------------------------- /WebContent/admin/admin-edit-pwd.jsp: -------------------------------------------------------------------------------- 1 | <%@page contentType="text/html"%> 2 | <%@page pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 | 修改密码 8 | 9 | 10 | 11 | 12 | 13 |
14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 29 | 30 | 31 | 32 | 36 | 37 | 38 | 39 | 43 | 44 | 45 | 46 | 51 | 52 | 53 | 54 | 60 | 61 | 62 |
修改密码
28 |
旧密码:
新密码:
再次输入新密码:
55 | 59 |
63 |
64 |
65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 107 | 108 | -------------------------------------------------------------------------------- /WebContent/admin/pwd-edit.jsp: -------------------------------------------------------------------------------- 1 | <%@page contentType="text/html"%> 2 | <%@page pageEncoding="UTF-8"%>> 3 | 4 | 5 | 6 | 7 | 修改密码 8 | 9 | 10 | 11 | 12 | 13 |
14 |
16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 30 | 31 | 32 | 33 | 37 | 38 | 39 | 40 | 44 | 45 | 46 | 47 | 52 | 53 | 54 | 55 | 61 | 62 | 63 |
修改密码
29 |
旧密码:
新密码:
再次输入新密码:
56 | 60 |
64 |
65 |
66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 108 | 109 | -------------------------------------------------------------------------------- /src/com/trav/cms/msg/service/MsgAdd.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.msg.service; 2 | 3 | import java.io.IOException; 4 | import java.io.PrintWriter; 5 | 6 | import javax.servlet.ServletException; 7 | import javax.servlet.annotation.WebServlet; 8 | import javax.servlet.http.HttpServlet; 9 | import javax.servlet.http.HttpServletRequest; 10 | import javax.servlet.http.HttpServletResponse; 11 | 12 | import com.trav.cms.msg.dao.MsgOperator; 13 | import com.trav.cms.msg.domain.Msg; 14 | 15 | /** 16 | * Servlet implementation class MsgAdd 17 | */ 18 | @WebServlet("/MsgAdd") 19 | public class MsgAdd extends HttpServlet { 20 | private static final long serialVersionUID = 1L; 21 | MsgOperator msgOperator = new MsgOperator(); 22 | 23 | /** 24 | * @see HttpServlet#HttpServlet() 25 | */ 26 | public MsgAdd() { 27 | super(); 28 | // TODO Auto-generated constructor stub 29 | } 30 | 31 | // 获取客户端IP地址 32 | public static String getIpAddress(HttpServletRequest request) { 33 | String ip = request.getHeader("x-forwarded-for"); 34 | if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { 35 | ip = request.getHeader("Proxy-Client-IP"); 36 | } 37 | if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { 38 | ip = request.getHeader("WL-Proxy-Client-IP"); 39 | } 40 | if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { 41 | ip = request.getHeader("HTTP_CLIENT_IP"); 42 | } 43 | if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { 44 | ip = request.getHeader("HTTP_X_FORWARDED_FOR"); 45 | } 46 | if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { 47 | ip = request.getRemoteAddr(); 48 | } 49 | return ip; 50 | } 51 | 52 | /** 53 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse 54 | * response) 55 | */ 56 | protected void doGet(HttpServletRequest request, HttpServletResponse response) 57 | throws ServletException, IOException { 58 | // TODO Auto-generated method stub 59 | 60 | request.setCharacterEncoding("UTF-8"); 61 | response.setContentType("text/html;charset=UTF-8"); 62 | PrintWriter out = response.getWriter(); 63 | // request.getRemoteAddr(); 64 | System.out.println("*--------------------------------------------------*"); 65 | System.out.println("新增留言:MsgAdd"); 66 | String author = null; 67 | String msg_text = null; 68 | String msg_ip = null; 69 | String email = null; 70 | 71 | author = request.getParameter("author"); 72 | email = request.getParameter("email"); 73 | msg_text = request.getParameter("msg_text"); 74 | msg_ip = getIpAddress(request); 75 | System.out.println("IpAddr" + msg_ip); 76 | 77 | Msg msg = new Msg(author, msg_text, msg_ip, msg_ip, email); 78 | 79 | if (msgOperator.addMsg(msg)) { 80 | System.out.println("留言成功!"); 81 | out.flush();// 清空缓存 82 | out.println("");// 输出script结尾标签 86 | } 87 | 88 | else { 89 | System.out.println("留言失败!"); 90 | out.flush();// 清空缓存 91 | out.println("");// 输出script结尾标签 95 | } 96 | 97 | out.close(); 98 | 99 | } 100 | 101 | /** 102 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse 103 | * response) 104 | */ 105 | protected void doPost(HttpServletRequest request, HttpServletResponse response) 106 | throws ServletException, IOException { 107 | // TODO Auto-generated method stub 108 | doGet(request, response); 109 | } 110 | 111 | } 112 | -------------------------------------------------------------------------------- /src/com/trav/cms/user/service/UserAdd.java: -------------------------------------------------------------------------------- 1 | package com.trav.cms.user.service; 2 | 3 | import java.io.IOException; 4 | import java.io.PrintWriter; 5 | 6 | import javax.servlet.ServletException; 7 | import javax.servlet.annotation.WebServlet; 8 | import javax.servlet.http.HttpServlet; 9 | import javax.servlet.http.HttpServletRequest; 10 | import javax.servlet.http.HttpServletResponse; 11 | import com.trav.cms.user.dao.UserOperator; 12 | import com.trav.cms.user.domain.User; 13 | 14 | /** 15 | * Servlet implementation class UserAdd 16 | */ 17 | @WebServlet("/admin/UserAdd") 18 | public class UserAdd extends HttpServlet { 19 | private static final long serialVersionUID = 1L; 20 | UserOperator userOperator = new UserOperator(); 21 | 22 | /** 23 | * @see HttpServlet#HttpServlet() 24 | */ 25 | public UserAdd() { 26 | super(); 27 | // TODO Auto-generated constructor stub 28 | } 29 | 30 | // 获取客户端IP地址 31 | public static String getIpAddress(HttpServletRequest request) { 32 | String ip = request.getHeader("x-forwarded-for"); 33 | if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { 34 | ip = request.getHeader("Proxy-Client-IP"); 35 | } 36 | if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { 37 | ip = request.getHeader("WL-Proxy-Client-IP"); 38 | } 39 | if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { 40 | ip = request.getHeader("HTTP_CLIENT_IP"); 41 | } 42 | if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { 43 | ip = request.getHeader("HTTP_X_FORWARDED_FOR"); 44 | } 45 | if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { 46 | ip = request.getRemoteAddr(); 47 | } 48 | return ip; 49 | } 50 | 51 | /** 52 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse 53 | * response) 54 | */ 55 | protected void doGet(HttpServletRequest request, HttpServletResponse response) 56 | throws ServletException, IOException { 57 | // TODO Auto-generated method stub 58 | 59 | request.setCharacterEncoding("UTF-8"); 60 | response.setContentType("text/html;charset=UTF-8"); 61 | PrintWriter out = response.getWriter(); 62 | // request.getRemoteAddr(); 63 | System.out.println("*--------------------------------------------------*"); 64 | System.out.println("新增管理员:UserAdd"); 65 | String username = null; 66 | String email = null; 67 | String password = null; 68 | String register_ip = null; 69 | String gender = null; 70 | 71 | 72 | username = request.getParameter("username"); 73 | email = request.getParameter("email"); 74 | password = request.getParameter("password"); 75 | register_ip = getIpAddress(request); 76 | gender = request.getParameter("gender"); 77 | System.out.println("IpAddr" + register_ip); 78 | 79 | User user = new User(username, password, email, register_ip, gender); 80 | 81 | if (userOperator.addUser(user)) { 82 | System.out.println("添加成功!"); 83 | out.flush();//清空缓存 84 | out.println("");//输出script结尾标签 88 | } 89 | 90 | else { 91 | System.out.println("添加失败!"); 92 | out.flush();//清空缓存 93 | out.println("");//输出script结尾标签 97 | } 98 | out.close(); 99 | } 100 | 101 | /** 102 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse 103 | * response) 104 | */ 105 | protected void doPost(HttpServletRequest request, HttpServletResponse response) 106 | throws ServletException, IOException { 107 | // TODO Auto-generated method stub 108 | doGet(request, response); 109 | } 110 | 111 | } 112 | -------------------------------------------------------------------------------- /WebContent/admin/banner-list.jsp: -------------------------------------------------------------------------------- 1 | <%@page import="java.net.URLDecoder"%> 2 | <%@ page language="java" contentType="text/html; charset=UTF-8" 3 | pageEncoding="UTF-8"%> 4 | <%@ page import="com.trav.cms.banner.domain.*"%> 5 | <%@ page import="java.util.*"%> 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 31 | 轮播图 32 | 33 | 34 | 35 | <% 36 | List list = (List) request.getAttribute("banner");%> 37 | 38 | 48 |
49 | 50 |
51 | 52 | 添加轮播图 55 | 56 | 57 | 共有数据: <%=list.size() %> 条 58 | 59 |
60 | 61 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | <% 76 | for (int i = 0; i < list.size(); i++) { 77 | Banner banner = list.get(i); 78 | %> 79 | 80 | 81 | 82 | 83 | 87 | 88 | 89 | 90 | 91 | 95 | 96 | 97 | <% 98 | } 99 | %> 100 | 101 |
*轮播图只有五条*
ID图片名称URL路径操作
<%=banner.getBanid()%> 84 | <%=banner.getBanname()%> 86 | <%=banner.getBantitle()%><%=banner.getBanpath()%> 92 |    93 | 94 |
102 | 103 |
104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | --------------------------------------------------------------------------------