├── .htaccess ├── Application ├── Admin │ ├── Common │ │ ├── function.php │ │ └── index.html │ ├── Conf │ │ ├── config.php │ │ └── index.html │ ├── Controller │ │ ├── BaseController.class.php │ │ ├── BlogController.class.php │ │ ├── CategoryController.class.php │ │ ├── CheckController.class.php │ │ ├── HallController.class.php │ │ ├── IndexController.class.php │ │ ├── InfoController.class.php │ │ ├── LinksController.class.php │ │ ├── LoginController.class.php │ │ ├── ManagerController.class.php │ │ ├── MemberController.class.php │ │ ├── OrderController.class.php │ │ ├── PageController.class.php │ │ ├── PostController.class.php │ │ ├── SettingController.class.php │ │ └── index.html │ ├── Model │ │ ├── BlogModel.class.php │ │ ├── CategoryModel.class.php │ │ ├── HallModel.class.php │ │ ├── LinksModel.class.php │ │ ├── ManagerModel.class.php │ │ ├── MemberModel.class.php │ │ ├── PageModel.class.php │ │ ├── PostModel.class.php │ │ ├── PostViewModel.class.php │ │ ├── SettingModel.class.php │ │ └── index.html │ ├── View │ │ ├── Blog │ │ │ ├── add.html │ │ │ ├── index.html │ │ │ └── update.html │ │ ├── Category │ │ │ ├── add.html │ │ │ ├── index.html │ │ │ └── update.html │ │ ├── Check │ │ │ └── view.html │ │ ├── Hall │ │ │ ├── add.html │ │ │ ├── index.html │ │ │ └── update.html │ │ ├── Index │ │ │ └── index.html │ │ ├── Info │ │ │ └── index.html │ │ ├── Links │ │ │ ├── add.html │ │ │ ├── index.html │ │ │ └── update.html │ │ ├── Login │ │ │ └── index.html │ │ ├── Manager │ │ │ ├── add.html │ │ │ ├── index.html │ │ │ └── update.html │ │ ├── Member │ │ │ ├── add.html │ │ │ ├── index.html │ │ │ └── update.html │ │ ├── Order │ │ │ ├── index.html │ │ │ ├── jifen.html │ │ │ └── update.html │ │ ├── Page │ │ │ ├── add.html │ │ │ ├── index.html │ │ │ └── update.html │ │ ├── Post │ │ │ ├── add.html │ │ │ ├── filter.html │ │ │ ├── index.html │ │ │ └── update.html │ │ ├── Public │ │ │ ├── footer.html │ │ │ ├── header.html │ │ │ ├── sidebar.html │ │ │ └── static │ │ │ │ ├── css │ │ │ │ ├── bootstrap.css │ │ │ │ └── sb-admin.css │ │ │ │ ├── font-awesome │ │ │ │ ├── css │ │ │ │ │ ├── font-awesome.css │ │ │ │ │ └── font-awesome.min.css │ │ │ │ ├── fonts │ │ │ │ │ ├── FontAwesome.otf │ │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ │ ├── fontawesome-webfont.svg │ │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ │ └── fontawesome-webfont.woff2 │ │ │ │ ├── less │ │ │ │ │ ├── animated.less │ │ │ │ │ ├── bordered-pulled.less │ │ │ │ │ ├── core.less │ │ │ │ │ ├── fixed-width.less │ │ │ │ │ ├── font-awesome.less │ │ │ │ │ ├── icons.less │ │ │ │ │ ├── larger.less │ │ │ │ │ ├── list.less │ │ │ │ │ ├── mixins.less │ │ │ │ │ ├── path.less │ │ │ │ │ ├── rotated-flipped.less │ │ │ │ │ ├── spinning.less │ │ │ │ │ ├── stacked.less │ │ │ │ │ └── variables.less │ │ │ │ └── scss │ │ │ │ │ ├── _animated.scss │ │ │ │ │ ├── _bordered-pulled.scss │ │ │ │ │ ├── _core.scss │ │ │ │ │ ├── _fixed-width.scss │ │ │ │ │ ├── _icons.scss │ │ │ │ │ ├── _larger.scss │ │ │ │ │ ├── _list.scss │ │ │ │ │ ├── _mixins.scss │ │ │ │ │ ├── _path.scss │ │ │ │ │ ├── _rotated-flipped.scss │ │ │ │ │ ├── _spinning.scss │ │ │ │ │ ├── _stacked.scss │ │ │ │ │ ├── _variables.scss │ │ │ │ │ └── font-awesome.scss │ │ │ │ └── js │ │ │ │ ├── app.js │ │ │ │ ├── bootstrap.js │ │ │ │ └── jquery-1.10.2.js │ │ ├── Setting │ │ │ ├── add.html │ │ │ ├── index.html │ │ │ └── update.html │ │ └── index.html │ └── index.html ├── Common │ ├── Common │ │ ├── function.php │ │ └── index.html │ ├── Conf │ │ ├── config.php │ │ ├── db.php │ │ └── index.html │ └── index.html ├── Extend │ ├── Oauth │ │ └── ThinkOauth.class.php │ ├── Page.class.php │ ├── Wechat.class.php │ └── WechatAuth.class.php ├── Home │ ├── Common │ │ ├── function.php │ │ └── index.html │ ├── Conf │ │ ├── config.php │ │ └── index.html │ ├── Controller │ │ ├── BlogController.class.php │ │ ├── GiftController.class.php │ │ ├── HallController.class.php │ │ ├── IndexController.class.php │ │ ├── PageController.class.php │ │ ├── PostController.class.php │ │ └── index.html │ ├── Model │ │ └── index.html │ ├── View │ │ ├── Blog │ │ │ ├── index.html │ │ │ └── view.html │ │ ├── Gift │ │ │ └── index.html │ │ ├── Hall │ │ │ └── index.html │ │ ├── Index │ │ │ └── index.html │ │ ├── Login │ │ │ └── login.html │ │ ├── Page │ │ │ ├── index.html │ │ │ └── view.html │ │ ├── Post │ │ │ ├── index.html │ │ │ └── view.html │ │ ├── Public │ │ │ ├── common.html │ │ │ ├── footer.html │ │ │ └── header.html │ │ └── index.html │ └── index.html └── User │ ├── Common │ ├── function.php │ └── index.html │ ├── Conf │ ├── config.php │ └── index.html │ ├── Controller │ ├── BaseController.class.php │ ├── ChangeController.class.php │ ├── ForgetController.class.php │ ├── GiftController.class.php │ ├── IndexController.class.php │ ├── InfoController.class.php │ ├── LoginController.class.php │ ├── PostController.class.php │ ├── RegController.class.php │ └── index.html │ ├── Model │ ├── ChangeModel.class.php │ ├── GiftModel.class.php │ ├── InfoModel.class.php │ ├── MemberModel.class.php │ ├── PostModel.class.php │ ├── PostViewModel.class.php │ └── index.html │ └── View │ ├── Change │ └── index.html │ ├── Forget │ └── index.html │ ├── Gift │ ├── add.html │ ├── index.html │ └── order.html │ ├── Index │ └── index.html │ ├── Info │ ├── add.html │ ├── index.html │ └── update.html │ ├── Login │ └── index.html │ ├── Post │ ├── add.html │ ├── index.html │ └── view.html │ ├── Public │ ├── common.html │ ├── footer.html │ └── header.html │ ├── Reg │ └── index.html │ └── index.html ├── DB └── srcms.sql ├── LICENSE ├── Public ├── Home │ ├── css │ │ ├── bootstrap.min.css │ │ └── styles.css │ ├── images │ │ ├── banner.jpg │ │ ├── iphone.jpg │ │ ├── main-photo.jpg │ │ └── unknow.jpeg │ ├── index │ │ ├── bootstrap.min.css │ │ ├── bootstrap.min.js │ │ ├── carousel.css │ │ ├── holder.min.js │ │ ├── ie-emulation-modes-warning.js │ │ ├── ie10-viewport-bug-workaround.js │ │ └── jquery.min.js │ ├── js │ │ ├── bootstrap.min.js │ │ ├── jquery.min.js │ │ └── scripts.js │ └── pic │ │ ├── douban.png │ │ ├── iphone.jpg │ │ ├── tencent.png │ │ ├── wechat.png │ │ └── weibo.png ├── User │ ├── css │ │ ├── bootstrap.css │ │ └── sb-admin.css │ ├── font-awesome │ │ ├── css │ │ │ ├── font-awesome.css │ │ │ └── font-awesome.min.css │ │ ├── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ └── fontawesome-webfont.woff2 │ │ ├── less │ │ │ ├── animated.less │ │ │ ├── bordered-pulled.less │ │ │ ├── core.less │ │ │ ├── fixed-width.less │ │ │ ├── font-awesome.less │ │ │ ├── icons.less │ │ │ ├── larger.less │ │ │ ├── list.less │ │ │ ├── mixins.less │ │ │ ├── path.less │ │ │ ├── rotated-flipped.less │ │ │ ├── spinning.less │ │ │ ├── stacked.less │ │ │ └── variables.less │ │ └── scss │ │ │ ├── _animated.scss │ │ │ ├── _bordered-pulled.scss │ │ │ ├── _core.scss │ │ │ ├── _fixed-width.scss │ │ │ ├── _icons.scss │ │ │ ├── _larger.scss │ │ │ ├── _list.scss │ │ │ ├── _mixins.scss │ │ │ ├── _path.scss │ │ │ ├── _rotated-flipped.scss │ │ │ ├── _spinning.scss │ │ │ ├── _stacked.scss │ │ │ ├── _variables.scss │ │ │ └── font-awesome.scss │ └── js │ │ ├── app.js │ │ ├── bootstrap.js │ │ └── jquery-1.10.2.js └── ueditor │ ├── dialogs │ ├── anchor │ │ └── anchor.html │ ├── attachment │ │ ├── attachment.css │ │ ├── attachment.html │ │ ├── attachment.js │ │ ├── fileTypeImages │ │ │ ├── icon_chm.gif │ │ │ ├── icon_default.png │ │ │ ├── icon_doc.gif │ │ │ ├── icon_exe.gif │ │ │ ├── icon_jpg.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 │ │ └── images │ │ │ ├── alignicon.gif │ │ │ ├── alignicon.png │ │ │ ├── bg.png │ │ │ ├── file-icons.gif │ │ │ ├── file-icons.png │ │ │ ├── icons.gif │ │ │ ├── icons.png │ │ │ ├── image.png │ │ │ ├── progress.png │ │ │ ├── success.gif │ │ │ └── success.png │ ├── background │ │ ├── background.css │ │ ├── background.html │ │ ├── background.js │ │ └── images │ │ │ ├── bg.png │ │ │ └── success.png │ ├── charts │ │ ├── chart.config.js │ │ ├── charts.css │ │ ├── charts.html │ │ ├── charts.js │ │ └── images │ │ │ ├── charts0.png │ │ │ ├── charts1.png │ │ │ ├── charts2.png │ │ │ ├── charts3.png │ │ │ ├── charts4.png │ │ │ └── charts5.png │ ├── emotion │ │ ├── emotion.css │ │ ├── emotion.html │ │ ├── emotion.js │ │ └── images │ │ │ ├── 0.gif │ │ │ ├── bface.gif │ │ │ ├── cface.gif │ │ │ ├── fface.gif │ │ │ ├── jxface2.gif │ │ │ ├── neweditor-tab-bg.png │ │ │ ├── tface.gif │ │ │ ├── wface.gif │ │ │ └── yface.gif │ ├── gmap │ │ └── gmap.html │ ├── help │ │ ├── help.css │ │ ├── help.html │ │ └── help.js │ ├── image │ │ ├── image.css │ │ ├── image.html │ │ ├── image.js │ │ └── images │ │ │ ├── alignicon.jpg │ │ │ ├── bg.png │ │ │ ├── icons.gif │ │ │ ├── icons.png │ │ │ ├── image.png │ │ │ ├── progress.png │ │ │ ├── success.gif │ │ │ └── success.png │ ├── insertframe │ │ └── insertframe.html │ ├── internal.js │ ├── link │ │ └── link.html │ ├── map │ │ ├── map.html │ │ └── show.html │ ├── music │ │ ├── music.css │ │ ├── music.html │ │ └── music.js │ ├── preview │ │ └── preview.html │ ├── scrawl │ │ ├── images │ │ │ ├── addimg.png │ │ │ ├── brush.png │ │ │ ├── delimg.png │ │ │ ├── delimgH.png │ │ │ ├── empty.png │ │ │ ├── emptyH.png │ │ │ ├── eraser.png │ │ │ ├── redo.png │ │ │ ├── redoH.png │ │ │ ├── scale.png │ │ │ ├── scaleH.png │ │ │ ├── size.png │ │ │ ├── undo.png │ │ │ └── undoH.png │ │ ├── scrawl.css │ │ ├── scrawl.html │ │ └── scrawl.js │ ├── searchreplace │ │ ├── searchreplace.html │ │ └── searchreplace.js │ ├── snapscreen │ │ └── snapscreen.html │ ├── spechars │ │ ├── spechars.html │ │ └── spechars.js │ ├── table │ │ ├── dragicon.png │ │ ├── edittable.css │ │ ├── edittable.html │ │ ├── edittable.js │ │ ├── edittd.html │ │ └── edittip.html │ ├── template │ │ ├── config.js │ │ ├── images │ │ │ ├── bg.gif │ │ │ ├── pre0.png │ │ │ ├── pre1.png │ │ │ ├── pre2.png │ │ │ ├── pre3.png │ │ │ └── pre4.png │ │ ├── template.css │ │ ├── template.html │ │ └── template.js │ ├── video │ │ ├── images │ │ │ ├── bg.png │ │ │ ├── center_focus.jpg │ │ │ ├── file-icons.gif │ │ │ ├── file-icons.png │ │ │ ├── icons.gif │ │ │ ├── icons.png │ │ │ ├── image.png │ │ │ ├── left_focus.jpg │ │ │ ├── none_focus.jpg │ │ │ ├── progress.png │ │ │ ├── right_focus.jpg │ │ │ ├── success.gif │ │ │ └── success.png │ │ ├── video.css │ │ ├── video.html │ │ └── video.js │ ├── webapp │ │ └── webapp.html │ └── wordimage │ │ ├── fClipboard_ueditor.swf │ │ ├── imageUploader.swf │ │ ├── tangram.js │ │ ├── wordimage.html │ │ └── wordimage.js │ ├── lang │ ├── en │ │ ├── en.js │ │ └── images │ │ │ ├── addimage.png │ │ │ ├── alldeletebtnhoverskin.png │ │ │ ├── alldeletebtnupskin.png │ │ │ ├── background.png │ │ │ ├── button.png │ │ │ ├── copy.png │ │ │ ├── deletedisable.png │ │ │ ├── deleteenable.png │ │ │ ├── listbackground.png │ │ │ ├── localimage.png │ │ │ ├── music.png │ │ │ ├── rotateleftdisable.png │ │ │ ├── rotateleftenable.png │ │ │ ├── rotaterightdisable.png │ │ │ ├── rotaterightenable.png │ │ │ └── upload.png │ └── zh-cn │ │ ├── images │ │ ├── copy.png │ │ ├── localimage.png │ │ ├── music.png │ │ └── upload.png │ │ └── zh-cn.js │ ├── php │ ├── Uploader.class.php │ ├── action_crawler.php │ ├── action_list.php │ ├── action_upload.php │ ├── config.json │ └── controller.php │ ├── themes │ ├── default │ │ ├── css │ │ │ ├── ueditor.css │ │ │ └── ueditor.min.css │ │ ├── dialogbase.css │ │ └── images │ │ │ ├── anchor.gif │ │ │ ├── arrow.png │ │ │ ├── arrow_down.png │ │ │ ├── arrow_up.png │ │ │ ├── button-bg.gif │ │ │ ├── cancelbutton.gif │ │ │ ├── charts.png │ │ │ ├── cursor_h.gif │ │ │ ├── cursor_h.png │ │ │ ├── cursor_v.gif │ │ │ ├── cursor_v.png │ │ │ ├── dialog-title-bg.png │ │ │ ├── filescan.png │ │ │ ├── highlighted.gif │ │ │ ├── icons-all.gif │ │ │ ├── icons.gif │ │ │ ├── icons.png │ │ │ ├── loaderror.png │ │ │ ├── loading.gif │ │ │ ├── lock.gif │ │ │ ├── neweditor-tab-bg.png │ │ │ ├── pagebreak.gif │ │ │ ├── scale.png │ │ │ ├── sortable.png │ │ │ ├── spacer.gif │ │ │ ├── sparator_v.png │ │ │ ├── table-cell-align.png │ │ │ ├── tangram-colorpicker.png │ │ │ ├── toolbar_bg.png │ │ │ ├── unhighlighted.gif │ │ │ ├── upload.png │ │ │ ├── videologo.gif │ │ │ ├── word.gif │ │ │ └── wordpaste.png │ └── iframe.css │ ├── third-party │ ├── SyntaxHighlighter │ │ ├── shCore.js │ │ └── shCoreDefault.css │ ├── codemirror │ │ ├── codemirror.css │ │ └── codemirror.js │ ├── highcharts │ │ ├── adapters │ │ │ ├── mootools-adapter.js │ │ │ ├── mootools-adapter.src.js │ │ │ ├── prototype-adapter.js │ │ │ ├── prototype-adapter.src.js │ │ │ ├── standalone-framework.js │ │ │ └── standalone-framework.src.js │ │ ├── highcharts-more.js │ │ ├── highcharts-more.src.js │ │ ├── highcharts.js │ │ ├── highcharts.src.js │ │ ├── modules │ │ │ ├── annotations.js │ │ │ ├── annotations.src.js │ │ │ ├── canvas-tools.js │ │ │ ├── canvas-tools.src.js │ │ │ ├── data.js │ │ │ ├── data.src.js │ │ │ ├── drilldown.js │ │ │ ├── drilldown.src.js │ │ │ ├── exporting.js │ │ │ ├── exporting.src.js │ │ │ ├── funnel.js │ │ │ ├── funnel.src.js │ │ │ ├── heatmap.js │ │ │ ├── heatmap.src.js │ │ │ ├── map.js │ │ │ ├── map.src.js │ │ │ ├── no-data-to-display.js │ │ │ └── no-data-to-display.src.js │ │ └── themes │ │ │ ├── dark-blue.js │ │ │ ├── dark-green.js │ │ │ ├── gray.js │ │ │ ├── grid.js │ │ │ └── skies.js │ ├── jquery-1.10.2.js │ ├── jquery-1.10.2.min.js │ ├── jquery-1.10.2.min.map │ ├── snapscreen │ │ └── UEditorSnapscreen.exe │ ├── video-js │ │ ├── font │ │ │ ├── vjs.eot │ │ │ ├── vjs.svg │ │ │ ├── vjs.ttf │ │ │ └── vjs.woff │ │ ├── video-js.css │ │ ├── video-js.min.css │ │ ├── video-js.swf │ │ ├── video.dev.js │ │ └── video.js │ ├── webuploader │ │ ├── Uploader.swf │ │ ├── webuploader.css │ │ ├── webuploader.custom.js │ │ ├── webuploader.custom.min.js │ │ ├── webuploader.flashonly.js │ │ ├── webuploader.flashonly.min.js │ │ ├── webuploader.html5only.js │ │ ├── webuploader.html5only.min.js │ │ ├── webuploader.js │ │ ├── webuploader.min.js │ │ ├── webuploader.withoutimage.js │ │ └── webuploader.withoutimage.min.js │ └── zeroclipboard │ │ ├── ZeroClipboard.js │ │ ├── ZeroClipboard.min.js │ │ └── ZeroClipboard.swf │ ├── ueditor.all.js │ ├── ueditor.all.min.js │ ├── ueditor.config.js │ ├── ueditor.parse.js │ └── ueditor.parse.min.js ├── README.md ├── ThinkPHP ├── Common │ └── functions.php ├── Conf │ ├── convention.php │ └── debug.php ├── LICENSE.txt ├── Lang │ ├── en-us.php │ ├── pt-br.php │ ├── zh-cn.php │ └── zh-tw.php ├── Library │ ├── Behavior │ │ ├── AgentCheckBehavior.class.php │ │ ├── BorisBehavior.class.php │ │ ├── BrowserCheckBehavior.class.php │ │ ├── BuildLiteBehavior.class.php │ │ ├── CheckActionRouteBehavior.class.php │ │ ├── CheckLangBehavior.class.php │ │ ├── ChromeShowPageTraceBehavior.class.php │ │ ├── ContentReplaceBehavior.class.php │ │ ├── CronRunBehavior.class.php │ │ ├── FireShowPageTraceBehavior.class.php │ │ ├── ParseTemplateBehavior.class.php │ │ ├── ReadHtmlCacheBehavior.class.php │ │ ├── RobotCheckBehavior.class.php │ │ ├── ShowPageTraceBehavior.class.php │ │ ├── ShowRuntimeBehavior.class.php │ │ ├── TokenBuildBehavior.class.php │ │ ├── UpgradeNoticeBehavior.class.php │ │ └── WriteHtmlCacheBehavior.class.php │ ├── Org │ │ ├── Net │ │ │ ├── Geetestlib.class.php │ │ │ ├── Http.class.php │ │ │ ├── IpLocation.class.php │ │ │ └── Mail.class.php │ │ └── Util │ │ │ ├── ArrayList.class.php │ │ │ ├── CodeSwitch.class.php │ │ │ ├── Date.class.php │ │ │ ├── Rbac.class.php │ │ │ ├── Stack.class.php │ │ │ └── String.class.php │ ├── Think │ │ ├── App.class.php │ │ ├── Auth.class.php │ │ ├── Behavior.class.php │ │ ├── Build.class.php │ │ ├── Cache.class.php │ │ ├── Cache │ │ │ └── Driver │ │ │ │ ├── Apachenote.class.php │ │ │ │ ├── Apc.class.php │ │ │ │ ├── Db.class.php │ │ │ │ ├── Eaccelerator.class.php │ │ │ │ ├── File.class.php │ │ │ │ ├── Memcache.class.php │ │ │ │ ├── Memcached.class.php │ │ │ │ ├── Memcachesae.class.php │ │ │ │ ├── Redis.class.php │ │ │ │ ├── Shmop.class.php │ │ │ │ ├── Sqlite.class.php │ │ │ │ ├── Wincache.class.php │ │ │ │ └── Xcache.class.php │ │ ├── Controller.class.php │ │ ├── Controller │ │ │ ├── HproseController.class.php │ │ │ ├── JsonRpcController.class.php │ │ │ ├── RestController.class.php │ │ │ ├── RpcController.class.php │ │ │ └── YarController.class.php │ │ ├── Crypt.class.php │ │ ├── Crypt │ │ │ └── Driver │ │ │ │ ├── Base64.class.php │ │ │ │ ├── Crypt.class.php │ │ │ │ ├── Des.class.php │ │ │ │ ├── Think.class.php │ │ │ │ └── Xxtea.class.php │ │ ├── Db.class.php │ │ ├── Db │ │ │ ├── Driver.class.php │ │ │ ├── Driver │ │ │ │ ├── Firebird.class.php │ │ │ │ ├── Mongo.class.php │ │ │ │ ├── Mysql.class.php │ │ │ │ ├── Oracle.class.php │ │ │ │ ├── Pgsql.class.php │ │ │ │ ├── Sqlite.class.php │ │ │ │ └── Sqlsrv.class.php │ │ │ └── Lite.class.php │ │ ├── Dispatcher.class.php │ │ ├── Exception.class.php │ │ ├── Hook.class.php │ │ ├── Image.class.php │ │ ├── Image │ │ │ └── Driver │ │ │ │ ├── GIF.class.php │ │ │ │ ├── Gd.class.php │ │ │ │ └── Imagick.class.php │ │ ├── Log.class.php │ │ ├── Log │ │ │ └── Driver │ │ │ │ ├── File.class.php │ │ │ │ └── Sae.class.php │ │ ├── Model.class.php │ │ ├── Model │ │ │ ├── AdvModel.class.php │ │ │ ├── MergeModel.class.php │ │ │ ├── MongoModel.class.php │ │ │ ├── RelationModel.class.php │ │ │ └── ViewModel.class.php │ │ ├── Page.class.php │ │ ├── Route.class.php │ │ ├── Session │ │ │ └── Driver │ │ │ │ ├── Db.class.php │ │ │ │ └── Memcache.class.php │ │ ├── Storage.class.php │ │ ├── Storage │ │ │ └── Driver │ │ │ │ ├── File.class.php │ │ │ │ └── Sae.class.php │ │ ├── Template.class.php │ │ ├── Template │ │ │ ├── Driver │ │ │ │ ├── Ease.class.php │ │ │ │ ├── Lite.class.php │ │ │ │ ├── Mobile.class.php │ │ │ │ ├── Smart.class.php │ │ │ │ └── Smarty.class.php │ │ │ ├── TagLib.class.php │ │ │ └── TagLib │ │ │ │ ├── Cx.class.php │ │ │ │ └── Html.class.php │ │ ├── Think.class.php │ │ ├── Upload.class.php │ │ ├── Upload │ │ │ └── Driver │ │ │ │ ├── Bcs.class.php │ │ │ │ ├── Bcs │ │ │ │ ├── bcs.class.php │ │ │ │ ├── mimetypes.class.php │ │ │ │ └── requestcore.class.php │ │ │ │ ├── Ftp.class.php │ │ │ │ ├── Local.class.php │ │ │ │ ├── Qiniu.class.php │ │ │ │ ├── Qiniu │ │ │ │ └── QiniuStorage.class.php │ │ │ │ ├── Sae.class.php │ │ │ │ └── Upyun.class.php │ │ ├── Verify.class.php │ │ ├── Verify │ │ │ ├── bgs │ │ │ │ ├── 1.jpg │ │ │ │ ├── 2.jpg │ │ │ │ ├── 3.jpg │ │ │ │ ├── 4.jpg │ │ │ │ ├── 5.jpg │ │ │ │ ├── 6.jpg │ │ │ │ ├── 7.jpg │ │ │ │ └── 8.jpg │ │ │ └── ttfs │ │ │ │ ├── 1.ttf │ │ │ │ ├── 2.ttf │ │ │ │ ├── 3.ttf │ │ │ │ ├── 4.ttf │ │ │ │ ├── 4.ttf.640765 │ │ │ │ ├── 5.ttf │ │ │ │ ├── 5.ttf.640765 │ │ │ │ └── 6.ttf │ │ └── View.class.php │ └── Vendor │ │ ├── Boris │ │ ├── Boris.php │ │ ├── CLIOptionsHandler.php │ │ ├── ColoredInspector.php │ │ ├── Config.php │ │ ├── DumpInspector.php │ │ ├── EvalWorker.php │ │ ├── ExportInspector.php │ │ ├── Inspector.php │ │ ├── ReadlineClient.php │ │ └── ShallowParser.php │ │ ├── EaseTemplate │ │ ├── template.core.php │ │ └── template.ease.php │ │ ├── Hprose │ │ ├── HproseClassManager.php │ │ ├── HproseClient.php │ │ ├── HproseCommon.php │ │ ├── HproseFormatter.php │ │ ├── HproseHttpClient.php │ │ ├── HproseHttpServer.php │ │ ├── HproseIO.php │ │ ├── HproseIOStream.php │ │ ├── HproseReader.php │ │ ├── HproseTags.php │ │ └── HproseWriter.php │ │ ├── README.txt │ │ ├── SmartTemplate │ │ ├── class.smarttemplate.php │ │ ├── class.smarttemplatedebugger.php │ │ └── class.smarttemplateparser.php │ │ ├── Smarty │ │ ├── Smarty.class.php │ │ ├── SmartyBC.class.php │ │ ├── debug.tpl │ │ ├── plugins │ │ │ ├── block.textformat.php │ │ │ ├── function.counter.php │ │ │ ├── function.cycle.php │ │ │ ├── function.fetch.php │ │ │ ├── function.html_checkboxes.php │ │ │ ├── function.html_image.php │ │ │ ├── function.html_options.php │ │ │ ├── function.html_radios.php │ │ │ ├── function.html_select_date.php │ │ │ ├── function.html_select_time.php │ │ │ ├── function.html_table.php │ │ │ ├── function.mailto.php │ │ │ ├── function.math.php │ │ │ ├── modifier.capitalize.php │ │ │ ├── modifier.date_format.php │ │ │ ├── modifier.debug_print_var.php │ │ │ ├── modifier.escape.php │ │ │ ├── modifier.regex_replace.php │ │ │ ├── modifier.replace.php │ │ │ ├── modifier.spacify.php │ │ │ ├── modifier.truncate.php │ │ │ ├── modifiercompiler.cat.php │ │ │ ├── modifiercompiler.count_characters.php │ │ │ ├── modifiercompiler.count_paragraphs.php │ │ │ ├── modifiercompiler.count_sentences.php │ │ │ ├── modifiercompiler.count_words.php │ │ │ ├── modifiercompiler.default.php │ │ │ ├── modifiercompiler.escape.php │ │ │ ├── modifiercompiler.from_charset.php │ │ │ ├── modifiercompiler.indent.php │ │ │ ├── modifiercompiler.lower.php │ │ │ ├── modifiercompiler.noprint.php │ │ │ ├── modifiercompiler.string_format.php │ │ │ ├── modifiercompiler.strip.php │ │ │ ├── modifiercompiler.strip_tags.php │ │ │ ├── modifiercompiler.to_charset.php │ │ │ ├── modifiercompiler.unescape.php │ │ │ ├── modifiercompiler.upper.php │ │ │ ├── modifiercompiler.wordwrap.php │ │ │ ├── outputfilter.trimwhitespace.php │ │ │ ├── shared.escape_special_chars.php │ │ │ ├── shared.literal_compiler_param.php │ │ │ ├── shared.make_timestamp.php │ │ │ ├── shared.mb_str_replace.php │ │ │ ├── shared.mb_unicode.php │ │ │ ├── shared.mb_wordwrap.php │ │ │ └── variablefilter.htmlspecialchars.php │ │ └── sysplugins │ │ │ ├── smarty_cacheresource.php │ │ │ ├── smarty_cacheresource_custom.php │ │ │ ├── smarty_cacheresource_keyvaluestore.php │ │ │ ├── smarty_config_source.php │ │ │ ├── smarty_internal_cacheresource_file.php │ │ │ ├── smarty_internal_compile_append.php │ │ │ ├── smarty_internal_compile_assign.php │ │ │ ├── smarty_internal_compile_block.php │ │ │ ├── smarty_internal_compile_break.php │ │ │ ├── smarty_internal_compile_call.php │ │ │ ├── smarty_internal_compile_capture.php │ │ │ ├── smarty_internal_compile_config_load.php │ │ │ ├── smarty_internal_compile_continue.php │ │ │ ├── smarty_internal_compile_debug.php │ │ │ ├── smarty_internal_compile_eval.php │ │ │ ├── smarty_internal_compile_extends.php │ │ │ ├── smarty_internal_compile_for.php │ │ │ ├── smarty_internal_compile_foreach.php │ │ │ ├── smarty_internal_compile_function.php │ │ │ ├── smarty_internal_compile_if.php │ │ │ ├── smarty_internal_compile_include.php │ │ │ ├── smarty_internal_compile_include_php.php │ │ │ ├── smarty_internal_compile_insert.php │ │ │ ├── smarty_internal_compile_ldelim.php │ │ │ ├── smarty_internal_compile_nocache.php │ │ │ ├── smarty_internal_compile_private_block_plugin.php │ │ │ ├── smarty_internal_compile_private_function_plugin.php │ │ │ ├── smarty_internal_compile_private_modifier.php │ │ │ ├── smarty_internal_compile_private_object_block_function.php │ │ │ ├── smarty_internal_compile_private_object_function.php │ │ │ ├── smarty_internal_compile_private_print_expression.php │ │ │ ├── smarty_internal_compile_private_registered_block.php │ │ │ ├── smarty_internal_compile_private_registered_function.php │ │ │ ├── smarty_internal_compile_private_special_variable.php │ │ │ ├── smarty_internal_compile_rdelim.php │ │ │ ├── smarty_internal_compile_section.php │ │ │ ├── smarty_internal_compile_setfilter.php │ │ │ ├── smarty_internal_compile_while.php │ │ │ ├── smarty_internal_compilebase.php │ │ │ ├── smarty_internal_config.php │ │ │ ├── smarty_internal_config_file_compiler.php │ │ │ ├── smarty_internal_configfilelexer.php │ │ │ ├── smarty_internal_configfileparser.php │ │ │ ├── smarty_internal_data.php │ │ │ ├── smarty_internal_debug.php │ │ │ ├── smarty_internal_filter_handler.php │ │ │ ├── smarty_internal_function_call_handler.php │ │ │ ├── smarty_internal_get_include_path.php │ │ │ ├── smarty_internal_nocache_insert.php │ │ │ ├── smarty_internal_parsetree.php │ │ │ ├── smarty_internal_resource_eval.php │ │ │ ├── smarty_internal_resource_extends.php │ │ │ ├── smarty_internal_resource_file.php │ │ │ ├── smarty_internal_resource_php.php │ │ │ ├── smarty_internal_resource_registered.php │ │ │ ├── smarty_internal_resource_stream.php │ │ │ ├── smarty_internal_resource_string.php │ │ │ ├── smarty_internal_smartytemplatecompiler.php │ │ │ ├── smarty_internal_template.php │ │ │ ├── smarty_internal_templatebase.php │ │ │ ├── smarty_internal_templatecompilerbase.php │ │ │ ├── smarty_internal_templatelexer.php │ │ │ ├── smarty_internal_templateparser.php │ │ │ ├── smarty_internal_utility.php │ │ │ ├── smarty_internal_write_file.php │ │ │ ├── smarty_resource.php │ │ │ ├── smarty_resource_custom.php │ │ │ ├── smarty_resource_recompiled.php │ │ │ ├── smarty_resource_uncompiled.php │ │ │ └── smarty_security.php │ │ ├── TemplateLite │ │ ├── class.compiler.php │ │ ├── class.config.php │ │ ├── class.template.php │ │ └── internal │ │ │ ├── compile.compile_config.php │ │ │ ├── compile.compile_custom_block.php │ │ │ ├── compile.compile_custom_function.php │ │ │ ├── compile.compile_if.php │ │ │ ├── compile.generate_compiler_debug_output.php │ │ │ ├── compile.include.php │ │ │ ├── compile.parse_is_expr.php │ │ │ ├── compile.section_start.php │ │ │ ├── debug.tpl │ │ │ ├── template.build_dir.php │ │ │ ├── template.config_loader.php │ │ │ ├── template.destroy_dir.php │ │ │ ├── template.fetch_compile_include.php │ │ │ └── template.generate_debug_output.php │ │ ├── jsonRPC │ │ ├── jsonRPCClient.php │ │ └── jsonRPCServer.php │ │ ├── phpRPC │ │ ├── bigint.php │ │ ├── compat.php │ │ ├── dhparams.php │ │ ├── dhparams │ │ │ ├── 1024.dhp │ │ │ ├── 128.dhp │ │ │ ├── 1536.dhp │ │ │ ├── 160.dhp │ │ │ ├── 192.dhp │ │ │ ├── 2048.dhp │ │ │ ├── 256.dhp │ │ │ ├── 3072.dhp │ │ │ ├── 4096.dhp │ │ │ ├── 512.dhp │ │ │ ├── 768.dhp │ │ │ └── 96.dhp │ │ ├── pecl │ │ │ └── xxtea │ │ │ │ ├── CREDITS │ │ │ │ ├── INSTALL │ │ │ │ ├── LICENSE │ │ │ │ ├── README │ │ │ │ ├── config.m4 │ │ │ │ ├── config.w32 │ │ │ │ ├── php_xxtea.c │ │ │ │ ├── php_xxtea.dsp │ │ │ │ ├── php_xxtea.h │ │ │ │ ├── php_xxtea.sln │ │ │ │ ├── php_xxtea.vcproj │ │ │ │ ├── test │ │ │ │ └── test.php │ │ │ │ ├── xxtea.c │ │ │ │ └── xxtea.h │ │ ├── phprpc_client.php │ │ ├── phprpc_date.php │ │ ├── phprpc_server.php │ │ └── xxtea.php │ │ └── spyc │ │ ├── COPYING │ │ ├── README.md │ │ ├── Spyc.php │ │ ├── composer.json │ │ ├── examples │ │ ├── yaml-dump.php │ │ └── yaml-load.php │ │ ├── php4 │ │ ├── 5to4.php │ │ ├── spyc.php4 │ │ └── test.php4 │ │ ├── spyc.yaml │ │ └── tests │ │ ├── DumpTest.php │ │ ├── IndentTest.php │ │ ├── ParseTest.php │ │ ├── RoundTripTest.php │ │ ├── comments.yaml │ │ ├── failing1.yaml │ │ ├── indent_1.yaml │ │ └── quotes.yaml ├── Mode │ ├── Api │ │ ├── App.class.php │ │ ├── Controller.class.php │ │ ├── Dispatcher.class.php │ │ └── functions.php │ ├── Sae │ │ └── convention.php │ ├── api.php │ ├── common.php │ └── sae.php ├── ThinkPHP.php ├── Tpl │ ├── dispatch_jump.tpl │ ├── page_trace.tpl │ └── think_exception.tpl └── logo.png ├── admin.php ├── index.php ├── robots.txt └── user.php /.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Options +FollowSymlinks 3 | RewriteEngine On 4 | 5 | RewriteCond %{REQUEST_FILENAME} !-d 6 | RewriteCond %{REQUEST_FILENAME} !-f 7 | RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] 8 | -------------------------------------------------------------------------------- /Application/Admin/Common/function.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monsterzer0/SRCMS/b4d67a9e3a7f5bb14f02fb5e78a31644de482e0b/Application/Admin/Common/function.php -------------------------------------------------------------------------------- /Application/Admin/Common/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Application/Admin/Conf/config.php: -------------------------------------------------------------------------------- 1 | 12:28 2016/1/23 5 | * @copyright 2105-2018 SRCMS 6 | * @homepage http://www.src.pw 7 | * @version 1.5 8 | */ 9 | 10 | return array( 11 | //'配置项'=>'配置值' 12 | //主题静态文件路径 13 | 'TMPL_PARSE_STRING' => array( 14 | '__STATIC__' => __ROOT__.'/Application/'.MODULE_NAME.'/View/' . '/Public/static',), 15 | ); -------------------------------------------------------------------------------- /Application/Admin/Conf/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Application/Admin/Controller/BaseController.class.php: -------------------------------------------------------------------------------- 1 | 10:28 2016/12/03 7 | * @Copyright 2015-2020 SISMO 8 | * @Project homepage https://github.com/CNSISMO 9 | * @Version 1.8 10 | */ 11 | 12 | 13 | class BaseController extends Controller { 14 | public function _initialize(){ 15 | $sid = session('adminId'); 16 | //判断用户是否登陆 17 | if(!isset($sid ) ) { 18 | redirect(U('Login/index')); 19 | } 20 | 21 | } 22 | 23 | } -------------------------------------------------------------------------------- /Application/Admin/Controller/CheckController.class.php: -------------------------------------------------------------------------------- 1 | 10:28 2016/12/03 7 | * @Copyright 2015-2020 SISMO 8 | * @Project homepage https://github.com/CNSISMO 9 | * @Version 1.8 10 | */ 11 | 12 | class CheckController extends Controller 13 | { 14 | /** 15 | * 临时查看漏洞报告 16 | */ 17 | public function view(){ 18 | $id = I('get.session_id',0,'number_int'); //seesion token防注入 19 | $model = M('post')->where('session='.$id)->find(); 20 | $flow = M('wflow')->where('session='.$id)->select(); 21 | $this->assign('wflow',$flow); 22 | $this->assign('model',$model); 23 | $this->display(); 24 | } 25 | /** 26 | * 添加漏洞处理进展 27 | */ 28 | public function add() 29 | { 30 | //默认显示添加表单 31 | if (!IS_POST) { 32 | $this->display(); 33 | } 34 | if (IS_POST) { 35 | $model = D("wflow"); 36 | if (!$model->create()) { 37 | $this->error($model->getError()); 38 | exit(); 39 | } else { 40 | if ($model->add()) { 41 | $this->success("添加成功", U('post/index')); 42 | } else { 43 | $this->error("添加失败", U('post/index')); 44 | } 45 | } 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /Application/Admin/Controller/IndexController.class.php: -------------------------------------------------------------------------------- 1 | 10:28 2016/12/03 7 | * @Copyright 2015-2020 SISMO 8 | * @Project homepage https://github.com/CNSISMO 9 | * @Version 1.8 10 | */ 11 | 12 | class IndexController extends BaseController{ 13 | 14 | public function index(){ 15 | $page = M('page')->count(); 16 | $user = M('member')->count(); 17 | $post = M('post')->count(); 18 | $links = M('links')->count(); 19 | $this->assign('page',$page); 20 | $this->assign('user',$user); 21 | $this->assign('post',$post); 22 | $this->assign('links',$links); 23 | $this->display(); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Application/Admin/Controller/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Application/Admin/Model/BlogModel.class.php: -------------------------------------------------------------------------------- 1 | array('id','session','title','content','user_id','cate_id','time','type','visible'), 7 | 'category'=>array('name'=>'category_name','title'=>'category_title', '_on'=>'post.cate_id=category.id'), 8 | 'member'=>array('username', '_on'=>'post.user_id=member.id'), 9 | ); 10 | } 11 | 12 | ?> -------------------------------------------------------------------------------- /Application/Admin/Model/SettingModel.class.php: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 | 6 | 7 |
8 |
9 | 10 | 11 |
12 |
13 | 14 | 15 |
16 |
17 | 18 |
19 |
20 |
21 | -------------------------------------------------------------------------------- /Application/Admin/View/Hall/update.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 | 6 | 7 |
8 |
9 | 10 | 11 |
12 |
13 | 14 | 15 |
16 |
17 | 18 | 19 |
20 |
21 |
22 | -------------------------------------------------------------------------------- /Application/Admin/View/Links/add.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 | 6 | 7 |
8 |
9 | 10 | 11 |
12 |
13 | 14 | 15 |
16 |
17 | 18 |
19 |
20 |
21 | -------------------------------------------------------------------------------- /Application/Admin/View/Links/update.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 | 6 | 7 |
8 |
9 | 10 | 11 |
12 |
13 | 14 | 15 |
16 |
17 | 18 | 19 |
20 |
21 |
22 | -------------------------------------------------------------------------------- /Application/Admin/View/Manager/add.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 | 6 | 7 |
8 |
9 | 10 | 11 |
12 |
13 | 14 | 15 |
16 |
17 | 18 | 19 |
20 |
21 | 22 |
23 | 24 | 25 |
26 |
27 | 28 | 29 | -------------------------------------------------------------------------------- /Application/Admin/View/Manager/update.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 | -------------------------------------------------------------------------------- /Application/Admin/View/Order/jifen.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 | 6 | 7 |
8 |
9 | 10 | 11 |
12 |
13 | 14 | 15 |
16 |
17 |
18 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/footer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monsterzer0/SRCMS/b4d67a9e3a7f5bb14f02fb5e78a31644de482e0b/Application/Admin/View/Public/static/font-awesome/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monsterzer0/SRCMS/b4d67a9e3a7f5bb14f02fb5e78a31644de482e0b/Application/Admin/View/Public/static/font-awesome/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monsterzer0/SRCMS/b4d67a9e3a7f5bb14f02fb5e78a31644de482e0b/Application/Admin/View/Public/static/font-awesome/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monsterzer0/SRCMS/b4d67a9e3a7f5bb14f02fb5e78a31644de482e0b/Application/Admin/View/Public/static/font-awesome/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monsterzer0/SRCMS/b4d67a9e3a7f5bb14f02fb5e78a31644de482e0b/Application/Admin/View/Public/static/font-awesome/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/less/animated.less: -------------------------------------------------------------------------------- 1 | // Animated Icons 2 | // -------------------------- 3 | 4 | .@{fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .@{fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/less/bordered-pulled.less: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em @fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .pull-right { float: right; } 11 | .pull-left { float: left; } 12 | 13 | .@{fa-css-prefix} { 14 | &.pull-left { margin-right: .3em; } 15 | &.pull-right { margin-left: .3em; } 16 | } 17 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/less/core.less: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/1 FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | transform: translate(0, 0); // ensures no half-pixel rendering in firefox 12 | 13 | } 14 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/less/fixed-width.less: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .@{fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/less/font-awesome.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables.less"; 7 | @import "mixins.less"; 8 | @import "path.less"; 9 | @import "core.less"; 10 | @import "larger.less"; 11 | @import "fixed-width.less"; 12 | @import "list.less"; 13 | @import "bordered-pulled.less"; 14 | @import "animated.less"; 15 | @import "rotated-flipped.less"; 16 | @import "stacked.less"; 17 | @import "icons.less"; 18 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/less/larger.less: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .@{fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .@{fa-css-prefix}-2x { font-size: 2em; } 11 | .@{fa-css-prefix}-3x { font-size: 3em; } 12 | .@{fa-css-prefix}-4x { font-size: 4em; } 13 | .@{fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/less/list.less: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: @fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .@{fa-css-prefix}-li { 11 | position: absolute; 12 | left: -@fa-li-width; 13 | width: @fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.@{fa-css-prefix}-lg { 17 | left: (-@fa-li-width + (4em / 14)); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/less/mixins.less: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------- 3 | 4 | .fa-icon() { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/1 FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | transform: translate(0, 0); // ensures no half-pixel rendering in firefox 12 | 13 | } 14 | 15 | .fa-icon-rotate(@degrees, @rotation) { 16 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation); 17 | -webkit-transform: rotate(@degrees); 18 | -ms-transform: rotate(@degrees); 19 | transform: rotate(@degrees); 20 | } 21 | 22 | .fa-icon-flip(@horiz, @vert, @rotation) { 23 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation, mirror=1); 24 | -webkit-transform: scale(@horiz, @vert); 25 | -ms-transform: scale(@horiz, @vert); 26 | transform: scale(@horiz, @vert); 27 | } 28 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/less/path.less: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}'); 7 | src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'), 8 | url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'), 9 | url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'), 10 | url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'), 11 | url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/less/rotated-flipped.less: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); } 5 | .@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); } 6 | .@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); } 7 | 8 | .@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); } 9 | .@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .@{fa-css-prefix}-rotate-90, 15 | :root .@{fa-css-prefix}-rotate-180, 16 | :root .@{fa-css-prefix}-rotate-270, 17 | :root .@{fa-css-prefix}-flip-horizontal, 18 | :root .@{fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/less/spinning.less: -------------------------------------------------------------------------------- 1 | // Spinning Icons 2 | // -------------------------- 3 | 4 | .@{fa-css-prefix}-spin { 5 | -webkit-animation: spin 2s infinite linear; 6 | -moz-animation: spin 2s infinite linear; 7 | -o-animation: spin 2s infinite linear; 8 | animation: spin 2s infinite linear; 9 | } 10 | 11 | @-moz-keyframes spin { 12 | 0% { -moz-transform: rotate(0deg); } 13 | 100% { -moz-transform: rotate(359deg); } 14 | } 15 | @-webkit-keyframes spin { 16 | 0% { -webkit-transform: rotate(0deg); } 17 | 100% { -webkit-transform: rotate(359deg); } 18 | } 19 | @-o-keyframes spin { 20 | 0% { -o-transform: rotate(0deg); } 21 | 100% { -o-transform: rotate(359deg); } 22 | } 23 | @-ms-keyframes spin { 24 | 0% { -ms-transform: rotate(0deg); } 25 | 100% { -ms-transform: rotate(359deg); } 26 | } 27 | @keyframes spin { 28 | 0% { transform: rotate(0deg); } 29 | 100% { transform: rotate(359deg); } 30 | } 31 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/less/stacked.less: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .@{fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .@{fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .@{fa-css-prefix}-inverse { color: @fa-inverse; } 21 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/scss/_animated.scss: -------------------------------------------------------------------------------- 1 | // Spinning Icons 2 | // -------------------------- 3 | 4 | .#{$fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .#{$fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/scss/_bordered-pulled.scss: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em $fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .pull-right { float: right; } 11 | .pull-left { float: left; } 12 | 13 | .#{$fa-css-prefix} { 14 | &.pull-left { margin-right: .3em; } 15 | &.pull-right { margin-left: .3em; } 16 | } 17 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/scss/_core.scss: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/1 FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | transform: translate(0, 0); // ensures no half-pixel rendering in firefox 12 | 13 | } 14 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/scss/_fixed-width.scss: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .#{$fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/scss/_larger.scss: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .#{$fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .#{$fa-css-prefix}-2x { font-size: 2em; } 11 | .#{$fa-css-prefix}-3x { font-size: 3em; } 12 | .#{$fa-css-prefix}-4x { font-size: 4em; } 13 | .#{$fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/scss/_list.scss: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: $fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .#{$fa-css-prefix}-li { 11 | position: absolute; 12 | left: -$fa-li-width; 13 | width: $fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.#{$fa-css-prefix}-lg { 17 | left: -$fa-li-width + (4em / 14); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/scss/_mixins.scss: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------- 3 | 4 | @mixin fa-icon() { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/1 FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | transform: translate(0, 0); // ensures no half-pixel rendering in firefox 12 | 13 | } 14 | 15 | @mixin fa-icon-rotate($degrees, $rotation) { 16 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}); 17 | -webkit-transform: rotate($degrees); 18 | -ms-transform: rotate($degrees); 19 | transform: rotate($degrees); 20 | } 21 | 22 | @mixin fa-icon-flip($horiz, $vert, $rotation) { 23 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}); 24 | -webkit-transform: scale($horiz, $vert); 25 | -ms-transform: scale($horiz, $vert); 26 | transform: scale($horiz, $vert); 27 | } 28 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/scss/_path.scss: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}'); 7 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'), 8 | url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'), 9 | url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'), 10 | url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'), 11 | url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/scss/_rotated-flipped.scss: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); } 5 | .#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); } 6 | .#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); } 7 | 8 | .#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); } 9 | .#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .#{$fa-css-prefix}-rotate-90, 15 | :root .#{$fa-css-prefix}-rotate-180, 16 | :root .#{$fa-css-prefix}-rotate-270, 17 | :root .#{$fa-css-prefix}-flip-horizontal, 18 | :root .#{$fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/scss/_spinning.scss: -------------------------------------------------------------------------------- 1 | // Spinning Icons 2 | // -------------------------- 3 | 4 | .#{$fa-css-prefix}-spin { 5 | -webkit-animation: spin 2s infinite linear; 6 | -moz-animation: spin 2s infinite linear; 7 | -o-animation: spin 2s infinite linear; 8 | animation: spin 2s infinite linear; 9 | } 10 | 11 | @-moz-keyframes spin { 12 | 0% { -moz-transform: rotate(0deg); } 13 | 100% { -moz-transform: rotate(359deg); } 14 | } 15 | @-webkit-keyframes spin { 16 | 0% { -webkit-transform: rotate(0deg); } 17 | 100% { -webkit-transform: rotate(359deg); } 18 | } 19 | @-o-keyframes spin { 20 | 0% { -o-transform: rotate(0deg); } 21 | 100% { -o-transform: rotate(359deg); } 22 | } 23 | @-ms-keyframes spin { 24 | 0% { -ms-transform: rotate(0deg); } 25 | 100% { -ms-transform: rotate(359deg); } 26 | } 27 | @keyframes spin { 28 | 0% { transform: rotate(0deg); } 29 | 100% { transform: rotate(359deg); } 30 | } 31 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/scss/_stacked.scss: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .#{$fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .#{$fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .#{$fa-css-prefix}-inverse { color: $fa-inverse; } 21 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/font-awesome/scss/font-awesome.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables"; 7 | @import "mixins"; 8 | @import "path"; 9 | @import "core"; 10 | @import "larger"; 11 | @import "fixed-width"; 12 | @import "list"; 13 | @import "bordered-pulled"; 14 | @import "animated"; 15 | @import "rotated-flipped"; 16 | @import "stacked"; 17 | @import "icons"; 18 | -------------------------------------------------------------------------------- /Application/Admin/View/Public/static/js/app.js: -------------------------------------------------------------------------------- 1 | function del(msg) { 2 | // var msg = "您真的确定要删除吗?\n\n删除后将不能恢复!请确认!"; 3 | if (confirm(msg)==true){ 4 | return true; 5 | }else{ 6 | return false; 7 | } 8 | } 9 | 10 | jQuery(document).ready(function () { 11 | //高亮当前选中的导航 12 | var myNav = $(".side-nav a"); 13 | for (var i = 0; i < myNav.length; i++) { 14 | var links = myNav.eq(i).attr("href"); 15 | var myURL = document.URL; 16 | var durl=/http:\/\/([^\/]+)\//i; 17 | domain = myURL.match(durl); 18 | var result = myURL.replace("http://"+domain[1],""); 19 | if (links == result) { 20 | myNav.eq(i).parents(".dropdown").addClass("open"); 21 | } 22 | } 23 | }); 24 | 25 | 26 | -------------------------------------------------------------------------------- /Application/Admin/View/Setting/add.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 | 6 | 7 |
8 |
9 | 10 | 11 |
12 |
13 | 14 | 15 |
16 |
17 | 18 |
19 |
20 |
21 | -------------------------------------------------------------------------------- /Application/Admin/View/Setting/update.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 | 6 | 7 |
8 |
9 | 10 | 11 |
12 |
13 | 14 | 15 |
16 |
17 | 18 | 19 |
20 |
21 |
22 | -------------------------------------------------------------------------------- /Application/Admin/View/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Application/Admin/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Application/Common/Common/function.php: -------------------------------------------------------------------------------- 1 | "; 5 | print_r($data); 6 | echo ""; 7 | } 8 | 9 | /** 10 | * 获取排序后的分类 11 | * @param [type] $data [description] 12 | * @param integer $pid [description] 13 | * @param string $html [description] 14 | * @param integer $level [description] 15 | * @return [type] [description] 16 | */ 17 | function getSortedCategory($data,$pid=0,$html="|---",$level=0) 18 | { 19 | $temp = array(); 20 | foreach ($data as $k => $v) { 21 | if($v['pid'] == $pid){ 22 | 23 | $str = str_repeat($html, $level); 24 | $v['html'] = $str; 25 | $temp[] = $v; 26 | 27 | $temp = array_merge($temp,getSortedCategory($data,$v['id'],'|---',$level+1)); 28 | } 29 | 30 | } 31 | return $temp; 32 | } 33 | 34 | /** 35 | * 根据key,返回当前行的所有数据 36 | * @param string $key 字段key 37 | * @return array 当前行的所有数据 38 | */ 39 | function getSettingValueDataByKey($key) 40 | { 41 | return M('setting')->getByKey($key); 42 | } 43 | 44 | /** 45 | * 根据key返回field字段 46 | * @param string $key [description] 47 | * @param string $field [description] 48 | * @return string [description] 49 | */ 50 | function getSettingValueFieldByKey($key,$field) 51 | { 52 | return M('setting')->getFieldByKey($key,$field); 53 | } -------------------------------------------------------------------------------- /Application/Common/Common/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Application/Common/Conf/config.php: -------------------------------------------------------------------------------- 1 | array('Home','Admin',), 4 | 'LOAD_EXT_CONFIG' => 'db', 5 | /** 6 | URL不区分大小写 7 | **/ 8 | 'URL_CASE_INSENSITIVE' => true, 9 | 'URL_MODEL' =>0, 10 | 'URL_HTML_SUFFIX' =>'html', 11 | 'SHOW_ERROR_MSG' => true, 12 | /** 13 | 邮件服务配置 14 | **/ 15 | 'MAIL_ADDRESS'=>'xxxx@126.com', // 此处填写邮箱地址 16 | 'MAIL_SMTP'=>'smtp.126.com', // 邮箱SMTP服务器(各家邮件服务提供商smtp服务器地址不同) 17 | 'MAIL_LOGINNAME'=>'xxxxx', // 邮箱登录帐号 18 | 'MAIL_PASSWORD'=>'xxxxx', // 邮箱密码(QQ邮箱登录密码不是QQ密码) 19 | 'MAIL_CHARSET'=>'UTF-8', // 邮件字符编码 20 | 'MAIL_AUTH'=>true, // 邮箱认证 21 | // true:发送的邮件正文为HTML格式 false:发送的邮件正文为TXT格式 22 | 'MAIL_HTML'=>true, 23 | /** 24 | 站点全局开启http-only 25 | **/ 26 | 'COOKIE_HTTPONLY' => '' 27 | ); -------------------------------------------------------------------------------- /Application/Common/Conf/db.php: -------------------------------------------------------------------------------- 1 | 'mysql', // 数据库类型 4 | 'DB_HOST' => 'localhost', // 服务器地址 5 | 'DB_NAME' => 'srcms', // 数据库名 6 | 'DB_USER' => 'root', // 用户名 7 | 'DB_PWD' => 'root', // 密码 8 | 'DB_PORT' => '3306', // 端口 9 | //'DB_PREFIX' => 'wx_', // 数据库表前缀 10 | 'DB_FIELDS_CACHE' => true, // 启用字段缓存 11 | 'DB_CHARSET' => 'utf8', // 数据库编码默认采用utf8 12 | ); 13 | 14 | 15 | -------------------------------------------------------------------------------- /Application/Common/Conf/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Application/Common/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Application/Home/Common/function.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monsterzer0/SRCMS/b4d67a9e3a7f5bb14f02fb5e78a31644de482e0b/Application/Home/Common/function.php -------------------------------------------------------------------------------- /Application/Home/Common/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Application/Home/Conf/config.php: -------------------------------------------------------------------------------- 1 | array( 5 | '__STATIC__' => __ROOT__.'/Application/'.MODULE_NAME.'/View/' . '/Public/static' 6 | ), 7 | //CSRF 8 | 'TOKEN_ON' => true, // 是否开启令牌验证 默认关闭 9 | 'TOKEN_NAME' => '__hash__', // 令牌验证的表单隐藏字段名称,默认为__hash__ 10 | 'TOKEN_TYPE' => 'md5', //令牌哈希验证规则 默认为MD5 11 | 'TOKEN_RESET' => true, //令牌验证出错后是否重置令牌 默认为true 12 | //是否开启模板布局 根据个人习惯设置 13 | 'LAYOUT_ON'=>false, 14 | 15 | ); 16 | -------------------------------------------------------------------------------- /Application/Home/Conf/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Application/Home/Controller/BlogController.class.php: -------------------------------------------------------------------------------- 1 | 10:28 2016/12/03 5 | * @Copyright 2015-2020 SISMO 6 | * @Project homepage https://github.com/CNSISMO 7 | * @Version 1.8 8 | */ 9 | 10 | namespace Home\Controller; 11 | 12 | use Think\Controller; 13 | 14 | class BlogController extends Controller{ 15 | 16 | public function index() 17 | { 18 | $model = M('blog'); 19 | $tmodel= M('setting'); 20 | $pages = $model->limit(15)->select(); 21 | $title = $tmodel->where('id=1')->select(); 22 | $this->assign('title', $title); 23 | $this->assign('model', $pages); 24 | $this->display(); 25 | } 26 | 27 | 28 | public function view(){ 29 | $id = I('get.id',0,'number_int'); 30 | $model = M('blog')->where('id='.$id)->find(); 31 | $tmodel= M('setting'); 32 | $title = $tmodel->where('id=1')->select(); 33 | $this->assign('title', $title); 34 | $this->assign('model',$model); 35 | $this->display(); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Application/Home/Controller/GiftController.class.php: -------------------------------------------------------------------------------- 1 | 10:28 2016/12/03 5 | * @Copyright 2015-2020 SISMO 6 | * @Project homepage https://github.com/CNSISMO 7 | * @Version 1.8 8 | */ 9 | 10 | namespace Home\Controller; 11 | 12 | use Think\Controller; 13 | 14 | class GiftController extends Controller{ 15 | 16 | public function index(){ 17 | $gift = M('links')->select(); 18 | $tmodel= M('setting'); 19 | $title = $tmodel->where('id=1')->select(); 20 | $this->assign('title', $title); 21 | $this->assign('gift',$gift); 22 | $this->display(); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Application/Home/Controller/HallController.class.php: -------------------------------------------------------------------------------- 1 | 10:28 2016/12/03 5 | * @Copyright 2015-2020 SISMO 6 | * @Project homepage https://github.com/CNSISMO 7 | * @Version 1.8 8 | */ 9 | 10 | namespace Home\Controller; 11 | 12 | use Think\Controller; 13 | 14 | class HallController extends Controller{ 15 | 16 | public function index() 17 | { 18 | $xuhao = 1; 19 | $model = M('member'); 20 | $tmodel= M('setting'); 21 | $title = $tmodel->where('id=1')->select(); 22 | // fix bug issued by phith0n 13:59 2016/1/25 23 | $user = $model->order('jifen ASC')->where('type=1')->where('jifen>0')->select(); 24 | $this->assign('title', $title); 25 | $this ->assign('xuhao',$xuhao); 26 | $this->assign('user',getSortedCategory($user)); 27 | $this->display(); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Application/Home/Controller/IndexController.class.php: -------------------------------------------------------------------------------- 1 | 10:28 2016/12/03 5 | * @Copyright 2015-2020 SISMO 6 | * @Project homepage https://github.com/CNSISMO 7 | * @Version 1.8 8 | */ 9 | 10 | namespace Home\Controller; 11 | 12 | use Think\Controller; 13 | 14 | class IndexController extends Controller{ 15 | 16 | public function index(){ 17 | $model = M('hall'); 18 | $tmodel= M('setting'); 19 | $title = $tmodel->where('id=1')->select(); 20 | $hall = $model->order('id DESC')->select(); 21 | $this->assign('model', $hall); 22 | $this->assign('title', $title); 23 | $this->display(); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Application/Home/Controller/PageController.class.php: -------------------------------------------------------------------------------- 1 | 10:28 2016/12/03 5 | * @Copyright 2015-2020 SISMO 6 | * @Project homepage https://github.com/CNSISMO 7 | * @Version 1.8 8 | */ 9 | 10 | namespace Home\Controller; 11 | 12 | use Think\Controller; 13 | 14 | class PageController extends Controller{ 15 | 16 | public function index() 17 | { 18 | $model = M('page'); 19 | $tmodel= M('setting'); 20 | $pages = $model->limit(15)->select(); 21 | $title = $tmodel->where('id=1')->select(); 22 | $this->assign('title', $title); 23 | $this->assign('model', $pages); 24 | $this->display(); 25 | } 26 | 27 | 28 | public function view(){ 29 | $id = I('get.id',0,'intval'); //对传入数字参数做整数校验,规避SQLinjection漏洞 30 | $model = M('page')->where('id='.$id)->find(); 31 | $tmodel= M('setting'); 32 | $title = $tmodel->where('id=1')->select(); 33 | $this->assign('title', $title); 34 | $this->assign('model',$model); 35 | $this->display(); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Application/Home/Controller/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Application/Home/Model/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Application/Home/View/Public/common.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Application/Home/View/Public/footer.html: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Application/Home/View/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monsterzer0/SRCMS/b4d67a9e3a7f5bb14f02fb5e78a31644de482e0b/Application/Home/View/index.html -------------------------------------------------------------------------------- /Application/Home/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Application/User/Common/function.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monsterzer0/SRCMS/b4d67a9e3a7f5bb14f02fb5e78a31644de482e0b/Application/User/Common/function.php -------------------------------------------------------------------------------- /Application/User/Common/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Application/User/Conf/config.php: -------------------------------------------------------------------------------- 1 | 10:28 2016/12/03 7 | * @Copyright 2015-2020 SISMO 8 | * @Project homepage https://github.com/CNSISMO 9 | * @Version 1.8 10 | */ 11 | 12 | class BaseController extends Controller { 13 | public function _initialize(){ 14 | $sid = session('userId'); 15 | //判断用户是否登陆 16 | if(!isset($sid ) ) { 17 | redirect(U('Login/index')); 18 | } 19 | 20 | } 21 | 22 | } -------------------------------------------------------------------------------- /Application/User/Controller/IndexController.class.php: -------------------------------------------------------------------------------- 1 | 10:28 2016/12/03 7 | * @Copyright 2015-2020 SISMO 8 | * @Project homepage https://github.com/CNSISMO 9 | * @Version 1.8 10 | */ 11 | 12 | class IndexController extends BaseController { 13 | public function index(){ 14 | $id = session('userId'); 15 | $tmodel= M('setting'); 16 | $gCount = M('links')->count(); 17 | $title = $tmodel->where('id=1')->select(); 18 | $page = M('post')->where('user_id='.$id)->count(); 19 | $user = M('member')->where('id='.$id)->select(); 20 | $this->assign('title', $title); 21 | $this->assign('page',$page); 22 | $this->assign('user',$user); 23 | $this->assign('gift',$gCount); 24 | $this->display(); 25 | } 26 | } -------------------------------------------------------------------------------- /Application/User/Controller/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Application/User/Model/ChangeModel.class.php: -------------------------------------------------------------------------------- 1 | array('id','title','content','user_id','cate_id','time','type'), 7 | 'category'=>array('name'=>'category_name','title'=>'category_title', '_on'=>'post.cate_id=category.id'), 8 | 'member'=>array('username', '_on'=>'post.user_id=member.id'), 9 | ); 10 | } 11 | 12 | ?> -------------------------------------------------------------------------------- /Application/User/Model/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Application/User/View/Change/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 30 | 31 | -------------------------------------------------------------------------------- /Application/User/View/Gift/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /Application/User/View/Gift/order.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |