├── Plugins └── kaivip │ └── settings.html ├── Templates ├── Footer.php ├── assets │ ├── tpl │ │ ├── 说明.txt │ │ ├── system │ │ │ ├── 说明.txt │ │ │ ├── more.html │ │ │ ├── about.html │ │ │ ├── theme.html │ │ │ └── get.html │ │ └── layim │ │ │ └── demo.html │ ├── json │ │ ├── user │ │ │ ├── logout.js │ │ │ ├── reg.js │ │ │ ├── sms.js │ │ │ ├── forget.js │ │ │ ├── resetpass.js │ │ │ ├── session.js │ │ │ └── login.js │ │ ├── 说明.txt │ │ ├── message │ │ │ ├── new.js │ │ │ ├── detail.js │ │ │ ├── direct.js │ │ │ ├── all.js │ │ │ └── notice.js │ │ ├── upload │ │ │ └── demo.js │ │ ├── content │ │ │ ├── tags.js │ │ │ ├── comment.js │ │ │ └── list.js │ │ ├── console │ │ │ ├── prograss.js │ │ │ ├── top-search.js │ │ │ └── top-card.js │ │ ├── mall │ │ │ └── order.js │ │ ├── layer │ │ │ └── photos.js │ │ ├── useradmin │ │ │ ├── role.js │ │ │ └── mangadmin.js │ │ ├── table │ │ │ ├── data.json │ │ │ ├── demo2.js │ │ │ ├── user.js │ │ │ └── demo.js │ │ ├── workorder │ │ │ └── demo.js │ │ ├── forum │ │ │ ├── list.js │ │ │ └── replys.js │ │ └── layim │ │ │ └── getMembers.js │ ├── style │ │ ├── res │ │ │ ├── logo.png │ │ │ ├── bg-none.jpg │ │ │ ├── layui-logo.jpg │ │ │ ├── logo-black.png │ │ │ └── template │ │ │ │ ├── huge.jpg │ │ │ │ ├── character.jpg │ │ │ │ └── portrait.png │ │ ├── treetable.css │ │ └── login.css │ ├── layui │ │ ├── font │ │ │ ├── iconfont.eot │ │ │ ├── iconfont.ttf │ │ │ ├── iconfont.woff │ │ │ └── iconfont.woff2 │ │ ├── images │ │ │ └── face │ │ │ │ ├── 0.gif │ │ │ │ ├── 1.gif │ │ │ │ ├── 10.gif │ │ │ │ ├── 11.gif │ │ │ │ ├── 12.gif │ │ │ │ ├── 13.gif │ │ │ │ ├── 14.gif │ │ │ │ ├── 15.gif │ │ │ │ ├── 16.gif │ │ │ │ ├── 17.gif │ │ │ │ ├── 18.gif │ │ │ │ ├── 19.gif │ │ │ │ ├── 2.gif │ │ │ │ ├── 20.gif │ │ │ │ ├── 21.gif │ │ │ │ ├── 22.gif │ │ │ │ ├── 23.gif │ │ │ │ ├── 24.gif │ │ │ │ ├── 25.gif │ │ │ │ ├── 26.gif │ │ │ │ ├── 27.gif │ │ │ │ ├── 28.gif │ │ │ │ ├── 29.gif │ │ │ │ ├── 3.gif │ │ │ │ ├── 30.gif │ │ │ │ ├── 31.gif │ │ │ │ ├── 32.gif │ │ │ │ ├── 33.gif │ │ │ │ ├── 34.gif │ │ │ │ ├── 35.gif │ │ │ │ ├── 36.gif │ │ │ │ ├── 37.gif │ │ │ │ ├── 38.gif │ │ │ │ ├── 39.gif │ │ │ │ ├── 4.gif │ │ │ │ ├── 40.gif │ │ │ │ ├── 41.gif │ │ │ │ ├── 42.gif │ │ │ │ ├── 43.gif │ │ │ │ ├── 44.gif │ │ │ │ ├── 45.gif │ │ │ │ ├── 46.gif │ │ │ │ ├── 47.gif │ │ │ │ ├── 48.gif │ │ │ │ ├── 49.gif │ │ │ │ ├── 5.gif │ │ │ │ ├── 50.gif │ │ │ │ ├── 51.gif │ │ │ │ ├── 52.gif │ │ │ │ ├── 53.gif │ │ │ │ ├── 54.gif │ │ │ │ ├── 55.gif │ │ │ │ ├── 56.gif │ │ │ │ ├── 57.gif │ │ │ │ ├── 58.gif │ │ │ │ ├── 59.gif │ │ │ │ ├── 6.gif │ │ │ │ ├── 60.gif │ │ │ │ ├── 61.gif │ │ │ │ ├── 62.gif │ │ │ │ ├── 63.gif │ │ │ │ ├── 64.gif │ │ │ │ ├── 65.gif │ │ │ │ ├── 66.gif │ │ │ │ ├── 67.gif │ │ │ │ ├── 68.gif │ │ │ │ ├── 69.gif │ │ │ │ ├── 7.gif │ │ │ │ ├── 70.gif │ │ │ │ ├── 71.gif │ │ │ │ ├── 8.gif │ │ │ │ └── 9.gif │ │ ├── css │ │ │ └── modules │ │ │ │ ├── layim │ │ │ │ ├── skin │ │ │ │ │ ├── 1.jpg │ │ │ │ │ ├── 2.jpg │ │ │ │ │ ├── 3.jpg │ │ │ │ │ ├── 4.jpg │ │ │ │ │ ├── 5.jpg │ │ │ │ │ └── logo.jpg │ │ │ │ ├── voice │ │ │ │ │ └── default.mp3 │ │ │ │ └── html │ │ │ │ │ ├── find.html │ │ │ │ │ ├── getmsg.json │ │ │ │ │ └── chatlog.html │ │ │ │ ├── layer │ │ │ │ └── default │ │ │ │ │ ├── icon.png │ │ │ │ │ ├── icon-ext.png │ │ │ │ │ ├── loading-0.gif │ │ │ │ │ ├── loading-1.gif │ │ │ │ │ └── loading-2.gif │ │ │ │ └── code.css │ │ └── lay │ │ │ └── modules │ │ │ ├── code.js │ │ │ ├── laytpl.js │ │ │ ├── flow.js │ │ │ └── rate.js │ ├── ace │ │ ├── ext-error_marker.js │ │ ├── ext-linking.js │ │ ├── ext-statusbar.js │ │ ├── ext-spellcheck.js │ │ ├── ext-themelist.js │ │ ├── theme-xcode.js │ │ ├── theme-kuroir.js │ │ ├── theme-clouds.js │ │ ├── theme-eclipse.js │ │ ├── theme-github.js │ │ ├── theme-vibrant_ink.js │ │ ├── theme-dawn.js │ │ ├── theme-merbivore.js │ │ ├── theme-idle_fingers.js │ │ ├── theme-kr_theme.js │ │ ├── theme-solarized_dark.js │ │ ├── theme-cobalt.js │ │ ├── theme-solarized_light.js │ │ ├── theme-monokai.js │ │ ├── theme-clouds_midnight.js │ │ ├── theme-merbivore_soft.js │ │ ├── theme-twilight.js │ │ ├── theme-tomorrow.js │ │ ├── theme-textmate.js │ │ ├── ext-whitespace.js │ │ ├── theme-pastel_on_dark.js │ │ ├── theme-chrome.js │ │ ├── theme-mono_industrial.js │ │ ├── theme-crimson_editor.js │ │ ├── theme-tomorrow_night.js │ │ ├── theme-chaos.js │ │ ├── ext-static_highlight.js │ │ ├── theme-sqlserver.js │ │ ├── theme-terminal.js │ │ ├── theme-tomorrow_night_blue.js │ │ ├── theme-katzenmilch.js │ │ ├── theme-dreamweaver.js │ │ └── theme-tomorrow_night_eighties.js │ ├── modules │ │ ├── treetable.css │ │ ├── common.js │ │ ├── user.js │ │ ├── console.js │ │ ├── set.js │ │ ├── workorder.js │ │ ├── message.js │ │ ├── forum.js │ │ └── contlist.js │ ├── lib │ │ ├── index.js │ │ └── extend │ │ │ └── echartsTheme.js │ └── config.js ├── Header.php ├── Baota.php └── PluginMain.php ├── install ├── 20200507185310433.png └── 微信截图_20230503041209.png ├── Config ├── Config.php └── BotConfig.php ├── index.php ├── Controller ├── Index.class.php ├── Status.class.php ├── Baota.class.php ├── Ordder.class.php ├── PluginMain.class.php └── PluginCreate.class.php ├── Model ├── SystemModel.class.php ├── MemcacheModel.class.php ├── OptionModel.class.php ├── Base.class.php └── ErrorModel.class.php ├── System ├── FLBase.class.php ├── Init.php ├── FLModel.class.php ├── FLController.class.php └── FLView.class.php └── README.md /Plugins/kaivip/settings.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Templates/Footer.php: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Templates/assets/tpl/说明.txt: -------------------------------------------------------------------------------- 1 | 2 | 注意: 3 | 该目录存放的是 layuiAdmin 的动态模板碎片 -------------------------------------------------------------------------------- /Templates/assets/tpl/system/说明.txt: -------------------------------------------------------------------------------- 1 | 2 | 注意: 3 | 该目录存放的是 layuiAdmin 的系统模板碎片,很多界面需要依赖到它,切勿随意剔除。 -------------------------------------------------------------------------------- /Templates/assets/json/user/logout.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "退出成功" 4 | ,"data": null 5 | } -------------------------------------------------------------------------------- /Templates/assets/json/说明.txt: -------------------------------------------------------------------------------- 1 | 2 | 注意:这里是模拟的数据。 3 | 实际应用时,请在模板文件(.html)中的 lay-url="" 和其它相关接口的 url 设置成你真实的接口地址 -------------------------------------------------------------------------------- /Templates/assets/json/user/reg.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "注册成功" 4 | ,"data": { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /Templates/assets/json/user/sms.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "注册成功" 4 | ,"data": { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /Templates/assets/json/user/forget.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "注册成功" 4 | ,"data": { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /Templates/assets/json/user/resetpass.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "注册成功" 4 | ,"data": { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /Templates/assets/json/message/new.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "" 4 | ,"data": { 5 | "newmsg": 3 6 | } 7 | } -------------------------------------------------------------------------------- /install/20200507185310433.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/install/20200507185310433.png -------------------------------------------------------------------------------- /install/微信截图_20230503041209.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/install/微信截图_20230503041209.png -------------------------------------------------------------------------------- /Templates/assets/style/res/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/style/res/logo.png -------------------------------------------------------------------------------- /Templates/assets/style/res/bg-none.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/style/res/bg-none.jpg -------------------------------------------------------------------------------- /Templates/assets/layui/font/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/font/iconfont.eot -------------------------------------------------------------------------------- /Templates/assets/layui/font/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/font/iconfont.ttf -------------------------------------------------------------------------------- /Templates/assets/layui/font/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/font/iconfont.woff -------------------------------------------------------------------------------- /Templates/assets/layui/font/iconfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/font/iconfont.woff2 -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/0.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/1.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/10.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/11.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/11.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/12.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/13.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/13.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/14.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/14.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/15.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/16.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/17.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/17.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/18.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/18.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/19.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/19.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/2.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/20.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/20.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/21.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/21.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/22.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/22.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/23.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/23.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/24.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/24.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/25.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/25.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/26.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/26.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/27.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/27.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/28.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/28.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/29.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/29.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/3.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/30.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/30.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/31.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/31.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/32.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/32.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/33.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/33.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/34.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/34.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/35.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/35.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/36.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/36.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/37.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/37.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/38.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/38.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/39.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/39.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/4.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/40.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/40.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/41.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/41.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/42.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/42.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/43.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/43.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/44.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/44.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/45.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/45.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/46.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/46.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/47.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/47.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/48.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/48.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/49.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/49.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/5.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/50.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/50.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/51.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/51.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/52.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/52.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/53.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/53.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/54.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/54.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/55.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/55.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/56.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/56.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/57.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/57.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/58.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/58.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/59.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/59.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/6.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/60.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/60.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/61.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/61.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/62.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/62.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/63.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/63.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/64.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/64.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/65.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/65.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/66.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/66.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/67.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/67.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/68.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/68.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/69.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/69.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/7.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/70.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/70.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/71.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/71.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/8.gif -------------------------------------------------------------------------------- /Templates/assets/layui/images/face/9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/images/face/9.gif -------------------------------------------------------------------------------- /Templates/assets/style/res/layui-logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/style/res/layui-logo.jpg -------------------------------------------------------------------------------- /Templates/assets/style/res/logo-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/style/res/logo-black.png -------------------------------------------------------------------------------- /Templates/assets/style/res/template/huge.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/style/res/template/huge.jpg -------------------------------------------------------------------------------- /Templates/assets/style/res/template/character.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/style/res/template/character.jpg -------------------------------------------------------------------------------- /Templates/assets/style/res/template/portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/style/res/template/portrait.png -------------------------------------------------------------------------------- /Templates/assets/json/user/session.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "" 4 | ,"data": { 5 | "username": "贤心" 6 | ,"sex": "男" 7 | ,"role": 1 8 | } 9 | } -------------------------------------------------------------------------------- /Templates/assets/layui/css/modules/layim/skin/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/css/modules/layim/skin/1.jpg -------------------------------------------------------------------------------- /Templates/assets/layui/css/modules/layim/skin/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/css/modules/layim/skin/2.jpg -------------------------------------------------------------------------------- /Templates/assets/layui/css/modules/layim/skin/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/css/modules/layim/skin/3.jpg -------------------------------------------------------------------------------- /Templates/assets/layui/css/modules/layim/skin/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/css/modules/layim/skin/4.jpg -------------------------------------------------------------------------------- /Templates/assets/layui/css/modules/layim/skin/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/css/modules/layim/skin/5.jpg -------------------------------------------------------------------------------- /Templates/assets/layui/css/modules/layim/skin/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/css/modules/layim/skin/logo.jpg -------------------------------------------------------------------------------- /Templates/assets/layui/css/modules/layer/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/css/modules/layer/default/icon.png -------------------------------------------------------------------------------- /Templates/assets/layui/css/modules/layim/voice/default.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/css/modules/layim/voice/default.mp3 -------------------------------------------------------------------------------- /Templates/assets/json/upload/demo.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0, 3 | "msg": "", 4 | "data": { 5 | "src": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg" 6 | } 7 | } -------------------------------------------------------------------------------- /Templates/assets/layui/css/modules/layer/default/icon-ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/css/modules/layer/default/icon-ext.png -------------------------------------------------------------------------------- /Templates/assets/layui/css/modules/layer/default/loading-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/css/modules/layer/default/loading-0.gif -------------------------------------------------------------------------------- /Templates/assets/layui/css/modules/layer/default/loading-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/css/modules/layer/default/loading-1.gif -------------------------------------------------------------------------------- /Templates/assets/layui/css/modules/layer/default/loading-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liergouzi88/ktelegrampremium/HEAD/Templates/assets/layui/css/modules/layer/default/loading-2.gif -------------------------------------------------------------------------------- /Templates/assets/json/user/login.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "登入成功" 4 | ,"data": { 5 | "access_token": "c262e61cd13ad99fc650e6908c7e5e65b63d2f32185ecfed6b801ee3fbdd5c0a" 6 | } 7 | } -------------------------------------------------------------------------------- /Templates/assets/ace/ext-error_marker.js: -------------------------------------------------------------------------------- 1 | ; 2 | (function() { 3 | window.require(["ace/ext/error_marker"], function() {}); 4 | })(); 5 | -------------------------------------------------------------------------------- /Config/Config.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Templates/assets/modules/treetable.css: -------------------------------------------------------------------------------- 1 | .treeTable-empty { 2 | width: 20px; 3 | display: inline-block; 4 | } 5 | 6 | .treeTable-icon { 7 | cursor: pointer; 8 | } 9 | 10 | .treeTable-icon .layui-icon-triangle-d:before { 11 | content: "\e623"; 12 | } 13 | 14 | .treeTable-icon.open .layui-icon-triangle-d:before { 15 | content: "\e625"; 16 | background-color: transparent; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Templates/assets/style/treetable.css: -------------------------------------------------------------------------------- 1 | .treeTable-empty { 2 | width: 20px; 3 | display: inline-block; 4 | } 5 | 6 | .treeTable-icon { 7 | cursor: pointer; 8 | } 9 | 10 | .treeTable-icon .layui-icon-triangle-d:before { 11 | content: "\e623"; 12 | } 13 | 14 | .treeTable-icon.open .layui-icon-triangle-d:before { 15 | content: "\e625"; 16 | background-color: transparent; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Controller/Index.class.php: -------------------------------------------------------------------------------- 1 | view->render (); 5 | } 6 | function init () { 7 | session_start (); 8 | if ($_SESSION['logined'] != true) { 9 | header ('Location: ' . APP_URL . '/index.php/login'); 10 | exit (); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Controller/Status.class.php: -------------------------------------------------------------------------------- 1 | view->render (); 5 | } 6 | function init () { 7 | session_start (); 8 | if ($_SESSION['logined'] != true) { 9 | header ('Location: ' . APP_URL . '/index.php/login'); 10 | exit (); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Model/SystemModel.class.php: -------------------------------------------------------------------------------- 1 | getvalue ('password'); 8 | } else { 9 | $optionModel->update ('password', md5 (md5 (md5 ($newpassword)))); 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Templates/assets/modules/common.js: -------------------------------------------------------------------------------- 1 | /** layuiAdmin.std-v1.0.0 LPPL License By http://www.layui.com/admin/ */ 2 | ;layui.define(function(e) { 3 | var i = (layui.$, 4 | layui.layer, 5 | layui.laytpl, 6 | layui.setter, 7 | layui.view, 8 | layui.admin); 9 | i.events.logout = function() { 10 | location.href = "http://" + window.location.host + "/index.php/Login/ajaxLogout" 11 | } 12 | , 13 | e("common", {}) 14 | }); 15 | -------------------------------------------------------------------------------- /Controller/Baota.class.php: -------------------------------------------------------------------------------- 1 | view->render (); 5 | } 6 | function init () { 7 | session_start (); 8 | if ($this->action != 'callback' && $_SESSION['logined'] != true) { 9 | header ('Location: ' . APP_URL . '/index.php/login'); 10 | exit (); 11 | } 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /System/FLBase.class.php: -------------------------------------------------------------------------------- 1 | view->render (); 5 | } 6 | function init () { 7 | session_start (); 8 | if ($this->action != 'callback' && $_SESSION['logined'] != true) { 9 | header ('Location: ' . APP_URL . '/index.php/login'); 10 | exit (); 11 | } 12 | } 13 | 14 | function getoddr(){ 15 | 16 | } 17 | } -------------------------------------------------------------------------------- /Templates/assets/json/message/detail.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "" 4 | ,"data": { 5 | "id": 111 6 | ,"title": "你好新朋友,感谢使用 layuiAdmin" 7 | ,"content": "

一直以来,layui 秉承无偿开源的初心,虔诚致力于服务各层次前后端 Web 开发者,在商业横飞的当今时代,这一信念从未动摇。即便身单力薄,仍然重拾决心,埋头造轮,以尽可能地填补产品本身的缺口。在过去的一段的时间,我一直在寻求持久之道,已维持你眼前所见的一切。而 layuiAdmin 是我们尝试解决的手段之一。我相信真正有爱于 layui 生态的你,定然不会错过这一拥抱吧。

子曰:君子不用防,小人防不住。请务必通过官网正规渠道,获得 layuiAdmin

—— 贤心(layui.com

" 8 | ,"time": 1510363800000 9 | } 10 | } -------------------------------------------------------------------------------- /Templates/assets/tpl/system/more.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
5 | 6 | 7 | 获得产品 8 | 9 |
10 |
11 | 12 | 13 | 设置主题 14 | 15 |
16 |
17 | 18 | 19 | 本地便签 20 | 21 |
22 |
23 | -------------------------------------------------------------------------------- /Templates/Header.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <?php echo $pageTitle; ?> - Tbo 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Templates/assets/modules/user.js: -------------------------------------------------------------------------------- 1 | /** layuiAdmin.std-v1.0.0 LPPL License By http://www.layui.com/admin/ */ 2 | ;layui.define("form",function(e){var s=layui.$,t=(layui.layer,layui.laytpl,layui.setter,layui.view,layui.admin),i=layui.form,a=s("body");i.verify({nickname:function(e,s){return new RegExp("^[a-zA-Z0-9_一-龥\\s·]+$").test(e)?/(^\_)|(\__)|(\_+$)/.test(e)?"用户名首尾不能出现下划线'_'":/^\d+\d+\d$/.test(e)?"用户名不能全为数字":void 0:"用户名不能有特殊字符"},pass:[/^[\S]{6,12}$/,"密码必须6到12位,且不能出现空格"]}),t.sendAuthCode({elem:"#LAY-user-getsmscode",elemPhone:"#LAY-user-login-cellphone",elemVercode:"#LAY-user-login-vercode",ajax:{url:layui.setter.base+"json/user/sms.js"}}),a.on("click","#LAY-user-get-vercode",function(){s(this);this.src="https://www.oschina.net/action/user/captcha?t="+(new Date).getTime()}),e("user",{})}); -------------------------------------------------------------------------------- /Templates/assets/json/console/prograss.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "" 4 | ,"count": "100" 5 | ,"data": [{ 6 | "prograss": "开会" 7 | ,"time": "一小时" 8 | ,"complete": "已完成" 9 | ,"LAY_CHECKED": true 10 | },{ 11 | "prograss": "项目开发" 12 | ,"time": "两小时" 13 | ,"complete": "进行中" 14 | ,"LAY_CHECKED": true 15 | },{ 16 | "prograss": "陪吃饭" 17 | ,"time": "一小时" 18 | ,"complete": "未完成" 19 | },{ 20 | "prograss": "修改小bug" 21 | ,"time": "半小时" 22 | ,"complete": "未完成" 23 | },{ 24 | "prograss": "修改大bug" 25 | ,"time": "两小时" 26 | ,"complete": "未完成" 27 | },{ 28 | "prograss": "修改小bug" 29 | ,"time": "半小时" 30 | ,"complete": "未完成" 31 | },{ 32 | "prograss": "修改大bug" 33 | ,"time": "两小时" 34 | ,"complete": "未完成" 35 | }] 36 | } -------------------------------------------------------------------------------- /Templates/assets/ace/ext-linking.js: -------------------------------------------------------------------------------- 1 | define("ace/ext/linking",["require","exports","module","ace/editor","ace/config"],function(e,t,n){function i(e){var t=e.editor,n=e.getAccelKey();if(n){var t=e.editor,r=e.getDocumentPosition(),i=t.session,s=i.getTokenAt(r.row,r.column);t._emit("linkHover",{position:r,token:s})}}function s(e){var t=e.getAccelKey(),n=e.getButton();if(n==0&&t){var r=e.editor,i=e.getDocumentPosition(),s=r.session,o=s.getTokenAt(i.row,i.column);r._emit("linkClick",{position:i,token:o})}}var r=e("ace/editor").Editor;e("../config").defineOptions(r.prototype,"editor",{enableLinking:{set:function(e){e?(this.on("click",s),this.on("mousemove",i)):(this.off("click",s),this.off("mousemove",i))},value:!1}})}); 2 | (function() { 3 | window.require(["ace/ext/linking"], function() {}); 4 | })(); 5 | -------------------------------------------------------------------------------- /Model/MemcacheModel.class.php: -------------------------------------------------------------------------------- 1 | m = new Memcached(); 7 | $this->m->addServer('localhost', 11211); 8 | parent::__construct (); 9 | 10 | } 11 | function set($key, $val, $expired = 0) { 12 | if ($this->m) { 13 | $this->m->set($key, $val, $expired); 14 | } 15 | 16 | return false; 17 | } 18 | function get($key) { 19 | if ($this->m) { 20 | return $this->m->get($key); 21 | } 22 | return false; 23 | } 24 | function del($key) { 25 | if ($this->m) { 26 | $this->m->delete($key); 27 | } 28 | return false; 29 | } 30 | //botid 获取 $token 31 | 32 | 33 | 34 | 35 | 36 | 37 | } ?> -------------------------------------------------------------------------------- /Templates/assets/tpl/system/about.html: -------------------------------------------------------------------------------- 1 | 2 |
版本信息
3 |
4 | 8 |
9 | 获取授权 10 | 下载新版 11 |
12 |
13 | 14 |
关于版权
15 |
16 | 17 |
18 | layuiAdmin 受国家计算机软件著作权保护,未经官网正规渠道授权擅自公开产品源文件、以及直接对产品二次出售的,我们将保留追究法律责任的权利。 19 |
20 |

© 2018 layui.com 版权所有

21 |
-------------------------------------------------------------------------------- /Templates/assets/modules/console.js: -------------------------------------------------------------------------------- 1 | /** layuiAdmin.std-v1.0.0 LPPL License By http://www.layui.com/admin/ */ 2 | ;layui.define(function(e) { 3 | //console.log() 4 | layui.use(["admin", "carousel"], function() { 5 | var e = layui.$ 6 | , t = (layui.admin, 7 | layui.carousel) 8 | , a = layui.element 9 | , i = layui.device(); 10 | e(".layadmin-carousel").each(function() { 11 | var a = e(this); 12 | t.render({ 13 | elem: this, 14 | width: "100%", 15 | arrow: "none", 16 | interval: a.data("interval"), 17 | autoplay: a.data("autoplay") === !0, 18 | trigger: i.ios || i.android ? "click" : "hover", 19 | anim: a.data("anim") 20 | }) 21 | }), 22 | a.render("progress") 23 | }), 24 | 25 | e("console", {}) 26 | }); 27 | -------------------------------------------------------------------------------- /System/Init.php: -------------------------------------------------------------------------------- 1 | run (3); 28 | -------------------------------------------------------------------------------- /Templates/assets/layui/css/modules/layim/html/find.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 发现 9 | 10 | 11 | 14 | 15 | 16 | 17 |
18 |
此为自定义的【查找】页面,因需求不一,所以官方暂不提供该模版结构与样式,实际使用时,可移至该文件到你的项目中,对页面自行把控。 19 |
文件所在目录(相对于layui.js):/css/modules/layim/html/find.html
20 |
21 | 22 | 23 | 24 | 25 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /Templates/assets/json/mall/order.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "" 4 | ,"count": "100" 5 | ,"data": [{ 6 | "invoice": "X123565541" 7 | ,"username": "张小三" 8 | ,"orderDate": "2017-11-10" 9 | ,"amount": 800 10 | ,"status": 1 11 | },{ 12 | "invoice": "X123565542" 13 | ,"username": "李小四" 14 | ,"orderDate": "2017-11-10" 15 | ,"amount": 800 16 | ,"status": 0 17 | },{ 18 | "invoice": "X123565543" 19 | ,"username": "王老五" 20 | ,"orderDate": "2017-11-10" 21 | ,"amount": 800 22 | ,"status": 1 23 | },{ 24 | "invoice": "X123565544" 25 | ,"username": "赵小六" 26 | ,"orderDate": "2017-11-09" 27 | ,"amount": 1600 28 | ,"status": 1 29 | },{ 30 | "invoice": "X123565545" 31 | ,"username": "孙小七" 32 | ,"orderDate": "2017-11-09" 33 | ,"amount": 1600 34 | ,"status": -1 35 | },{ 36 | "invoice": "X123565546" 37 | ,"username": "周小八" 38 | ,"orderDate": "2017-11-08" 39 | ,"amount": 2600 40 | ,"status": 1 41 | }] 42 | } -------------------------------------------------------------------------------- /Templates/assets/json/message/direct.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "" 4 | ,"count": 60 5 | ,"data": [{ 6 | "id": 123 7 | ,"title": "贤心发来了一段私信" 8 | ,"time": 1510363800000 9 | }, { 10 | "id": 111 11 | ,"title": "贤心发来了一段私信" 12 | ,"time": 1510212370000 13 | }, { 14 | "id": 111 15 | ,"title": "贤心发来了一段私信" 16 | ,"time": 1510212370000 17 | }, { 18 | "id": 111 19 | ,"title": "贤心发来了一段私信" 20 | ,"time": 1510212370000 21 | }, { 22 | "id": 111 23 | ,"title": "贤心发来了一段私信" 24 | ,"time": 1510212370000 25 | }, { 26 | "id": 111 27 | ,"title": "贤心发来了一段私信" 28 | ,"time": 1510212370000 29 | }, { 30 | "id": 111 31 | ,"title": "贤心发来了一段私信" 32 | ,"time": 1510212370000 33 | }, { 34 | "id": 111 35 | ,"title": "贤心发来了一段私信" 36 | ,"time": 1510212370000 37 | }, { 38 | "id": 111 39 | ,"title": "贤心发来了一段私信" 40 | ,"time": 1510212370000 41 | }, { 42 | "id": 111 43 | ,"title": "贤心发来了一段私信" 44 | ,"time": 1507447570000 45 | }] 46 | } -------------------------------------------------------------------------------- /Templates/assets/json/message/all.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "" 4 | ,"count": 60 5 | ,"data": [{ 6 | "id": 123 7 | ,"title": "你好新朋友,感谢使用 layuiAdmin" 8 | ,"time": 1510363800000 9 | }, { 10 | "id": 111 11 | ,"title": "贤心发来了一段私信" 12 | ,"time": 1510212370000 13 | }, { 14 | "id": 111 15 | ,"title": "贤心发来了一段私信" 16 | ,"time": 1510212370000 17 | }, { 18 | "id": 111 19 | ,"title": "贤心发来了一段私信" 20 | ,"time": 1510212370000 21 | }, { 22 | "id": 111 23 | ,"title": "贤心发来了一段私信" 24 | ,"time": 1510212370000 25 | }, { 26 | "id": 111 27 | ,"title": "贤心发来了一段私信" 28 | ,"time": 1510212370000 29 | }, { 30 | "id": 111 31 | ,"title": "贤心发来了一段私信" 32 | ,"time": 1510212370000 33 | }, { 34 | "id": 111 35 | ,"title": "贤心发来了一段私信" 36 | ,"time": 1510212370000 37 | }, { 38 | "id": 111 39 | ,"title": "贤心发来了一段私信" 40 | ,"time": 1510212370000 41 | }, { 42 | "id": 111 43 | ,"title": "贤心发来了一段私信" 44 | ,"time": 1507447570000 45 | }] 46 | } -------------------------------------------------------------------------------- /Templates/assets/json/layer/photos.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0, 3 | "msg": "", 4 | "title": "JSON请求的相册", 5 | "id": 8, 6 | "start": 0, 7 | "data": [ 8 | { 9 | "alt": "layer", 10 | "pid": 109, 11 | "src": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4keaw9pj20dw08caa4.jpg", 12 | "thumb": "" 13 | }, 14 | { 15 | "alt": "说好的,一起Fly", 16 | "pid": 110, 17 | "src": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4kebemcj20ga09saa1.jpg", 18 | "thumb": "" 19 | }, 20 | { 21 | "alt": "佟丽娅女神", 22 | "pid": 111, 23 | "src": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg", 24 | "thumb": "" 25 | }, 26 | { 27 | "alt": "凤姐是个好人", 28 | "pid": 112, 29 | "src": "https://wx3.sinaimg.cn/mw690/5db11ff4gy1fmx4kec9vuj20b20dwmyk.jpg", 30 | "thumb": "" 31 | }, 32 | { 33 | "alt": "星空如此深邃", 34 | "pid": 113, 35 | "src": "https://wx3.sinaimg.cn/mw690/5db11ff4gy1fmx4keca8ag208g06iglw.gif", 36 | "thumb": "" 37 | } 38 | ] 39 | } -------------------------------------------------------------------------------- /Controller/PluginMain.class.php: -------------------------------------------------------------------------------- 1 | view->render (); 15 | } 16 | function ajaxSave () { 17 | /** 检查 */ 18 | if (empty ($_POST['pcn'])) { 19 | exit (json_encode (array ('code' => -9999, 'msg' => '参数为空'))); 20 | } 21 | 22 | /** 写入 */ 23 | $file = ($_POST['file'] == 'settings.html') ? $_POST['file'] : $_POST['pcn'] . $_POST['file']; 24 | file_put_contents (APP_PATH . '/Plugins/' . $_POST['pcn'] . '/' . $file, $_POST['code']); 25 | 26 | /** 返回 */ 27 | exit (json_encode (array ('code' => 0))); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Templates/assets/layui/css/modules/code.css: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.4 MIT License By https://www.layui.com */ 2 | html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #e2e2e2;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:32px;line-height:32px;border-bottom:1px solid #e2e2e2}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 5px;border-left:1px solid #e2e2e2;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none} -------------------------------------------------------------------------------- /Templates/assets/ace/ext-statusbar.js: -------------------------------------------------------------------------------- 1 | define("ace/ext/statusbar",["require","exports","module","ace/lib/dom","ace/lib/lang"],function(e,t,n){"use strict";var r=e("ace/lib/dom"),i=e("ace/lib/lang"),s=function(e,t){this.element=r.createElement("div"),this.element.className="ace_status-indicator",this.element.style.cssText="display: inline-block;",t.appendChild(this.element);var n=i.delayedCall(function(){this.updateStatus(e)}.bind(this)).schedule.bind(null,100);e.on("changeStatus",n),e.on("changeSelection",n),e.on("keyboardActivity",n)};(function(){this.updateStatus=function(e){function n(e,n){e&&t.push(e,n||"|")}var t=[];n(e.keyBinding.getStatusText(e)),e.commands.recording&&n("REC");var r=e.selection,i=r.lead;if(!r.isEmpty()){var s=e.getSelectionRange();n("("+(s.end.row-s.start.row)+":"+(s.end.column-s.start.column)+")"," ")}n(i.row+":"+i.column," "),r.rangeCount&&n("["+r.rangeCount+"]"," "),t.pop(),this.element.textContent=t.join("")}}).call(s.prototype),t.StatusBar=s}); 2 | (function() { 3 | window.require(["ace/ext/statusbar"], function() {}); 4 | })(); 5 | -------------------------------------------------------------------------------- /Templates/assets/lib/index.js: -------------------------------------------------------------------------------- 1 | /** layuiAdmin.std-v1.0.0 LPPL License By http://www.layui.com/admin/ */ 2 | ;layui.extend({setter:"config",admin:"lib/admin",view:"lib/view"}).define(["setter","admin"],function(a){var e=layui.setter,i=layui.element,n=layui.admin,t=n.tabsPage,d=layui.view,l=function(a,d){var l,b=r("#LAY_app_tabsheader>li"),y=a.replace(/(^http(s*):)|(\?[\s\S]*$)/g,"");if(b.each(function(e){var i=r(this),n=i.attr("lay-id");n===a&&(l=!0,t.index=e)}),d=d||"新标签页",e.pageTabs)l||(r(s).append(['
','',"
"].join("")),t.index=b.length,i.tabAdd(o,{title:""+d+"",id:a,attr:y}));else{var u=n.tabsBody(n.tabsPage.index).find(".layadmin-iframe");u[0].contentWindow.location.href=a}i.tabChange(o,a),n.tabsBodyChange(t.index,{url:a,text:d})},s="#LAY_app_body",o="layadmin-layout-tabs",r=layui.$;r(window);n.screen()<2&&n.sideFlexible(),layui.config({base:e.base+"modules/"}),layui.each(e.extend,function(a,i){var n={};n[i]="{/}"+e.base+"lib/extend/"+i,layui.extend(n)}),d().autoRender(),layui.use("common"),a("index",{openTabsPage:l})}); -------------------------------------------------------------------------------- /Templates/assets/json/message/notice.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "" 4 | ,"count": 60 5 | ,"data": [{ 6 | "id": 123 7 | ,"title": "你好新朋友,感谢使用 layuiAdmin" 8 | ,"time": 1510363800000 9 | }, { 10 | "id": 111 11 | ,"title": "你好新朋友,感谢使用 layuiAdmin" 12 | ,"time": 1510212370000 13 | }, { 14 | "id": 111 15 | ,"title": "你好新朋友,感谢使用 layuiAdmin" 16 | ,"time": 1510212370000 17 | }, { 18 | "id": 111 19 | ,"title": "你好新朋友,感谢使用 layuiAdmin" 20 | ,"time": 1510212370000 21 | }, { 22 | "id": 111 23 | ,"title": "你好新朋友,感谢使用 layuiAdmin" 24 | ,"time": 1510212370000 25 | }, { 26 | "id": 111 27 | ,"title": "你好新朋友,感谢使用 layuiAdmin" 28 | ,"time": 1510212370000 29 | }, { 30 | "id": 111 31 | ,"title": "你好新朋友,感谢使用 layuiAdmin" 32 | ,"time": 1510212370000 33 | }, { 34 | "id": 111 35 | ,"title": "你好新朋友,感谢使用 layuiAdmin" 36 | ,"time": 1510212370000 37 | }, { 38 | "id": 111 39 | ,"title": "你好新朋友,感谢使用 layuiAdmin" 40 | ,"time": 1510212370000 41 | }, { 42 | "id": 111 43 | ,"title": "你好新朋友,感谢使用 layuiAdmin" 44 | ,"time": 1507447570000 45 | }] 46 | } -------------------------------------------------------------------------------- /Templates/assets/modules/set.js: -------------------------------------------------------------------------------- 1 | /** layuiAdmin.std-v1.0.0 LPPL License By http://www.layui.com/admin/ */ 2 | ;layui.define(["form","upload"],function(t){var i=layui.$,e=layui.layer,a=(layui.laytpl,layui.setter,layui.view,layui.admin),n=layui.form,s=layui.upload;i("body");n.verify({nickname:function(t,i){return new RegExp("^[a-zA-Z0-9_一-龥\\s·]+$").test(t)?/(^\_)|(\__)|(\_+$)/.test(t)?"用户名首尾不能出现下划线'_'":/^\d+\d+\d$/.test(t)?"用户名不能全为数字":void 0:"用户名不能有特殊字符"},pass:[/^[\S]{6,12}$/,"密码必须6到12位,且不能出现空格"],repass:function(t){if(t!==i("#LAY_password").val())return"两次密码输入不一致"}}),n.on("submit(set_website)",function(t){return e.msg(JSON.stringify(t.field)),!1}),n.on("submit(set_system_email)",function(t){return e.msg(JSON.stringify(t.field)),!1}),n.on("submit(setmyinfo)",function(t){return e.msg(JSON.stringify(t.field)),!1});var r=i("#LAY_avatarSrc");s.render({url:"/api/upload/",elem:"#LAY_avatarUpload",done:function(t){0==t.status?r.val(t.url):e.msg(t.msg,{icon:5})}}),a.events.avartatPreview=function(t){var i=r.val();e.photos({photos:{title:"查看头像",data:[{src:i}]},shade:.01,closeBtn:1,anim:5})},n.on("submit(setmypass)",function(t){return e.msg(JSON.stringify(t.field)),!1}),t("set",{})}); -------------------------------------------------------------------------------- /Templates/Baota.php: -------------------------------------------------------------------------------- 1 |

2 | 宝塔下执行计划任务 3 |

4 | 5 | 6 |

7 |

8 | 任务名称:钱包监控 9 |

10 |

11 | 时间:1分钟 12 |

13 |

14 | shell 脚本:

#!/bin/bash
15 | PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
16 | export PATH
17 | step=20
18 | for (( i = 0; i < 60; i=(i+step) )); do
19 | curl -sS --connect-timeout 10 -m 60 'https:///index.php/Api/pay'
20 | echo "----------------------------------------------------------------------------"
21 | endDate=`date +"%Y-%m-%d %H:%M:%S"`
22 | echo "★[$endDate] Successful"
23 | echo "----------------------------------------------------------------------------"
24 | sleep $step
25 | done
26 | exit 0
27 | 
28 |

29 |

30 |
31 |

32 |

33 | 如果不会 设置 可以找 @zf789 协助 34 |

-------------------------------------------------------------------------------- /Templates/assets/layui/lay/modules/code.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.4 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var a=layui.$,l="http://www.layui.com/doc/modules/code.html";e("code",function(e){var t=[];e=e||{},e.elem=a(e.elem||".layui-code"),e.about=!("about"in e)||e.about,e.elem.each(function(){t.push(this)}),layui.each(t.reverse(),function(t,i){var c=a(i),o=c.html();(c.attr("lay-encode")||e.encode)&&(o=o.replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")),c.html('
  1. '+o.replace(/[\r\t\n]+/g,"
  2. ")+"
"),c.find(">.layui-code-h3")[0]||c.prepend('

'+(c.attr("lay-title")||e.title||"code")+(e.about?'layui.code':"")+"

");var d=c.find(">.layui-code-ol");c.addClass("layui-box layui-code-view"),(c.attr("lay-skin")||e.skin)&&c.addClass("layui-code-"+(c.attr("lay-skin")||e.skin)),(d.find("li").length/100|0)>0&&d.css("margin-left",(d.find("li").length/100|0)+"px"),(c.attr("lay-height")||e.height)&&d.css("max-height",c.attr("lay-height")||e.height)})})}).addcss("modules/code.css","skincodecss"); -------------------------------------------------------------------------------- /Templates/assets/json/useradmin/role.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "" 4 | ,"count": "100" 5 | ,"data": [{ 6 | "id": "1" 7 | ,"rolename": "超级管理员" 8 | ,"limits": "管理所有的管理员" 9 | ,"descr": "拥有至高无上的权利" 10 | ,"check": true 11 | },{ 12 | "id": "2" 13 | ,"rolename": "管理员" 14 | ,"limits": "所有列表的管理" 15 | ,"descr": "事情很多,权力很大" 16 | ,"check": true 17 | },{ 18 | "id": "3" 19 | ,"rolename": "文章撰写员" 20 | ,"limits": "负责文章的编写" 21 | ,"descr": "文采第一的人才集合" 22 | ,"check": false 23 | },{ 24 | "id": "4" 25 | ,"rolename": "纠错员" 26 | ,"limits": "负责文章内容的修改" 27 | ,"descr": "暂无" 28 | ,"check": false 29 | },{ 30 | "id": "5" 31 | ,"rolename": "统计人员" 32 | ,"limits": "对数据进行统计" 33 | ,"descr": "暂无" 34 | ,"check": false 35 | },{ 36 | "id": "6" 37 | ,"rolename": "评估员" 38 | ,"limits": "对统计数据进行评估" 39 | ,"descr": "及时捕捉市场发展动态" 40 | ,"check": false 41 | },{ 42 | "id": "7" 43 | ,"rolename": "采购员" 44 | ,"limits": "负责员工的伙食" 45 | ,"descr": "暂无" 46 | ,"check": false 47 | },{ 48 | "id": "8" 49 | ,"rolename": "推销员" 50 | ,"limits": "介绍销售公司产品" 51 | ,"descr": "暂无" 52 | ,"check": false 53 | }] 54 | } -------------------------------------------------------------------------------- /Templates/assets/tpl/layim/demo.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 |
-------------------------------------------------------------------------------- /Templates/assets/json/content/comment.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "" 4 | ,"count": "100" 5 | ,"data": [{ 6 | "id": "001" 7 | ,"reviewers": "赵" 8 | ,"content": "我又爱上编程了" 9 | ,"commtime": 20160312 10 | },{ 11 | "id": "002" 12 | ,"reviewers": "钱" 13 | ,"content": "女生出门要小心" 14 | ,"commtime": 20160821 15 | },{ 16 | "id": "003" 17 | ,"reviewers": "孙" 18 | ,"content": "框架就用layui" 19 | ,"commtime": 20161212 20 | },{ 21 | "id": "004" 22 | ,"reviewers": "李" 23 | ,"content": "心姐么么哒" 24 | ,"commtime": 20170311 25 | },{ 26 | "id": "005" 27 | ,"reviewers": "周" 28 | ,"content": "希望明天是个好天气" 29 | ,"commtime": 20170612 30 | },{ 31 | "id": "006" 32 | ,"reviewers": "吴" 33 | ,"content": "我又爱上编程了" 34 | ,"commtime": 20171112 35 | },{ 36 | "id": "007" 37 | ,"reviewers": "郑" 38 | ,"content": "女生出门要小心" 39 | ,"commtime": 20171230 40 | },{ 41 | "id": "008" 42 | ,"reviewers": "王" 43 | ,"content": "框架就用layui" 44 | ,"commtime": 20180112 45 | },{ 46 | "id": "009" 47 | ,"reviewers": "冯" 48 | ,"content": "心姐么么哒" 49 | ,"commtime": 20180221 50 | },{ 51 | "id": "010" 52 | ,"reviewers": "陈" 53 | ,"content": "希望明天是个好天气" 54 | ,"commtime": 20180312 55 | }] 56 | } -------------------------------------------------------------------------------- /Controller/PluginCreate.class.php: -------------------------------------------------------------------------------- 1 | view->render (); 5 | } 6 | function init () { 7 | session_start (); 8 | if ($_SESSION['logined'] != true) { 9 | header ('Location: ' . APP_URL . '/index.php/login'); 10 | exit (); 11 | } 12 | } 13 | function ajaxCreate () { 14 | /** 检查 */ 15 | if (empty ($_POST['pcn']) || empty ($_POST['code'])) { 16 | exit (json_encode (array ('code' => -9999, 'msg' => '参数为空'))); 17 | } 18 | 19 | if (file_exists(APP_PATH . '/Plugins/' . $_POST['pcn'])) { 20 | exit (json_encode (array ('code' => -9999, 'msg' => '插件PCN已存在'))); 21 | } 22 | 23 | /** 写入 */ 24 | mkdir (APP_PATH . '/Plugins/' . $_POST['pcn']); 25 | file_put_contents (APP_PATH . '/Plugins/' . $_POST['pcn'] . '/' . $_POST['pcn'] . '.class.php', $_POST['code']); 26 | file_put_contents (APP_PATH . '/Plugins/' . $_POST['pcn'] . '/' . 'settings.html', ''); 27 | 28 | /** 返回 */ 29 | exit (json_encode (array ('code' => 0))); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /System/FLModel.class.php: -------------------------------------------------------------------------------- 1 | db = self::getDB (); 22 | } 23 | } 24 | 25 | /** 26 | * 返回数据库实例 27 | * 28 | * @return medoo 29 | */ 30 | private function getDB () { 31 | if (!self::$_instance) { 32 | self::$_instance = new Medoo (array ( 33 | 'database_type' => 'mysql', 34 | 'database_name' => DBNAME, 35 | 'server' => DBHOST, 36 | 'username' => DBUSER, 37 | 'password' => DBPASS, 38 | 'charset' => 'utf8', 39 | 'option' => array ( 40 | PDO::ATTR_PERSISTENT => DBPERSISTENT 41 | ) 42 | )); 43 | } 44 | return self::$_instance; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /Templates/assets/json/table/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0, 3 | "msg": "ok", 4 | "data": [ 5 | { 6 | "id": 1, 7 | "name": "xx", 8 | "sex": "male", 9 | "pid": -1 10 | }, 11 | { 12 | "id": 2, 13 | "name": "xx", 14 | "sex": "male", 15 | "pid": 1 16 | }, 17 | { 18 | "id": 3, 19 | "name": "xx", 20 | "sex": "male", 21 | "pid": 1 22 | }, 23 | { 24 | "id": 4, 25 | "name": "xx", 26 | "sex": "male", 27 | "pid": 1 28 | }, 29 | { 30 | "id": 5, 31 | "name": "xx", 32 | "sex": "male", 33 | "pid": -1 34 | }, 35 | { 36 | "id": 6, 37 | "name": "xx", 38 | "sex": "male", 39 | "pid": 5 40 | }, 41 | { 42 | "id": 7, 43 | "name": "xx", 44 | "sex": "male", 45 | "pid": 5 46 | }, 47 | { 48 | "id": 8, 49 | "name": "xx", 50 | "sex": "male", 51 | "pid": 6 52 | }, 53 | { 54 | "id": 9, 55 | "name": "xx", 56 | "sex": "male", 57 | "pid": 6 58 | }, 59 | { 60 | "id": 10, 61 | "name": "xx", 62 | "sex": "male", 63 | "pid": 9 64 | }, 65 | { 66 | "id": 11, 67 | "name": "xx", 68 | "sex": "male", 69 | "pid": 9 70 | } 71 | ], 72 | "count": 11 73 | } -------------------------------------------------------------------------------- /Model/OptionModel.class.php: -------------------------------------------------------------------------------- 1 | db->insert ('options', [ 6 | 'name' => $name, 7 | 'value' => $value 8 | ]); 9 | } 10 | 11 | function update ($name, $newvalue) 12 | { 13 | $this->db->update ('options', [ 14 | 'value' => $newvalue 15 | ], [ 16 | 'name' => $name 17 | ]); 18 | } 19 | 20 | function iou ($name, $value) 21 | { 22 | if ($this->has ($name)) { 23 | $this->update ($name, $value); 24 | } else { 25 | $this->add ($name, $value); 26 | } 27 | } 28 | 29 | function has ($name) 30 | { 31 | return $this->db->has ('options', [ 32 | 'name' => $name 33 | ]); 34 | } 35 | 36 | function delete ($name) 37 | { 38 | $this->db->delete ('options', [ 39 | 'name' => $name 40 | ]); 41 | } 42 | 43 | function getvalue ($name) 44 | { 45 | return $this->db->get ('options', 'value', [ 46 | 'name' => $name 47 | ]); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Templates/assets/modules/workorder.js: -------------------------------------------------------------------------------- 1 | /** layuiAdmin.std-v1.0.0 LPPL License By http://www.layui.com/admin/ */ 2 | ;layui.define(["table","form","element"],function(e){var t=layui.$,i=layui.table,r=(layui.form,layui.element);i.render({elem:"#LAY-app-system-order",url:layui.setter.base+"json/workorder/demo.js",cols:[[{type:"numbers",fixed:"left"},{field:"orderid",width:100,title:"工单号",sort:!0},{field:"attr",width:100,title:"业务性质"},{field:"title",width:100,title:"工单标题",width:300},{field:"progress",title:"进度",width:200,align:"center",templet:"#progressTpl"},{field:"submit",width:100,title:"提交者"},{field:"accept",width:100,title:"受理人员"},{field:"state",title:"工单状态",templet:"#buttonTpl",minWidth:80,align:"center"},{title:"操作",align:"center",fixed:"right",toolbar:"#table-system-order"}]],page:!0,limit:10,limits:[10,15,20,25,30],text:"对不起,加载出现异常!",done:function(){r.render("progress")}}),i.on("tool(LAY-app-system-order)",function(e){e.data;if("edit"===e.event){t(e.tr);layer.open({type:2,title:"编辑工单",content:"../../../views/app/workorder/listform.html",area:["450px","450px"],btn:["确定","取消"],yes:function(e,t){var r=window["layui-layer-iframe"+e],l="LAY-app-workorder-submit",o=t.find("iframe").contents().find("#"+l);r.layui.form.on("submit("+l+")",function(t){t.field;i.reload("LAY-user-front-submit"),layer.close(e)}),o.trigger("click")},success:function(e,t){}})}}),e("workorder",{})}); -------------------------------------------------------------------------------- /System/FLController.class.php: -------------------------------------------------------------------------------- 1 | controller = $controller; 50 | $this->action = $action; 51 | $this->module = $module; 52 | $this->param = $param; 53 | $this->view = new FLView ($controller, $action, $module, $param); 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /Templates/assets/json/table/demo2.js: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "code": 0 4 | ,"msg": "" 5 | ,"count": 66 6 | ,"data": [{ 7 | "username": "张小三" 8 | ,"amount": 18 9 | ,"province": "浙江" 10 | ,"city": "杭州" 11 | ,"zone": "西湖区" 12 | ,"street": "西溪街道" 13 | ,"address": "西溪花园" 14 | ,"house": "30栋1单元" 15 | }, { 16 | "username": "李小四" 17 | ,"amount": 39 18 | ,"province": "江苏" 19 | ,"city": "苏州" 20 | ,"zone": "姑苏区" 21 | ,"street": "丝绸路" 22 | ,"address": "天墅之城" 23 | ,"house": "9幢2单元" 24 | }, { 25 | "username": "王小五" 26 | ,"amount": 8 27 | ,"province": "江西" 28 | ,"city": "南昌" 29 | ,"zone": "青山湖区" 30 | ,"street": "艾溪湖办事处" 31 | ,"address": "中兴和园" 32 | ,"house": "1幢3单元" 33 | }, { 34 | "username": "赵小六" 35 | ,"amount": 16 36 | ,"province": "福建" 37 | ,"city": "泉州" 38 | ,"zone": "丰泽区" 39 | ,"street": "南洋街道" 40 | ,"address": "南洋村" 41 | ,"house": "6幢1单元" 42 | }, { 43 | "username": "孙小七" 44 | ,"amount": 12 45 | ,"province": "湖北" 46 | ,"city": "武汉" 47 | ,"zone": "武昌区" 48 | ,"street": "武昌大道" 49 | ,"address": "两湖花园" 50 | ,"house": "16幢2单元" 51 | }, { 52 | "username": "周小八" 53 | ,"amount": 11 54 | ,"province": "安徽" 55 | ,"city": "黄山" 56 | ,"zone": "黄山区" 57 | ,"street": "汤口镇" 58 | ,"address": "温泉村" 59 | ,"house": "21号" 60 | }] 61 | } -------------------------------------------------------------------------------- /Templates/assets/ace/ext-spellcheck.js: -------------------------------------------------------------------------------- 1 | define("ace/ext/spellcheck",["require","exports","module","ace/lib/event","ace/editor","ace/config"],function(e,t,n){"use strict";var r=e("../lib/event");t.contextMenuHandler=function(e){var t=e.target,n=t.textInput.getElement();if(!t.selection.isEmpty())return;var i=t.getCursorPosition(),s=t.session.getWordRange(i.row,i.column),o=t.session.getTextRange(s);t.session.tokenRe.lastIndex=0;if(!t.session.tokenRe.test(o))return;var u="",a=o+" "+u;n.value=a,n.setSelectionRange(o.length,o.length+1),n.setSelectionRange(0,0),n.setSelectionRange(0,o.length);var f=!1;r.addListener(n,"keydown",function l(){r.removeListener(n,"keydown",l),f=!0}),t.textInput.setInputHandler(function(e){console.log(e,a,n.selectionStart,n.selectionEnd);if(e==a)return"";if(e.lastIndexOf(a,0)===0)return e.slice(a.length);if(e.substr(n.selectionEnd)==a)return e.slice(0,-a.length);if(e.slice(-2)==u){var r=e.slice(0,-2);if(r.slice(-1)==" ")return f?r.substring(0,n.selectionEnd):(r=r.slice(0,-1),t.session.replace(s,r),"")}return e})};var i=e("../editor").Editor;e("../config").defineOptions(i.prototype,"editor",{spellcheck:{set:function(e){var n=this.textInput.getElement();n.spellcheck=!!e,e?this.on("nativecontextmenu",t.contextMenuHandler):this.removeListener("nativecontextmenu",t.contextMenuHandler)},value:!0}})}); 2 | (function() { 3 | window.require(["ace/ext/spellcheck"], function() {}); 4 | })(); 5 | -------------------------------------------------------------------------------- /Templates/assets/ace/ext-themelist.js: -------------------------------------------------------------------------------- 1 | define("ace/ext/themelist",["require","exports","module","ace/lib/fixoldbrowsers"],function(e,t,n){"use strict";e("ace/lib/fixoldbrowsers");var r=[["Chrome"],["Clouds"],["Crimson Editor"],["Dawn"],["Dreamweaver"],["Eclipse"],["GitHub"],["IPlastic"],["Solarized Light"],["TextMate"],["Tomorrow"],["XCode"],["Kuroir"],["KatzenMilch"],["SQL Server","sqlserver","light"],["Ambiance","ambiance","dark"],["Chaos","chaos","dark"],["Clouds Midnight","clouds_midnight","dark"],["Cobalt","cobalt","dark"],["Gruvbox","gruvbox","dark"],["idle Fingers","idle_fingers","dark"],["krTheme","kr_theme","dark"],["Merbivore","merbivore","dark"],["Merbivore Soft","merbivore_soft","dark"],["Mono Industrial","mono_industrial","dark"],["Monokai","monokai","dark"],["Pastel on dark","pastel_on_dark","dark"],["Solarized Dark","solarized_dark","dark"],["Terminal","terminal","dark"],["Tomorrow Night","tomorrow_night","dark"],["Tomorrow Night Blue","tomorrow_night_blue","dark"],["Tomorrow Night Bright","tomorrow_night_bright","dark"],["Tomorrow Night 80s","tomorrow_night_eighties","dark"],["Twilight","twilight","dark"],["Vibrant Ink","vibrant_ink","dark"]];t.themesByName={},t.themes=r.map(function(e){var n=e[1]||e[0].replace(/ /g,"_").toLowerCase(),r={caption:e[0],theme:"ace/theme/"+n,isDark:e[2]=="dark",name:n};return t.themesByName[n]=r,r})}); 2 | (function() { 3 | window.require(["ace/ext/themelist"], function() {}); 4 | })(); 5 | -------------------------------------------------------------------------------- /Templates/assets/json/table/user.js: -------------------------------------------------------------------------------- 1 | 2 | {"code":0,"msg":"","count":1000,"data":[{"id":10000,"username":"user-0","sex":"女","city":"城市-0","sign":"签名-0","experience":255,"logins":24,"wealth":82830700,"classify":"作家","score":57},{"id":10001,"username":"user-1","sex":"男","city":"城市-1","sign":"签名-1","experience":884,"logins":58,"wealth":64928690,"classify":"词人","score":27},{"id":10002,"username":"user-2","sex":"女","city":"城市-2","sign":"签名-2","experience":650,"logins":77,"wealth":6298078,"classify":"酱油","score":31},{"id":10003,"username":"user-3","sex":"女","city":"城市-3","sign":"签名-3","experience":362,"logins":157,"wealth":37117017,"classify":"诗人","score":68},{"id":10004,"username":"user-4","sex":"男","city":"城市-4","sign":"签名-4","experience":807,"logins":51,"wealth":76263262,"classify":"作家","score":6},{"id":10005,"username":"user-5","sex":"女","city":"城市-5","sign":"签名-5","experience":173,"logins":68,"wealth":60344147,"classify":"作家","score":87},{"id":10006,"username":"user-6","sex":"女","city":"城市-6","sign":"签名-6","experience":982,"logins":37,"wealth":57768166,"classify":"作家","score":34},{"id":10007,"username":"user-7","sex":"男","city":"城市-7","sign":"签名-7","experience":727,"logins":150,"wealth":82030578,"classify":"作家","score":28},{"id":10008,"username":"user-8","sex":"男","city":"城市-8","sign":"签名-8","experience":951,"logins":133,"wealth":16503371,"classify":"词人","score":14},{"id":10009,"username":"user-9","sex":"女","city":"城市-9","sign":"签名-9","experience":484,"logins":25,"wealth":86801934,"classify":"词人","score":75}]} -------------------------------------------------------------------------------- /Templates/assets/json/console/top-search.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "" 4 | ,"count": "10" 5 | ,"data": [{ 6 | "type": "群组消息" 7 | ,"from": "Tbo 粉丝群(真正的粉丝……" 8 | ,"info": "U2FsdGVkX1 -> 人少问题不大,其实已经挺多的了" 9 | ,"time": "2020-09-29 20:17:32" 10 | },{ 11 | "type": "插件消息" 12 | ,"from": "Whoami" 13 | ,"info": "你的 chat_id:xxx\n群的 chat_id:xxx\n这条消息的 id:xxx" 14 | ,"time": "2020-20-20 20:20:20" 15 | },{ 16 | "type": "TboFrame" 17 | ,"from": "TboFrame" 18 | ,"info": "日志目前是摆设呢~" 19 | ,"time": "2020-20-20 20:20:20" 20 | },{ 21 | "type": "TboFrame" 22 | ,"from": "TboFrame" 23 | ,"info": "日志目前是摆设呢~" 24 | ,"time": "2020-20-20 20:20:20" 25 | },{ 26 | "type": "TboFrame" 27 | ,"from": "TboFrame" 28 | ,"info": "日志目前是摆设呢~" 29 | ,"time": "2020-20-20 20:20:20" 30 | },{ 31 | "type": "TboFrame" 32 | ,"from": "TboFrame" 33 | ,"info": "日志目前是摆设呢~" 34 | ,"time": "2020-20-20 20:20:20" 35 | },{ 36 | "type": "TboFrame" 37 | ,"from": "TboFrame" 38 | ,"info": "日志目前是摆设呢~" 39 | ,"time": "2020-20-20 20:20:20" 40 | },{ 41 | "type": "TboFrame" 42 | ,"from": "TboFrame" 43 | ,"info": "日志目前是摆设呢~" 44 | ,"time": "2020-20-20 20:20:20" 45 | },{ 46 | "type": "TboFrame" 47 | ,"from": "TboFrame" 48 | ,"info": "日志目前是摆设呢~" 49 | ,"time": "2020-20-20 20:20:20" 50 | },{ 51 | "type": "TboFrame" 52 | ,"from": "TboFrame" 53 | ,"info": "日志目前是摆设呢~" 54 | ,"time": "2020-20-20 20:20:20" 55 | }] 56 | } -------------------------------------------------------------------------------- /Templates/assets/tpl/system/theme.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 28 | 29 | 44 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## Tbo修改版 2 | 基于[U2FsdGVkX1/Tbo](https://github.com/U2FsdGVkX1/Tbo)修改! 3 | ### 简单安装 php 需要拓展 memcached 缓存 4 | ### 搭建号建立监控即可 usdt 收款 后台可以设置 客服 5 | ### 登录后台设置密钥 设置主人id 有订单 也会通知 主人id 6 | 7 | #如果没有拓展memcached 可能导致无法使用 8 | ###### 根据小飞机的api 要求网站必须ssl 才能webhook 9 | #所以必须配置ssl 10 | #所以必须配置ssl 11 | #所以必须配置ssl 12 | #所以必须配置ssl 13 | #使用非国内服务器 不支持国内服务器 不支持国内服务器 14 | 15 | 16 | 17 | ## Tbo 18 | 19 | 这是一个更友好、更强大、更轻巧、更多 bug 的框架 20 | 21 | PS:[真正的粉丝群](https://telegram.me/TboJiangGroup) 22 | 23 | PSS:[开发文档](https://github.com/U2FsdGVkX1/Tbo/wiki) 24 | 25 | AD:[作者自己的 channel(与 Tbo 无关)](https://t.me/xiaotouadmin) 26 | 27 | --- 28 | 29 | 为了保证 Tbo 正常运行,建议安装到符合以下条件的环境 30 | 31 | 1. 滋辞 [PDO](https://php.net/manual/zh/ref.pdo-mysql.php) 32 | 2. 滋辞 [pathinfo](https://github.com/U2FsdGVkX1/Tbo/wiki/%E5%BC%80%E5%90%AF-pathinfo-%E7%9A%84%E6%BB%8B%E8%BE%9E) 33 | 3. 滋辞 https(强烈建议使用 [Let's Encrypt](https://letsencrypt.org)) 34 | 4. PHP >= 5.4 35 | 5. 确保服务器能够访问到 Telegram(所以就不要使用国内的服务器了) 36 | 6. Config 目录拥有写权限 37 | 38 | [安装过程](https://github.com/U2FsdGVkX1/Tbo/wiki/%E5%AE%89%E8%A3%85%E8%BF%87%E7%A8%8B) 39 | 40 | --- 41 | 42 | Tbo 使用了以下开源项目,感谢它们的贡献: 43 | 44 | [FrameLite](https://github.com/U2FsdGVkX1/FrameLite) 45 | 46 | [Bootstrap](https://github.com/twbs/bootstrap) 47 | 48 | [jQuery](https://github.com/jquery/jquery) 49 | 50 | [js.cookie](https://github.com/js-cookie/js-cookie) 51 | 52 | [Chart.js](https://github.com/chartjs/Chart.js) 53 | 54 | [Ace](https://github.com/ajaxorg/ace) 55 | 56 | [jquery-pjax](https://github.com/defunkt/jquery-pjax) 57 | 58 | --- 59 | -------------------------------------------------------------------------------- /Model/Base.class.php: -------------------------------------------------------------------------------- 1 | telegram = new TelegramModel; 8 | $this->option = new OptionModel; 9 | parent::__construct (); 10 | } 11 | public function fetch ($url, $postdata = null, $cookie = null, $header = array (), $convert = false) { 12 | // 访问 13 | $ch = curl_init (); 14 | curl_setopt ($ch, CURLOPT_URL, $url); 15 | if (!is_null ($postdata)) { 16 | curl_setopt ($ch, CURLOPT_POSTFIELDS, http_build_query ($postdata)); 17 | } 18 | if (!is_null ($cookie)) { 19 | curl_setopt ($ch, CURLOPT_COOKIE, $cookie); 20 | } 21 | if (!empty ($header)) { 22 | curl_setopt ($ch, CURLOPT_HTTPHEADER, $header); 23 | } 24 | curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, false); 25 | curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true); 26 | curl_setopt ($ch, CURLOPT_HEADER, false); 27 | curl_setopt ($ch, CURLOPT_TIMEOUT, 20); 28 | $re = curl_exec ($ch); 29 | curl_close ($ch); 30 | if ($convert == true) { 31 | $re = mb_convert_encoding ($re, 'UTF-8', 'GBK'); 32 | } 33 | 34 | return $re; 35 | } 36 | public function debug ($expression) { 37 | $text = print_r ($expression, true); 38 | $this->telegram->sendMessage (MASTER, $text, NULL, [], ''); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Templates/assets/modules/message.js: -------------------------------------------------------------------------------- 1 | /** layuiAdmin.std-v1.0.0 LPPL License By http://www.layui.com/admin/ */ 2 | ;layui.define(["admin","table","util"],function(e){var t=layui.$,i=(layui.admin,layui.table),l=(layui.element,{all:{text:"全部消息",id:"LAY-app-message-all"},notice:{text:"通知",id:"LAY-app-message-notice"},direct:{text:"私信",id:"LAY-app-message-direct"}}),a=function(e){return''+e.title};i.render({elem:"#LAY-app-message-all",url:layui.setter.base+"json/message/all.js",page:!0,cols:[[{type:"checkbox",fixed:"left"},{field:"title",title:"标题内容",minWidth:300,templet:a},{field:"time",title:"时间",width:170,templet:"
{{ layui.util.timeAgo(d.time) }}
"}]],skin:"line"}),i.render({elem:"#LAY-app-message-notice",url:layui.setter.base+"json/message/notice.js",page:!0,cols:[[{type:"checkbox",fixed:"left"},{field:"title",title:"标题内容",minWidth:300,templet:a},{field:"time",title:"时间",width:170,templet:"
{{ layui.util.timeAgo(d.time) }}
"}]],skin:"line"}),i.render({elem:"#LAY-app-message-direct",url:layui.setter.base+"json/message/direct.js",page:!0,cols:[[{type:"checkbox",fixed:"left"},{field:"title",title:"标题内容",minWidth:300,templet:a},{field:"time",title:"时间",width:170,templet:"
{{ layui.util.timeAgo(d.time) }}
"}]],skin:"line"});var d={del:function(e,t){var a=l[t],d=i.checkStatus(a.id),s=d.data;return 0===s.length?layer.msg("未选中行"):void layer.confirm("确定删除选中的数据吗?",function(){layer.msg("删除成功",{icon:1}),i.reload(a.id)})},ready:function(e,t){var a=l[t],d=i.checkStatus(a.id),s=d.data;return 0===s.length?layer.msg("未选中行"):(layer.msg("标记已读成功",{icon:1}),void i.reload(a.id))},readyAll:function(e,t){var i=l[t];layer.msg(i.text+":全部已读",{icon:1})}};t(".LAY-app-message-btns .layui-btn").on("click",function(){var e=t(this),i=e.data("events"),l=e.data("type");d[i]&&d[i].call(this,e,l)}),e("message",{})}); -------------------------------------------------------------------------------- /Templates/assets/layui/lay/modules/laytpl.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.4 MIT License By https://www.layui.com */ 2 | ;layui.define(function(e){"use strict";var r={open:"{{",close:"}}"},c={exp:function(e){return new RegExp(e,"g")},query:function(e,c,t){var o=["#([\\s\\S])+?","([^{#}])*?"][e||0];return n((c||"")+r.open+o+r.close+(t||""))},escape:function(e){return String(e||"").replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")},error:function(e,r){var c="Laytpl Error:";return"object"==typeof console&&console.error(c+e+"\n"+(r||"")),c+e}},n=c.exp,t=function(e){this.tpl=e};t.pt=t.prototype,window.errors=0,t.pt.parse=function(e,t){var o=this,p=e,a=n("^"+r.open+"#",""),l=n(r.close+"$","");e=e.replace(/\s+|\r|\t|\n/g," ").replace(n(r.open+"#"),r.open+"# ").replace(n(r.close+"}"),"} "+r.close).replace(/\\/g,"\\\\").replace(n(r.open+"!(.+?)!"+r.close),function(e){return e=e.replace(n("^"+r.open+"!"),"").replace(n("!"+r.close),"").replace(n(r.open+"|"+r.close),function(e){return e.replace(/(.)/g,"\\$1")})}).replace(/(?="|')/g,"\\").replace(c.query(),function(e){return e=e.replace(a,"").replace(l,""),'";'+e.replace(/\\/g,"")+';view+="'}).replace(c.query(1),function(e){var c='"+(';return e.replace(/\s/g,"")===r.open+r.close?"":(e=e.replace(n(r.open+"|"+r.close),""),/^=/.test(e)&&(e=e.replace(/^=/,""),c='"+_escape_('),c+e.replace(/\\/g,"")+')+"')}),e='"use strict";var view = "'+e+'";return view;';try{return o.cache=e=new Function("d, _escape_",e),e(t,c.escape)}catch(u){return delete o.cache,c.error(u,p)}},t.pt.render=function(e,r){var n,t=this;return e?(n=t.cache?t.cache(e,c.escape):t.parse(t.tpl,e),r?void r(n):n):c.error("no data")};var o=function(e){return"string"!=typeof e?c.error("Template not found"):new t(e)};o.config=function(e){e=e||{};for(var c in e)r[c]=e[c]},o.v="1.2.0",e("laytpl",o)}); -------------------------------------------------------------------------------- /Templates/assets/json/workorder/demo.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "" 4 | ,"count": "100" 5 | ,"data": [{ 6 | "orderid": 111 7 | ,"title": "移动支付踏入马来西亚,聚合支付紧随其后" 8 | ,"attr": "公告" 9 | ,"progress": "25%" 10 | ,"submit": "贤心" 11 | ,"accept": "员工-1" 12 | ,"state": "处理中" 13 | },{ 14 | "orderid": 222 15 | ,"title": "凡科拖拽式免费建站神器,享双重优惠!" 16 | ,"attr": "讨论" 17 | ,"progress": "100%" 18 | ,"submit": "猫吃" 19 | ,"accept": "员工-1" 20 | ,"state": "已处理" 21 | },{ 22 | "orderid": 333 23 | ,"title": "看着别人的老板给员工送汽车有感" 24 | ,"attr": "分享" 25 | ,"progress": "0%" 26 | ,"submit": "纸飞机" 27 | ,"accept": "" 28 | ,"state": "未分配" 29 | },{ 30 | "orderid": 444 31 | ,"title": "DISCUZ的云平台应该彻底完了" 32 | ,"attr": "提问" 33 | ,"progress": "0%" 34 | ,"submit": "纸飞机" 35 | ,"accept": "" 36 | ,"state": "未分配" 37 | },{ 38 | "orderid": 555 39 | ,"title": "现在个人网站还有必要长期坚持下去吗?" 40 | ,"attr": "提问" 41 | ,"progress": "50%" 42 | ,"submit": "纸飞机" 43 | ,"accept": "员工-2" 44 | ,"state": "处理中" 45 | },{ 46 | "orderid": 666 47 | ,"title": "向北京公安局投诉了京东商城" 48 | ,"attr": "公告" 49 | ,"progress": "25%" 50 | ,"submit": "纸飞机" 51 | ,"accept": "员工-3" 52 | ,"state": "处理中" 53 | },{ 54 | "orderid": 777 55 | ,"title": "游戏 网页美工,一个月多少工资才正常?" 56 | ,"attr": "提问" 57 | ,"progress": "100%" 58 | ,"submit": "纸飞机" 59 | ,"accept": "员工-1" 60 | ,"state": "已处理" 61 | },{ 62 | "orderid": 888 63 | ,"title": "几年没来了,蓝色理想帖子这么少了啊" 64 | ,"attr": "提问" 65 | ,"progress": "0%" 66 | ,"submit": "纸飞机" 67 | ,"accept": "" 68 | ,"state": "未分配" 69 | },{ 70 | "orderid": 999 71 | ,"title": "我的天,求推荐靠谱的学习网站" 72 | ,"attr": "提问" 73 | ,"progress": "50%" 74 | ,"submit": "纸飞机" 75 | ,"accept": "员工-2" 76 | ,"state": "处理中" 77 | }] 78 | } -------------------------------------------------------------------------------- /Templates/assets/ace/theme-xcode.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/xcode",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-xcode",t.cssText=".ace-xcode .ace_gutter {background: #e8e8e8;color: #333}.ace-xcode .ace_print-margin {width: 1px;background: #e8e8e8}.ace-xcode {background-color: #FFFFFF;color: #000000}.ace-xcode .ace_cursor {color: #000000}.ace-xcode .ace_marker-layer .ace_selection {background: #B5D5FF}.ace-xcode.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #FFFFFF;}.ace-xcode .ace_marker-layer .ace_step {background: rgb(198, 219, 174)}.ace-xcode .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #BFBFBF}.ace-xcode .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.071)}.ace-xcode .ace_gutter-active-line {background-color: rgba(0, 0, 0, 0.071)}.ace-xcode .ace_marker-layer .ace_selected-word {border: 1px solid #B5D5FF}.ace-xcode .ace_constant.ace_language,.ace-xcode .ace_keyword,.ace-xcode .ace_meta,.ace-xcode .ace_variable.ace_language {color: #C800A4}.ace-xcode .ace_invisible {color: #BFBFBF}.ace-xcode .ace_constant.ace_character,.ace-xcode .ace_constant.ace_other {color: #275A5E}.ace-xcode .ace_constant.ace_numeric {color: #3A00DC}.ace-xcode .ace_entity.ace_other.ace_attribute-name,.ace-xcode .ace_support.ace_constant,.ace-xcode .ace_support.ace_function {color: #450084}.ace-xcode .ace_fold {background-color: #C800A4;border-color: #000000}.ace-xcode .ace_entity.ace_name.ace_tag,.ace-xcode .ace_support.ace_class,.ace-xcode .ace_support.ace_type {color: #790EAD}.ace-xcode .ace_storage {color: #C900A4}.ace-xcode .ace_string {color: #DF0002}.ace-xcode .ace_comment {color: #008E00}.ace-xcode .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/json/forum/list.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "" 4 | ,"count": "100" 5 | ,"data": [{ 6 | "id": "1001" 7 | ,"poster": "赵" 8 | ,"avatar": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4keaw9pj20dw08caa4.jpg" 9 | ,"content": "为什么花儿这么么红" 10 | ,"posttime": 20160805 11 | ,"top": false 12 | },{ 13 | "id": "1002" 14 | ,"poster": "钱" 15 | ,"avatar": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4keaw9pj20dw08caa4.jpg" 16 | ,"content": "喜欢胡歌,赞赞赞" 17 | ,"posttime": 20161205 18 | ,"top": true 19 | },{ 20 | "id": "1003" 21 | ,"poster": "孙" 22 | ,"avatar": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4keaw9pj20dw08caa4.jpg" 23 | ,"content": "明天就要考试了,好紧张,求保佑" 24 | ,"posttime": 20170405 25 | ,"top": false 26 | },{ 27 | "id": "1004" 28 | ,"poster": "李" 29 | ,"avatar": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4keaw9pj20dw08caa4.jpg" 30 | ,"content": "希望明天是个好天气" 31 | ,"posttime": 20171005 32 | ,"top": false 33 | },{ 34 | "id": "1005" 35 | ,"poster": "周" 36 | ,"avatar": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4keaw9pj20dw08caa4.jpg" 37 | ,"content": "女追男隔层纱,是不是真的" 38 | ,"posttime": 20180205 39 | ,"top": false 40 | },{ 41 | "id": "1006" 42 | ,"poster": "吴" 43 | ,"avatar": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4keaw9pj20dw08caa4.jpg" 44 | ,"content": "竟然有人跳楼,年轻人想不开啊!" 45 | ,"posttime": 20180512 46 | ,"top": false 47 | },{ 48 | "id": "1007" 49 | ,"poster": "郑" 50 | ,"avatar": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4keaw9pj20dw08caa4.jpg" 51 | ,"content": "大家一定不能学那个年轻人,珍爱生命啊" 52 | ,"posttime": 20180512 53 | ,"top": false 54 | },{ 55 | "id": "1008" 56 | ,"poster": "王" 57 | ,"avatar": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4keaw9pj20dw08caa4.jpg" 58 | ,"content": "想知道南昌哪里有好吃的西安肉夹馍" 59 | ,"posttime": 20180514 60 | ,"top": false 61 | }] 62 | } -------------------------------------------------------------------------------- /Templates/assets/layui/lay/modules/flow.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.4 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var l=layui.$,o=function(e){},t='';o.prototype.load=function(e){var o,i,n,r,a=this,c=0;e=e||{};var f=l(e.elem);if(f[0]){var m=l(e.scrollElem||document),u=e.mb||50,s=!("isAuto"in e)||e.isAuto,v=e.end||"没有更多了",y=e.scrollElem&&e.scrollElem!==document,d="加载更多",h=l('
'+d+"
");f.find(".layui-flow-more")[0]||f.append(h);var p=function(e,t){e=l(e),h.before(e),t=0==t||null,t?h.html(v):h.find("a").html(d),i=t,o=null,n&&n()},g=function(){o=!0,h.find("a").html(t),"function"==typeof e.done&&e.done(++c,p)};if(g(),h.find("a").on("click",function(){l(this);i||o||g()}),e.isLazyimg)var n=a.lazyimg({elem:e.elem+" img",scrollElem:e.scrollElem});return s?(m.on("scroll",function(){var e=l(this),t=e.scrollTop();r&&clearTimeout(r),i||(r=setTimeout(function(){var i=y?e.height():l(window).height(),n=y?e.prop("scrollHeight"):document.documentElement.scrollHeight;n-t-i<=u&&(o||g())},100))}),a):a}},o.prototype.lazyimg=function(e){var o,t=this,i=0;e=e||{};var n=l(e.scrollElem||document),r=e.elem||"img",a=e.scrollElem&&e.scrollElem!==document,c=function(e,l){var o=n.scrollTop(),r=o+l,c=a?function(){return e.offset().top-n.offset().top+o}():e.offset().top;if(c>=o&&c<=r&&!e.attr("src")){var m=e.attr("lay-src");layui.img(m,function(){var l=t.lazyimg.elem.eq(i);e.attr("src",m).removeAttr("lay-src"),l[0]&&f(l),i++})}},f=function(e,o){var f=a?(o||n).height():l(window).height(),m=n.scrollTop(),u=m+f;if(t.lazyimg.elem=l(r),e)c(e,f);else for(var s=0;su)break}};if(f(),!o){var m;n.on("scroll",function(){var e=l(this);m&&clearTimeout(m),m=setTimeout(function(){f(null,e)},50)}),o=!0}return f},e("flow",new o)}); -------------------------------------------------------------------------------- /Templates/assets/json/console/top-card.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "" 4 | ,"count": "100" 5 | ,"data": [{ 6 | "id": 111 7 | ,"title": "社区开始接受 “赞助商广告” 投放" 8 | ,"username": "贤心" 9 | ,"channel": "公告" 10 | ,"href": "http://fly.layui.com/jie/15697/" 11 | ,"crt": 61632 12 | },{ 13 | "id": 222 14 | ,"title": "layui 一周年" 15 | ,"username": "猫吃" 16 | ,"channel": "讨论" 17 | ,"href": "http://fly.layui.com/jie/16622/" 18 | ,"crt": 61632 19 | },{ 20 | "id": 333 21 | ,"title": "四个月的前端" 22 | ,"username": "fd" 23 | ,"channel": "分享" 24 | ,"href": "http://fly.layui.com/jie/16651/" 25 | ,"crt": 61632 26 | },{ 27 | "id": 333 28 | ,"title": "如何评价LayUI和他的作者闲心" 29 | ,"username": "纸飞机" 30 | ,"channel": "提问" 31 | ,"href": "http://fly.layui.com/jie/9352/" 32 | ,"crt": 61632 33 | },{ 34 | "id": 333 35 | ,"title": "如何评价LayUI和他的作者闲心" 36 | ,"username": "纸飞机" 37 | ,"channel": "提问" 38 | ,"href": "http://fly.layui.com/jie/9352/" 39 | ,"crt": 61632 40 | },{ 41 | "id": 333 42 | ,"title": "如何评价LayUI和他的作者闲心" 43 | ,"username": "纸飞机" 44 | ,"channel": "提问" 45 | ,"href": "http://fly.layui.com/jie/9352/" 46 | ,"crt": 61632 47 | },{ 48 | "id": 333 49 | ,"title": "如何评价LayUI和他的作者闲心" 50 | ,"username": "纸飞机" 51 | ,"channel": "提问" 52 | ,"href": "http://fly.layui.com/jie/9352/" 53 | ,"crt": 61632 54 | },{ 55 | "id": 333 56 | ,"title": "如何评价LayUI和他的作者闲心" 57 | ,"username": "纸飞机" 58 | ,"channel": "提问" 59 | ,"href": "http://fly.layui.com/jie/9352/" 60 | ,"crt": 61632 61 | },{ 62 | "id": 333 63 | ,"title": "如何评价LayUI和他的作者闲心" 64 | ,"username": "纸飞机" 65 | ,"channel": "提问" 66 | ,"href": "http://fly.layui.com/jie/9352/" 67 | ,"crt": 61632 68 | },{ 69 | "id": 333 70 | ,"title": "如何评价LayUI和他的作者闲心" 71 | ,"username": "纸飞机" 72 | ,"channel": "提问" 73 | ,"href": "http://fly.layui.com/jie/9352/" 74 | ,"crt": 61632 75 | }] 76 | } -------------------------------------------------------------------------------- /Templates/assets/ace/theme-kuroir.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/kuroir",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-kuroir",t.cssText=".ace-kuroir .ace_gutter {background: #e8e8e8;color: #333;}.ace-kuroir .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-kuroir {background-color: #E8E9E8;color: #363636;}.ace-kuroir .ace_cursor {color: #202020;}.ace-kuroir .ace_marker-layer .ace_selection {background: rgba(245, 170, 0, 0.57);}.ace-kuroir.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #E8E9E8;}.ace-kuroir .ace_marker-layer .ace_step {background: rgb(198, 219, 174);}.ace-kuroir .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(0, 0, 0, 0.29);}.ace-kuroir .ace_marker-layer .ace_active-line {background: rgba(203, 220, 47, 0.22);}.ace-kuroir .ace_gutter-active-line {background-color: rgba(203, 220, 47, 0.22);}.ace-kuroir .ace_marker-layer .ace_selected-word {border: 1px solid rgba(245, 170, 0, 0.57);}.ace-kuroir .ace_invisible {color: #BFBFBF}.ace-kuroir .ace_fold {border-color: #363636;}.ace-kuroir .ace_constant{color:#CD6839;}.ace-kuroir .ace_constant.ace_numeric{color:#9A5925;}.ace-kuroir .ace_support{color:#104E8B;}.ace-kuroir .ace_support.ace_function{color:#005273;}.ace-kuroir .ace_support.ace_constant{color:#CF6A4C;}.ace-kuroir .ace_storage{color:#A52A2A;}.ace-kuroir .ace_invalid.ace_illegal{color:#FD1224;background-color:rgba(255, 6, 0, 0.15);}.ace-kuroir .ace_invalid.ace_deprecated{text-decoration:underline;font-style:italic;color:#FD1732;background-color:#E8E9E8;}.ace-kuroir .ace_string{color:#639300;}.ace-kuroir .ace_string.ace_regexp{color:#417E00;background-color:#C9D4BE;}.ace-kuroir .ace_comment{color:rgba(148, 148, 148, 0.91);background-color:rgba(220, 220, 220, 0.56);}.ace-kuroir .ace_variable{color:#009ACD;}.ace-kuroir .ace_meta.ace_tag{color:#005273;}.ace-kuroir .ace_markup.ace_heading{color:#B8012D;background-color:rgba(191, 97, 51, 0.051);}.ace-kuroir .ace_markup.ace_list{color:#8F5B26;}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/json/useradmin/mangadmin.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "" 4 | ,"count": "100" 5 | ,"data": [{ 6 | "id": "1001" 7 | ,"loginname": "admin" 8 | ,"telphone": "11111111111" 9 | ,"email": "111@qq.com" 10 | ,"role": "超级管理员" 11 | ,"jointime": "20150217" 12 | ,"check": true 13 | },{ 14 | "id": "1002" 15 | ,"loginname": "common-1" 16 | ,"telphone": "22222222222" 17 | ,"email": "222@qq.com" 18 | ,"role": "管理员" 19 | ,"jointime": "20160217" 20 | ,"check": false 21 | },{ 22 | "id": "1003" 23 | ,"loginname": "common-2" 24 | ,"telphone": "33333333333" 25 | ,"email": "333@qq.com" 26 | ,"role": "管理员" 27 | ,"jointime": "20161012" 28 | ,"check": false 29 | },{ 30 | "id": "1004" 31 | ,"loginname": "common-3" 32 | ,"telphone": "44444444444" 33 | ,"email": "444@qq.com" 34 | ,"role": "管理员" 35 | ,"jointime": "20170518" 36 | ,"check": true 37 | },{ 38 | "id": "1005" 39 | ,"loginname": "common-4" 40 | ,"telphone": "55555555555" 41 | ,"email": "555@qq.com" 42 | ,"role": "管理员" 43 | ,"jointime": "20180101" 44 | ,"check": false 45 | },{ 46 | "id": "1006" 47 | ,"loginname": "common-5" 48 | ,"telphone": "66666666666" 49 | ,"email": "666@qq.com" 50 | ,"role": "管理员" 51 | ,"jointime": "20160217" 52 | ,"check": false 53 | },{ 54 | "id": "1007" 55 | ,"loginname": "common-6" 56 | ,"telphone": "77777777777" 57 | ,"email": "777@qq.com" 58 | ,"role": "管理员" 59 | ,"jointime": "20161012" 60 | ,"check": false 61 | },{ 62 | "id": "1008" 63 | ,"loginname": "common-7" 64 | ,"telphone": "88888888888" 65 | ,"email": "888@qq.com" 66 | ,"role": "管理员" 67 | ,"jointime": "20170518" 68 | ,"check": true 69 | },{ 70 | "id": "1009" 71 | ,"loginname": "common-8" 72 | ,"telphone": "99999999999" 73 | ,"email": "999@qq.com" 74 | ,"role": "管理员" 75 | ,"jointime": "20180101" 76 | ,"check": false 77 | }] 78 | } 79 | -------------------------------------------------------------------------------- /Templates/assets/ace/theme-clouds.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/clouds",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-clouds",t.cssText='.ace-clouds .ace_gutter {background: #ebebeb;color: #333}.ace-clouds .ace_print-margin {width: 1px;background: #e8e8e8}.ace-clouds {background-color: #FFFFFF;color: #000000}.ace-clouds .ace_cursor {color: #000000}.ace-clouds .ace_marker-layer .ace_selection {background: #BDD5FC}.ace-clouds.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #FFFFFF;}.ace-clouds .ace_marker-layer .ace_step {background: rgb(255, 255, 0)}.ace-clouds .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #BFBFBF}.ace-clouds .ace_marker-layer .ace_active-line {background: #FFFBD1}.ace-clouds .ace_gutter-active-line {background-color : #dcdcdc}.ace-clouds .ace_marker-layer .ace_selected-word {border: 1px solid #BDD5FC}.ace-clouds .ace_invisible {color: #BFBFBF}.ace-clouds .ace_keyword,.ace-clouds .ace_meta,.ace-clouds .ace_support.ace_constant.ace_property-value {color: #AF956F}.ace-clouds .ace_keyword.ace_operator {color: #484848}.ace-clouds .ace_keyword.ace_other.ace_unit {color: #96DC5F}.ace-clouds .ace_constant.ace_language {color: #39946A}.ace-clouds .ace_constant.ace_numeric {color: #46A609}.ace-clouds .ace_constant.ace_character.ace_entity {color: #BF78CC}.ace-clouds .ace_invalid {background-color: #FF002A}.ace-clouds .ace_fold {background-color: #AF956F;border-color: #000000}.ace-clouds .ace_storage,.ace-clouds .ace_support.ace_class,.ace-clouds .ace_support.ace_function,.ace-clouds .ace_support.ace_other,.ace-clouds .ace_support.ace_type {color: #C52727}.ace-clouds .ace_string {color: #5D90CD}.ace-clouds .ace_comment {color: #BCC8BA}.ace-clouds .ace_entity.ace_name.ace_tag,.ace-clouds .ace_entity.ace_other.ace_attribute-name {color: #606060}.ace-clouds .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y}';var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/ace/theme-eclipse.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/eclipse",["require","exports","module","ace/lib/dom"],function(e,t,n){"use strict";t.isDark=!1,t.cssText='.ace-eclipse .ace_gutter {background: #ebebeb;border-right: 1px solid rgb(159, 159, 159);color: rgb(136, 136, 136);}.ace-eclipse .ace_print-margin {width: 1px;background: #ebebeb;}.ace-eclipse {background-color: #FFFFFF;color: black;}.ace-eclipse .ace_fold {background-color: rgb(60, 76, 114);}.ace-eclipse .ace_cursor {color: black;}.ace-eclipse .ace_storage,.ace-eclipse .ace_keyword,.ace-eclipse .ace_variable {color: rgb(127, 0, 85);}.ace-eclipse .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-eclipse .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-eclipse .ace_function {color: rgb(60, 76, 114);}.ace-eclipse .ace_string {color: rgb(42, 0, 255);}.ace-eclipse .ace_comment {color: rgb(113, 150, 130);}.ace-eclipse .ace_comment.ace_doc {color: rgb(63, 95, 191);}.ace-eclipse .ace_comment.ace_doc.ace_tag {color: rgb(127, 159, 191);}.ace-eclipse .ace_constant.ace_numeric {color: darkblue;}.ace-eclipse .ace_tag {color: rgb(25, 118, 116);}.ace-eclipse .ace_type {color: rgb(127, 0, 127);}.ace-eclipse .ace_xml-pe {color: rgb(104, 104, 91);}.ace-eclipse .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-eclipse .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-eclipse .ace_meta.ace_tag {color:rgb(25, 118, 116);}.ace-eclipse .ace_invisible {color: #ddd;}.ace-eclipse .ace_entity.ace_other.ace_attribute-name {color:rgb(127, 0, 127);}.ace-eclipse .ace_marker-layer .ace_step {background: rgb(255, 255, 0);}.ace-eclipse .ace_active-line {background: rgb(232, 242, 254);}.ace-eclipse .ace_gutter-active-line {background-color : #DADADA;}.ace-eclipse .ace_marker-layer .ace_selected-word {border: 1px solid rgb(181, 213, 255);}.ace-eclipse .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',t.cssClass="ace-eclipse";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /System/FLView.class.php: -------------------------------------------------------------------------------- 1 | controller = $controller; 43 | $this->action = $action; 44 | $this->module = $module; 45 | $this->param = $param; 46 | } 47 | 48 | /** 49 | * 渲染视图 50 | * 51 | * @param string $view 渲染的视图名 52 | * @param string $data 传递给视图的数据 53 | * @return void 54 | */ 55 | public function render ($view = NULL, $data = array (), $noModule = false) { 56 | if ($view === NULL) 57 | $view = $this->controller; 58 | foreach ($data as $dataKey => $dataValue) 59 | $$dataKey = $dataValue; 60 | if ($this->module == '' || $noModule == true) 61 | require_once VIEW_PATH . '/' . $view . '.php'; 62 | else 63 | require_once VIEW_PATH . '/' . $this->module . '/' . $view . '.php'; 64 | } 65 | 66 | /** 67 | * 加载资源 68 | * 69 | * @param string $name 文件名 70 | * @return string 资源地址 71 | */ 72 | public function loadSource ($name) { 73 | return VIEW_URL . '/' . $name; 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /Templates/assets/ace/theme-github.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/github",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-github",t.cssText='.ace-github .ace_gutter {background: #e8e8e8;color: #AAA;}.ace-github {background: #fff;color: #000;}.ace-github .ace_keyword {font-weight: bold;}.ace-github .ace_string {color: #D14;}.ace-github .ace_variable.ace_class {color: teal;}.ace-github .ace_constant.ace_numeric {color: #099;}.ace-github .ace_constant.ace_buildin {color: #0086B3;}.ace-github .ace_support.ace_function {color: #0086B3;}.ace-github .ace_comment {color: #998;font-style: italic;}.ace-github .ace_variable.ace_language {color: #0086B3;}.ace-github .ace_paren {font-weight: bold;}.ace-github .ace_boolean {font-weight: bold;}.ace-github .ace_string.ace_regexp {color: #009926;font-weight: normal;}.ace-github .ace_variable.ace_instance {color: teal;}.ace-github .ace_constant.ace_language {font-weight: bold;}.ace-github .ace_cursor {color: black;}.ace-github.ace_focus .ace_marker-layer .ace_active-line {background: rgb(255, 255, 204);}.ace-github .ace_marker-layer .ace_active-line {background: rgb(245, 245, 245);}.ace-github .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-github.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-github.ace_nobold .ace_line > span {font-weight: normal !important;}.ace-github .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-github .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-github .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-github .ace_gutter-active-line {background-color : rgba(0, 0, 0, 0.07);}.ace-github .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-github .ace_invisible {color: #BFBFBF}.ace-github .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-github .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/ace/theme-vibrant_ink.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/vibrant_ink",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-vibrant-ink",t.cssText=".ace-vibrant-ink .ace_gutter {background: #1a1a1a;color: #BEBEBE}.ace-vibrant-ink .ace_print-margin {width: 1px;background: #1a1a1a}.ace-vibrant-ink {background-color: #0F0F0F;color: #FFFFFF}.ace-vibrant-ink .ace_cursor {color: #FFFFFF}.ace-vibrant-ink .ace_marker-layer .ace_selection {background: #6699CC}.ace-vibrant-ink.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #0F0F0F;}.ace-vibrant-ink .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-vibrant-ink .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #404040}.ace-vibrant-ink .ace_marker-layer .ace_active-line {background: #333333}.ace-vibrant-ink .ace_gutter-active-line {background-color: #333333}.ace-vibrant-ink .ace_marker-layer .ace_selected-word {border: 1px solid #6699CC}.ace-vibrant-ink .ace_invisible {color: #404040}.ace-vibrant-ink .ace_keyword,.ace-vibrant-ink .ace_meta {color: #FF6600}.ace-vibrant-ink .ace_constant,.ace-vibrant-ink .ace_constant.ace_character,.ace-vibrant-ink .ace_constant.ace_character.ace_escape,.ace-vibrant-ink .ace_constant.ace_other {color: #339999}.ace-vibrant-ink .ace_constant.ace_numeric {color: #99CC99}.ace-vibrant-ink .ace_invalid,.ace-vibrant-ink .ace_invalid.ace_deprecated {color: #CCFF33;background-color: #000000}.ace-vibrant-ink .ace_fold {background-color: #FFCC00;border-color: #FFFFFF}.ace-vibrant-ink .ace_entity.ace_name.ace_function,.ace-vibrant-ink .ace_support.ace_function,.ace-vibrant-ink .ace_variable {color: #FFCC00}.ace-vibrant-ink .ace_variable.ace_parameter {font-style: italic}.ace-vibrant-ink .ace_string {color: #66FF00}.ace-vibrant-ink .ace_string.ace_regexp {color: #44B4CC}.ace-vibrant-ink .ace_comment {color: #9933CC}.ace-vibrant-ink .ace_entity.ace_other.ace_attribute-name {font-style: italic;color: #99CC99}.ace-vibrant-ink .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYNDTc/oPAALPAZ7hxlbYAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/json/forum/replys.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "" 4 | ,"count": "100" 5 | ,"data": [{ 6 | "id": "001" 7 | ,"replyer": "吴" 8 | ,"cardid": "1002" 9 | ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg" 10 | ,"content": "有眼光,我也喜欢胡歌!" 11 | ,"replytime": 20161205 12 | },{ 13 | "id": "002" 14 | ,"replyer": "郑" 15 | ,"cardid": "1002" 16 | ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg" 17 | ,"content": "同上同上。" 18 | ,"replytime": 20161205 19 | },{ 20 | "id": "003" 21 | ,"replyer": "王" 22 | ,"cardid": "1003" 23 | ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg" 24 | ,"content": "能过一定过,不能过紧张也没用" 25 | ,"replytime": 20170405 26 | },{ 27 | "id": "004" 28 | ,"replyer": "冯" 29 | ,"cardid": "1001" 30 | ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg" 31 | ,"content": "可能因为你流鼻血了。" 32 | ,"replytime": 20170405 33 | },{ 34 | "id": "005" 35 | ,"replyer": "陈" 36 | ,"cardid": "1003" 37 | ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg" 38 | ,"content": "加油加油,看好你" 39 | ,"replytime": 20170405 40 | },{ 41 | "id": "006" 42 | ,"replyer": "褚" 43 | ,"cardid": "1005" 44 | ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg" 45 | ,"content": "纯属放屁" 46 | ,"replytime": 20180207 47 | },{ 48 | "id": "007" 49 | ,"replyer": "卫" 50 | ,"cardid": "1005" 51 | ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg" 52 | ,"content": "可以试试" 53 | ,"replytime": 20180207 54 | },{ 55 | "id": "006" 56 | ,"replyer": "蒋" 57 | ,"cardid": "1006" 58 | ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg" 59 | ,"content": "是啊是啊,太恐怖了。" 60 | ,"replytime": 20180512 61 | },{ 62 | "id": "007" 63 | ,"replyer": "沈" 64 | ,"cardid": "1008" 65 | ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg" 66 | ,"content": "魏家凉皮的凉皮就很不错奥。" 67 | ,"replytime": 20180515 68 | }] 69 | } -------------------------------------------------------------------------------- /Templates/assets/ace/theme-dawn.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/dawn",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-dawn",t.cssText=".ace-dawn .ace_gutter {background: #ebebeb;color: #333}.ace-dawn .ace_print-margin {width: 1px;background: #e8e8e8}.ace-dawn {background-color: #F9F9F9;color: #080808}.ace-dawn .ace_cursor {color: #000000}.ace-dawn .ace_marker-layer .ace_selection {background: rgba(39, 95, 255, 0.30)}.ace-dawn.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #F9F9F9;}.ace-dawn .ace_marker-layer .ace_step {background: rgb(255, 255, 0)}.ace-dawn .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(75, 75, 126, 0.50)}.ace-dawn .ace_marker-layer .ace_active-line {background: rgba(36, 99, 180, 0.12)}.ace-dawn .ace_gutter-active-line {background-color : #dcdcdc}.ace-dawn .ace_marker-layer .ace_selected-word {border: 1px solid rgba(39, 95, 255, 0.30)}.ace-dawn .ace_invisible {color: rgba(75, 75, 126, 0.50)}.ace-dawn .ace_keyword,.ace-dawn .ace_meta {color: #794938}.ace-dawn .ace_constant,.ace-dawn .ace_constant.ace_character,.ace-dawn .ace_constant.ace_character.ace_escape,.ace-dawn .ace_constant.ace_other {color: #811F24}.ace-dawn .ace_invalid.ace_illegal {text-decoration: underline;font-style: italic;color: #F8F8F8;background-color: #B52A1D}.ace-dawn .ace_invalid.ace_deprecated {text-decoration: underline;font-style: italic;color: #B52A1D}.ace-dawn .ace_support {color: #691C97}.ace-dawn .ace_support.ace_constant {color: #B4371F}.ace-dawn .ace_fold {background-color: #794938;border-color: #080808}.ace-dawn .ace_list,.ace-dawn .ace_markup.ace_list,.ace-dawn .ace_support.ace_function {color: #693A17}.ace-dawn .ace_storage {font-style: italic;color: #A71D5D}.ace-dawn .ace_string {color: #0B6125}.ace-dawn .ace_string.ace_regexp {color: #CF5628}.ace-dawn .ace_comment {font-style: italic;color: #5A525F}.ace-dawn .ace_heading,.ace-dawn .ace_markup.ace_heading {color: #19356D}.ace-dawn .ace_variable {color: #234A97}.ace-dawn .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYLh/5+x/AAizA4hxNNsZAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/ace/theme-merbivore.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/merbivore",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-merbivore",t.cssText=".ace-merbivore .ace_gutter {background: #202020;color: #E6E1DC}.ace-merbivore .ace_print-margin {width: 1px;background: #555651}.ace-merbivore {background-color: #161616;color: #E6E1DC}.ace-merbivore .ace_cursor {color: #FFFFFF}.ace-merbivore .ace_marker-layer .ace_selection {background: #454545}.ace-merbivore.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #161616;}.ace-merbivore .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-merbivore .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #404040}.ace-merbivore .ace_marker-layer .ace_active-line {background: #333435}.ace-merbivore .ace_gutter-active-line {background-color: #333435}.ace-merbivore .ace_marker-layer .ace_selected-word {border: 1px solid #454545}.ace-merbivore .ace_invisible {color: #404040}.ace-merbivore .ace_entity.ace_name.ace_tag,.ace-merbivore .ace_keyword,.ace-merbivore .ace_meta,.ace-merbivore .ace_meta.ace_tag,.ace-merbivore .ace_storage,.ace-merbivore .ace_support.ace_function {color: #FC6F09}.ace-merbivore .ace_constant,.ace-merbivore .ace_constant.ace_character,.ace-merbivore .ace_constant.ace_character.ace_escape,.ace-merbivore .ace_constant.ace_other,.ace-merbivore .ace_support.ace_type {color: #1EDAFB}.ace-merbivore .ace_constant.ace_character.ace_escape {color: #519F50}.ace-merbivore .ace_constant.ace_language {color: #FDC251}.ace-merbivore .ace_constant.ace_library,.ace-merbivore .ace_string,.ace-merbivore .ace_support.ace_constant {color: #8DFF0A}.ace-merbivore .ace_constant.ace_numeric {color: #58C554}.ace-merbivore .ace_invalid {color: #FFFFFF;background-color: #990000}.ace-merbivore .ace_fold {background-color: #FC6F09;border-color: #E6E1DC}.ace-merbivore .ace_comment {font-style: italic;color: #AD2EA4}.ace-merbivore .ace_entity.ace_other.ace_attribute-name {color: #FFFF89}.ace-merbivore .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQFxf3ZXB1df0PAAdsAmERTkEHAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/ace/theme-idle_fingers.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/idle_fingers",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-idle-fingers",t.cssText=".ace-idle-fingers .ace_gutter {background: #3b3b3b;color: rgb(153,153,153)}.ace-idle-fingers .ace_print-margin {width: 1px;background: #3b3b3b}.ace-idle-fingers {background-color: #323232;color: #FFFFFF}.ace-idle-fingers .ace_cursor {color: #91FF00}.ace-idle-fingers .ace_marker-layer .ace_selection {background: rgba(90, 100, 126, 0.88)}.ace-idle-fingers.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #323232;}.ace-idle-fingers .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-idle-fingers .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #404040}.ace-idle-fingers .ace_marker-layer .ace_active-line {background: #353637}.ace-idle-fingers .ace_gutter-active-line {background-color: #353637}.ace-idle-fingers .ace_marker-layer .ace_selected-word {border: 1px solid rgba(90, 100, 126, 0.88)}.ace-idle-fingers .ace_invisible {color: #404040}.ace-idle-fingers .ace_keyword,.ace-idle-fingers .ace_meta {color: #CC7833}.ace-idle-fingers .ace_constant,.ace-idle-fingers .ace_constant.ace_character,.ace-idle-fingers .ace_constant.ace_character.ace_escape,.ace-idle-fingers .ace_constant.ace_other,.ace-idle-fingers .ace_support.ace_constant {color: #6C99BB}.ace-idle-fingers .ace_invalid {color: #FFFFFF;background-color: #FF0000}.ace-idle-fingers .ace_fold {background-color: #CC7833;border-color: #FFFFFF}.ace-idle-fingers .ace_support.ace_function {color: #B83426}.ace-idle-fingers .ace_variable.ace_parameter {font-style: italic}.ace-idle-fingers .ace_string {color: #A5C261}.ace-idle-fingers .ace_string.ace_regexp {color: #CCCC33}.ace-idle-fingers .ace_comment {font-style: italic;color: #BC9458}.ace-idle-fingers .ace_meta.ace_tag {color: #FFE5BB}.ace-idle-fingers .ace_entity.ace_name {color: #FFC66D}.ace-idle-fingers .ace_collab.ace_user1 {color: #323232;background-color: #FFF980}.ace-idle-fingers .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMwMjLyZYiPj/8PAAreAwAI1+g0AAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/modules/forum.js: -------------------------------------------------------------------------------- 1 | /** layuiAdmin.std-v1.0.0 LPPL License By http://www.layui.com/admin/ */ 2 | ;layui.define(["table","form"],function(e){var t=layui.$,i=layui.table;layui.form;i.render({elem:"#LAY-app-forum-list",url:layui.setter.base+"json/forum/list.js",cols:[[{type:"checkbox",fixed:"left"},{field:"id",width:100,title:"ID",sort:!0},{field:"poster",title:"发帖人"},{field:"avatar",title:"头像",width:100,templet:"#imgTpl"},{field:"content",title:"发帖内容"},{field:"posttime",title:"发帖时间",sort:!0},{field:"top",title:"置顶",templet:"#buttonTpl",minWidth:80,align:"center"},{title:"操作",width:150,align:"center",fixed:"right",toolbar:"#table-forum-list"}]],page:!0,limit:10,limits:[10,15,20,25,30],text:"对不起,加载出现异常!"}),i.on("tool(LAY-app-forum-list)",function(e){e.data;if("del"===e.event)layer.confirm("确定删除此条帖子?",function(t){e.del(),layer.close(t)});else if("edit"===e.event){t(e.tr);layer.open({type:2,title:"编辑帖子",content:"../../../views/app/forum/listform.html",area:["550px","400px"],btn:["确定","取消"],resize:!1,yes:function(e,t){var l=window["layui-layer-iframe"+e],r="LAY-app-forum-submit",o=t.find("iframe").contents().find("#"+r);l.layui.form.on("submit("+r+")",function(t){t.field;i.reload("LAY-app-forum-list"),layer.close(e)}),o.trigger("click")},success:function(e,t){}})}}),i.render({elem:"#LAY-app-forumreply-list",url:layui.setter.base+"json/forum/replys.js",cols:[[{type:"checkbox",fixed:"left"},{field:"id",width:100,title:"ID",sort:!0},{field:"replyer",title:"回帖人"},{field:"cardid",title:"回帖ID",sort:!0},{field:"avatar",title:"头像",width:100,templet:"#imgTpl"},{field:"content",title:"回帖内容",width:200},{field:"replytime",title:"回帖时间",sort:!0},{title:"操作",width:150,align:"center",fixed:"right",toolbar:"#table-forum-replys"}]],page:!0,limit:10,limits:[10,15,20,25,30],text:"对不起,加载出现异常!"}),i.on("tool(LAY-app-forumreply-list)",function(e){e.data;if("del"===e.event)layer.confirm("确定删除此条评论?",function(t){e.del(),layer.close(t)});else if("edit"===e.event){t(e.tr);layer.open({type:2,title:"编辑评论",content:"../../../views/app/forum/replysform.html",area:["550px","350px"],btn:["确定","取消"],resize:!1,yes:function(t,i){var l=i.find("iframe").contents().find("#layuiadmin-form-replys"),r=l.find('textarea[name="content"]').val();e.update({content:r}),layer.close(t)},success:function(e,t){}})}}),e("forum",{})}); -------------------------------------------------------------------------------- /Templates/assets/ace/theme-kr_theme.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/kr_theme",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-kr-theme",t.cssText=".ace-kr-theme .ace_gutter {background: #1c1917;color: #FCFFE0}.ace-kr-theme .ace_print-margin {width: 1px;background: #1c1917}.ace-kr-theme {background-color: #0B0A09;color: #FCFFE0}.ace-kr-theme .ace_cursor {color: #FF9900}.ace-kr-theme .ace_marker-layer .ace_selection {background: rgba(170, 0, 255, 0.45)}.ace-kr-theme.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #0B0A09;}.ace-kr-theme .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-kr-theme .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(255, 177, 111, 0.32)}.ace-kr-theme .ace_marker-layer .ace_active-line {background: #38403D}.ace-kr-theme .ace_gutter-active-line {background-color : #38403D}.ace-kr-theme .ace_marker-layer .ace_selected-word {border: 1px solid rgba(170, 0, 255, 0.45)}.ace-kr-theme .ace_invisible {color: rgba(255, 177, 111, 0.32)}.ace-kr-theme .ace_keyword,.ace-kr-theme .ace_meta {color: #949C8B}.ace-kr-theme .ace_constant,.ace-kr-theme .ace_constant.ace_character,.ace-kr-theme .ace_constant.ace_character.ace_escape,.ace-kr-theme .ace_constant.ace_other {color: rgba(210, 117, 24, 0.76)}.ace-kr-theme .ace_invalid {color: #F8F8F8;background-color: #A41300}.ace-kr-theme .ace_support {color: #9FC28A}.ace-kr-theme .ace_support.ace_constant {color: #C27E66}.ace-kr-theme .ace_fold {background-color: #949C8B;border-color: #FCFFE0}.ace-kr-theme .ace_support.ace_function {color: #85873A}.ace-kr-theme .ace_storage {color: #FFEE80}.ace-kr-theme .ace_string {color: rgba(164, 161, 181, 0.8)}.ace-kr-theme .ace_string.ace_regexp {color: rgba(125, 255, 192, 0.65)}.ace-kr-theme .ace_comment {font-style: italic;color: #706D5B}.ace-kr-theme .ace_variable {color: #D1A796}.ace-kr-theme .ace_list,.ace-kr-theme .ace_markup.ace_list {background-color: #0F0040}.ace-kr-theme .ace_variable.ace_language {color: #FF80E1}.ace-kr-theme .ace_meta.ace_tag {color: #BABD9C}.ace-kr-theme .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYFBXV/8PAAJoAXX4kT2EAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/style/login.css: -------------------------------------------------------------------------------- 1 | /** layuiAdmin.std-v1.0.0 LPPL License By http://www.layui.com/admin/ */ 2 | #LAY_app,body,html{height:100%}.layui-layout-body{overflow:auto}#LAY-user-login,.layadmin-user-display-show{display:block!important}.layadmin-user-login{position:relative;left:0;top:0;padding:110px 0;min-height:100%;box-sizing:border-box}.layadmin-user-login-main{width:375px;margin:0 auto;box-sizing:border-box}.layadmin-user-login-box{padding:20px}.layadmin-user-login-header{text-align:center}.layadmin-user-login-header h2{margin-bottom:10px;font-weight:300;font-size:30px;color:#000}.layadmin-user-login-header p{font-weight:300;color:#999}.layadmin-user-login-body .layui-form-item{position:relative}.layadmin-user-login-icon{position:absolute;left:1px;top:1px;width:38px;line-height:36px;text-align:center;color:#d2d2d2}.layadmin-user-login-body .layui-form-item .layui-input{padding-left:38px}.layadmin-user-login-codeimg{max-height:38px;width:100%;cursor:pointer;box-sizing:border-box}.layadmin-user-login-other{position:relative;font-size:0;line-height:38px;padding-top:20px}.layadmin-user-login-other>*{display:inline-block;vertical-align:middle;margin-right:10px;font-size:14px}.layadmin-user-login-other .layui-icon{position:relative;top:2px;font-size:26px}.layadmin-user-login-other a:hover{opacity:.8}.layadmin-user-jump-change{float:right}.layadmin-user-login-footer{position:absolute;left:0;bottom:0;width:100%;line-height:30px;padding:20px;text-align:center;box-sizing:border-box;color:rgba(0,0,0,.5)}.layadmin-user-login-footer span{padding:0 5px}.layadmin-user-login-footer a{padding:0 5px;color:rgba(0,0,0,.5)}.layadmin-user-login-footer a:hover{color:rgba(0,0,0,1)}.layadmin-user-login-main[bgimg]{background-color:#fff;box-shadow:0 0 5px rgba(0,0,0,.05)}.ladmin-user-login-theme{position:fixed;bottom:0;left:0;width:100%;text-align:center}.ladmin-user-login-theme ul{display:inline-block;padding:5px;background-color:#fff}.ladmin-user-login-theme ul li{display:inline-block;vertical-align:top;width:64px;height:43px;cursor:pointer;transition:all .3s;-webkit-transition:all .3s;background-color:#f2f2f2}.ladmin-user-login-theme ul li:hover{opacity:.9}@media screen and (max-width:768px){.layadmin-user-login{padding-top:60px}.layadmin-user-login-main{width:300px}.layadmin-user-login-box{padding:10px}} -------------------------------------------------------------------------------- /Templates/assets/ace/theme-solarized_dark.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/solarized_dark",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-solarized-dark",t.cssText=".ace-solarized-dark .ace_gutter {background: #01313f;color: #d0edf7}.ace-solarized-dark .ace_print-margin {width: 1px;background: #33555E}.ace-solarized-dark {background-color: #002B36;color: #93A1A1}.ace-solarized-dark .ace_entity.ace_other.ace_attribute-name,.ace-solarized-dark .ace_storage {color: #93A1A1}.ace-solarized-dark .ace_cursor,.ace-solarized-dark .ace_string.ace_regexp {color: #D30102}.ace-solarized-dark .ace_marker-layer .ace_active-line,.ace-solarized-dark .ace_marker-layer .ace_selection {background: rgba(255, 255, 255, 0.1)}.ace-solarized-dark.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #002B36;}.ace-solarized-dark .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-solarized-dark .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(147, 161, 161, 0.50)}.ace-solarized-dark .ace_gutter-active-line {background-color: #0d3440}.ace-solarized-dark .ace_marker-layer .ace_selected-word {border: 1px solid #073642}.ace-solarized-dark .ace_invisible {color: rgba(147, 161, 161, 0.50)}.ace-solarized-dark .ace_keyword,.ace-solarized-dark .ace_meta,.ace-solarized-dark .ace_support.ace_class,.ace-solarized-dark .ace_support.ace_type {color: #859900}.ace-solarized-dark .ace_constant.ace_character,.ace-solarized-dark .ace_constant.ace_other {color: #CB4B16}.ace-solarized-dark .ace_constant.ace_language {color: #B58900}.ace-solarized-dark .ace_constant.ace_numeric {color: #D33682}.ace-solarized-dark .ace_fold {background-color: #268BD2;border-color: #93A1A1}.ace-solarized-dark .ace_entity.ace_name.ace_function,.ace-solarized-dark .ace_entity.ace_name.ace_tag,.ace-solarized-dark .ace_support.ace_function,.ace-solarized-dark .ace_variable,.ace-solarized-dark .ace_variable.ace_language {color: #268BD2}.ace-solarized-dark .ace_string {color: #2AA198}.ace-solarized-dark .ace_comment {font-style: italic;color: #657B83}.ace-solarized-dark .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNg0Db1ZVCxc/sPAAd4AlUHlLenAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/tpl/system/get.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 授权获得 layuiAdmin 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 |
18 |
19 |
20 |

专业版

21 |
    22 |
  • 始终基于全新的 layui 版本
  • 23 |
  • 单页面应用,所有操作无需跳转
  • 24 |
  • 支持前后端分离开发模式
  • 25 |
  • 面向全屏幕尺寸的响应式适配能力
  • 26 |
  • 灵活的主题色配置
  • 27 |
  • 专属的开发者文档,助你快速掌握
  • 28 |
  • 版本的持续更新,集大众之所需
  • 29 |
  • 专属的会员群,与同道中人隔空交流
  • 30 |
  • layui 社区 VIP 标识
  • 31 |
  • 不限制域名、不限制应用的项目数量
  • 32 |
33 |
34 |
35 | 一年授权 36 |
37 | 43 |
44 |
45 |
46 |
47 | 你所获得的不仅仅是一款高精品的后台管理模板系统,更是一项关于时间与效率的高收益回报 48 |
49 |
50 |
51 | 52 | 53 | 60 | 61 | -------------------------------------------------------------------------------- /Templates/assets/ace/theme-cobalt.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/cobalt",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-cobalt",t.cssText=".ace-cobalt .ace_gutter {background: #011e3a;color: rgb(128,145,160)}.ace-cobalt .ace_print-margin {width: 1px;background: #555555}.ace-cobalt {background-color: #002240;color: #FFFFFF}.ace-cobalt .ace_cursor {color: #FFFFFF}.ace-cobalt .ace_marker-layer .ace_selection {background: rgba(179, 101, 57, 0.75)}.ace-cobalt.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #002240;}.ace-cobalt .ace_marker-layer .ace_step {background: rgb(127, 111, 19)}.ace-cobalt .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(255, 255, 255, 0.15)}.ace-cobalt .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.35)}.ace-cobalt .ace_gutter-active-line {background-color: rgba(0, 0, 0, 0.35)}.ace-cobalt .ace_marker-layer .ace_selected-word {border: 1px solid rgba(179, 101, 57, 0.75)}.ace-cobalt .ace_invisible {color: rgba(255, 255, 255, 0.15)}.ace-cobalt .ace_keyword,.ace-cobalt .ace_meta {color: #FF9D00}.ace-cobalt .ace_constant,.ace-cobalt .ace_constant.ace_character,.ace-cobalt .ace_constant.ace_character.ace_escape,.ace-cobalt .ace_constant.ace_other {color: #FF628C}.ace-cobalt .ace_invalid {color: #F8F8F8;background-color: #800F00}.ace-cobalt .ace_support {color: #80FFBB}.ace-cobalt .ace_support.ace_constant {color: #EB939A}.ace-cobalt .ace_fold {background-color: #FF9D00;border-color: #FFFFFF}.ace-cobalt .ace_support.ace_function {color: #FFB054}.ace-cobalt .ace_storage {color: #FFEE80}.ace-cobalt .ace_entity {color: #FFDD00}.ace-cobalt .ace_string {color: #3AD900}.ace-cobalt .ace_string.ace_regexp {color: #80FFC2}.ace-cobalt .ace_comment {font-style: italic;color: #0088FF}.ace-cobalt .ace_heading,.ace-cobalt .ace_markup.ace_heading {color: #C8E4FD;background-color: #001221}.ace-cobalt .ace_list,.ace-cobalt .ace_markup.ace_list {background-color: #130D26}.ace-cobalt .ace_variable {color: #CCCCCC}.ace-cobalt .ace_variable.ace_language {color: #FF80E1}.ace-cobalt .ace_meta.ace_tag {color: #9EFFFF}.ace-cobalt .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHCLSvkPAAP3AgSDTRd4AAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/ace/theme-solarized_light.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/solarized_light",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-solarized-light",t.cssText=".ace-solarized-light .ace_gutter {background: #fbf1d3;color: #333}.ace-solarized-light .ace_print-margin {width: 1px;background: #e8e8e8}.ace-solarized-light {background-color: #FDF6E3;color: #586E75}.ace-solarized-light .ace_cursor {color: #000000}.ace-solarized-light .ace_marker-layer .ace_selection {background: rgba(7, 54, 67, 0.09)}.ace-solarized-light.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #FDF6E3;}.ace-solarized-light .ace_marker-layer .ace_step {background: rgb(255, 255, 0)}.ace-solarized-light .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(147, 161, 161, 0.50)}.ace-solarized-light .ace_marker-layer .ace_active-line {background: #EEE8D5}.ace-solarized-light .ace_gutter-active-line {background-color : #EDE5C1}.ace-solarized-light .ace_marker-layer .ace_selected-word {border: 1px solid #073642}.ace-solarized-light .ace_invisible {color: rgba(147, 161, 161, 0.50)}.ace-solarized-light .ace_keyword,.ace-solarized-light .ace_meta,.ace-solarized-light .ace_support.ace_class,.ace-solarized-light .ace_support.ace_type {color: #859900}.ace-solarized-light .ace_constant.ace_character,.ace-solarized-light .ace_constant.ace_other {color: #CB4B16}.ace-solarized-light .ace_constant.ace_language {color: #B58900}.ace-solarized-light .ace_constant.ace_numeric {color: #D33682}.ace-solarized-light .ace_fold {background-color: #268BD2;border-color: #586E75}.ace-solarized-light .ace_entity.ace_name.ace_function,.ace-solarized-light .ace_entity.ace_name.ace_tag,.ace-solarized-light .ace_support.ace_function,.ace-solarized-light .ace_variable,.ace-solarized-light .ace_variable.ace_language {color: #268BD2}.ace-solarized-light .ace_storage {color: #073642}.ace-solarized-light .ace_string {color: #2AA198}.ace-solarized-light .ace_string.ace_regexp {color: #D30102}.ace-solarized-light .ace_comment,.ace-solarized-light .ace_entity.ace_other.ace_attribute-name {color: #93A1A1}.ace-solarized-light .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHjy8NJ/AAjgA5fzQUmBAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/PluginMain.php: -------------------------------------------------------------------------------- 1 | param[1] == 'settings.html'){ 3 | $file = $this->param[1]; 4 | $mode = 'html'; 5 | }else{ 6 | $file = $this->param[0] . $this->param[1]; 7 | $mode = 'php'; 8 | } 9 | $file = APP_PATH . '/Plugins/' . $this->param[0] . '/' . $file; 10 | $code = (file_exists($file)) ? file_get_contents ($file) : '该插件木有 settings.html 文件' . PHP_EOL . '修改本文件将新建 settings.html'; 11 | $code = htmlspecialchars ($code); 12 | ?> 13 |
14 | 15 | 24 | 25 | 26 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /Templates/assets/ace/theme-monokai.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/monokai",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-monokai",t.cssText=".ace-monokai .ace_gutter {background: #2F3129;color: #8F908A}.ace-monokai .ace_print-margin {width: 1px;background: #555651}.ace-monokai {background-color: #272822;color: #F8F8F2}.ace-monokai .ace_cursor {color: #F8F8F0}.ace-monokai .ace_marker-layer .ace_selection {background: #49483E}.ace-monokai.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #272822;}.ace-monokai .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-monokai .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #49483E}.ace-monokai .ace_marker-layer .ace_active-line {background: #202020}.ace-monokai .ace_gutter-active-line {background-color: #272727}.ace-monokai .ace_marker-layer .ace_selected-word {border: 1px solid #49483E}.ace-monokai .ace_invisible {color: #52524d}.ace-monokai .ace_entity.ace_name.ace_tag,.ace-monokai .ace_keyword,.ace-monokai .ace_meta.ace_tag,.ace-monokai .ace_storage {color: #F92672}.ace-monokai .ace_punctuation,.ace-monokai .ace_punctuation.ace_tag {color: #fff}.ace-monokai .ace_constant.ace_character,.ace-monokai .ace_constant.ace_language,.ace-monokai .ace_constant.ace_numeric,.ace-monokai .ace_constant.ace_other {color: #AE81FF}.ace-monokai .ace_invalid {color: #F8F8F0;background-color: #F92672}.ace-monokai .ace_invalid.ace_deprecated {color: #F8F8F0;background-color: #AE81FF}.ace-monokai .ace_support.ace_constant,.ace-monokai .ace_support.ace_function {color: #66D9EF}.ace-monokai .ace_fold {background-color: #A6E22E;border-color: #F8F8F2}.ace-monokai .ace_storage.ace_type,.ace-monokai .ace_support.ace_class,.ace-monokai .ace_support.ace_type {font-style: italic;color: #66D9EF}.ace-monokai .ace_entity.ace_name.ace_function,.ace-monokai .ace_entity.ace_other,.ace-monokai .ace_entity.ace_other.ace_attribute-name,.ace-monokai .ace_variable {color: #A6E22E}.ace-monokai .ace_variable.ace_parameter {font-style: italic;color: #FD971F}.ace-monokai .ace_string {color: #E6DB74}.ace-monokai .ace_comment {color: #75715E}.ace-monokai .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0FD0ZXBzd/wPAAjVAoxeSgNeAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/json/content/list.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "" 4 | ,"count": "100" 5 | ,"data": [{ 6 | "id": "001" 7 | ,"label": "美食" 8 | ,"title": "舌尖上的中国第一季" 9 | ,"author": "作者-1" 10 | ,"content": "通过中华美食的多个侧面,来展现食物给中国人生活带来的仪式、伦理等方面的文化;见识中国特色食材以及与食物相关、构成中国美食特有气质的一系列元素;了解中华饮食文化的精致和源远流长" 11 | ,"uploadtime": 20121204 12 | ,"status": true 13 | },{ 14 | "id": "002" 15 | ,"label": "美食" 16 | ,"title": "舌尖上的中国第二季" 17 | ,"author": "作者-2" 18 | ,"content": "以食物为窗口,读懂中国——通过美食,使人们可以有滋有味地认知这个古老的东方国度。“一方水土一方人”,本片将通过展示人们日常生活中与美食相关的多重侧面,描绘与感知中国人的文化传统、家族观念、生活态度与故土难离。人们收获、保存、烹饪、生产美食,并在其过程中留存和传承食物所承载的味觉记忆、饮食习俗、文化样态与家常情感。" 19 | ,"uploadtime": 20141204 20 | ,"status": false 21 | },{ 22 | "id": "003" 23 | ,"label": "美食" 24 | ,"title": "舌尖上的中国第三季" 25 | ,"author": "作者-3" 26 | ,"content": "以食物为窗口,读懂中国——通过美食,使人们可以有滋有味地认知这个古老的东方国度。“一方水土一方人”,本片将通过展示人们日常生活中与美食相关的多重侧面,描绘与感知中国人的文化传统、家族观念、生活态度与故土难离。人们收获、保存、烹饪、生产美食,并在其过程中留存和传承食物所承载的味觉记忆、饮食习俗、文化样态与家常情感将世界美食和中国美食进行比照。春耕、夏耘、秋收、冬藏,天人合一的东方哲学让中国饮食依时而变,智慧灵动,中医营养摄生学说创造了食材运用的新天地,儒家人伦道德则把心意和家的味道端上我们的餐桌。淘洗历史,糅合时光,一代又一代的中国人在天地间升起烟火,用至精至诚的心意烹制食物,一餐一食之间,中国人展示个性,确认归属,构建文明,理解和把握着世界的奥妙。" 27 | ,"uploadtime": 20161204 28 | ,"status": false 29 | },{ 30 | "id": "004" 31 | ,"label": "历史" 32 | ,"title": "诸葛亮骂王朗" 33 | ,"author": "作者-1" 34 | ,"content": "皓首匹夫!苍髯老贼!你即将命归于九泉之下,届时,有何面目见汉朝二十四代先帝?二臣贼子!你枉活七十有六,一生未立寸功,只会摇唇舞舌,助曹为虐!一条断脊之犬,还敢在我军阵前狺狺狂吠!我从未见过如此厚颜无耻之人!!!" 35 | ,"uploadtime": 20180201 36 | ,"status": false 37 | },{ 38 | "id": "005" 39 | ,"label": "新闻" 40 | ,"title": "新时代特色中国梦" 41 | ,"author": "作者-1" 42 | ,"content": "今天,我们比历史上任何时期都更接近、更有信心和能力实现中华民族伟大复兴的目标。新时代已经到来,蓝图已经绘就,中国梦离我们越来越近了。" 43 | ,"uploadtime": 20180512 44 | ,"status": false 45 | },{ 46 | "id": "006" 47 | ,"label": "新闻" 48 | ,"title": "新时代特色中国梦" 49 | ,"author": "作者-2" 50 | ,"content": "梦想不会主动走向我们,只有我们去主动实现梦想。行百里者半九十。虽然中国梦离我们越来越近了,但是要实现中国梦,还要靠我们以永不懈怠的精神状态、功在不舍的坚强意志,不忘初心,继续前进。" 51 | ,"uploadtime": 20180514 52 | ,"status": false 53 | },{ 54 | "id": "007" 55 | ,"label": "体育" 56 | ,"title": "皇马大战利物浦" 57 | ,"author": "作者-3" 58 | ,"content": "对欧足联而言,更想要产生个新冠军。连续三年都是同一个冠军队,这会毁掉欧冠……”格里姆表态,“皇马有梦幻般的阵容,但从促进竞争的角度而言,另一支球队获胜会更好。" 59 | ,"uploadtime": 20180515 60 | ,"status": false 61 | }] 62 | } -------------------------------------------------------------------------------- /Templates/assets/ace/theme-clouds_midnight.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/clouds_midnight",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-clouds-midnight",t.cssText=".ace-clouds-midnight .ace_gutter {background: #232323;color: #929292}.ace-clouds-midnight .ace_print-margin {width: 1px;background: #232323}.ace-clouds-midnight {background-color: #191919;color: #929292}.ace-clouds-midnight .ace_cursor {color: #7DA5DC}.ace-clouds-midnight .ace_marker-layer .ace_selection {background: #000000}.ace-clouds-midnight.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #191919;}.ace-clouds-midnight .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-clouds-midnight .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #BFBFBF}.ace-clouds-midnight .ace_marker-layer .ace_active-line {background: rgba(215, 215, 215, 0.031)}.ace-clouds-midnight .ace_gutter-active-line {background-color: rgba(215, 215, 215, 0.031)}.ace-clouds-midnight .ace_marker-layer .ace_selected-word {border: 1px solid #000000}.ace-clouds-midnight .ace_invisible {color: #666}.ace-clouds-midnight .ace_keyword,.ace-clouds-midnight .ace_meta,.ace-clouds-midnight .ace_support.ace_constant.ace_property-value {color: #927C5D}.ace-clouds-midnight .ace_keyword.ace_operator {color: #4B4B4B}.ace-clouds-midnight .ace_keyword.ace_other.ace_unit {color: #366F1A}.ace-clouds-midnight .ace_constant.ace_language {color: #39946A}.ace-clouds-midnight .ace_constant.ace_numeric {color: #46A609}.ace-clouds-midnight .ace_constant.ace_character.ace_entity {color: #A165AC}.ace-clouds-midnight .ace_invalid {color: #FFFFFF;background-color: #E92E2E}.ace-clouds-midnight .ace_fold {background-color: #927C5D;border-color: #929292}.ace-clouds-midnight .ace_storage,.ace-clouds-midnight .ace_support.ace_class,.ace-clouds-midnight .ace_support.ace_function,.ace-clouds-midnight .ace_support.ace_other,.ace-clouds-midnight .ace_support.ace_type {color: #E92E2E}.ace-clouds-midnight .ace_string {color: #5D90CD}.ace-clouds-midnight .ace_comment {color: #3C403B}.ace-clouds-midnight .ace_entity.ace_name.ace_tag,.ace-clouds-midnight .ace_entity.ace_other.ace_attribute-name {color: #606060}.ace-clouds-midnight .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/ace/theme-merbivore_soft.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/merbivore_soft",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-merbivore-soft",t.cssText=".ace-merbivore-soft .ace_gutter {background: #262424;color: #E6E1DC}.ace-merbivore-soft .ace_print-margin {width: 1px;background: #262424}.ace-merbivore-soft {background-color: #1C1C1C;color: #E6E1DC}.ace-merbivore-soft .ace_cursor {color: #FFFFFF}.ace-merbivore-soft .ace_marker-layer .ace_selection {background: #494949}.ace-merbivore-soft.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #1C1C1C;}.ace-merbivore-soft .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-merbivore-soft .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #404040}.ace-merbivore-soft .ace_marker-layer .ace_active-line {background: #333435}.ace-merbivore-soft .ace_gutter-active-line {background-color: #333435}.ace-merbivore-soft .ace_marker-layer .ace_selected-word {border: 1px solid #494949}.ace-merbivore-soft .ace_invisible {color: #404040}.ace-merbivore-soft .ace_entity.ace_name.ace_tag,.ace-merbivore-soft .ace_keyword,.ace-merbivore-soft .ace_meta,.ace-merbivore-soft .ace_meta.ace_tag,.ace-merbivore-soft .ace_storage {color: #FC803A}.ace-merbivore-soft .ace_constant,.ace-merbivore-soft .ace_constant.ace_character,.ace-merbivore-soft .ace_constant.ace_character.ace_escape,.ace-merbivore-soft .ace_constant.ace_other,.ace-merbivore-soft .ace_support.ace_type {color: #68C1D8}.ace-merbivore-soft .ace_constant.ace_character.ace_escape {color: #B3E5B4}.ace-merbivore-soft .ace_constant.ace_language {color: #E1C582}.ace-merbivore-soft .ace_constant.ace_library,.ace-merbivore-soft .ace_string,.ace-merbivore-soft .ace_support.ace_constant {color: #8EC65F}.ace-merbivore-soft .ace_constant.ace_numeric {color: #7FC578}.ace-merbivore-soft .ace_invalid,.ace-merbivore-soft .ace_invalid.ace_deprecated {color: #FFFFFF;background-color: #FE3838}.ace-merbivore-soft .ace_fold {background-color: #FC803A;border-color: #E6E1DC}.ace-merbivore-soft .ace_comment,.ace-merbivore-soft .ace_meta {font-style: italic;color: #AC4BB8}.ace-merbivore-soft .ace_entity.ace_other.ace_attribute-name {color: #EAF1A3}.ace-merbivore-soft .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQkpLyZfD09PwPAAfYAnaStpHRAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/lib/extend/echartsTheme.js: -------------------------------------------------------------------------------- 1 | /** layuiAdmin.std-v1.0.0 LPPL License By http://www.layui.com/admin/ */ 2 | ;layui.define(function(e){e("echartsTheme",{color:["#009688","#1E9FFF","#5FB878","#FFB980","#D87A80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089"],title:{textStyle:{fontWeight:"normal",color:"#666"}},dataRange:{itemWidth:15,color:["#009688","#e0ffff"]},toolbox:{color:["#1e90ff","#1e90ff","#1e90ff","#1e90ff"],effectiveColor:"#ff4500"},tooltip:{backgroundColor:"rgba(50,50,50,0.5)",axisPointer:{type:"line",lineStyle:{color:"#009688"},crossStyle:{color:"#008acd"},shadowStyle:{color:"rgba(200,200,200,0.2)"}}},dataZoom:{dataBackgroundColor:"#efefff",fillerColor:"rgba(182,162,222,0.2)",handleColor:"#008acd"},grid:{borderColor:"#eee"},categoryAxis:{axisLine:{lineStyle:{color:"#009688"}},axisTick:{show:!1},splitLine:{lineStyle:{color:["#eee"]}}},valueAxis:{axisLine:{lineStyle:{color:"#009688"}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.1)","rgba(200,200,200,0.1)"]}},splitLine:{lineStyle:{color:["#eee"]}}},polar:{axisLine:{lineStyle:{color:"#ddd"}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(200,200,200,0.2)"]}},splitLine:{lineStyle:{color:"#ddd"}}},timeline:{lineStyle:{color:"#009688"},controlStyle:{normal:{color:"#009688"},emphasis:{color:"#009688"}},symbol:"emptyCircle",symbolSize:3},bar:{itemStyle:{normal:{barBorderRadius:2},emphasis:{barBorderRadius:2}}},line:{smooth:!0,symbol:"emptyCircle",symbolSize:3},k:{itemStyle:{normal:{color:"#d87a80",color0:"#2ec7c9",lineStyle:{color:"#d87a80",color0:"#2ec7c9"}}}},scatter:{symbol:"circle",symbolSize:4},radar:{symbol:"emptyCircle",symbolSize:3},map:{itemStyle:{normal:{areaStyle:{color:"#ddd"},label:{textStyle:{color:"#d87a80"}}},emphasis:{areaStyle:{color:"#fe994e"}}}},force:{itemStyle:{normal:{linkStyle:{color:"#1e90ff"}}}},chord:{itemStyle:{normal:{borderWidth:1,borderColor:"rgba(128, 128, 128, 0.5)",chordStyle:{lineStyle:{color:"rgba(128, 128, 128, 0.5)"}}},emphasis:{borderWidth:1,borderColor:"rgba(128, 128, 128, 0.5)",chordStyle:{lineStyle:{color:"rgba(128, 128, 128, 0.5)"}}}}},gauge:{axisLine:{lineStyle:{color:[[.2,"#2ec7c9"],[.8,"#5ab1ef"],[1,"#d87a80"]],width:10}},axisTick:{splitNumber:10,length:15,lineStyle:{color:"auto"}},splitLine:{length:22,lineStyle:{color:"auto"}},pointer:{width:5}},textStyle:{fontFamily:"微软雅黑, Arial, Verdana, sans-serif"}})}); -------------------------------------------------------------------------------- /Templates/assets/ace/theme-twilight.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/twilight",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-twilight",t.cssText=".ace-twilight .ace_gutter {background: #232323;color: #E2E2E2}.ace-twilight .ace_print-margin {width: 1px;background: #232323}.ace-twilight {background-color: #141414;color: #F8F8F8}.ace-twilight .ace_cursor {color: #A7A7A7}.ace-twilight .ace_marker-layer .ace_selection {background: rgba(221, 240, 255, 0.20)}.ace-twilight.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #141414;}.ace-twilight .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-twilight .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(255, 255, 255, 0.25)}.ace-twilight .ace_marker-layer .ace_active-line {background: rgba(255, 255, 255, 0.031)}.ace-twilight .ace_gutter-active-line {background-color: rgba(255, 255, 255, 0.031)}.ace-twilight .ace_marker-layer .ace_selected-word {border: 1px solid rgba(221, 240, 255, 0.20)}.ace-twilight .ace_invisible {color: rgba(255, 255, 255, 0.25)}.ace-twilight .ace_keyword,.ace-twilight .ace_meta {color: #CDA869}.ace-twilight .ace_constant,.ace-twilight .ace_constant.ace_character,.ace-twilight .ace_constant.ace_character.ace_escape,.ace-twilight .ace_constant.ace_other,.ace-twilight .ace_heading,.ace-twilight .ace_markup.ace_heading,.ace-twilight .ace_support.ace_constant {color: #CF6A4C}.ace-twilight .ace_invalid.ace_illegal {color: #F8F8F8;background-color: rgba(86, 45, 86, 0.75)}.ace-twilight .ace_invalid.ace_deprecated {text-decoration: underline;font-style: italic;color: #D2A8A1}.ace-twilight .ace_support {color: #9B859D}.ace-twilight .ace_fold {background-color: #AC885B;border-color: #F8F8F8}.ace-twilight .ace_support.ace_function {color: #DAD085}.ace-twilight .ace_list,.ace-twilight .ace_markup.ace_list,.ace-twilight .ace_storage {color: #F9EE98}.ace-twilight .ace_entity.ace_name.ace_function,.ace-twilight .ace_meta.ace_tag,.ace-twilight .ace_variable {color: #AC885B}.ace-twilight .ace_string {color: #8F9D6A}.ace-twilight .ace_string.ace_regexp {color: #E9C062}.ace-twilight .ace_comment {font-style: italic;color: #5F5A60}.ace-twilight .ace_variable {color: #7587A6}.ace-twilight .ace_xml-pe {color: #494949}.ace-twilight .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQERFpYLC1tf0PAAgOAnPnhxyiAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/ace/theme-tomorrow.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/tomorrow",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-tomorrow",t.cssText=".ace-tomorrow .ace_gutter {background: #f6f6f6;color: #4D4D4C}.ace-tomorrow .ace_print-margin {width: 1px;background: #f6f6f6}.ace-tomorrow {background-color: #FFFFFF;color: #4D4D4C}.ace-tomorrow .ace_cursor {color: #AEAFAD}.ace-tomorrow .ace_marker-layer .ace_selection {background: #D6D6D6}.ace-tomorrow.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #FFFFFF;}.ace-tomorrow .ace_marker-layer .ace_step {background: rgb(255, 255, 0)}.ace-tomorrow .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #D1D1D1}.ace-tomorrow .ace_marker-layer .ace_active-line {background: #EFEFEF}.ace-tomorrow .ace_gutter-active-line {background-color : #dcdcdc}.ace-tomorrow .ace_marker-layer .ace_selected-word {border: 1px solid #D6D6D6}.ace-tomorrow .ace_invisible {color: #D1D1D1}.ace-tomorrow .ace_keyword,.ace-tomorrow .ace_meta,.ace-tomorrow .ace_storage,.ace-tomorrow .ace_storage.ace_type,.ace-tomorrow .ace_support.ace_type {color: #8959A8}.ace-tomorrow .ace_keyword.ace_operator {color: #3E999F}.ace-tomorrow .ace_constant.ace_character,.ace-tomorrow .ace_constant.ace_language,.ace-tomorrow .ace_constant.ace_numeric,.ace-tomorrow .ace_keyword.ace_other.ace_unit,.ace-tomorrow .ace_support.ace_constant,.ace-tomorrow .ace_variable.ace_parameter {color: #F5871F}.ace-tomorrow .ace_constant.ace_other {color: #666969}.ace-tomorrow .ace_invalid {color: #FFFFFF;background-color: #C82829}.ace-tomorrow .ace_invalid.ace_deprecated {color: #FFFFFF;background-color: #8959A8}.ace-tomorrow .ace_fold {background-color: #4271AE;border-color: #4D4D4C}.ace-tomorrow .ace_entity.ace_name.ace_function,.ace-tomorrow .ace_support.ace_function,.ace-tomorrow .ace_variable {color: #4271AE}.ace-tomorrow .ace_support.ace_class,.ace-tomorrow .ace_support.ace_type {color: #C99E00}.ace-tomorrow .ace_heading,.ace-tomorrow .ace_markup.ace_heading,.ace-tomorrow .ace_string {color: #718C00}.ace-tomorrow .ace_entity.ace_name.ace_tag,.ace-tomorrow .ace_entity.ace_other.ace_attribute-name,.ace-tomorrow .ace_meta.ace_tag,.ace-tomorrow .ace_string.ace_regexp,.ace-tomorrow .ace_variable {color: #C82829}.ace-tomorrow .ace_comment {color: #8E908C}.ace-tomorrow .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bdu3f/BwAlfgctduB85QAAAABJRU5ErkJggg==) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/ace/theme-textmate.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],function(e,t,n){"use strict";t.isDark=!1,t.cssClass="ace-tm",t.cssText='.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;color: black;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/ace/ext-whitespace.js: -------------------------------------------------------------------------------- 1 | define("ace/ext/whitespace",["require","exports","module","ace/lib/lang"],function(e,t,n){"use strict";var r=e("../lib/lang");t.$detectIndentation=function(e,t){function c(e){var t=0;for(var r=e;r0&&!(s%l)&&!(f%l)&&(r[l]=(r[l]||0)+1),n[f]=(n[f]||0)+1}s=f}while(up.score&&(p={score:v,length:u})}if(p.score&&p.score>1.4)var m=p.length;if(i>d+1){if(m==1||di+1)return{ch:" ",length:m}},t.detectIndentation=function(e){var n=e.getLines(0,1e3),r=t.$detectIndentation(n)||{};return r.ch&&e.setUseSoftTabs(r.ch==" "),r.length&&e.setTabSize(r.length),r},t.trimTrailingSpace=function(e,t){var n=e.getDocument(),r=n.getAllLines(),i=t?-1:0;for(var s=0,o=r.length;si&&n.removeInLine(s,a,u.length)}},t.convertIndentation=function(e,t,n){var i=e.getTabString()[0],s=e.getTabSize();n||(n=s),t||(t=i);var o=t==" "?t:r.stringRepeat(t,n),u=e.doc,a=u.getAllLines(),f={},l={};for(var c=0,h=a.length;c",u=1;u<=i.length;u++){var r='
  • ";i.half&&parseInt(i.value)!==i.value&&u==Math.ceil(i.value)?n=n+'
  • ":n+=r}n+=""+(i.text?''+i.value+"星":"")+"";var c=i.elem,f=c.next("."+t);f[0]&&f.remove(),e.elemTemp=a(n),i.span=e.elemTemp.next("span"),i.setText&&i.setText(i.value),c.html(e.elemTemp),c.addClass("layui-inline"),i.readonly||e.action()},v.prototype.setvalue=function(e){var a=this,i=a.config;i.value=e,a.render()},v.prototype.action=function(){var e=this,i=e.config,l=e.elemTemp,n=l.find("i").width();l.children("li").each(function(e){var t=e+1,v=a(this);v.on("click",function(e){if(i.value=t,i.half){var o=e.pageX-a(this).offset().left;o<=n/2&&(i.value=i.value-.5)}i.text&&l.next("span").text(i.value+"星"),i.choose&&i.choose(i.value),i.setText&&i.setText(i.value)}),v.on("mousemove",function(e){if(l.find("i").each(function(){a(this).addClass(o).removeClass(r)}),l.find("i:lt("+t+")").each(function(){a(this).addClass(s).removeClass(f)}),i.half){var c=e.pageX-a(this).offset().left;c<=n/2&&v.children("i").addClass(u).removeClass(s)}}),v.on("mouseleave",function(){l.find("i").each(function(){a(this).addClass(o).removeClass(r)}),l.find("i:lt("+Math.floor(i.value)+")").each(function(){a(this).addClass(s).removeClass(f)}),i.half&&parseInt(i.value)!==i.value&&l.children("li:eq("+Math.floor(i.value)+")").children("i").addClass(u).removeClass(c)})})},v.prototype.events=function(){var e=this;e.config},i.render=function(e){var a=new v(e);return l.call(a)},e(n,i)}); -------------------------------------------------------------------------------- /Templates/assets/json/table/demo.js: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "code": 0 4 | ,"msg": "" 5 | ,"count": 3000000 6 | ,"data": [{ 7 | "id": "10001" 8 | ,"username": "杜甫" 9 | ,"email": "xianxin@layui.com" 10 | ,"sex": "男" 11 | ,"city": "浙江杭州" 12 | ,"sign": "点击此处,显示更多。当内容超出时,点击单元格会自动显示更多内容。" 13 | ,"experience": "116" 14 | ,"ip": "192.168.0.8" 15 | ,"logins": "108" 16 | ,"joinTime": "2016-10-14" 17 | }, { 18 | "id": "10002" 19 | ,"username": "李白" 20 | ,"email": "xianxin@layui.com" 21 | ,"sex": "男" 22 | ,"city": "浙江杭州" 23 | ,"sign": "君不见,黄河之水天上来,奔流到海不复回。 君不见,高堂明镜悲白发,朝如青丝暮成雪。 人生得意须尽欢,莫使金樽空对月。 天生我材必有用,千金散尽还复来。 烹羊宰牛且为乐,会须一饮三百杯。 岑夫子,丹丘生,将进酒,杯莫停。 与君歌一曲,请君为我倾耳听。(倾耳听 一作:侧耳听) 钟鼓馔玉不足贵,但愿长醉不复醒。(不足贵 一作:何足贵;不复醒 一作:不愿醒/不用醒) 古来圣贤皆寂寞,惟有饮者留其名。(古来 一作:自古;惟 通:唯) 陈王昔时宴平乐,斗酒十千恣欢谑。 主人何为言少钱,径须沽取对君酌。 五花马,千金裘,呼儿将出换美酒,与尔同销万古愁。" 24 | ,"experience": "12" 25 | ,"ip": "192.168.0.8" 26 | ,"logins": "106" 27 | ,"joinTime": "2016-10-14" 28 | ,"LAY_CHECKED": true 29 | }, { 30 | "id": "10003" 31 | ,"username": "王勃" 32 | ,"email": "xianxin@layui.com" 33 | ,"sex": "男" 34 | ,"city": "浙江杭州" 35 | ,"sign": "人生恰似一场修行" 36 | ,"experience": "65" 37 | ,"ip": "192.168.0.8" 38 | ,"logins": "106" 39 | ,"joinTime": "2016-10-14" 40 | }, { 41 | "id": "10004" 42 | ,"username": "李清照" 43 | ,"email": "xianxin@layui.com" 44 | ,"sex": "女" 45 | ,"city": "浙江杭州" 46 | ,"sign": "人生恰似一场修行" 47 | ,"experience": "666" 48 | ,"ip": "192.168.0.8" 49 | ,"logins": "106" 50 | ,"joinTime": "2016-10-14" 51 | }, { 52 | "id": "10005" 53 | ,"username": "冰心" 54 | ,"email": "xianxin@layui.com" 55 | ,"sex": "女" 56 | ,"city": "浙江杭州" 57 | ,"sign": "人生恰似一场修行" 58 | ,"experience": "86" 59 | ,"ip": "192.168.0.8" 60 | ,"logins": "106" 61 | ,"joinTime": "2016-10-14" 62 | }, { 63 | "id": "10006" 64 | ,"username": "贤心" 65 | ,"email": "xianxin@layui.com" 66 | ,"sex": "男" 67 | ,"city": "浙江杭州" 68 | ,"sign": "人生恰似一场修行" 69 | ,"experience": "12" 70 | ,"ip": "192.168.0.8" 71 | ,"logins": "106" 72 | ,"joinTime": "2016-10-14" 73 | }, { 74 | "id": "10007" 75 | ,"username": "贤心" 76 | ,"email": "xianxin@layui.com" 77 | ,"sex": "男" 78 | ,"city": "浙江杭州" 79 | ,"sign": "人生恰似一场修行" 80 | ,"experience": "16" 81 | ,"ip": "192.168.0.8" 82 | ,"logins": "106" 83 | ,"joinTime": "2016-10-14" 84 | }, { 85 | "id": "10008" 86 | ,"username": "贤心" 87 | ,"email": "xianxin@layui.com" 88 | ,"sex": "男" 89 | ,"city": "浙江杭州" 90 | ,"sign": "人生恰似一场修行" 91 | ,"experience": "106" 92 | ,"ip": "192.168.0.8" 93 | ,"logins": "106" 94 | ,"joinTime": "2016-10-14" 95 | }] 96 | } -------------------------------------------------------------------------------- /Templates/assets/ace/theme-mono_industrial.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/mono_industrial",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-mono-industrial",t.cssText=".ace-mono-industrial .ace_gutter {background: #1d2521;color: #C5C9C9}.ace-mono-industrial .ace_print-margin {width: 1px;background: #555651}.ace-mono-industrial {background-color: #222C28;color: #FFFFFF}.ace-mono-industrial .ace_cursor {color: #FFFFFF}.ace-mono-industrial .ace_marker-layer .ace_selection {background: rgba(145, 153, 148, 0.40)}.ace-mono-industrial.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #222C28;}.ace-mono-industrial .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-mono-industrial .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(102, 108, 104, 0.50)}.ace-mono-industrial .ace_marker-layer .ace_active-line {background: rgba(12, 13, 12, 0.25)}.ace-mono-industrial .ace_gutter-active-line {background-color: rgba(12, 13, 12, 0.25)}.ace-mono-industrial .ace_marker-layer .ace_selected-word {border: 1px solid rgba(145, 153, 148, 0.40)}.ace-mono-industrial .ace_invisible {color: rgba(102, 108, 104, 0.50)}.ace-mono-industrial .ace_string {background-color: #151C19;color: #FFFFFF}.ace-mono-industrial .ace_keyword,.ace-mono-industrial .ace_meta {color: #A39E64}.ace-mono-industrial .ace_constant,.ace-mono-industrial .ace_constant.ace_character,.ace-mono-industrial .ace_constant.ace_character.ace_escape,.ace-mono-industrial .ace_constant.ace_numeric,.ace-mono-industrial .ace_constant.ace_other {color: #E98800}.ace-mono-industrial .ace_entity.ace_name.ace_function,.ace-mono-industrial .ace_keyword.ace_operator,.ace-mono-industrial .ace_variable {color: #A8B3AB}.ace-mono-industrial .ace_invalid {color: #FFFFFF;background-color: rgba(153, 0, 0, 0.68)}.ace-mono-industrial .ace_support.ace_constant {color: #C87500}.ace-mono-industrial .ace_fold {background-color: #A8B3AB;border-color: #FFFFFF}.ace-mono-industrial .ace_support.ace_function {color: #588E60}.ace-mono-industrial .ace_entity.ace_name,.ace-mono-industrial .ace_support.ace_class,.ace-mono-industrial .ace_support.ace_type {color: #5778B6}.ace-mono-industrial .ace_storage {color: #C23B00}.ace-mono-industrial .ace_variable.ace_language,.ace-mono-industrial .ace_variable.ace_parameter {color: #648BD2}.ace-mono-industrial .ace_comment {color: #666C68;background-color: #151C19}.ace-mono-industrial .ace_entity.ace_other.ace_attribute-name {color: #909993}.ace-mono-industrial .ace_entity.ace_name.ace_tag {color: #A65EFF}.ace-mono-industrial .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQ1NbwZfALD/4PAAlTArlEC4r/AAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/ace/theme-crimson_editor.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/crimson_editor",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssText='.ace-crimson-editor .ace_gutter {background: #ebebeb;color: #333;overflow : hidden;}.ace-crimson-editor .ace_gutter-layer {width: 100%;text-align: right;}.ace-crimson-editor .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-crimson-editor {background-color: #FFFFFF;color: rgb(64, 64, 64);}.ace-crimson-editor .ace_cursor {color: black;}.ace-crimson-editor .ace_invisible {color: rgb(191, 191, 191);}.ace-crimson-editor .ace_identifier {color: black;}.ace-crimson-editor .ace_keyword {color: blue;}.ace-crimson-editor .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-crimson-editor .ace_constant.ace_language {color: rgb(255, 156, 0);}.ace-crimson-editor .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-crimson-editor .ace_invalid {text-decoration: line-through;color: rgb(224, 0, 0);}.ace-crimson-editor .ace_fold {}.ace-crimson-editor .ace_support.ace_function {color: rgb(192, 0, 0);}.ace-crimson-editor .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-crimson-editor .ace_support.ace_type,.ace-crimson-editor .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-crimson-editor .ace_keyword.ace_operator {color: rgb(49, 132, 149);}.ace-crimson-editor .ace_string {color: rgb(128, 0, 128);}.ace-crimson-editor .ace_comment {color: rgb(76, 136, 107);}.ace-crimson-editor .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-crimson-editor .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-crimson-editor .ace_constant.ace_numeric {color: rgb(0, 0, 64);}.ace-crimson-editor .ace_variable {color: rgb(0, 64, 128);}.ace-crimson-editor .ace_xml-pe {color: rgb(104, 104, 91);}.ace-crimson-editor .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-crimson-editor .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-crimson-editor .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-crimson-editor .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-crimson-editor .ace_marker-layer .ace_active-line {background: rgb(232, 242, 254);}.ace-crimson-editor .ace_gutter-active-line {background-color : #dcdcdc;}.ace-crimson-editor .ace_meta.ace_tag {color:rgb(28, 2, 255);}.ace-crimson-editor .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-crimson-editor .ace_string.ace_regex {color: rgb(192, 0, 192);}.ace-crimson-editor .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',t.cssClass="ace-crimson-editor";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/ace/theme-tomorrow_night.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/tomorrow_night",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-tomorrow-night",t.cssText=".ace-tomorrow-night .ace_gutter {background: #25282c;color: #C5C8C6}.ace-tomorrow-night .ace_print-margin {width: 1px;background: #25282c}.ace-tomorrow-night {background-color: #1D1F21;color: #C5C8C6}.ace-tomorrow-night .ace_cursor {color: #AEAFAD}.ace-tomorrow-night .ace_marker-layer .ace_selection {background: #373B41}.ace-tomorrow-night.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #1D1F21;}.ace-tomorrow-night .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-tomorrow-night .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #4B4E55}.ace-tomorrow-night .ace_marker-layer .ace_active-line {background: #282A2E}.ace-tomorrow-night .ace_gutter-active-line {background-color: #282A2E}.ace-tomorrow-night .ace_marker-layer .ace_selected-word {border: 1px solid #373B41}.ace-tomorrow-night .ace_invisible {color: #4B4E55}.ace-tomorrow-night .ace_keyword,.ace-tomorrow-night .ace_meta,.ace-tomorrow-night .ace_storage,.ace-tomorrow-night .ace_storage.ace_type,.ace-tomorrow-night .ace_support.ace_type {color: #B294BB}.ace-tomorrow-night .ace_keyword.ace_operator {color: #8ABEB7}.ace-tomorrow-night .ace_constant.ace_character,.ace-tomorrow-night .ace_constant.ace_language,.ace-tomorrow-night .ace_constant.ace_numeric,.ace-tomorrow-night .ace_keyword.ace_other.ace_unit,.ace-tomorrow-night .ace_support.ace_constant,.ace-tomorrow-night .ace_variable.ace_parameter {color: #DE935F}.ace-tomorrow-night .ace_constant.ace_other {color: #CED1CF}.ace-tomorrow-night .ace_invalid {color: #CED2CF;background-color: #DF5F5F}.ace-tomorrow-night .ace_invalid.ace_deprecated {color: #CED2CF;background-color: #B798BF}.ace-tomorrow-night .ace_fold {background-color: #81A2BE;border-color: #C5C8C6}.ace-tomorrow-night .ace_entity.ace_name.ace_function,.ace-tomorrow-night .ace_support.ace_function,.ace-tomorrow-night .ace_variable {color: #81A2BE}.ace-tomorrow-night .ace_support.ace_class,.ace-tomorrow-night .ace_support.ace_type {color: #F0C674}.ace-tomorrow-night .ace_heading,.ace-tomorrow-night .ace_markup.ace_heading,.ace-tomorrow-night .ace_string {color: #B5BD68}.ace-tomorrow-night .ace_entity.ace_name.ace_tag,.ace-tomorrow-night .ace_entity.ace_other.ace_attribute-name,.ace-tomorrow-night .ace_meta.ace_tag,.ace-tomorrow-night .ace_string.ace_regexp,.ace-tomorrow-night .ace_variable {color: #CC6666}.ace-tomorrow-night .ace_comment {color: #969896}.ace-tomorrow-night .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/ace/theme-chaos.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/chaos",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-chaos",t.cssText=".ace-chaos .ace_gutter {background: #141414;color: #595959;border-right: 1px solid #282828;}.ace-chaos .ace_gutter-cell.ace_warning {background-image: none;background: #FC0;border-left: none;padding-left: 0;color: #000;}.ace-chaos .ace_gutter-cell.ace_error {background-position: -6px center;background-image: none;background: #F10;border-left: none;padding-left: 0;color: #000;}.ace-chaos .ace_print-margin {border-left: 1px solid #555;right: 0;background: #1D1D1D;}.ace-chaos {background-color: #161616;color: #E6E1DC;}.ace-chaos .ace_cursor {border-left: 2px solid #FFFFFF;}.ace-chaos .ace_cursor.ace_overwrite {border-left: 0px;border-bottom: 1px solid #FFFFFF;}.ace-chaos .ace_marker-layer .ace_selection {background: #494836;}.ace-chaos .ace_marker-layer .ace_step {background: rgb(198, 219, 174);}.ace-chaos .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #FCE94F;}.ace-chaos .ace_marker-layer .ace_active-line {background: #333;}.ace-chaos .ace_gutter-active-line {background-color: #222;}.ace-chaos .ace_invisible {color: #404040;}.ace-chaos .ace_keyword {color:#00698F;}.ace-chaos .ace_keyword.ace_operator {color:#FF308F;}.ace-chaos .ace_constant {color:#1EDAFB;}.ace-chaos .ace_constant.ace_language {color:#FDC251;}.ace-chaos .ace_constant.ace_library {color:#8DFF0A;}.ace-chaos .ace_constant.ace_numeric {color:#58C554;}.ace-chaos .ace_invalid {color:#FFFFFF;background-color:#990000;}.ace-chaos .ace_invalid.ace_deprecated {color:#FFFFFF;background-color:#990000;}.ace-chaos .ace_support {color: #999;}.ace-chaos .ace_support.ace_function {color:#00AEEF;}.ace-chaos .ace_function {color:#00AEEF;}.ace-chaos .ace_string {color:#58C554;}.ace-chaos .ace_comment {color:#555;font-style:italic;padding-bottom: 0px;}.ace-chaos .ace_variable {color:#997744;}.ace-chaos .ace_meta.ace_tag {color:#BE53E6;}.ace-chaos .ace_entity.ace_other.ace_attribute-name {color:#FFFF89;}.ace-chaos .ace_markup.ace_underline {text-decoration: underline;}.ace-chaos .ace_fold-widget {text-align: center;}.ace-chaos .ace_fold-widget:hover {color: #777;}.ace-chaos .ace_fold-widget.ace_start,.ace-chaos .ace_fold-widget.ace_end,.ace-chaos .ace_fold-widget.ace_closed{background: none;border: none;box-shadow: none;}.ace-chaos .ace_fold-widget.ace_start:after {content: '\u25be'}.ace-chaos .ace_fold-widget.ace_end:after {content: '\u25b4'}.ace-chaos .ace_fold-widget.ace_closed:after {content: '\u2023'}.ace-chaos .ace_indent-guide {border-right:1px dotted #333;margin-right:-1px;}.ace-chaos .ace_fold { background: #222; border-radius: 3px; color: #7AF; border: none; }.ace-chaos .ace_fold:hover {background: #CCC; color: #000;}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/ace/ext-static_highlight.js: -------------------------------------------------------------------------------- 1 | define("ace/ext/static_highlight",["require","exports","module","ace/edit_session","ace/layer/text","ace/config","ace/lib/dom"],function(e,t,n){"use strict";var r=e("../edit_session").EditSession,i=e("../layer/text").Text,s=".ace_static_highlight {font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', 'Droid Sans Mono', monospace;font-size: 12px;white-space: pre-wrap}.ace_static_highlight .ace_gutter {width: 2em;text-align: right;padding: 0 3px 0 0;margin-right: 3px;}.ace_static_highlight.ace_show_gutter .ace_line {padding-left: 2.6em;}.ace_static_highlight .ace_line { position: relative; }.ace_static_highlight .ace_gutter-cell {-moz-user-select: -moz-none;-khtml-user-select: none;-webkit-user-select: none;user-select: none;top: 0;bottom: 0;left: 0;position: absolute;}.ace_static_highlight .ace_gutter-cell:before {content: counter(ace_line, decimal);counter-increment: ace_line;}.ace_static_highlight {counter-reset: ace_line;}",o=e("../config"),u=e("../lib/dom"),a=function(){this.config={}};a.prototype=i.prototype;var f=function(e,t,n){var r=e.className.match(/lang-(\w+)/),i=t.mode||r&&"ace/mode/"+r[1];if(!i)return!1;var s=t.theme||"ace/theme/textmate",o="",a=[];if(e.firstElementChild){var l=0;for(var c=0;c"),o||l.push(""),f.$renderLine(l,h,!0,!1),l.push("\n");var p="
    "+"
    "+l.join("")+"
    "+"
    ";return f.destroy(),{css:s+n.cssText,html:p,session:u}},n.exports=f,n.exports.highlight=f}); 2 | (function() { 3 | window.require(["ace/ext/static_highlight"], function() {}); 4 | })(); 5 | -------------------------------------------------------------------------------- /Templates/assets/ace/theme-sqlserver.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/sqlserver",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-sqlserver",t.cssText='.ace-sqlserver .ace_gutter {background: #ebebeb;color: #333;overflow: hidden;}.ace-sqlserver .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-sqlserver {background-color: #FFFFFF;color: black;}.ace-sqlserver .ace_identifier {color: black;}.ace-sqlserver .ace_keyword {color: #0000FF;}.ace-sqlserver .ace_numeric {color: black;}.ace-sqlserver .ace_storage {color: #11B7BE;}.ace-sqlserver .ace_keyword.ace_operator,.ace-sqlserver .ace_lparen,.ace-sqlserver .ace_rparen,.ace-sqlserver .ace_punctuation {color: #808080;}.ace-sqlserver .ace_set.ace_statement {color: #0000FF;text-decoration: underline;}.ace-sqlserver .ace_cursor {color: black;}.ace-sqlserver .ace_invisible {color: rgb(191, 191, 191);}.ace-sqlserver .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-sqlserver .ace_constant.ace_language {color: #979797;}.ace-sqlserver .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-sqlserver .ace_invalid {background-color: rgb(153, 0, 0);color: white;}.ace-sqlserver .ace_support.ace_function {color: #FF00FF;}.ace-sqlserver .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-sqlserver .ace_class {color: #008080;}.ace-sqlserver .ace_support.ace_other {color: #6D79DE;}.ace-sqlserver .ace_variable.ace_parameter {font-style: italic;color: #FD971F;}.ace-sqlserver .ace_comment {color: #008000;}.ace-sqlserver .ace_constant.ace_numeric {color: black;}.ace-sqlserver .ace_variable {color: rgb(49, 132, 149);}.ace-sqlserver .ace_xml-pe {color: rgb(104, 104, 91);}.ace-sqlserver .ace_support.ace_storedprocedure {color: #800000;}.ace-sqlserver .ace_heading {color: rgb(12, 7, 255);}.ace-sqlserver .ace_list {color: rgb(185, 6, 144);}.ace-sqlserver .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-sqlserver .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-sqlserver .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-sqlserver .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-sqlserver .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-sqlserver .ace_gutter-active-line {background-color: #dcdcdc;}.ace-sqlserver .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-sqlserver .ace_meta.ace_tag {color: #0000FF;}.ace-sqlserver .ace_string.ace_regex {color: #FF0000;}.ace-sqlserver .ace_string {color: #FF0000;}.ace-sqlserver .ace_entity.ace_other.ace_attribute-name {color: #994409;}.ace-sqlserver .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/ace/theme-terminal.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/terminal",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-terminal-theme",t.cssText=".ace-terminal-theme .ace_gutter {background: #1a0005;color: steelblue}.ace-terminal-theme .ace_print-margin {width: 1px;background: #1a1a1a}.ace-terminal-theme {background-color: black;color: #DEDEDE}.ace-terminal-theme .ace_cursor {color: #9F9F9F}.ace-terminal-theme .ace_marker-layer .ace_selection {background: #424242}.ace-terminal-theme.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px black;}.ace-terminal-theme .ace_marker-layer .ace_step {background: rgb(0, 0, 0)}.ace-terminal-theme .ace_marker-layer .ace_bracket {background: #090;}.ace-terminal-theme .ace_marker-layer .ace_bracket-start {background: #090;}.ace-terminal-theme .ace_marker-layer .ace_bracket-unmatched {margin: -1px 0 0 -1px;border: 1px solid #900}.ace-terminal-theme .ace_marker-layer .ace_active-line {background: #2A2A2A}.ace-terminal-theme .ace_gutter-active-line {background-color: #2A112A}.ace-terminal-theme .ace_marker-layer .ace_selected-word {border: 1px solid #424242}.ace-terminal-theme .ace_invisible {color: #343434}.ace-terminal-theme .ace_keyword,.ace-terminal-theme .ace_meta,.ace-terminal-theme .ace_storage,.ace-terminal-theme .ace_storage.ace_type,.ace-terminal-theme .ace_support.ace_type {color: tomato}.ace-terminal-theme .ace_keyword.ace_operator {color: deeppink}.ace-terminal-theme .ace_constant.ace_character,.ace-terminal-theme .ace_constant.ace_language,.ace-terminal-theme .ace_constant.ace_numeric,.ace-terminal-theme .ace_keyword.ace_other.ace_unit,.ace-terminal-theme .ace_support.ace_constant,.ace-terminal-theme .ace_variable.ace_parameter {color: #E78C45}.ace-terminal-theme .ace_constant.ace_other {color: gold}.ace-terminal-theme .ace_invalid {color: yellow;background-color: red}.ace-terminal-theme .ace_invalid.ace_deprecated {color: #CED2CF;background-color: #B798BF}.ace-terminal-theme .ace_fold {background-color: #7AA6DA;border-color: #DEDEDE}.ace-terminal-theme .ace_entity.ace_name.ace_function,.ace-terminal-theme .ace_support.ace_function,.ace-terminal-theme .ace_variable {color: #7AA6DA}.ace-terminal-theme .ace_support.ace_class,.ace-terminal-theme .ace_support.ace_type {color: #E7C547}.ace-terminal-theme .ace_heading,.ace-terminal-theme .ace_string {color: #B9CA4A}.ace-terminal-theme .ace_entity.ace_name.ace_tag,.ace-terminal-theme .ace_entity.ace_other.ace_attribute-name,.ace-terminal-theme .ace_meta.ace_tag,.ace-terminal-theme .ace_string.ace_regexp,.ace-terminal-theme .ace_variable {color: #D54E53}.ace-terminal-theme .ace_comment {color: orangered}.ace-terminal-theme .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYLBWV/8PAAK4AYnhiq+xAAAAAElFTkSuQmCC) right repeat-y;}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/ace/theme-tomorrow_night_blue.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/tomorrow_night_blue",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-tomorrow-night-blue",t.cssText=".ace-tomorrow-night-blue .ace_gutter {background: #00204b;color: #7388b5}.ace-tomorrow-night-blue .ace_print-margin {width: 1px;background: #00204b}.ace-tomorrow-night-blue {background-color: #002451;color: #FFFFFF}.ace-tomorrow-night-blue .ace_constant.ace_other,.ace-tomorrow-night-blue .ace_cursor {color: #FFFFFF}.ace-tomorrow-night-blue .ace_marker-layer .ace_selection {background: #003F8E}.ace-tomorrow-night-blue.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #002451;}.ace-tomorrow-night-blue .ace_marker-layer .ace_step {background: rgb(127, 111, 19)}.ace-tomorrow-night-blue .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #404F7D}.ace-tomorrow-night-blue .ace_marker-layer .ace_active-line {background: #00346E}.ace-tomorrow-night-blue .ace_gutter-active-line {background-color: #022040}.ace-tomorrow-night-blue .ace_marker-layer .ace_selected-word {border: 1px solid #003F8E}.ace-tomorrow-night-blue .ace_invisible {color: #404F7D}.ace-tomorrow-night-blue .ace_keyword,.ace-tomorrow-night-blue .ace_meta,.ace-tomorrow-night-blue .ace_storage,.ace-tomorrow-night-blue .ace_storage.ace_type,.ace-tomorrow-night-blue .ace_support.ace_type {color: #EBBBFF}.ace-tomorrow-night-blue .ace_keyword.ace_operator {color: #99FFFF}.ace-tomorrow-night-blue .ace_constant.ace_character,.ace-tomorrow-night-blue .ace_constant.ace_language,.ace-tomorrow-night-blue .ace_constant.ace_numeric,.ace-tomorrow-night-blue .ace_keyword.ace_other.ace_unit,.ace-tomorrow-night-blue .ace_support.ace_constant,.ace-tomorrow-night-blue .ace_variable.ace_parameter {color: #FFC58F}.ace-tomorrow-night-blue .ace_invalid {color: #FFFFFF;background-color: #F99DA5}.ace-tomorrow-night-blue .ace_invalid.ace_deprecated {color: #FFFFFF;background-color: #EBBBFF}.ace-tomorrow-night-blue .ace_fold {background-color: #BBDAFF;border-color: #FFFFFF}.ace-tomorrow-night-blue .ace_entity.ace_name.ace_function,.ace-tomorrow-night-blue .ace_support.ace_function,.ace-tomorrow-night-blue .ace_variable {color: #BBDAFF}.ace-tomorrow-night-blue .ace_support.ace_class,.ace-tomorrow-night-blue .ace_support.ace_type {color: #FFEEAD}.ace-tomorrow-night-blue .ace_heading,.ace-tomorrow-night-blue .ace_markup.ace_heading,.ace-tomorrow-night-blue .ace_string {color: #D1F1A9}.ace-tomorrow-night-blue .ace_entity.ace_name.ace_tag,.ace-tomorrow-night-blue .ace_entity.ace_other.ace_attribute-name,.ace-tomorrow-night-blue .ace_meta.ace_tag,.ace-tomorrow-night-blue .ace_string.ace_regexp,.ace-tomorrow-night-blue .ace_variable {color: #FF9DA4}.ace-tomorrow-night-blue .ace_comment {color: #7285B7}.ace-tomorrow-night-blue .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYJDzqfwPAANXAeNsiA+ZAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Model/ErrorModel.class.php: -------------------------------------------------------------------------------- 1 | checkPlugin (); 11 | 12 | $errMsg = '在 ' . $errfile . ' 的第 ' . $errline . ' 行发生了一个错误:' . "\n" . $errstr; 13 | $this->sendError (MASTER, $this->replacePath ($errMsg)); 14 | } 15 | public function exceptionHandler ($exception) { 16 | $GLOBALS['statistics']['error_total']++; 17 | $this->checkPlugin (); 18 | 19 | $errMsg = $exception->getMessage() . "\n"; 20 | foreach ($exception->getTrace () as $i => $ep_d) { 21 | $errMsg .= '在 ' . $ep_d['file'] . ' 的第 ' . $ep_d['line'] . ' 行发生了一个异常:' . "\n"; 22 | if (!empty ($ep_d['class'])) { 23 | $errMsg .= $ep_d['class'] . '->'; 24 | } 25 | if (!empty ($ep_d['function'])) { 26 | $errMsg .= $ep_d['function'] . ' '; 27 | $errMsg .= '('; 28 | 29 | if (!empty ($ep_d['args'])) { 30 | $errMsg .= var_export ($ep_d['args'], true); 31 | } 32 | 33 | $errMsg .= ')'; 34 | } 35 | $errMsg .= "\n"; 36 | } 37 | $this->sendError (MASTER, $this->replacePath ($errMsg)); 38 | } 39 | public function sendError ($chat_id = MASTER, $text = '发生了一个错误') { 40 | /** 判断是否发送报告 */ 41 | if (DEBUG) { 42 | $url = 'https://api.telegram.org/bot' . TOKEN . '/sendMessage'; 43 | $postdata = [ 44 | 'chat_id' => $chat_id, 45 | 'text' => $text 46 | ]; 47 | 48 | $ch = curl_init (); 49 | curl_setopt ($ch, CURLOPT_URL, $url); 50 | curl_setopt ($ch, CURLOPT_POSTFIELDS, $postdata); 51 | curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, false); 52 | curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true); 53 | $re = curl_exec ($ch); 54 | curl_close ($ch); 55 | } 56 | } 57 | private function checkPlugin () { 58 | if (isset ($GLOBALS['cuPlugin'])) { 59 | $this->db->update ('plugins', [ 60 | 'lasterror' => time () 61 | ], [ 62 | 'pcn' => $GLOBALS['cuPlugin'] 63 | ]); 64 | } 65 | } 66 | private function replacePath ($str) { 67 | return str_replace (APP_PATH, '', $str); 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /Templates/assets/ace/theme-katzenmilch.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/katzenmilch",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-katzenmilch",t.cssText=".ace-katzenmilch .ace_gutter,.ace-katzenmilch .ace_gutter {background: #e8e8e8;color: #333}.ace-katzenmilch .ace_print-margin {width: 1px;background: #e8e8e8}.ace-katzenmilch {background-color: #f3f2f3;color: rgba(15, 0, 9, 1.0)}.ace-katzenmilch .ace_cursor {border-left: 2px solid #100011}.ace-katzenmilch .ace_overwrite-cursors .ace_cursor {border-left: 0px;border-bottom: 1px solid #100011}.ace-katzenmilch .ace_marker-layer .ace_selection {background: rgba(100, 5, 208, 0.27)}.ace-katzenmilch.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #f3f2f3;}.ace-katzenmilch .ace_marker-layer .ace_step {background: rgb(198, 219, 174)}.ace-katzenmilch .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(0, 0, 0, 0.33);}.ace-katzenmilch .ace_marker-layer .ace_active-line {background: rgb(232, 242, 254)}.ace-katzenmilch .ace_gutter-active-line {background-color: rgb(232, 242, 254)}.ace-katzenmilch .ace_marker-layer .ace_selected-word {border: 1px solid rgba(100, 5, 208, 0.27)}.ace-katzenmilch .ace_invisible {color: #BFBFBF}.ace-katzenmilch .ace_fold {background-color: rgba(2, 95, 73, 0.97);border-color: rgba(15, 0, 9, 1.0)}.ace-katzenmilch .ace_keyword {color: #674Aa8;rbackground-color: rgba(163, 170, 216, 0.055)}.ace-katzenmilch .ace_constant.ace_language {color: #7D7e52;rbackground-color: rgba(189, 190, 130, 0.059)}.ace-katzenmilch .ace_constant.ace_numeric {color: rgba(79, 130, 123, 0.93);rbackground-color: rgba(119, 194, 187, 0.059)}.ace-katzenmilch .ace_constant.ace_character,.ace-katzenmilch .ace_constant.ace_other {color: rgba(2, 95, 105, 1.0);rbackground-color: rgba(127, 34, 153, 0.063)}.ace-katzenmilch .ace_support.ace_function {color: #9D7e62;rbackground-color: rgba(189, 190, 130, 0.039)}.ace-katzenmilch .ace_support.ace_class {color: rgba(239, 106, 167, 1.0);rbackground-color: rgba(239, 106, 167, 0.063)}.ace-katzenmilch .ace_storage {color: rgba(123, 92, 191, 1.0);rbackground-color: rgba(139, 93, 223, 0.051)}.ace-katzenmilch .ace_invalid {color: #DFDFD5;rbackground-color: #CC1B27}.ace-katzenmilch .ace_string {color: #5a5f9b;rbackground-color: rgba(170, 175, 219, 0.035)}.ace-katzenmilch .ace_comment {font-style: italic;color: rgba(64, 79, 80, 0.67);rbackground-color: rgba(95, 15, 255, 0.0078)}.ace-katzenmilch .ace_entity.ace_name.ace_function,.ace-katzenmilch .ace_variable {color: rgba(2, 95, 73, 0.97);rbackground-color: rgba(34, 255, 73, 0.12)}.ace-katzenmilch .ace_variable.ace_language {color: #316fcf;rbackground-color: rgba(58, 175, 255, 0.039)}.ace-katzenmilch .ace_variable.ace_parameter {font-style: italic;color: rgba(51, 150, 159, 0.87);rbackground-color: rgba(5, 214, 249, 0.043)}.ace-katzenmilch .ace_entity.ace_other.ace_attribute-name {color: rgba(73, 70, 194, 0.93);rbackground-color: rgba(73, 134, 194, 0.035)}.ace-katzenmilch .ace_entity.ace_name.ace_tag {color: #3976a2;rbackground-color: rgba(73, 166, 210, 0.039)}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/ace/theme-dreamweaver.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/dreamweaver",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-dreamweaver",t.cssText='.ace-dreamweaver .ace_gutter {background: #e8e8e8;color: #333;}.ace-dreamweaver .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-dreamweaver {background-color: #FFFFFF;color: black;}.ace-dreamweaver .ace_fold {background-color: #757AD8;}.ace-dreamweaver .ace_cursor {color: black;}.ace-dreamweaver .ace_invisible {color: rgb(191, 191, 191);}.ace-dreamweaver .ace_storage,.ace-dreamweaver .ace_keyword {color: blue;}.ace-dreamweaver .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-dreamweaver .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-dreamweaver .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-dreamweaver .ace_invalid {background-color: rgb(153, 0, 0);color: white;}.ace-dreamweaver .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-dreamweaver .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-dreamweaver .ace_support.ace_type,.ace-dreamweaver .ace_support.ace_class {color: #009;}.ace-dreamweaver .ace_support.ace_php_tag {color: #f00;}.ace-dreamweaver .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-dreamweaver .ace_string {color: #00F;}.ace-dreamweaver .ace_comment {color: rgb(76, 136, 107);}.ace-dreamweaver .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-dreamweaver .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-dreamweaver .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-dreamweaver .ace_variable {color: #06F}.ace-dreamweaver .ace_xml-pe {color: rgb(104, 104, 91);}.ace-dreamweaver .ace_entity.ace_name.ace_function {color: #00F;}.ace-dreamweaver .ace_heading {color: rgb(12, 7, 255);}.ace-dreamweaver .ace_list {color:rgb(185, 6, 144);}.ace-dreamweaver .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-dreamweaver .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-dreamweaver .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-dreamweaver .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-dreamweaver .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-dreamweaver .ace_gutter-active-line {background-color : #DCDCDC;}.ace-dreamweaver .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-dreamweaver .ace_meta.ace_tag {color:#009;}.ace-dreamweaver .ace_meta.ace_tag.ace_anchor {color:#060;}.ace-dreamweaver .ace_meta.ace_tag.ace_form {color:#F90;}.ace-dreamweaver .ace_meta.ace_tag.ace_image {color:#909;}.ace-dreamweaver .ace_meta.ace_tag.ace_script {color:#900;}.ace-dreamweaver .ace_meta.ace_tag.ace_style {color:#909;}.ace-dreamweaver .ace_meta.ace_tag.ace_table {color:#099;}.ace-dreamweaver .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-dreamweaver .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/config.js: -------------------------------------------------------------------------------- 1 | /** 2 | 3 | @Name:layuiAdmin iframe版全局配置 4 | @Author:贤心 5 | @Site:http://www.layui.com/admin/ 6 | @License:LPPL(layui付费产品协议) 7 | 8 | */ 9 | 10 | layui.define(['laytpl', 'layer', 'element', 'util'], function(exports){ 11 | exports('setter', { 12 | container: 'LAY_app' //容器ID 13 | ,base: layui.cache.base //记录静态资源所在路径 14 | ,views: layui.cache.base + 'tpl/' //动态模板所在目录 15 | ,entry: 'index' //默认视图文件名 16 | ,engine: '.html' //视图文件后缀名 17 | ,pageTabs: true //是否开启页面选项卡功能。iframe版推荐开启 18 | 19 | ,name: 'Tboadmin' 20 | ,tableName: 'Tboadmin' //本地存储表名 21 | ,MOD_NAME: 'admin' //模块事件名 22 | 23 | ,debug: true //是否开启调试模式。如开启,接口异常时会抛出异常 URL 等信息 24 | 25 | //自定义请求字段 26 | ,request: { 27 | tokenName: false //自动携带 token 的字段名(如:access_token)。可设置 false 不携带。 28 | } 29 | 30 | //自定义响应字段 31 | ,response: { 32 | statusName: 'code' //数据状态的字段名称 33 | ,statusCode: { 34 | ok: 0 //数据状态一切正常的状态码 35 | ,logout: 1001 //登录状态失效的状态码 36 | } 37 | ,msgName: 'msg' //状态信息的字段名称 38 | ,dataName: 'data' //数据详情的字段名称 39 | } 40 | 41 | //扩展的第三方模块 42 | ,extend: [ 43 | 'echarts', //echarts 核心包 44 | 'echartsTheme' //echarts 主题 45 | ] 46 | 47 | //主题配置 48 | ,theme: { 49 | //内置主题配色方案 50 | color: [{ 51 | main: '#20222A' //主题色 52 | ,selected: '#009688' //选中色 53 | ,alias: 'default' //默认别名 54 | },{ 55 | main: '#03152A' 56 | ,selected: '#3B91FF' 57 | ,alias: 'dark-blue' //藏蓝 58 | },{ 59 | main: '#2E241B' 60 | ,selected: '#A48566' 61 | ,alias: 'coffee' //咖啡 62 | },{ 63 | main: '#50314F' 64 | ,selected: '#7A4D7B' 65 | ,alias: 'purple-red' //紫红 66 | },{ 67 | main: '#344058' 68 | ,logo: '#1E9FFF' 69 | ,selected: '#1E9FFF' 70 | ,alias: 'ocean' //海洋 71 | },{ 72 | main: '#3A3D49' 73 | ,logo: '#2F9688' 74 | ,selected: '#5FB878' 75 | ,alias: 'green' //墨绿 76 | },{ 77 | main: '#20222A' 78 | ,logo: '#F78400' 79 | ,selected: '#F78400' 80 | ,alias: 'red' //橙色 81 | },{ 82 | main: '#28333E' 83 | ,logo: '#AA3130' 84 | ,selected: '#AA3130' 85 | ,alias: 'fashion-red' //时尚红 86 | },{ 87 | main: '#24262F' 88 | ,logo: '#3A3D49' 89 | ,selected: '#009688' 90 | ,alias: 'classic-black' //经典黑 91 | },{ 92 | logo: '#226A62' 93 | ,header: '#2F9688' 94 | ,alias: 'green-header' //墨绿头 95 | },{ 96 | main: '#344058' 97 | ,logo: '#0085E8' 98 | ,selected: '#1E9FFF' 99 | ,header: '#1E9FFF' 100 | ,alias: 'ocean-header' //海洋头 101 | },{ 102 | header: '#393D49' 103 | ,alias: 'classic-black-header' //经典黑头 104 | }] 105 | 106 | //初始的颜色索引,对应上面的配色方案数组索引 107 | //如果本地已经有主题色记录,则以本地记录为优先,除非请求本地数据(localStorage) 108 | ,initColorIndex: 0 109 | } 110 | }); 111 | }); 112 | -------------------------------------------------------------------------------- /Templates/assets/ace/theme-tomorrow_night_eighties.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/tomorrow_night_eighties",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-tomorrow-night-eighties",t.cssText=".ace-tomorrow-night-eighties .ace_gutter {background: #272727;color: #CCC}.ace-tomorrow-night-eighties .ace_print-margin {width: 1px;background: #272727}.ace-tomorrow-night-eighties {background-color: #2D2D2D;color: #CCCCCC}.ace-tomorrow-night-eighties .ace_constant.ace_other,.ace-tomorrow-night-eighties .ace_cursor {color: #CCCCCC}.ace-tomorrow-night-eighties .ace_marker-layer .ace_selection {background: #515151}.ace-tomorrow-night-eighties.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #2D2D2D;}.ace-tomorrow-night-eighties .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-tomorrow-night-eighties .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #6A6A6A}.ace-tomorrow-night-bright .ace_stack {background: rgb(66, 90, 44)}.ace-tomorrow-night-eighties .ace_marker-layer .ace_active-line {background: #393939}.ace-tomorrow-night-eighties .ace_gutter-active-line {background-color: #393939}.ace-tomorrow-night-eighties .ace_marker-layer .ace_selected-word {border: 1px solid #515151}.ace-tomorrow-night-eighties .ace_invisible {color: #6A6A6A}.ace-tomorrow-night-eighties .ace_keyword,.ace-tomorrow-night-eighties .ace_meta,.ace-tomorrow-night-eighties .ace_storage,.ace-tomorrow-night-eighties .ace_storage.ace_type,.ace-tomorrow-night-eighties .ace_support.ace_type {color: #CC99CC}.ace-tomorrow-night-eighties .ace_keyword.ace_operator {color: #66CCCC}.ace-tomorrow-night-eighties .ace_constant.ace_character,.ace-tomorrow-night-eighties .ace_constant.ace_language,.ace-tomorrow-night-eighties .ace_constant.ace_numeric,.ace-tomorrow-night-eighties .ace_keyword.ace_other.ace_unit,.ace-tomorrow-night-eighties .ace_support.ace_constant,.ace-tomorrow-night-eighties .ace_variable.ace_parameter {color: #F99157}.ace-tomorrow-night-eighties .ace_invalid {color: #CDCDCD;background-color: #F2777A}.ace-tomorrow-night-eighties .ace_invalid.ace_deprecated {color: #CDCDCD;background-color: #CC99CC}.ace-tomorrow-night-eighties .ace_fold {background-color: #6699CC;border-color: #CCCCCC}.ace-tomorrow-night-eighties .ace_entity.ace_name.ace_function,.ace-tomorrow-night-eighties .ace_support.ace_function,.ace-tomorrow-night-eighties .ace_variable {color: #6699CC}.ace-tomorrow-night-eighties .ace_support.ace_class,.ace-tomorrow-night-eighties .ace_support.ace_type {color: #FFCC66}.ace-tomorrow-night-eighties .ace_heading,.ace-tomorrow-night-eighties .ace_markup.ace_heading,.ace-tomorrow-night-eighties .ace_string {color: #99CC99}.ace-tomorrow-night-eighties .ace_comment {color: #999999}.ace-tomorrow-night-eighties .ace_entity.ace_name.ace_tag,.ace-tomorrow-night-eighties .ace_entity.ace_other.ace_attribute-name,.ace-tomorrow-night-eighties .ace_meta.ace_tag,.ace-tomorrow-night-eighties .ace_variable {color: #F2777A}.ace-tomorrow-night-eighties .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ09NrYAgMjP4PAAtGAwchHMyAAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /Templates/assets/modules/contlist.js: -------------------------------------------------------------------------------- 1 | /** layuiAdmin.std-v1.0.0 LPPL License By http://www.layui.com/admin/ */ 2 | ;layui.define(["table","form"],function(t){var e=layui.$,i=layui.table,n=layui.form;i.render({elem:"#LAY-app-content-list",url:layui.setter.base+"json/content/list.js",cols:[[{type:"checkbox",fixed:"left"},{field:"id",width:100,title:"文章ID",sort:!0},{field:"label",title:"文章标签",minWidth:100},{field:"title",title:"文章标题"},{field:"author",title:"作者"},{field:"uploadtime",title:"上传时间",sort:!0},{field:"status",title:"发布状态",templet:"#buttonTpl",minWidth:80,align:"center"},{title:"操作",minWidth:150,align:"center",fixed:"right",toolbar:"#table-content-list"}]],page:!0,limit:10,limits:[10,15,20,25,30],text:"对不起,加载出现异常!"}),i.on("tool(LAY-app-content-list)",function(t){var e=t.data;"del"===t.event?layer.confirm("确定删除此文章?",function(e){t.del(),layer.close(e)}):"edit"===t.event&&layer.open({type:2,title:"编辑文章",content:"../../../views/app/content/listform.html?id="+e.id,maxmin:!0,area:["550px","550px"],btn:["确定","取消"],yes:function(e,i){var l=window["layui-layer-iframe"+e],a=i.find("iframe").contents().find("#layuiadmin-app-form-edit");l.layui.form.on("submit(layuiadmin-app-form-edit)",function(i){var l=i.field;t.update({label:l.label,title:l.title,author:l.author,status:l.status}),n.render(),layer.close(e)}),a.trigger("click")}})}),i.render({elem:"#LAY-app-content-tags",url:layui.setter.base+"json/content/tags.js",cols:[[{type:"numbers",fixed:"left"},{field:"id",width:100,title:"ID",sort:!0},{field:"tags",title:"分类名",minWidth:100},{title:"操作",width:150,align:"center",fixed:"right",toolbar:"#layuiadmin-app-cont-tagsbar"}]],text:"对不起,加载出现异常!"}),i.on("tool(LAY-app-content-tags)",function(t){var i=t.data;if("del"===t.event)layer.confirm("确定删除此分类?",function(e){t.del(),layer.close(e)});else if("edit"===t.event){e(t.tr);layer.open({type:2,title:"编辑分类",content:"../../../views/app/content/tagsform.html?id="+i.id,area:["450px","200px"],btn:["确定","取消"],yes:function(e,i){var n=i.find("iframe").contents().find("#layuiadmin-app-form-tags"),l=n.find('input[name="tags"]').val();l.replace(/\s/g,"")&&(t.update({tags:l}),layer.close(e))},success:function(t,e){var n=t.find("iframe").contents().find("#layuiadmin-app-form-tags").click();n.find('input[name="tags"]').val(i.tags)}})}}),i.render({elem:"#LAY-app-content-comm",url:layui.setter.base+"json/content/comment.js",cols:[[{type:"checkbox",fixed:"left"},{field:"id",width:100,title:"ID",sort:!0},{field:"reviewers",title:"评论者",minWidth:100},{field:"content",title:"评论内容",minWidth:100},{field:"commtime",title:"评论时间",minWidth:100,sort:!0},{title:"操作",width:150,align:"center",fixed:"right",toolbar:"#table-content-com"}]],page:!0,limit:10,limits:[10,15,20,25,30],text:"对不起,加载出现异常!"}),i.on("tool(LAY-app-content-comm)",function(t){t.data;"del"===t.event?layer.confirm("确定删除此条评论?",function(e){t.del(),layer.close(e)}):"edit"===t.event&&layer.open({type:2,title:"编辑评论",content:"../../../views/app/content/contform.html",area:["450px","300px"],btn:["确定","取消"],yes:function(t,e){var n=window["layui-layer-iframe"+t],l="layuiadmin-app-comm-submit",a=e.find("iframe").contents().find("#"+l);n.layui.form.on("submit("+l+")",function(e){e.field;i.reload("LAY-app-content-comm"),layer.close(t)}),a.trigger("click")},success:function(t,e){}})}),t("contlist",{})}); -------------------------------------------------------------------------------- /Templates/assets/layui/css/modules/layim/html/chatlog.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 聊天记录 9 | 10 | 11 | 14 | 15 | 16 | 17 |
    18 |
      19 |
      20 | 21 |
      22 | 23 | 24 | 33 | 34 | 38 | 39 | 40 | 41 | 95 | 96 | 97 | --------------------------------------------------------------------------------