├── .settings ├── org.eclipse.wst.jsdt.ui.superType.name ├── org.eclipse.wst.jsdt.ui.superType.container ├── org.eclipse.core.resources.prefs ├── com.genuitec.eclipse.core.prefs ├── com.genuitec.eclipse.migration.prefs ├── org.eclipse.wst.common.project.facet.core.xml ├── org.eclipse.jdt.core.prefs ├── org.eclipse.wst.common.component └── .jsdtscope ├── WebRoot ├── ueditor │ ├── themes │ │ ├── iframe.css │ │ └── default │ │ │ ├── images │ │ │ ├── arrow.png │ │ │ ├── icons.gif │ │ │ ├── icons.png │ │ │ ├── lock.gif │ │ │ ├── scale.png │ │ │ ├── word.gif │ │ │ ├── anchor.gif │ │ │ ├── arrow_up.png │ │ │ ├── charts.png │ │ │ ├── cursor_h.gif │ │ │ ├── cursor_h.png │ │ │ ├── cursor_v.gif │ │ │ ├── cursor_v.png │ │ │ ├── filescan.png │ │ │ ├── sortable.png │ │ │ ├── spacer.gif │ │ │ ├── upload.png │ │ │ ├── arrow_down.png │ │ │ ├── button-bg.gif │ │ │ ├── icons-all.gif │ │ │ ├── pagebreak.gif │ │ │ ├── sparator_v.png │ │ │ ├── toolbar_bg.png │ │ │ ├── videologo.gif │ │ │ ├── wordpaste.png │ │ │ ├── cancelbutton.gif │ │ │ ├── highlighted.gif │ │ │ ├── unhighlighted.gif │ │ │ ├── dialog-title-bg.png │ │ │ ├── neweditor-tab-bg.png │ │ │ ├── table-cell-align.png │ │ │ └── tangram-colorpicker.png │ │ │ └── dialogbase.css │ ├── jsp │ │ ├── ueditor.jar │ │ ├── commons-fileupload-1.2.2.jar │ │ ├── config.properties │ │ ├── getContent.jsp │ │ ├── scrawlUp.jsp │ │ ├── getMovie.jsp │ │ ├── fileUp.jsp │ │ └── imageManager.jsp │ ├── lang │ │ ├── en │ │ │ └── images │ │ │ │ ├── copy.png │ │ │ │ ├── music.png │ │ │ │ ├── button.png │ │ │ │ ├── upload.png │ │ │ │ ├── addimage.png │ │ │ │ ├── background.png │ │ │ │ ├── imglabel.png │ │ │ │ ├── localimage.png │ │ │ │ ├── deleteenable.png │ │ │ │ ├── deletedisable.png │ │ │ │ ├── listbackground.png │ │ │ │ ├── rotateleftdisable.png │ │ │ │ ├── rotateleftenable.png │ │ │ │ ├── rotaterightenable.png │ │ │ │ ├── alldeletebtnupskin.png │ │ │ │ ├── rotaterightdisable.png │ │ │ │ └── alldeletebtnhoverskin.png │ │ └── zh-cn │ │ │ └── images │ │ │ ├── copy.png │ │ │ ├── music.png │ │ │ ├── upload.png │ │ │ ├── imglabel.png │ │ │ └── localimage.png │ ├── dialogs │ │ ├── table │ │ │ ├── dragicon.png │ │ │ ├── edittip.html │ │ │ ├── edittable.css │ │ │ └── edittd.html │ │ ├── emotion │ │ │ ├── images │ │ │ │ ├── 0.gif │ │ │ │ ├── bface.gif │ │ │ │ ├── cface.gif │ │ │ │ ├── fface.gif │ │ │ │ ├── jxface2.gif │ │ │ │ ├── tface.gif │ │ │ │ ├── wface.gif │ │ │ │ ├── yface.gif │ │ │ │ └── neweditor-tab-bg.png │ │ │ └── emotion.css │ │ ├── image │ │ │ ├── imageUploader.swf │ │ │ └── images │ │ │ │ ├── left_focus.jpg │ │ │ │ ├── none_focus.jpg │ │ │ │ ├── right_focus.jpg │ │ │ │ └── center_focus.jpg │ │ ├── scrawl │ │ │ └── images │ │ │ │ ├── brush.png │ │ │ │ ├── empty.png │ │ │ │ ├── redo.png │ │ │ │ ├── redoH.png │ │ │ │ ├── scale.png │ │ │ │ ├── size.png │ │ │ │ ├── undo.png │ │ │ │ ├── undoH.png │ │ │ │ ├── addimg.png │ │ │ │ ├── delimg.png │ │ │ │ ├── delimgH.png │ │ │ │ ├── emptyH.png │ │ │ │ ├── eraser.png │ │ │ │ └── scaleH.png │ │ ├── template │ │ │ ├── images │ │ │ │ ├── bg.gif │ │ │ │ ├── pre0.png │ │ │ │ ├── pre1.png │ │ │ │ ├── pre2.png │ │ │ │ ├── pre3.png │ │ │ │ └── pre4.png │ │ │ ├── template.html │ │ │ ├── template.css │ │ │ └── template.js │ │ ├── charts │ │ │ ├── images │ │ │ │ ├── charts0.png │ │ │ │ ├── charts1.png │ │ │ │ ├── charts2.png │ │ │ │ ├── charts3.png │ │ │ │ ├── charts4.png │ │ │ │ └── charts5.png │ │ │ └── chart.config.js │ │ ├── video │ │ │ └── images │ │ │ │ ├── left_focus.jpg │ │ │ │ ├── none_focus.jpg │ │ │ │ ├── right_focus.jpg │ │ │ │ └── center_focus.jpg │ │ ├── wordimage │ │ │ ├── imageUploader.swf │ │ │ └── fClipboard_ueditor.swf │ │ ├── attachment │ │ │ ├── fileTypeImages │ │ │ │ ├── icon_chm.gif │ │ │ │ ├── icon_doc.gif │ │ │ │ ├── icon_exe.gif │ │ │ │ ├── icon_mp3.gif │ │ │ │ ├── icon_mv.gif │ │ │ │ ├── icon_pdf.gif │ │ │ │ ├── icon_ppt.gif │ │ │ │ ├── icon_psd.gif │ │ │ │ ├── icon_rar.gif │ │ │ │ ├── icon_txt.gif │ │ │ │ ├── icon_xls.gif │ │ │ │ └── icon_default.png │ │ │ └── fileTypeMaps.js │ │ ├── help │ │ │ ├── help.css │ │ │ └── help.js │ │ ├── spechars │ │ │ └── spechars.html │ │ ├── music │ │ │ ├── music.html │ │ │ └── music.css │ │ ├── background │ │ │ └── background.css │ │ ├── preview │ │ │ └── preview.html │ │ ├── anchor │ │ │ └── anchor.html │ │ ├── snapscreen │ │ │ └── snapscreen.html │ │ └── webapp │ │ │ └── webapp.html │ └── third-party │ │ ├── video-js │ │ ├── font │ │ │ ├── vjs.eot │ │ │ ├── vjs.ttf │ │ │ └── vjs.woff │ │ └── video-js.swf │ │ ├── swfupload │ │ ├── swfupload.swf │ │ ├── swfupload_fp9.swf │ │ └── swfupload.cookies.js │ │ ├── snapscreen │ │ └── UEditorSnapscreen.exe │ │ └── highcharts │ │ ├── modules │ │ ├── heatmap.js │ │ ├── heatmap.src.js │ │ ├── no-data-to-display.js │ │ └── funnel.js │ │ ├── themes │ │ ├── skies.js │ │ └── grid.js │ │ └── adapters │ │ └── mootools-adapter.js ├── META-INF │ └── MANIFEST.MF ├── WEB-INF │ ├── classes │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── com │ │ │ └── phn │ │ │ │ ├── bean │ │ │ │ ├── News.class │ │ │ │ ├── Grades.class │ │ │ │ ├── Helps.class │ │ │ │ ├── Pages.class │ │ │ │ ├── Topics.class │ │ │ │ ├── Types.class │ │ │ │ ├── Users.class │ │ │ │ ├── Announces.class │ │ │ │ ├── Categorys.class │ │ │ │ ├── Comments.class │ │ │ │ ├── Grades.hbm.xml │ │ │ │ ├── Helps.hbm.xml │ │ │ │ ├── Announces.hbm.xml │ │ │ │ ├── Categorys.hbm.xml │ │ │ │ ├── News.hbm.xml │ │ │ │ ├── Types.hbm.xml │ │ │ │ ├── Comments.hbm.xml │ │ │ │ └── Topics.hbm.xml │ │ │ │ ├── dao │ │ │ │ ├── GradeDao.class │ │ │ │ ├── HelpDao.class │ │ │ │ ├── NewDao.class │ │ │ │ ├── PageDao.class │ │ │ │ ├── TopicDao.class │ │ │ │ ├── TypeDao.class │ │ │ │ ├── UserDao.class │ │ │ │ ├── CommentDao.class │ │ │ │ ├── AnnounceDao.class │ │ │ │ ├── CategoryDao.class │ │ │ │ └── impl │ │ │ │ │ ├── NewDaoImpl.class │ │ │ │ │ ├── GradeDaoImpl.class │ │ │ │ │ ├── HelpDaoImpl.class │ │ │ │ │ ├── PageDaoImpl.class │ │ │ │ │ ├── TopicDaoImpl.class │ │ │ │ │ ├── TypeDaoImpl.class │ │ │ │ │ ├── UserDaoImpl.class │ │ │ │ │ ├── AnnounceDaoImpl.class │ │ │ │ │ ├── CategoryDaoImpl.class │ │ │ │ │ └── CommentDaoImpl.class │ │ │ │ ├── action │ │ │ │ ├── FileUpload.class │ │ │ │ ├── HelpAction.class │ │ │ │ ├── TypeAction.class │ │ │ │ ├── UserAction.class │ │ │ │ ├── TopicAction.class │ │ │ │ ├── AnnounceAction.class │ │ │ │ ├── CategoryAction.class │ │ │ │ └── CommentAction.class │ │ │ │ ├── util │ │ │ │ ├── ResponseUtil.class │ │ │ │ └── UploadFilter.class │ │ │ │ ├── service │ │ │ │ ├── HelpService.class │ │ │ │ ├── TypeService.class │ │ │ │ ├── UserService.class │ │ │ │ ├── CommentService.class │ │ │ │ ├── TopicService.class │ │ │ │ ├── AnnounceService.class │ │ │ │ ├── CategoryService.class │ │ │ │ └── impl │ │ │ │ │ ├── HelpServiceImpl.class │ │ │ │ │ ├── TopicServiceImpl.class │ │ │ │ │ ├── TypeServiceImpl.class │ │ │ │ │ ├── UserServiceImpl.class │ │ │ │ │ ├── AnnounceServiceImpl.class │ │ │ │ │ ├── CategoryServiceImpl.class │ │ │ │ │ └── CommentServiceImpl.class │ │ │ │ └── interceptor │ │ │ │ ├── UEditorFilter.class │ │ │ │ ├── UserInterceptor.class │ │ │ │ ├── AdminInterceptor.class │ │ │ │ └── SuperAdminInterceptor.class │ │ └── database.properties │ ├── lib │ │ ├── ojdbc6.jar │ │ ├── jta-1.1.jar │ │ ├── ueditor.jar │ │ ├── antlr-2.7.6.jar │ │ ├── c3p0-0.9.1.jar │ │ ├── cglib-2.2.jar │ │ ├── dom4j-1.6.1.jar │ │ ├── hibernate3.jar │ │ ├── ognl-3.0.6.jar │ │ ├── servlet-api.jar │ │ ├── log4j-1.2.17.jar │ │ ├── commons-io-2.2.jar │ │ ├── commons-lang-2.4.jar │ │ ├── fastjson-1.1.40.jar │ │ ├── slf4j-api-1.7.5.jar │ │ ├── commons-lang3-3.1.jar │ │ ├── freemarker-2.3.19.jar │ │ ├── xwork-core-2.3.16.jar │ │ ├── commons-logging-1.1.3.jar │ │ ├── javassist-3.11.0.GA.jar │ │ ├── slf4j-log4j12-1.7.5.jar │ │ ├── struts2-core-2.3.16.jar │ │ ├── commons-collections-3.1.jar │ │ ├── commons-fileupload-1.3.jar │ │ ├── spring-tx-3.2.5.RELEASE.jar │ │ ├── spring-aop-3.2.5.RELEASE.jar │ │ ├── spring-beans-3.2.5.RELEASE.jar │ │ ├── spring-core-3.2.5.RELEASE.jar │ │ ├── spring-jdbc-3.2.5.RELEASE.jar │ │ ├── spring-orm-3.2.5.RELEASE.jar │ │ ├── spring-web-3.2.5.RELEASE.jar │ │ ├── struts2-json-plugin-2.3.16.jar │ │ ├── spring-aspects-3.2.5.RELEASE.jar │ │ ├── spring-context-3.2.5.RELEASE.jar │ │ ├── struts2-spring-plugin-2.2.1.jar │ │ ├── mysql-connector-java-5.1.27-bin.jar │ │ ├── spring-expression-3.2.5.RELEASE.jar │ │ ├── spring-context-support-3.2.5.RELEASE.jar │ │ └── com.springsource.org.aopalliance-1.0.0.jar │ └── web.xml ├── image │ ├── java.jpg │ ├── logo.jpg │ ├── ds-java.png │ ├── error.png │ ├── icon_ok.gif │ ├── login.png │ ├── notUser.jpg │ ├── title.png │ ├── title2.png │ ├── topLogo.jpg │ ├── type_bg.png │ ├── wrong.gif │ ├── homepage_24.png │ ├── manager_top.jpg │ └── manage_backround.jpg ├── JS │ ├── top.js │ ├── uploadPic.js │ └── login.js ├── CSS │ ├── manager_left.css │ ├── login.css │ ├── register.css │ └── manage.css ├── copyRight.jsp ├── indexHelp.jsp ├── indexAnno.jsp ├── a │ ├── left.jsp │ └── manage.jsp ├── indexFriend.jsp └── error.jsp ├── src ├── META-INF │ └── MANIFEST.MF ├── database.properties └── com │ └── phn │ ├── dao │ ├── GradeDao.java │ ├── PageDao.java │ ├── NewDao.java │ ├── CategoryDao.java │ ├── CommentDao.java │ ├── HelpDao.java │ ├── TypeDao.java │ ├── AnnounceDao.java │ ├── impl │ │ ├── GradeDaoImpl.java │ │ ├── NewDaoImpl.java │ │ ├── PageDaoImpl.java │ │ ├── CommentDaoImpl.java │ │ ├── HelpDaoImpl.java │ │ ├── CategoryDaoImpl.java │ │ └── AnnounceDaoImpl.java │ ├── TopicDao.java │ └── UserDao.java │ ├── bean │ ├── Grades.java │ ├── Grades.hbm.xml │ ├── Helps.hbm.xml │ ├── Announces.hbm.xml │ ├── Categorys.hbm.xml │ ├── Helps.java │ ├── Announces.java │ ├── News.hbm.xml │ ├── Types.hbm.xml │ ├── News.java │ ├── Categorys.java │ ├── Comments.hbm.xml │ ├── Types.java │ ├── Topics.hbm.xml │ └── Comments.java │ ├── service │ ├── CommentService.java │ ├── TypeService.java │ ├── HelpService.java │ ├── AnnounceService.java │ ├── CategoryService.java │ ├── TopicService.java │ ├── impl │ │ ├── HelpServiceImpl.java │ │ ├── AnnounceServiceImpl.java │ │ └── TypeServiceImpl.java │ └── UserService.java │ ├── util │ ├── ResponseUtil.java │ └── UploadFilter.java │ ├── interceptor │ ├── UserInterceptor.java │ ├── AdminInterceptor.java │ ├── SuperAdminInterceptor.java │ └── UEditorFilter.java │ └── action │ ├── TypeAction.java │ └── CommentAction.java ├── .mymetadata ├── Readme.md └── .project /.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/iframe.css: -------------------------------------------------------------------------------- 1 | /*可以在这里添加你自己的css*/ 2 | -------------------------------------------------------------------------------- /src/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | 3 | -------------------------------------------------------------------------------- /WebRoot/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | 3 | -------------------------------------------------------------------------------- /WebRoot/image/java.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/image/java.jpg -------------------------------------------------------------------------------- /WebRoot/image/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/image/logo.jpg -------------------------------------------------------------------------------- /.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /WebRoot/image/ds-java.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/image/ds-java.png -------------------------------------------------------------------------------- /WebRoot/image/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/image/error.png -------------------------------------------------------------------------------- /WebRoot/image/icon_ok.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/image/icon_ok.gif -------------------------------------------------------------------------------- /WebRoot/image/login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/image/login.png -------------------------------------------------------------------------------- /WebRoot/image/notUser.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/image/notUser.jpg -------------------------------------------------------------------------------- /WebRoot/image/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/image/title.png -------------------------------------------------------------------------------- /WebRoot/image/title2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/image/title2.png -------------------------------------------------------------------------------- /WebRoot/image/topLogo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/image/topLogo.jpg -------------------------------------------------------------------------------- /WebRoot/image/type_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/image/type_bg.png -------------------------------------------------------------------------------- /WebRoot/image/wrong.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/image/wrong.gif -------------------------------------------------------------------------------- /.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/ojdbc6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/ojdbc6.jar -------------------------------------------------------------------------------- /WebRoot/image/homepage_24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/image/homepage_24.png -------------------------------------------------------------------------------- /WebRoot/image/manager_top.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/image/manager_top.jpg -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/jta-1.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/jta-1.1.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/ueditor.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/ueditor.jar -------------------------------------------------------------------------------- /WebRoot/ueditor/jsp/ueditor.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/jsp/ueditor.jar -------------------------------------------------------------------------------- /.settings/com.genuitec.eclipse.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | validator.Checked= 3 | validator.Unchecked= 4 | -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/antlr-2.7.6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/antlr-2.7.6.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/c3p0-0.9.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/c3p0-0.9.1.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/cglib-2.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/cglib-2.2.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/dom4j-1.6.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/dom4j-1.6.1.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/hibernate3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/hibernate3.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/ognl-3.0.6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/ognl-3.0.6.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/servlet-api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/servlet-api.jar -------------------------------------------------------------------------------- /WebRoot/image/manage_backround.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/image/manage_backround.jpg -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/log4j-1.2.17.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/log4j-1.2.17.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/commons-io-2.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/commons-io-2.2.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/commons-lang-2.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/commons-lang-2.4.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/fastjson-1.1.40.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/fastjson-1.1.40.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/slf4j-api-1.7.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/slf4j-api-1.7.5.jar -------------------------------------------------------------------------------- /WebRoot/ueditor/lang/en/images/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/lang/en/images/copy.png -------------------------------------------------------------------------------- /WebRoot/ueditor/lang/en/images/music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/lang/en/images/music.png -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/commons-lang3-3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/commons-lang3-3.1.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/freemarker-2.3.19.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/freemarker-2.3.19.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/xwork-core-2.3.16.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/xwork-core-2.3.16.jar -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/table/dragicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/table/dragicon.png -------------------------------------------------------------------------------- /WebRoot/ueditor/lang/en/images/button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/lang/en/images/button.png -------------------------------------------------------------------------------- /WebRoot/ueditor/lang/en/images/upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/lang/en/images/upload.png -------------------------------------------------------------------------------- /WebRoot/ueditor/lang/zh-cn/images/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/lang/zh-cn/images/copy.png -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/commons-logging-1.1.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/commons-logging-1.1.3.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/javassist-3.11.0.GA.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/javassist-3.11.0.GA.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/slf4j-log4j12-1.7.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/slf4j-log4j12-1.7.5.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/struts2-core-2.3.16.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/struts2-core-2.3.16.jar -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/emotion/images/0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/emotion/images/0.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/lang/en/images/addimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/lang/en/images/addimage.png -------------------------------------------------------------------------------- /WebRoot/ueditor/lang/en/images/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/lang/en/images/background.png -------------------------------------------------------------------------------- /WebRoot/ueditor/lang/en/images/imglabel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/lang/en/images/imglabel.png -------------------------------------------------------------------------------- /WebRoot/ueditor/lang/en/images/localimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/lang/en/images/localimage.png -------------------------------------------------------------------------------- /WebRoot/ueditor/lang/zh-cn/images/music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/lang/zh-cn/images/music.png -------------------------------------------------------------------------------- /WebRoot/ueditor/lang/zh-cn/images/upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/lang/zh-cn/images/upload.png -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/bean/News.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/bean/News.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/commons-collections-3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/commons-collections-3.1.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/commons-fileupload-1.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/commons-fileupload-1.3.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/spring-tx-3.2.5.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/spring-tx-3.2.5.RELEASE.jar -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/image/imageUploader.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/image/imageUploader.swf -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/scrawl/images/brush.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/scrawl/images/brush.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/scrawl/images/empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/scrawl/images/empty.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/scrawl/images/redo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/scrawl/images/redo.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/scrawl/images/redoH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/scrawl/images/redoH.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/scrawl/images/scale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/scrawl/images/scale.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/scrawl/images/size.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/scrawl/images/size.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/scrawl/images/undo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/scrawl/images/undo.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/scrawl/images/undoH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/scrawl/images/undoH.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/template/images/bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/template/images/bg.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/lang/en/images/deleteenable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/lang/en/images/deleteenable.png -------------------------------------------------------------------------------- /WebRoot/ueditor/lang/zh-cn/images/imglabel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/lang/zh-cn/images/imglabel.png -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/arrow.png -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/icons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/icons.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/icons.png -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/lock.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/lock.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/scale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/scale.png -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/word.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/word.gif -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/bean/Grades.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/bean/Grades.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/bean/Helps.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/bean/Helps.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/bean/Pages.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/bean/Pages.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/bean/Topics.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/bean/Topics.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/bean/Types.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/bean/Types.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/bean/Users.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/bean/Users.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/dao/GradeDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/dao/GradeDao.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/dao/HelpDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/dao/HelpDao.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/dao/NewDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/dao/NewDao.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/dao/PageDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/dao/PageDao.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/dao/TopicDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/dao/TopicDao.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/dao/TypeDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/dao/TypeDao.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/dao/UserDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/dao/UserDao.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/spring-aop-3.2.5.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/spring-aop-3.2.5.RELEASE.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/spring-beans-3.2.5.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/spring-beans-3.2.5.RELEASE.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/spring-core-3.2.5.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/spring-core-3.2.5.RELEASE.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/spring-jdbc-3.2.5.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/spring-jdbc-3.2.5.RELEASE.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/spring-orm-3.2.5.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/spring-orm-3.2.5.RELEASE.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/spring-web-3.2.5.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/spring-web-3.2.5.RELEASE.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/struts2-json-plugin-2.3.16.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/struts2-json-plugin-2.3.16.jar -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/charts/images/charts0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/charts/images/charts0.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/charts/images/charts1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/charts/images/charts1.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/charts/images/charts2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/charts/images/charts2.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/charts/images/charts3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/charts/images/charts3.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/charts/images/charts4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/charts/images/charts4.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/charts/images/charts5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/charts/images/charts5.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/emotion/images/bface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/emotion/images/bface.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/emotion/images/cface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/emotion/images/cface.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/emotion/images/fface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/emotion/images/fface.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/emotion/images/jxface2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/emotion/images/jxface2.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/emotion/images/tface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/emotion/images/tface.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/emotion/images/wface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/emotion/images/wface.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/emotion/images/yface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/emotion/images/yface.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/scrawl/images/addimg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/scrawl/images/addimg.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/scrawl/images/delimg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/scrawl/images/delimg.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/scrawl/images/delimgH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/scrawl/images/delimgH.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/scrawl/images/emptyH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/scrawl/images/emptyH.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/scrawl/images/eraser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/scrawl/images/eraser.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/scrawl/images/scaleH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/scrawl/images/scaleH.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/template/images/pre0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/template/images/pre0.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/template/images/pre1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/template/images/pre1.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/template/images/pre2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/template/images/pre2.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/template/images/pre3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/template/images/pre3.png -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/template/images/pre4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/template/images/pre4.png -------------------------------------------------------------------------------- /WebRoot/ueditor/jsp/commons-fileupload-1.2.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/jsp/commons-fileupload-1.2.2.jar -------------------------------------------------------------------------------- /WebRoot/ueditor/lang/en/images/deletedisable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/lang/en/images/deletedisable.png -------------------------------------------------------------------------------- /WebRoot/ueditor/lang/en/images/listbackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/lang/en/images/listbackground.png -------------------------------------------------------------------------------- /WebRoot/ueditor/lang/zh-cn/images/localimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/lang/zh-cn/images/localimage.png -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/anchor.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/arrow_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/arrow_up.png -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/charts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/charts.png -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/cursor_h.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/cursor_h.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/cursor_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/cursor_h.png -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/cursor_v.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/cursor_v.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/cursor_v.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/cursor_v.png -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/filescan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/filescan.png -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/sortable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/sortable.png -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/spacer.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/upload.png -------------------------------------------------------------------------------- /WebRoot/ueditor/third-party/video-js/font/vjs.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/third-party/video-js/font/vjs.eot -------------------------------------------------------------------------------- /WebRoot/ueditor/third-party/video-js/font/vjs.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/third-party/video-js/font/vjs.ttf -------------------------------------------------------------------------------- /WebRoot/ueditor/third-party/video-js/font/vjs.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/third-party/video-js/font/vjs.woff -------------------------------------------------------------------------------- /WebRoot/ueditor/third-party/video-js/video-js.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/third-party/video-js/video-js.swf -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/bean/Announces.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/bean/Announces.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/bean/Categorys.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/bean/Categorys.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/bean/Comments.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/bean/Comments.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/dao/CommentDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/dao/CommentDao.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/spring-aspects-3.2.5.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/spring-aspects-3.2.5.RELEASE.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/spring-context-3.2.5.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/spring-context-3.2.5.RELEASE.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/struts2-spring-plugin-2.2.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/struts2-spring-plugin-2.2.1.jar -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/image/images/left_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/image/images/left_focus.jpg -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/image/images/none_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/image/images/none_focus.jpg -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/image/images/right_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/image/images/right_focus.jpg -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/video/images/left_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/video/images/left_focus.jpg -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/video/images/none_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/video/images/none_focus.jpg -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/video/images/right_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/video/images/right_focus.jpg -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/wordimage/imageUploader.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/wordimage/imageUploader.swf -------------------------------------------------------------------------------- /WebRoot/ueditor/lang/en/images/rotateleftdisable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/lang/en/images/rotateleftdisable.png -------------------------------------------------------------------------------- /WebRoot/ueditor/lang/en/images/rotateleftenable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/lang/en/images/rotateleftenable.png -------------------------------------------------------------------------------- /WebRoot/ueditor/lang/en/images/rotaterightenable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/lang/en/images/rotaterightenable.png -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/arrow_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/arrow_down.png -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/button-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/button-bg.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/icons-all.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/icons-all.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/pagebreak.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/pagebreak.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/sparator_v.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/sparator_v.png -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/toolbar_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/toolbar_bg.png -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/videologo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/videologo.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/wordpaste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/wordpaste.png -------------------------------------------------------------------------------- /WebRoot/ueditor/third-party/swfupload/swfupload.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/third-party/swfupload/swfupload.swf -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/action/FileUpload.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/action/FileUpload.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/action/HelpAction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/action/HelpAction.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/action/TypeAction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/action/TypeAction.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/action/UserAction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/action/UserAction.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/dao/AnnounceDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/dao/AnnounceDao.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/dao/CategoryDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/dao/CategoryDao.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/util/ResponseUtil.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/util/ResponseUtil.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/util/UploadFilter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/util/UploadFilter.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/mysql-connector-java-5.1.27-bin.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/mysql-connector-java-5.1.27-bin.jar -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/spring-expression-3.2.5.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/spring-expression-3.2.5.RELEASE.jar -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/image/images/center_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/image/images/center_focus.jpg -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/video/images/center_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/video/images/center_focus.jpg -------------------------------------------------------------------------------- /WebRoot/ueditor/lang/en/images/alldeletebtnupskin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/lang/en/images/alldeletebtnupskin.png -------------------------------------------------------------------------------- /WebRoot/ueditor/lang/en/images/rotaterightdisable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/lang/en/images/rotaterightdisable.png -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/cancelbutton.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/cancelbutton.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/highlighted.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/highlighted.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/unhighlighted.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/unhighlighted.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/third-party/swfupload/swfupload_fp9.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/third-party/swfupload/swfupload_fp9.swf -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/action/TopicAction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/action/TopicAction.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/dao/impl/NewDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/dao/impl/NewDaoImpl.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/service/HelpService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/service/HelpService.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/service/TypeService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/service/TypeService.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/service/UserService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/service/UserService.class -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/wordimage/fClipboard_ueditor.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/wordimage/fClipboard_ueditor.swf -------------------------------------------------------------------------------- /WebRoot/ueditor/lang/en/images/alldeletebtnhoverskin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/lang/en/images/alldeletebtnhoverskin.png -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/dialog-title-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/dialog-title-bg.png -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/action/AnnounceAction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/action/AnnounceAction.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/action/CategoryAction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/action/CategoryAction.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/action/CommentAction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/action/CommentAction.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/dao/impl/GradeDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/dao/impl/GradeDaoImpl.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/dao/impl/HelpDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/dao/impl/HelpDaoImpl.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/dao/impl/PageDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/dao/impl/PageDaoImpl.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/dao/impl/TopicDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/dao/impl/TopicDaoImpl.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/dao/impl/TypeDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/dao/impl/TypeDaoImpl.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/dao/impl/UserDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/dao/impl/UserDaoImpl.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/service/CommentService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/service/CommentService.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/service/TopicService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/service/TopicService.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/spring-context-support-3.2.5.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/spring-context-support-3.2.5.RELEASE.jar -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/emotion/images/neweditor-tab-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/emotion/images/neweditor-tab-bg.png -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/neweditor-tab-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/neweditor-tab-bg.png -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/table-cell-align.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/table-cell-align.png -------------------------------------------------------------------------------- /WebRoot/ueditor/third-party/snapscreen/UEditorSnapscreen.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/third-party/snapscreen/UEditorSnapscreen.exe -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/dao/impl/AnnounceDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/dao/impl/AnnounceDaoImpl.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/dao/impl/CategoryDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/dao/impl/CategoryDaoImpl.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/dao/impl/CommentDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/dao/impl/CommentDaoImpl.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/service/AnnounceService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/service/AnnounceService.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/service/CategoryService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/service/CategoryService.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/lib/com.springsource.org.aopalliance-1.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/lib/com.springsource.org.aopalliance-1.0.0.jar -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_doc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_doc.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_exe.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_exe.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_mv.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_mv.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_pdf.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_pdf.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_ppt.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_ppt.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_psd.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_psd.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_rar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_rar.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_txt.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_txt.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_xls.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_xls.gif -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/images/tangram-colorpicker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/themes/default/images/tangram-colorpicker.png -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/interceptor/UEditorFilter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/interceptor/UEditorFilter.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/interceptor/UserInterceptor.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/interceptor/UserInterceptor.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/interceptor/AdminInterceptor.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/interceptor/AdminInterceptor.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/service/impl/HelpServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/service/impl/HelpServiceImpl.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/service/impl/TopicServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/service/impl/TopicServiceImpl.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/service/impl/TypeServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/service/impl/TypeServiceImpl.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/service/impl/UserServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/service/impl/UserServiceImpl.class -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/ueditor/dialogs/attachment/fileTypeImages/icon_default.png -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/service/impl/AnnounceServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/service/impl/AnnounceServiceImpl.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/service/impl/CategoryServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/service/impl/CategoryServiceImpl.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/service/impl/CommentServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/service/impl/CommentServiceImpl.class -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/interceptor/SuperAdminInterceptor.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/panhainan/DS-Java/HEAD/WebRoot/WEB-INF/classes/com/phn/interceptor/SuperAdminInterceptor.class -------------------------------------------------------------------------------- /src/database.properties: -------------------------------------------------------------------------------- 1 | jdbc_driverClassName=com.mysql.jdbc.Driver 2 | jdbc_url=jdbc:mysql://localhost:3306/dsjava?useUnicode=true&characterEncoding=utf-8 3 | jdbc_username=root 4 | jdbc_password=123456 -------------------------------------------------------------------------------- /WebRoot/ueditor/jsp/config.properties: -------------------------------------------------------------------------------- 1 | #UEditor Config 2 | 3 | # \u4FDD\u5B58\u8DEF\u5F84 4 | savePath=upload1,upload2,upload3 5 | 6 | # \u4E0A\u4F20\u6587\u4EF6\u540D\u5B57\u683C\u5F0F 7 | fileNameFormat={time}{rand\:6} -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/database.properties: -------------------------------------------------------------------------------- 1 | jdbc_driverClassName=com.mysql.jdbc.Driver 2 | jdbc_url=jdbc:mysql://localhost:3306/dsjava?useUnicode=true&characterEncoding=utf-8 3 | jdbc_username=root 4 | jdbc_password=123456 -------------------------------------------------------------------------------- /.settings/com.genuitec.eclipse.migration.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | performed.operation.me.create.deploymentAssembly=1.0 3 | performed.operation.me.create.deploymentAssembly.fixBuildPathEntries=1.0 4 | performed.operation.me.install.jstl=1.0 5 | performed.operation.migrate.container.ids=1.0 6 | -------------------------------------------------------------------------------- /.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/com/phn/dao/GradeDao.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.dao; 5 | 6 | import com.phn.bean.Grades; 7 | 8 | /** 9 | * @author 潘海南 10 | * @email phnlove@163.com 11 | */ 12 | public interface GradeDao { 13 | 14 | /** 15 | * @param id 16 | * @return 17 | */ 18 | public Grades find(int id); 19 | 20 | } 21 | -------------------------------------------------------------------------------- /.mymetadata: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/com/phn/dao/PageDao.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.dao; 5 | 6 | import java.util.List; 7 | 8 | import org.hibernate.Query; 9 | 10 | /** 11 | * @author 潘海南 12 | * @email phnlove@163.com 13 | */ 14 | public interface PageDao { 15 | public int getAllRowCount(String hql); 16 | public List query_Objects_ForPages(String hql, int offset, int length); 17 | } 18 | -------------------------------------------------------------------------------- /.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 4 | org.eclipse.jdt.core.compiler.compliance=1.6 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 7 | org.eclipse.jdt.core.compiler.source=1.6 8 | -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/help/help.css: -------------------------------------------------------------------------------- 1 | .wrapper{width: 370px;margin: 10px auto;zoom: 1;} 2 | .tabbody{height: 360px;} 3 | .tabbody .panel{width:100%;height: 360px;position: absolute;background: #fff;} 4 | .tabbody .panel h1{font-size:26px;margin: 5px 0 0 5px;} 5 | .tabbody .panel p{font-size:12px;margin: 5px 0 0 5px;} 6 | .tabbody table{width:90%;line-height: 20px;margin: 5px 0 0 5px;;} 7 | .tabbody table thead{font-weight: bold;line-height: 25px;} -------------------------------------------------------------------------------- /src/com/phn/dao/NewDao.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.dao; 5 | 6 | import com.phn.bean.News; 7 | 8 | /** 9 | * @author 潘海南 10 | * @email phnlove@163.com 11 | */ 12 | public interface NewDao { 13 | public boolean add(News tnew); 14 | 15 | public boolean update(News tnew); 16 | 17 | /** 18 | * @param id 19 | * @return 20 | */ 21 | public News find(int id); 22 | 23 | /** 24 | * @param tnew 25 | */ 26 | public void delete(News tnew); 27 | } 28 | -------------------------------------------------------------------------------- /WebRoot/JS/top.js: -------------------------------------------------------------------------------- 1 | /*function test_itemNav(n) { 2 | var menuNav = document.getElementById("menuNav"); 3 | var menuNavli = menuNav.getElementsByTagName("li"); 4 | for (var i = 0; i < menuNavli.length; i++) { 5 | menuNavli[i].className = ""; 6 | menuNavli[n].className = "yesNav"; 7 | 8 | } 9 | };*/ 10 | function logout() { 11 | // alert("确定退出吗?"); 12 | var r = confirm("确定退出吗?"); 13 | if (r == true) { 14 | return true; 15 | } else { 16 | return false; 17 | } 18 | }; 19 | -------------------------------------------------------------------------------- /WebRoot/JS/uploadPic.js: -------------------------------------------------------------------------------- 1 | function uploadF() { 2 | var filename = document.getElementById('fu').value; 3 | if (filename != "" || filename != null) { 4 | var fileText = filename.substring(filename.lastIndexOf("."), 5 | filename.length); 6 | fileText = fileText.toLowerCase(); 7 | if (fileText == '.png' || fileText == '.bmp' || fileText == '.png' 8 | || fileText == '.gif' || fileText == '.jpg') { 9 | return true; 10 | } 11 | } 12 | alert("请按要求选择文件!"); 13 | return false; 14 | }; 15 | 16 | -------------------------------------------------------------------------------- /src/com/phn/bean/Grades.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.bean; 5 | 6 | /** 7 | * @author 潘海南 8 | * @email phnlove@163.com 9 | */ 10 | public class Grades { 11 | private int id; 12 | private String honor; 13 | 14 | public int getId() { 15 | return id; 16 | } 17 | 18 | public void setId(int id) { 19 | this.id = id; 20 | } 21 | 22 | public String getHonor() { 23 | return honor; 24 | } 25 | 26 | public void setHonor(String honor) { 27 | this.honor = honor; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/com/phn/dao/CategoryDao.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.dao; 5 | 6 | import java.util.List; 7 | 8 | import com.phn.bean.Categorys; 9 | 10 | /** 11 | * @author 潘海南 12 | * @email phnlove@163.com 13 | */ 14 | public interface CategoryDao { 15 | public boolean add(Categorys cate); 16 | public boolean delete(int index); 17 | public boolean update(Categorys cate); 18 | public List getAll(); 19 | /** 20 | * @param id 21 | * @return 22 | */ 23 | public Categorys find(int id); 24 | } 25 | -------------------------------------------------------------------------------- /src/com/phn/service/CommentService.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.service; 5 | 6 | import com.phn.bean.Comments; 7 | import com.phn.bean.Topics; 8 | import com.phn.bean.Users; 9 | 10 | /** 11 | * @author 潘海南 12 | * @email phnlove@163.com 13 | */ 14 | public interface CommentService { 15 | 16 | public boolean newComment(Comments comment, Users user, Topics topic); 17 | 18 | 19 | /** 20 | * @param comment 21 | * @param topic 22 | */ 23 | public void deleteComment(Comments comment, Topics topic); 24 | } 25 | -------------------------------------------------------------------------------- /.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/com/phn/bean/Grades.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/com/phn/dao/CommentDao.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.dao; 5 | 6 | import com.phn.bean.Comments; 7 | 8 | /** 9 | * @author 潘海南 10 | * @email phnlove@163.com 11 | */ 12 | public interface CommentDao { 13 | public boolean add(Comments comment); 14 | 15 | /** 16 | * @param comments 17 | */ 18 | public void update(Comments comments); 19 | 20 | /** 21 | * @param id 22 | * @return 23 | */ 24 | public Comments find(int id); 25 | 26 | /** 27 | * @param comment 28 | */ 29 | public void delete(Comments comment); 30 | 31 | } 32 | -------------------------------------------------------------------------------- /src/com/phn/dao/HelpDao.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.dao; 5 | 6 | import java.util.List; 7 | 8 | import com.phn.bean.Helps; 9 | 10 | /** 11 | * @author 潘海南 12 | * @email phnlove@163.com 13 | */ 14 | public interface HelpDao { 15 | public List getAll(); 16 | 17 | /** 18 | * @param index 19 | * @return 20 | */ 21 | public Helps find(int index); 22 | 23 | /** 24 | * @param thelp 25 | */ 26 | public void add(Helps thelp); 27 | 28 | /** 29 | * @param thelp 30 | */ 31 | public void update(Helps thelp); 32 | 33 | } 34 | -------------------------------------------------------------------------------- /WebRoot/ueditor/third-party/highcharts/modules/heatmap.js: -------------------------------------------------------------------------------- 1 | (function(b){var k=b.seriesTypes,l=b.each;k.heatmap=b.extendClass(k.map,{colorKey:"z",useMapGeometry:!1,pointArrayMap:["y","z"],translate:function(){var c=this,b=c.options,i=Number.MAX_VALUE,j=Number.MIN_VALUE;c.generatePoints();l(c.data,function(a){var e=a.x,f=a.y,d=a.z,g=(b.colsize||1)/2,h=(b.rowsize||1)/2;a.path=["M",e-g,f-h,"L",e+g,f-h,"L",e+g,f+h,"L",e-g,f+h,"Z"];a.shapeType="path";a.shapeArgs={d:c.translatePath(a.path)};typeof d==="number"&&(d>j?j=d:d 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /WebRoot/CSS/manager_left.css: -------------------------------------------------------------------------------- 1 | .links{ 2 | margin-top:1px; 3 | border-bottom:1px solid white; 4 | width:185px; 5 | height:50px; 6 | line-height:50px; 7 | float:left; 8 | color:white; 9 | font-size:20px; 10 | font-family:"微软雅黑"; 11 | text-align:center; 12 | background-color:#254472; 13 | 14 | } 15 | .links:LINK,.links:VISITED{ 16 | background-color:#6699CC; 17 | } 18 | .links:HOVER{ 19 | background-color:#A2C1DE; 20 | } 21 | a:link{text-decoration:none; } 22 | a:active{text-decoration:none; } 23 | a:visited{ text-decoration:none;} 24 | a:hover{ text-decoration:underline;} 25 | -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- 1 | # DS-Java 2 | 3 | DS-Java论坛系统,简单来说就是一个论坛,这个系统是本人的处女作。项目的取名是因为当时比较偏爱Java以及正在DreamStation这个团队里面,所以就取名为DS-Java论坛了。 4 | 5 | 项目用到的相关技术、工具等 6 | 7 | ---------- 8 | 9 | 开发平台及工具:Windows 8 | MyEclipse10.7 10 | 11 | 涉及的编程语言:Java | JavaScript | HTML 12 | 13 | 涉及的框架技术:Struts2 | Spring | Hibernate 14 | 15 | 其他技术:CSS | JQuery | Ajax | JSON | JSP | Servlet 16 | 17 | 数据库:MySQL 5.6 18 | 19 | 服务器:Tomcat 7.x 20 | 21 | 用到的其他项目:百度富文本编辑器 UEditor 22 | 23 | 24 | 25 | 注意:**打开根目录里面的sql文件,在数据库软件中建一个dsjava数据库,然后运行sql文件。还有数据库默认用户名root和密码123456,如果需要修改请到src下面修改database.properties文件** 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/com/phn/service/TypeService.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.service; 5 | 6 | 7 | import com.phn.bean.Pages; 8 | import com.phn.bean.Types; 9 | 10 | /** 11 | * @author 潘海南 12 | * @email phnlove@163.com 13 | */ 14 | 15 | public interface TypeService { 16 | public Pages getAllForPages(int pageSize, int nowPage, int typeId); 17 | 18 | /** 19 | * @param id 20 | * @return 21 | */ 22 | public Types find(int id); 23 | 24 | /** 25 | * @param type 26 | */ 27 | public void add(Types type); 28 | 29 | /** 30 | * @param type 31 | */ 32 | public void update(Types type); 33 | 34 | } 35 | -------------------------------------------------------------------------------- /src/com/phn/dao/TypeDao.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.dao; 5 | 6 | import java.util.List; 7 | 8 | import com.phn.bean.Types; 9 | 10 | /** 11 | * @author 潘海南 12 | * @email phnlove@163.com 13 | */ 14 | public interface TypeDao { 15 | public boolean add(Types type); 16 | public boolean delete(int index); 17 | public boolean update(Types type); 18 | public Types find(int index); 19 | /** 20 | * @param id 21 | * @return 22 | */ 23 | public List getByCate(int id); 24 | public List new_getByCate(int id); 25 | /** 26 | * @param id 27 | * @return 28 | */ 29 | public List manageByCate(int id); 30 | } 31 | -------------------------------------------------------------------------------- /src/com/phn/dao/AnnounceDao.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.dao; 5 | 6 | import java.util.List; 7 | 8 | import com.phn.bean.Announces; 9 | 10 | /** 11 | * @author 潘海南 12 | * @email phnlove@163.com 13 | */ 14 | public interface AnnounceDao { 15 | public List getIndexAnno(int index); 16 | 17 | /** 18 | * @return 19 | */ 20 | public List getAll(); 21 | 22 | /** 23 | * @param id 24 | */ 25 | public Announces find(int id); 26 | 27 | /** 28 | * @param announce 29 | */ 30 | public void update(Announces announce); 31 | 32 | /** 33 | * @param announce 34 | */ 35 | public void add(Announces announce); 36 | } 37 | -------------------------------------------------------------------------------- /WebRoot/ueditor/jsp/getContent.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> 2 | 3 | 4 | 9 | <% 10 | request.setCharacterEncoding("utf-8"); 11 | response.setCharacterEncoding("utf-8"); 12 | String content = request.getParameter("myEditor"); 13 | 14 | 15 | 16 | response.getWriter().print("第1个编辑器的值"); 17 | response.getWriter().print("
"+content+"
"); 18 | 19 | %> -------------------------------------------------------------------------------- /WebRoot/CSS/login.css: -------------------------------------------------------------------------------- 1 | .background { 2 | width: 1004px; 3 | overflow: auto; 4 | background-color: #F5F5F5; 5 | margin: 0 auto; 6 | min-height: 700px; 7 | } 8 | 9 | .login { 10 | margin-top: 80px; 11 | margin-left: 100px; 12 | margin-bottom: 10px; 13 | /* padding-top:30px; */ 14 | width: 800px; 15 | height: 400px; 16 | background-color: #F8F8F8; 17 | } 18 | 19 | #uName,#uPass { 20 | height: 30px; 21 | width: 220px; 22 | padding-left: 6px; 23 | font-size: 17px; 24 | border: 1px solid #9ECFFE; 25 | } 26 | 27 | .butt { 28 | background-color: #6699CC; 29 | width: 80px; 30 | height: 30px; 31 | border: 0; 32 | color: white; 33 | font-size: 18px; 34 | } 35 | 36 | .butt:hover { 37 | background-color: #71AAE3; 38 | border: 0; 39 | } -------------------------------------------------------------------------------- /src/com/phn/bean/Helps.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/com/phn/bean/Announces.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/bean/Helps.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/com/phn/service/HelpService.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.service; 5 | 6 | import java.util.List; 7 | 8 | import com.phn.bean.Helps; 9 | import com.phn.bean.Pages; 10 | 11 | /** 12 | * @author 潘海南 13 | * @email phnlove@163.com 14 | */ 15 | public interface HelpService { 16 | public List getAll(); 17 | 18 | /** 19 | * @param pageSize 20 | * @param nowPage 21 | * @return 22 | */ 23 | public Pages ManageAllForPages(int pageSize, int nowPage); 24 | 25 | /** 26 | * @param index 27 | * @return 28 | */ 29 | public Helps find(int index); 30 | 31 | /** 32 | * @param thelp 33 | */ 34 | public void ManageAdd(Helps thelp); 35 | 36 | /** 37 | * @param thelp 38 | */ 39 | public void ManageUpdate(Helps thelp); 40 | } 41 | -------------------------------------------------------------------------------- /WebRoot/CSS/register.css: -------------------------------------------------------------------------------- 1 | .background { 2 | width: 1004px; 3 | overflow: auto; 4 | background-color: #F5F5F5; 5 | margin: 0 auto; 6 | min-height: 700px; 7 | } 8 | 9 | .register{ 10 | margin-top: 80px; 11 | margin-left: 100px; 12 | margin-bottom: 10px; 13 | /* padding-top:30px; */ 14 | width: 800px; 15 | height: 400px; 16 | background-color: #F8F8F8; 17 | } 18 | #uName,#uNic,#uPass,#uRPass,#uEmail { 19 | height: 30px; 20 | width: 220px; 21 | padding-left: 6px; 22 | font-size: 17px; 23 | border: 1px solid #9ECFFE; 24 | } 25 | 26 | 27 | .butt { 28 | background-color: #6699CC; 29 | width: 80px; 30 | height: 30px; 31 | border: 0; 32 | color: white; 33 | font-size: 18px; 34 | } 35 | 36 | .butt:hover { 37 | background-color: #71AAE3; 38 | border: 0; 39 | } -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/bean/Announces.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/com/phn/bean/Categorys.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/bean/Categorys.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/com/phn/dao/impl/GradeDaoImpl.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.dao.impl; 5 | 6 | import org.hibernate.Session; 7 | import org.hibernate.SessionFactory; 8 | 9 | import com.phn.bean.Grades; 10 | import com.phn.dao.GradeDao; 11 | 12 | /** 13 | * @author 潘海南 14 | * @email phnlove@163.com 15 | */ 16 | public class GradeDaoImpl implements GradeDao{ 17 | private SessionFactory sessionFactory; 18 | 19 | public SessionFactory getSessionFactory() { 20 | return sessionFactory; 21 | } 22 | 23 | public void setSessionFactory(SessionFactory sessionFactory) { 24 | this.sessionFactory = sessionFactory; 25 | } 26 | @Override 27 | public Grades find(int id) { 28 | Session session = sessionFactory.getCurrentSession(); 29 | Grades grade = (Grades) session.get(Grades.class, id); 30 | return grade; 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /src/com/phn/bean/Helps.java: -------------------------------------------------------------------------------- 1 | package com.phn.bean; 2 | 3 | import java.util.Date; 4 | 5 | public class Helps { 6 | 7 | private int id; 8 | private String title; 9 | private String content; 10 | private Date newtime; 11 | 12 | public int getId() { 13 | return this.id; 14 | } 15 | 16 | public void setId(int id) { 17 | this.id = id; 18 | } 19 | 20 | public String getTitle() { 21 | return this.title; 22 | } 23 | 24 | public void setTitle(String title) { 25 | this.title = title; 26 | } 27 | 28 | public String getContent() { 29 | return this.content; 30 | } 31 | 32 | public void setContent(String content) { 33 | this.content = content; 34 | } 35 | 36 | public Date getNewtime() { 37 | return newtime; 38 | } 39 | 40 | public void setNewtime(Date newtime) { 41 | this.newtime = newtime; 42 | } 43 | 44 | 45 | } -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/attachment/fileTypeMaps.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by JetBrains PhpStorm. 3 | * User: taoqili 4 | * Date: 12-2-10 5 | * Time: 下午3:50 6 | * To change this template use File | Settings | File Templates. 7 | */ 8 | //文件类型图标索引 9 | var fileTypeMaps = { 10 | ".rar":"icon_rar.gif", 11 | ".zip":"icon_rar.gif", 12 | ".doc":"icon_doc.gif", 13 | ".docx":"icon_doc.gif", 14 | ".pdf":"icon_pdf.gif", 15 | ".mp3":"icon_mp3.gif", 16 | ".xls":"icon_xls.gif", 17 | ".chm":"icon_chm.gif", 18 | ".ppt":"icon_ppt.gif", 19 | ".pptx":"icon_ppt.gif", 20 | ".avi":"icon_mv.gif", 21 | ".rmvb":"icon_mv.gif", 22 | ".wmv":"icon_mv.gif", 23 | ".flv":"icon_mv.gif", 24 | ".swf":"icon_mv.gif", 25 | ".rm":"icon_mv.gif", 26 | ".exe":"icon_exe.gif", 27 | ".psd":"icon_psd.gif", 28 | ".txt":"icon_txt.gif" 29 | }; -------------------------------------------------------------------------------- /src/com/phn/service/AnnounceService.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.service; 5 | 6 | import java.util.List; 7 | 8 | import com.phn.bean.Announces; 9 | import com.phn.bean.Pages; 10 | 11 | /** 12 | * @author 潘海南 13 | * @email phnlove@163.com 14 | */ 15 | public interface AnnounceService { 16 | public List getIndexAnno(int index); 17 | 18 | /** 19 | * @return 20 | */ 21 | public List getAll(); 22 | 23 | /** 24 | * @param pageSize 25 | * @param nowPage 26 | * @return 27 | */ 28 | public Pages ManageAllForPages(int pageSize, int nowPage); 29 | 30 | /** 31 | * @param id 32 | */ 33 | public Announces find(int id); 34 | 35 | /** 36 | * @param announce 37 | */ 38 | public void ManageUpdate(Announces announce); 39 | 40 | /** 41 | * @param announce 42 | */ 43 | public void ManageAdd(Announces announce); 44 | } 45 | -------------------------------------------------------------------------------- /WebRoot/CSS/manage.css: -------------------------------------------------------------------------------- 1 | .body { 2 | width: 1004px; 3 | height: 666px; 4 | border: 1px solid #2B4A78; 5 | margin: 0 auto; 6 | margin-top: 0px; 7 | text-align: left; 8 | background-repeat: no-repeat; 9 | background-image: url(); 10 | } 11 | 12 | .top { 13 | width: 1004px; 14 | height: 120px; 15 | border: 1px solid #2B4A78; 16 | float: left; 17 | } 18 | 19 | .left { 20 | width: 185px; 21 | height: 540px; 22 | border: 1px solid #2B4A78; 23 | float: left; 24 | margin-left: 1px; 25 | background-color: #254472; 26 | } 27 | 28 | .right { 29 | margin-left: 2px; 30 | width: 810px; 31 | height: 540px; 32 | border: 1px solid #2B4A78; 33 | float: left; 34 | color: #4D9EF0; 35 | } 36 | 37 | table { 38 | width: 810px; 39 | max-height: 450px; 40 | text-align: center; 41 | font-size: 14px; 42 | word-wrap: break-word; 43 | word-break: break-all; 44 | table-layout: fixed; 45 | } -------------------------------------------------------------------------------- /src/com/phn/bean/Announces.java: -------------------------------------------------------------------------------- 1 | package com.phn.bean; 2 | 3 | import java.util.Date; 4 | 5 | 6 | /** 7 | * @author phn 8 | * 9 | */ 10 | public class Announces { 11 | 12 | private Integer id; 13 | private String announcement; 14 | private String title; 15 | private Date thetime; 16 | 17 | public Integer getId() { 18 | return this.id; 19 | } 20 | 21 | public void setId(Integer id) { 22 | this.id = id; 23 | } 24 | 25 | public String getAnnouncement() { 26 | return this.announcement; 27 | } 28 | 29 | public void setAnnouncement(String announcement) { 30 | this.announcement = announcement; 31 | } 32 | 33 | public String getTitle() { 34 | return title; 35 | } 36 | 37 | public void setTitle(String title) { 38 | this.title = title; 39 | } 40 | 41 | public Date getThetime() { 42 | return thetime; 43 | } 44 | 45 | public void setThetime(Date thetime) { 46 | this.thetime = thetime; 47 | } 48 | 49 | } -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/spechars/spechars.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 14 | 15 | 16 |
17 |
18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /src/com/phn/interceptor/UserInterceptor.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.interceptor; 5 | 6 | import java.util.Map; 7 | 8 | 9 | 10 | import com.opensymphony.xwork2.Action; 11 | import com.opensymphony.xwork2.ActionContext; 12 | import com.opensymphony.xwork2.ActionInvocation; 13 | import com.opensymphony.xwork2.interceptor.MethodFilterInterceptor; 14 | import com.phn.bean.Users; 15 | 16 | /** 17 | * @author 潘海南 18 | * @email phnlove@163.com 19 | */ 20 | public class UserInterceptor extends MethodFilterInterceptor { 21 | 22 | private static final long serialVersionUID = 1L; 23 | 24 | @Override 25 | public String doIntercept(ActionInvocation invocation) throws Exception { 26 | ActionContext actx = invocation.getInvocationContext(); 27 | Map session = actx.getSession(); 28 | Users u = (Users) session.get("tu"); 29 | if (u == null) { 30 | return Action.LOGIN; 31 | } 32 | return invocation.invoke(); 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/com/phn/interceptor/AdminInterceptor.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.interceptor; 5 | 6 | import java.util.Map; 7 | 8 | import com.opensymphony.xwork2.Action; 9 | import com.opensymphony.xwork2.ActionContext; 10 | import com.opensymphony.xwork2.ActionInvocation; 11 | import com.opensymphony.xwork2.interceptor.MethodFilterInterceptor; 12 | import com.phn.bean.Users; 13 | 14 | /** 15 | * @author 潘海南 16 | * @email phnlove@163.com 17 | */ 18 | public class AdminInterceptor extends MethodFilterInterceptor { 19 | 20 | private static final long serialVersionUID = 1L; 21 | 22 | @Override 23 | public String doIntercept(ActionInvocation invocation) throws Exception { 24 | ActionContext actx = invocation.getInvocationContext(); 25 | Map session = actx.getSession(); 26 | Users u = (Users) session.get("tu"); 27 | if (u == null || u.getRoleId() == 0) { 28 | return Action.LOGIN; 29 | } 30 | return invocation.invoke(); 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /src/com/phn/interceptor/SuperAdminInterceptor.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.interceptor; 5 | 6 | import java.util.Map; 7 | 8 | import com.opensymphony.xwork2.Action; 9 | import com.opensymphony.xwork2.ActionContext; 10 | import com.opensymphony.xwork2.ActionInvocation; 11 | import com.opensymphony.xwork2.interceptor.MethodFilterInterceptor; 12 | import com.phn.bean.Users; 13 | 14 | /** 15 | * @author 潘海南 16 | * @email phnlove@163.com 17 | */ 18 | public class SuperAdminInterceptor extends MethodFilterInterceptor { 19 | 20 | private static final long serialVersionUID = 1L; 21 | 22 | @Override 23 | public String doIntercept(ActionInvocation invocation) throws Exception { 24 | ActionContext actx = invocation.getInvocationContext(); 25 | Map session = actx.getSession(); 26 | Users u = (Users) session.get("tu"); 27 | if (u == null || u.getRoleId() == 0 || u.getRoleId() == 6) { 28 | return Action.LOGIN; 29 | } 30 | return invocation.invoke(); 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /src/com/phn/bean/News.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/com/phn/bean/Types.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/table/edittip.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 表格删除提示 5 | 6 | 17 | 18 | 19 |
20 |
21 | 22 |
23 |
24 | 25 |
26 |
27 | 32 | 33 | -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/bean/News.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/bean/Types.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/template/template.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 | -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/music/music.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 插入音乐 6 | 7 | 8 | 9 | 10 |
11 | 15 |
16 | 17 |
18 |
19 |
20 |
21 | 22 | 31 | 32 | -------------------------------------------------------------------------------- /src/com/phn/dao/TopicDao.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.dao; 5 | 6 | import java.util.List; 7 | 8 | import com.phn.bean.Topics; 9 | import com.phn.bean.Types; 10 | 11 | /** 12 | * @author 潘海南 13 | * @email phnlove@163.com 14 | */ 15 | public interface TopicDao { 16 | public boolean add(Topics topic); 17 | 18 | /** 19 | * @param id 20 | * @return 21 | */ 22 | public Topics find(int id); 23 | 24 | public boolean update(Topics topic); 25 | 26 | /** 27 | * @param index 28 | * @return 29 | */ 30 | public List getIndexFresh(int index); 31 | 32 | /** 33 | * @return 34 | */ 35 | public List getAll(); 36 | 37 | /** 38 | * @param index 39 | * @return 40 | */ 41 | public List getIndexHot(int index); 42 | 43 | /** 44 | * @param listType 45 | * @return 46 | */ 47 | public List getByType(List listType); 48 | 49 | /** 50 | * @param topic 51 | */ 52 | public void delete(Topics topic); 53 | 54 | /** 55 | * @param index 56 | * @return 57 | */ 58 | public List getIndexNice(int index); 59 | 60 | } 61 | -------------------------------------------------------------------------------- /src/com/phn/interceptor/UEditorFilter.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.interceptor; 5 | 6 | import java.io.IOException; 7 | 8 | import javax.servlet.FilterChain; 9 | import javax.servlet.ServletException; 10 | import javax.servlet.ServletRequest; 11 | import javax.servlet.ServletResponse; 12 | import javax.servlet.http.HttpServletRequest; 13 | 14 | import org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter; 15 | 16 | /** 17 | * @author 潘海南 18 | * @email phnlove@163.com 19 | */ 20 | public class UEditorFilter extends StrutsPrepareAndExecuteFilter { 21 | public void doFilter(ServletRequest req, ServletResponse res, 22 | FilterChain chain) throws IOException, ServletException { 23 | HttpServletRequest request = (HttpServletRequest)req; 24 | //不过滤的url 25 | String url = request.getRequestURI(); 26 | //System.out.println(url); 27 | if(url.contains("/ueditor/jsp/")){ 28 | //System.out.println("使用对编辑器的拦截器"); 29 | chain.doFilter(req, res); 30 | }else { 31 | //System.out.println("前往使用默认的拦截器"); 32 | super.doFilter(req, res, chain); 33 | } 34 | } 35 | } 36 | 37 | -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/template/template.css: -------------------------------------------------------------------------------- 1 | .wrap{ padding: 5px;font-size: 14px;} 2 | .left{width:425px;float: left;} 3 | .right{width:160px;border: 1px solid #ccc;float: right;padding: 5px;margin-right: 5px;} 4 | .right .pre{height: 332px;overflow-y: auto;} 5 | .right .preitem{border: white 1px solid;margin: 5px 0;padding: 2px 0;} 6 | .right .preitem:hover{background-color: lemonChiffon;cursor: pointer;border: #ccc 1px solid;} 7 | .right .preitem img{display: block;margin: 0 auto;width:100px;} 8 | .clear{clear: both;} 9 | .top{height:26px;line-height: 26px;padding: 5px;} 10 | .bottom{height:320px;width:100%;margin: 0 auto;} 11 | .transparent{ background: url("images/bg.gif") repeat;} 12 | .bottom table tr td{border:1px dashed #ccc;} 13 | #colorPicker{width: 17px;height: 17px;border: 1px solid #CCC;display: inline-block;border-radius: 3px;box-shadow: 2px 2px 5px #D3D6DA;} 14 | .border_style1{padding:2px;border: 1px solid #ccc;border-radius: 5px;box-shadow:2px 2px 5px #d3d6da;} 15 | p{margin: 5px 0} 16 | table{clear:both;margin-bottom:10px;border-collapse:collapse;word-break:break-all;} 17 | li{clear:both} 18 | ol{padding-left:40px; } -------------------------------------------------------------------------------- /src/com/phn/bean/News.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.bean; 5 | 6 | import java.util.Date; 7 | 8 | /** 9 | * @author phn 10 | * 11 | */ 12 | public class News { 13 | private int id; 14 | private Date newTime; 15 | private int status; // 0表示未读,1表示已读 16 | // 多对一 17 | // private Users topusers; 18 | private Users newsCommentUser; 19 | private Topics newsTopic; 20 | 21 | public int getId() { 22 | return id; 23 | } 24 | 25 | public void setId(int id) { 26 | this.id = id; 27 | } 28 | 29 | public int getStatus() { 30 | return status; 31 | } 32 | 33 | public void setStatus(int status) { 34 | this.status = status; 35 | } 36 | 37 | public Date getNewTime() { 38 | return newTime; 39 | } 40 | 41 | public void setNewTime(Date newTime) { 42 | this.newTime = newTime; 43 | } 44 | 45 | public Users getNewsCommentUser() { 46 | return newsCommentUser; 47 | } 48 | 49 | public void setNewsCommentUser(Users newsCommentUser) { 50 | this.newsCommentUser = newsCommentUser; 51 | } 52 | 53 | public Topics getNewsTopic() { 54 | return newsTopic; 55 | } 56 | 57 | public void setNewsTopic(Topics newsTopic) { 58 | this.newsTopic = newsTopic; 59 | } 60 | 61 | } 62 | -------------------------------------------------------------------------------- /src/com/phn/service/CategoryService.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.service; 5 | 6 | import java.util.List; 7 | 8 | 9 | import com.phn.bean.Categorys; 10 | import com.phn.bean.Pages; 11 | import com.phn.bean.Topics; 12 | import com.phn.bean.Types; 13 | 14 | /** 15 | * @author 潘海南 16 | * @email phnlove@163.com 17 | */ 18 | public interface CategoryService { 19 | public boolean add(Categorys cate); 20 | 21 | public boolean delete(int index); 22 | 23 | public boolean update(Categorys cate); 24 | 25 | public List getAll(); 26 | 27 | /** 28 | * @param id 29 | * @return 30 | */ 31 | public List getType(int id); 32 | 33 | public List new_getType(int id); 34 | 35 | /** 36 | * @param listType 37 | * @return 38 | */ 39 | public List getTopic(List listType); 40 | 41 | /** 42 | * @param i 43 | * @param nowPage 44 | * @param listType 45 | * @return 46 | */ 47 | public Pages getAllForPages(int pageSize, int nowPage, List listType); 48 | 49 | /** 50 | * @param id 51 | * @return 52 | */ 53 | public Categorys find(int id); 54 | 55 | /** 56 | * @param id 57 | * @return 58 | */ 59 | public List manageType(int id); 60 | } 61 | -------------------------------------------------------------------------------- /src/com/phn/dao/UserDao.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.dao; 5 | 6 | import java.util.List; 7 | 8 | import com.phn.bean.Topics; 9 | import com.phn.bean.Users; 10 | 11 | /** 12 | * @author 潘海南 13 | * @email phnlove@163.com 14 | */ 15 | public interface UserDao { 16 | /** 17 | * 添加用户 18 | * 19 | * @param user 20 | * @return 21 | */ 22 | public boolean add(Users user); 23 | 24 | /** 25 | * 删除用户 26 | * 27 | * @param user 28 | * @return 29 | */ 30 | public boolean delete(Users user); 31 | 32 | /** 33 | * 通过用户id查找是否存在该用户 34 | * 35 | * @param index 36 | * @return 37 | */ 38 | public Users find(int index); 39 | 40 | /** 41 | * 更新修改了的用户信息 42 | * 43 | * @param user 44 | * @return 45 | */ 46 | public boolean update(Users user); 47 | 48 | /** 49 | * 通过用户名和密码查找是否存在该用户 50 | * 51 | * @param user 52 | * @return 53 | */ 54 | public Users findByNP(Users user); 55 | 56 | /** 57 | * 通过用户名查找是否存在该用户 58 | * 59 | * @param userName 60 | * @return 61 | */ 62 | public boolean findByName(String userName); 63 | public boolean findByNic(String userNic); 64 | 65 | /** 66 | * @param id 67 | * @return 68 | */ 69 | public List getToipcs(int id); 70 | } 71 | -------------------------------------------------------------------------------- /src/com/phn/bean/Categorys.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.bean; 5 | 6 | import java.util.HashSet; 7 | import java.util.Set; 8 | 9 | /** 10 | * @author phn 11 | * 12 | */ 13 | public class Categorys { 14 | private int id; 15 | private String name; 16 | private int countTopics = 0; 17 | private int countComments = 0; 18 | private Set categoryTypes = new HashSet(); 19 | 20 | public int getId() { 21 | return id; 22 | } 23 | 24 | public void setId(int id) { 25 | this.id = id; 26 | } 27 | 28 | public String getName() { 29 | return name; 30 | } 31 | 32 | public void setName(String name) { 33 | this.name = name; 34 | } 35 | 36 | public Set getCategoryTypes() { 37 | return categoryTypes; 38 | } 39 | 40 | public void setCategoryTypes(Set categoryTypes) { 41 | this.categoryTypes = categoryTypes; 42 | } 43 | 44 | public int getCountTopics() { 45 | return countTopics; 46 | } 47 | 48 | public void setCountTopics(int countTopics) { 49 | this.countTopics = countTopics; 50 | } 51 | 52 | public int getCountComments() { 53 | return countComments; 54 | } 55 | 56 | public void setCountComments(int countComments) { 57 | this.countComments = countComments; 58 | } 59 | 60 | } 61 | -------------------------------------------------------------------------------- /WebRoot/copyRight.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | <% 4 | String path = request.getContextPath(); 5 | String basePath = request.getScheme() + "://" 6 | + request.getServerName() + ":" + request.getServerPort() 7 | + path + "/"; 8 | %> 9 | 10 | 11 | 21 | 22 |
23 | 关于论坛  |  技术支持  |  隐私政策  |  联系我们  |  后台管理后台管理 24 |
Copyright@2014 梦之站 | 25 | 湖南省长沙市(雨花区)万家丽南路2段960号
电话:0731-2309047 26 | 邮箱:dreamstationx.@sina.com
27 |
28 | -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/background/background.css: -------------------------------------------------------------------------------- 1 | .wrapper{ width: 424px;margin: 10px auto; zoom:1;position: relative} 2 | .tabbody{height:225px;} 3 | .tabbody .panel { position: absolute;width:100%; height:100%;background: #fff; display: none;} 4 | .tabbody .focus { display: block;} 5 | 6 | body{font-size: 12px;color: #888;overflow: hidden;} 7 | input,label{vertical-align:middle} 8 | .clear{clear: both;} 9 | .pl{padding-left: 18px;padding-left: 23px\9;} 10 | 11 | #imageList {width: 420px;height: 215px;margin-top: 10px;overflow: hidden;overflow-y: auto;} 12 | #imageList div {float: left;width: 100px;height: 95px;margin: 5px 10px;} 13 | #imageList img {cursor: pointer;border: 2px solid white;} 14 | 15 | .bgarea{margin: 10px;padding: 5px;height: 84%;border: 1px solid #A8A297;} 16 | .content div{margin: 10px 0 10px 5px;} 17 | .content .iptradio{margin: 0px 5px 5px 0px;} 18 | .txt{width:280px;} 19 | 20 | .wrapcolor{height: 19px;} 21 | div.color{float: left;margin: 0;} 22 | #colorPicker{width: 17px;height: 17px;border: 1px solid #CCC;display: inline-block;border-radius: 3px;box-shadow: 2px 2px 5px #D3D6DA;margin: 0;float: left;} 23 | div.alignment,#custom{margin-left: 23px;margin-left: 28px\9;} 24 | #custom input{height: 15px;min-height: 15px;width:20px;} 25 | #repeatType{width:100px;} -------------------------------------------------------------------------------- /src/com/phn/dao/impl/NewDaoImpl.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.dao.impl; 5 | 6 | import org.hibernate.Session; 7 | import org.hibernate.SessionFactory; 8 | 9 | import com.phn.bean.News; 10 | import com.phn.dao.NewDao; 11 | 12 | /** 13 | * @author 潘海南 14 | * @email phnlove@163.com 15 | */ 16 | public class NewDaoImpl implements NewDao { 17 | private SessionFactory sessionFactory; 18 | 19 | public SessionFactory getSessionFactory() { 20 | return sessionFactory; 21 | } 22 | 23 | public void setSessionFactory(SessionFactory sessionFactory) { 24 | this.sessionFactory = sessionFactory; 25 | } 26 | 27 | @Override 28 | public boolean add(News tnew) { 29 | Session session = sessionFactory.getCurrentSession(); 30 | session.save(tnew); 31 | return true; 32 | } 33 | 34 | @Override 35 | public boolean update(News tnew) { 36 | Session session = sessionFactory.getCurrentSession(); 37 | session.update(tnew); 38 | return true; 39 | } 40 | @Override 41 | public News find(int id) { 42 | Session session = sessionFactory.getCurrentSession(); 43 | News tnew = (News) session.get(News.class,id); 44 | return tnew; 45 | } 46 | 47 | @Override 48 | public void delete(News tnew) { 49 | Session session = sessionFactory.getCurrentSession(); 50 | session.delete(tnew); 51 | } 52 | 53 | } 54 | -------------------------------------------------------------------------------- /src/com/phn/bean/Comments.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/bean/Comments.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /WebRoot/indexHelp.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | <% 4 | String path = request.getContextPath(); 5 | String basePath = request.getScheme() + "://" 6 | + request.getServerName() + ":" + request.getServerPort() 7 | + path + "/"; 8 | %> 9 | 26 | 27 |
28 | 29 | 30 | 31 | 38 | 41 | 42 | 43 |
37 | 40 |
44 |
45 | -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/preview/preview.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 |
29 | 30 | 40 | -------------------------------------------------------------------------------- /WebRoot/indexAnno.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | <% 4 | String path = request.getContextPath(); 5 | String basePath = request.getScheme() + "://" 6 | + request.getServerName() + ":" + request.getServerPort() 7 | + path + "/"; 8 | %> 9 | 26 | 27 |
28 | 29 | 30 | 31 | 38 | 41 | 42 | 43 |
37 | 40 |
44 |
45 | -------------------------------------------------------------------------------- /WebRoot/ueditor/jsp/scrawlUp.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=utf-8" 2 | pageEncoding="utf-8"%> 3 | <%@ page import="sun.misc.BASE64Decoder" %> 4 | <%@ page import="java.io.BufferedReader"%> 5 | <%@ page import="java.io.IOException"%> 6 | <%@ page import="java.io.InputStream"%> 7 | <%@ page import="java.io.InputStreamReader"%> 8 | <%@ page import="java.io.OutputStream"%> 9 | <%@ page import="java.io.File"%> 10 | <%@ page import="java.io.FileOutputStream"%> 11 | <%@ page import="java.util.Date"%> 12 | <%@ page import="ueditor.Uploader" %> 13 | 14 | <% 15 | request.setCharacterEncoding("utf-8"); 16 | response.setCharacterEncoding("utf-8"); 17 | 18 | String param = request.getParameter("action"); 19 | Uploader up = new Uploader(request); 20 | String path = "upload"; 21 | up.setSavePath(path); 22 | String[] fileType = {".gif" , ".png" , ".jpg" , ".jpeg" , ".bmp"}; 23 | up.setAllowFiles(fileType); 24 | up.setMaxSize(10000); //单位KB 25 | 26 | if(param!=null && param.equals("tmpImg")){ 27 | up.upload(); 28 | out.print(""); 29 | }else{ 30 | up.uploadBase64("content"); 31 | response.getWriter().print("{'url':'" + up.getUrl()+"',state:'"+up.getState()+"'}"); 32 | } 33 | 34 | %> 35 | -------------------------------------------------------------------------------- /src/com/phn/bean/Types.java: -------------------------------------------------------------------------------- 1 | package com.phn.bean; 2 | 3 | import java.util.HashSet; 4 | import java.util.Set; 5 | 6 | public class Types { 7 | 8 | private int id; 9 | private String name; 10 | private int countTopics = 0; 11 | private int countComments = 0; 12 | 13 | private Categorys typesCategory; 14 | 15 | private Set typeTopics = new HashSet(); 16 | 17 | public int getId() { 18 | return id; 19 | } 20 | 21 | public void setId(int id) { 22 | this.id = id; 23 | } 24 | 25 | public String getName() { 26 | return name; 27 | } 28 | 29 | public void setName(String name) { 30 | this.name = name; 31 | } 32 | 33 | public int getCountTopics() { 34 | return countTopics; 35 | } 36 | 37 | public void setCountTopics(int countTopics) { 38 | this.countTopics = countTopics; 39 | } 40 | 41 | public Set getTypeTopics() { 42 | return typeTopics; 43 | } 44 | 45 | public void setTypeTopics(Set typeTopics) { 46 | this.typeTopics = typeTopics; 47 | } 48 | 49 | public Categorys getTypesCategory() { 50 | return typesCategory; 51 | } 52 | 53 | public void setTypesCategory(Categorys typesCategory) { 54 | this.typesCategory = typesCategory; 55 | } 56 | 57 | public int getCountComments() { 58 | return countComments; 59 | } 60 | 61 | public void setCountComments(int countComments) { 62 | this.countComments = countComments; 63 | } 64 | 65 | 66 | } -------------------------------------------------------------------------------- /WebRoot/ueditor/third-party/highcharts/modules/heatmap.src.js: -------------------------------------------------------------------------------- 1 | (function (Highcharts) { 2 | var seriesTypes = Highcharts.seriesTypes, 3 | each = Highcharts.each; 4 | 5 | seriesTypes.heatmap = Highcharts.extendClass(seriesTypes.map, { 6 | colorKey: 'z', 7 | useMapGeometry: false, 8 | pointArrayMap: ['y', 'z'], 9 | translate: function () { 10 | var series = this, 11 | options = series.options, 12 | dataMin = Number.MAX_VALUE, 13 | dataMax = Number.MIN_VALUE; 14 | 15 | series.generatePoints(); 16 | 17 | each(series.data, function (point) { 18 | var x = point.x, 19 | y = point.y, 20 | value = point.z, 21 | xPad = (options.colsize || 1) / 2, 22 | yPad = (options.rowsize || 1) / 2; 23 | 24 | point.path = [ 25 | 'M', x - xPad, y - yPad, 26 | 'L', x + xPad, y - yPad, 27 | 'L', x + xPad, y + yPad, 28 | 'L', x - xPad, y + yPad, 29 | 'Z' 30 | ]; 31 | 32 | point.shapeType = 'path'; 33 | point.shapeArgs = { 34 | d: series.translatePath(point.path) 35 | }; 36 | 37 | if (typeof value === 'number') { 38 | if (value > dataMax) { 39 | dataMax = value; 40 | } else if (value < dataMin) { 41 | dataMin = value; 42 | } 43 | } 44 | }); 45 | 46 | series.translateColors(dataMin, dataMax); 47 | }, 48 | 49 | getBox: function () {} 50 | 51 | }); 52 | 53 | }(Highcharts)); 54 | -------------------------------------------------------------------------------- /WebRoot/ueditor/third-party/highcharts/modules/no-data-to-display.js: -------------------------------------------------------------------------------- 1 | /* 2 | Highcharts JS v3.0.6 (2013-10-04) 3 | Plugin for displaying a message when there is no data visible in chart. 4 | 5 | (c) 2010-2013 Highsoft AS 6 | Author: Øystein Moseng 7 | 8 | License: www.highcharts.com/license 9 | */ 10 | (function(c){function f(){return!!this.points.length}function g(){this.hasData()?this.hideNoData():this.showNoData()}var d=c.seriesTypes,e=c.Chart.prototype,h=c.getOptions(),i=c.extend;i(h.lang,{noData:"No data to display"});h.noData={position:{x:0,y:0,align:"center",verticalAlign:"middle"},attr:{},style:{fontWeight:"bold",fontSize:"12px",color:"#60606a"}};d.pie.prototype.hasData=f;if(d.gauge)d.gauge.prototype.hasData=f;if(d.waterfall)d.waterfall.prototype.hasData=f;c.Series.prototype.hasData=function(){return this.dataMax!== 11 | void 0&&this.dataMin!==void 0};e.showNoData=function(a){var b=this.options,a=a||b.lang.noData,b=b.noData;if(!this.noDataLabel)this.noDataLabel=this.renderer.label(a,0,0,null,null,null,null,null,"no-data").attr(b.attr).css(b.style).add(),this.noDataLabel.align(i(this.noDataLabel.getBBox(),b.position),!1,"plotBox")};e.hideNoData=function(){if(this.noDataLabel)this.noDataLabel=this.noDataLabel.destroy()};e.hasData=function(){for(var a=this.series,b=a.length;b--;)if(a[b].hasData()&&!a[b].options.isInternal)return!0; 12 | return!1};e.callbacks.push(function(a){c.addEvent(a,"load",g);c.addEvent(a,"redraw",g)})})(Highcharts); 13 | -------------------------------------------------------------------------------- /WebRoot/ueditor/jsp/getMovie.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" pageEncoding="utf-8"%> 2 | <%@ page import="java.io.BufferedReader"%> 3 | <%@ page import="java.io.IOException"%> 4 | <%@ page import="java.io.InputStream"%> 5 | <%@ page import="java.io.InputStreamReader"%> 6 | <%@ page import="java.net.MalformedURLException"%> 7 | <%@ page import="java.net.URL"%> 8 | <%@ page import="java.net.URLEncoder"%> 9 | <%@ page import="java.net.URLConnection"%> 10 | <% 11 | request.setCharacterEncoding("utf-8"); 12 | response.setCharacterEncoding("utf-8"); 13 | StringBuffer readOneLineBuff = new StringBuffer(); 14 | String content =""; 15 | String searchkey = request.getParameter("searchKey"); 16 | String videotype = request.getParameter("videoType"); 17 | try { 18 | searchkey = URLEncoder.encode(searchkey,"utf-8"); 19 | URL url = new URL("http://api.tudou.com/v3/gw?method=item.search&appKey=myKey&format=json&kw="+ searchkey+"&pageNo=1&pageSize=20&channelId="+videotype+"&inDays=7&media=v&sort=s"); 20 | URLConnection conn = url.openConnection(); 21 | BufferedReader reader = new BufferedReader(new InputStreamReader(conn.getInputStream(),"utf-8")); 22 | String line = ""; 23 | while ((line = reader.readLine()) != null) { 24 | readOneLineBuff.append(line); 25 | } 26 | content = readOneLineBuff.toString(); 27 | reader.close(); 28 | } catch (MalformedURLException e) { 29 | e.printStackTrace(); 30 | } catch (IOException e2) { 31 | e2.printStackTrace(); 32 | } 33 | response.getWriter().print(content); 34 | %> -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/table/edittable.css: -------------------------------------------------------------------------------- 1 | body{ 2 | overflow: hidden; 3 | width: 540px; 4 | } 5 | .wrapper { 6 | margin: 10px auto 0; 7 | font-size: 12px; 8 | overflow: hidden; 9 | width: 520px; 10 | height: 315px; 11 | } 12 | 13 | .clear { 14 | clear: both; 15 | } 16 | 17 | .wrapper .left { 18 | float: left; 19 | margin-left: 10px;; 20 | } 21 | 22 | .wrapper .right { 23 | float: right; 24 | border-left: 2px dotted #EDEDED; 25 | padding-left: 15px; 26 | } 27 | 28 | .section { 29 | margin-bottom: 15px; 30 | width: 240px; 31 | overflow: hidden; 32 | } 33 | 34 | .section h3 { 35 | font-weight: bold; 36 | padding: 5px 0; 37 | margin-bottom: 10px; 38 | border-bottom: 1px solid #EDEDED; 39 | font-size: 12px; 40 | } 41 | 42 | .section ul { 43 | list-style: none; 44 | overflow: hidden; 45 | clear: both; 46 | 47 | } 48 | 49 | .section li { 50 | float: left; 51 | width: 120px;; 52 | } 53 | 54 | .section .tone { 55 | width: 80px;; 56 | } 57 | 58 | .section .preview { 59 | width: 220px; 60 | } 61 | 62 | .section .preview table { 63 | text-align: center; 64 | vertical-align: middle; 65 | color: #666; 66 | } 67 | 68 | .section .preview caption { 69 | font-weight: bold; 70 | } 71 | 72 | .section .preview td { 73 | border-width: 1px; 74 | border-style: solid; 75 | height: 22px; 76 | } 77 | 78 | .section .preview th { 79 | border-style: solid; 80 | border-color: #DDD; 81 | border-width: 2px 1px 1px 1px; 82 | height: 22px; 83 | background-color: #F7F7F7; 84 | } -------------------------------------------------------------------------------- /src/com/phn/dao/impl/PageDaoImpl.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.dao.impl; 5 | 6 | import java.util.List; 7 | 8 | import org.hibernate.HibernateException; 9 | import org.hibernate.Query; 10 | import org.hibernate.Session; 11 | import org.hibernate.SessionFactory; 12 | import org.springframework.transaction.annotation.Isolation; 13 | import org.springframework.transaction.annotation.Propagation; 14 | import org.springframework.transaction.annotation.Transactional; 15 | 16 | import com.phn.bean.Topics; 17 | import com.phn.dao.PageDao; 18 | 19 | /** 20 | * @author 潘海南 21 | * @email phnlove@163.com 22 | */ 23 | @Transactional(propagation = Propagation.REQUIRED, isolation = Isolation.DEFAULT) 24 | public class PageDaoImpl implements PageDao { 25 | private SessionFactory sessionFactory; 26 | 27 | public SessionFactory getSessionFactory() { 28 | return sessionFactory; 29 | } 30 | 31 | public void setSessionFactory(SessionFactory sessionFactory) { 32 | this.sessionFactory = sessionFactory; 33 | } 34 | 35 | @Override 36 | public int getAllRowCount(String hql) { 37 | Session session = this.sessionFactory.getCurrentSession(); 38 | Query q = session.createQuery(hql); 39 | // session.close(); 40 | return q.list().size(); 41 | } 42 | 43 | @Override 44 | public List query_Objects_ForPages(String hql, int offset, int length) { 45 | Session session = this.sessionFactory.getCurrentSession(); 46 | Query q = session.createQuery(hql); 47 | q.setFirstResult(offset); 48 | q.setMaxResults(length); 49 | List list = q.list(); 50 | // session.close(); 51 | return list; 52 | } 53 | 54 | } 55 | -------------------------------------------------------------------------------- /src/com/phn/util/UploadFilter.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.util; 5 | 6 | import java.io.IOException; 7 | import java.net.URLDecoder; 8 | 9 | import javax.servlet.Filter; 10 | import javax.servlet.FilterChain; 11 | import javax.servlet.FilterConfig; 12 | import javax.servlet.ServletException; 13 | import javax.servlet.ServletRequest; 14 | import javax.servlet.ServletResponse; 15 | import javax.servlet.http.HttpServletRequest; 16 | 17 | /** 18 | * @author 潘海南 19 | * @email phnlove@163.com 20 | */ 21 | public class UploadFilter implements Filter { 22 | 23 | public final static String DEFAULT_URI_ENCODE = "UTF-8"; 24 | 25 | private FilterConfig config = null; 26 | private String encode = null; 27 | 28 | @Override 29 | public void init(FilterConfig config) throws ServletException { 30 | this.config = config; 31 | this.encode = config.getInitParameter("DEFAULT_URI_ENCODE"); 32 | if (this.encode == null) { 33 | this.encode = DEFAULT_URI_ENCODE; 34 | } 35 | } 36 | 37 | @Override 38 | public void doFilter(ServletRequest req, ServletResponse res, 39 | FilterChain chain) throws IOException, ServletException { 40 | HttpServletRequest request = (HttpServletRequest) req; 41 | String uri = request.getRequestURI(); 42 | String ch = URLDecoder.decode(uri, encode); 43 | if (uri.equals(ch)) { 44 | chain.doFilter(req, res); 45 | return; 46 | } 47 | ch = ch.substring(request.getContextPath().length()); 48 | config.getServletContext().getRequestDispatcher(ch).forward(req, res); 49 | } 50 | 51 | @Override 52 | public void destroy() { 53 | config = null; 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /WebRoot/ueditor/jsp/fileUp.jsp: -------------------------------------------------------------------------------- 1 | <%@page import="java.io.File"%> 2 | <%@page import="java.util.Properties"%> 3 | <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> 4 | <%@ page import="ueditor.Uploader" %> 5 | <%@ page import="java.io.FileInputStream" %> 6 | 7 | 8 | <% 9 | request.setCharacterEncoding( Uploader.ENCODEING ); 10 | response.setCharacterEncoding( Uploader.ENCODEING ); 11 | 12 | String currentPath = request.getRequestURI().replace( request.getContextPath(), "" ); 13 | 14 | File currentFile = new File( currentPath ); 15 | 16 | currentPath = currentFile.getParent() + File.separator; 17 | 18 | //加载配置文件 19 | String propertiesPath = request.getSession().getServletContext().getRealPath( currentPath + "config.properties" ); 20 | Properties properties = new Properties(); 21 | try { 22 | properties.load( new FileInputStream( propertiesPath ) ); 23 | } catch ( Exception e ) { 24 | //加载失败的处理 25 | e.printStackTrace(); 26 | } 27 | 28 | Uploader up = new Uploader(request); 29 | 30 | up.setSavePath("upload"); //保存路径 31 | String[] fileType = {".rar" , ".doc" , ".docx" , ".zip" , ".pdf" , ".txt" , ".swf", ".wmv", ".avi", ".rm", ".rmvb", ".mpeg", ".mpg", ".ogg", ".mov", ".wmv", ".mp4"}; //允许的文件类型 32 | up.setAllowFiles(fileType); 33 | up.setMaxSize(500 * 1024); //允许的文件最大尺寸,单位KB 34 | up.upload(); 35 | response.getWriter().print("{'url':'"+up.getUrl()+"','fileType':'"+up.getType()+"','state':'"+up.getState()+"','original':'"+up.getOriginalName()+"'}"); 36 | 37 | %> 38 | -------------------------------------------------------------------------------- /src/com/phn/dao/impl/CommentDaoImpl.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.dao.impl; 5 | 6 | import org.hibernate.Session; 7 | import org.hibernate.SessionFactory; 8 | import org.springframework.transaction.annotation.Isolation; 9 | import org.springframework.transaction.annotation.Propagation; 10 | import org.springframework.transaction.annotation.Transactional; 11 | 12 | import com.phn.bean.Comments; 13 | import com.phn.dao.CommentDao; 14 | 15 | /** 16 | * @author 潘海南 17 | * @email phnlove@163.com 18 | */ 19 | @Transactional(propagation = Propagation.REQUIRED, isolation = Isolation.DEFAULT) 20 | public class CommentDaoImpl implements CommentDao { 21 | 22 | private SessionFactory sessionFactory; 23 | 24 | public SessionFactory getSessionFactory() { 25 | return sessionFactory; 26 | } 27 | 28 | public void setSessionFactory(SessionFactory sessionFactory) { 29 | this.sessionFactory = sessionFactory; 30 | } 31 | 32 | @Override 33 | public boolean add(Comments comment) { 34 | Session session = this.sessionFactory.getCurrentSession(); 35 | session.save(comment); 36 | return true; 37 | } 38 | 39 | @Override 40 | public void update(Comments comment) { 41 | Session session = this.sessionFactory.getCurrentSession(); 42 | session.update(comment); 43 | } 44 | 45 | @Override 46 | public Comments find(int id) { 47 | Session session = this.sessionFactory.getCurrentSession(); 48 | Comments comment = (Comments) session.get(Comments.class, id); 49 | return comment; 50 | } 51 | 52 | @Override 53 | public void delete(Comments comment) { 54 | Session session = this.sessionFactory.getCurrentSession(); 55 | session.delete(comment); 56 | } 57 | 58 | } 59 | -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/charts/chart.config.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 图表配置文件 3 | * */ 4 | 5 | 6 | //不同类型的配置 7 | var typeConfig = [ 8 | { 9 | chart: { 10 | type: 'line' 11 | }, 12 | plotOptions: { 13 | line: { 14 | dataLabels: { 15 | enabled: false 16 | }, 17 | enableMouseTracking: true 18 | } 19 | } 20 | }, { 21 | chart: { 22 | type: 'line' 23 | }, 24 | plotOptions: { 25 | line: { 26 | dataLabels: { 27 | enabled: true 28 | }, 29 | enableMouseTracking: false 30 | } 31 | } 32 | }, { 33 | chart: { 34 | type: 'area' 35 | } 36 | }, { 37 | chart: { 38 | type: 'bar' 39 | } 40 | }, { 41 | chart: { 42 | type: 'column' 43 | } 44 | }, { 45 | chart: { 46 | plotBackgroundColor: null, 47 | plotBorderWidth: null, 48 | plotShadow: false 49 | }, 50 | plotOptions: { 51 | pie: { 52 | allowPointSelect: true, 53 | cursor: 'pointer', 54 | dataLabels: { 55 | enabled: true, 56 | color: '#000000', 57 | connectorColor: '#000000', 58 | formatter: function() { 59 | return ''+ this.point.name +': '+ ( Math.round( this.point.percentage*100 ) / 100 ) +' %'; 60 | } 61 | } 62 | } 63 | } 64 | } 65 | ]; 66 | -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/help/help.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created with JetBrains PhpStorm. 3 | * User: xuheng 4 | * Date: 12-9-26 5 | * Time: 下午1:06 6 | * To change this template use File | Settings | File Templates. 7 | */ 8 | /** 9 | * tab点击处理事件 10 | * @param tabHeads 11 | * @param tabBodys 12 | * @param obj 13 | */ 14 | function clickHandler( tabHeads,tabBodys,obj ) { 15 | //head样式更改 16 | for ( var k = 0, len = tabHeads.length; k < len; k++ ) { 17 | tabHeads[k].className = ""; 18 | } 19 | obj.className = "focus"; 20 | //body显隐 21 | var tabSrc = obj.getAttribute( "tabSrc" ); 22 | for ( var j = 0, length = tabBodys.length; j < length; j++ ) { 23 | var body = tabBodys[j], 24 | id = body.getAttribute( "id" ); 25 | body.onclick = function(){ 26 | this.style.zoom = 1; 27 | }; 28 | if ( id != tabSrc ) { 29 | body.style.zIndex = 1; 30 | } else { 31 | body.style.zIndex = 200; 32 | } 33 | } 34 | 35 | } 36 | 37 | /** 38 | * TAB切换 39 | * @param tabParentId tab的父节点ID或者对象本身 40 | */ 41 | function switchTab( tabParentId ) { 42 | var tabElements = $G( tabParentId ).children, 43 | tabHeads = tabElements[0].children, 44 | tabBodys = tabElements[1].children; 45 | 46 | for ( var i = 0, length = tabHeads.length; i < length; i++ ) { 47 | var head = tabHeads[i]; 48 | if ( head.className === "focus" )clickHandler(tabHeads,tabBodys, head ); 49 | head.onclick = function () { 50 | clickHandler(tabHeads,tabBodys,this); 51 | } 52 | } 53 | } 54 | switchTab("helptab"); 55 | 56 | document.getElementById('version').innerHTML = parent.UE.version -------------------------------------------------------------------------------- /src/com/phn/bean/Topics.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 20 | 21 | 22 | 23 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /WebRoot/WEB-INF/classes/com/phn/bean/Topics.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 20 | 21 | 22 | 23 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /src/com/phn/bean/Comments.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.bean; 5 | 6 | import java.util.Date; 7 | 8 | /** 9 | * @author phn 10 | * 11 | */ 12 | public class Comments { 13 | private int id; 14 | private String content; 15 | private int floor; 16 | private Date commentTime; 17 | private int integral; 18 | private int status; //评论的状态,是否被删除,0表示没有,1表示被删除 19 | // 多对一 20 | private Topics commentsTopic; 21 | private Users commentsUser; 22 | 23 | public int getId() { 24 | return id; 25 | } 26 | 27 | public void setId(int id) { 28 | this.id = id; 29 | } 30 | 31 | public String getContent() { 32 | return content; 33 | } 34 | 35 | public void setContent(String content) { 36 | this.content = content; 37 | } 38 | 39 | public int getFloor() { 40 | return floor; 41 | } 42 | 43 | public void setFloor(int floor) { 44 | this.floor = floor; 45 | } 46 | 47 | public int getIntegral() { 48 | return integral; 49 | } 50 | 51 | public void setIntegral(int integral) { 52 | this.integral = integral; 53 | } 54 | 55 | public int getStatus() { 56 | return status; 57 | } 58 | 59 | public void setStatus(int status) { 60 | this.status = status; 61 | } 62 | 63 | public Date getCommentTime() { 64 | return commentTime; 65 | } 66 | 67 | public void setCommentTime(Date commentTime) { 68 | this.commentTime = commentTime; 69 | } 70 | 71 | public Topics getCommentsTopic() { 72 | return commentsTopic; 73 | } 74 | 75 | public void setCommentsTopic(Topics commentsTopic) { 76 | this.commentsTopic = commentsTopic; 77 | } 78 | 79 | public Users getCommentsUser() { 80 | return commentsUser; 81 | } 82 | 83 | public void setCommentsUser(Users commentsUser) { 84 | this.commentsUser = commentsUser; 85 | } 86 | 87 | } 88 | -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/anchor/anchor.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 13 | 14 | 15 |
16 | 17 |
18 | 19 | 39 | 40 | -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/music/music.css: -------------------------------------------------------------------------------- 1 | .wrapper{margin: 5px 10px;} 2 | 3 | .searchBar{height:30px;padding:7px 0 3px;text-align:center;} 4 | .searchBtn{font-size:13px;height:24px;} 5 | 6 | .resultBar{width:460px;margin:5px auto;border: 1px solid #CCC;border-radius: 5px;box-shadow: 2px 2px 5px #D3D6DA;overflow: hidden;} 7 | 8 | .listPanel{overflow: hidden;} 9 | .panelon{display:block;} 10 | .paneloff{display:none} 11 | 12 | .page{width:220px;margin:20px auto;overflow: hidden;} 13 | .pageon{float:right;width:24px;line-height:24px;height:24px;margin-right: 5px;background: none;border: none;color: #000;font-weight: bold;text-align:center} 14 | .pageoff{float:right;width:24px;line-height:24px;height:24px;cursor:pointer;background-color: #fff; 15 | border: 1px solid #E7ECF0;color: #2D64B3;margin-right: 5px;text-decoration: none;text-align:center;} 16 | 17 | .m-box{width:460px;} 18 | .m-m{float: left;line-height: 20px;height: 20px;} 19 | .m-h{height:24px;line-height:24px;padding-left: 46px;background-color:#FAFAFA;border-bottom: 1px solid #DAD8D8;font-weight: bold;font-size: 12px;color: #333;} 20 | .m-l{float:left;width:40px; } 21 | .m-t{float:left;width:140px;} 22 | .m-s{float:left;width:110px;} 23 | .m-z{float:left;width:100px;} 24 | .m-try-t{float: left;width: 60px;;} 25 | 26 | .m-try{float:left;width:20px;height:20px;background:url('http://static.tieba.baidu.com/tb/editor/images/try_music.gif') no-repeat ;} 27 | .m-trying{float:left;width:20px;height:20px;background:url('http://static.tieba.baidu.com/tb/editor/images/stop_music.gif') no-repeat ;} 28 | 29 | .loading{width:95px;height:7px;font-size:7px;margin:60px auto;background:url(http://static.tieba.baidu.com/tb/editor/images/loading.gif) no-repeat} 30 | .empty{width:300px;height:40px;padding:2px;margin:50px auto;line-height:40px; color:#006699;text-align:center;} -------------------------------------------------------------------------------- /WebRoot/a/left.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" 2 | import="java.util.*,com.phn.bean.Users,java.io.*" pageEncoding="UTF-8"%> 3 | <% 4 | String path = request.getContextPath(); 5 | String basePath = request.getScheme() + "://" 6 | + request.getServerName() + ":" + request.getServerPort() 7 | + path + "/"; 8 | %> 9 | 10 | 11 | 12 | <% 13 | Users user = (Users) session.getAttribute("tu"); 14 | if (user.getRoleId() == 16) { 15 | %> 16 | 21 | <% 22 | } 23 | %> 24 | 29 | 33 | 38 | 42 | 46 |
47 | 注意:由于评论数量众多,评论管理设置在相应的帖子页面,主要就是删除评论功能(即将评论设为被删除状态,并未正删除)。 48 |
-------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/template/template.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created with JetBrains PhpStorm. 3 | * User: xuheng 4 | * Date: 12-8-8 5 | * Time: 下午2:09 6 | * To change this template use File | Settings | File Templates. 7 | */ 8 | (function () { 9 | var me = editor, 10 | preview = $G( "preview" ), 11 | preitem = $G( "preitem" ), 12 | tmps = templates, 13 | currentTmp; 14 | var initPre = function () { 15 | var str = ""; 16 | for ( var i = 0, tmp; tmp = tmps[i++]; ) { 17 | str += '
'; 18 | } 19 | preitem.innerHTML = str; 20 | }; 21 | var pre = function ( n ) { 22 | var tmp = tmps[n - 1]; 23 | currentTmp = tmp; 24 | clearItem(); 25 | domUtils.setStyles( preitem.childNodes[n - 1], { 26 | "background-color":"lemonChiffon", 27 | "border":"#ccc 1px solid" 28 | } ); 29 | preview.innerHTML = tmp.preHtml ? tmp.preHtml : ""; 30 | }; 31 | var clearItem = function () { 32 | var items = preitem.children; 33 | for ( var i = 0, item; item = items[i++]; ) { 34 | domUtils.setStyles( item, { 35 | "background-color":"", 36 | "border":"white 1px solid" 37 | } ); 38 | } 39 | }; 40 | dialog.onok = function () { 41 | if ( !$G( "issave" ).checked ){ 42 | me.execCommand( "cleardoc" ); 43 | } 44 | var obj = { 45 | html:currentTmp && currentTmp.html 46 | }; 47 | me.execCommand( "template", obj ); 48 | }; 49 | initPre(); 50 | window.pre = pre; 51 | pre(2) 52 | 53 | })(); -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/table/edittd.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 16 | 17 | 18 |
19 | 20 | 21 |
22 | 60 | 61 | -------------------------------------------------------------------------------- /WebRoot/ueditor/jsp/imageManager.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" pageEncoding="utf-8"%> 2 | <%@ page import="java.util.*"%> 3 | <%@ page import="java.io.*"%> 4 | <%@ page import="javax.servlet.ServletContext"%> 5 | <%@ page import="javax.servlet.http.HttpServletRequest"%> 6 | <% 7 | //仅做示例用,请自行修改 8 | String path = "upload"; 9 | String imgStr =""; 10 | String realpath = getRealPath(request,path)+"/"+path; 11 | List files = getFiles(realpath,new ArrayList()); 12 | for(File file :files ){ 13 | imgStr+=file.getPath().replace(getRealPath(request,path),"")+"ue_separate_ue"; 14 | } 15 | if(imgStr!=""){ 16 | imgStr = imgStr.substring(0,imgStr.lastIndexOf("ue_separate_ue")).replace(File.separator, "/").trim(); 17 | } 18 | out.print(imgStr); 19 | %> 20 | <%! 21 | public List getFiles(String realpath, List files) { 22 | 23 | File realFile = new File(realpath); 24 | if (realFile.isDirectory()) { 25 | File[] subfiles = realFile.listFiles(); 26 | for(File file :subfiles ){ 27 | if(file.isDirectory()){ 28 | getFiles(file.getAbsolutePath(),files); 29 | }else{ 30 | if(!getFileType(file.getName()).equals("")) { 31 | files.add(file); 32 | } 33 | } 34 | } 35 | } 36 | return files; 37 | } 38 | 39 | public String getRealPath(HttpServletRequest request,String path){ 40 | ServletContext application = request.getSession().getServletContext(); 41 | String str = application.getRealPath(request.getServletPath()); 42 | return new File(str).getParent(); 43 | } 44 | 45 | public String getFileType(String fileName){ 46 | String[] fileType = {".gif" , ".png" , ".jpg" , ".jpeg" , ".bmp"}; 47 | Iterator type = Arrays.asList(fileType).iterator(); 48 | while(type.hasNext()){ 49 | String t = type.next(); 50 | if(fileName.toLowerCase().endsWith(t)){ 51 | return t; 52 | } 53 | } 54 | return ""; 55 | } 56 | %> -------------------------------------------------------------------------------- /WebRoot/ueditor/third-party/swfupload/swfupload.cookies.js: -------------------------------------------------------------------------------- 1 | /* 2 | Cookie Plug-in 3 | 4 | This plug in automatically gets all the cookies for this site and adds them to the post_params. 5 | Cookies are loaded only on initialization. The refreshCookies function can be called to update the post_params. 6 | The cookies will override any other post params with the same name. 7 | */ 8 | 9 | var SWFUpload; 10 | if (typeof(SWFUpload) === "function") { 11 | SWFUpload.prototype.initSettings = function (oldInitSettings) { 12 | return function (userSettings) { 13 | if (typeof(oldInitSettings) === "function") { 14 | oldInitSettings.call(this, userSettings); 15 | } 16 | 17 | this.refreshCookies(false); // The false parameter must be sent since SWFUpload has not initialzed at this point 18 | }; 19 | }(SWFUpload.prototype.initSettings); 20 | 21 | // refreshes the post_params and updates SWFUpload. The sendToFlash parameters is optional and defaults to True 22 | SWFUpload.prototype.refreshCookies = function (sendToFlash) { 23 | if (sendToFlash === undefined) { 24 | sendToFlash = true; 25 | } 26 | sendToFlash = !!sendToFlash; 27 | 28 | // Get the post_params object 29 | var postParams = this.settings.post_params; 30 | 31 | // Get the cookies 32 | var i, cookieArray = document.cookie.split(';'), caLength = cookieArray.length, c, eqIndex, name, value; 33 | for (i = 0; i < caLength; i++) { 34 | c = cookieArray[i]; 35 | 36 | // Left Trim spaces 37 | while (c.charAt(0) === " ") { 38 | c = c.substring(1, c.length); 39 | } 40 | eqIndex = c.indexOf("="); 41 | if (eqIndex > 0) { 42 | name = c.substring(0, eqIndex); 43 | value = c.substring(eqIndex + 1); 44 | postParams[name] = value; 45 | } 46 | } 47 | 48 | if (sendToFlash) { 49 | this.setPostParams(postParams); 50 | } 51 | }; 52 | 53 | } 54 | -------------------------------------------------------------------------------- /WebRoot/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | index.jsp 9 | 10 | 11 | urlFilter 12 | com.phn.util.UploadFilter 13 | 14 | DEFAULT_URI_ENCODE 15 | UTF-8 16 | 17 | 18 | 19 | urlFilter 20 | /* 21 | 22 | 23 | 24 | OpenSessionInViewFilter 25 | org.springframework.orm.hibernate3.support.OpenSessionInViewFilter 26 | 27 | 28 | OpenSessionInViewFilter 29 | /* 30 | 31 | 32 | 33 | 34 | 35 | struts2 36 | com.phn.interceptor.UEditorFilter 37 | 38 | 39 | struts2 40 | /* 41 | 42 | 43 | org.springframework.web.context.ContextLoaderListener 44 | 45 | 46 | 47 | contextConfigLocation 48 | /WEB-INF/applicationContext.xml 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /WebRoot/JS/login.js: -------------------------------------------------------------------------------- 1 | function login() { 2 | if(!checkname()){ 3 | return false; 4 | }else if (!checkpass()) { 5 | return false; 6 | } else { 7 | return true; 8 | } 9 | } 10 | function warnName(){ 11 | var ts = document.getElementById("namets"); 12 | ts.innerHTML = ' 长度须在3-8个字节之间!'; 13 | ts.style.color = 'green'; 14 | ts.style.backgroundColor = '#E2F3FE'; 15 | ts.style.border = '1px solid #BED7EE'; 16 | } 17 | function warnPass(){ 18 | var pts = document.getElementById("passts"); 19 | pts.innerHTML = ' 长度须在6-16个字节之间,请注意区分大小写!'; 20 | pts.style.color = 'green'; 21 | pts.style.backgroundColor = '#E2F3FE'; 22 | pts.style.border = '1px solid #BED7EE'; 23 | } 24 | 25 | function checkname() { 26 | var tname = document.getElementById("uName").value; 27 | var name =tname.replace(/( )|\s|\u00a0/g, ''); 28 | var ts = document.getElementById("namets"); 29 | if(name==null||name==""||name.length<3){ 30 | ts.innerHTML ="  请按要求输入用户名!"; 31 | ts.style.color="red"; 32 | ts.style.backgroundColor = '#F8F8F8'; 33 | ts.style.border = '1px solid red'; 34 | return false; 35 | } 36 | ts.innerHTML = ' '; 37 | ts.style.color = 'green'; 38 | ts.style.backgroundColor = '#F8F8F8'; 39 | ts.style.border = '0'; 40 | return true; 41 | } 42 | function checkpass() { 43 | var userPass = $("#uPass").val(); 44 | var pts = document.getElementById("passts"); 45 | if(userPass.length<6 || userPass.length >16) 46 | { 47 | pts.innerHTML ="  请按要求输入密码!"; 48 | pts.style.color="red"; 49 | pts.style.backgroundColor = '#F8F8F8'; 50 | pts.style.border = '1px solid red'; 51 | return false; 52 | } 53 | pts.innerHTML = ' '; 54 | pts.style.color = 'green'; 55 | pts.style.backgroundColor = '#F8F8F8'; 56 | pts.style.border = '0'; 57 | return true; 58 | } -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | DS-Java 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.wst.common.project.facet.core.builder 10 | 11 | 12 | 13 | 14 | org.eclipse.wst.jsdt.core.javascriptValidator 15 | 16 | 17 | 18 | 19 | com.genuitec.eclipse.j2eedt.core.WebClasspathBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.jdt.core.javabuilder 25 | 26 | 27 | 28 | 29 | com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator 30 | 31 | 32 | 33 | 34 | com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator 35 | 36 | 37 | 38 | 39 | org.eclipse.wst.validation.validationbuilder 40 | 41 | 42 | 43 | 44 | com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder 45 | 46 | 47 | 48 | 49 | 50 | com.genuitec.eclipse.ast.deploy.core.deploymentnature 51 | org.eclipse.jem.workbench.JavaEMFNature 52 | com.genuitec.eclipse.j2eedt.core.webnature 53 | org.eclipse.jdt.core.javanature 54 | org.eclipse.wst.jsdt.core.jsNature 55 | org.eclipse.wst.common.project.facet.core.nature 56 | org.eclipse.wst.common.modulecore.ModuleCoreNature 57 | 58 | 59 | -------------------------------------------------------------------------------- /WebRoot/a/manage.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" 2 | import="java.util.*,com.phn.bean.Users,java.io.*" pageEncoding="UTF-8"%> 3 | <%@ taglib prefix="s" uri="/struts-tags"%> 4 | <% 5 | String path = request.getContextPath(); 6 | String basePath = request.getScheme() + "://" 7 | + request.getServerName() + ":" + request.getServerPort() 8 | + path + "/"; 9 | %> 10 | 11 | 12 | 13 | 14 | 15 | 16 | 网站后台管理 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 32 | 33 | 34 | <% 35 | Users user = (Users) session.getAttribute("tu"); 36 | if (user == null) { 37 | PrintWriter pw = response.getWriter(); 38 | pw.println(""); 39 | 40 | } else if (user.getRoleId() == 0) { 41 | PrintWriter pw = response.getWriter(); 42 | pw.println(""); 43 | } else { 44 | %> 45 | 46 |
47 |
48 | 49 |
50 |
51 | 52 |
53 |
54 | 55 |
56 |
57 | 58 | 59 | <% 60 | } 61 | %> 62 | 63 | -------------------------------------------------------------------------------- /src/com/phn/dao/impl/HelpDaoImpl.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.dao.impl; 5 | 6 | import java.util.List; 7 | 8 | import org.hibernate.HibernateException; 9 | import org.hibernate.Query; 10 | import org.hibernate.Session; 11 | import org.hibernate.SessionFactory; 12 | import org.springframework.transaction.annotation.Isolation; 13 | import org.springframework.transaction.annotation.Propagation; 14 | import org.springframework.transaction.annotation.Transactional; 15 | 16 | import com.phn.bean.Helps; 17 | import com.phn.dao.HelpDao; 18 | 19 | /** 20 | * @author 潘海南 21 | * @email phnlove@163.com 22 | */ 23 | @Transactional(propagation = Propagation.REQUIRED, isolation = Isolation.DEFAULT) 24 | public class HelpDaoImpl implements HelpDao { 25 | 26 | private SessionFactory sessionFactory; 27 | 28 | public SessionFactory getSessionFactory() { 29 | return sessionFactory; 30 | } 31 | 32 | public void setSessionFactory(SessionFactory sessionFactory) { 33 | this.sessionFactory = sessionFactory; 34 | } 35 | 36 | @Override 37 | public List getAll() { 38 | Session session = sessionFactory.getCurrentSession(); 39 | String hql="from Helps hel order by hel.id asc"; 40 | List listHelp = null; 41 | try { 42 | Query q = session.createQuery(hql); 43 | listHelp = q.list(); 44 | } catch (HibernateException e) { 45 | e.printStackTrace(); 46 | } 47 | return listHelp; 48 | } 49 | 50 | @Override 51 | public Helps find(int index) { 52 | Session session = sessionFactory.getCurrentSession(); 53 | Helps thelp = (Helps) session.get(Helps.class, index); 54 | return thelp; 55 | } 56 | 57 | @Override 58 | public void add(Helps thelp) { 59 | Session session = sessionFactory.getCurrentSession(); 60 | session.save(thelp); 61 | } 62 | @Override 63 | public void update(Helps thelp) { 64 | Session session = sessionFactory.getCurrentSession(); 65 | session.update(thelp); 66 | } 67 | 68 | } 69 | -------------------------------------------------------------------------------- /src/com/phn/action/TypeAction.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.action; 5 | 6 | import java.util.List; 7 | 8 | import com.phn.bean.Pages; 9 | import com.phn.bean.Topics; 10 | import com.phn.bean.Types; 11 | import com.phn.service.TypeService; 12 | 13 | /** 14 | * @author 潘海南 15 | * @email phnlove@163.com 16 | */ 17 | public class TypeAction { 18 | private Types type; 19 | private Pages pageBean; 20 | private int nowPage = 1; 21 | private List listTopic; 22 | private TypeService typeService; 23 | 24 | public String goType() throws Exception { 25 | this.type = this.typeService.find(type.getId()); 26 | if(type==null){ 27 | return "error"; 28 | } 29 | this.pageBean = this.typeService.getAllForPages(10, nowPage, 30 | type.getId()); 31 | this.listTopic = this.pageBean.getListTopics(); 32 | return "type_go_ok"; 33 | } 34 | 35 | public String ManageAdd() throws Exception { 36 | this.typeService.add(type); 37 | return "type_manageAdd_ok"; 38 | } 39 | 40 | public String ManageUpdate() throws Exception { 41 | this.typeService.update(type); 42 | return "type_manageUpdate_ok"; 43 | } 44 | 45 | public Types getType() { 46 | return type; 47 | } 48 | 49 | public void setType(Types type) { 50 | this.type = type; 51 | } 52 | 53 | public Pages getPageBean() { 54 | return pageBean; 55 | } 56 | 57 | public void setPageBean(Pages pageBean) { 58 | this.pageBean = pageBean; 59 | } 60 | 61 | public int getNowPage() { 62 | return nowPage; 63 | } 64 | 65 | public void setNowPage(int nowPage) { 66 | this.nowPage = nowPage; 67 | } 68 | 69 | public List getListTopic() { 70 | return listTopic; 71 | } 72 | 73 | public void setListTopic(List listTopic) { 74 | this.listTopic = listTopic; 75 | } 76 | 77 | public TypeService getTypeService() { 78 | return typeService; 79 | } 80 | 81 | public void setTypeService(TypeService typeService) { 82 | this.typeService = typeService; 83 | } 84 | 85 | } 86 | -------------------------------------------------------------------------------- /src/com/phn/service/TopicService.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.service; 5 | 6 | import java.util.List; 7 | 8 | import javax.servlet.http.HttpServletRequest; 9 | import javax.servlet.http.HttpServletResponse; 10 | 11 | import com.phn.bean.Comments; 12 | import com.phn.bean.News; 13 | import com.phn.bean.Pages; 14 | import com.phn.bean.Topics; 15 | import com.phn.bean.Types; 16 | import com.phn.bean.Users; 17 | 18 | /** 19 | * @author 潘海南 20 | * @email phnlove@163.com 21 | */ 22 | 23 | public interface TopicService { 24 | public boolean add(Topics topic, Users user, HttpServletResponse response, 25 | HttpServletRequest request, Types ttype); 26 | 27 | /** 28 | * @param id 29 | * @return 30 | */ 31 | public Topics find(int id); 32 | 33 | /** 34 | * @param index 35 | * @return 36 | */ 37 | public List getIndexFreshTopic(int index); 38 | 39 | /** 40 | * @param index 41 | * @return 42 | */ 43 | public List getIndexNiceTopic(int index); 44 | 45 | /** 46 | * @return 47 | */ 48 | public Pages getAllForPages(int pageSize, int nowPage); 49 | 50 | /** 51 | * @param index 52 | * @return 53 | */ 54 | public List getIndexHotTopic(int index); 55 | 56 | /** 57 | * @param listFloor 58 | * @param listComment 59 | */ 60 | public void endTopic(int[] listFloor, List listComment); 61 | 62 | /** 63 | * @param topic 64 | */ 65 | public void update(Topics topic); 66 | 67 | /** 68 | * @param i 69 | * @param nowPage 70 | * @return 71 | */ 72 | public Pages getHotForPages(int i, int nowPage); 73 | 74 | /** 75 | * @param content 76 | */ 77 | public Pages search(String content, int pageSize, int nowPage); 78 | 79 | /** 80 | * @param tnew 81 | * @param user 82 | */ 83 | public void updateNews(News tnew, Users user); 84 | 85 | /** 86 | * @param pageSize 87 | * @param nowPage 88 | * @return 89 | */ 90 | public Pages getNiceForPages(int pageSize, int nowPage); 91 | 92 | } 93 | -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/emotion/emotion.css: -------------------------------------------------------------------------------- 1 | .jd img{ 2 | background:transparent url(images/jxface2.gif?v=1.1) no-repeat scroll left top; 3 | cursor:pointer;width:35px;height:35px;display:block; 4 | } 5 | .pp img{ 6 | background:transparent url(images/fface.gif?v=1.1) no-repeat scroll left top; 7 | cursor:pointer;width:25px;height:25px;display:block; 8 | } 9 | .ldw img{ 10 | background:transparent url(images/wface.gif?v=1.1) no-repeat scroll left top; 11 | cursor:pointer;width:35px;height:35px;display:block; 12 | } 13 | .tsj img{ 14 | background:transparent url(images/tface.gif?v=1.1) no-repeat scroll left top; 15 | cursor:pointer;width:35px;height:35px;display:block; 16 | } 17 | .cat img{ 18 | background:transparent url(images/cface.gif?v=1.1) no-repeat scroll left top; 19 | cursor:pointer;width:35px;height:35px;display:block; 20 | } 21 | .bb img{ 22 | background:transparent url(images/bface.gif?v=1.1) no-repeat scroll left top; 23 | cursor:pointer;width:35px;height:35px;display:block; 24 | } 25 | .youa img{ 26 | background:transparent url(images/yface.gif?v=1.1) no-repeat scroll left top; 27 | cursor:pointer;width:35px;height:35px;display:block; 28 | } 29 | 30 | .smileytable td {height: 37px;} 31 | #tabPanel{margin-left:5px;overflow: hidden;} 32 | #tabContent {float:left;background:#FFFFFF;} 33 | #tabContent div{display: none;width:480px;overflow:hidden;} 34 | #tabIconReview.show{left:17px;display:block;} 35 | .menuFocus{background:#ACCD3C;} 36 | .menuDefault{background:#FFFFFF;} 37 | #tabIconReview{position:absolute;left:406px;left:398px \9;top:41px;z-index:65533;width:90px;height:76px;} 38 | img.review{width:90px;height:76px;border:2px solid #9cb945;background:#FFFFFF;background-position:center;background-repeat:no-repeat;} 39 | 40 | .wrapper .tabbody{position:relative;float:left;clear:both;padding:10px;width: 95%;} 41 | .tabbody table{width: 100%;} 42 | .tabbody td{border:1px solid #BAC498;} 43 | .tabbody td span{display: block;zoom:1;padding:0 4px;} -------------------------------------------------------------------------------- /WebRoot/ueditor/third-party/highcharts/modules/funnel.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Highcharts funnel module, Beta 4 | 5 | (c) 2010-2012 Torstein Hønsi 6 | 7 | License: www.highcharts.com/license 8 | */ 9 | (function(d){var u=d.getOptions().plotOptions,p=d.seriesTypes,D=d.merge,z=function(){},A=d.each;u.funnel=D(u.pie,{center:["50%","50%"],width:"90%",neckWidth:"30%",height:"100%",neckHeight:"25%",dataLabels:{connectorWidth:1,connectorColor:"#606060"},size:!0,states:{select:{color:"#C0C0C0",borderColor:"#000000",shadow:!1}}});p.funnel=d.extendClass(p.pie,{type:"funnel",animate:z,translate:function(){var a=function(k,a){return/%$/.test(k)?a*parseInt(k,10)/100:parseInt(k,10)},g=0,e=this.chart,f=e.plotWidth, 10 | e=e.plotHeight,h=0,c=this.options,C=c.center,b=a(C[0],f),d=a(C[0],e),p=a(c.width,f),i,q,j=a(c.height,e),r=a(c.neckWidth,f),s=a(c.neckHeight,e),v=j-s,a=this.data,w,x,u=c.dataLabels.position==="left"?1:0,y,m,B,n,l,t,o;this.getWidthAt=q=function(k){return k>j-s||j===s?r:r+(p-r)*((j-s-k)/(j-s))};this.getX=function(k,a){return b+(a?-1:1)*(q(k)/2+c.dataLabels.distance)};this.center=[b,d,j];this.centerX=b;A(a,function(a){g+=a.y});A(a,function(a){o=null;x=g?a.y/g:0;m=d-j/2+h*j;l=m+x*j;i=q(m);y=b-i/2;B=y+ 11 | i;i=q(l);n=b-i/2;t=n+i;m>v?(y=n=b-r/2,B=t=b+r/2):l>v&&(o=l,i=q(v),n=b-i/2,t=n+i,l=v);w=["M",y,m,"L",B,m,t,l];o&&w.push(t,o,n,o);w.push(n,l,"Z");a.shapeType="path";a.shapeArgs={d:w};a.percentage=x*100;a.plotX=b;a.plotY=(m+(o||l))/2;a.tooltipPos=[b,a.plotY];a.slice=z;a.half=u;h+=x});this.setTooltipPoints()},drawPoints:function(){var a=this,g=a.options,e=a.chart.renderer;A(a.data,function(f){var h=f.graphic,c=f.shapeArgs;h?h.animate(c):f.graphic=e.path(c).attr({fill:f.color,stroke:g.borderColor,"stroke-width":g.borderWidth}).add(a.group)})}, 12 | sortByAngle:z,drawDataLabels:function(){var a=this.data,g=this.options.dataLabels.distance,e,f,h,c=a.length,d,b;for(this.center[2]-=2*g;c--;)h=a[c],f=(e=h.half)?1:-1,b=h.plotY,d=this.getX(b,e),h.labelPos=[0,b,d+(g-5)*f,b,d+g*f,b,e?"right":"left",0];p.pie.prototype.drawDataLabels.call(this)}})})(Highcharts); 13 | -------------------------------------------------------------------------------- /src/com/phn/dao/impl/CategoryDaoImpl.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.dao.impl; 5 | 6 | import java.util.List; 7 | 8 | import org.hibernate.HibernateException; 9 | import org.hibernate.Query; 10 | import org.hibernate.Session; 11 | import org.hibernate.SessionFactory; 12 | import org.springframework.transaction.annotation.Isolation; 13 | import org.springframework.transaction.annotation.Propagation; 14 | import org.springframework.transaction.annotation.Transactional; 15 | 16 | import com.phn.bean.Categorys; 17 | import com.phn.dao.CategoryDao; 18 | 19 | /** 20 | * @author 潘海南 21 | * @email phnlove@163.com 22 | */ 23 | @Transactional(propagation = Propagation.REQUIRED, isolation = Isolation.DEFAULT) 24 | public class CategoryDaoImpl implements CategoryDao { 25 | private SessionFactory sessionFactory; 26 | 27 | public SessionFactory getSessionFactory() { 28 | return sessionFactory; 29 | } 30 | 31 | public void setSessionFactory(SessionFactory sessionFactory) { 32 | this.sessionFactory = sessionFactory; 33 | } 34 | 35 | @Override 36 | public boolean add(Categorys cate) { 37 | Session session = sessionFactory.getCurrentSession(); 38 | session.save(cate); 39 | return true; 40 | } 41 | 42 | @Override 43 | public boolean delete(int index) { 44 | return false; 45 | } 46 | 47 | @Override 48 | public boolean update(Categorys cate) { 49 | Session session = sessionFactory.getCurrentSession(); 50 | session.update(cate); 51 | return true; 52 | } 53 | 54 | @Override 55 | public List getAll() { 56 | Session session = this.sessionFactory.getCurrentSession(); 57 | String hql = "from Categorys as cate order by cate.id"; 58 | List listCate = null; 59 | try { 60 | Query q = session.createQuery(hql); 61 | listCate = q.list(); 62 | } catch (HibernateException e) { 63 | e.printStackTrace(); 64 | } 65 | return listCate; 66 | } 67 | 68 | @Override 69 | public Categorys find(int id) { 70 | Session session = this.sessionFactory.getCurrentSession(); 71 | Categorys category = (Categorys) session.get(Categorys.class, id); 72 | return category; 73 | } 74 | 75 | } 76 | -------------------------------------------------------------------------------- /src/com/phn/service/impl/HelpServiceImpl.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.service.impl; 5 | 6 | import java.util.List; 7 | 8 | import com.phn.bean.Helps; 9 | import com.phn.bean.Pages; 10 | import com.phn.dao.HelpDao; 11 | import com.phn.dao.PageDao; 12 | import com.phn.service.HelpService; 13 | 14 | /** 15 | * @author 潘海南 16 | * @email phnlove@163.com 17 | */ 18 | public class HelpServiceImpl implements HelpService { 19 | 20 | private HelpDao helpDao; 21 | private PageDao pageDao; 22 | 23 | public HelpDao getHelpDao() { 24 | return helpDao; 25 | } 26 | 27 | public void setHelpDao(HelpDao helpDao) { 28 | this.helpDao = helpDao; 29 | } 30 | 31 | public PageDao getPageDao() { 32 | return pageDao; 33 | } 34 | 35 | public void setPageDao(PageDao pageDao) { 36 | this.pageDao = pageDao; 37 | } 38 | 39 | @Override 40 | public Helps find(int index) { 41 | return this.helpDao.find(index); 42 | } 43 | 44 | @Override 45 | public List getAll() { 46 | return this.helpDao.getAll(); 47 | } 48 | 49 | @Override 50 | public Pages ManageAllForPages(int pageSize, int nowPage) { 51 | final String sql = "from Helps as thelp order by thelp.id desc"; 52 | int allRecords = this.pageDao.getAllRowCount(sql); 53 | int totalPage = Pages.calculateTotalPage(pageSize, allRecords);// 总页数 54 | final int currentoffset = Pages.currentPage_startRecord(pageSize, 55 | nowPage);// 当前页的开始记录 56 | final int length = pageSize; 57 | final int currentPage = Pages.judgeCurrentPage(nowPage); 58 | List listHelps = this.pageDao.query_Objects_ForPages(sql, 59 | currentoffset, length); 60 | Pages pagebean = new Pages(); 61 | pagebean.setPageSize(pageSize); 62 | pagebean.setAllRecords(allRecords); 63 | pagebean.setCurrentPage(currentPage); 64 | pagebean.setTotalPages(totalPage); 65 | pagebean.setListHelp(listHelps); 66 | pagebean.init(); 67 | return pagebean; 68 | } 69 | 70 | @Override 71 | public void ManageAdd(Helps thelp) { 72 | this.helpDao.add(thelp); 73 | } 74 | 75 | @Override 76 | public void ManageUpdate(Helps thelp) { 77 | this.helpDao.update(thelp); 78 | } 79 | 80 | } 81 | -------------------------------------------------------------------------------- /WebRoot/indexFriend.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | <% 4 | String path = request.getContextPath(); 5 | String basePath = request.getScheme() + "://" 6 | + request.getServerName() + ":" + request.getServerPort() 7 | + path + "/"; 8 | %> 9 | 30 | 31 | 61 | -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/snapscreen/snapscreen.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 47 | 48 | 49 |
50 |

51 |
52 |
53 |
54 |
55 |
56 |
57 | 58 | -------------------------------------------------------------------------------- /WebRoot/ueditor/third-party/highcharts/themes/skies.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Skies theme for Highcharts JS 3 | * @author Torstein Hønsi 4 | */ 5 | 6 | Highcharts.theme = { 7 | colors: ["#514F78", "#42A07B", "#9B5E4A", "#72727F", "#1F949A", "#82914E", "#86777F", "#42A07B"], 8 | chart: { 9 | className: 'skies', 10 | borderWidth: 0, 11 | plotShadow: true, 12 | plotBackgroundImage: 'http://www.highcharts.com/demo/gfx/skies.jpg', 13 | plotBackgroundColor: { 14 | linearGradient: [0, 0, 250, 500], 15 | stops: [ 16 | [0, 'rgba(255, 255, 255, 1)'], 17 | [1, 'rgba(255, 255, 255, 0)'] 18 | ] 19 | }, 20 | plotBorderWidth: 1 21 | }, 22 | title: { 23 | style: { 24 | color: '#3E576F', 25 | font: '16px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif' 26 | } 27 | }, 28 | subtitle: { 29 | style: { 30 | color: '#6D869F', 31 | font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif' 32 | } 33 | }, 34 | xAxis: { 35 | gridLineWidth: 0, 36 | lineColor: '#C0D0E0', 37 | tickColor: '#C0D0E0', 38 | labels: { 39 | style: { 40 | color: '#666', 41 | fontWeight: 'bold' 42 | } 43 | }, 44 | title: { 45 | style: { 46 | color: '#666', 47 | font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif' 48 | } 49 | } 50 | }, 51 | yAxis: { 52 | alternateGridColor: 'rgba(255, 255, 255, .5)', 53 | lineColor: '#C0D0E0', 54 | tickColor: '#C0D0E0', 55 | tickWidth: 1, 56 | labels: { 57 | style: { 58 | color: '#666', 59 | fontWeight: 'bold' 60 | } 61 | }, 62 | title: { 63 | style: { 64 | color: '#666', 65 | font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif' 66 | } 67 | } 68 | }, 69 | legend: { 70 | itemStyle: { 71 | font: '9pt Trebuchet MS, Verdana, sans-serif', 72 | color: '#3E576F' 73 | }, 74 | itemHoverStyle: { 75 | color: 'black' 76 | }, 77 | itemHiddenStyle: { 78 | color: 'silver' 79 | } 80 | }, 81 | labels: { 82 | style: { 83 | color: '#3E576F' 84 | } 85 | } 86 | }; 87 | 88 | // Apply the theme 89 | var highchartsOptions = Highcharts.setOptions(Highcharts.theme); 90 | -------------------------------------------------------------------------------- /WebRoot/ueditor/themes/default/dialogbase.css: -------------------------------------------------------------------------------- 1 | /*弹出对话框页面样式组件 2 | */ 3 | 4 | /*reset 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, font, 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 | margin: 0; 16 | padding: 0; 17 | outline: 0; 18 | font-size: 100%; 19 | } 20 | 21 | body { 22 | line-height: 1; 23 | } 24 | 25 | ol, ul { 26 | list-style: none; 27 | } 28 | 29 | blockquote, q { 30 | quotes: none; 31 | } 32 | 33 | ins { 34 | text-decoration: none; 35 | } 36 | 37 | del { 38 | text-decoration: line-through; 39 | } 40 | 41 | table { 42 | border-collapse: collapse; 43 | border-spacing: 0; 44 | } 45 | 46 | /*module 47 | */ 48 | body { 49 | background-color: #fff; 50 | font: 12px/1.5 "宋体", "Arial Narrow", HELVETICA; 51 | color: #646464; 52 | } 53 | 54 | /*tab*/ 55 | .tabhead { 56 | position: relative; 57 | z-index: 10; 58 | } 59 | 60 | .tabhead span { 61 | display: inline-block; 62 | padding: 0 5px; 63 | height: 30px; 64 | border: 1px solid #ccc; 65 | background: url("images/dialog-title-bg.png") repeat-x; 66 | text-align: center; 67 | line-height: 30px; 68 | cursor: pointer; 69 | *margin-right: 5px; 70 | } 71 | 72 | .tabhead span.focus { 73 | height: 31px; 74 | border-bottom: none; 75 | background: #fff; 76 | } 77 | 78 | .tabbody { 79 | position: relative; 80 | top: -1px; 81 | margin: 0 auto; 82 | border: 1px solid #ccc; 83 | } 84 | 85 | /*button*/ 86 | a.button { 87 | display: block; 88 | text-align: center; 89 | line-height: 24px; 90 | text-decoration: none; 91 | height: 24px; 92 | width: 95px; 93 | border: 0; 94 | color: #838383; 95 | background: url(../../themes/default/images/icons-all.gif) no-repeat; 96 | } 97 | 98 | a.button:hover { 99 | background-position: 0 -30px; 100 | } -------------------------------------------------------------------------------- /src/com/phn/service/UserService.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.service; 5 | 6 | import java.util.List; 7 | 8 | import com.phn.bean.Grades; 9 | import com.phn.bean.Pages; 10 | import com.phn.bean.Topics; 11 | import com.phn.bean.Users; 12 | 13 | /** 14 | * @author 潘海南 15 | * @email phnlove@163.com 16 | */ 17 | 18 | public interface UserService { 19 | /** 20 | * 添加用户 21 | * 22 | * @param user 23 | * @return 24 | */ 25 | public boolean add(Users user); 26 | 27 | /** 28 | * 禁用用户 29 | * 30 | * @param index 31 | * @return 32 | */ 33 | public void delete(int index); 34 | 35 | /** 36 | * @param id 37 | */ 38 | public void unDelete(int id); 39 | 40 | /** 41 | * 通过用户id查找是否存在该用户 42 | * 43 | * @param index 44 | * @return 45 | */ 46 | public Users find(int index); 47 | 48 | /** 49 | * 更新修改了的用户信息 50 | * 51 | * @param user 52 | * @return 53 | */ 54 | public boolean update(Users user); 55 | 56 | /** 57 | * 通过用户名和密码查找是否存在该用户 58 | * 59 | * @param user 60 | * @return 61 | */ 62 | public Users findByNP(Users user); 63 | 64 | /** 65 | * 通过用户名查找是否存在该用户 66 | * 67 | * @param userName 68 | * @return 69 | */ 70 | public boolean findByName(String userName); 71 | 72 | public boolean findByNic(String userNic); 73 | 74 | /** 75 | * @param pageSize 76 | * @param nowPage 77 | * @param id 78 | * @return 79 | */ 80 | public Pages getTopicsForPages(int pageSize, int nowPage, int id); 81 | 82 | /** 83 | * @param us 84 | * @param pageSize 85 | * @param nowPage 86 | * @param id 87 | * @return 88 | */ 89 | public Pages getCommentsForPages(Users us, int pageSize, int nowPage, int id); 90 | 91 | /** 92 | * @param pageSize 93 | * @param nowPage 94 | * @param id 95 | * @return 96 | */ 97 | public Pages getNewsForPages(int pageSize, int nowPage, int id); 98 | 99 | /** 100 | * @param pageSize 101 | * @param nowPage 102 | * @return 103 | */ 104 | public Pages ManageUsersForPage(int pageSize, int nowPage); 105 | 106 | /** 107 | * @param id 108 | * @return 109 | */ 110 | public Grades findGrade(int id); 111 | 112 | } 113 | -------------------------------------------------------------------------------- /WebRoot/ueditor/third-party/highcharts/adapters/mootools-adapter.js: -------------------------------------------------------------------------------- 1 | /* 2 | Highcharts JS v3.0.6 (2013-10-04) 3 | MooTools adapter 4 | 5 | (c) 2010-2013 Torstein Hønsi 6 | 7 | License: www.highcharts.com/license 8 | */ 9 | (function(){var e=window,h=document,f=e.MooTools.version.substring(0,3),i=f==="1.2"||f==="1.1",j=i||f==="1.3",g=e.$extend||function(){return Object.append.apply(Object,arguments)};e.HighchartsAdapter={init:function(a){var b=Fx.prototype,c=b.start,d=Fx.Morph.prototype,e=d.compute;b.start=function(b,d){var e=this.element;if(b.d)this.paths=a.init(e,e.d,this.toD);c.apply(this,arguments);return this};d.compute=function(b,c,d){var f=this.paths;if(f)this.element.attr("d",a.step(f[0],f[1],d,this.toD));else return e.apply(this, 10 | arguments)}},adapterRun:function(a,b){if(b==="width"||b==="height")return parseInt($(a).getStyle(b),10)},getScript:function(a,b){var c=h.getElementsByTagName("head")[0],d=h.createElement("script");d.type="text/javascript";d.src=a;d.onload=b;c.appendChild(d)},animate:function(a,b,c){var d=a.attr,f=c&&c.complete;if(d&&!a.setStyle)a.getStyle=a.attr,a.setStyle=function(){var a=arguments;this.attr.call(this,a[0],a[1][0])},a.$family=function(){return!0};e.HighchartsAdapter.stop(a);c=new Fx.Morph(d?a:$(a), 11 | g({transition:Fx.Transitions.Quad.easeInOut},c));if(d)c.element=a;if(b.d)c.toD=b.d;f&&c.addEvent("complete",f);c.start(b);a.fx=c},each:function(a,b){return i?$each(a,b):Array.each(a,b)},map:function(a,b){return a.map(b)},grep:function(a,b){return a.filter(b)},inArray:function(a,b,c){return b?b.indexOf(a,c):-1},offset:function(a){a=a.getPosition();return{left:a.x,top:a.y}},extendWithEvents:function(a){a.addEvent||(a.nodeName?$(a):g(a,new Events))},addEvent:function(a,b,c){typeof b==="string"&&(b=== 12 | "unload"&&(b="beforeunload"),e.HighchartsAdapter.extendWithEvents(a),a.addEvent(b,c))},removeEvent:function(a,b,c){typeof a!=="string"&&a.addEvent&&(b?(b==="unload"&&(b="beforeunload"),c?a.removeEvent(b,c):a.removeEvents&&a.removeEvents(b)):a.removeEvents())},fireEvent:function(a,b,c,d){b={type:b,target:a};b=j?new Event(b):new DOMEvent(b);b=g(b,c);if(!b.target&&b.event)b.target=b.event.target;b.preventDefault=function(){d=null};a.fireEvent&&a.fireEvent(b.type,b);d&&d(b)},washMouseEvent:function(a){if(a.page)a.pageX= 13 | a.page.x,a.pageY=a.page.y;return a},stop:function(a){a.fx&&a.fx.cancel()}}})(); 14 | -------------------------------------------------------------------------------- /WebRoot/error.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | <% 4 | String path = request.getContextPath(); 5 | String basePath = request.getScheme() + "://" 6 | + request.getServerName() + ":" + request.getServerPort() 7 | + path + "/"; 8 | %> 9 | 10 | 11 | 12 | 13 | 14 | 15 | 失败 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 29 | 41 | 42 | 43 | 44 |
45 |
46 | 47 |
48 |
49 |
50 | 操作失败! 51 | 请稍等5秒后自动跳返回先前界面 53 | 56 |

57 | 如果您的浏览器不支持跳转,请点击这里 59 | . 60 |

61 |
62 | 65 |
66 | 67 | 68 | -------------------------------------------------------------------------------- /WebRoot/ueditor/third-party/highcharts/themes/grid.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Grid theme for Highcharts JS 3 | * @author Torstein Hønsi 4 | */ 5 | 6 | Highcharts.theme = { 7 | colors: ['#058DC7', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572', '#FF9655', '#FFF263', '#6AF9C4'], 8 | chart: { 9 | backgroundColor: { 10 | linearGradient: { x1: 0, y1: 0, x2: 1, y2: 1 }, 11 | stops: [ 12 | [0, 'rgb(255, 255, 255)'], 13 | [1, 'rgb(240, 240, 255)'] 14 | ] 15 | }, 16 | borderWidth: 2, 17 | plotBackgroundColor: 'rgba(255, 255, 255, .9)', 18 | plotShadow: true, 19 | plotBorderWidth: 1 20 | }, 21 | title: { 22 | style: { 23 | color: '#000', 24 | font: 'bold 16px "Trebuchet MS", Verdana, sans-serif' 25 | } 26 | }, 27 | subtitle: { 28 | style: { 29 | color: '#666666', 30 | font: 'bold 12px "Trebuchet MS", Verdana, sans-serif' 31 | } 32 | }, 33 | xAxis: { 34 | gridLineWidth: 1, 35 | lineColor: '#000', 36 | tickColor: '#000', 37 | labels: { 38 | style: { 39 | color: '#000', 40 | font: '11px Trebuchet MS, Verdana, sans-serif' 41 | } 42 | }, 43 | title: { 44 | style: { 45 | color: '#333', 46 | fontWeight: 'bold', 47 | fontSize: '12px', 48 | fontFamily: 'Trebuchet MS, Verdana, sans-serif' 49 | 50 | } 51 | } 52 | }, 53 | yAxis: { 54 | minorTickInterval: 'auto', 55 | lineColor: '#000', 56 | lineWidth: 1, 57 | tickWidth: 1, 58 | tickColor: '#000', 59 | labels: { 60 | style: { 61 | color: '#000', 62 | font: '11px Trebuchet MS, Verdana, sans-serif' 63 | } 64 | }, 65 | title: { 66 | style: { 67 | color: '#333', 68 | fontWeight: 'bold', 69 | fontSize: '12px', 70 | fontFamily: 'Trebuchet MS, Verdana, sans-serif' 71 | } 72 | } 73 | }, 74 | legend: { 75 | itemStyle: { 76 | font: '9pt Trebuchet MS, Verdana, sans-serif', 77 | color: 'black' 78 | 79 | }, 80 | itemHoverStyle: { 81 | color: '#039' 82 | }, 83 | itemHiddenStyle: { 84 | color: 'gray' 85 | } 86 | }, 87 | labels: { 88 | style: { 89 | color: '#99b' 90 | } 91 | }, 92 | 93 | navigation: { 94 | buttonOptions: { 95 | theme: { 96 | stroke: '#CCCCCC' 97 | } 98 | } 99 | } 100 | }; 101 | 102 | // Apply the theme 103 | var highchartsOptions = Highcharts.setOptions(Highcharts.theme); 104 | -------------------------------------------------------------------------------- /src/com/phn/service/impl/AnnounceServiceImpl.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.service.impl; 5 | 6 | import java.util.List; 7 | 8 | import com.phn.bean.Announces; 9 | import com.phn.bean.Pages; 10 | import com.phn.bean.Topics; 11 | import com.phn.dao.AnnounceDao; 12 | import com.phn.dao.PageDao; 13 | import com.phn.service.AnnounceService; 14 | 15 | /** 16 | * @author 潘海南 17 | * @email phnlove@163.com 18 | */ 19 | public class AnnounceServiceImpl implements AnnounceService { 20 | 21 | private AnnounceDao announceDao; 22 | private PageDao pageDao; 23 | 24 | public AnnounceDao getAnnounceDao() { 25 | return announceDao; 26 | } 27 | 28 | public void setAnnounceDao(AnnounceDao announceDao) { 29 | this.announceDao = announceDao; 30 | } 31 | 32 | public PageDao getPageDao() { 33 | return pageDao; 34 | } 35 | 36 | public void setPageDao(PageDao pageDao) { 37 | this.pageDao = pageDao; 38 | } 39 | 40 | @Override 41 | public List getIndexAnno(int index) { 42 | return this.announceDao.getIndexAnno(index); 43 | } 44 | 45 | @Override 46 | public List getAll() { 47 | return this.announceDao.getAll(); 48 | } 49 | 50 | @Override 51 | public Pages ManageAllForPages(int pageSize, int nowPage) { 52 | final String sql = "from Announces as anno order by anno.id desc"; 53 | int allRecords = this.pageDao.getAllRowCount(sql); 54 | int totalPage = Pages.calculateTotalPage(pageSize, allRecords);// 总页数 55 | final int currentoffset = Pages.currentPage_startRecord(pageSize, 56 | nowPage);// 当前页的开始记录 57 | final int length = pageSize; 58 | final int currentPage = Pages.judgeCurrentPage(nowPage); 59 | List listAnnounces = this.pageDao.query_Objects_ForPages(sql, 60 | currentoffset, length); 61 | Pages pagebean = new Pages(); 62 | pagebean.setPageSize(pageSize); 63 | pagebean.setAllRecords(allRecords); 64 | pagebean.setCurrentPage(currentPage); 65 | pagebean.setTotalPages(totalPage); 66 | pagebean.setListAnno(listAnnounces); 67 | pagebean.init(); 68 | return pagebean; 69 | } 70 | 71 | @Override 72 | public Announces find(int id) { 73 | return this.announceDao.find(id); 74 | } 75 | 76 | @Override 77 | public void ManageUpdate(Announces announce) { 78 | this.announceDao.update(announce); 79 | } 80 | 81 | @Override 82 | public void ManageAdd(Announces announce) { 83 | this.announceDao.add(announce); 84 | 85 | } 86 | 87 | } 88 | -------------------------------------------------------------------------------- /src/com/phn/action/CommentAction.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.action; 5 | 6 | import java.util.List; 7 | 8 | import javax.servlet.http.HttpSession; 9 | 10 | import org.apache.struts2.ServletActionContext; 11 | 12 | import com.phn.bean.Comments; 13 | import com.phn.bean.Pages; 14 | import com.phn.bean.Topics; 15 | import com.phn.bean.Users; 16 | import com.phn.service.CommentService; 17 | 18 | /** 19 | * @author 潘海南 20 | * @email phnlove@163.com 21 | */ 22 | public class CommentAction { 23 | 24 | private CommentService commentService; 25 | private Comments comment; 26 | private Topics topic; 27 | private Pages pageBean; 28 | private List listComment; 29 | private int nowPage = 1; 30 | HttpSession session = ServletActionContext.getRequest().getSession(); 31 | 32 | public String newComment() throws Exception { 33 | Users user = (Users) session.getAttribute("tu"); 34 | boolean flag = this.commentService.newComment(comment, user, topic); 35 | int pageSize = this.pageBean.getPageSize(); 36 | int allRecords = this.pageBean.getAllRecords(); 37 | this.nowPage = allRecords / pageSize + 1; 38 | if (flag != true) { 39 | return "comment_new_no"; 40 | } 41 | return "comment_new_ok"; 42 | } 43 | 44 | public String Delete() throws Exception{ 45 | this.commentService.deleteComment(comment,topic); 46 | return "comment_delete_ok"; 47 | } 48 | 49 | public CommentService getCommentService() { 50 | return commentService; 51 | } 52 | 53 | public void setCommentService(CommentService commentService) { 54 | this.commentService = commentService; 55 | } 56 | 57 | public Comments getComment() { 58 | return comment; 59 | } 60 | 61 | public void setComment(Comments comment) { 62 | this.comment = comment; 63 | } 64 | 65 | public Topics getTopic() { 66 | return topic; 67 | } 68 | 69 | public void setTopic(Topics topic) { 70 | this.topic = topic; 71 | } 72 | 73 | public Pages getPageBean() { 74 | return pageBean; 75 | } 76 | 77 | public void setPageBean(Pages pageBean) { 78 | this.pageBean = pageBean; 79 | } 80 | 81 | public int getNowPage() { 82 | return nowPage; 83 | } 84 | 85 | public void setNowPage(int nowPage) { 86 | this.nowPage = nowPage; 87 | } 88 | 89 | public List getListComment() { 90 | return listComment; 91 | } 92 | 93 | public void setListComment(List listComment) { 94 | this.listComment = listComment; 95 | } 96 | 97 | } 98 | -------------------------------------------------------------------------------- /WebRoot/ueditor/dialogs/webapp/webapp.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | 14 |
15 |
16 |
17 | 52 | 53 | -------------------------------------------------------------------------------- /src/com/phn/dao/impl/AnnounceDaoImpl.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.dao.impl; 5 | 6 | import java.util.List; 7 | 8 | import org.hibernate.HibernateException; 9 | import org.hibernate.Query; 10 | import org.hibernate.Session; 11 | import org.hibernate.SessionFactory; 12 | import org.springframework.transaction.annotation.Isolation; 13 | import org.springframework.transaction.annotation.Propagation; 14 | import org.springframework.transaction.annotation.Transactional; 15 | 16 | import com.phn.bean.Announces; 17 | import com.phn.dao.AnnounceDao; 18 | 19 | /** 20 | * @author 潘海南 21 | * @email phnlove@163.com 22 | */ 23 | @Transactional(propagation = Propagation.REQUIRED, isolation = Isolation.DEFAULT) 24 | public class AnnounceDaoImpl implements AnnounceDao { 25 | 26 | private SessionFactory sessionFactory; 27 | 28 | public SessionFactory getSessionFactory() { 29 | return sessionFactory; 30 | } 31 | 32 | public void setSessionFactory(SessionFactory sessionFactory) { 33 | this.sessionFactory = sessionFactory; 34 | } 35 | 36 | @Override 37 | public List getIndexAnno(int index) { 38 | String hql = "from Announces anno order by anno.id desc"; 39 | Session session = sessionFactory.getCurrentSession(); 40 | List listAnno = null; 41 | try { 42 | Query q = session.createQuery(hql); 43 | q.setMaxResults(index); 44 | listAnno = q.list(); 45 | } catch (HibernateException e) { 46 | e.printStackTrace(); 47 | } 48 | return listAnno; 49 | } 50 | 51 | @Override 52 | public List getAll() { 53 | String hql = "from Announces anno order by anno.id desc"; 54 | Session session = sessionFactory.getCurrentSession(); 55 | List listAnno = null; 56 | try { 57 | Query q = session.createQuery(hql); 58 | listAnno = q.list(); 59 | } catch (HibernateException e) { 60 | e.printStackTrace(); 61 | } 62 | return listAnno; 63 | } 64 | 65 | @Override 66 | public Announces find(int id) { 67 | Session session = sessionFactory.getCurrentSession(); 68 | Announces anno = (Announces) session.get(Announces.class, id); 69 | return anno; 70 | } 71 | 72 | @Override 73 | public void update(Announces announce) { 74 | Session session = sessionFactory.getCurrentSession(); 75 | session.update(announce); 76 | } 77 | 78 | @Override 79 | public void add(Announces announce) { 80 | Session session = sessionFactory.getCurrentSession(); 81 | session.save(announce); 82 | } 83 | 84 | } 85 | -------------------------------------------------------------------------------- /src/com/phn/service/impl/TypeServiceImpl.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.phn.service.impl; 5 | 6 | import java.util.List; 7 | 8 | import com.phn.bean.Categorys; 9 | import com.phn.bean.Pages; 10 | import com.phn.bean.Topics; 11 | import com.phn.bean.Types; 12 | import com.phn.dao.CategoryDao; 13 | import com.phn.dao.PageDao; 14 | import com.phn.dao.TypeDao; 15 | import com.phn.service.TypeService; 16 | 17 | /** 18 | * @author 潘海南 19 | * @email phnlove@163.com 20 | */ 21 | 22 | public class TypeServiceImpl implements TypeService { 23 | 24 | private PageDao pageDao; 25 | private TypeDao typeDao; 26 | private CategoryDao cateDao; 27 | 28 | public PageDao getPageDao() { 29 | return pageDao; 30 | } 31 | 32 | public void setPageDao(PageDao pageDao) { 33 | this.pageDao = pageDao; 34 | } 35 | 36 | public TypeDao getTypeDao() { 37 | return typeDao; 38 | } 39 | 40 | public void setTypeDao(TypeDao typeDao) { 41 | this.typeDao = typeDao; 42 | } 43 | 44 | public CategoryDao getCateDao() { 45 | return cateDao; 46 | } 47 | 48 | public void setCateDao(CategoryDao cateDao) { 49 | this.cateDao = cateDao; 50 | } 51 | 52 | @Override 53 | public Pages getAllForPages(int pageSize, int nowPage, int typeId) { 54 | final String sql = "from Topics topic where topic.topicsType.id =" 55 | + typeId + " order by topic.id desc"; 56 | int allRecords = this.pageDao.getAllRowCount(sql); 57 | int totalPage = Pages.calculateTotalPage(pageSize, allRecords);// 总页数 58 | final int currentoffset = Pages.currentPage_startRecord(pageSize, 59 | nowPage);// 当前页的开始记录 60 | final int length = pageSize; 61 | final int currentPage = Pages.judgeCurrentPage(nowPage); 62 | List listTopics = this.pageDao.query_Objects_ForPages(sql, 63 | currentoffset, length); 64 | Pages pagebean = new Pages(); 65 | pagebean.setPageSize(pageSize); 66 | pagebean.setAllRecords(allRecords); 67 | pagebean.setCurrentPage(currentPage); 68 | pagebean.setTotalPages(totalPage); 69 | pagebean.setListTopics(listTopics); 70 | pagebean.init(); 71 | return pagebean; 72 | } 73 | 74 | @Override 75 | public Types find(int id) { 76 | return this.typeDao.find(id); 77 | } 78 | 79 | @Override 80 | public void add(Types type) { 81 | Categorys cate = this.cateDao.find(type.getTypesCategory().getId()); 82 | type.setTypesCategory(cate); 83 | this.typeDao.add(type); 84 | } 85 | 86 | @Override 87 | public void update(Types type) { 88 | this.typeDao.update(type); 89 | } 90 | 91 | } 92 | --------------------------------------------------------------------------------