Showing
48 changed files
with
0 additions
and
4802 deletions
Too many changes to show.
To preserve performance only 48 of 48+ files are displayed.
| 1 | -<?php | ||
| 2 | -//000000000000 | ||
| 3 | - exit();?> | ||
| 4 | -think_serialize:a:6:{s:5:"title";a:18:{s:2:"id";i:1;s:8:"moduleid";i:1;s:5:"field";s:5:"title";s:4:"name";s:6:"标题";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:1;s:9:"maxlength";i:80;s:7:"pattern";s:6:"defaul";s:8:"errormsg";s:28:"标题必须为1-80个字符";s:5:"class";s:5:"title";s:4:"type";s:5:"title";s:5:"setup";s:45:"array ( | ||
| 5 | - 'thumb' => '1', | ||
| 6 | - 'style' => '1', | ||
| 7 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:1;s:6:"status";i:1;s:8:"issystem";i:1;}s:7:"content";a:18:{s:2:"id";i:6;s:8:"moduleid";i:1;s:5:"field";s:7:"content";s:4:"name";s:6:"内容";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:6:"defaul";s:8:"errormsg";s:0:"";s:5:"class";s:7:"content";s:4:"type";s:6:"editor";s:5:"setup";s:36:"array ( | ||
| 8 | - 'edittype' => 'UEditor', | ||
| 9 | -)";s:6:"ispost";i:0;s:11:"unpostgroup";s:0:"";s:4:"sort";i:3;s:6:"status";i:1;s:8:"issystem";i:0;}s:4:"hits";a:18:{s:2:"id";i:2;s:8:"moduleid";i:1;s:5:"field";s:4:"hits";s:4:"name";s:12:"点击次数";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:8;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:6:"number";s:5:"setup";s:96:"array ( | ||
| 10 | - 'size' => '10', | ||
| 11 | - 'numbertype' => '1', | ||
| 12 | - 'decimaldigits' => '0', | ||
| 13 | - 'default' => '0', | ||
| 14 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:8;s:6:"status";i:0;s:8:"issystem";i:0;}s:10:"createtime";a:18:{s:2:"id";i:3;s:8:"moduleid";i:1;s:5:"field";s:10:"createtime";s:4:"name";s:12:"发布时间";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:4:"date";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:8:"datetime";s:5:"setup";s:0:"";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:97;s:6:"status";i:1;s:8:"issystem";i:1;}s:6:"status";a:18:{s:2:"id";i:5;s:8:"moduleid";i:1;s:5:"field";s:6:"status";s:4:"name";s:6:"状态";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:6:"defaul";s:8:"errormsg";s:0:"";s:5:"class";s:6:"status";s:4:"type";s:5:"radio";s:5:"setup";s:122:"array ( | ||
| 15 | - 'options' => '发布|1 | ||
| 16 | -定时发布|0', | ||
| 17 | - 'fieldtype' => 'varchar', | ||
| 18 | - 'numbertype' => '1', | ||
| 19 | - 'default' => '1', | ||
| 20 | -)";s:6:"ispost";i:0;s:11:"unpostgroup";s:0:"";s:4:"sort";i:98;s:6:"status";i:1;s:8:"issystem";i:1;}s:8:"template";a:18:{s:2:"id";i:4;s:8:"moduleid";i:1;s:5:"field";s:8:"template";s:4:"name";s:6:"模板";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:8:"template";s:5:"setup";s:0:"";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:99;s:6:"status";i:1;s:8:"issystem";i:1;}} |
| 1 | -<?php | ||
| 2 | -//000000000000 | ||
| 3 | - exit();?> | ||
| 4 | -think_serialize:a:15:{s:5:"catid";a:18:{s:2:"id";i:20;s:8:"moduleid";i:3;s:5:"field";s:5:"catid";s:4:"name";s:6:"栏目";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:1;s:9:"maxlength";i:6;s:7:"pattern";s:0:"";s:8:"errormsg";s:24:"必须选择一个栏目";s:5:"class";s:0:"";s:4:"type";s:5:"catid";s:5:"setup";s:0:"";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:1;s:6:"status";i:1;s:8:"issystem";i:1;}s:5:"title";a:18:{s:2:"id";i:21;s:8:"moduleid";i:3;s:5:"field";s:5:"title";s:4:"name";s:6:"标题";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:1;s:9:"maxlength";i:80;s:7:"pattern";s:6:"defaul";s:8:"errormsg";s:28:"标题必须为1-80个字符";s:5:"class";s:0:"";s:4:"type";s:5:"title";s:5:"setup";s:45:"array ( | ||
| 5 | - 'thumb' => '0', | ||
| 6 | - 'style' => '0', | ||
| 7 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:2;s:6:"status";i:1;s:8:"issystem";i:1;}s:8:"keywords";a:18:{s:2:"id";i:22;s:8:"moduleid";i:3;s:5:"field";s:8:"keywords";s:4:"name";s:9:"关键词";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:80;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:4:"text";s:5:"setup";s:97:"array ( | ||
| 8 | - 'size' => '55', | ||
| 9 | - 'default' => '', | ||
| 10 | - 'ispassword' => '0', | ||
| 11 | - 'fieldtype' => 'varchar', | ||
| 12 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:3;s:6:"status";i:1;s:8:"issystem";i:1;}s:11:"description";a:18:{s:2:"id";i:23;s:8:"moduleid";i:3;s:5:"field";s:11:"description";s:4:"name";s:9:"SEO简介";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:8:"textarea";s:5:"setup";s:94:"array ( | ||
| 13 | - 'fieldtype' => 'mediumtext', | ||
| 14 | - 'rows' => '4', | ||
| 15 | - 'cols' => '55', | ||
| 16 | - 'default' => '', | ||
| 17 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:4;s:6:"status";i:1;s:8:"issystem";i:1;}s:3:"pic";a:18:{s:2:"id";i:33;s:8:"moduleid";i:3;s:5:"field";s:3:"pic";s:4:"name";s:6:"图片";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:6:"defaul";s:8:"errormsg";s:0:"";s:5:"class";s:3:"pic";s:4:"type";s:5:"image";s:5:"setup";s:0:"";s:6:"ispost";i:0;s:11:"unpostgroup";s:0:"";s:4:"sort";i:5;s:6:"status";i:1;s:8:"issystem";i:0;}s:5:"group";a:18:{s:2:"id";i:34;s:8:"moduleid";i:3;s:5:"field";s:5:"group";s:4:"name";s:6:"类型";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:6:"defaul";s:8:"errormsg";s:0:"";s:5:"class";s:5:"group";s:4:"type";s:6:"select";s:5:"setup";s:179:"array ( | ||
| 18 | - 'options' => '模型管理|1 | ||
| 19 | -分类管理|2 | ||
| 20 | -内容管理|3', | ||
| 21 | - 'multiple' => '0', | ||
| 22 | - 'fieldtype' => 'varchar', | ||
| 23 | - 'numbertype' => '1', | ||
| 24 | - 'size' => '', | ||
| 25 | - 'default' => '', | ||
| 26 | -)";s:6:"ispost";i:0;s:11:"unpostgroup";s:0:"";s:4:"sort";i:6;s:6:"status";i:1;s:8:"issystem";i:0;}s:7:"content";a:18:{s:2:"id";i:24;s:8:"moduleid";i:3;s:5:"field";s:7:"content";s:4:"name";s:6:"内容";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:6:"defaul";s:8:"errormsg";s:0:"";s:5:"class";s:7:"content";s:4:"type";s:6:"editor";s:5:"setup";s:36:"array ( | ||
| 27 | - 'edittype' => 'layedit', | ||
| 28 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:7;s:6:"status";i:1;s:8:"issystem";i:1;}s:10:"createtime";a:18:{s:2:"id";i:25;s:8:"moduleid";i:3;s:5:"field";s:10:"createtime";s:4:"name";s:12:"发布时间";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:4:"date";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:8:"datetime";s:5:"setup";s:0:"";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:8;s:6:"status";i:1;s:8:"issystem";i:1;}s:6:"status";a:18:{s:2:"id";i:32;s:8:"moduleid";i:3;s:5:"field";s:6:"status";s:4:"name";s:6:"状态";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:5:"radio";s:5:"setup";s:147:"array ( | ||
| 29 | - 'options' => '发布|1 | ||
| 30 | -定时发布|0', | ||
| 31 | - 'fieldtype' => 'tinyint', | ||
| 32 | - 'numbertype' => '1', | ||
| 33 | - 'labelwidth' => '75', | ||
| 34 | - 'default' => '1', | ||
| 35 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:9;s:6:"status";i:1;s:8:"issystem";i:1;}s:9:"recommend";a:18:{s:2:"id";i:26;s:8:"moduleid";i:3;s:5:"field";s:9:"recommend";s:4:"name";s:12:"允许评论";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:1;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:5:"radio";s:5:"setup";s:153:"array ( | ||
| 36 | - 'options' => '允许评论|1 | ||
| 37 | -不允许评论|0', | ||
| 38 | - 'fieldtype' => 'tinyint', | ||
| 39 | - 'numbertype' => '1', | ||
| 40 | - 'labelwidth' => '', | ||
| 41 | - 'default' => '', | ||
| 42 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:10;s:6:"status";i:0;s:8:"issystem";i:0;}s:9:"readpoint";a:18:{s:2:"id";i:27;s:8:"moduleid";i:3;s:5:"field";s:9:"readpoint";s:4:"name";s:12:"阅读收费";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:5;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:6:"number";s:5:"setup";s:95:"array ( | ||
| 43 | - 'size' => '5', | ||
| 44 | - 'numbertype' => '1', | ||
| 45 | - 'decimaldigits' => '0', | ||
| 46 | - 'default' => '0', | ||
| 47 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:11;s:6:"status";i:0;s:8:"issystem";i:0;}s:4:"hits";a:18:{s:2:"id";i:28;s:8:"moduleid";i:3;s:5:"field";s:4:"hits";s:4:"name";s:12:"点击次数";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:8;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:6:"number";s:5:"setup";s:96:"array ( | ||
| 48 | - 'size' => '10', | ||
| 49 | - 'numbertype' => '1', | ||
| 50 | - 'decimaldigits' => '0', | ||
| 51 | - 'default' => '0', | ||
| 52 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:12;s:6:"status";i:0;s:8:"issystem";i:0;}s:9:"readgroup";a:18:{s:2:"id";i:29;s:8:"moduleid";i:3;s:5:"field";s:9:"readgroup";s:4:"name";s:12:"访问权限";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:7:"groupid";s:5:"setup";s:109:"array ( | ||
| 53 | - 'inputtype' => 'checkbox', | ||
| 54 | - 'fieldtype' => 'tinyint', | ||
| 55 | - 'labelwidth' => '85', | ||
| 56 | - 'default' => '', | ||
| 57 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:13;s:6:"status";i:0;s:8:"issystem";i:1;}s:5:"posid";a:18:{s:2:"id";i:30;s:8:"moduleid";i:3;s:5:"field";s:5:"posid";s:4:"name";s:9:"推荐位";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:5:"posid";s:5:"setup";s:0:"";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:14;s:6:"status";i:1;s:8:"issystem";i:1;}s:8:"template";a:18:{s:2:"id";i:31;s:8:"moduleid";i:3;s:5:"field";s:8:"template";s:4:"name";s:6:"模板";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:8:"template";s:5:"setup";s:0:"";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:15;s:6:"status";i:1;s:8:"issystem";i:1;}} |
| 1 | -<?php | ||
| 2 | -//000000000000 | ||
| 3 | - exit();?> | ||
| 4 | -think_serialize:a:7:{s:5:"catid";a:18:{s:2:"id";i:73;s:8:"moduleid";i:6;s:5:"field";s:5:"catid";s:4:"name";s:6:"分类";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:6:"defaul";s:8:"errormsg";s:0:"";s:5:"class";s:5:"catid";s:4:"type";s:5:"catid";s:5:"setup";s:0:"";s:6:"ispost";i:0;s:11:"unpostgroup";s:0:"";s:4:"sort";i:1;s:6:"status";i:1;s:8:"issystem";i:0;}s:5:"title";a:18:{s:2:"id";i:68;s:8:"moduleid";i:6;s:5:"field";s:5:"title";s:4:"name";s:6:"标题";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:1;s:9:"maxlength";i:80;s:7:"pattern";s:0:"";s:8:"errormsg";s:28:"标题必须为1-80个字符";s:5:"class";s:0:"";s:4:"type";s:5:"title";s:5:"setup";s:63:"array ( | ||
| 5 | - 'thumb' => '1', | ||
| 6 | - 'style' => '1', | ||
| 7 | - 'size' => '55', | ||
| 8 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:2;s:6:"status";i:1;s:8:"issystem";i:1;}s:4:"info";a:18:{s:2:"id";i:74;s:8:"moduleid";i:6;s:5:"field";s:4:"info";s:4:"name";s:6:"简介";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:6:"defaul";s:8:"errormsg";s:0:"";s:5:"class";s:4:"info";s:4:"type";s:6:"editor";s:5:"setup";s:36:"array ( | ||
| 9 | - 'edittype' => 'layedit', | ||
| 10 | -)";s:6:"ispost";i:0;s:11:"unpostgroup";s:0:"";s:4:"sort";i:3;s:6:"status";i:1;s:8:"issystem";i:0;}s:10:"createtime";a:18:{s:2:"id";i:70;s:8:"moduleid";i:6;s:5:"field";s:10:"createtime";s:4:"name";s:12:"发布时间";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:4:"date";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:8:"datetime";s:5:"setup";s:0:"";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:4;s:6:"status";i:1;s:8:"issystem";i:1;}s:6:"status";a:18:{s:2:"id";i:72;s:8:"moduleid";i:6;s:5:"field";s:6:"status";s:4:"name";s:6:"状态";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:5:"radio";s:5:"setup";s:147:"array ( | ||
| 11 | - 'options' => '发布|1 | ||
| 12 | -定时发布|0', | ||
| 13 | - 'fieldtype' => 'tinyint', | ||
| 14 | - 'numbertype' => '1', | ||
| 15 | - 'labelwidth' => '75', | ||
| 16 | - 'default' => '1', | ||
| 17 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:5;s:6:"status";i:1;s:8:"issystem";i:1;}s:4:"hits";a:18:{s:2:"id";i:69;s:8:"moduleid";i:6;s:5:"field";s:4:"hits";s:4:"name";s:12:"点击次数";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:8;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:6:"number";s:5:"setup";s:96:"array ( | ||
| 18 | - 'size' => '10', | ||
| 19 | - 'numbertype' => '1', | ||
| 20 | - 'decimaldigits' => '0', | ||
| 21 | - 'default' => '0', | ||
| 22 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:6;s:6:"status";i:0;s:8:"issystem";i:0;}s:8:"template";a:18:{s:2:"id";i:71;s:8:"moduleid";i:6;s:5:"field";s:8:"template";s:4:"name";s:6:"模板";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:8:"template";s:5:"setup";s:0:"";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:7;s:6:"status";i:1;s:8:"issystem";i:1;}} |
| 1 | -<?php | ||
| 2 | -//000000000000 | ||
| 3 | - exit();?> | ||
| 4 | -think_serialize:a:16:{s:5:"catid";a:18:{s:2:"id";i:35;s:8:"moduleid";i:4;s:5:"field";s:5:"catid";s:4:"name";s:6:"栏目";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:1;s:9:"maxlength";i:6;s:7:"pattern";s:0:"";s:8:"errormsg";s:24:"必须选择一个栏目";s:5:"class";s:0:"";s:4:"type";s:5:"catid";s:5:"setup";s:0:"";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:1;s:6:"status";i:1;s:8:"issystem";i:1;}s:5:"title";a:18:{s:2:"id";i:36;s:8:"moduleid";i:4;s:5:"field";s:5:"title";s:4:"name";s:6:"标题";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:1;s:9:"maxlength";i:80;s:7:"pattern";s:0:"";s:8:"errormsg";s:28:"标题必须为1-80个字符";s:5:"class";s:0:"";s:4:"type";s:5:"title";s:5:"setup";s:63:"array ( | ||
| 5 | - 'thumb' => '1', | ||
| 6 | - 'style' => '1', | ||
| 7 | - 'size' => '55', | ||
| 8 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:2;s:6:"status";i:1;s:8:"issystem";i:1;}s:8:"keywords";a:18:{s:2:"id";i:37;s:8:"moduleid";i:4;s:5:"field";s:8:"keywords";s:4:"name";s:9:"关键词";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:80;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:4:"text";s:5:"setup";s:97:"array ( | ||
| 9 | - 'size' => '55', | ||
| 10 | - 'default' => '', | ||
| 11 | - 'ispassword' => '0', | ||
| 12 | - 'fieldtype' => 'varchar', | ||
| 13 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:3;s:6:"status";i:1;s:8:"issystem";i:1;}s:11:"description";a:18:{s:2:"id";i:38;s:8:"moduleid";i:4;s:5:"field";s:11:"description";s:4:"name";s:9:"SEO简介";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:8:"textarea";s:5:"setup";s:94:"array ( | ||
| 14 | - 'fieldtype' => 'mediumtext', | ||
| 15 | - 'rows' => '4', | ||
| 16 | - 'cols' => '55', | ||
| 17 | - 'default' => '', | ||
| 18 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:4;s:6:"status";i:1;s:8:"issystem";i:1;}s:5:"price";a:18:{s:2:"id";i:48;s:8:"moduleid";i:4;s:5:"field";s:5:"price";s:4:"name";s:6:"价格";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:6:"defaul";s:8:"errormsg";s:0:"";s:5:"class";s:5:"price";s:4:"type";s:6:"number";s:5:"setup";s:97:"array ( | ||
| 19 | - 'size' => '', | ||
| 20 | - 'numbertype' => '1', | ||
| 21 | - 'decimaldigits' => '2', | ||
| 22 | - 'default' => '0.00', | ||
| 23 | -)";s:6:"ispost";i:0;s:11:"unpostgroup";s:0:"";s:4:"sort";i:5;s:6:"status";i:1;s:8:"issystem";i:0;}s:7:"xinghao";a:18:{s:2:"id";i:49;s:8:"moduleid";i:4;s:5:"field";s:7:"xinghao";s:4:"name";s:6:"型号";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:6:"defaul";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:4:"text";s:5:"setup";s:79:"array ( | ||
| 24 | - 'default' => '', | ||
| 25 | - 'ispassword' => '0', | ||
| 26 | - 'fieldtype' => 'varchar', | ||
| 27 | -)";s:6:"ispost";i:0;s:11:"unpostgroup";s:0:"";s:4:"sort";i:6;s:6:"status";i:1;s:8:"issystem";i:0;}s:4:"pics";a:18:{s:2:"id";i:50;s:8:"moduleid";i:4;s:5:"field";s:4:"pics";s:4:"name";s:6:"图组";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:6:"defaul";s:8:"errormsg";s:0:"";s:5:"class";s:4:"pics";s:4:"type";s:6:"images";s:5:"setup";s:0:"";s:6:"ispost";i:0;s:11:"unpostgroup";s:0:"";s:4:"sort";i:7;s:6:"status";i:1;s:8:"issystem";i:0;}s:7:"content";a:18:{s:2:"id";i:39;s:8:"moduleid";i:4;s:5:"field";s:7:"content";s:4:"name";s:6:"内容";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:6:"defaul";s:8:"errormsg";s:0:"";s:5:"class";s:7:"content";s:4:"type";s:6:"editor";s:5:"setup";s:36:"array ( | ||
| 28 | - 'edittype' => 'layedit', | ||
| 29 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:8;s:6:"status";i:1;s:8:"issystem";i:1;}s:10:"createtime";a:18:{s:2:"id";i:40;s:8:"moduleid";i:4;s:5:"field";s:10:"createtime";s:4:"name";s:12:"发布时间";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:4:"date";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:8:"datetime";s:5:"setup";s:0:"";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:9;s:6:"status";i:1;s:8:"issystem";i:1;}s:6:"status";a:18:{s:2:"id";i:41;s:8:"moduleid";i:4;s:5:"field";s:6:"status";s:4:"name";s:6:"状态";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:5:"radio";s:5:"setup";s:147:"array ( | ||
| 30 | - 'options' => '发布|1 | ||
| 31 | -定时发布|0', | ||
| 32 | - 'fieldtype' => 'tinyint', | ||
| 33 | - 'numbertype' => '1', | ||
| 34 | - 'labelwidth' => '75', | ||
| 35 | - 'default' => '1', | ||
| 36 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:10;s:6:"status";i:1;s:8:"issystem";i:1;}s:9:"recommend";a:18:{s:2:"id";i:42;s:8:"moduleid";i:4;s:5:"field";s:9:"recommend";s:4:"name";s:12:"允许评论";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:1;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:5:"radio";s:5:"setup";s:153:"array ( | ||
| 37 | - 'options' => '允许评论|1 | ||
| 38 | -不允许评论|0', | ||
| 39 | - 'fieldtype' => 'tinyint', | ||
| 40 | - 'numbertype' => '1', | ||
| 41 | - 'labelwidth' => '', | ||
| 42 | - 'default' => '', | ||
| 43 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:11;s:6:"status";i:0;s:8:"issystem";i:0;}s:9:"readpoint";a:18:{s:2:"id";i:43;s:8:"moduleid";i:4;s:5:"field";s:9:"readpoint";s:4:"name";s:12:"阅读收费";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:5;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:6:"number";s:5:"setup";s:95:"array ( | ||
| 44 | - 'size' => '5', | ||
| 45 | - 'numbertype' => '1', | ||
| 46 | - 'decimaldigits' => '0', | ||
| 47 | - 'default' => '0', | ||
| 48 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:12;s:6:"status";i:0;s:8:"issystem";i:0;}s:4:"hits";a:18:{s:2:"id";i:44;s:8:"moduleid";i:4;s:5:"field";s:4:"hits";s:4:"name";s:12:"点击次数";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:8;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:6:"number";s:5:"setup";s:96:"array ( | ||
| 49 | - 'size' => '10', | ||
| 50 | - 'numbertype' => '1', | ||
| 51 | - 'decimaldigits' => '0', | ||
| 52 | - 'default' => '0', | ||
| 53 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:13;s:6:"status";i:0;s:8:"issystem";i:0;}s:9:"readgroup";a:18:{s:2:"id";i:45;s:8:"moduleid";i:4;s:5:"field";s:9:"readgroup";s:4:"name";s:12:"访问权限";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:7:"groupid";s:5:"setup";s:109:"array ( | ||
| 54 | - 'inputtype' => 'checkbox', | ||
| 55 | - 'fieldtype' => 'tinyint', | ||
| 56 | - 'labelwidth' => '85', | ||
| 57 | - 'default' => '', | ||
| 58 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:14;s:6:"status";i:0;s:8:"issystem";i:1;}s:5:"posid";a:18:{s:2:"id";i:46;s:8:"moduleid";i:4;s:5:"field";s:5:"posid";s:4:"name";s:9:"推荐位";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:5:"posid";s:5:"setup";s:0:"";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:15;s:6:"status";i:1;s:8:"issystem";i:1;}s:8:"template";a:18:{s:2:"id";i:47;s:8:"moduleid";i:4;s:5:"field";s:8:"template";s:4:"name";s:6:"模板";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:8:"template";s:5:"setup";s:0:"";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:16;s:6:"status";i:1;s:8:"issystem";i:1;}} |
| 1 | -<?php | ||
| 2 | -//000000000000 | ||
| 3 | - exit();?> | ||
| 4 | -think_serialize:a:5:{s:5:"title";a:18:{s:2:"id";i:115;s:8:"moduleid";i:19;s:5:"field";s:5:"title";s:4:"name";s:6:"标题";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:1;s:9:"maxlength";i:80;s:7:"pattern";s:0:"";s:8:"errormsg";s:28:"标题必须为1-80个字符";s:5:"class";s:0:"";s:4:"type";s:5:"title";s:5:"setup";s:63:"array ( | ||
| 5 | - 'thumb' => '1', | ||
| 6 | - 'style' => '1', | ||
| 7 | - 'size' => '55', | ||
| 8 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:2;s:6:"status";i:1;s:8:"issystem";i:1;}s:4:"hits";a:18:{s:2:"id";i:116;s:8:"moduleid";i:19;s:5:"field";s:4:"hits";s:4:"name";s:12:"点击次数";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:8;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:6:"number";s:5:"setup";s:96:"array ( | ||
| 9 | - 'size' => '10', | ||
| 10 | - 'numbertype' => '1', | ||
| 11 | - 'decimaldigits' => '0', | ||
| 12 | - 'default' => '0', | ||
| 13 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:8;s:6:"status";i:0;s:8:"issystem";i:0;}s:10:"createtime";a:18:{s:2:"id";i:117;s:8:"moduleid";i:19;s:5:"field";s:10:"createtime";s:4:"name";s:12:"发布时间";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:4:"date";s:8:"errormsg";s:0:"";s:5:"class";s:10:"createtime";s:4:"type";s:8:"datetime";s:5:"setup";s:0:"";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:97;s:6:"status";i:1;s:8:"issystem";i:1;}s:6:"status";a:18:{s:2:"id";i:119;s:8:"moduleid";i:19;s:5:"field";s:6:"status";s:4:"name";s:6:"状态";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:5:"radio";s:5:"setup";s:147:"array ( | ||
| 14 | - 'options' => '发布|1 | ||
| 15 | -定时发布|0', | ||
| 16 | - 'fieldtype' => 'tinyint', | ||
| 17 | - 'numbertype' => '1', | ||
| 18 | - 'labelwidth' => '75', | ||
| 19 | - 'default' => '1', | ||
| 20 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:98;s:6:"status";i:1;s:8:"issystem";i:1;}s:8:"template";a:18:{s:2:"id";i:118;s:8:"moduleid";i:19;s:5:"field";s:8:"template";s:4:"name";s:6:"模板";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:8:"template";s:5:"setup";s:0:"";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:99;s:6:"status";i:1;s:8:"issystem";i:1;}} |
| 1 | -<?php | ||
| 2 | -//000000000000 | ||
| 3 | - exit();?> | ||
| 4 | -think_serialize:a:8:{i:2;a:27:{s:2:"id";i:2;s:7:"catname";s:12:"关于我们";s:6:"catdir";s:5:"about";s:9:"parentdir";s:0:"";s:8:"parentid";i:0;s:8:"moduleid";i:1;s:6:"module";s:4:"page";s:11:"arrparentid";s:1:"0";s:10:"arrchildid";s:1:"2";s:4:"type";i:0;s:5:"title";s:12:"关于我们";s:8:"keywords";s:215:"CLTPHP内容管理系统,微信公众平台、APP移动应用设计、HTML5网站API定制开发。大型企业网站、个人博客论坛、手机网站定制开发。更高效、更快捷的进行定制开发。";s:11:"description";s:215:"CLTPHP内容管理系统,微信公众平台、APP移动应用设计、HTML5网站API定制开发。大型企业网站、个人博客论坛、手机网站定制开发。更高效、更快捷的进行定制开发。";s:4:"sort";i:0;s:6:"ishtml";i:0;s:6:"ismenu";i:1;s:4:"hits";i:0;s:5:"image";s:0:"";s:5:"child";i:0;s:3:"url";s:0:"";s:13:"template_list";s:0:"";s:13:"template_show";s:0:"";s:8:"pagesize";i:0;s:9:"readgroup";s:0:"";s:8:"listtype";i:0;s:4:"lang";i:0;s:7:"is_show";i:0;}i:5;a:27:{s:2:"id";i:5;s:7:"catname";s:12:"CLTPHP动态";s:6:"catdir";s:5:"news2";s:9:"parentdir";s:5:"news/";s:8:"parentid";i:1;s:8:"moduleid";i:2;s:6:"module";s:7:"article";s:11:"arrparentid";s:3:"0,1";s:10:"arrchildid";s:1:"5";s:4:"type";i:0;s:5:"title";s:12:"CLTPHP动态";s:8:"keywords";s:12:"CLTPHP动态";s:11:"description";s:12:"CLTPHP动态";s:4:"sort";i:0;s:6:"ishtml";i:0;s:6:"ismenu";i:1;s:4:"hits";i:0;s:5:"image";s:0:"";s:5:"child";i:0;s:3:"url";s:0:"";s:13:"template_list";s:0:"";s:13:"template_show";s:0:"";s:8:"pagesize";i:5;s:9:"readgroup";s:5:"1,2,3";s:8:"listtype";i:0;s:4:"lang";i:0;s:7:"is_show";i:1;}i:14;a:27:{s:2:"id";i:14;s:7:"catname";s:12:"文件下载";s:6:"catdir";s:8:"download";s:9:"parentdir";s:0:"";s:8:"parentid";i:0;s:8:"moduleid";i:5;s:6:"module";s:8:"download";s:11:"arrparentid";s:1:"0";s:10:"arrchildid";s:2:"14";s:4:"type";i:0;s:5:"title";s:12:"测试下载";s:8:"keywords";s:12:"测试下载";s:11:"description";s:12:"测试下载";s:4:"sort";i:0;s:6:"ishtml";i:0;s:6:"ismenu";i:1;s:4:"hits";i:0;s:5:"image";s:0:"";s:5:"child";i:0;s:3:"url";s:0:"";s:13:"template_list";s:0:"";s:13:"template_show";s:0:"";s:8:"pagesize";i:10;s:9:"readgroup";s:3:"1,2";s:8:"listtype";i:0;s:4:"lang";i:0;s:7:"is_show";i:0;}i:3;a:27:{s:2:"id";i:3;s:7:"catname";s:12:"CLTPHP服务";s:6:"catdir";s:8:"services";s:9:"parentdir";s:0:"";s:8:"parentid";i:0;s:8:"moduleid";i:2;s:6:"module";s:7:"article";s:11:"arrparentid";s:1:"0";s:10:"arrchildid";s:1:"3";s:4:"type";i:0;s:5:"title";s:19:"产品服务-CLTPHP";s:8:"keywords";s:44:"产品服务,CLTPHP,CLTPHP内容管理系统";s:11:"description";s:12:"产品服务";s:4:"sort";i:1;s:6:"ishtml";i:0;s:6:"ismenu";i:1;s:4:"hits";i:0;s:5:"image";s:0:"";s:5:"child";i:0;s:3:"url";s:0:"";s:13:"template_list";s:0:"";s:13:"template_show";s:0:"";s:8:"pagesize";i:15;s:9:"readgroup";s:5:"1,2,3";s:8:"listtype";i:0;s:4:"lang";i:0;s:7:"is_show";i:1;}i:4;a:27:{s:2:"id";i:4;s:7:"catname";s:12:"系统操作";s:6:"catdir";s:6:"system";s:9:"parentdir";s:0:"";s:8:"parentid";i:0;s:8:"moduleid";i:3;s:6:"module";s:7:"picture";s:11:"arrparentid";s:1:"0";s:10:"arrchildid";s:1:"4";s:4:"type";i:0;s:5:"title";s:18:"CLTPHP系统操作";s:8:"keywords";s:50:"CLTPHP系统操作,CLTPHP,CLTPHP内容管理系统";s:11:"description";s:50:"CLTPHP系统操作,CLTPHP,CLTPHP内容管理系统";s:4:"sort";i:2;s:6:"ishtml";i:0;s:6:"ismenu";i:1;s:4:"hits";i:0;s:5:"image";s:0:"";s:5:"child";i:0;s:3:"url";s:0:"";s:13:"template_list";s:0:"";s:13:"template_show";s:0:"";s:8:"pagesize";i:0;s:9:"readgroup";s:5:"1,2,3";s:8:"listtype";i:0;s:4:"lang";i:0;s:7:"is_show";i:0;}i:1;a:27:{s:2:"id";i:1;s:7:"catname";s:12:"最新动态";s:6:"catdir";s:4:"news";s:9:"parentdir";s:0:"";s:8:"parentid";i:0;s:8:"moduleid";i:2;s:6:"module";s:7:"article";s:11:"arrparentid";s:1:"0";s:10:"arrchildid";s:3:"1,5";s:4:"type";i:0;s:5:"title";s:12:"最新动态";s:8:"keywords";s:12:"最新动态";s:11:"description";s:12:"最新动态";s:4:"sort";i:4;s:6:"ishtml";i:0;s:6:"ismenu";i:1;s:4:"hits";i:0;s:5:"image";s:0:"";s:5:"child";i:1;s:3:"url";s:0:"";s:13:"template_list";s:12:"article-list";s:13:"template_show";s:12:"article-show";s:8:"pagesize";i:0;s:9:"readgroup";s:5:"1,2,3";s:8:"listtype";i:0;s:4:"lang";i:0;s:7:"is_show";i:0;}i:7;a:27:{s:2:"id";i:7;s:7:"catname";s:12:"精英团队";s:6:"catdir";s:4:"team";s:9:"parentdir";s:0:"";s:8:"parentid";i:0;s:8:"moduleid";i:6;s:6:"module";s:4:"team";s:11:"arrparentid";s:1:"0";s:10:"arrchildid";s:1:"7";s:4:"type";i:0;s:5:"title";s:12:"精英团队";s:8:"keywords";s:12:"精英团队";s:11:"description";s:12:"精英团队";s:4:"sort";i:5;s:6:"ishtml";i:0;s:6:"ismenu";i:1;s:4:"hits";i:0;s:5:"image";s:0:"";s:5:"child";i:0;s:3:"url";s:0:"";s:13:"template_list";s:0:"";s:13:"template_show";s:0:"";s:8:"pagesize";i:0;s:9:"readgroup";s:0:"";s:8:"listtype";i:0;s:4:"lang";i:0;s:7:"is_show";i:0;}i:8;a:27:{s:2:"id";i:8;s:7:"catname";s:12:"联系我们";s:6:"catdir";s:7:"contact";s:9:"parentdir";s:0:"";s:8:"parentid";i:0;s:8:"moduleid";i:1;s:6:"module";s:4:"page";s:11:"arrparentid";s:1:"0";s:10:"arrchildid";s:1:"8";s:4:"type";i:0;s:5:"title";s:12:"联系我们";s:8:"keywords";s:12:"联系我们";s:11:"description";s:12:"联系我们";s:4:"sort";i:7;s:6:"ishtml";i:0;s:6:"ismenu";i:1;s:4:"hits";i:0;s:5:"image";s:0:"";s:5:"child";i:0;s:3:"url";s:0:"";s:13:"template_list";s:17:"page_show_contace";s:13:"template_show";s:17:"page_show_contace";s:8:"pagesize";i:0;s:9:"readgroup";s:0:"";s:8:"listtype";i:0;s:4:"lang";i:0;s:7:"is_show";i:0;}} |
No preview for this file type
| 1 | -<?php | ||
| 2 | -//000000000000 | ||
| 3 | - exit();?> | ||
| 4 | -think_serialize:a:9:{i:0;a:29:{s:2:"id";i:2;s:7:"catname";s:12:"关于我们";s:6:"catdir";s:5:"about";s:9:"parentdir";s:0:"";s:8:"parentid";i:0;s:8:"moduleid";i:1;s:6:"module";s:4:"page";s:11:"arrparentid";s:1:"0";s:10:"arrchildid";s:1:"2";s:4:"type";i:0;s:5:"title";s:12:"关于我们";s:8:"keywords";s:215:"CLTPHP内容管理系统,微信公众平台、APP移动应用设计、HTML5网站API定制开发。大型企业网站、个人博客论坛、手机网站定制开发。更高效、更快捷的进行定制开发。";s:11:"description";s:215:"CLTPHP内容管理系统,微信公众平台、APP移动应用设计、HTML5网站API定制开发。大型企业网站、个人博客论坛、手机网站定制开发。更高效、更快捷的进行定制开发。";s:4:"sort";i:0;s:6:"ishtml";i:0;s:6:"ismenu";i:1;s:4:"hits";i:0;s:5:"image";s:0:"";s:5:"child";i:0;s:3:"url";s:0:"";s:13:"template_list";s:0:"";s:13:"template_show";s:0:"";s:8:"pagesize";i:0;s:9:"readgroup";s:0:"";s:8:"listtype";i:0;s:4:"lang";i:0;s:7:"is_show";i:0;s:6:"mtitle";s:12:"单页模型";s:5:"mname";s:4:"page";}i:1;a:29:{s:2:"id";i:5;s:7:"catname";s:12:"CLTPHP动态";s:6:"catdir";s:5:"news2";s:9:"parentdir";s:5:"news/";s:8:"parentid";i:1;s:8:"moduleid";i:2;s:6:"module";s:7:"article";s:11:"arrparentid";s:3:"0,1";s:10:"arrchildid";s:1:"5";s:4:"type";i:0;s:5:"title";s:12:"CLTPHP动态";s:8:"keywords";s:12:"CLTPHP动态";s:11:"description";s:12:"CLTPHP动态";s:4:"sort";i:0;s:6:"ishtml";i:0;s:6:"ismenu";i:1;s:4:"hits";i:0;s:5:"image";s:0:"";s:5:"child";i:0;s:3:"url";s:0:"";s:13:"template_list";s:0:"";s:13:"template_show";s:0:"";s:8:"pagesize";i:5;s:9:"readgroup";s:5:"1,2,3";s:8:"listtype";i:0;s:4:"lang";i:0;s:7:"is_show";i:1;s:6:"mtitle";s:12:"文章模型";s:5:"mname";s:7:"article";}i:2;a:29:{s:2:"id";i:6;s:7:"catname";s:13:"相关知识 ";s:6:"catdir";s:4:"news";s:9:"parentdir";s:5:"news/";s:8:"parentid";i:1;s:8:"moduleid";i:2;s:6:"module";s:7:"article";s:11:"arrparentid";s:3:"0,1";s:10:"arrchildid";s:1:"6";s:4:"type";i:0;s:5:"title";s:18:"CLTPHP相关知识";s:8:"keywords";s:18:"CLTPHP相关知识";s:11:"description";s:18:"CLTPHP相关知识";s:4:"sort";i:0;s:6:"ishtml";i:0;s:6:"ismenu";i:1;s:4:"hits";i:0;s:5:"image";s:0:"";s:5:"child";i:0;s:3:"url";s:0:"";s:13:"template_list";s:0:"";s:13:"template_show";s:0:"";s:8:"pagesize";i:0;s:9:"readgroup";s:0:"";s:8:"listtype";i:0;s:4:"lang";i:0;s:7:"is_show";i:1;s:6:"mtitle";s:12:"文章模型";s:5:"mname";s:7:"article";}i:3;a:29:{s:2:"id";i:14;s:7:"catname";s:12:"文件下载";s:6:"catdir";s:8:"download";s:9:"parentdir";s:0:"";s:8:"parentid";i:0;s:8:"moduleid";i:5;s:6:"module";s:8:"download";s:11:"arrparentid";s:1:"0";s:10:"arrchildid";s:2:"14";s:4:"type";i:0;s:5:"title";s:12:"测试下载";s:8:"keywords";s:12:"测试下载";s:11:"description";s:12:"测试下载";s:4:"sort";i:0;s:6:"ishtml";i:0;s:6:"ismenu";i:1;s:4:"hits";i:0;s:5:"image";s:0:"";s:5:"child";i:0;s:3:"url";s:0:"";s:13:"template_list";s:0:"";s:13:"template_show";s:0:"";s:8:"pagesize";i:10;s:9:"readgroup";s:3:"1,2";s:8:"listtype";i:0;s:4:"lang";i:0;s:7:"is_show";i:0;s:6:"mtitle";s:12:"下载模型";s:5:"mname";s:8:"download";}i:4;a:29:{s:2:"id";i:3;s:7:"catname";s:12:"CLTPHP服务";s:6:"catdir";s:8:"services";s:9:"parentdir";s:0:"";s:8:"parentid";i:0;s:8:"moduleid";i:2;s:6:"module";s:7:"article";s:11:"arrparentid";s:1:"0";s:10:"arrchildid";s:1:"3";s:4:"type";i:0;s:5:"title";s:19:"产品服务-CLTPHP";s:8:"keywords";s:44:"产品服务,CLTPHP,CLTPHP内容管理系统";s:11:"description";s:12:"产品服务";s:4:"sort";i:1;s:6:"ishtml";i:0;s:6:"ismenu";i:1;s:4:"hits";i:0;s:5:"image";s:0:"";s:5:"child";i:0;s:3:"url";s:0:"";s:13:"template_list";s:0:"";s:13:"template_show";s:0:"";s:8:"pagesize";i:15;s:9:"readgroup";s:5:"1,2,3";s:8:"listtype";i:0;s:4:"lang";i:0;s:7:"is_show";i:1;s:6:"mtitle";s:12:"文章模型";s:5:"mname";s:7:"article";}i:5;a:29:{s:2:"id";i:4;s:7:"catname";s:12:"系统操作";s:6:"catdir";s:6:"system";s:9:"parentdir";s:0:"";s:8:"parentid";i:0;s:8:"moduleid";i:3;s:6:"module";s:7:"picture";s:11:"arrparentid";s:1:"0";s:10:"arrchildid";s:1:"4";s:4:"type";i:0;s:5:"title";s:18:"CLTPHP系统操作";s:8:"keywords";s:50:"CLTPHP系统操作,CLTPHP,CLTPHP内容管理系统";s:11:"description";s:50:"CLTPHP系统操作,CLTPHP,CLTPHP内容管理系统";s:4:"sort";i:2;s:6:"ishtml";i:0;s:6:"ismenu";i:1;s:4:"hits";i:0;s:5:"image";s:0:"";s:5:"child";i:0;s:3:"url";s:0:"";s:13:"template_list";s:0:"";s:13:"template_show";s:0:"";s:8:"pagesize";i:0;s:9:"readgroup";s:5:"1,2,3";s:8:"listtype";i:0;s:4:"lang";i:0;s:7:"is_show";i:0;s:6:"mtitle";s:12:"图片模型";s:5:"mname";s:7:"picture";}i:6;a:29:{s:2:"id";i:1;s:7:"catname";s:12:"最新动态";s:6:"catdir";s:4:"news";s:9:"parentdir";s:0:"";s:8:"parentid";i:0;s:8:"moduleid";i:2;s:6:"module";s:7:"article";s:11:"arrparentid";s:1:"0";s:10:"arrchildid";s:5:"1,5,6";s:4:"type";i:0;s:5:"title";s:12:"最新动态";s:8:"keywords";s:12:"最新动态";s:11:"description";s:12:"最新动态";s:4:"sort";i:4;s:6:"ishtml";i:0;s:6:"ismenu";i:1;s:4:"hits";i:0;s:5:"image";s:0:"";s:5:"child";i:1;s:3:"url";s:0:"";s:13:"template_list";s:12:"article-list";s:13:"template_show";s:12:"article-show";s:8:"pagesize";i:0;s:9:"readgroup";s:5:"1,2,3";s:8:"listtype";i:0;s:4:"lang";i:0;s:7:"is_show";i:0;s:6:"mtitle";s:12:"文章模型";s:5:"mname";s:7:"article";}i:7;a:29:{s:2:"id";i:7;s:7:"catname";s:12:"精英团队";s:6:"catdir";s:4:"team";s:9:"parentdir";s:0:"";s:8:"parentid";i:0;s:8:"moduleid";i:6;s:6:"module";s:4:"team";s:11:"arrparentid";s:1:"0";s:10:"arrchildid";s:1:"7";s:4:"type";i:0;s:5:"title";s:12:"精英团队";s:8:"keywords";s:12:"精英团队";s:11:"description";s:12:"精英团队";s:4:"sort";i:5;s:6:"ishtml";i:0;s:6:"ismenu";i:1;s:4:"hits";i:0;s:5:"image";s:0:"";s:5:"child";i:0;s:3:"url";s:0:"";s:13:"template_list";s:0:"";s:13:"template_show";s:0:"";s:8:"pagesize";i:0;s:9:"readgroup";s:0:"";s:8:"listtype";i:0;s:4:"lang";i:0;s:7:"is_show";i:0;s:6:"mtitle";s:12:"团队模型";s:5:"mname";s:4:"team";}i:8;a:29:{s:2:"id";i:8;s:7:"catname";s:12:"联系我们";s:6:"catdir";s:7:"contact";s:9:"parentdir";s:0:"";s:8:"parentid";i:0;s:8:"moduleid";i:1;s:6:"module";s:4:"page";s:11:"arrparentid";s:1:"0";s:10:"arrchildid";s:1:"8";s:4:"type";i:0;s:5:"title";s:12:"联系我们";s:8:"keywords";s:12:"联系我们";s:11:"description";s:12:"联系我们";s:4:"sort";i:7;s:6:"ishtml";i:0;s:6:"ismenu";i:1;s:4:"hits";i:0;s:5:"image";s:0:"";s:5:"child";i:0;s:3:"url";s:0:"";s:13:"template_list";s:17:"page_show_contace";s:13:"template_show";s:17:"page_show_contace";s:8:"pagesize";i:0;s:9:"readgroup";s:0:"";s:8:"listtype";i:0;s:4:"lang";i:0;s:7:"is_show";i:0;s:6:"mtitle";s:12:"单页模型";s:5:"mname";s:4:"page";}} |
| 1 | -<?php | ||
| 2 | -//000000000000 | ||
| 3 | - exit();?> | ||
| 4 | -think_serialize:a:15:{s:5:"catid";a:18:{s:2:"id";i:7;s:8:"moduleid";i:2;s:5:"field";s:5:"catid";s:4:"name";s:6:"栏目";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:1;s:9:"maxlength";i:6;s:7:"pattern";s:0:"";s:8:"errormsg";s:24:"必须选择一个栏目";s:5:"class";s:0:"";s:4:"type";s:5:"catid";s:5:"setup";s:0:"";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:1;s:6:"status";i:1;s:8:"issystem";i:1;}s:5:"title";a:18:{s:2:"id";i:8;s:8:"moduleid";i:2;s:5:"field";s:5:"title";s:4:"name";s:6:"标题";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:1;s:9:"maxlength";i:80;s:7:"pattern";s:6:"defaul";s:8:"errormsg";s:28:"标题必须为1-80个字符";s:5:"class";s:5:"title";s:4:"type";s:5:"title";s:5:"setup";s:45:"array ( | ||
| 5 | - 'thumb' => '1', | ||
| 6 | - 'style' => '1', | ||
| 7 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:2;s:6:"status";i:1;s:8:"issystem";i:1;}s:8:"keywords";a:18:{s:2:"id";i:9;s:8:"moduleid";i:2;s:5:"field";s:8:"keywords";s:4:"name";s:9:"关键词";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:80;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:4:"text";s:5:"setup";s:97:"array ( | ||
| 8 | - 'size' => '55', | ||
| 9 | - 'default' => '', | ||
| 10 | - 'ispassword' => '0', | ||
| 11 | - 'fieldtype' => 'varchar', | ||
| 12 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:3;s:6:"status";i:1;s:8:"issystem";i:1;}s:11:"description";a:18:{s:2:"id";i:10;s:8:"moduleid";i:2;s:5:"field";s:11:"description";s:4:"name";s:9:"SEO简介";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:8:"textarea";s:5:"setup";s:94:"array ( | ||
| 13 | - 'fieldtype' => 'mediumtext', | ||
| 14 | - 'rows' => '4', | ||
| 15 | - 'cols' => '55', | ||
| 16 | - 'default' => '', | ||
| 17 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:4;s:6:"status";i:1;s:8:"issystem";i:1;}s:7:"content";a:18:{s:2:"id";i:11;s:8:"moduleid";i:2;s:5:"field";s:7:"content";s:4:"name";s:6:"内容";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:6:"defaul";s:8:"errormsg";s:0:"";s:5:"class";s:7:"content";s:4:"type";s:6:"editor";s:5:"setup";s:36:"array ( | ||
| 18 | - 'edittype' => 'layedit', | ||
| 19 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:5;s:6:"status";i:1;s:8:"issystem";i:1;}s:10:"createtime";a:18:{s:2:"id";i:12;s:8:"moduleid";i:2;s:5:"field";s:10:"createtime";s:4:"name";s:12:"发布时间";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:4:"date";s:8:"errormsg";s:0:"";s:5:"class";s:10:"createtime";s:4:"type";s:8:"datetime";s:5:"setup";s:0:"";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:6;s:6:"status";i:1;s:8:"issystem";i:1;}s:6:"status";a:18:{s:2:"id";i:19;s:8:"moduleid";i:2;s:5:"field";s:6:"status";s:4:"name";s:6:"状态";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:6:"defaul";s:8:"errormsg";s:0:"";s:5:"class";s:6:"status";s:4:"type";s:5:"radio";s:5:"setup";s:122:"array ( | ||
| 20 | - 'options' => '发布|1 | ||
| 21 | -定时发布|2', | ||
| 22 | - 'fieldtype' => 'varchar', | ||
| 23 | - 'numbertype' => '1', | ||
| 24 | - 'default' => '1', | ||
| 25 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:7;s:6:"status";i:1;s:8:"issystem";i:1;}s:8:"copyfrom";a:18:{s:2:"id";i:75;s:8:"moduleid";i:2;s:5:"field";s:8:"copyfrom";s:4:"name";s:6:"来源";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:6:"defaul";s:8:"errormsg";s:0:"";s:5:"class";s:8:"copyfrom";s:4:"type";s:4:"text";s:5:"setup";s:85:"array ( | ||
| 26 | - 'default' => 'CLTPHP', | ||
| 27 | - 'ispassword' => '0', | ||
| 28 | - 'fieldtype' => 'varchar', | ||
| 29 | -)";s:6:"ispost";i:0;s:11:"unpostgroup";s:0:"";s:4:"sort";i:8;s:6:"status";i:1;s:8:"issystem";i:0;}s:8:"fromlink";a:18:{s:2:"id";i:76;s:8:"moduleid";i:2;s:5:"field";s:8:"fromlink";s:4:"name";s:12:"来源网址";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:6:"defaul";s:8:"errormsg";s:0:"";s:5:"class";s:8:"fromlink";s:4:"type";s:4:"text";s:5:"setup";s:101:"array ( | ||
| 30 | - 'default' => 'http://www.cltphp.com/', | ||
| 31 | - 'ispassword' => '0', | ||
| 32 | - 'fieldtype' => 'varchar', | ||
| 33 | -)";s:6:"ispost";i:0;s:11:"unpostgroup";s:0:"";s:4:"sort";i:9;s:6:"status";i:1;s:8:"issystem";i:0;}s:9:"recommend";a:18:{s:2:"id";i:13;s:8:"moduleid";i:2;s:5:"field";s:9:"recommend";s:4:"name";s:12:"允许评论";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:1;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:5:"radio";s:5:"setup";s:153:"array ( | ||
| 34 | - 'options' => '允许评论|1 | ||
| 35 | -不允许评论|0', | ||
| 36 | - 'fieldtype' => 'tinyint', | ||
| 37 | - 'numbertype' => '1', | ||
| 38 | - 'labelwidth' => '', | ||
| 39 | - 'default' => '', | ||
| 40 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:10;s:6:"status";i:0;s:8:"issystem";i:0;}s:9:"readpoint";a:18:{s:2:"id";i:14;s:8:"moduleid";i:2;s:5:"field";s:9:"readpoint";s:4:"name";s:12:"阅读收费";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:5;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:6:"number";s:5:"setup";s:95:"array ( | ||
| 41 | - 'size' => '5', | ||
| 42 | - 'numbertype' => '1', | ||
| 43 | - 'decimaldigits' => '0', | ||
| 44 | - 'default' => '0', | ||
| 45 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:11;s:6:"status";i:0;s:8:"issystem";i:0;}s:4:"hits";a:18:{s:2:"id";i:15;s:8:"moduleid";i:2;s:5:"field";s:4:"hits";s:4:"name";s:12:"点击次数";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:8;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:6:"number";s:5:"setup";s:96:"array ( | ||
| 46 | - 'size' => '10', | ||
| 47 | - 'numbertype' => '1', | ||
| 48 | - 'decimaldigits' => '0', | ||
| 49 | - 'default' => '0', | ||
| 50 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:12;s:6:"status";i:1;s:8:"issystem";i:0;}s:9:"readgroup";a:18:{s:2:"id";i:16;s:8:"moduleid";i:2;s:5:"field";s:9:"readgroup";s:4:"name";s:12:"访问权限";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:7:"groupid";s:5:"setup";s:109:"array ( | ||
| 51 | - 'inputtype' => 'checkbox', | ||
| 52 | - 'fieldtype' => 'tinyint', | ||
| 53 | - 'labelwidth' => '85', | ||
| 54 | - 'default' => '', | ||
| 55 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:13;s:6:"status";i:1;s:8:"issystem";i:1;}s:5:"posid";a:18:{s:2:"id";i:17;s:8:"moduleid";i:2;s:5:"field";s:5:"posid";s:4:"name";s:9:"推荐位";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:5:"posid";s:5:"setup";s:0:"";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:14;s:6:"status";i:1;s:8:"issystem";i:1;}s:8:"template";a:18:{s:2:"id";i:18;s:8:"moduleid";i:2;s:5:"field";s:8:"template";s:4:"name";s:6:"模板";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:8:"template";s:5:"setup";s:0:"";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:15;s:6:"status";i:1;s:8:"issystem";i:1;}} |
| 1 | -<?php | ||
| 2 | -//000000000000 | ||
| 3 | - exit();?> | ||
| 4 | -think_serialize:a:17:{s:5:"catid";a:18:{s:2:"id";i:51;s:8:"moduleid";i:5;s:5:"field";s:5:"catid";s:4:"name";s:6:"栏目";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:1;s:9:"maxlength";i:6;s:7:"pattern";s:0:"";s:8:"errormsg";s:24:"必须选择一个栏目";s:5:"class";s:0:"";s:4:"type";s:5:"catid";s:5:"setup";s:0:"";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:1;s:6:"status";i:1;s:8:"issystem";i:1;}s:5:"title";a:18:{s:2:"id";i:52;s:8:"moduleid";i:5;s:5:"field";s:5:"title";s:4:"name";s:6:"标题";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:1;s:9:"maxlength";i:80;s:7:"pattern";s:0:"";s:8:"errormsg";s:28:"标题必须为1-80个字符";s:5:"class";s:0:"";s:4:"type";s:5:"title";s:5:"setup";s:63:"array ( | ||
| 5 | - 'thumb' => '1', | ||
| 6 | - 'style' => '1', | ||
| 7 | - 'size' => '55', | ||
| 8 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:2;s:6:"status";i:1;s:8:"issystem";i:1;}s:8:"keywords";a:18:{s:2:"id";i:53;s:8:"moduleid";i:5;s:5:"field";s:8:"keywords";s:4:"name";s:9:"关键词";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:80;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:4:"text";s:5:"setup";s:97:"array ( | ||
| 9 | - 'size' => '55', | ||
| 10 | - 'default' => '', | ||
| 11 | - 'ispassword' => '0', | ||
| 12 | - 'fieldtype' => 'varchar', | ||
| 13 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:3;s:6:"status";i:1;s:8:"issystem";i:1;}s:11:"description";a:18:{s:2:"id";i:54;s:8:"moduleid";i:5;s:5:"field";s:11:"description";s:4:"name";s:9:"SEO简介";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:8:"textarea";s:5:"setup";s:94:"array ( | ||
| 14 | - 'fieldtype' => 'mediumtext', | ||
| 15 | - 'rows' => '4', | ||
| 16 | - 'cols' => '55', | ||
| 17 | - 'default' => '', | ||
| 18 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:4;s:6:"status";i:1;s:8:"issystem";i:1;}s:5:"files";a:18:{s:2:"id";i:64;s:8:"moduleid";i:5;s:5:"field";s:5:"files";s:4:"name";s:12:"上传文件";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:6:"defaul";s:8:"errormsg";s:0:"";s:5:"class";s:5:"files";s:4:"type";s:4:"file";s:5:"setup";s:51:"array ( | ||
| 19 | - 'upload_allowext' => 'zip,rar,doc,ppt', | ||
| 20 | -)";s:6:"ispost";i:0;s:11:"unpostgroup";s:0:"";s:4:"sort";i:5;s:6:"status";i:1;s:8:"issystem";i:0;}s:3:"ext";a:18:{s:2:"id";i:65;s:8:"moduleid";i:5;s:5:"field";s:3:"ext";s:4:"name";s:12:"文档类型";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:6:"defaul";s:8:"errormsg";s:0:"";s:5:"class";s:3:"ext";s:4:"type";s:4:"text";s:5:"setup";s:82:"array ( | ||
| 21 | - 'default' => 'zip', | ||
| 22 | - 'ispassword' => '0', | ||
| 23 | - 'fieldtype' => 'varchar', | ||
| 24 | -)";s:6:"ispost";i:0;s:11:"unpostgroup";s:0:"";s:4:"sort";i:6;s:6:"status";i:1;s:8:"issystem";i:0;}s:4:"size";a:18:{s:2:"id";i:66;s:8:"moduleid";i:5;s:5:"field";s:4:"size";s:4:"name";s:12:"文档大小";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:6:"defaul";s:8:"errormsg";s:0:"";s:5:"class";s:4:"size";s:4:"type";s:4:"text";s:5:"setup";s:79:"array ( | ||
| 25 | - 'default' => '', | ||
| 26 | - 'ispassword' => '0', | ||
| 27 | - 'fieldtype' => 'varchar', | ||
| 28 | -)";s:6:"ispost";i:0;s:11:"unpostgroup";s:0:"";s:4:"sort";i:7;s:6:"status";i:1;s:8:"issystem";i:0;}s:5:"downs";a:18:{s:2:"id";i:67;s:8:"moduleid";i:5;s:5:"field";s:5:"downs";s:4:"name";s:12:"下载次数";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:6:"defaul";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:6:"number";s:5:"setup";s:93:"array ( | ||
| 29 | - 'size' => '', | ||
| 30 | - 'numbertype' => '1', | ||
| 31 | - 'decimaldigits' => '0', | ||
| 32 | - 'default' => '', | ||
| 33 | -)";s:6:"ispost";i:0;s:11:"unpostgroup";s:0:"";s:4:"sort";i:8;s:6:"status";i:1;s:8:"issystem";i:0;}s:7:"content";a:18:{s:2:"id";i:55;s:8:"moduleid";i:5;s:5:"field";s:7:"content";s:4:"name";s:6:"内容";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:6:"defaul";s:8:"errormsg";s:0:"";s:5:"class";s:7:"content";s:4:"type";s:6:"editor";s:5:"setup";s:36:"array ( | ||
| 34 | - 'edittype' => 'layedit', | ||
| 35 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:9;s:6:"status";i:1;s:8:"issystem";i:1;}s:10:"createtime";a:18:{s:2:"id";i:56;s:8:"moduleid";i:5;s:5:"field";s:10:"createtime";s:4:"name";s:12:"发布时间";s:4:"tips";s:0:"";s:8:"required";i:1;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:4:"date";s:8:"errormsg";s:0:"";s:5:"class";s:10:"createtime";s:4:"type";s:8:"datetime";s:5:"setup";s:0:"";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:10;s:6:"status";i:1;s:8:"issystem";i:1;}s:6:"status";a:18:{s:2:"id";i:57;s:8:"moduleid";i:5;s:5:"field";s:6:"status";s:4:"name";s:6:"状态";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:5:"radio";s:5:"setup";s:147:"array ( | ||
| 36 | - 'options' => '发布|1 | ||
| 37 | -定时发布|0', | ||
| 38 | - 'fieldtype' => 'tinyint', | ||
| 39 | - 'numbertype' => '1', | ||
| 40 | - 'labelwidth' => '75', | ||
| 41 | - 'default' => '1', | ||
| 42 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:11;s:6:"status";i:1;s:8:"issystem";i:1;}s:9:"recommend";a:18:{s:2:"id";i:58;s:8:"moduleid";i:5;s:5:"field";s:9:"recommend";s:4:"name";s:12:"允许评论";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:1;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:5:"radio";s:5:"setup";s:153:"array ( | ||
| 43 | - 'options' => '允许评论|1 | ||
| 44 | -不允许评论|0', | ||
| 45 | - 'fieldtype' => 'tinyint', | ||
| 46 | - 'numbertype' => '1', | ||
| 47 | - 'labelwidth' => '', | ||
| 48 | - 'default' => '', | ||
| 49 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:12;s:6:"status";i:0;s:8:"issystem";i:0;}s:9:"readpoint";a:18:{s:2:"id";i:59;s:8:"moduleid";i:5;s:5:"field";s:9:"readpoint";s:4:"name";s:12:"阅读收费";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:5;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:6:"number";s:5:"setup";s:95:"array ( | ||
| 50 | - 'size' => '5', | ||
| 51 | - 'numbertype' => '1', | ||
| 52 | - 'decimaldigits' => '0', | ||
| 53 | - 'default' => '0', | ||
| 54 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:13;s:6:"status";i:0;s:8:"issystem";i:0;}s:4:"hits";a:18:{s:2:"id";i:60;s:8:"moduleid";i:5;s:5:"field";s:4:"hits";s:4:"name";s:12:"点击次数";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:8;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:6:"number";s:5:"setup";s:96:"array ( | ||
| 55 | - 'size' => '10', | ||
| 56 | - 'numbertype' => '1', | ||
| 57 | - 'decimaldigits' => '0', | ||
| 58 | - 'default' => '0', | ||
| 59 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:14;s:6:"status";i:0;s:8:"issystem";i:0;}s:9:"readgroup";a:18:{s:2:"id";i:61;s:8:"moduleid";i:5;s:5:"field";s:9:"readgroup";s:4:"name";s:12:"访问权限";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:7:"groupid";s:5:"setup";s:109:"array ( | ||
| 60 | - 'inputtype' => 'checkbox', | ||
| 61 | - 'fieldtype' => 'tinyint', | ||
| 62 | - 'labelwidth' => '85', | ||
| 63 | - 'default' => '', | ||
| 64 | -)";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:15;s:6:"status";i:0;s:8:"issystem";i:1;}s:5:"posid";a:18:{s:2:"id";i:62;s:8:"moduleid";i:5;s:5:"field";s:5:"posid";s:4:"name";s:9:"推荐位";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:5:"posid";s:5:"setup";s:0:"";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:16;s:6:"status";i:1;s:8:"issystem";i:1;}s:8:"template";a:18:{s:2:"id";i:63;s:8:"moduleid";i:5;s:5:"field";s:8:"template";s:4:"name";s:6:"模板";s:4:"tips";s:0:"";s:8:"required";i:0;s:9:"minlength";i:0;s:9:"maxlength";i:0;s:7:"pattern";s:0:"";s:8:"errormsg";s:0:"";s:5:"class";s:0:"";s:4:"type";s:8:"template";s:5:"setup";s:0:"";s:6:"ispost";i:1;s:11:"unpostgroup";s:0:"";s:4:"sort";i:17;s:6:"status";i:1;s:8:"issystem";i:1;}} |
| 1 | -<?php | ||
| 2 | -//000000000000 | ||
| 3 | - exit();?> | ||
| 4 | -think_serialize:a:135:{i:1;a:13:{s:2:"id";i:1;s:4:"href";s:6:"System";s:5:"title";s:12:"系统设置";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:9:"icon-cogs";s:9:"condition";s:0:"";s:3:"pid";i:0;s:4:"sort";i:0;s:7:"addtime";i:1446535750;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:119;a:13:{s:2:"id";i:119;s:4:"href";s:13:"Auth/adminAdd";s:5:"title";s:13:"操作-添加";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:16;s:4:"sort";i:0;s:7:"addtime";i:1461553162;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:108;a:13:{s:2:"id";i:108;s:4:"href";s:12:"Auth/ruleAdd";s:5:"title";s:13:"操作-添加";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:18;s:4:"sort";i:0;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:16;a:13:{s:2:"id";i:16;s:4:"href";s:14:"Auth/adminList";s:5:"title";s:15:"管理员列表";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:15;s:4:"sort";i:0;s:7:"addtime";i:1446535750;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:14;a:13:{s:2:"id";i:14;s:4:"href";s:12:"Category/add";s:5:"title";s:13:"操作-添加";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:9;s:4:"sort";i:0;s:7:"addtime";i:1446535750;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:9;a:13:{s:2:"id";i:9;s:4:"href";s:14:"Category/index";s:5:"title";s:12:"栏目列表";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:7;s:4:"sort";i:0;s:7:"addtime";i:1446535750;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:202;a:13:{s:2:"id";i:202;s:4:"href";s:12:"Template/add";s:5:"title";s:13:"操作-添加";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:197;s:4:"sort";i:1;s:7:"addtime";i:1481859447;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:213;a:13:{s:2:"id";i:213;s:4:"href";s:14:"Wechat/addMenu";s:5:"title";s:13:"操作-添加";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:208;s:4:"sort";i:1;s:7:"addtime";i:1487149151;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:128;a:13:{s:2:"id";i:128;s:4:"href";s:15:"Database/repair";s:5:"title";s:13:"操作-修复";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:5;s:4:"sort";i:1;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:127;a:13:{s:2:"id";i:127;s:4:"href";s:17:"Database/optimize";s:5:"title";s:13:"操作-优化";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:5;s:4:"sort";i:1;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:126;a:13:{s:2:"id";i:126;s:4:"href";s:15:"Database/export";s:5:"title";s:13:"操作-备份";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:5;s:4:"sort";i:1;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:215;a:13:{s:2:"id";i:215;s:4:"href";s:14:"Wechat/addText";s:5:"title";s:13:"操作-添加";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:209;s:4:"sort";i:1;s:7:"addtime";i:1487234062;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:193;a:13:{s:2:"id";i:193;s:4:"href";s:10:"Module/add";s:5:"title";s:13:"操作-添加";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:190;s:4:"sort";i:1;s:7:"addtime";i:1467007955;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:176;a:13:{s:2:"id";i:176;s:4:"href";s:10:"Ad/addType";s:5:"title";s:13:"操作-添加";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:46;s:4:"sort";i:1;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:243;a:13:{s:2:"id";i:243;s:4:"href";s:15:"Module/fieldAdd";s:5:"title";s:13:"操作-添加";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:241;s:4:"sort";i:1;s:7:"addtime";i:1497426089;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:131;a:13:{s:2:"id";i:131;s:4:"href";s:16:"System/bxgs_edit";s:5:"title";s:13:"操作-修改";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:67;s:4:"sort";i:1;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:134;a:13:{s:2:"id";i:134;s:4:"href";s:21:"System/myinfo_runedit";s:5:"title";s:18:"个人资料修改";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:68;s:4:"sort";i:1;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:212;a:13:{s:2:"id";i:212;s:4:"href";s:13:"Wechat/weixin";s:5:"title";s:13:"操作-设置";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:207;s:4:"sort";i:1;s:7:"addtime";i:1487064541;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:161;a:13:{s:2:"id";i:161;s:4:"href";s:16:"Users/usersState";s:5:"title";s:13:"操作-状态";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:29;s:4:"sort";i:1;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:197;a:13:{s:2:"id";i:197;s:4:"href";s:14:"Template/index";s:5:"title";s:12:"模版管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:196;s:4:"sort";i:1;s:7:"addtime";i:1481857540;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:205;a:13:{s:2:"id";i:205;s:4:"href";s:10:"Debris/add";s:5:"title";s:13:"操作-添加";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:203;s:4:"sort";i:1;s:7:"addtime";i:1484797878;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:170;a:13:{s:2:"id";i:170;s:4:"href";s:6:"Ad/add";s:5:"title";s:13:"操作-添加";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:45;s:4:"sort";i:1;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:207;a:13:{s:2:"id";i:207;s:4:"href";s:13:"Wechat/config";s:5:"title";s:15:"公众号管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:206;s:4:"sort";i:1;s:7:"addtime";i:1487063705;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:153;a:13:{s:2:"id";i:153;s:4:"href";s:18:"System/bxgs_runadd";s:5:"title";s:13:"操作-添存";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:66;s:4:"sort";i:1;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:190;a:13:{s:2:"id";i:190;s:4:"href";s:12:"Module/index";s:5:"title";s:12:"模型列表";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:189;s:4:"sort";i:1;s:7:"addtime";i:1466826681;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:230;a:13:{s:2:"id";i:230;s:4:"href";s:15:"Database/import";s:5:"title";s:13:"操作-还原";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:4;s:4:"sort";i:1;s:7:"addtime";i:1497423595;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:149;a:13:{s:2:"id";i:149;s:4:"href";s:13:"Auth/groupAdd";s:5:"title";s:13:"操作-添加";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:17;s:4:"sort";i:1;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:247;a:13:{s:2:"id";i:247;s:4:"href";s:11:"Message/del";s:5:"title";s:13:"操作-删除";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:48;s:4:"sort";i:1;s:7:"addtime";i:1497427449;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:48;a:13:{s:2:"id";i:48;s:4:"href";s:13:"Message/index";s:5:"title";s:12:"留言管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:28;s:4:"sort";i:1;s:7:"addtime";i:1451267354;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:15;a:13:{s:2:"id";i:15;s:4:"href";s:14:"Auth/adminList";s:5:"title";s:12:"权限管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:13:"icon-lifebuoy";s:9:"condition";s:0:"";s:3:"pid";i:0;s:4:"sort";i:1;s:7:"addtime";i:1446535750;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:5;a:13:{s:2:"id";i:5;s:4:"href";s:17:"Database/database";s:5:"title";s:15:"数据库备份";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:3;s:4:"sort";i:1;s:7:"addtime";i:1446535834;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:269;a:13:{s:2:"id";i:269;s:4:"href";s:12:"Plugin/index";s:5:"title";s:9:"第三方";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:1;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:267;s:4:"sort";i:1;s:7:"addtime";i:1501466732;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:17;a:13:{s:2:"id";i:17;s:4:"href";s:15:"Auth/adminGroup";s:5:"title";s:15:"用户组列表";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:15;s:4:"sort";i:1;s:7:"addtime";i:1446535750;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:32;a:13:{s:2:"id";i:32;s:4:"href";s:8:"Link/add";s:5:"title";s:13:"操作-添加";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:31;s:4:"sort";i:1;s:7:"addtime";i:1447639935;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:2;a:13:{s:2:"id";i:2;s:4:"href";s:13:"System/system";s:5:"title";s:12:"系统设置";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:1;s:4:"sort";i:1;s:7:"addtime";i:1446535789;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:256;a:13:{s:2:"id";i:256;s:4:"href";s:15:"Template/imgDel";s:5:"title";s:19:"操作-文件删除";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:255;s:4:"sort";i:1;s:7:"addtime";i:1497429217;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:234;a:13:{s:2:"id";i:234;s:4:"href";s:15:"Category/insert";s:5:"title";s:13:"操作-添存";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:9;s:4:"sort";i:2;s:7:"addtime";i:1497424143;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:18;a:13:{s:2:"id";i:18;s:4:"href";s:14:"Auth/adminRule";s:5:"title";s:12:"权限管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:15;s:4:"sort";i:2;s:7:"addtime";i:1446535750;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:208;a:13:{s:2:"id";i:208;s:4:"href";s:11:"Wechat/menu";s:5:"title";s:12:"菜单管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:206;s:4:"sort";i:2;s:7:"addtime";i:1487063765;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:3;a:13:{s:2:"id";i:3;s:4:"href";s:17:"Database/database";s:5:"title";s:15:"数据库管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:13:"icon-database";s:9:"condition";s:0:"";s:3:"pid";i:0;s:4:"sort";i:2;s:7:"addtime";i:1446535805;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:238;a:13:{s:2:"id";i:238;s:4:"href";s:9:"page/edit";s:5:"title";s:12:"单页编辑";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:7;s:4:"sort";i:2;s:7:"addtime";i:1497425142;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:204;a:13:{s:2:"id";i:204;s:4:"href";s:11:"Debris/edit";s:5:"title";s:13:"操作-编辑";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:203;s:4:"sort";i:2;s:7:"addtime";i:1484797849;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:203;a:13:{s:2:"id";i:203;s:4:"href";s:12:"Debris/index";s:5:"title";s:12:"碎片管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:196;s:4:"sort";i:2;s:7:"addtime";i:1484797759;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:163;a:13:{s:2:"id";i:163;s:4:"href";s:10:"Users/edit";s:5:"title";s:13:"操作-编辑";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:29;s:4:"sort";i:2;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:270;a:13:{s:2:"id";i:270;s:4:"href";s:12:"System/email";s:5:"title";s:12:"邮箱配置";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:1;s:4:"sort";i:2;s:7:"addtime";i:1502331829;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:198;a:13:{s:2:"id";i:198;s:4:"href";s:15:"Template/insert";s:5:"title";s:13:"操作-添存";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:197;s:4:"sort";i:2;s:7:"addtime";i:1481857587;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:132;a:13:{s:2:"id";i:132;s:4:"href";s:19:"System/bxgs_runedit";s:5:"title";s:13:"操作-改存";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:67;s:4:"sort";i:2;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:171;a:13:{s:2:"id";i:171;s:4:"href";s:7:"Ad/edit";s:5:"title";s:13:"操作-修改";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:45;s:4:"sort";i:2;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:192;a:13:{s:2:"id";i:192;s:4:"href";s:11:"Module/edit";s:5:"title";s:13:"操作-修改";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:190;s:4:"sort";i:2;s:7:"addtime";i:1467007920;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:183;a:13:{s:2:"id";i:183;s:4:"href";s:11:"Ad/editType";s:5:"title";s:13:"操作-修改";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:46;s:4:"sort";i:2;s:7:"addtime";i:1461834988;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:114;a:13:{s:2:"id";i:114;s:4:"href";s:13:"Auth/ruleEdit";s:5:"title";s:13:"操作-修改";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:18;s:4:"sort";i:2;s:7:"addtime";i:1461551913;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:249;a:13:{s:2:"id";i:249;s:4:"href";s:9:"Link/edit";s:5:"title";s:13:"操作-编辑";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:31;s:4:"sort";i:2;s:7:"addtime";i:1497427694;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:248;a:13:{s:2:"id";i:248;s:4:"href";s:14:"Message/delall";s:5:"title";s:19:"操作-删除全部";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:48;s:4:"sort";i:2;s:7:"addtime";i:1497427534;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:244;a:13:{s:2:"id";i:244;s:4:"href";s:16:"Module/fieldEdit";s:5:"title";s:13:"操作-修改";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:241;s:4:"sort";i:2;s:7:"addtime";i:1497426134;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:120;a:13:{s:2:"id";i:120;s:4:"href";s:14:"Auth/adminEdit";s:5:"title";s:13:"操作-修改";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:16;s:4:"sort";i:2;s:7:"addtime";i:1461554130;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:232;a:13:{s:2:"id";i:232;s:4:"href";s:17:"Database/downFile";s:5:"title";s:13:"操作-下载";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:4;s:4:"sort";i:2;s:7:"addtime";i:1497423744;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:214;a:13:{s:2:"id";i:214;s:4:"href";s:15:"Wechat/editText";s:5:"title";s:13:"操作-编辑";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:209;s:4:"sort";i:2;s:7:"addtime";i:1487233984;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:258;a:13:{s:2:"id";i:258;s:4:"href";s:15:"Wechat/editMenu";s:5:"title";s:13:"操作-编辑";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:208;s:4:"sort";i:2;s:7:"addtime";i:1497429671;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:31;a:13:{s:2:"id";i:31;s:4:"href";s:10:"Link/index";s:5:"title";s:12:"友情链接";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:28;s:4:"sort";i:2;s:7:"addtime";i:1447232183;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:259;a:13:{s:2:"id";i:259;s:4:"href";s:16:"Wechat/menuOrder";s:5:"title";s:13:"操作-排序";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:208;s:4:"sort";i:3;s:7:"addtime";i:1497429707;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:263;a:13:{s:2:"id";i:263;s:4:"href";s:14:"Wechat/delText";s:5:"title";s:13:"操作-删除";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:209;s:4:"sort";i:3;s:7:"addtime";i:1497430020;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:272;a:13:{s:2:"id";i:272;s:4:"href";s:11:"Debris/type";s:5:"title";s:12:"碎片分类";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:1;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:196;s:4:"sort";i:3;s:7:"addtime";i:1504082720;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:250;a:13:{s:2:"id";i:250;s:4:"href";s:14:"Link/linkState";s:5:"title";s:13:"操作-状态";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:31;s:4:"sort";i:3;s:7:"addtime";i:1497427734;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:175;a:13:{s:2:"id";i:175;s:4:"href";s:12:"Ad/editState";s:5:"title";s:13:"操作-状态";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:45;s:4:"sort";i:3;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:252;a:13:{s:2:"id";i:252;s:4:"href";s:13:"Template/edit";s:5:"title";s:13:"操作-编辑";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:197;s:4:"sort";i:3;s:7:"addtime";i:1497428906;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:189;a:13:{s:2:"id";i:189;s:4:"href";s:6:"Module";s:5:"title";s:12:"模型管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:12:"icon-ungroup";s:9:"condition";s:0:"";s:3:"pid";i:0;s:4:"sort";i:3;s:7:"addtime";i:1466825363;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:179;a:13:{s:2:"id";i:179;s:4:"href";s:12:"Ad/typeOrder";s:5:"title";s:13:"操作-排序";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:46;s:4:"sort";i:3;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:245;a:13:{s:2:"id";i:245;s:4:"href";s:16:"Module/listOrder";s:5:"title";s:13:"操作-排序";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:241;s:4:"sort";i:3;s:7:"addtime";i:1497426179;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:116;a:13:{s:2:"id";i:116;s:4:"href";s:14:"Auth/groupEdit";s:5:"title";s:13:"操作-修改";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:17;s:4:"sort";i:3;s:7:"addtime";i:1461552326;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:257;a:13:{s:2:"id";i:257;s:4:"href";s:10:"Debris/del";s:5:"title";s:13:"操作-删除";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:203;s:4:"sort";i:3;s:7:"addtime";i:1497429416;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:164;a:13:{s:2:"id";i:164;s:4:"href";s:14:"Users/usersDel";s:5:"title";s:13:"操作-删除";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:29;s:4:"sort";i:3;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:129;a:13:{s:2:"id";i:129;s:4:"href";s:20:"Database/delSqlFiles";s:5:"title";s:13:"操作-删除";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:4;s:4:"sort";i:3;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:45;a:13:{s:2:"id";i:45;s:4:"href";s:8:"Ad/index";s:5:"title";s:12:"广告管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:28;s:4:"sort";i:3;s:7:"addtime";i:1450314297;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:13;a:13:{s:2:"id";i:13;s:4:"href";s:13:"Category/edit";s:5:"title";s:13:"操作-修改";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:9;s:4:"sort";i:3;s:7:"addtime";i:1446535750;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:209;a:13:{s:2:"id";i:209;s:4:"href";s:22:"Wechat/materialmessage";s:5:"title";s:12:"消息素材";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:206;s:4:"sort";i:3;s:7:"addtime";i:1487063834;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:260;a:13:{s:2:"id";i:260;s:4:"href";s:16:"Wechat/menuState";s:5:"title";s:13:"操作-状态";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:208;s:4:"sort";i:4;s:7:"addtime";i:1497429764;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:253;a:13:{s:2:"id";i:253;s:4:"href";s:15:"Template/update";s:5:"title";s:13:"操作-改存";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:197;s:4:"sort";i:4;s:7:"addtime";i:1497428951;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:273;a:13:{s:2:"id";i:273;s:4:"href";s:13:"Wechat/replay";s:5:"title";s:12:"回复设置";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:206;s:4:"sort";i:4;s:7:"addtime";i:1508215988;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:251;a:13:{s:2:"id";i:251;s:4:"href";s:8:"Link/del";s:5:"title";s:13:"操作-删除";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:31;s:4:"sort";i:4;s:7:"addtime";i:1497427780;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:242;a:13:{s:2:"id";i:242;s:4:"href";s:18:"Module/fieldStatus";s:5:"title";s:13:"操作-状态";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:241;s:4:"sort";i:4;s:7:"addtime";i:1497426044;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:235;a:13:{s:2:"id";i:235;s:4:"href";s:18:"Category/catUpdate";s:5:"title";s:13:"操作-该存";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:9;s:4:"sort";i:4;s:7:"addtime";i:1497424301;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:162;a:13:{s:2:"id";i:162;s:4:"href";s:12:"Users/delall";s:5:"title";s:19:"操作-全部删除";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:29;s:4:"sort";i:4;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:112;a:13:{s:2:"id";i:112;s:4:"href";s:12:"Auth/ruleDel";s:5:"title";s:13:"操作-删除";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:18;s:4:"sort";i:4;s:7:"addtime";i:1461551536;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:7;a:13:{s:2:"id";i:7;s:4:"href";s:8:"Category";s:5:"title";s:12:"栏目管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:9:"icon-list";s:9:"condition";s:0:"";s:3:"pid";i:0;s:4:"sort";i:4;s:7:"addtime";i:1446535875;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:121;a:13:{s:2:"id";i:121;s:4:"href";s:13:"Auth/adminDel";s:5:"title";s:13:"操作-删除";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:16;s:4:"sort";i:4;s:7:"addtime";i:1461554152;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:174;a:13:{s:2:"id";i:174;s:4:"href";s:10:"Ad/adOrder";s:5:"title";s:13:"操作-排序";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:45;s:4:"sort";i:4;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:178;a:13:{s:2:"id";i:178;s:4:"href";s:10:"Ad/delType";s:5:"title";s:13:"操作-删除";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:46;s:4:"sort";i:4;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:240;a:13:{s:2:"id";i:240;s:4:"href";s:10:"Module/del";s:5:"title";s:13:"操作-删除";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:190;s:4:"sort";i:4;s:7:"addtime";i:1497425850;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:46;a:13:{s:2:"id";i:46;s:4:"href";s:7:"Ad/type";s:5:"title";s:15:"广告位管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:28;s:4:"sort";i:4;s:7:"addtime";i:1450314324;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:27;a:13:{s:2:"id";i:27;s:4:"href";s:5:"Users";s:5:"title";s:12:"会员管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:9:"icon-user";s:9:"condition";s:0:"";s:3:"pid";i:0;s:4:"sort";i:5;s:7:"addtime";i:1447231507;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:109;a:13:{s:2:"id";i:109;s:4:"href";s:14:"Auth/ruleState";s:5:"title";s:13:"操作-状态";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:18;s:4:"sort";i:5;s:7:"addtime";i:1461550949;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:246;a:13:{s:2:"id";i:246;s:4:"href";s:15:"Module/fieldDel";s:5:"title";s:13:"操作-删除";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:241;s:4:"sort";i:5;s:7:"addtime";i:1497426241;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:261;a:13:{s:2:"id";i:261;s:4:"href";s:14:"Wechat/delMenu";s:5:"title";s:13:"操作-删除";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:208;s:4:"sort";i:5;s:7:"addtime";i:1497429822;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:130;a:13:{s:2:"id";i:130;s:4:"href";s:17:"System/bxgs_state";s:5:"title";s:13:"操作-状态";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:67;s:4:"sort";i:5;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:236;a:13:{s:2:"id";i:236;s:4:"href";s:12:"Category/del";s:5:"title";s:13:"操作-删除";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:9;s:4:"sort";i:5;s:7:"addtime";i:1497424900;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:145;a:13:{s:2:"id";i:145;s:4:"href";s:15:"Auth/adminState";s:5:"title";s:13:"操作-状态";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:16;s:4:"sort";i:5;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:265;a:13:{s:2:"id";i:265;s:4:"href";s:14:"Donation/index";s:5:"title";s:12:"捐赠管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:28;s:4:"sort";i:5;s:7:"addtime";i:1498101716;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:254;a:13:{s:2:"id";i:254;s:4:"href";s:15:"Template/delete";s:5:"title";s:13:"操作-删除";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:197;s:4:"sort";i:5;s:7:"addtime";i:1497429018;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:239;a:13:{s:2:"id";i:239;s:4:"href";s:18:"Module/moduleState";s:5:"title";s:13:"操作-状态";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:190;s:4:"sort";i:5;s:7:"addtime";i:1497425764;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:173;a:13:{s:2:"id";i:173;s:4:"href";s:6:"Ad/del";s:5:"title";s:13:"操作-删除";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:45;s:4:"sort";i:5;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:255;a:13:{s:2:"id";i:255;s:4:"href";s:15:"Template/images";s:5:"title";s:18:"媒体文件管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:197;s:4:"sort";i:6;s:7:"addtime";i:1497429157;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:110;a:13:{s:2:"id";i:110;s:4:"href";s:11:"Auth/ruleTz";s:5:"title";s:13:"操作-验证";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:18;s:4:"sort";i:6;s:7:"addtime";i:1461551129;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:262;a:13:{s:2:"id";i:262;s:4:"href";s:17:"Wechat/createMenu";s:5:"title";s:19:"操作-生成菜单";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:208;s:4:"sort";i:6;s:7:"addtime";i:1497429886;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:241;a:13:{s:2:"id";i:241;s:4:"href";s:12:"Module/field";s:5:"title";s:12:"模型字段";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:190;s:4:"sort";i:6;s:7:"addtime";i:1497425972;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:28;a:13:{s:2:"id";i:28;s:4:"href";s:8:"Function";s:5:"title";s:12:"网站功能";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:8:"icon-cog";s:9:"condition";s:0:"";s:3:"pid";i:0;s:4:"sort";i:6;s:7:"addtime";i:1447231590;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:237;a:13:{s:2:"id";i:237;s:4:"href";s:15:"Category/cOrder";s:5:"title";s:13:"操作-排序";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:9;s:4:"sort";i:6;s:7:"addtime";i:1497424979;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:111;a:13:{s:2:"id";i:111;s:4:"href";s:14:"Auth/ruleorder";s:5:"title";s:13:"操作-排序";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:18;s:4:"sort";i:7;s:7:"addtime";i:1461551263;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:196;a:13:{s:2:"id";i:196;s:4:"href";s:8:"Template";s:5:"title";s:12:"模版管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:11:"icon-embed2";s:9:"condition";s:0:"";s:3:"pid";i:0;s:4:"sort";i:7;s:7:"addtime";i:1481857304;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:267;a:13:{s:2:"id";i:267;s:4:"href";s:12:"Plugin/index";s:5:"title";s:12:"插件管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:1;s:4:"icon";s:15:"icon-power-cord";s:9:"condition";s:0:"";s:3:"pid";i:0;s:4:"sort";i:8;s:7:"addtime";i:1501466560;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:206;a:13:{s:2:"id";i:206;s:4:"href";s:6:"Wechat";s:5:"title";s:12:"微信管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:13:"icon-bubbles2";s:9:"condition";s:0:"";s:3:"pid";i:0;s:4:"sort";i:8;s:7:"addtime";i:1487063570;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:29;a:13:{s:2:"id";i:29;s:4:"href";s:11:"Users/index";s:5:"title";s:12:"会员列表";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:27;s:4:"sort";i:10;s:7:"addtime";i:1447232085;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:167;a:13:{s:2:"id";i:167;s:4:"href";s:14:"Users/groupAdd";s:5:"title";s:13:"操作-添加";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:38;s:4:"sort";i:10;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:4;a:13:{s:2:"id";i:4;s:4:"href";s:16:"Database/restore";s:5:"title";s:15:"还原数据库";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:3;s:4:"sort";i:10;s:7:"addtime";i:1446535750;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:122;a:13:{s:2:"id";i:122;s:4:"href";s:20:"System/source_runadd";s:5:"title";s:13:"操作-添加";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:43;s:4:"sort";i:10;s:7:"addtime";i:1461036331;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:182;a:13:{s:2:"id";i:182;s:4:"href";s:15:"Users/groupEdit";s:5:"title";s:13:"操作-修改";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:38;s:4:"sort";i:15;s:7:"addtime";i:1461834780;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:180;a:13:{s:2:"id";i:180;s:4:"href";s:18:"System/source_edit";s:5:"title";s:13:"操作-修改";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:43;s:4:"sort";i:20;s:7:"addtime";i:1461832933;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:169;a:13:{s:2:"id";i:169;s:4:"href";s:14:"Users/groupDel";s:5:"title";s:13:"操作-删除";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:38;s:4:"sort";i:30;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:117;a:13:{s:2:"id";i:117;s:4:"href";s:13:"Auth/groupDel";s:5:"title";s:13:"操作-删除";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:17;s:4:"sort";i:30;s:7:"addtime";i:1461552349;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:124;a:13:{s:2:"id";i:124;s:4:"href";s:21:"System/source_runedit";s:5:"title";s:13:"操作-改存";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:43;s:4:"sort";i:30;s:7:"addtime";i:1461039346;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:125;a:13:{s:2:"id";i:125;s:4:"href";s:17:"System/source_del";s:5:"title";s:13:"操作-删除";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:43;s:4:"sort";i:40;s:7:"addtime";i:146103934;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:118;a:13:{s:2:"id";i:118;s:4:"href";s:16:"Auth/groupAccess";s:5:"title";s:13:"操作-权限";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:17;s:4:"sort";i:40;s:7:"addtime";i:1461552404;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:105;a:13:{s:2:"id";i:105;s:4:"href";s:13:"System/runsys";s:5:"title";s:13:"操作-保存";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:6;s:4:"sort";i:50;s:7:"addtime";i:1461036331;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:278;a:13:{s:2:"id";i:278;s:4:"href";s:11:"Feast/index";s:5:"title";s:12:"节日气氛";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:1;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:267;s:4:"sort";i:50;s:7:"addtime";i:1532416207;s:2:"zt";N;s:10:"menustatus";i:1;}i:188;a:13:{s:2:"id";i:188;s:4:"href";s:13:"Plug/donation";s:5:"title";s:12:"捐赠列表";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:187;s:4:"sort";i:50;s:7:"addtime";i:1466563673;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:166;a:13:{s:2:"id";i:166;s:4:"href";s:16:"Users/groupOrder";s:5:"title";s:13:"操作-排序";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:38;s:4:"sort";i:50;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:23;a:13:{s:2:"id";i:23;s:4:"href";s:9:"Help/soft";s:5:"title";s:12:"软件下载";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:22;s:4:"sort";i:50;s:7:"addtime";i:1446711421;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:181;a:13:{s:2:"id";i:181;s:4:"href";s:15:"Auth/groupState";s:5:"title";s:13:"操作-状态";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:17;s:4:"sort";i:50;s:7:"addtime";i:1461834340;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:38;a:13:{s:2:"id";i:38;s:4:"href";s:15:"Users/userGroup";s:5:"title";s:9:"会员组";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:27;s:4:"sort";i:50;s:7:"addtime";i:1448413248;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:151;a:13:{s:2:"id";i:151;s:4:"href";s:19:"Auth/groupRunaccess";s:5:"title";s:13:"操作-权存";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:17;s:4:"sort";i:50;s:7:"addtime";i:1461550835;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:123;a:13:{s:2:"id";i:123;s:4:"href";s:19:"System/source_order";s:5:"title";s:13:"操作-排序";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:43;s:4:"sort";i:50;s:7:"addtime";i:1461037680;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:36;a:13:{s:2:"id";i:36;s:4:"href";s:10:"We/we_menu";s:5:"title";s:15:"自定义菜单";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:35;s:4:"sort";i:50;s:7:"addtime";i:1447842477;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:107;a:13:{s:2:"id";i:107;s:4:"href";s:15:"System/runemail";s:5:"title";s:13:"操作-保存";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:19;s:4:"sort";i:50;s:7:"addtime";i:1461039346;s:2:"zt";i:1;s:10:"menustatus";i:0;}i:39;a:13:{s:2:"id";i:39;s:4:"href";s:10:"We/we_menu";s:5:"title";s:15:"自定义菜单";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:36;s:4:"sort";i:50;s:7:"addtime";i:1448501584;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:106;a:13:{s:2:"id";i:106;s:4:"href";s:15:"System/runwesys";s:5:"title";s:13:"操作-保存";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:10;s:4:"sort";i:50;s:7:"addtime";i:1461037680;s:2:"zt";i:0;s:10:"menustatus";i:0;}i:279;a:13:{s:2:"id";i:279;s:4:"href";s:24:"Template/PackzipDownload";s:5:"title";s:19:"操作-文件下载";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:255;s:4:"sort";i:50;s:7:"addtime";i:1535080393;s:2:"zt";N;s:10:"menustatus";i:1;}} |
| 1 | -<?php | ||
| 2 | -//000000000000 | ||
| 3 | - exit();?> | ||
| 4 | -think_serialize:a:14:{s:2:"id";i:1;s:4:"name";s:12:"纳极科技";s:3:"url";s:25:"http://xt03.colorcun.com/";s:5:"title";s:12:"纳极科技";s:3:"key";s:12:"纳极科技";s:3:"des";s:12:"纳极科技";s:3:"bah";s:21:"陕ICP备xxxxxxx号-3";s:9:"copyright";s:9:"2015-2020";s:3:"ads";s:18:"西安市雁塔区";s:3:"tel";s:11:"13201529090";s:5:"email";s:16:"teemitop@126.com";s:4:"logo";s:54:"/uploads/20180608/55624159eb051a6c5e9bfadff49bf731.png";s:6:"mobile";s:4:"open";s:4:"code";s:4:"open";} |
| 1 | -<?php | ||
| 2 | -//000000000000 | ||
| 3 | - exit();?> | ||
| 4 | -think_serialize:a:7:{i:1;a:9:{s:2:"id";i:1;s:5:"title";s:12:"单页模型";s:4:"name";s:4:"page";s:11:"description";s:9:"单页面";s:4:"type";i:1;s:8:"issystem";i:0;s:10:"listfields";s:1:"*";s:4:"sort";i:0;s:6:"status";i:0;}i:2;a:9:{s:2:"id";i:2;s:5:"title";s:12:"文章模型";s:4:"name";s:7:"article";s:11:"description";s:12:"新闻文章";s:4:"type";i:1;s:8:"issystem";i:0;s:10:"listfields";s:1:"*";s:4:"sort";i:0;s:6:"status";i:0;}i:3;a:9:{s:2:"id";i:3;s:5:"title";s:12:"图片模型";s:4:"name";s:7:"picture";s:11:"description";s:12:"图片展示";s:4:"type";i:1;s:8:"issystem";i:0;s:10:"listfields";s:1:"*";s:4:"sort";i:0;s:6:"status";i:0;}i:4;a:9:{s:2:"id";i:4;s:5:"title";s:12:"产品模型";s:4:"name";s:7:"product";s:11:"description";s:12:"产品展示";s:4:"type";i:1;s:8:"issystem";i:0;s:10:"listfields";s:1:"*";s:4:"sort";i:0;s:6:"status";i:0;}i:5;a:9:{s:2:"id";i:5;s:5:"title";s:12:"下载模型";s:4:"name";s:8:"download";s:11:"description";s:12:"文件下载";s:4:"type";i:1;s:8:"issystem";i:0;s:10:"listfields";s:1:"*";s:4:"sort";i:0;s:6:"status";i:0;}i:6;a:9:{s:2:"id";i:6;s:5:"title";s:12:"团队模型";s:4:"name";s:4:"team";s:11:"description";s:12:"员工展示";s:4:"type";i:1;s:8:"issystem";i:0;s:10:"listfields";s:1:"*";s:4:"sort";i:0;s:6:"status";i:0;}i:19;a:9:{s:2:"id";i:19;s:5:"title";s:4:"test";s:4:"name";s:4:"test";s:11:"description";s:0:"";s:4:"type";i:1;s:8:"issystem";i:0;s:10:"listfields";s:1:"*";s:4:"sort";i:0;s:6:"status";i:0;}} |
| 1 | -<?php | ||
| 2 | -//000000003600 | ||
| 3 | - exit();?> | ||
| 4 | -think_serialize:a:40:{i:0;a:13:{s:2:"id";i:1;s:4:"href";s:6:"System";s:5:"title";s:12:"系统设置";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:9:"icon-cogs";s:9:"condition";s:0:"";s:3:"pid";i:0;s:4:"sort";i:0;s:7:"addtime";i:1446535750;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:1;a:13:{s:2:"id";i:9;s:4:"href";s:14:"Category/index";s:5:"title";s:12:"栏目列表";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:7;s:4:"sort";i:0;s:7:"addtime";i:1446535750;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:2;a:13:{s:2:"id";i:16;s:4:"href";s:14:"Auth/adminList";s:5:"title";s:15:"管理员列表";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:15;s:4:"sort";i:0;s:7:"addtime";i:1446535750;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:3;a:13:{s:2:"id";i:48;s:4:"href";s:13:"Message/index";s:5:"title";s:12:"留言管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:28;s:4:"sort";i:1;s:7:"addtime";i:1451267354;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:4;a:13:{s:2:"id";i:190;s:4:"href";s:12:"Module/index";s:5:"title";s:12:"模型列表";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:189;s:4:"sort";i:1;s:7:"addtime";i:1466826681;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:5;a:13:{s:2:"id";i:197;s:4:"href";s:14:"Template/index";s:5:"title";s:12:"模版管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:196;s:4:"sort";i:1;s:7:"addtime";i:1481857540;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:6;a:13:{s:2:"id";i:207;s:4:"href";s:13:"Wechat/config";s:5:"title";s:15:"公众号管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:206;s:4:"sort";i:1;s:7:"addtime";i:1487063705;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:7;a:13:{s:2:"id";i:269;s:4:"href";s:12:"Plugin/index";s:5:"title";s:9:"第三方";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:1;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:267;s:4:"sort";i:1;s:7:"addtime";i:1501466732;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:8;a:13:{s:2:"id";i:17;s:4:"href";s:15:"Auth/adminGroup";s:5:"title";s:15:"用户组列表";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:15;s:4:"sort";i:1;s:7:"addtime";i:1446535750;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:9;a:13:{s:2:"id";i:15;s:4:"href";s:14:"Auth/adminList";s:5:"title";s:12:"权限管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:13:"icon-lifebuoy";s:9:"condition";s:0:"";s:3:"pid";i:0;s:4:"sort";i:1;s:7:"addtime";i:1446535750;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:10;a:13:{s:2:"id";i:2;s:4:"href";s:13:"System/system";s:5:"title";s:12:"系统设置";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:1;s:4:"sort";i:1;s:7:"addtime";i:1446535789;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:11;a:13:{s:2:"id";i:5;s:4:"href";s:17:"Database/database";s:5:"title";s:15:"数据库备份";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:3;s:4:"sort";i:1;s:7:"addtime";i:1446535834;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:12;a:13:{s:2:"id";i:203;s:4:"href";s:12:"Debris/index";s:5:"title";s:12:"碎片管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:196;s:4:"sort";i:2;s:7:"addtime";i:1484797759;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:13;a:13:{s:2:"id";i:18;s:4:"href";s:14:"Auth/adminRule";s:5:"title";s:12:"权限管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:15;s:4:"sort";i:2;s:7:"addtime";i:1446535750;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:14;a:13:{s:2:"id";i:208;s:4:"href";s:11:"Wechat/menu";s:5:"title";s:12:"菜单管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:206;s:4:"sort";i:2;s:7:"addtime";i:1487063765;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:15;a:13:{s:2:"id";i:31;s:4:"href";s:10:"Link/index";s:5:"title";s:12:"友情链接";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:28;s:4:"sort";i:2;s:7:"addtime";i:1447232183;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:16;a:13:{s:2:"id";i:270;s:4:"href";s:12:"System/email";s:5:"title";s:12:"邮箱配置";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:1;s:4:"sort";i:2;s:7:"addtime";i:1502331829;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:17;a:13:{s:2:"id";i:3;s:4:"href";s:17:"Database/database";s:5:"title";s:15:"数据库管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:13:"icon-database";s:9:"condition";s:0:"";s:3:"pid";i:0;s:4:"sort";i:2;s:7:"addtime";i:1446535805;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:18;a:13:{s:2:"id";i:45;s:4:"href";s:8:"Ad/index";s:5:"title";s:12:"广告管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:28;s:4:"sort";i:3;s:7:"addtime";i:1450314297;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:19;a:13:{s:2:"id";i:272;s:4:"href";s:11:"Debris/type";s:5:"title";s:12:"碎片分类";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:1;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:196;s:4:"sort";i:3;s:7:"addtime";i:1504082720;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:20;a:13:{s:2:"id";i:189;s:4:"href";s:6:"Module";s:5:"title";s:12:"模型管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:12:"icon-ungroup";s:9:"condition";s:0:"";s:3:"pid";i:0;s:4:"sort";i:3;s:7:"addtime";i:1466825363;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:21;a:13:{s:2:"id";i:209;s:4:"href";s:22:"Wechat/materialmessage";s:5:"title";s:12:"消息素材";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:206;s:4:"sort";i:3;s:7:"addtime";i:1487063834;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:22;a:13:{s:2:"id";i:273;s:4:"href";s:13:"Wechat/replay";s:5:"title";s:12:"回复设置";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:206;s:4:"sort";i:4;s:7:"addtime";i:1508215988;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:23;a:13:{s:2:"id";i:7;s:4:"href";s:8:"Category";s:5:"title";s:12:"栏目管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:9:"icon-list";s:9:"condition";s:0:"";s:3:"pid";i:0;s:4:"sort";i:4;s:7:"addtime";i:1446535875;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:24;a:13:{s:2:"id";i:46;s:4:"href";s:7:"Ad/type";s:5:"title";s:15:"广告位管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:28;s:4:"sort";i:4;s:7:"addtime";i:1450314324;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:25;a:13:{s:2:"id";i:27;s:4:"href";s:5:"Users";s:5:"title";s:12:"会员管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:9:"icon-user";s:9:"condition";s:0:"";s:3:"pid";i:0;s:4:"sort";i:5;s:7:"addtime";i:1447231507;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:26;a:13:{s:2:"id";i:265;s:4:"href";s:14:"Donation/index";s:5:"title";s:12:"捐赠管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:28;s:4:"sort";i:5;s:7:"addtime";i:1498101716;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:27;a:13:{s:2:"id";i:28;s:4:"href";s:8:"Function";s:5:"title";s:12:"网站功能";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:8:"icon-cog";s:9:"condition";s:0:"";s:3:"pid";i:0;s:4:"sort";i:6;s:7:"addtime";i:1447231590;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:28;a:13:{s:2:"id";i:196;s:4:"href";s:8:"Template";s:5:"title";s:12:"模版管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:11:"icon-embed2";s:9:"condition";s:0:"";s:3:"pid";i:0;s:4:"sort";i:7;s:7:"addtime";i:1481857304;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:29;a:13:{s:2:"id";i:206;s:4:"href";s:6:"Wechat";s:5:"title";s:12:"微信管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:13:"icon-bubbles2";s:9:"condition";s:0:"";s:3:"pid";i:0;s:4:"sort";i:8;s:7:"addtime";i:1487063570;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:30;a:13:{s:2:"id";i:267;s:4:"href";s:12:"Plugin/index";s:5:"title";s:12:"插件管理";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:1;s:4:"icon";s:15:"icon-power-cord";s:9:"condition";s:0:"";s:3:"pid";i:0;s:4:"sort";i:8;s:7:"addtime";i:1501466560;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:31;a:13:{s:2:"id";i:4;s:4:"href";s:16:"Database/restore";s:5:"title";s:15:"还原数据库";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:3;s:4:"sort";i:10;s:7:"addtime";i:1446535750;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:32;a:13:{s:2:"id";i:29;s:4:"href";s:11:"Users/index";s:5:"title";s:12:"会员列表";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:27;s:4:"sort";i:10;s:7:"addtime";i:1447232085;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:33;a:13:{s:2:"id";i:23;s:4:"href";s:9:"Help/soft";s:5:"title";s:12:"软件下载";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:22;s:4:"sort";i:50;s:7:"addtime";i:1446711421;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:34;a:13:{s:2:"id";i:278;s:4:"href";s:11:"Feast/index";s:5:"title";s:12:"节日气氛";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:1;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:267;s:4:"sort";i:50;s:7:"addtime";i:1532416207;s:2:"zt";N;s:10:"menustatus";i:1;}i:35;a:13:{s:2:"id";i:188;s:4:"href";s:13:"Plug/donation";s:5:"title";s:12:"捐赠列表";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:187;s:4:"sort";i:50;s:7:"addtime";i:1466563673;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:36;a:13:{s:2:"id";i:36;s:4:"href";s:10:"We/we_menu";s:5:"title";s:15:"自定义菜单";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:35;s:4:"sort";i:50;s:7:"addtime";i:1447842477;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:37;a:13:{s:2:"id";i:38;s:4:"href";s:15:"Users/userGroup";s:5:"title";s:9:"会员组";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:27;s:4:"sort";i:50;s:7:"addtime";i:1448413248;s:2:"zt";i:1;s:10:"menustatus";i:1;}i:38;a:13:{s:2:"id";i:39;s:4:"href";s:10:"We/we_menu";s:5:"title";s:15:"自定义菜单";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:36;s:4:"sort";i:50;s:7:"addtime";i:1448501584;s:2:"zt";i:0;s:10:"menustatus";i:1;}i:39;a:13:{s:2:"id";i:279;s:4:"href";s:24:"Template/PackzipDownload";s:5:"title";s:19:"操作-文件下载";s:4:"type";i:1;s:6:"status";i:1;s:8:"authopen";i:0;s:4:"icon";s:0:"";s:9:"condition";s:0:"";s:3:"pid";i:255;s:4:"sort";i:50;s:7:"addtime";i:1535080393;s:2:"zt";N;s:10:"menustatus";i:1;}} |
runtime/log/201808/25.log
deleted
100644 → 0
This diff could not be displayed because it is too large.
| 1 | -<?php /*a:3:{s:81:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/home/view/team_list.html";i:1535107092;s:83:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/home/view/common_head.html";i:1535161327;s:85:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/home/view/common_footer.html";i:1535161013;}*/ ?> | ||
| 2 | -<!DOCTYPE html> | ||
| 3 | -<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> | ||
| 4 | -<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="zh-cn"> <![endif]--> | ||
| 5 | -<!--[if IE 8]> <html class="no-js lt-ie9" lang="zh-cn"> <![endif]--> | ||
| 6 | -<!--[if gt IE 8]><!--> <html class="no-js" lang="zh-cn"> <!--<![endif]--> | ||
| 7 | -<head> | ||
| 8 | - <meta charset="utf-8" /> | ||
| 9 | - <meta name="viewport" content="width=device-width" /> | ||
| 10 | - <title><?php echo isset($info['title']) ? htmlentities($info['title']) : ($title ? $title : $sys['title']); ?></title> | ||
| 11 | - <meta name="keywords" content="<?php echo isset($info['keywords']) ? htmlentities($info['keywords']) : ($keywords ? $keywords : $sys['key']); ?>" /> | ||
| 12 | - <meta name="description" content="<?php echo isset($info['description']) ? htmlentities($info['description']) : ($description ? $description : $sys['des']); ?>" /> | ||
| 13 | - <!-- ////////////////////////////////// --> | ||
| 14 | - <!-- // Stylesheets Files // --> | ||
| 15 | - <!-- ////////////////////////////////// --> | ||
| 16 | - <link rel="stylesheet" href="/static/home/css/base.css" id="camera-css" /> | ||
| 17 | - <link rel="stylesheet" href="/static/home/css/framework.css" /> | ||
| 18 | - <link rel="stylesheet" href="/static/home/css/style.css" /> | ||
| 19 | - <link rel="stylesheet" href="/static/home/css/noscript.css" media="screen,all" id="noscript" /> | ||
| 20 | - | ||
| 21 | - <!-- ////////////////////////////////// --> | ||
| 22 | - <!-- // Favicon Files // --> | ||
| 23 | - <!-- ////////////////////////////////// --> | ||
| 24 | - <link rel="shortcut icon" href="/static/home/images/favicon.ico" /> | ||
| 25 | - | ||
| 26 | - <!-- ////////////////////////////////// --> | ||
| 27 | - <!-- // Javascript Files // --> | ||
| 28 | - <!-- ////////////////////////////////// --> | ||
| 29 | - <script> | ||
| 30 | - var HOME = '/static/home'; | ||
| 31 | - </script> | ||
| 32 | - <script src="/static/home/js/jquery.min.js"></script> | ||
| 33 | - <script src="/static/home/js/jquery.easing-1.3.min.js"></script> | ||
| 34 | - <script src="/static/home/js/tooltip.js"></script> | ||
| 35 | - <script src="/static/home/js/dropdown.js"></script> | ||
| 36 | - <script src="/static/home/js/tinynav.min.js"></script> | ||
| 37 | - <script src="/static/home/js/camera.min.js"></script> | ||
| 38 | - <script src="/static/home/js/jquery.fancybox.js?v=2.0.6"></script> | ||
| 39 | - <script src="/static/home/js/jquery.fancybox-media.js?v=1.0.3"></script> | ||
| 40 | - <script src="/static/home/js/jquery.ui.totop.min.js"></script> | ||
| 41 | - <script src="/static/home/js/ddaccordion.js"></script> | ||
| 42 | - <script src="/static/home/js/jquery.twitter.js"></script> | ||
| 43 | - <script src="/static/home/js/jflickrfeed.min.js"></script> | ||
| 44 | - <script src="/static/home/js/faq-functions.js"></script> | ||
| 45 | - <script src="/static/home/js/isotope.js"></script> | ||
| 46 | - <script src="/static/home/js/theme-functions.js"></script> | ||
| 47 | - <script> | ||
| 48 | - //设为首页 www.jb51.net | ||
| 49 | - function SetHome(obj,url){ | ||
| 50 | - try{ | ||
| 51 | - obj.style.behavior='url(#default#homepage)'; | ||
| 52 | - obj.setHomePage(url); | ||
| 53 | - }catch(e){ | ||
| 54 | - if(window.netscape){ | ||
| 55 | - try{ | ||
| 56 | - netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); | ||
| 57 | - }catch(e){ | ||
| 58 | - alert("抱歉,此操作被浏览器拒绝!\n\n请在浏览器地址栏输入“about:config”并回车然后将[signed.applets.codebase_principal_support]设置为'true'"); | ||
| 59 | - } | ||
| 60 | - }else{ | ||
| 61 | - alert("抱歉,您所使用的浏览器无法完成此操作。\n\n您需要手动将【"+url+"】设置为首页。"); | ||
| 62 | - } | ||
| 63 | - } | ||
| 64 | - } | ||
| 65 | - | ||
| 66 | - //收藏本站 www.jb51.net | ||
| 67 | - function AddFavorite(title, url) { | ||
| 68 | - try { | ||
| 69 | - window.external.addFavorite(url, title); | ||
| 70 | - } | ||
| 71 | - catch (e) { | ||
| 72 | - try { | ||
| 73 | - window.sidebar.addPanel(title, url, ""); | ||
| 74 | - } | ||
| 75 | - catch (e) { | ||
| 76 | - alert("抱歉,您所使用的浏览器无法完成此操作。\n\n加入收藏失败,请进入新网站后使用Ctrl+D进行添加"); | ||
| 77 | - } | ||
| 78 | - } | ||
| 79 | - } | ||
| 80 | - </script> | ||
| 81 | - <!-- IE Fix for HTML5 Tags --> | ||
| 82 | - <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | ||
| 83 | - <![endif]--> | ||
| 84 | - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
| 85 | - | ||
| 86 | -</head> | ||
| 87 | -<body> | ||
| 88 | -<div class="user"> | ||
| 89 | - <div id="top-social"> | ||
| 90 | - <div class="social-panel"> | ||
| 91 | - <ul> | ||
| 92 | - <li><a href="javascript:void(0);" onclick="SetHome(this,'<?php echo config('url_domain_root'); ?>');">设为首页</a></li> | ||
| 93 | - <li><a href="javascript:void(0);" onclick="AddFavorite('<?php echo config('sys_name'); ?>','<?php echo config('url_domain_root'); ?>')">加入收藏</a></li> | ||
| 94 | - <li><a href="<?php echo url('user/index/index'); ?>" target="_blank"><?php if(session('user.username')): ?><?php echo session('user.username'); else: ?>会员中心<?php endif; ?></a></li> | ||
| 95 | - </ul> | ||
| 96 | - </div> | ||
| 97 | - </div> | ||
| 98 | - <div class="clear"></div> | ||
| 99 | -</div> | ||
| 100 | -<!-- header start here --> | ||
| 101 | -<header> | ||
| 102 | - <div id="main-wrapper"> | ||
| 103 | - <!-- logo start here --> | ||
| 104 | - <div id="logo"> | ||
| 105 | - <a href="<?php echo url('home/index/index'); ?>" title="内容管理系统"><img src="<?php echo htmlentities($sys['logo']); ?>" alt="CLTPHP" style="width: 160px;height: 43px;" /></a> | ||
| 106 | - </div> | ||
| 107 | - <!-- logo end here --> | ||
| 108 | - <!-- mainmenu start here --> | ||
| 109 | - <nav id="mainmenu"> | ||
| 110 | - <ul id="menu"> | ||
| 111 | - <li <?php if($controller == 'index'): ?>class="selected"<?php endif; ?>><a href="<?php echo url('home/index/index'); ?>" title="内容管理系统">首页</a></li> | ||
| 112 | - <?php if(is_array($category) || $category instanceof \think\Collection || $category instanceof \think\Paginator): $i = 0; $__LIST__ = $category;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> | ||
| 113 | - <li <?php if($controller == $vo['catdir']): ?>class="selected"<?php endif; ?>> | ||
| 114 | - <?php if($vo['child'] == 1): ?> | ||
| 115 | - <a href="#"><?php echo htmlentities($vo['catname']); ?></a> | ||
| 116 | - <ul> | ||
| 117 | - <?php if(is_array($vo['sub']) || $vo['sub'] instanceof \think\Collection || $vo['sub'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['sub'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?> | ||
| 118 | - <li><a href="<?php echo url('home/'.$vo['catdir'].'/index',['catId'=>$v['id']] ); ?>" title="<?php echo htmlentities($v['catname']); ?>-内容管理系统"><span>-</span> <?php echo htmlentities($v['catname']); ?></a></li> | ||
| 119 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
| 120 | - </ul> | ||
| 121 | - <?php else: ?> | ||
| 122 | - <a href="<?php echo url('home/'.$vo['catdir'].'/index',['catId'=>$vo['id']] ); ?>" title="<?php echo htmlentities($vo['catname']); ?>-内容管理系统"><?php echo htmlentities($vo['catname']); ?></a> | ||
| 123 | - <?php endif; ?> | ||
| 124 | - </li> | ||
| 125 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
| 126 | - </ul> | ||
| 127 | - </nav> | ||
| 128 | - <!-- mainmenu end here --> | ||
| 129 | - | ||
| 130 | - </div> | ||
| 131 | -</header> | ||
| 132 | -<!-- header end here --> | ||
| 133 | - | ||
| 134 | -<!-- pagetitle start here --> | ||
| 135 | -<section id="pagetitle-wrapper"> | ||
| 136 | - <div class="pagetitle-content"> | ||
| 137 | - <h2><?php echo htmlentities($title); ?></h2> | ||
| 138 | - </div> | ||
| 139 | -</section> | ||
| 140 | -<!-- pagetitle end here --> | ||
| 141 | - | ||
| 142 | -<!-- breadcrumb start here --> | ||
| 143 | -<section id="breadcrumb-wrapper"> | ||
| 144 | - <div id="breadcrumb-content"> | ||
| 145 | - <ul> | ||
| 146 | - <li><a href="<?php echo url('home/index/index'); ?>">首页</a></li> | ||
| 147 | - <li><a href="#"><?php echo htmlentities($title); ?></a></li> | ||
| 148 | - </ul> | ||
| 149 | - </div> | ||
| 150 | -</section> | ||
| 151 | -<!-- breadcrumb end here --> | ||
| 152 | - | ||
| 153 | -<!-- maincontent start here --> | ||
| 154 | -<section id="content-wrapper"> | ||
| 155 | - <div class="row"> | ||
| 156 | - <div class="twelve columns"> | ||
| 157 | - <div class="row"> | ||
| 158 | - <div class="eight columns"> | ||
| 159 | - <!-- begin of testimonials 1 --> | ||
| 160 | - <?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> | ||
| 161 | - <div class="testi-tape"></div> | ||
| 162 | - <div class="testi-container"> | ||
| 163 | - <div class="testi-text"> | ||
| 164 | - <p class="testi-name"><?php echo htmlentities($vo['title']); ?></p> | ||
| 165 | - <blockquote> | ||
| 166 | - <p><?php echo $vo['info']; ?></p> | ||
| 167 | - </blockquote> | ||
| 168 | - </div> | ||
| 169 | - <div class="testi-image"> | ||
| 170 | - <img src="<?php echo htmlentities($vo['title_thumb']); ?>" alt="<?php echo htmlentities($vo['title']); ?>" /> | ||
| 171 | - </div> | ||
| 172 | - <div class="clear"></div> | ||
| 173 | - </div> | ||
| 174 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
| 175 | - </div> | ||
| 176 | - <div class="four columns"> | ||
| 177 | - <div class="table-red"> | ||
| 178 | - <h5>捐赠名单</h5> | ||
| 179 | - <table class="table"> | ||
| 180 | - <thead> | ||
| 181 | - <tr> | ||
| 182 | - <th>名称</th> | ||
| 183 | - <th>金额</th> | ||
| 184 | - </tr> | ||
| 185 | - </thead> | ||
| 186 | - <tbody> | ||
| 187 | - <?php if(is_array($dlist) || $dlist instanceof \think\Collection || $dlist instanceof \think\Paginator): $i = 0; $__LIST__ = $dlist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?> | ||
| 188 | - <tr <?php if($i%2 == 0): ?>class="odd"<?php endif; ?>> | ||
| 189 | - <td><?php echo htmlentities($v['name']); ?></td> | ||
| 190 | - <td><?php echo htmlentities($v['money']); ?></td> | ||
| 191 | - </tr> | ||
| 192 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
| 193 | - </tbody> | ||
| 194 | - <tr> | ||
| 195 | - <td colspan="2"><?php echo $dpage; ?></td> | ||
| 196 | - </tr> | ||
| 197 | - </table> | ||
| 198 | - </div> | ||
| 199 | - </div> | ||
| 200 | - </div> | ||
| 201 | - </div> | ||
| 202 | - </div> | ||
| 203 | -</section> | ||
| 204 | -<!-- maincontent end here --> | ||
| 205 | -<!-- footer start here --> | ||
| 206 | -<footer> | ||
| 207 | - <div class="row"> | ||
| 208 | - <div class="three columns mobile-two"> | ||
| 209 | - <!--<img src="/static/home/images/logo2.png" alt="CLTPHP" class="img-left" />--> | ||
| 210 | - <p class="copyright-text"> | ||
| 211 | - ©<?php echo htmlentities($sys['copyright']); ?> <a href="http://www.cltphp.com/" style="color: #747373" rel="external" title="<?php echo htmlentities($sys['title']); ?>"><?php echo htmlentities($sys['title']); ?></a><br> | ||
| 212 | - <a href="http://www.miitbeian.gov.cn/" style="color: #747373" target="_blank" rel="nofollow"><?php echo htmlentities($sys['bah']); ?></a><br> | ||
| 213 | - </p> | ||
| 214 | - </div> | ||
| 215 | - <div class="three columns mobile-two"> | ||
| 216 | - <h5>联系我们</h5> | ||
| 217 | - <ul> | ||
| 218 | - <li class="address-icon"><a href="<?php echo htmlentities($sys['url']); ?>" title="<?php echo htmlentities($sys['title']); ?>"><?php echo htmlentities($sys['title']); ?></a></li> | ||
| 219 | - <li class="qq-icon"><a target="_blank" href=""><img border="0" src="//pub.idqqimg.com/wpa/images/group.png" alt="CLTPHP交流群0002" title="CLTPHP交流群0002"></a></li> | ||
| 220 | - <li class="qq-icon">站长QQ号 : <a target="_blank" rel="nofollow" title="点击加好友" href="tencent://message/?uin=1034677692&Site=&Menu=yes">1034677692</a></li> | ||
| 221 | - <li class="email-icon">Email : <?php echo htmlentities($sys['email']); ?></li> | ||
| 222 | - </ul> | ||
| 223 | - </div> | ||
| 224 | - <div class="three columns mobile-two"> | ||
| 225 | - <h5>友情链接</h5> | ||
| 226 | - <ul> | ||
| 227 | - <?php if(is_array($linkList) || $linkList instanceof \think\Collection || $linkList instanceof \think\Paginator): $i = 0; $__LIST__ = $linkList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> | ||
| 228 | - <!--<li><a href="<?php echo htmlentities($vo['url']); ?>" rel="external" title="<?php echo htmlentities($vo['name']); ?>"><?php echo htmlentities($vo['name']); ?></a></li>--> | ||
| 229 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
| 230 | - <li><a href="https://www.kancloud.cn/chichu/cltphp" target="_blank" rel="nofollow" title="CLTPHP操作开发手册">CLTPHP操作开发手册</a></li> | ||
| 231 | - </ul> | ||
| 232 | - </div> | ||
| 233 | - <div class="three columns mobile-two"> | ||
| 234 | - <h5>扫码捐助</h5> | ||
| 235 | - <div class="wxsq"> | ||
| 236 | - <!--<img src="/static/home/images/wxsq.png" alt="CLTPHP微信二维码" title="CLTPHP微信二维码">--> | ||
| 237 | - </div> | ||
| 238 | - </div> | ||
| 239 | - </div> | ||
| 240 | -</footer> | ||
| 241 | -<!-- footer end here --> | ||
| 242 | -<script> | ||
| 243 | - $('#noscript').remove(); | ||
| 244 | - jQuery(function($){ | ||
| 245 | - //external加上target="_blank" | ||
| 246 | - $("a[rel*=external]").attr("target","_blank"); | ||
| 247 | - }); | ||
| 248 | -</script> | ||
| 249 | -</body> | ||
| 250 | -</html> |
| 1 | -<?php /*a:3:{s:89:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/home/view/page_show_contace.html";i:1535165210;s:83:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/home/view/common_head.html";i:1535161327;s:85:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/home/view/common_footer.html";i:1535161013;}*/ ?> | ||
| 2 | -<!DOCTYPE html> | ||
| 3 | -<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> | ||
| 4 | -<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="zh-cn"> <![endif]--> | ||
| 5 | -<!--[if IE 8]> <html class="no-js lt-ie9" lang="zh-cn"> <![endif]--> | ||
| 6 | -<!--[if gt IE 8]><!--> <html class="no-js" lang="zh-cn"> <!--<![endif]--> | ||
| 7 | -<head> | ||
| 8 | - <meta charset="utf-8" /> | ||
| 9 | - <meta name="viewport" content="width=device-width" /> | ||
| 10 | - <title><?php echo isset($info['title']) ? htmlentities($info['title']) : ($title ? $title : $sys['title']); ?></title> | ||
| 11 | - <meta name="keywords" content="<?php echo isset($info['keywords']) ? htmlentities($info['keywords']) : ($keywords ? $keywords : $sys['key']); ?>" /> | ||
| 12 | - <meta name="description" content="<?php echo isset($info['description']) ? htmlentities($info['description']) : ($description ? $description : $sys['des']); ?>" /> | ||
| 13 | - <!-- ////////////////////////////////// --> | ||
| 14 | - <!-- // Stylesheets Files // --> | ||
| 15 | - <!-- ////////////////////////////////// --> | ||
| 16 | - <link rel="stylesheet" href="/static/home/css/base.css" id="camera-css" /> | ||
| 17 | - <link rel="stylesheet" href="/static/home/css/framework.css" /> | ||
| 18 | - <link rel="stylesheet" href="/static/home/css/style.css" /> | ||
| 19 | - <link rel="stylesheet" href="/static/home/css/noscript.css" media="screen,all" id="noscript" /> | ||
| 20 | - | ||
| 21 | - <!-- ////////////////////////////////// --> | ||
| 22 | - <!-- // Favicon Files // --> | ||
| 23 | - <!-- ////////////////////////////////// --> | ||
| 24 | - <link rel="shortcut icon" href="/static/home/images/favicon.ico" /> | ||
| 25 | - | ||
| 26 | - <!-- ////////////////////////////////// --> | ||
| 27 | - <!-- // Javascript Files // --> | ||
| 28 | - <!-- ////////////////////////////////// --> | ||
| 29 | - <script> | ||
| 30 | - var HOME = '/static/home'; | ||
| 31 | - </script> | ||
| 32 | - <script src="/static/home/js/jquery.min.js"></script> | ||
| 33 | - <script src="/static/home/js/jquery.easing-1.3.min.js"></script> | ||
| 34 | - <script src="/static/home/js/tooltip.js"></script> | ||
| 35 | - <script src="/static/home/js/dropdown.js"></script> | ||
| 36 | - <script src="/static/home/js/tinynav.min.js"></script> | ||
| 37 | - <script src="/static/home/js/camera.min.js"></script> | ||
| 38 | - <script src="/static/home/js/jquery.fancybox.js?v=2.0.6"></script> | ||
| 39 | - <script src="/static/home/js/jquery.fancybox-media.js?v=1.0.3"></script> | ||
| 40 | - <script src="/static/home/js/jquery.ui.totop.min.js"></script> | ||
| 41 | - <script src="/static/home/js/ddaccordion.js"></script> | ||
| 42 | - <script src="/static/home/js/jquery.twitter.js"></script> | ||
| 43 | - <script src="/static/home/js/jflickrfeed.min.js"></script> | ||
| 44 | - <script src="/static/home/js/faq-functions.js"></script> | ||
| 45 | - <script src="/static/home/js/isotope.js"></script> | ||
| 46 | - <script src="/static/home/js/theme-functions.js"></script> | ||
| 47 | - <script> | ||
| 48 | - //设为首页 www.jb51.net | ||
| 49 | - function SetHome(obj,url){ | ||
| 50 | - try{ | ||
| 51 | - obj.style.behavior='url(#default#homepage)'; | ||
| 52 | - obj.setHomePage(url); | ||
| 53 | - }catch(e){ | ||
| 54 | - if(window.netscape){ | ||
| 55 | - try{ | ||
| 56 | - netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); | ||
| 57 | - }catch(e){ | ||
| 58 | - alert("抱歉,此操作被浏览器拒绝!\n\n请在浏览器地址栏输入“about:config”并回车然后将[signed.applets.codebase_principal_support]设置为'true'"); | ||
| 59 | - } | ||
| 60 | - }else{ | ||
| 61 | - alert("抱歉,您所使用的浏览器无法完成此操作。\n\n您需要手动将【"+url+"】设置为首页。"); | ||
| 62 | - } | ||
| 63 | - } | ||
| 64 | - } | ||
| 65 | - | ||
| 66 | - //收藏本站 www.jb51.net | ||
| 67 | - function AddFavorite(title, url) { | ||
| 68 | - try { | ||
| 69 | - window.external.addFavorite(url, title); | ||
| 70 | - } | ||
| 71 | - catch (e) { | ||
| 72 | - try { | ||
| 73 | - window.sidebar.addPanel(title, url, ""); | ||
| 74 | - } | ||
| 75 | - catch (e) { | ||
| 76 | - alert("抱歉,您所使用的浏览器无法完成此操作。\n\n加入收藏失败,请进入新网站后使用Ctrl+D进行添加"); | ||
| 77 | - } | ||
| 78 | - } | ||
| 79 | - } | ||
| 80 | - </script> | ||
| 81 | - <!-- IE Fix for HTML5 Tags --> | ||
| 82 | - <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | ||
| 83 | - <![endif]--> | ||
| 84 | - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
| 85 | - | ||
| 86 | -</head> | ||
| 87 | -<body> | ||
| 88 | -<div class="user"> | ||
| 89 | - <div id="top-social"> | ||
| 90 | - <div class="social-panel"> | ||
| 91 | - <ul> | ||
| 92 | - <li><a href="javascript:void(0);" onclick="SetHome(this,'<?php echo config('url_domain_root'); ?>');">设为首页</a></li> | ||
| 93 | - <li><a href="javascript:void(0);" onclick="AddFavorite('<?php echo config('sys_name'); ?>','<?php echo config('url_domain_root'); ?>')">加入收藏</a></li> | ||
| 94 | - <li><a href="<?php echo url('user/index/index'); ?>" target="_blank"><?php if(session('user.username')): ?><?php echo session('user.username'); else: ?>会员中心<?php endif; ?></a></li> | ||
| 95 | - </ul> | ||
| 96 | - </div> | ||
| 97 | - </div> | ||
| 98 | - <div class="clear"></div> | ||
| 99 | -</div> | ||
| 100 | -<!-- header start here --> | ||
| 101 | -<header> | ||
| 102 | - <div id="main-wrapper"> | ||
| 103 | - <!-- logo start here --> | ||
| 104 | - <div id="logo"> | ||
| 105 | - <a href="<?php echo url('home/index/index'); ?>" title="内容管理系统"><img src="<?php echo htmlentities($sys['logo']); ?>" alt="CLTPHP" style="width: 160px;height: 43px;" /></a> | ||
| 106 | - </div> | ||
| 107 | - <!-- logo end here --> | ||
| 108 | - <!-- mainmenu start here --> | ||
| 109 | - <nav id="mainmenu"> | ||
| 110 | - <ul id="menu"> | ||
| 111 | - <li <?php if($controller == 'index'): ?>class="selected"<?php endif; ?>><a href="<?php echo url('home/index/index'); ?>" title="内容管理系统">首页</a></li> | ||
| 112 | - <?php if(is_array($category) || $category instanceof \think\Collection || $category instanceof \think\Paginator): $i = 0; $__LIST__ = $category;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> | ||
| 113 | - <li <?php if($controller == $vo['catdir']): ?>class="selected"<?php endif; ?>> | ||
| 114 | - <?php if($vo['child'] == 1): ?> | ||
| 115 | - <a href="#"><?php echo htmlentities($vo['catname']); ?></a> | ||
| 116 | - <ul> | ||
| 117 | - <?php if(is_array($vo['sub']) || $vo['sub'] instanceof \think\Collection || $vo['sub'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['sub'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?> | ||
| 118 | - <li><a href="<?php echo url('home/'.$vo['catdir'].'/index',['catId'=>$v['id']] ); ?>" title="<?php echo htmlentities($v['catname']); ?>-内容管理系统"><span>-</span> <?php echo htmlentities($v['catname']); ?></a></li> | ||
| 119 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
| 120 | - </ul> | ||
| 121 | - <?php else: ?> | ||
| 122 | - <a href="<?php echo url('home/'.$vo['catdir'].'/index',['catId'=>$vo['id']] ); ?>" title="<?php echo htmlentities($vo['catname']); ?>-内容管理系统"><?php echo htmlentities($vo['catname']); ?></a> | ||
| 123 | - <?php endif; ?> | ||
| 124 | - </li> | ||
| 125 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
| 126 | - </ul> | ||
| 127 | - </nav> | ||
| 128 | - <!-- mainmenu end here --> | ||
| 129 | - | ||
| 130 | - </div> | ||
| 131 | -</header> | ||
| 132 | -<!-- header end here --> | ||
| 133 | -<!-- pagetitle start here --> | ||
| 134 | -<section id="pagetitle-wrapper"> | ||
| 135 | - <div class="pagetitle-content"> | ||
| 136 | - <h2><?php echo htmlentities($title); ?></h2> | ||
| 137 | - </div> | ||
| 138 | -</section> | ||
| 139 | -<!-- pagetitle end here --> | ||
| 140 | - | ||
| 141 | -<!-- breadcrumb start here --> | ||
| 142 | -<section id="breadcrumb-wrapper"> | ||
| 143 | - <div id="breadcrumb-content"> | ||
| 144 | - <ul> | ||
| 145 | - <li><a href="<?php echo url('home/index/index'); ?>" title="<?php echo htmlentities($sys['title']); ?>">首页</a></li> | ||
| 146 | - <li><a href="<?php echo url('home/'.MODULE_NAME.'/index',array('catId'=>input('catId'))); ?>" title="<?php echo htmlentities($title); ?>"><?php echo htmlentities($title); ?></a></li> | ||
| 147 | - <li><?php echo htmlentities($info['title']); ?></li> | ||
| 148 | - </ul> | ||
| 149 | - </div> | ||
| 150 | -</section> | ||
| 151 | - | ||
| 152 | -<section id="content-wrapper"> | ||
| 153 | - <div class="row"> | ||
| 154 | - <div class="six columns"> | ||
| 155 | - <h5>留下您宝贵的意见</h5> | ||
| 156 | - <div id="contact-form-area"> | ||
| 157 | - <!-- Contact Form Start //--> | ||
| 158 | - <form action="#" id="contactform" /> | ||
| 159 | - <fieldset> | ||
| 160 | - <label>标题 <em>*</em></label> | ||
| 161 | - <input type="text" name="title" class="textfield" id="title"/> | ||
| 162 | - <label>称呼 <em>*</em></label> | ||
| 163 | - <input type="text" name="name" class="textfield" id="name"/> | ||
| 164 | - <label>邮箱 <em>*</em></label> | ||
| 165 | - <input type="text" name="email" class="textfield" id="email" /> | ||
| 166 | - <textarea name="content" id="content" class="textarea" cols="2" rows="4"></textarea> | ||
| 167 | - <div class="clear"></div> | ||
| 168 | - <label> </label> | ||
| 169 | - <input type="button" name="submit" class="buttoncontact" id="buttonsend" value="提交" /> | ||
| 170 | - <span class="loading" style="display: none;">Please wait..</span> | ||
| 171 | - <div class="clear"></div> | ||
| 172 | - </fieldset> | ||
| 173 | - </form> | ||
| 174 | - <!-- Contact Form End //--> | ||
| 175 | - </div> | ||
| 176 | - </div> | ||
| 177 | - <div class="six columns"> | ||
| 178 | - <div class="panel stamp"> | ||
| 179 | - <h5>联系信息</h5> | ||
| 180 | - <?php echo $info['content']; ?> | ||
| 181 | - <ul class="contact-info"> | ||
| 182 | - <li class="address-icon"><a href="" title="CLTPHP">纳极科技</a></li> | ||
| 183 | - <li class="qq-icon"><a target="_blank" href=""><img border="0" src="//pub.idqqimg.com/wpa/images/group.png" alt="交流群0001" title="交流群0002"></a></li> | ||
| 184 | - <li class="qq-icon">站长QQ号 : <a href="tencent://message/?uin=1034677692&Site=&Menu=yes" title="点击加好友">1034677692</a></li> | ||
| 185 | - <li class="email-icon">Email : teemitop@126.com</li> | ||
| 186 | - <li class="time-icon">当前时间: <?php echo toDate(time(),'Y-m-d H:i:s'); ?></li> | ||
| 187 | - </ul> | ||
| 188 | - </div> | ||
| 189 | - </div> | ||
| 190 | - </div> | ||
| 191 | - | ||
| 192 | - <div class="row"> | ||
| 193 | - <div class="twelve columns"> | ||
| 194 | - | ||
| 195 | - </div> | ||
| 196 | - </div> | ||
| 197 | -</section> | ||
| 198 | -<script> | ||
| 199 | - $('#buttonsend').click(function(){ | ||
| 200 | - var title = $('#title').val(); | ||
| 201 | - var name = $('#name').val(); | ||
| 202 | - var email = $('#email').val(); | ||
| 203 | - var content = $('#content').val(); | ||
| 204 | - if($.trim(title)==''){ | ||
| 205 | - alert('标题不能为空'); | ||
| 206 | - return false; | ||
| 207 | - } | ||
| 208 | - if($.trim(name)==''){ | ||
| 209 | - alert('称呼不能为空'); | ||
| 210 | - return false; | ||
| 211 | - } | ||
| 212 | - if($.trim(email)==''){ | ||
| 213 | - alert('邮箱不能为空'); | ||
| 214 | - return false; | ||
| 215 | - } | ||
| 216 | - if($.trim(content)==''){ | ||
| 217 | - alert('内容不能为空'); | ||
| 218 | - return false; | ||
| 219 | - } | ||
| 220 | - $.post("<?php echo url('home/index/senmsg'); ?>",{title:title,name:name,email:email,content:content},function(data){ | ||
| 221 | - console.log(data); | ||
| 222 | - if(data.status==1){ | ||
| 223 | - alert('留言成功!感谢您对我们的支持!'); | ||
| 224 | - window.location.href = "<?php echo url('home/contact/index',array('catId'=>input('catId'))); ?>" | ||
| 225 | - }else{ | ||
| 226 | - alert('留言失败!重新提交试试!'); | ||
| 227 | - } | ||
| 228 | - }) | ||
| 229 | - }) | ||
| 230 | -</script> | ||
| 231 | -<!-- maincontent end here --> | ||
| 232 | -<!-- footer start here --> | ||
| 233 | -<footer> | ||
| 234 | - <div class="row"> | ||
| 235 | - <div class="three columns mobile-two"> | ||
| 236 | - <!--<img src="/static/home/images/logo2.png" alt="CLTPHP" class="img-left" />--> | ||
| 237 | - <p class="copyright-text"> | ||
| 238 | - ©<?php echo htmlentities($sys['copyright']); ?> <a href="http://www.cltphp.com/" style="color: #747373" rel="external" title="<?php echo htmlentities($sys['title']); ?>"><?php echo htmlentities($sys['title']); ?></a><br> | ||
| 239 | - <a href="http://www.miitbeian.gov.cn/" style="color: #747373" target="_blank" rel="nofollow"><?php echo htmlentities($sys['bah']); ?></a><br> | ||
| 240 | - </p> | ||
| 241 | - </div> | ||
| 242 | - <div class="three columns mobile-two"> | ||
| 243 | - <h5>联系我们</h5> | ||
| 244 | - <ul> | ||
| 245 | - <li class="address-icon"><a href="<?php echo htmlentities($sys['url']); ?>" title="<?php echo htmlentities($sys['title']); ?>"><?php echo htmlentities($sys['title']); ?></a></li> | ||
| 246 | - <li class="qq-icon"><a target="_blank" href=""><img border="0" src="//pub.idqqimg.com/wpa/images/group.png" alt="CLTPHP交流群0002" title="CLTPHP交流群0002"></a></li> | ||
| 247 | - <li class="qq-icon">站长QQ号 : <a target="_blank" rel="nofollow" title="点击加好友" href="tencent://message/?uin=1034677692&Site=&Menu=yes">1034677692</a></li> | ||
| 248 | - <li class="email-icon">Email : <?php echo htmlentities($sys['email']); ?></li> | ||
| 249 | - </ul> | ||
| 250 | - </div> | ||
| 251 | - <div class="three columns mobile-two"> | ||
| 252 | - <h5>友情链接</h5> | ||
| 253 | - <ul> | ||
| 254 | - <?php if(is_array($linkList) || $linkList instanceof \think\Collection || $linkList instanceof \think\Paginator): $i = 0; $__LIST__ = $linkList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> | ||
| 255 | - <!--<li><a href="<?php echo htmlentities($vo['url']); ?>" rel="external" title="<?php echo htmlentities($vo['name']); ?>"><?php echo htmlentities($vo['name']); ?></a></li>--> | ||
| 256 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
| 257 | - <li><a href="https://www.kancloud.cn/chichu/cltphp" target="_blank" rel="nofollow" title="CLTPHP操作开发手册">CLTPHP操作开发手册</a></li> | ||
| 258 | - </ul> | ||
| 259 | - </div> | ||
| 260 | - <div class="three columns mobile-two"> | ||
| 261 | - <h5>扫码捐助</h5> | ||
| 262 | - <div class="wxsq"> | ||
| 263 | - <!--<img src="/static/home/images/wxsq.png" alt="CLTPHP微信二维码" title="CLTPHP微信二维码">--> | ||
| 264 | - </div> | ||
| 265 | - </div> | ||
| 266 | - </div> | ||
| 267 | -</footer> | ||
| 268 | -<!-- footer end here --> | ||
| 269 | -<script> | ||
| 270 | - $('#noscript').remove(); | ||
| 271 | - jQuery(function($){ | ||
| 272 | - //external加上target="_blank" | ||
| 273 | - $("a[rel*=external]").attr("target","_blank"); | ||
| 274 | - }); | ||
| 275 | -</script> | ||
| 276 | -</body> | ||
| 277 | -</html> |
| 1 | -<?php /*a:3:{s:95:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/wechat/materialmessage.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/head.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/foot.html";i:1535107019;}*/ ?> | ||
| 2 | -<!DOCTYPE html> | ||
| 3 | -<html> | ||
| 4 | -<head> | ||
| 5 | - <meta charset="utf-8"> | ||
| 6 | - <title><?php echo config('sys_name'); ?>后台管理</title> | ||
| 7 | - <meta name="renderer" content="webkit"> | ||
| 8 | - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 9 | - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | ||
| 10 | - <meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
| 11 | - <meta name="apple-mobile-web-app-capable" content="yes"> | ||
| 12 | - <meta name="format-detection" content="telephone=no"> | ||
| 13 | - <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" /> | ||
| 14 | - <link rel="stylesheet" href="/static/admin/css/global.css" media="all"> | ||
| 15 | - <link rel="stylesheet" href="/static/common/css/font.css" media="all"> | ||
| 16 | -</head> | ||
| 17 | -<body class="skin-<?php if(!empty($_COOKIE['skin'])){echo $_COOKIE['skin'];}else{echo '0';setcookie('skin','0');}?>"> | ||
| 18 | -<style> | ||
| 19 | - .layui-table-cell{height: auto;} | ||
| 20 | - .layui-table-cell ul li a{color: #1C8FEF;display: block;border: 1px solid #ececec;padding: 3px 8px;} | ||
| 21 | - .layui-table-cell ul li a:hover{color: #005580} | ||
| 22 | -</style> | ||
| 23 | -<div class="admin-main layui-anim layui-anim-upbit"> | ||
| 24 | - <fieldset class="layui-elem-field layui-field-title"> | ||
| 25 | - <legend>消息素材</legend> | ||
| 26 | - </fieldset> | ||
| 27 | - <div class="demoTable"> | ||
| 28 | - <?php if(is_array($child_menu_list) || $child_menu_list instanceof \think\Collection || $child_menu_list instanceof \think\Paginator): if( count($child_menu_list)==0 ) : echo "" ;else: foreach($child_menu_list as $k=>$child_menu): if($child_menu['active'] == '1'): ?> | ||
| 29 | - <a href="<?php echo htmlentities($child_menu['url']); ?>" class="layui-btn layui-btn-danger layui-btn-sm"><?php echo htmlentities($child_menu['menu_name']); ?></a> | ||
| 30 | - <?php else: ?> | ||
| 31 | - <a href="<?php echo htmlentities($child_menu['url']); ?>" class="layui-btn layui-btn-primary layui-btn-sm"><?php echo htmlentities($child_menu['menu_name']); ?></a> | ||
| 32 | - <?php endif; endforeach; endif; else: echo "" ;endif; ?> | ||
| 33 | - <a href="<?php echo url('addMedia',['url'=>'materialmessage']); ?>" class="layui-btn layui-btn-sm" style="float:right;margin-right: 15px;"><?php echo lang('add'); ?></a> | ||
| 34 | - </div> | ||
| 35 | - <table class="layui-table" id="list" lay-filter="list"></table> | ||
| 36 | -</div> | ||
| 37 | -<script type="text/html" id="action"> | ||
| 38 | - <a href="<?php echo url('updatemedia'); ?>?media_id={{d.media_id}}" class="layui-btn layui-btn-xs">编辑</a> | ||
| 39 | - <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a> | ||
| 40 | -</script> | ||
| 41 | -<script type="text/html" id="title"> | ||
| 42 | - <ul> | ||
| 43 | - {{# for(var l=0; l<d.item_list.length; l++){ }} | ||
| 44 | - <li><a href="#">{{d.item_list[l]}}</a></li> | ||
| 45 | - {{# } }} | ||
| 46 | - </ul> | ||
| 47 | -</script> | ||
| 48 | -<script type="text/html" id="type"> | ||
| 49 | - {{# if(d.type=='1'){ }} | ||
| 50 | - 文本 | ||
| 51 | - {{# }else if(d.type=='2'){ }} | ||
| 52 | - 单图文 | ||
| 53 | - {{# }else{ }} | ||
| 54 | - 多图文 | ||
| 55 | - {{# } }} | ||
| 56 | -</script> | ||
| 57 | -<script type="text/javascript" src="/static/plugins/layui/layui.js"></script> | ||
| 58 | - | ||
| 59 | - | ||
| 60 | -<script> | ||
| 61 | - layui.use('table', function() { | ||
| 62 | - var table = layui.table, $ = layui.jquery; | ||
| 63 | - var tableIn = table.render({ | ||
| 64 | - id: 'user', | ||
| 65 | - elem: '#list', | ||
| 66 | - url: "<?php echo url('materialmessage'); ?>", | ||
| 67 | - method: 'post', | ||
| 68 | - where:{'type':"<?php echo input('type'); ?>"}, | ||
| 69 | - page: true, | ||
| 70 | - even:true, | ||
| 71 | - cols: [[ | ||
| 72 | - {field: 'type', title: '类型', width: 100,templet:'#type'}, | ||
| 73 | - {field: 'title',title: '<?php echo lang("title"); ?>', width: 320,style:'height: auto;',templet:'#title'}, | ||
| 74 | - {field: 'create_time', title: '创建时间', width: 180}, | ||
| 75 | - {width: 160, align: 'center', toolbar: '#action'} | ||
| 76 | - ]], | ||
| 77 | - limit: 10 //每页默认显示的数量 | ||
| 78 | - }); | ||
| 79 | - table.on('tool(list)', function(obj) { | ||
| 80 | - var data = obj.data; | ||
| 81 | - if (obj.event === 'del') { | ||
| 82 | - layer.confirm('您确定要删除该信息吗?', function(index){ | ||
| 83 | - var loading = layer.load(1, {shade: [0.1, '#fff']}); | ||
| 84 | - $.post("<?php echo url('deleteWeixinMedia'); ?>",{media_id:data.media_id},function(res){ | ||
| 85 | - layer.close(loading); | ||
| 86 | - if(res.code===1){ | ||
| 87 | - layer.msg(res.msg,{time:1000,icon:1}); | ||
| 88 | - tableIn.reload(); | ||
| 89 | - }else{ | ||
| 90 | - layer.msg('操作失败!',{time:1000,icon:2}); | ||
| 91 | - } | ||
| 92 | - }); | ||
| 93 | - layer.close(index); | ||
| 94 | - }); | ||
| 95 | - } | ||
| 96 | - }); | ||
| 97 | - }); | ||
| 98 | -</script> | ||
| 99 | -</body> | ||
| 100 | -</html> |
| 1 | -<?php /*a:3:{s:86:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/message/index.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/head.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/foot.html";i:1535107019;}*/ ?> | ||
| 2 | -<!DOCTYPE html> | ||
| 3 | -<html> | ||
| 4 | -<head> | ||
| 5 | - <meta charset="utf-8"> | ||
| 6 | - <title><?php echo config('sys_name'); ?>后台管理</title> | ||
| 7 | - <meta name="renderer" content="webkit"> | ||
| 8 | - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 9 | - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | ||
| 10 | - <meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
| 11 | - <meta name="apple-mobile-web-app-capable" content="yes"> | ||
| 12 | - <meta name="format-detection" content="telephone=no"> | ||
| 13 | - <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" /> | ||
| 14 | - <link rel="stylesheet" href="/static/admin/css/global.css" media="all"> | ||
| 15 | - <link rel="stylesheet" href="/static/common/css/font.css" media="all"> | ||
| 16 | -</head> | ||
| 17 | -<body class="skin-<?php if(!empty($_COOKIE['skin'])){echo $_COOKIE['skin'];}else{echo '0';setcookie('skin','0');}?>"> | ||
| 18 | -<div class="admin-main layui-anim layui-anim-upbit"> | ||
| 19 | - <fieldset class="layui-elem-field layui-field-title"> | ||
| 20 | - <legend><?php echo lang('message'); ?><?php echo lang('list'); ?></legend> | ||
| 21 | - </fieldset> | ||
| 22 | - <div class="demoTable"> | ||
| 23 | - <div class="layui-inline"> | ||
| 24 | - <input class="layui-input" name="key" id="key" placeholder="<?php echo lang('pleaseEnter'); ?>关键字"> | ||
| 25 | - </div> | ||
| 26 | - <button class="layui-btn" id="search" data-type="reload"><?php echo lang('search'); ?></button> | ||
| 27 | - <a href="<?php echo url('index'); ?>" class="layui-btn">显示全部</a> | ||
| 28 | - <button type="button" class="layui-btn layui-btn-danger" id="delAll">批量删除</button> | ||
| 29 | - </div> | ||
| 30 | - <table class="layui-table" id="list" lay-filter="list"></table> | ||
| 31 | -</div> | ||
| 32 | -<script type="text/javascript" src="/static/plugins/layui/layui.js"></script> | ||
| 33 | - | ||
| 34 | - | ||
| 35 | -<script type="text/html" id="action"> | ||
| 36 | - <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a> | ||
| 37 | -</script> | ||
| 38 | -<script> | ||
| 39 | - layui.use('table', function() { | ||
| 40 | - var table = layui.table, $ = layui.jquery; | ||
| 41 | - var tableIn = table.render({ | ||
| 42 | - id: 'message', | ||
| 43 | - elem: '#list', | ||
| 44 | - url: '<?php echo url("index"); ?>', | ||
| 45 | - method: 'post', | ||
| 46 | - page: true, | ||
| 47 | - cols: [[ | ||
| 48 | - {checkbox: true, fixed: true}, | ||
| 49 | - {field: 'message_id', title: '<?php echo lang("id"); ?>', width: 80,fixed: true}, | ||
| 50 | - {field: 'name', title: '<?php echo lang("name"); ?>', width: 120}, | ||
| 51 | - {field: 'email', title: '<?php echo lang("email"); ?>', width: 180}, | ||
| 52 | - {field: 'content', title: '<?php echo lang("content"); ?>', width: 300}, | ||
| 53 | - {field: 'addtime', title: '留言时间', width: 150}, | ||
| 54 | - {field: 'ip', title: '<?php echo lang("ip"); ?>', width: 180}, | ||
| 55 | - {width: 80, align: 'center', toolbar: '#action'} | ||
| 56 | - ]], | ||
| 57 | - limit: 10 //每页默认显示的数量 | ||
| 58 | - }); | ||
| 59 | - //搜索 | ||
| 60 | - $('#search').on('click', function () { | ||
| 61 | - var key = $('#key').val(); | ||
| 62 | - if ($.trim(key) === '') { | ||
| 63 | - layer.msg('<?php echo lang("pleaseEnter"); ?>关键字!', {icon: 0}); | ||
| 64 | - return; | ||
| 65 | - } | ||
| 66 | - tableIn.reload({ page: {page: 1}, where: {key: key}}); | ||
| 67 | - }); | ||
| 68 | - table.on('tool(list)', function(obj) { | ||
| 69 | - var data = obj.data; | ||
| 70 | - if (obj.event === 'del') { | ||
| 71 | - layer.confirm('您确定要删除该留言吗?', function(index){ | ||
| 72 | - var loading = layer.load(1, {shade: [0.1, '#fff']}); | ||
| 73 | - $.post("<?php echo url('del'); ?>",{message_id:data.message_id},function(res){ | ||
| 74 | - layer.close(loading); | ||
| 75 | - if(res.code===1){ | ||
| 76 | - layer.msg(res.msg,{time:1000,icon:1}); | ||
| 77 | - tableIn.reload(); | ||
| 78 | - }else{ | ||
| 79 | - layer.msg('操作失败!',{time:1000,icon:2}); | ||
| 80 | - } | ||
| 81 | - }); | ||
| 82 | - layer.close(index); | ||
| 83 | - }); | ||
| 84 | - } | ||
| 85 | - }); | ||
| 86 | - $('#delAll').click(function(){ | ||
| 87 | - layer.confirm('确认要删除选中的留言吗?', {icon: 3}, function(index) { | ||
| 88 | - layer.close(index); | ||
| 89 | - var checkStatus = table.checkStatus('message'); //test即为参数id设定的值 | ||
| 90 | - var ids = []; | ||
| 91 | - $(checkStatus.data).each(function (i, o) { | ||
| 92 | - ids.push(o.message_id); | ||
| 93 | - }); | ||
| 94 | - var loading = layer.load(1, {shade: [0.1, '#fff']}); | ||
| 95 | - $.post("<?php echo url('delall'); ?>", {ids: ids}, function (data) { | ||
| 96 | - layer.close(loading); | ||
| 97 | - if (data.code === 1) { | ||
| 98 | - layer.msg(data.msg, {time: 1000, icon: 1}); | ||
| 99 | - tableIn.reload(); | ||
| 100 | - } else { | ||
| 101 | - layer.msg(data.msg, {time: 1000, icon: 2}); | ||
| 102 | - } | ||
| 103 | - }); | ||
| 104 | - }); | ||
| 105 | - }) | ||
| 106 | - }); | ||
| 107 | -</script> |
| 1 | -<?php /*a:3:{s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/index/index.html";i:1535106631;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/head.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/foot.html";i:1535107019;}*/ ?> | ||
| 2 | -<!DOCTYPE html> | ||
| 3 | -<html> | ||
| 4 | -<head> | ||
| 5 | - <meta charset="utf-8"> | ||
| 6 | - <title><?php echo config('sys_name'); ?>后台管理</title> | ||
| 7 | - <meta name="renderer" content="webkit"> | ||
| 8 | - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 9 | - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | ||
| 10 | - <meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
| 11 | - <meta name="apple-mobile-web-app-capable" content="yes"> | ||
| 12 | - <meta name="format-detection" content="telephone=no"> | ||
| 13 | - <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" /> | ||
| 14 | - <link rel="stylesheet" href="/static/admin/css/global.css" media="all"> | ||
| 15 | - <link rel="stylesheet" href="/static/common/css/font.css" media="all"> | ||
| 16 | -</head> | ||
| 17 | -<body class="skin-<?php if(!empty($_COOKIE['skin'])){echo $_COOKIE['skin'];}else{echo '0';setcookie('skin','0');}?>"> | ||
| 18 | -<script> | ||
| 19 | - var ADMIN = '/static/admin'; | ||
| 20 | - var navs = <?php echo $menus; ?>; | ||
| 21 | -</script> | ||
| 22 | -<div class="layui-layout layui-layout-admin"> | ||
| 23 | - <div class="layui-header header"> | ||
| 24 | - <div class="layui-main"> | ||
| 25 | - <div class="admin-login-box"> | ||
| 26 | - <a class="logo" style="left: 0;" href="<?php echo url('admin/index/index'); ?>"> | ||
| 27 | - <span style="font-size: 22px;"><?php echo config('sys_name'); ?></span> | ||
| 28 | - </a> | ||
| 29 | - <div class="admin-side-toggle fs1"> | ||
| 30 | - <span class="icon icon-menu"></span> | ||
| 31 | - </div> | ||
| 32 | - <div class="admin-side-full"> | ||
| 33 | - <span class="icon icon-enlarge"></span> | ||
| 34 | - </div> | ||
| 35 | - </div> | ||
| 36 | - | ||
| 37 | - <ul class="layui-nav admin-header-item" lay-filter="side-top-right"> | ||
| 38 | - <?php if(session('username') == "admin"): ?><li class="layui-nav-item" id="cache"> | ||
| 39 | - <a href="javascript:;"><?php echo lang('clearCache'); ?></a> | ||
| 40 | - </li> | ||
| 41 | - <li class="layui-nav-item"> | ||
| 42 | - <a href="<?php echo url('home/index/index'); ?>" target="_blank"><?php echo lang('home'); ?></a> | ||
| 43 | - </li> | ||
| 44 | - <?php endif; ?> | ||
| 45 | - <li class="layui-nav-item"> | ||
| 46 | - <a class="name" href="javascript:;">主题</a> | ||
| 47 | - <dl class="layui-nav-child"> | ||
| 48 | - <dd data-skin="0"><a href="javascript:;">默认</a></dd> | ||
| 49 | - <dd data-skin="1"><a href="javascript:;">纯白</a></dd> | ||
| 50 | - <dd data-skin="2"><a href="javascript:;">蓝白</a></dd> | ||
| 51 | - </dl> | ||
| 52 | - </li> | ||
| 53 | - <li class="layui-nav-item"> | ||
| 54 | - <a href="javascript:;" class="admin-header-user"> | ||
| 55 | - <img src="<?php echo session('avatar'); ?>" class="layui-nav-img" /> | ||
| 56 | - <span><?php echo session('username'); ?></span> | ||
| 57 | - </a> | ||
| 58 | - <dl class="layui-nav-child"> | ||
| 59 | - <dd> | ||
| 60 | - <a href="<?php echo url('index/logout'); ?>"><i class="fa fa-sign-out" aria-hidden="true"></i><?php echo lang('logout'); ?></a> | ||
| 61 | - </dd> | ||
| 62 | - </dl> | ||
| 63 | - </li> | ||
| 64 | - </ul> | ||
| 65 | - <ul class="layui-nav admin-header-item-mobile"> | ||
| 66 | - <?php if(session('username') == "admin"): ?> | ||
| 67 | - <li class="layui-nav-item"> | ||
| 68 | - <a href="<?php echo url('home/index/index'); ?>" target="_blank"><?php echo lang('home'); ?></a> | ||
| 69 | - </li> | ||
| 70 | - <?php endif; ?> | ||
| 71 | - <li class="layui-nav-item"> | ||
| 72 | - <a href="<?php echo url('index/logout'); ?>"><i class="fa fa-sign-out" aria-hidden="true"></i> <?php echo lang('logout'); ?></a> | ||
| 73 | - </li> | ||
| 74 | - </ul> | ||
| 75 | - </div> | ||
| 76 | - </div> | ||
| 77 | - <div class="layui-side layui-bg-black" id="admin-side"> | ||
| 78 | - <div class="layui-side-scroll" id="admin-navbar-side" lay-filter="side"></div> | ||
| 79 | - </div> | ||
| 80 | - <div class="layui-body" style="bottom: 0;border-left: solid 2px #1AA094;" id="admin-body"> | ||
| 81 | - <div class="layui-tab admin-nav-card layui-tab-brief" lay-filter="admin-tab"> | ||
| 82 | - <ul class="layui-tab-title"> | ||
| 83 | - <li class="layui-this"> | ||
| 84 | - <i class="icon icon-earth" aria-hidden="true"></i> | ||
| 85 | - <cite>控制面板</cite> | ||
| 86 | - </li> | ||
| 87 | - </ul> | ||
| 88 | - <?php if(session('username') == "admin"): ?> | ||
| 89 | - <div class="layui-tab-content" style="min-height: 150px; padding: 5px 0 0 0;"> | ||
| 90 | - <div class="layui-tab-item layui-show"> | ||
| 91 | - <iframe src="<?php echo url('main'); ?>"></iframe> | ||
| 92 | - </div> | ||
| 93 | - </div> | ||
| 94 | - <?php else: ?> | ||
| 95 | - <div class="layui-tab-content" style="min-height: 150px; padding: 5px 0 0 0;"> | ||
| 96 | - <div class="layui-tab-item layui-show"> | ||
| 97 | - <iframe src="<?php echo url('welcome'); ?>"></iframe> | ||
| 98 | - </div> | ||
| 99 | - </div> | ||
| 100 | - <?php endif; ?> | ||
| 101 | - </div> | ||
| 102 | - </div> | ||
| 103 | - <div class="layui-footer footer footer-demo" id="admin-footer"> | ||
| 104 | - <div class="layui-main"> | ||
| 105 | - <p>2017 © | ||
| 106 | - <a href=""><?php echo config('sys_name'); ?></a> Apache Licence 2.0 | ||
| 107 | - </p> | ||
| 108 | - </div> | ||
| 109 | - </div> | ||
| 110 | - <div class="site-tree-mobile layui-hide"> | ||
| 111 | - <i class="layui-icon"></i> | ||
| 112 | - </div> | ||
| 113 | - <div class="site-mobile-shade"></div> | ||
| 114 | - <script type="text/javascript" src="/static/plugins/layui/layui.js"></script> | ||
| 115 | - | ||
| 116 | - | ||
| 117 | - <script src="/static/admin/js/index.js"></script> | ||
| 118 | - <script> | ||
| 119 | - layui.use('layer',function(){ | ||
| 120 | - var $ = layui.jquery, layer = layui.layer; | ||
| 121 | - $('#cache').click(function () { | ||
| 122 | - document.cookie="skin=;expires="+new Date().toGMTString(); | ||
| 123 | - layer.confirm('确认要清除缓存?', {icon: 3}, function () { | ||
| 124 | - $.post('<?php echo url("clear"); ?>',function (data) { | ||
| 125 | - layer.msg(data.info, {icon: 6}, function (index) { | ||
| 126 | - layer.close(index); | ||
| 127 | - window.location.href = data.url; | ||
| 128 | - }); | ||
| 129 | - }); | ||
| 130 | - }); | ||
| 131 | - }); | ||
| 132 | - }) | ||
| 133 | - </script> | ||
| 134 | -</div> | ||
| 135 | -</body> | ||
| 136 | -</html> |
| 1 | -<?php /*a:3:{s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/wechat/menu.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/head.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/foot.html";i:1535107019;}*/ ?> | ||
| 2 | -<!DOCTYPE html> | ||
| 3 | -<html> | ||
| 4 | -<head> | ||
| 5 | - <meta charset="utf-8"> | ||
| 6 | - <title><?php echo config('sys_name'); ?>后台管理</title> | ||
| 7 | - <meta name="renderer" content="webkit"> | ||
| 8 | - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 9 | - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | ||
| 10 | - <meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
| 11 | - <meta name="apple-mobile-web-app-capable" content="yes"> | ||
| 12 | - <meta name="format-detection" content="telephone=no"> | ||
| 13 | - <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" /> | ||
| 14 | - <link rel="stylesheet" href="/static/admin/css/global.css" media="all"> | ||
| 15 | - <link rel="stylesheet" href="/static/common/css/font.css" media="all"> | ||
| 16 | -</head> | ||
| 17 | -<body class="skin-<?php if(!empty($_COOKIE['skin'])){echo $_COOKIE['skin'];}else{echo '0';setcookie('skin','0');}?>"> | ||
| 18 | - | ||
| 19 | -<link rel="stylesheet" href="/static/admin/wxMenu/wx_base.css"> | ||
| 20 | -<link rel="stylesheet" href="/static/admin/wxMenu/wx_index.css"> | ||
| 21 | -<link rel="stylesheet" href="/static/admin/wxMenu/wx_tooltip.css"> | ||
| 22 | -<link rel="stylesheet" href="/static/admin/wxMenu/wx_lib.css"/> | ||
| 23 | -<link rel="stylesheet" href="/static/admin/wxMenu/wx_richvideo.css"/> | ||
| 24 | -<link rel="stylesheet" type="text/css" href="/static/admin/defau.css"> | ||
| 25 | -<style> | ||
| 26 | - .draggable-element { display: inline-block; text-align: center; color: rgb(51, 51, 51); cursor: move; } | ||
| 27 | - body { background: #fff;} | ||
| 28 | - .layui-table-cell{height: auto;} | ||
| 29 | - .layui-table-cell ul li a{color: #1C8FEF;display: block;border: 1px solid #ececec;padding: 3px 8px;} | ||
| 30 | - .layui-table-cell ul li a:hover{color: #005580} | ||
| 31 | - .layui-table-view{margin: 0;} | ||
| 32 | - .layui-table{margin: 0;} | ||
| 33 | -</style> | ||
| 34 | -<script> | ||
| 35 | - var UMTW = "<?php echo url('updatemenutoweixin'); ?>" | ||
| 36 | - var UWMET = "<?php echo url('updateweixinmenueventtype'); ?>" | ||
| 37 | - var AWM = "<?php echo url('addweixinmenu'); ?>" | ||
| 38 | - var UWMN = "<?php echo url('updateweixinmenuname'); ?>" | ||
| 39 | - var UWMU = "<?php echo url('updateweixinmenuurl'); ?>" | ||
| 40 | - var DWM = "<?php echo url('deleteweixinmenu'); ?>" | ||
| 41 | - var UWMM = "<?php echo url('updateweixinmenumessage'); ?>" | ||
| 42 | - var GWMD = "<?php echo url('getweixinmediadetail'); ?>" | ||
| 43 | - var UWMS = "<?php echo url('updateweixinmenuSort'); ?>" | ||
| 44 | - var PUBLIC = "__PUBLIC__" | ||
| 45 | -</script> | ||
| 46 | -<script src="/static/common/js/jquery-1.8.1.min.js"></script> | ||
| 47 | -<script src="/static/common/js/drag-arrange.js"></script> | ||
| 48 | -<script src="/static/admin/wx_menu/wx_menu.js"></script> | ||
| 49 | -<script type="text/javascript" src="/static/plugins/layui/layui.js"></script> | ||
| 50 | - | ||
| 51 | - | ||
| 52 | -<div class="admin-main layui-anim layui-anim-upbit"> | ||
| 53 | - <fieldset class="layui-elem-field layui-field-title"> | ||
| 54 | - <legend>菜单管理</legend> | ||
| 55 | - </fieldset> | ||
| 56 | - <div class="RIGHT"> | ||
| 57 | - <div class="ns-main"> | ||
| 58 | - <?php if($menu_list_count == 0): ?> | ||
| 59 | - <!-- 你尚未添加任何菜单 --> | ||
| 60 | - <blockquote class="layui-elem-quote js_startMenuBox"> | ||
| 61 | - 你尚未添加任何菜单 | ||
| 62 | - <a class="layui-btn js_openMenu" href="javascript:void(0);" target="_blank">添加菜单</a> | ||
| 63 | - </blockquote> | ||
| 64 | - <?php else: endif; ?> | ||
| 65 | - <div class="js_editBox" style="<?php if($menu_list_count == 0): ?>display:none;<?php endif; ?>"> | ||
| 66 | - <div class="menu_preview_area"> | ||
| 67 | - <div class="mobile_menu_preview"> | ||
| 68 | - <div class="mobile_hd tc"><?php echo htmlentities($wx_name); ?></div> | ||
| 69 | - <div class="mobile_bd"> | ||
| 70 | - <!-- 菜单 --> | ||
| 71 | - <ul class="pre_menu_list grid_line" id="menuList"> | ||
| 72 | - <?php if(is_array($menu_list) || $menu_list instanceof \think\Collection || $menu_list instanceof \think\Paginator): if( count($menu_list)==0 ) : echo "" ;else: foreach($menu_list as $k=>$menu): ?> | ||
| 73 | - <!-- 加载菜单 --> | ||
| 74 | - <li class="pre_menu_item size1of<?php echo htmlentities($class_index+1); if(($k+1)==$menu_list_count): ?> current<?php endif; ?>" data-menu-index="<?php echo htmlentities($k+1); ?>"> | ||
| 75 | - <!-- 一级菜单 --> | ||
| 76 | - <a href="javascript:void(0);" ondragstart="return false" class="pre_menu_link jsMenu" | ||
| 77 | - data-menuid="<?php echo htmlentities($menu['menu_id']); ?>" data-pid="0" data-menu-eventurl="<?php echo htmlentities($menu['menu_event_url']); ?>" | ||
| 78 | - data-menu-type="<?php echo htmlentities($menu['menu_event_type']); ?>" data-detault-menu-type="<?php echo htmlentities($menu['menu_event_type']); ?>" | ||
| 79 | - data-mediaid="<?php echo htmlentities($menu['media_id']); ?>" data-sort="<?php echo htmlentities($menu['sort']); ?>"> | ||
| 80 | - <?php if($menu['child_count'] > 0): ?> | ||
| 81 | - <!-- 有二级菜单,显示小图标 --> | ||
| 82 | - <i class="icon_menu_dot js_icon_menu_dot dn"></i> | ||
| 83 | - <?php endif; ?> | ||
| 84 | - <span><?php echo htmlentities($menu['menu_name']); ?></span> | ||
| 85 | - </a> | ||
| 86 | - <!-- 一级菜单 --> | ||
| 87 | - <!-- 二级菜单 --> | ||
| 88 | - <div class="sub_pre_menu_box" data-submenulist="<?php echo htmlentities($k+1); ?>" style="<?php if(($k+1)!=$menu_list_count): ?>display: none;<?php endif; ?>" > | ||
| 89 | - <ul class="sub_pre_menu_list"> | ||
| 90 | - <?php if(is_array($menu['child']) || $menu['child'] instanceof \think\Collection || $menu['child'] instanceof \think\Paginator): if( count($menu['child'])==0 ) : echo "" ;else: foreach($menu['child'] as $key=>$sub_menu): ?> | ||
| 91 | - <li class="jsSubMenuInner"> | ||
| 92 | - <a href="javascript:void(0);" ondragstart="return false" data-pid="<?php echo htmlentities($sub_menu['pid']); ?>" | ||
| 93 | - data-menuid="<?php echo htmlentities($sub_menu['menu_id']); ?>" data-menu-eventurl="<?php echo htmlentities($sub_menu['menu_event_url']); ?>" | ||
| 94 | - data-menu-type="<?php echo htmlentities($sub_menu['menu_event_type']); ?>" | ||
| 95 | - data-detault-menu-type="<?php echo htmlentities($sub_menu['menu_event_type']); ?>" | ||
| 96 | - data-mediaid="<?php echo htmlentities($sub_menu['media_id']); ?>" data-sort="<?php echo htmlentities($sub_menu['sort']); ?>"> | ||
| 97 | - <span class="sub_pre_menu_inner"><?php echo htmlentities($sub_menu['menu_name']); ?></span> | ||
| 98 | - </a> | ||
| 99 | - </li> | ||
| 100 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
| 101 | - <!-- 限制二级菜单数量的添加 --> | ||
| 102 | - <li class="jsSubMenu" data-pid="<?php echo htmlentities($menu['menu_id']); ?>" data-subindex="<?php echo htmlentities($k+1); ?>" style="<?php if($menu['child_count'] ==$MAX_SUB_MENU_LENGTH): ?>display:none;<?php endif; ?>" > | ||
| 103 | - <a href="javascript:void(0);" title="最多添加<?php echo htmlentities($MAX_SUB_MENU_LENGTH); ?>个子菜单"> | ||
| 104 | - <span class="sub_pre_menu_inner"> | ||
| 105 | - <i class="icon14_menu_add" style="background-position: 0 0;"></i> | ||
| 106 | - </span> | ||
| 107 | - </a> | ||
| 108 | - </li> | ||
| 109 | - </ul> | ||
| 110 | - <i class="arrow arrow_out"></i> <i class="arrow arrow_in"></i><!-- 箭头 --> | ||
| 111 | - </div> | ||
| 112 | - <!-- 二级菜单 --> | ||
| 113 | - </li> | ||
| 114 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
| 115 | - <!-- 限制一级菜单数量的添加 --> | ||
| 116 | - <li class="js-addMenuBtn pre_menu_item size1of<?php echo htmlentities($class_index+1); ?>" style="<?php if($menu_list_count >= $MAX_MENU_LENGTH): ?>display:none;<?php endif; ?>" data-class-index="<?php echo htmlentities($class_index+1); ?>"> | ||
| 117 | - <a href="javascript:void(0);" class="pre_menu_link " title="最多添加<?php echo htmlentities($MAX_MENU_LENGTH); ?>个一级菜单"> | ||
| 118 | - <i class="icon14_menu_add"></i> | ||
| 119 | - <?php if($menu_list_count==0): ?> | ||
| 120 | - <span>添加菜单</span> | ||
| 121 | - <?php endif; ?> | ||
| 122 | - </a> | ||
| 123 | - </li> | ||
| 124 | - </ul> | ||
| 125 | - <!-- 菜单 --> | ||
| 126 | - </div> | ||
| 127 | - </div> | ||
| 128 | - <!-- 菜单排序,后期实现拖拽 --> | ||
| 129 | - <div class="sort_btn_wrp" style="<?php if($menu_list_count == 0): ?>display:none;<?php endif; ?>" > | ||
| 130 | - <a id="orderBt" class="<?php if($menu_list_count <2): ?> dn <?php endif; ?> layui-btn layui-btn-primary" href="javascript:void(0);">菜单排序</a> | ||
| 131 | - <span id="orderDis" class="<?php if($menu_list_count >1): ?> dn <?php endif; ?> layui-btn layui-btn-primary layui-btn-disabled">菜单排序</span> | ||
| 132 | - <a id="finishBt" href="javascript:void(0);" class="dn layui-btn">完成</a> | ||
| 133 | - </div> | ||
| 134 | - </div> | ||
| 135 | - <div class="menu_form_area"> | ||
| 136 | - <!-- 点击左侧菜单进行编辑操作 --> | ||
| 137 | - <div id="js_none" class="menu_initial_tips tips_global" style="display: none;">请通过拖拽左边的菜单进行排序</div> | ||
| 138 | - <div id="js_rightBox" class="portable_editor to_left"> | ||
| 139 | - <div class="editor_inner"> | ||
| 140 | - <div class="global_mod float_layout menu_form_hd js_second_title_bar"> | ||
| 141 | - <h4 class="global_info"><?php echo htmlentities($default_menu_info['menu_name']); ?></h4> | ||
| 142 | - <div class="global_extra"> | ||
| 143 | - <a href="javascript:void(0);" id="jsDelBt" data-menuid="<?php echo htmlentities($default_menu_info['menu_id']); ?>" data-menuname="<?php echo htmlentities($default_menu_info['menu_name']); ?>">删除菜单</a> | ||
| 144 | - </div> | ||
| 145 | - </div> | ||
| 146 | - <div class="menu_form_bd" id="view"> | ||
| 147 | - <div id="js_innerNone" class="msg_sender_tips tips_global" style="<?php if($default_menu_info['child_count']==0): ?>display: none;<?php endif; ?>" > | ||
| 148 | - 已添加子菜单,仅可设置菜单名称。 | ||
| 149 | - </div> | ||
| 150 | - <div class="frm_control_group js_setNameBox"> | ||
| 151 | - <label for="menuname" class="frm_label"><strong class="title js_menuTitle">菜单名称</strong></label> | ||
| 152 | - <div class="frm_controls"> | ||
| 153 | - <span class="frm_input_box with_counter counter_in append"> | ||
| 154 | - <input type="text" id="menuname" data-switch="menuname" class="frm_input" style="box-shadow: none; padding: 0;" value="<?php echo htmlentities($default_menu_info['menu_name']); ?>"> | ||
| 155 | - </span> | ||
| 156 | - <p class="frm_msg fail js_titleEorTips dn" style="display: none;">字节超过上限</p> | ||
| 157 | - <p class="frm_tips js_titleNolTips">字数不超过4个汉字或8个字母</p> | ||
| 158 | - </div> | ||
| 159 | - </div> | ||
| 160 | - <div class="frm_control_group js_setGraphic" style="<?php if($default_menu_info['child_count']>0): ?>display:none;<?php endif; ?>" > | ||
| 161 | - <label for="" class="frm_label"> <strong class="title js_menuContent">菜单内容</strong></label> | ||
| 162 | - <div class="frm_controls frm_vertical_pt"> | ||
| 163 | - <label class="frm_radio_label js_radio_sendMsg <?php if($default_menu_info['menu_event_type'] == 2|| $default_menu_info['menu_event_type'] == 3): ?>selected<?php endif; ?>"> | ||
| 164 | - <i class="icon_radio"></i> <span class="lbl_content">发送消息</span> | ||
| 165 | - </label> | ||
| 166 | - <label class="frm_radio_label js_radio_url <?php if($default_menu_info['menu_event_type'] == 1): ?>selected<?php endif; ?>"> | ||
| 167 | - <i class="icon_radio"></i> <span class="lbl_content">跳转网页</span> | ||
| 168 | - </label> | ||
| 169 | - </div> | ||
| 170 | - </div> | ||
| 171 | - <div class="menu_content_container js_setGraphic" style="<?php if($default_menu_info['child_count']>0): ?>display:none;<?php endif; ?>"> | ||
| 172 | - <!-- 发送消息 --> | ||
| 173 | - <div class="menu_content send jsMain" id="edit" style="<?php if($default_menu_info['menu_event_type'] == 2|| $default_menu_info['menu_event_type'] == 3): ?>display: block;<?php else: ?>display:none;<?php endif; ?>"> | ||
| 174 | - <div class="msg_sender" id="editDiv"> | ||
| 175 | - <div class="msg_tab"> | ||
| 176 | - <div class="tab_navs_panel"> | ||
| 177 | - <div class="tab_navs_wrp"> | ||
| 178 | - <ul class="tab_navs js_tab_navs"> | ||
| 179 | - <li class="tab_nav tab_appmsg width4 selected" data-type="10" data-tab=".js_appmsgArea" data-tooltip="图文消息"> | ||
| 180 | - <a href="javascript:void(0);"> <i class="icon_msg_sender"></i><span class="msg_tab_title">图文消息</span></a> | ||
| 181 | - </li> | ||
| 182 | - </ul> | ||
| 183 | - </div> | ||
| 184 | - </div> | ||
| 185 | - <div class="tab_panel"> | ||
| 186 | - <div class="tab_content"> | ||
| 187 | - <div class="js_appmsgArea inner "> | ||
| 188 | - <div class="tab_cont_cover jsMsgSendTab" style="<?php if($default_menu_info['media_id'] != 0): ?>display:none;<?php endif; ?>" > | ||
| 189 | - <div class="media_cover"> | ||
| 190 | - <span class="create_access"> | ||
| 191 | - <a class="add_gray_wrp jsMsgSenderPopBt" href="javascript:;"> | ||
| 192 | - <i class="icon36_common add_gray"></i> <strong>从素材库中选择</strong> | ||
| 193 | - </a> | ||
| 194 | - </span> | ||
| 195 | - </div> | ||
| 196 | - <div class="media_cover"> | ||
| 197 | - <span class="create_access"> | ||
| 198 | - <a class="add_gray_wrp" href="<?php echo url('addMedia'); ?>"> | ||
| 199 | - <i class="icon36_common add_gray"></i> <strong>新建图文消息</strong> | ||
| 200 | - </a> | ||
| 201 | - </span> | ||
| 202 | - </div> | ||
| 203 | - </div> | ||
| 204 | - <div id="show_media" style="<?php if($default_menu_info['media_id'] == 0): ?>display:none;<?php endif; ?>" > | ||
| 205 | - <div class="appmsg multi has_first_cover"> | ||
| 206 | - <div class="appmsg_content"> | ||
| 207 | - <div class="appmsg_info"> | ||
| 208 | - <em class="appmsg_date"> | ||
| 209 | - <?php echo htmlentities($default_menu_info['media_list']['create_time']); ?> | ||
| 210 | - </em> | ||
| 211 | - </div> | ||
| 212 | - <div class="cover_appmsg_item"> | ||
| 213 | - <h4 class="appmsg_title js-media-title"> | ||
| 214 | - <a href="" target="_blank"> | ||
| 215 | - <?php echo htmlentities($default_menu_info['media_list']['title']); ?> | ||
| 216 | - </a> | ||
| 217 | - </h4> | ||
| 218 | - <!-- 封面11 --> | ||
| 219 | - <?php if((isset($default_menu_info['media_list']))): ?> | ||
| 220 | - <div class="appmsg_thumb_wrp" | ||
| 221 | - style="<?php if($default_menu_info['media_list']['item_list_count'] >0 and $default_menu_info[media_list][item_list][0][cover]): ?>background-image:url('<?php echo htmlentities($default_menu_info[media_list][item_list][0][cover]); ?>')<?php endif; ?>" ></div> | ||
| 222 | - <?php else: endif; ?> | ||
| 223 | - | ||
| 224 | - </div> | ||
| 225 | - <?php if($default_menu_info['media_list']['item_list_count'] >1): if(is_array($default_menu_info['media_list']['item_list']) || $default_menu_info['media_list']['item_list'] instanceof \think\Collection || $default_menu_info['media_list']['item_list'] instanceof \think\Paginator): if( count($default_menu_info['media_list']['item_list'])==0 ) : echo "" ;else: foreach($default_menu_info['media_list']['item_list'] as $i=>$media): if($i != 0): ?> | ||
| 226 | - <div class="appmsg_item has_cover"> | ||
| 227 | - <div class="appmsg_thumb_wrp" style="background-image:url('<?php echo htmlentities($media['cover']); ?>');"></div> | ||
| 228 | - <h4 class="appmsg_title js_title"> | ||
| 229 | - <a href="javascript:;" target="_blank"><?php echo htmlentities($media['title']); ?></a> | ||
| 230 | - </h4> | ||
| 231 | - </div> | ||
| 232 | - <?php endif; endforeach; endif; else: echo "" ;endif; endif; ?> | ||
| 233 | - </div> | ||
| 234 | - </div> | ||
| 235 | - <a href="javascript:;" class="jsmsgSenderDelBt link_dele" data-mediaid="<?php echo htmlentities($default_menu_info['media_id']); ?>">删除</a> | ||
| 236 | - </div> | ||
| 237 | - </div> | ||
| 238 | - </div> | ||
| 239 | - </div> | ||
| 240 | - </div> | ||
| 241 | - </div> | ||
| 242 | - <p class="profile_link_msg_global menu_send mini_tips warn dn js_warn">请勿添加其他公众号的主页链接</p> | ||
| 243 | - </div> | ||
| 244 | - <!-- 发送消息 --> | ||
| 245 | - <!-- 跳转网页 --> | ||
| 246 | - <div class="menu_content url jsMain" id="url" style="<?php if($default_menu_info['menu_event_type'] == 1): ?> display: block;<?php else: ?>display:none;<?php endif; ?>"> | ||
| 247 | - <p class="menu_content_tips tips_global">订阅者点击该子菜单会跳到以下链接</p> | ||
| 248 | - <div class="frm_control_group"> | ||
| 249 | - <label for="urltext" class="frm_label"><strong class="title">页面地址</strong></label> | ||
| 250 | - <div class="frm_controls"> | ||
| 251 | - <span class="frm_input_box"> | ||
| 252 | - <input type="text" class="frm_input" id="urltext" data-switch="url" value="<?php echo htmlentities($default_menu_info['menu_event_url']); ?>" name="urlText" style="border: 0; box-shadow: none; padding: 0;"> | ||
| 253 | - </span> | ||
| 254 | - <p class="profile_link_msg_global menu_url mini_tips warn dn js_warn">请勿添加其他公众号的主页链接</p> | ||
| 255 | - </div> | ||
| 256 | - </div> | ||
| 257 | - </div> | ||
| 258 | - <div id="js_errTips" style="display: none;" class="msg_sender_msg mini_tips warn"></div> | ||
| 259 | - </div> | ||
| 260 | - </div> | ||
| 261 | - </div> | ||
| 262 | - <!-- 左箭头 --> | ||
| 263 | - <span class="editor_arrow_wrp"> | ||
| 264 | - <i class="editor_arrow editor_arrow_out"></i> | ||
| 265 | - <i class="editor_arrow editor_arrow_in"></i> | ||
| 266 | - </span> | ||
| 267 | - <!-- 左箭头 --> | ||
| 268 | - </div> | ||
| 269 | - <!-- 点击左侧菜单进行编辑操作 --> | ||
| 270 | - </div> | ||
| 271 | - </div> | ||
| 272 | - <!-- 菜单编辑 --> | ||
| 273 | - <div class="tool_bar tc js_editBtn" style="<?php if($menu_list_count == 0): ?>visibility: hidden;<?php endif; ?>" > | ||
| 274 | - <span id="pubBt" class="btn btn_input btn_primary" style="display: inline-block;"><button>保存并发布</button></span> | ||
| 275 | - <a href="javascript:void(0);" class="btn btn_default" id="viewBt" style="display: inline-block;">预览</a> | ||
| 276 | - </div> | ||
| 277 | - <!-- 删除菜单弹出框 --> | ||
| 278 | - <div class="dialog_wrp ui-draggable" style="width: 720px; margin-left: -360px; margin-top: -186px; display: none;" | ||
| 279 | - id="wxDelDialog"> | ||
| 280 | - <div class="dialog"> | ||
| 281 | - <div class="dialog_hd"> | ||
| 282 | - <h3>温馨提示</h3> | ||
| 283 | - <a href="javascript:;" class="pop_closed">关闭</a> | ||
| 284 | - </div> | ||
| 285 | - <div class="dialog_bd"> | ||
| 286 | - <div class="page_msg large simple default "> | ||
| 287 | - <div class="inner group"> | ||
| 288 | - <span class="msg_icon_wrapper"><i class="icon_msg warn "></i></span> | ||
| 289 | - <div class="msg_content "> | ||
| 290 | - <h4>删除确认</h4> | ||
| 291 | - <p></p> | ||
| 292 | - </div> | ||
| 293 | - </div> | ||
| 294 | - </div> | ||
| 295 | - </div> | ||
| 296 | - <div class="dialog_ft"> | ||
| 297 | - <a href="javascript:;" class="btn btn_primary js_btn">确定</a> | ||
| 298 | - <a href="javascript:;" class="btn btn_default js_btn">取消</a> | ||
| 299 | - </div> | ||
| 300 | - </div> | ||
| 301 | - </div> | ||
| 302 | - <!-- 删除菜单弹出框 --> | ||
| 303 | - | ||
| 304 | - <!-- 手机预览 --> | ||
| 305 | - <div class="mobile_preview" id="mobileDiv" style="display: none;"> | ||
| 306 | - <div class="mobile_preview_hd"> | ||
| 307 | - <strong class="nickname"><?php echo htmlentities($wx_name); ?></strong> | ||
| 308 | - </div> | ||
| 309 | - <div class="mobile_preview_bd"> | ||
| 310 | - <ul id="viewShow" class="show_list"></ul> | ||
| 311 | - </div> | ||
| 312 | - <div class="mobile_preview_ft"> | ||
| 313 | - <ul class="pre_menu_list grid_line" id="viewList"> | ||
| 314 | - <?php if(is_array($menu_list) || $menu_list instanceof \think\Collection || $menu_list instanceof \think\Paginator): if( count($menu_list)==0 ) : echo "" ;else: foreach($menu_list as $k=>$menu): ?> | ||
| 315 | - <li class="pre_menu_item grid_item size1of<?php echo htmlentities($menu_list_count); ?>" data-mobile-menu-index="<?php echo htmlentities($k+1); ?>"> | ||
| 316 | - <a href="javascript:void(0);" class="jsView pre_menu_link" title="<?php echo htmlentities($menu['menu_name']); ?>" data-menuid="<?php echo htmlentities($menu['menu_id']); ?>"> | ||
| 317 | - <?php if($menu['child_count'] > 0): ?> | ||
| 318 | - <i class="icon_menu_dot"></i> | ||
| 319 | - <?php endif; ?> | ||
| 320 | - <span><?php echo htmlentities($menu['menu_name']); ?></span> | ||
| 321 | - </a> | ||
| 322 | - <div class="sub_pre_menu_box jsSubViewDiv" data-subIndex="<?php echo htmlentities($k+1); ?>" style="display: none"> | ||
| 323 | - <ul class="sub_pre_menu_list"> | ||
| 324 | - <?php if(is_array($menu['child']) || $menu['child'] instanceof \think\Collection || $menu['child'] instanceof \think\Paginator): if( count($menu['child'])==0 ) : echo "" ;else: foreach($menu['child'] as $key=>$sub_menu): ?> | ||
| 325 | - <li> | ||
| 326 | - <a href="javascript:void(0);" data-pid="<?php echo htmlentities($sub_menu['pid']); ?>" data-menuid="<?php echo htmlentities($sub_menu['menu_id']); ?>" class="jsSubView" title="<?php echo htmlentities($sub_menu['menu_name']); ?>"><?php echo htmlentities($sub_menu['menu_name']); ?></a> | ||
| 327 | - </li> | ||
| 328 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
| 329 | - </ul> | ||
| 330 | - <i class="arrow arrow_out"></i><i class="arrow arrow_in"></i> | ||
| 331 | - </div> | ||
| 332 | - </li> | ||
| 333 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
| 334 | - </ul> | ||
| 335 | - </div> | ||
| 336 | - <a href="javascript:void(0);" class="mobile_preview_closed btn btn_default" id="viewClose">退出预览</a> | ||
| 337 | - </div> | ||
| 338 | - | ||
| 339 | - <!-- 遮罩层 --> | ||
| 340 | - <div class="mask" style="display: none;" id="maskLayer"></div> | ||
| 341 | - | ||
| 342 | - <!--选择文章--> | ||
| 343 | - <div class="dialog_wrp media align_edge ui-draggable" style="display:none;width: 960px; margin-left: -480px; margin-top: -313.5px;" id="dialog_media"> | ||
| 344 | - <div class="dialog"> | ||
| 345 | - <div class="dialog_hd"> | ||
| 346 | - <h3>选择素材</h3> | ||
| 347 | - <!--#0001#--> | ||
| 348 | - <a href="javascript:;" onclick="closeMaterial()" class="icon16_opr closed pop_closed">关闭</a> | ||
| 349 | - <!--%0001%--> | ||
| 350 | - </div> | ||
| 351 | - <div class="dialog_bd"> | ||
| 352 | - <div class="dialog_media_container appmsg_media_dialog"> | ||
| 353 | - <div class="sub_title_bar in_dialog"> | ||
| 354 | - <div class="search_bar js-btn-media"> | ||
| 355 | - <a class="layui-btn layui-btn-primary layui-btn-small" value="1" href="javascript:;" onclick="checkBtn(this)"> 文本 </a> | ||
| 356 | - <a class="layui-btn layui-btn-normal layui-btn-small" value="2" href="javascript:;" onclick="checkBtn(this)"> 单图文 </a> | ||
| 357 | - <a class="layui-btn layui-btn-primary layui-btn-small" href="javascript:;" value="3" onclick="checkBtn(this)"> 多图文 </a> | ||
| 358 | - </div> | ||
| 359 | - <div class="appmsg_create tr"> | ||
| 360 | - <a class="layui-btn layui-btn-small" href="<?php echo url('addmedia',['url'=>'menu']); ?>"> 新建图文消息 </a> | ||
| 361 | - </div> | ||
| 362 | - </div> | ||
| 363 | - <div class="dialog_media_inner" style="overflow:auto;"> | ||
| 364 | - <div class="table_wrp user_list"> | ||
| 365 | - <table class="layui-table" id="list" lay-filter="list"></table> | ||
| 366 | - </div> | ||
| 367 | - </div> | ||
| 368 | - </div> | ||
| 369 | - </div> | ||
| 370 | - <div class="dialog_ft_page"> | ||
| 371 | - </div> | ||
| 372 | - </div> | ||
| 373 | - </div> | ||
| 374 | - <div class="mask mask_metar" style="display: none;"></div> | ||
| 375 | - <!-- 操作反馈弹出框 erro 失败--> | ||
| 376 | - <div class="JS_TIPS page_tips success" id="wxTips" style="display:none;"> | ||
| 377 | - <div class="inner"></div> | ||
| 378 | - </div> | ||
| 379 | - | ||
| 380 | - <input type="hidden" id="hidden_default_sort"/> | ||
| 381 | - <input type="hidden" id="hidden_default_sub_sort"/> | ||
| 382 | - </div> | ||
| 383 | - <!-- 公共的操作提示弹出框 common-success:成功,common-warning:警告,common-error:错误,--> | ||
| 384 | - <div class="common-tip-message js-common-tip"> | ||
| 385 | - <div class="inner"></div> | ||
| 386 | - </div> | ||
| 387 | - </div> | ||
| 388 | -</div> | ||
| 389 | -<script type="text/html" id="title"> | ||
| 390 | - <ul> | ||
| 391 | - {{# for(var l=0; l<d.item_list.length; l++){ }} | ||
| 392 | - <li><a href="#">{{d.item_list[l]['title']}}</a></li> | ||
| 393 | - {{# } }} | ||
| 394 | - </ul> | ||
| 395 | -</script> | ||
| 396 | -<script type="text/html" id="action"> | ||
| 397 | - <a href="javascript:;" class="layui-btn layui-btn-mini remark js_msgSenderRemark" onclick="selectedMaterial({{d.media_id}})">选取</a> | ||
| 398 | -</script> | ||
| 399 | -<script> | ||
| 400 | - function checkBtn(event){ | ||
| 401 | - $(".js-btn-media").find('.layui-btn').removeClass('layui-btn-normal').addClass('layui-btn-primary'); | ||
| 402 | - $(event).removeClass('layui-btn-primary').addClass('layui-btn-normal'); | ||
| 403 | - LoadingInfo(); | ||
| 404 | - } | ||
| 405 | - LoadingInfo(); | ||
| 406 | - function LoadingInfo() { | ||
| 407 | - layui.use('table', function () { | ||
| 408 | - var table = layui.table, $ = layui.jquery; | ||
| 409 | - var type = $(".js-btn-media .layui-btn-normal").attr('value'); | ||
| 410 | - table.render({ | ||
| 411 | - id: 'msg', | ||
| 412 | - elem: '#list', | ||
| 413 | - url: '<?php echo url("onloadmaterial"); ?>', | ||
| 414 | - method: 'post', | ||
| 415 | - page: true, | ||
| 416 | - where:{type:type}, | ||
| 417 | - cols: [[ | ||
| 418 | - {field: 'title', title: '<?php echo lang("title"); ?>', width: 250, templet: '#title'}, | ||
| 419 | - {field: 'create_time', title: '创建时间', width: 250}, | ||
| 420 | - {width: 160, align: 'center', toolbar: '#action'} | ||
| 421 | - ]], | ||
| 422 | - limit: 10 | ||
| 423 | - }); | ||
| 424 | - }); | ||
| 425 | - } | ||
| 426 | - /** | ||
| 427 | - * 选择 图文素材 | ||
| 428 | - */ | ||
| 429 | - function selectedMaterial(media_id){ | ||
| 430 | - getMaterial(media_id); | ||
| 431 | - closeMaterial(); | ||
| 432 | - } | ||
| 433 | - /** | ||
| 434 | - * 取消 关闭 | ||
| 435 | - */ | ||
| 436 | - function closeMaterial(){ | ||
| 437 | - $("#dialog_media").fadeOut(300); | ||
| 438 | - $(".mask_metar").fadeOut(); | ||
| 439 | - } | ||
| 440 | -</script> | ||
| 441 | - | ||
| 442 | -</body> | ||
| 443 | -</html> |
| 1 | -<?php /*a:3:{s:85:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/system/email.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/head.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/foot.html";i:1535107019;}*/ ?> | ||
| 2 | -<!DOCTYPE html> | ||
| 3 | -<html> | ||
| 4 | -<head> | ||
| 5 | - <meta charset="utf-8"> | ||
| 6 | - <title><?php echo config('sys_name'); ?>后台管理</title> | ||
| 7 | - <meta name="renderer" content="webkit"> | ||
| 8 | - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 9 | - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | ||
| 10 | - <meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
| 11 | - <meta name="apple-mobile-web-app-capable" content="yes"> | ||
| 12 | - <meta name="format-detection" content="telephone=no"> | ||
| 13 | - <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" /> | ||
| 14 | - <link rel="stylesheet" href="/static/admin/css/global.css" media="all"> | ||
| 15 | - <link rel="stylesheet" href="/static/common/css/font.css" media="all"> | ||
| 16 | -</head> | ||
| 17 | -<body class="skin-<?php if(!empty($_COOKIE['skin'])){echo $_COOKIE['skin'];}else{echo '0';setcookie('skin','0');}?>"> | ||
| 18 | -<div class="admin-main layui-anim layui-anim-upbit"> | ||
| 19 | - <fieldset class="layui-elem-field layui-field-title"> | ||
| 20 | - <legend>邮箱配置</legend> | ||
| 21 | - </fieldset> | ||
| 22 | - <form class="layui-form layui-form-pane" lay-filter="form-email"> | ||
| 23 | - <div class="layui-form-item"> | ||
| 24 | - <label class="layui-form-label">服务器</label> | ||
| 25 | - <div class="layui-input-4"> | ||
| 26 | - <input type="text" lay-verify="required" name="smtp_server" placeholder="SMTP服务器" class="layui-input"> | ||
| 27 | - </div> | ||
| 28 | - </div> | ||
| 29 | - <div class="layui-form-item"> | ||
| 30 | - <label class="layui-form-label">SMTP端口</label> | ||
| 31 | - <div class="layui-input-4"> | ||
| 32 | - <input type="text" lay-verify="required" name="smtp_port" placeholder="SMTP端口" value="" class="layui-input"> | ||
| 33 | - </div> | ||
| 34 | - </div> | ||
| 35 | - <div class="layui-form-item"> | ||
| 36 | - <label class="layui-form-label">发件人</label> | ||
| 37 | - <div class="layui-input-4"> | ||
| 38 | - <input type="text" name="email_id" lay-verify="required" placeholder="发信人" value="" class="layui-input"> | ||
| 39 | - </div> | ||
| 40 | - </div> | ||
| 41 | - <div class="layui-form-item"> | ||
| 42 | - <label class="layui-form-label">发件邮箱</label> | ||
| 43 | - <div class="layui-input-4"> | ||
| 44 | - <input type="text" name="smtp_user" lay-verify="required" placeholder="发信人邮件地址" value="" class="layui-input"> | ||
| 45 | - </div> | ||
| 46 | - </div> | ||
| 47 | - | ||
| 48 | - <div class="layui-form-item"> | ||
| 49 | - <label class="layui-form-label">身份验证码</label> | ||
| 50 | - <div class="layui-input-3"> | ||
| 51 | - <input type="password" name="smtp_pwd" lay-verify="required" placeholder="SMTP身份验证码" value="" class="layui-input"> | ||
| 52 | - </div> | ||
| 53 | - </div> | ||
| 54 | - | ||
| 55 | - <div class="layui-form-item"> | ||
| 56 | - <label class="layui-form-label">测试邮箱</label> | ||
| 57 | - <div class="layui-input-3"> | ||
| 58 | - <input type="text" name="test_eamil" id="test_eamil" placeholder="测试接收邮件地址" value="" class="layui-input"> | ||
| 59 | - </div> | ||
| 60 | - </div> | ||
| 61 | - <div class="layui-form-item layui-form-text"> | ||
| 62 | - <label class="layui-form-label">测试邮件内容</label> | ||
| 63 | - <div class="layui-input-block"> | ||
| 64 | - <textarea name="test_eamil_info" id="test_eamil_info" placeholder="<?php echo lang('pleaseEnter'); ?>测试内容" class="layui-textarea"></textarea> | ||
| 65 | - </div> | ||
| 66 | - </div> | ||
| 67 | - | ||
| 68 | - | ||
| 69 | - | ||
| 70 | - | ||
| 71 | - <div class="layui-form-item"> | ||
| 72 | - <div class="layui-input-block"> | ||
| 73 | - <button type="button" class="layui-btn" lay-submit="" lay-filter="submit"><?php echo lang('submit'); ?></button> | ||
| 74 | - <button type="reset" class="layui-btn layui-btn-primary"><?php echo lang('reset'); ?></button> | ||
| 75 | - <button type="button" class="layui-btn layui-btn-normal" id="trySend">测试发送</button> | ||
| 76 | - </div> | ||
| 77 | - </div> | ||
| 78 | - </form> | ||
| 79 | -</div> | ||
| 80 | -<script type="text/javascript" src="/static/plugins/layui/layui.js"></script> | ||
| 81 | - | ||
| 82 | - | ||
| 83 | -<script> | ||
| 84 | - layui.use(['form', 'layer'], function () { | ||
| 85 | - var form = layui.form,layer = layui.layer,$= layui.jquery; | ||
| 86 | - //发送测试邮件 | ||
| 87 | - form.val("form-email", <?php echo $info; ?>) | ||
| 88 | - $('#trySend').click(function(){ | ||
| 89 | - loading =layer.load(1, {shade: [0.1,'#fff']}); | ||
| 90 | - var email = $('#test_eamil').val(); | ||
| 91 | - $.post("<?php echo url('trySend'); ?>",{email:email},function(res){ | ||
| 92 | - layer.close(loading); | ||
| 93 | - if(res.code > 0){ | ||
| 94 | - layer.msg(res.msg,{time:1800}); | ||
| 95 | - }else{ | ||
| 96 | - layer.msg(res.msg,{time:1800}); | ||
| 97 | - } | ||
| 98 | - }); | ||
| 99 | - }); | ||
| 100 | - //提交监听 | ||
| 101 | - form.on('submit(submit)', function (data) { | ||
| 102 | - loading =layer.load(1, {shade: [0.1,'#fff']}); | ||
| 103 | - $.post("<?php echo url('system/email'); ?>",data.field,function(res){ | ||
| 104 | - layer.close(loading); | ||
| 105 | - if(res.code > 0){ | ||
| 106 | - layer.msg(res.msg,{icon: 1, time: 1000},function(){ | ||
| 107 | - location.href = res.url; | ||
| 108 | - }); | ||
| 109 | - }else{ | ||
| 110 | - layer.msg(res.msg,{icon: 2, time: 1000}); | ||
| 111 | - } | ||
| 112 | - }); | ||
| 113 | - }) | ||
| 114 | - }) | ||
| 115 | -</script> | ||
| 116 | -</body> | ||
| 117 | -</html> |
| 1 | -<?php /*a:3:{s:81:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/home/view/page_show.html";i:1534993700;s:83:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/home/view/common_head.html";i:1535161327;s:85:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/home/view/common_footer.html";i:1535161013;}*/ ?> | ||
| 2 | -<!DOCTYPE html> | ||
| 3 | -<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> | ||
| 4 | -<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="zh-cn"> <![endif]--> | ||
| 5 | -<!--[if IE 8]> <html class="no-js lt-ie9" lang="zh-cn"> <![endif]--> | ||
| 6 | -<!--[if gt IE 8]><!--> <html class="no-js" lang="zh-cn"> <!--<![endif]--> | ||
| 7 | -<head> | ||
| 8 | - <meta charset="utf-8" /> | ||
| 9 | - <meta name="viewport" content="width=device-width" /> | ||
| 10 | - <title><?php echo isset($info['title']) ? htmlentities($info['title']) : ($title ? $title : $sys['title']); ?></title> | ||
| 11 | - <meta name="keywords" content="<?php echo isset($info['keywords']) ? htmlentities($info['keywords']) : ($keywords ? $keywords : $sys['key']); ?>" /> | ||
| 12 | - <meta name="description" content="<?php echo isset($info['description']) ? htmlentities($info['description']) : ($description ? $description : $sys['des']); ?>" /> | ||
| 13 | - <!-- ////////////////////////////////// --> | ||
| 14 | - <!-- // Stylesheets Files // --> | ||
| 15 | - <!-- ////////////////////////////////// --> | ||
| 16 | - <link rel="stylesheet" href="/static/home/css/base.css" id="camera-css" /> | ||
| 17 | - <link rel="stylesheet" href="/static/home/css/framework.css" /> | ||
| 18 | - <link rel="stylesheet" href="/static/home/css/style.css" /> | ||
| 19 | - <link rel="stylesheet" href="/static/home/css/noscript.css" media="screen,all" id="noscript" /> | ||
| 20 | - | ||
| 21 | - <!-- ////////////////////////////////// --> | ||
| 22 | - <!-- // Favicon Files // --> | ||
| 23 | - <!-- ////////////////////////////////// --> | ||
| 24 | - <link rel="shortcut icon" href="/static/home/images/favicon.ico" /> | ||
| 25 | - | ||
| 26 | - <!-- ////////////////////////////////// --> | ||
| 27 | - <!-- // Javascript Files // --> | ||
| 28 | - <!-- ////////////////////////////////// --> | ||
| 29 | - <script> | ||
| 30 | - var HOME = '/static/home'; | ||
| 31 | - </script> | ||
| 32 | - <script src="/static/home/js/jquery.min.js"></script> | ||
| 33 | - <script src="/static/home/js/jquery.easing-1.3.min.js"></script> | ||
| 34 | - <script src="/static/home/js/tooltip.js"></script> | ||
| 35 | - <script src="/static/home/js/dropdown.js"></script> | ||
| 36 | - <script src="/static/home/js/tinynav.min.js"></script> | ||
| 37 | - <script src="/static/home/js/camera.min.js"></script> | ||
| 38 | - <script src="/static/home/js/jquery.fancybox.js?v=2.0.6"></script> | ||
| 39 | - <script src="/static/home/js/jquery.fancybox-media.js?v=1.0.3"></script> | ||
| 40 | - <script src="/static/home/js/jquery.ui.totop.min.js"></script> | ||
| 41 | - <script src="/static/home/js/ddaccordion.js"></script> | ||
| 42 | - <script src="/static/home/js/jquery.twitter.js"></script> | ||
| 43 | - <script src="/static/home/js/jflickrfeed.min.js"></script> | ||
| 44 | - <script src="/static/home/js/faq-functions.js"></script> | ||
| 45 | - <script src="/static/home/js/isotope.js"></script> | ||
| 46 | - <script src="/static/home/js/theme-functions.js"></script> | ||
| 47 | - <script> | ||
| 48 | - //设为首页 www.jb51.net | ||
| 49 | - function SetHome(obj,url){ | ||
| 50 | - try{ | ||
| 51 | - obj.style.behavior='url(#default#homepage)'; | ||
| 52 | - obj.setHomePage(url); | ||
| 53 | - }catch(e){ | ||
| 54 | - if(window.netscape){ | ||
| 55 | - try{ | ||
| 56 | - netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); | ||
| 57 | - }catch(e){ | ||
| 58 | - alert("抱歉,此操作被浏览器拒绝!\n\n请在浏览器地址栏输入“about:config”并回车然后将[signed.applets.codebase_principal_support]设置为'true'"); | ||
| 59 | - } | ||
| 60 | - }else{ | ||
| 61 | - alert("抱歉,您所使用的浏览器无法完成此操作。\n\n您需要手动将【"+url+"】设置为首页。"); | ||
| 62 | - } | ||
| 63 | - } | ||
| 64 | - } | ||
| 65 | - | ||
| 66 | - //收藏本站 www.jb51.net | ||
| 67 | - function AddFavorite(title, url) { | ||
| 68 | - try { | ||
| 69 | - window.external.addFavorite(url, title); | ||
| 70 | - } | ||
| 71 | - catch (e) { | ||
| 72 | - try { | ||
| 73 | - window.sidebar.addPanel(title, url, ""); | ||
| 74 | - } | ||
| 75 | - catch (e) { | ||
| 76 | - alert("抱歉,您所使用的浏览器无法完成此操作。\n\n加入收藏失败,请进入新网站后使用Ctrl+D进行添加"); | ||
| 77 | - } | ||
| 78 | - } | ||
| 79 | - } | ||
| 80 | - </script> | ||
| 81 | - <!-- IE Fix for HTML5 Tags --> | ||
| 82 | - <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | ||
| 83 | - <![endif]--> | ||
| 84 | - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
| 85 | - | ||
| 86 | -</head> | ||
| 87 | -<body> | ||
| 88 | -<div class="user"> | ||
| 89 | - <div id="top-social"> | ||
| 90 | - <div class="social-panel"> | ||
| 91 | - <ul> | ||
| 92 | - <li><a href="javascript:void(0);" onclick="SetHome(this,'<?php echo config('url_domain_root'); ?>');">设为首页</a></li> | ||
| 93 | - <li><a href="javascript:void(0);" onclick="AddFavorite('<?php echo config('sys_name'); ?>','<?php echo config('url_domain_root'); ?>')">加入收藏</a></li> | ||
| 94 | - <li><a href="<?php echo url('user/index/index'); ?>" target="_blank"><?php if(session('user.username')): ?><?php echo session('user.username'); else: ?>会员中心<?php endif; ?></a></li> | ||
| 95 | - </ul> | ||
| 96 | - </div> | ||
| 97 | - </div> | ||
| 98 | - <div class="clear"></div> | ||
| 99 | -</div> | ||
| 100 | -<!-- header start here --> | ||
| 101 | -<header> | ||
| 102 | - <div id="main-wrapper"> | ||
| 103 | - <!-- logo start here --> | ||
| 104 | - <div id="logo"> | ||
| 105 | - <a href="<?php echo url('home/index/index'); ?>" title="内容管理系统"><img src="<?php echo htmlentities($sys['logo']); ?>" alt="CLTPHP" style="width: 160px;height: 43px;" /></a> | ||
| 106 | - </div> | ||
| 107 | - <!-- logo end here --> | ||
| 108 | - <!-- mainmenu start here --> | ||
| 109 | - <nav id="mainmenu"> | ||
| 110 | - <ul id="menu"> | ||
| 111 | - <li <?php if($controller == 'index'): ?>class="selected"<?php endif; ?>><a href="<?php echo url('home/index/index'); ?>" title="内容管理系统">首页</a></li> | ||
| 112 | - <?php if(is_array($category) || $category instanceof \think\Collection || $category instanceof \think\Paginator): $i = 0; $__LIST__ = $category;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> | ||
| 113 | - <li <?php if($controller == $vo['catdir']): ?>class="selected"<?php endif; ?>> | ||
| 114 | - <?php if($vo['child'] == 1): ?> | ||
| 115 | - <a href="#"><?php echo htmlentities($vo['catname']); ?></a> | ||
| 116 | - <ul> | ||
| 117 | - <?php if(is_array($vo['sub']) || $vo['sub'] instanceof \think\Collection || $vo['sub'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['sub'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?> | ||
| 118 | - <li><a href="<?php echo url('home/'.$vo['catdir'].'/index',['catId'=>$v['id']] ); ?>" title="<?php echo htmlentities($v['catname']); ?>-内容管理系统"><span>-</span> <?php echo htmlentities($v['catname']); ?></a></li> | ||
| 119 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
| 120 | - </ul> | ||
| 121 | - <?php else: ?> | ||
| 122 | - <a href="<?php echo url('home/'.$vo['catdir'].'/index',['catId'=>$vo['id']] ); ?>" title="<?php echo htmlentities($vo['catname']); ?>-内容管理系统"><?php echo htmlentities($vo['catname']); ?></a> | ||
| 123 | - <?php endif; ?> | ||
| 124 | - </li> | ||
| 125 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
| 126 | - </ul> | ||
| 127 | - </nav> | ||
| 128 | - <!-- mainmenu end here --> | ||
| 129 | - | ||
| 130 | - </div> | ||
| 131 | -</header> | ||
| 132 | -<!-- header end here --> | ||
| 133 | -<!-- pagetitle start here --> | ||
| 134 | -<section id="pagetitle-wrapper"> | ||
| 135 | - <div class="pagetitle-content"> | ||
| 136 | - <h2><?php echo htmlentities($info['title']); ?></h2> | ||
| 137 | - </div> | ||
| 138 | -</section> | ||
| 139 | -<!-- pagetitle end here --> | ||
| 140 | -<!-- breadcrumb start here --> | ||
| 141 | -<section id="breadcrumb-wrapper"> | ||
| 142 | - <div id="breadcrumb-content"> | ||
| 143 | - <ul> | ||
| 144 | - <li><a href="<?php echo url('home/index/index'); ?>" title="CLTPHP">首页</a></li> | ||
| 145 | - <li><a href="<?php echo url('home/'.MODULE_NAME.'/index',array('catId'=>input('catId'))); ?>" title="<?php echo htmlentities($title); ?>"><?php echo htmlentities($title); ?></a></li> | ||
| 146 | - <li><?php echo htmlentities($info['title']); ?></li> | ||
| 147 | - </ul> | ||
| 148 | - </div> | ||
| 149 | -</section> | ||
| 150 | -<!-- breadcrumb end here --> | ||
| 151 | -<!-- maincontent start here --> | ||
| 152 | -<section id="content-wrapper"> | ||
| 153 | - <div class="row"> | ||
| 154 | - <div class="eight columns"> | ||
| 155 | - <!-- blog post 1 --> | ||
| 156 | - <div class="blog-post"> | ||
| 157 | - <img src="<?php echo imgUrl($info['thumb'],'__HOME__/images/sample-images/blog-post1.jpg'); ?>" alt="<?php echo htmlentities($info['title']); ?>" /> | ||
| 158 | - <div class="row"> | ||
| 159 | - <div class="columns"> | ||
| 160 | - <?php echo $info['content']; ?> | ||
| 161 | - </div> | ||
| 162 | - </div> | ||
| 163 | - </div> | ||
| 164 | - </div> | ||
| 165 | - <div class="four columns"> | ||
| 166 | - <aside> | ||
| 167 | - <h5>推荐文章</h5> | ||
| 168 | - <ul class="popular-list"> | ||
| 169 | - <?php $result = db("article")->alias("a")->join("category c"," a.catid = c.id","left") | ||
| 170 | - ->where("(posid = 1 or posid=2) and (status = 1 or (status = 0 and createtime <1535164982))") | ||
| 171 | - ->field("a.*,c.catdir,c.catname") | ||
| 172 | - ->limit(8) | ||
| 173 | - ->order(" a.sort asc,a.createtime desc,a.id desc") | ||
| 174 | - ->select();if($result){foreach ($result as $k=>$vo):$result[$k]["time"]= toDate($vo["createtime"],"Y-m-d");$result[$k]["thumb"]= $vo["thumb"]?$vo["thumb"]:"";endforeach; foreach ($result as $k=>$vo):?> | ||
| 175 | - <li> | ||
| 176 | - <img src="<?php echo imgUrl($vo['thumb'],'/static/home/images/portfolio-thumb/p'.$k.'.jpg'); ?>" alt="" class="img-border" /> | ||
| 177 | - <p class="popular-title"> | ||
| 178 | - <a href="<?php echo url('home/'.$vo['catdir'].'/info',array('id'=>$vo['id'],'catId'=>$vo['catid'])); ?>" style="<?php echo style($vo['title_style']); ?>" title="<?php echo htmlentities($vo['title']); ?>"><?php echo htmlentities($vo['title']); ?></a> | ||
| 179 | - </p> | ||
| 180 | - <p class="comment-count"><a href="single.html"><?php echo htmlentities($vo['hits']); ?></a></p> | ||
| 181 | - <p class="author-name"><?php echo htmlentities($vo['username']); ?></p> | ||
| 182 | - </li> | ||
| 183 | - <?php endforeach; }else{echo "<div class='fly-none'>没有相关数据</div>";}?> | ||
| 184 | - </ul> | ||
| 185 | - </aside> | ||
| 186 | - </div> | ||
| 187 | - </div> | ||
| 188 | -</section> | ||
| 189 | -<!-- maincontent end here --> | ||
| 190 | -<!-- footer start here --> | ||
| 191 | -<footer> | ||
| 192 | - <div class="row"> | ||
| 193 | - <div class="three columns mobile-two"> | ||
| 194 | - <!--<img src="/static/home/images/logo2.png" alt="CLTPHP" class="img-left" />--> | ||
| 195 | - <p class="copyright-text"> | ||
| 196 | - ©<?php echo htmlentities($sys['copyright']); ?> <a href="http://www.cltphp.com/" style="color: #747373" rel="external" title="<?php echo htmlentities($sys['title']); ?>"><?php echo htmlentities($sys['title']); ?></a><br> | ||
| 197 | - <a href="http://www.miitbeian.gov.cn/" style="color: #747373" target="_blank" rel="nofollow"><?php echo htmlentities($sys['bah']); ?></a><br> | ||
| 198 | - </p> | ||
| 199 | - </div> | ||
| 200 | - <div class="three columns mobile-two"> | ||
| 201 | - <h5>联系我们</h5> | ||
| 202 | - <ul> | ||
| 203 | - <li class="address-icon"><a href="<?php echo htmlentities($sys['url']); ?>" title="<?php echo htmlentities($sys['title']); ?>"><?php echo htmlentities($sys['title']); ?></a></li> | ||
| 204 | - <li class="qq-icon"><a target="_blank" href=""><img border="0" src="//pub.idqqimg.com/wpa/images/group.png" alt="CLTPHP交流群0002" title="CLTPHP交流群0002"></a></li> | ||
| 205 | - <li class="qq-icon">站长QQ号 : <a target="_blank" rel="nofollow" title="点击加好友" href="tencent://message/?uin=1034677692&Site=&Menu=yes">1034677692</a></li> | ||
| 206 | - <li class="email-icon">Email : <?php echo htmlentities($sys['email']); ?></li> | ||
| 207 | - </ul> | ||
| 208 | - </div> | ||
| 209 | - <div class="three columns mobile-two"> | ||
| 210 | - <h5>友情链接</h5> | ||
| 211 | - <ul> | ||
| 212 | - <?php if(is_array($linkList) || $linkList instanceof \think\Collection || $linkList instanceof \think\Paginator): $i = 0; $__LIST__ = $linkList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> | ||
| 213 | - <!--<li><a href="<?php echo htmlentities($vo['url']); ?>" rel="external" title="<?php echo htmlentities($vo['name']); ?>"><?php echo htmlentities($vo['name']); ?></a></li>--> | ||
| 214 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
| 215 | - <li><a href="https://www.kancloud.cn/chichu/cltphp" target="_blank" rel="nofollow" title="CLTPHP操作开发手册">CLTPHP操作开发手册</a></li> | ||
| 216 | - </ul> | ||
| 217 | - </div> | ||
| 218 | - <div class="three columns mobile-two"> | ||
| 219 | - <h5>扫码捐助</h5> | ||
| 220 | - <div class="wxsq"> | ||
| 221 | - <!--<img src="/static/home/images/wxsq.png" alt="CLTPHP微信二维码" title="CLTPHP微信二维码">--> | ||
| 222 | - </div> | ||
| 223 | - </div> | ||
| 224 | - </div> | ||
| 225 | -</footer> | ||
| 226 | -<!-- footer end here --> | ||
| 227 | -<script> | ||
| 228 | - $('#noscript').remove(); | ||
| 229 | - jQuery(function($){ | ||
| 230 | - //external加上target="_blank" | ||
| 231 | - $("a[rel*=external]").attr("target","_blank"); | ||
| 232 | - }); | ||
| 233 | -</script> | ||
| 234 | -</body> | ||
| 235 | -</html> |
| 1 | -<?php /*a:3:{s:86:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/system/system.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/head.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/foot.html";i:1535107019;}*/ ?> | ||
| 2 | -<!DOCTYPE html> | ||
| 3 | -<html> | ||
| 4 | -<head> | ||
| 5 | - <meta charset="utf-8"> | ||
| 6 | - <title><?php echo config('sys_name'); ?>后台管理</title> | ||
| 7 | - <meta name="renderer" content="webkit"> | ||
| 8 | - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 9 | - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | ||
| 10 | - <meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
| 11 | - <meta name="apple-mobile-web-app-capable" content="yes"> | ||
| 12 | - <meta name="format-detection" content="telephone=no"> | ||
| 13 | - <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" /> | ||
| 14 | - <link rel="stylesheet" href="/static/admin/css/global.css" media="all"> | ||
| 15 | - <link rel="stylesheet" href="/static/common/css/font.css" media="all"> | ||
| 16 | -</head> | ||
| 17 | -<body class="skin-<?php if(!empty($_COOKIE['skin'])){echo $_COOKIE['skin'];}else{echo '0';setcookie('skin','0');}?>"> | ||
| 18 | -<div class="admin-main layui-anim layui-anim-upbit"> | ||
| 19 | - <fieldset class="layui-elem-field layui-field-title"> | ||
| 20 | - <legend><?php echo lang('systemSet'); ?></legend> | ||
| 21 | - </fieldset> | ||
| 22 | - <div class="layui-tab"> | ||
| 23 | - <ul class="layui-tab-title"> | ||
| 24 | - <li class="layui-this">基础设置</li> | ||
| 25 | - <li>SEO管理</li> | ||
| 26 | - <li>其他</li> | ||
| 27 | - </ul> | ||
| 28 | - <div class="layui-tab-content"> | ||
| 29 | - <div class="layui-tab-item layui-show"> | ||
| 30 | - <form class="layui-form layui-form-pane" lay-filter="form-system"> | ||
| 31 | - <div class="layui-form-item"> | ||
| 32 | - <label class="layui-form-label"><?php echo lang('websiteName'); ?></label> | ||
| 33 | - <div class="layui-input-4"> | ||
| 34 | - <input type="text"name="name" lay-verify="required" placeholder="<?php echo lang('pleaseEnter'); ?><?php echo lang('websiteName'); ?>" class="layui-input"> | ||
| 35 | - </div> | ||
| 36 | - </div> | ||
| 37 | - <div class="layui-form-item"> | ||
| 38 | - <label class="layui-form-label"><?php echo lang('WebsiteUrl'); ?></label> | ||
| 39 | - <div class="layui-input-4"> | ||
| 40 | - <input type="text" name="url" lay-verify="url" placeholder="<?php echo lang('pleaseEnter'); ?><?php echo lang('WebsiteUrl'); ?>" class="layui-input"> | ||
| 41 | - </div> | ||
| 42 | - </div> | ||
| 43 | - <div class="layui-form-item"> | ||
| 44 | - <label class="layui-form-label">网站LOGO</label> | ||
| 45 | - <input type="hidden" name="logo" id="logo"> | ||
| 46 | - <div class="layui-input-block"> | ||
| 47 | - <div class="layui-upload"> | ||
| 48 | - <button type="button" class="layui-btn layui-btn-primary" id="logoBtn"><i class="icon icon-upload3"></i>点击上传</button> | ||
| 49 | - <div class="layui-upload-list"> | ||
| 50 | - <img class="layui-upload-img" id="cltLogo"> | ||
| 51 | - <p id="demoText"></p> | ||
| 52 | - </div> | ||
| 53 | - </div> | ||
| 54 | - </div> | ||
| 55 | - </div> | ||
| 56 | - <div class="layui-form-item"> | ||
| 57 | - <label class="layui-form-label"><?php echo lang('recordNum'); ?></label> | ||
| 58 | - <div class="layui-input-3"> | ||
| 59 | - <input type="text" name="bah" placeholder="<?php echo lang('pleaseEnter'); ?><?php echo lang('recordNum'); ?>" class="layui-input"> | ||
| 60 | - </div> | ||
| 61 | - </div> | ||
| 62 | - <div class="layui-form-item"> | ||
| 63 | - <label class="layui-form-label">Copyright</label> | ||
| 64 | - <div class="layui-input-3"> | ||
| 65 | - <input type="text" name="copyright" placeholder="<?php echo lang('pleaseEnter'); ?>Copyright" class="layui-input"> | ||
| 66 | - </div> | ||
| 67 | - </div> | ||
| 68 | - <div class="layui-form-item"> | ||
| 69 | - <label class="layui-form-label"><?php echo lang('companyAddress'); ?></label> | ||
| 70 | - <div class="layui-input-3"> | ||
| 71 | - <input type="text" name="ads" placeholder="<?php echo lang('pleaseEnter'); ?><?php echo lang('companyAddress'); ?>" class="layui-input"> | ||
| 72 | - </div> | ||
| 73 | - </div> | ||
| 74 | - <div class="layui-form-item"> | ||
| 75 | - <label class="layui-form-label"><?php echo lang('tel'); ?></label> | ||
| 76 | - <div class="layui-input-3"> | ||
| 77 | - <input type="text" name="tel" placeholder="<?php echo lang('pleaseEnter'); ?><?php echo lang('tel'); ?>" class="layui-input"> | ||
| 78 | - </div> | ||
| 79 | - </div> | ||
| 80 | - <div class="layui-form-item"> | ||
| 81 | - <label class="layui-form-label"><?php echo lang('email'); ?></label> | ||
| 82 | - <div class="layui-input-3"> | ||
| 83 | - <input type="text" name="email" placeholder="<?php echo lang('pleaseEnter'); ?><?php echo lang('email'); ?>" class="layui-input"> | ||
| 84 | - </div> | ||
| 85 | - </div> | ||
| 86 | - <div class="layui-form-item"> | ||
| 87 | - <div class="layui-input-block"> | ||
| 88 | - <button type="button" class="layui-btn" lay-submit="" lay-filter="sys"><?php echo lang('submit'); ?></button> | ||
| 89 | - <button type="reset" class="layui-btn layui-btn-primary"><?php echo lang('reset'); ?></button> | ||
| 90 | - </div> | ||
| 91 | - </div> | ||
| 92 | - </form> | ||
| 93 | - </div> | ||
| 94 | - <div class="layui-tab-item"> | ||
| 95 | - <form class="layui-form layui-form-pane" lay-filter="form-system"> | ||
| 96 | - <div class="layui-form-item"> | ||
| 97 | - <label class="layui-form-label"><?php echo lang('seoTitle'); ?></label> | ||
| 98 | - <div class="layui-input-4"> | ||
| 99 | - <input type="text"name="title" lay-verify="required" placeholder="<?php echo lang('pleaseEnter'); ?><?php echo lang('WebsiteUrl'); ?>" class="layui-input"> | ||
| 100 | - </div> | ||
| 101 | - </div> | ||
| 102 | - | ||
| 103 | - <div class="layui-form-item layui-form-text"> | ||
| 104 | - <label class="layui-form-label"><?php echo lang('seoKeyword'); ?></label> | ||
| 105 | - <div class="layui-input-block"> | ||
| 106 | - <textarea name="key" lay-verify="required" placeholder="<?php echo lang('pleaseEnter'); ?><?php echo lang('seoKeyword'); ?>" class="layui-textarea"></textarea> | ||
| 107 | - </div> | ||
| 108 | - </div> | ||
| 109 | - <div class="layui-form-item layui-form-text"> | ||
| 110 | - <label class="layui-form-label"><?php echo lang('description'); ?></label> | ||
| 111 | - <div class="layui-input-block"> | ||
| 112 | - <textarea name="des" lay-verify="required" placeholder="<?php echo lang('pleaseEnter'); ?><?php echo lang('description'); ?>" class="layui-textarea"></textarea> | ||
| 113 | - </div> | ||
| 114 | - </div> | ||
| 115 | - <div class="layui-form-item"> | ||
| 116 | - <div class="layui-input-block"> | ||
| 117 | - <button type="button" class="layui-btn" lay-submit="" lay-filter="sys"><?php echo lang('submit'); ?></button> | ||
| 118 | - <button type="reset" class="layui-btn layui-btn-primary"><?php echo lang('reset'); ?></button> | ||
| 119 | - </div> | ||
| 120 | - </div> | ||
| 121 | - </form> | ||
| 122 | - </div> | ||
| 123 | - <div class="layui-tab-item"> | ||
| 124 | - <form class="layui-form layui-form-pane" lay-filter="form-system"> | ||
| 125 | - <div class="layui-form-item"> | ||
| 126 | - <label class="layui-form-label">手机端</label> | ||
| 127 | - <div class="layui-input-block"> | ||
| 128 | - <input type="radio" name="mobile" value="open" title="开启"> | ||
| 129 | - <input type="radio" name="mobile" value="close" title="关闭"> | ||
| 130 | - </div> | ||
| 131 | - </div> | ||
| 132 | - <div class="layui-form-item"> | ||
| 133 | - <label class="layui-form-label">验证码</label> | ||
| 134 | - <div class="layui-input-block"> | ||
| 135 | - <input type="radio" name="code" value="open" title="开启"> | ||
| 136 | - <input type="radio" name="code" value="close" title="关闭"> | ||
| 137 | - </div> | ||
| 138 | - </div> | ||
| 139 | - <div class="layui-form-item"> | ||
| 140 | - <div class="layui-input-block"> | ||
| 141 | - <button type="button" class="layui-btn" lay-submit="" lay-filter="sys"><?php echo lang('submit'); ?></button> | ||
| 142 | - <button type="reset" class="layui-btn layui-btn-primary"><?php echo lang('reset'); ?></button> | ||
| 143 | - </div> | ||
| 144 | - </div> | ||
| 145 | - </form> | ||
| 146 | - </div> | ||
| 147 | - </div> | ||
| 148 | - </div> | ||
| 149 | - | ||
| 150 | -</div> | ||
| 151 | -<script type="text/javascript" src="/static/plugins/layui/layui.js"></script> | ||
| 152 | - | ||
| 153 | - | ||
| 154 | -<script> | ||
| 155 | - layui.use(['form', 'layer','upload','element'], function () { | ||
| 156 | - var form = layui.form,layer = layui.layer,upload = layui.upload,$ = layui.jquery,element = layui.element; | ||
| 157 | - var seytem = <?php echo $system; ?>; | ||
| 158 | - form.val("form-system", seytem); | ||
| 159 | - $('#cltLogo').attr('src',seytem.logo); | ||
| 160 | - | ||
| 161 | - //普通图片上传 | ||
| 162 | - var uploadInst = upload.render({ | ||
| 163 | - elem: '#logoBtn' | ||
| 164 | - ,url: '<?php echo url("UpFiles/upload"); ?>' | ||
| 165 | - ,before: function(obj){ | ||
| 166 | - //预读本地文件示例,不支持ie8 | ||
| 167 | - obj.preview(function(index, file, result){ | ||
| 168 | - $('#cltLogo').attr('src', result); //图片链接(base64) | ||
| 169 | - }); | ||
| 170 | - } | ||
| 171 | - ,done: function(res){ | ||
| 172 | - //上传成功 | ||
| 173 | - if(res.code>0){ | ||
| 174 | - $('#logo').val(res.url); | ||
| 175 | - }else{ | ||
| 176 | - //如果上传失败 | ||
| 177 | - return layer.msg('上传失败'); | ||
| 178 | - } | ||
| 179 | - } | ||
| 180 | - ,error: function(){ | ||
| 181 | - //演示失败状态,并实现重传 | ||
| 182 | - var demoText = $('#demoText'); | ||
| 183 | - demoText.html('<span style="color: #FF5722;">上传失败</span> <a class="layui-btn layui-btn-mini demo-reload">重试</a>'); | ||
| 184 | - demoText.find('.demo-reload').on('click', function(){ | ||
| 185 | - uploadInst.upload(); | ||
| 186 | - }); | ||
| 187 | - } | ||
| 188 | - }); | ||
| 189 | - //提交监听 | ||
| 190 | - form.on('submit(sys)', function (data) { | ||
| 191 | - loading =layer.load(1, {shade: [0.1,'#fff']}); | ||
| 192 | - $.post("<?php echo url('system/system'); ?>",data.field,function(res){ | ||
| 193 | - layer.close(loading); | ||
| 194 | - if(res.code > 0){ | ||
| 195 | - layer.msg(res.msg,{icon: 1, time: 1000},function(){ | ||
| 196 | - location.href = res.url; | ||
| 197 | - }); | ||
| 198 | - }else{ | ||
| 199 | - layer.msg(res.msg,{icon: 2, time: 1000}); | ||
| 200 | - } | ||
| 201 | - }); | ||
| 202 | - }) | ||
| 203 | - }) | ||
| 204 | -</script> | ||
| 205 | -</body> | ||
| 206 | -</html> |
| 1 | -<?php /*a:3:{s:88:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/auth/admin_list.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/head.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/foot.html";i:1535107019;}*/ ?> | ||
| 2 | -<!DOCTYPE html> | ||
| 3 | -<html> | ||
| 4 | -<head> | ||
| 5 | - <meta charset="utf-8"> | ||
| 6 | - <title><?php echo config('sys_name'); ?>后台管理</title> | ||
| 7 | - <meta name="renderer" content="webkit"> | ||
| 8 | - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 9 | - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | ||
| 10 | - <meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
| 11 | - <meta name="apple-mobile-web-app-capable" content="yes"> | ||
| 12 | - <meta name="format-detection" content="telephone=no"> | ||
| 13 | - <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" /> | ||
| 14 | - <link rel="stylesheet" href="/static/admin/css/global.css" media="all"> | ||
| 15 | - <link rel="stylesheet" href="/static/common/css/font.css" media="all"> | ||
| 16 | -</head> | ||
| 17 | -<body class="skin-<?php if(!empty($_COOKIE['skin'])){echo $_COOKIE['skin'];}else{echo '0';setcookie('skin','0');}?>"> | ||
| 18 | -<div class="admin-main layui-anim layui-anim-upbit"> | ||
| 19 | - <fieldset class="layui-elem-field layui-field-title"> | ||
| 20 | - <legend><?php echo lang('admin'); ?><?php echo lang('list'); ?></legend> | ||
| 21 | - </fieldset> | ||
| 22 | - <blockquote class="layui-elem-quote"> | ||
| 23 | - <a href="<?php echo url('adminAdd'); ?>" class="layui-btn layui-btn-sm"><?php echo lang('add'); ?><?php echo lang('admin'); ?></a> | ||
| 24 | - </blockquote> | ||
| 25 | - <table class="layui-table" id="list" lay-filter="list"></table> | ||
| 26 | -</div> | ||
| 27 | - | ||
| 28 | -<script type="text/javascript" src="/static/plugins/layui/layui.js"></script> | ||
| 29 | - | ||
| 30 | - | ||
| 31 | -<script type="text/html" id="barDemo"> | ||
| 32 | - <a href="<?php echo url('adminEdit'); ?>?admin_id={{d.admin_id}}" class="layui-btn layui-btn-xs"><?php echo lang('edit'); ?></a> | ||
| 33 | - {{# if(d.admin_id==1){ }} | ||
| 34 | - <a href="#" class="layui-btn layui-btn-xs layui-btn-disabled"><?php echo lang('del'); ?></a> | ||
| 35 | - {{# }else{ }} | ||
| 36 | - <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del"><?php echo lang('del'); ?></a> | ||
| 37 | - {{# } }} | ||
| 38 | -</script> | ||
| 39 | -<script type="text/html" id="open"> | ||
| 40 | - {{# if(d.admin_id==1){ }} | ||
| 41 | - <input type="checkbox" disabled name="is_open" value="{{d.admin_id}}" lay-skin="switch" lay-text="开启|关闭" lay-filter="open" checked> | ||
| 42 | - {{# }else{ }} | ||
| 43 | - <input type="checkbox" name="is_open" value="{{d.admin_id}}" lay-skin="switch" lay-text="开启|关闭" lay-filter="open" {{ d.is_open == 1 ? 'checked' : '' }}> | ||
| 44 | - {{# } }} | ||
| 45 | -</script> | ||
| 46 | -<script> | ||
| 47 | - layui.use(['table','form'], function() { | ||
| 48 | - var table = layui.table,form = layui.form,$ = layui.jquery; | ||
| 49 | - var tableIn = table.render({ | ||
| 50 | - elem: '#list', | ||
| 51 | - url: '<?php echo url("adminList"); ?>', | ||
| 52 | - method:'post', | ||
| 53 | - cols: [[ | ||
| 54 | - {field:'username', title: '用户名', width:80,fixed: true} | ||
| 55 | - ,{field:'email', title: '邮箱', width:200} | ||
| 56 | - ,{field:'title', title: '<?php echo lang("userGroup"); ?>', width:200} | ||
| 57 | - ,{field:'tel', title: '<?php echo lang("tel"); ?>', width:150} | ||
| 58 | - ,{field:'ip', title: '<?php echo lang("ip"); ?>',width:150} | ||
| 59 | - ,{field:'is_open', title: '<?php echo lang("status"); ?>',width:150,toolbar: '#open'} | ||
| 60 | - ,{width:160, align:'center', toolbar: '#barDemo'} | ||
| 61 | - ]] | ||
| 62 | - }); | ||
| 63 | - form.on('switch(open)', function(obj){ | ||
| 64 | - loading =layer.load(1, {shade: [0.1,'#fff']}); | ||
| 65 | - var id = this.value; | ||
| 66 | - var is_open = obj.elem.checked===true?1:0; | ||
| 67 | - $.post('<?php echo url("adminState"); ?>',{'id':id,'is_open':is_open},function (res) { | ||
| 68 | - layer.close(loading); | ||
| 69 | - if (res.status==1) { | ||
| 70 | - tableIn.reload(); | ||
| 71 | - }else{ | ||
| 72 | - layer.msg(res.msg,{time:1000,icon:2}); | ||
| 73 | - return false; | ||
| 74 | - } | ||
| 75 | - }) | ||
| 76 | - }); | ||
| 77 | - table.on('tool(list)', function(obj){ | ||
| 78 | - var data = obj.data; | ||
| 79 | - if(obj.event === 'del'){ | ||
| 80 | - layer.confirm('<?php echo lang("Are you sure you want to delete it"); ?>', function(index){ | ||
| 81 | - $.post("<?php echo url('adminDel'); ?>",{admin_id:data.admin_id},function(res){ | ||
| 82 | - if(res.code==1){ | ||
| 83 | - layer.msg(res.msg,{time:1000,icon:1}); | ||
| 84 | - obj.del(); | ||
| 85 | - }else{ | ||
| 86 | - layer.msg(res.msg,{time:1000,icon:2}); | ||
| 87 | - } | ||
| 88 | - }); | ||
| 89 | - layer.close(index); | ||
| 90 | - }); | ||
| 91 | - } | ||
| 92 | - }); | ||
| 93 | - | ||
| 94 | - }); | ||
| 95 | -</script> | ||
| 96 | -</body> | ||
| 97 | -</html> |
| 1 | -<?php /*a:3:{s:87:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/template/index.html";i:1535094388;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/head.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/foot.html";i:1535107019;}*/ ?> | ||
| 2 | -<!DOCTYPE html> | ||
| 3 | -<html> | ||
| 4 | -<head> | ||
| 5 | - <meta charset="utf-8"> | ||
| 6 | - <title><?php echo config('sys_name'); ?>后台管理</title> | ||
| 7 | - <meta name="renderer" content="webkit"> | ||
| 8 | - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 9 | - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | ||
| 10 | - <meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
| 11 | - <meta name="apple-mobile-web-app-capable" content="yes"> | ||
| 12 | - <meta name="format-detection" content="telephone=no"> | ||
| 13 | - <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" /> | ||
| 14 | - <link rel="stylesheet" href="/static/admin/css/global.css" media="all"> | ||
| 15 | - <link rel="stylesheet" href="/static/common/css/font.css" media="all"> | ||
| 16 | -</head> | ||
| 17 | -<body class="skin-<?php if(!empty($_COOKIE['skin'])){echo $_COOKIE['skin'];}else{echo '0';setcookie('skin','0');}?>"> | ||
| 18 | -<style> | ||
| 19 | - a{text-decoration: none;} | ||
| 20 | - .table-list ul.pic { list-style: none;} | ||
| 21 | - .table-list ul.pic li {float:left;position:relative;margin:5px 10px;_margin:5px 8px;text-align: center;} | ||
| 22 | - .table-list ul.pic li span { width:82px;height:82px;display: block;border: 1px solid #dedede;} | ||
| 23 | - .table-list ul.pic li span a {border:1px solid #eee;width:80px;height:80px;*font-size: 75px;display: table-cell; vertical-align: middle; overflow: hidden;} | ||
| 24 | - .table-list ul.pic li img {max-height:80px;max-width:80px ;_width:80px;_height:80px;} | ||
| 25 | - .table-list ul.pic li b {display:block;line-height:20px;height:20px;font-weight:normal;width:82px;overflow:hidden;} | ||
| 26 | - .table-list ul.pic li em {position:absolute;right:25px;bottom:20px;font-style: normal;} | ||
| 27 | - .table-list ul.pic li em a{color: #f00;} | ||
| 28 | -</style> | ||
| 29 | -<div class="admin-main fadeInUp animated"> | ||
| 30 | - <fieldset class="layui-elem-field layui-field-title"> | ||
| 31 | - <legend><?php echo htmlentities($title); ?></legend> | ||
| 32 | - </fieldset> | ||
| 33 | - <div class="layui-field-box"> | ||
| 34 | - <blockquote class="layui-elem-quote"> | ||
| 35 | - <a href="<?php echo url('images'); ?>" class="layui-btn layui-btn-sm layui-btn-danger"> | ||
| 36 | - <i class="fa fa-file-image-o"></i> 二维码管理 | ||
| 37 | - </a> | ||
| 38 | - </blockquote> | ||
| 39 | - <div class="table-list"> | ||
| 40 | - <ul class="pic"> | ||
| 41 | - <?php if($leve): ?> | ||
| 42 | - <li> | ||
| 43 | - <span><a href="<?php echo url('qrcode'); ?>?folder=<?php echo htmlentities($uppath); ?>"><img src="/static/admin/images/upback.gif"></a></span> | ||
| 44 | - <b><font color="#665aff">返回上一级</font></b></li> | ||
| 45 | - <?php endif; if(is_array($folders) || $folders instanceof \think\Collection || $folders instanceof \think\Paginator): $i = 0; $__LIST__ = $folders;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> | ||
| 46 | - <li> | ||
| 47 | - <span><a href="<?php echo url('qrcode'); ?>?folder=<?php echo input('folder'); ?><?php echo htmlentities($vo['filename']); ?>/"><img src="/static/admin/images/folder.gif"></a></span> | ||
| 48 | - <b><?php echo htmlentities($vo['filename']); ?></b> | ||
| 49 | - <em> | ||
| 50 | - <a href="javascript:confirm_delete('<?php echo input('folder'); ?>','<?php echo htmlentities($vo['filename']); ?>','<?php echo htmlentities($path); ?>')">打包</a> | ||
| 51 | - </em> | ||
| 52 | - </li> | ||
| 53 | - <?php endforeach; endif; else: echo "" ;endif; if(is_array($files) || $files instanceof \think\Collection || $files instanceof \think\Paginator): $i = 0; $__LIST__ = $files;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> | ||
| 54 | - <li> | ||
| 55 | - <span> | ||
| 56 | - <a href="/static/home/images/<?php echo input('folder'); ?><?php echo htmlentities($vo['filename']); ?>" target="_blank"> | ||
| 57 | - <?php if(!empty($vo['ico'])): ?> | ||
| 58 | - <img src="/static/home/images/ext/<?php echo htmlentities($vo['ext']); ?>.png"> | ||
| 59 | - <?php else: ?> | ||
| 60 | - <img src="/static/home/images/<?php echo input('folder'); ?><?php echo htmlentities($vo['filename']); ?>" > | ||
| 61 | - <?php endif; ?> | ||
| 62 | - </a> | ||
| 63 | - </span> | ||
| 64 | - <b><?php echo htmlentities($vo['filename']); ?></b> | ||
| 65 | - <em><a href="javascript:confirm_delete('<?php echo input("folder"); ?>','<?php echo htmlentities($vo['filename']); ?>','<?php echo htmlentities($path); ?>')">打包</a></em> | ||
| 66 | - </li> | ||
| 67 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
| 68 | - </ul> | ||
| 69 | - </div> | ||
| 70 | - </div> | ||
| 71 | -</div> | ||
| 72 | -<script type="text/javascript" src="/static/plugins/layui/layui.js"></script> | ||
| 73 | - | ||
| 74 | - | ||
| 75 | -<script src="/static/common/js/jquery.2.1.1.min.js"></script> | ||
| 76 | -<script> | ||
| 77 | - layui.use('form',function() { | ||
| 78 | - var form = layui.form, $ = layui.jquery; | ||
| 79 | - }); | ||
| 80 | - function confirm_delete(folder,filename,path) { | ||
| 81 | - var loading = layer.load(1, {shade: [0.1, '#fff']}); | ||
| 82 | - $.post("<?php echo url('PackzipDownload'); ?>",{folder:folder,path:path,filename:filename},function(data){ | ||
| 83 | - alert(data);die; | ||
| 84 | - layer.close(loading); | ||
| 85 | - if(data.code==1){ | ||
| 86 | - layer.alert(data.msg, {icon: 6}, function(index){ | ||
| 87 | - layer.close(index); | ||
| 88 | - location.replace(location.href); | ||
| 89 | - }); | ||
| 90 | - }else{ | ||
| 91 | - layer.alert(data.msg, {icon: 5}, function(index){ | ||
| 92 | - layer.close(index); | ||
| 93 | - }); | ||
| 94 | - } | ||
| 95 | - }) | ||
| 96 | - } | ||
| 97 | -</script> |
| 1 | -<?php /*a:1:{s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/login/index.html";i:1535104605;}*/ ?> | ||
| 2 | -<!DOCTYPE html> | ||
| 3 | -<html lang="zh_cn"> | ||
| 4 | -<head> | ||
| 5 | - <meta charset="utf-8"> | ||
| 6 | - <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
| 7 | - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | ||
| 8 | - <title>登录</title> | ||
| 9 | - <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" /> | ||
| 10 | - <link rel="stylesheet" href="/static/admin/css/login.css" /> | ||
| 11 | - <link rel="stylesheet" href="/static/common/css/font.css" /> | ||
| 12 | -</head> | ||
| 13 | -<body class="beg-login-bg"> | ||
| 14 | -<div class="container login"> | ||
| 15 | - <div class="content"> | ||
| 16 | - <div id="large-header" class="large-header"> | ||
| 17 | - <canvas id="demo-canvas"></canvas> | ||
| 18 | - <div class="main-title"> | ||
| 19 | - <div class="beg-login-box"> | ||
| 20 | - <header> | ||
| 21 | - <h1>后台登录</h1> | ||
| 22 | - </header> | ||
| 23 | - <div class="beg-login-main"> | ||
| 24 | - <form class="layui-form layui-form-pane" method="post"> | ||
| 25 | - <div class="layui-form-item"> | ||
| 26 | - <label class="beg-login-icon fs1"> | ||
| 27 | - <span class="icon icon-user"></span> | ||
| 28 | - </label> | ||
| 29 | - <input type="text" name="username" lay-verify="required" placeholder="这里输入登录名" value="admin" class="layui-input"> | ||
| 30 | - </div> | ||
| 31 | - <div class="layui-form-item"> | ||
| 32 | - <label class="beg-login-icon fs1"> | ||
| 33 | - <i class="icon icon-key"></i> | ||
| 34 | - </label> | ||
| 35 | - <input type="password" name="password" lay-verify="required" placeholder="这里输入密码" value="admin123" class="layui-input"> | ||
| 36 | - </div> | ||
| 37 | - <?php if($system['code'] == 'open'): ?> | ||
| 38 | - <div class="layui-form-item"> | ||
| 39 | - <input type="text" name="vercode" id="captcha" lay-verify="required" placeholder="验证码" autocomplete="off" class="layui-input"> | ||
| 40 | - <div class="captcha"> | ||
| 41 | - <img src="<?php echo url('verify'); ?>" alt="captcha" onclick="this.src='<?php echo url("verify"); ?>?'+'id='+Math.random()"/> | ||
| 42 | - </div> | ||
| 43 | - </div> | ||
| 44 | - <?php endif; ?> | ||
| 45 | - <div class="layui-form-item"> | ||
| 46 | - <button type="submit" class="layui-btn btn-submit btn-blog" lay-submit lay-filter="login">登录</button> | ||
| 47 | - </div> | ||
| 48 | - </form> | ||
| 49 | - </div> | ||
| 50 | - <!--<footer> | ||
| 51 | - <p><?php echo config('sys_name'); ?> © <?php echo config('url_domain_root'); ?></p> | ||
| 52 | - </footer>--> | ||
| 53 | - </div> | ||
| 54 | - </div> | ||
| 55 | - </div> | ||
| 56 | - </div> | ||
| 57 | -</div> | ||
| 58 | -<script src="/static/admin/js/rAF.js"></script> | ||
| 59 | -<script src="/static/admin/js/login.js"></script> | ||
| 60 | -<script type="text/javascript" src="/static/plugins/layui/layui.js"></script> | ||
| 61 | -<script> | ||
| 62 | - layui.use('form',function(){ | ||
| 63 | - var form = layui.form,$ = layui.jquery; | ||
| 64 | - //监听提交 | ||
| 65 | - form.on('submit(login)', function(data){ | ||
| 66 | - loading =layer.load(1, {shade: [0.1,'#fff'] });//0.1透明度的白色背景 | ||
| 67 | - $.post('<?php echo url("login/index"); ?>',data.field,function(res){ | ||
| 68 | - layer.close(loading); | ||
| 69 | - if(res.code == 1){ | ||
| 70 | - layer.msg(res.msg, {icon: 1, time: 1000}, function(){ | ||
| 71 | - location.href = "<?php echo url('admin/index/index'); ?>"; | ||
| 72 | - }); | ||
| 73 | - }else{ | ||
| 74 | - $('#captcha').val(''); | ||
| 75 | - layer.msg(res.msg, {icon: 2, anim: 6, time: 1000}); | ||
| 76 | - $('.captcha img').attr('src','<?php echo url("verify"); ?>?id='+Math.random()); | ||
| 77 | - } | ||
| 78 | - }); | ||
| 79 | - return false; | ||
| 80 | - }); | ||
| 81 | - }); | ||
| 82 | -</script> | ||
| 83 | -</body> | ||
| 84 | -</html> |
| 1 | -<?php /*a:3:{s:87:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/category/index.html";i:1535013539;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/head.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/foot.html";i:1535107019;}*/ ?> | ||
| 2 | -<!DOCTYPE html> | ||
| 3 | -<html> | ||
| 4 | -<head> | ||
| 5 | - <meta charset="utf-8"> | ||
| 6 | - <title><?php echo config('sys_name'); ?>后台管理</title> | ||
| 7 | - <meta name="renderer" content="webkit"> | ||
| 8 | - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 9 | - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | ||
| 10 | - <meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
| 11 | - <meta name="apple-mobile-web-app-capable" content="yes"> | ||
| 12 | - <meta name="format-detection" content="telephone=no"> | ||
| 13 | - <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" /> | ||
| 14 | - <link rel="stylesheet" href="/static/admin/css/global.css" media="all"> | ||
| 15 | - <link rel="stylesheet" href="/static/common/css/font.css" media="all"> | ||
| 16 | -</head> | ||
| 17 | -<body class="skin-<?php if(!empty($_COOKIE['skin'])){echo $_COOKIE['skin'];}else{echo '0';setcookie('skin','0');}?>"> | ||
| 18 | -<div class="admin-main layui-anim layui-anim-upbit"> | ||
| 19 | - <fieldset class="layui-elem-field layui-field-title"> | ||
| 20 | - <legend><?php echo htmlentities($title); ?></legend> | ||
| 21 | - </fieldset> | ||
| 22 | - <blockquote class="layui-elem-quote"> | ||
| 23 | - <a href="<?php echo url('add'); ?>" class="layui-btn layui-btn-sm"><?php echo lang('add'); ?>栏目</a> | ||
| 24 | - </blockquote> | ||
| 25 | - <table class="layui-table"> | ||
| 26 | - <thead> | ||
| 27 | - <tr> | ||
| 28 | - <th>编号</th> | ||
| 29 | - <th>栏目名称<span id="cateNameMsg">(点击查看内容)</span></th> | ||
| 30 | - <th>所属模型</th> | ||
| 31 | - <th>导航</th> | ||
| 32 | - <th><?php echo lang('order'); ?></th> | ||
| 33 | - <th>操作</th> | ||
| 34 | - </tr> | ||
| 35 | - </thead> | ||
| 36 | - <tbody id="con"> | ||
| 37 | - <?php echo $categorys; ?> | ||
| 38 | - </tbody> | ||
| 39 | - <tfoot> | ||
| 40 | - </table> | ||
| 41 | -</div> | ||
| 42 | -<script type="text/javascript" src="/static/plugins/layui/layui.js"></script> | ||
| 43 | - | ||
| 44 | - | ||
| 45 | -<script src="/static/common/js/jquery.2.1.1.min.js"></script> | ||
| 46 | -<script> | ||
| 47 | - layui.use('table', function(){ | ||
| 48 | - var $= layui.jquery; | ||
| 49 | - $('body').on('blur','.list_order',function() { | ||
| 50 | - var id = $(this).attr('data-id'); | ||
| 51 | - var sort = $(this).val(); | ||
| 52 | - var loading = layer.load(1, {shade: [0.1, '#fff']}); | ||
| 53 | - $.post('<?php echo url("cOrder"); ?>',{id:id,sort:sort},function(res){ | ||
| 54 | - layer.close(loading); | ||
| 55 | - if(res.code === 1){ | ||
| 56 | - layer.msg(res.msg, {time: 1000, icon: 1}, function () { | ||
| 57 | - location.href = res.url; | ||
| 58 | - }); | ||
| 59 | - }else{ | ||
| 60 | - layer.msg(res.msg,{time:1000,icon:2}); | ||
| 61 | - } | ||
| 62 | - }) | ||
| 63 | - }); | ||
| 64 | - }); | ||
| 65 | - function del(id) { | ||
| 66 | - layer.confirm('你确定要删除该栏目及其子栏目吗?', {icon: 3}, function (index) { | ||
| 67 | - $.post('<?php echo url("del"); ?>', {id: id}, function (data) { | ||
| 68 | - if (data.status === 1) { | ||
| 69 | - layer.alert(data.info, {icon: 6}, function(index){ | ||
| 70 | - layer.close(index); | ||
| 71 | - window.location.href=data.url; | ||
| 72 | - }); | ||
| 73 | - }else{ | ||
| 74 | - layer.msg(data.info,{icon:5}); | ||
| 75 | - } | ||
| 76 | - }); | ||
| 77 | - layer.close(index); | ||
| 78 | - }); | ||
| 79 | - } | ||
| 80 | -</script> |
| 1 | -<?php /*a:3:{s:83:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/index/main.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/head.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/foot.html";i:1535107019;}*/ ?> | ||
| 2 | -<!DOCTYPE html> | ||
| 3 | -<html> | ||
| 4 | -<head> | ||
| 5 | - <meta charset="utf-8"> | ||
| 6 | - <title><?php echo config('sys_name'); ?>后台管理</title> | ||
| 7 | - <meta name="renderer" content="webkit"> | ||
| 8 | - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 9 | - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | ||
| 10 | - <meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
| 11 | - <meta name="apple-mobile-web-app-capable" content="yes"> | ||
| 12 | - <meta name="format-detection" content="telephone=no"> | ||
| 13 | - <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" /> | ||
| 14 | - <link rel="stylesheet" href="/static/admin/css/global.css" media="all"> | ||
| 15 | - <link rel="stylesheet" href="/static/common/css/font.css" media="all"> | ||
| 16 | -</head> | ||
| 17 | -<body class="skin-<?php if(!empty($_COOKIE['skin'])){echo $_COOKIE['skin'];}else{echo '0';setcookie('skin','0');}?>"> | ||
| 18 | -<div class="admin-main layui-anim layui-anim-upbit"> | ||
| 19 | - <div class="table-responsive"> | ||
| 20 | - <table class="layui-table" lay-even lay-skin="line"> | ||
| 21 | - <colgroup> | ||
| 22 | - <col width="40%"> | ||
| 23 | - <col> | ||
| 24 | - </colgroup> | ||
| 25 | - <thead> | ||
| 26 | - <tr> | ||
| 27 | - <th class="text-center" colspan="2"><?php echo lang('systemInfo'); ?></th> | ||
| 28 | - </tr> | ||
| 29 | - </thead> | ||
| 30 | - <tbody> | ||
| 31 | - <tr> | ||
| 32 | - <td>网站域名</td> | ||
| 33 | - <td><?php echo htmlentities($config['url']); ?></td> | ||
| 34 | - </tr> | ||
| 35 | - <tr> | ||
| 36 | - <td>网站目录</td> | ||
| 37 | - <td><?php echo htmlentities($config['document_root']); ?></td> | ||
| 38 | - </tr> | ||
| 39 | - <tr> | ||
| 40 | - <td>服务器操作系统</td> | ||
| 41 | - <td><?php echo htmlentities($config['server_os']); ?></td> | ||
| 42 | - </tr> | ||
| 43 | - <tr> | ||
| 44 | - <td>服务器端口</td> | ||
| 45 | - <td><?php echo htmlentities($config['server_port']); ?></td> | ||
| 46 | - </tr> | ||
| 47 | - <tr> | ||
| 48 | - <td>服务器IP</td> | ||
| 49 | - <td><?php echo htmlentities($config['server_ip']); ?></td> | ||
| 50 | - </tr> | ||
| 51 | - <tr> | ||
| 52 | - <td>WEB运行环境</td> | ||
| 53 | - <td><?php echo htmlentities($config['server_soft']); ?></td> | ||
| 54 | - </tr> | ||
| 55 | - <tr> | ||
| 56 | - <td>MySQL数据库版本</td> | ||
| 57 | - <td><?php echo htmlentities($config['mysql_version']); ?></td> | ||
| 58 | - </tr> | ||
| 59 | - <tr> | ||
| 60 | - <td>运行PHP版本</td> | ||
| 61 | - <td><?php echo htmlentities($config['php_version']); ?></td> | ||
| 62 | - </tr> | ||
| 63 | - | ||
| 64 | - <tr> | ||
| 65 | - <td>最大上传限制</td> | ||
| 66 | - <td><?php echo htmlentities($config['max_upload_size']); ?></td> | ||
| 67 | - </tr> | ||
| 68 | - <tr> | ||
| 69 | - <td>CLTPHP版本</td> | ||
| 70 | - <td><?php echo config('version'); ?></td> | ||
| 71 | - </tr> | ||
| 72 | - </tbody> | ||
| 73 | - </table> | ||
| 74 | - </div> | ||
| 75 | -</div> | ||
| 76 | -<script type="text/javascript" src="/static/plugins/layui/layui.js"></script> | ||
| 77 | - | ||
| 78 | - | ||
| 79 | -<script> | ||
| 80 | - layui.use('table', function() { | ||
| 81 | - var table = layui.table; | ||
| 82 | - }) | ||
| 83 | -</script> | ||
| 84 | -</body> | ||
| 85 | -</html> |
| 1 | -<?php /*a:3:{s:83:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/link/index.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/head.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/foot.html";i:1535107019;}*/ ?> | ||
| 2 | -<!DOCTYPE html> | ||
| 3 | -<html> | ||
| 4 | -<head> | ||
| 5 | - <meta charset="utf-8"> | ||
| 6 | - <title><?php echo config('sys_name'); ?>后台管理</title> | ||
| 7 | - <meta name="renderer" content="webkit"> | ||
| 8 | - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 9 | - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | ||
| 10 | - <meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
| 11 | - <meta name="apple-mobile-web-app-capable" content="yes"> | ||
| 12 | - <meta name="format-detection" content="telephone=no"> | ||
| 13 | - <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" /> | ||
| 14 | - <link rel="stylesheet" href="/static/admin/css/global.css" media="all"> | ||
| 15 | - <link rel="stylesheet" href="/static/common/css/font.css" media="all"> | ||
| 16 | -</head> | ||
| 17 | -<body class="skin-<?php if(!empty($_COOKIE['skin'])){echo $_COOKIE['skin'];}else{echo '0';setcookie('skin','0');}?>"> | ||
| 18 | -<div class="admin-main layui-anim layui-anim-upbit"> | ||
| 19 | - <fieldset class="layui-elem-field layui-field-title"> | ||
| 20 | - <legend>友情链接</legend> | ||
| 21 | - </fieldset> | ||
| 22 | - <blockquote class="layui-elem-quote"> | ||
| 23 | - <a href="<?php echo url('add'); ?>" class="layui-btn layui-btn-sm"><?php echo lang('add'); ?>友链</a> | ||
| 24 | - <button type="button" class="layui-btn layui-btn-sm layui-btn-danger" id="delAll">批量删除</button> | ||
| 25 | - </blockquote> | ||
| 26 | - <table class="layui-table" id="list" lay-filter="list"></table> | ||
| 27 | -</div> | ||
| 28 | -<script type="text/javascript" src="/static/plugins/layui/layui.js"></script> | ||
| 29 | - | ||
| 30 | - | ||
| 31 | -<script type="text/html" id="url"> | ||
| 32 | - <a href="{{d.url}}" target="_blank">{{d.url}}</a> | ||
| 33 | -</script> | ||
| 34 | -<script type="text/html" id="order"> | ||
| 35 | - <input name="{{d.link_id}}" data-id="{{d.link_id}}" class="list_order layui-input" value=" {{d.sort}}" size="10"/> | ||
| 36 | -</script> | ||
| 37 | -<script type="text/html" id="open"> | ||
| 38 | - <input type="checkbox" name="open" value="{{d.link_id}}" lay-skin="switch" lay-text="开启|关闭" lay-filter="open" {{ d.open == 1 ? 'checked' : '' }}> | ||
| 39 | -</script> | ||
| 40 | -<script type="text/html" id="action"> | ||
| 41 | - <a href="<?php echo url('edit'); ?>?link_id={{d.link_id}}" class="layui-btn layui-btn-xs">编辑</a> | ||
| 42 | - <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a> | ||
| 43 | -</script> | ||
| 44 | -<script> | ||
| 45 | - layui.use(['table','form'], function() { | ||
| 46 | - var table = layui.table,form = layui.form, $ = layui.jquery; | ||
| 47 | - var tableIn = table.render({ | ||
| 48 | - id: 'link', | ||
| 49 | - elem: '#list', | ||
| 50 | - url: '<?php echo url("index"); ?>', | ||
| 51 | - method: 'post', | ||
| 52 | - cols: [[ | ||
| 53 | - {checkbox: true, fixed: true}, | ||
| 54 | - {field: 'link_id', title: '<?php echo lang("id"); ?>', width: 80, fixed: true, sort: true}, | ||
| 55 | - {field: 'name', title: '链接名称', width: 200}, | ||
| 56 | - {field: 'url', title: '链接URL', width: 300,templet:'#url'}, | ||
| 57 | - {field: 'qq', title: '<?php echo lang("qq"); ?>', width: 120}, | ||
| 58 | - {field: 'addtime', title: '<?php echo lang("add"); ?><?php echo lang("time"); ?>', width: 150,sort: true}, | ||
| 59 | - {field: 'sort',align: 'center',title: '<?php echo lang("order"); ?>', width: 120, templet: '#order', sort: true}, | ||
| 60 | - {field: 'open',align: 'center', title: '<?php echo lang("status"); ?>', width: 100, sort: true,toolbar: '#open'}, | ||
| 61 | - {width: 160, align: 'center', toolbar: '#action'} | ||
| 62 | - ]] | ||
| 63 | - }); | ||
| 64 | - form.on('switch(open)', function(obj){ | ||
| 65 | - loading =layer.load(1, {shade: [0.1,'#fff']}); | ||
| 66 | - var id = this.value; | ||
| 67 | - var open = obj.elem.checked===true?1:0; | ||
| 68 | - $.post('<?php echo url("linkState"); ?>',{'id':id,'open':open},function (res) { | ||
| 69 | - layer.close(loading); | ||
| 70 | - if (res.status==1) { | ||
| 71 | - tableIn.reload(); | ||
| 72 | - }else{ | ||
| 73 | - layer.msg(res.msg,{time:1000,icon:2}); | ||
| 74 | - return false; | ||
| 75 | - } | ||
| 76 | - }) | ||
| 77 | - }); | ||
| 78 | - table.on('tool(list)', function(obj) { | ||
| 79 | - var data = obj.data; | ||
| 80 | - if(obj.event === 'del'){ | ||
| 81 | - layer.confirm('您确定要删除该链接吗?', function(index){ | ||
| 82 | - var loading = layer.load(1, {shade: [0.1, '#fff']}); | ||
| 83 | - $.post("<?php echo url('del'); ?>",{link_id:data.link_id},function(res){ | ||
| 84 | - layer.close(loading); | ||
| 85 | - if(res.code===1){ | ||
| 86 | - layer.msg(res.msg,{time:1000,icon:1}); | ||
| 87 | - obj.del(); | ||
| 88 | - }else{ | ||
| 89 | - layer.msg('操作失败!',{time:1000,icon:2}); | ||
| 90 | - } | ||
| 91 | - }); | ||
| 92 | - layer.close(index); | ||
| 93 | - }); | ||
| 94 | - } | ||
| 95 | - }); | ||
| 96 | - $('body').on('blur','.list_order',function() { | ||
| 97 | - var link_id = $(this).attr('data-id'); | ||
| 98 | - var sort = $(this).val(); | ||
| 99 | - $.post('<?php echo url("listOrder"); ?>',{link_id:link_id,sort:sort},function(res){ | ||
| 100 | - if(res.code === 1){ | ||
| 101 | - layer.msg(res.msg, {time: 1000, icon: 1}); | ||
| 102 | - table.reload('link'); | ||
| 103 | - }else{ | ||
| 104 | - layer.msg(res.msg,{time:1000,icon:2}); | ||
| 105 | - } | ||
| 106 | - }) | ||
| 107 | - }); | ||
| 108 | - $('#delAll').click(function(){ | ||
| 109 | - layer.confirm('确认要删除选中信息吗?', {icon: 3}, function(index) { | ||
| 110 | - layer.close(index); | ||
| 111 | - var checkStatus = table.checkStatus('link'); //test即为参数id设定的值 | ||
| 112 | - var ids = []; | ||
| 113 | - $(checkStatus.data).each(function (i, o) { | ||
| 114 | - ids.push(o.link_id); | ||
| 115 | - }); | ||
| 116 | - var loading = layer.load(1, {shade: [0.1, '#fff']}); | ||
| 117 | - $.post("<?php echo url('delall'); ?>", {ids: ids}, function (data) { | ||
| 118 | - layer.close(loading); | ||
| 119 | - if (data.code === 1) { | ||
| 120 | - layer.msg(data.msg, {time: 1000, icon: 1}); | ||
| 121 | - table.reload('link'); | ||
| 122 | - } else { | ||
| 123 | - layer.msg(data.msg, {time: 1000, icon: 2}); | ||
| 124 | - } | ||
| 125 | - }); | ||
| 126 | - }); | ||
| 127 | - }) | ||
| 128 | - }) | ||
| 129 | -</script> |
| 1 | -<?php /*a:3:{s:86:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/content/index.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/head.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/foot.html";i:1535107019;}*/ ?> | ||
| 2 | -<!DOCTYPE html> | ||
| 3 | -<html> | ||
| 4 | -<head> | ||
| 5 | - <meta charset="utf-8"> | ||
| 6 | - <title><?php echo config('sys_name'); ?>后台管理</title> | ||
| 7 | - <meta name="renderer" content="webkit"> | ||
| 8 | - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 9 | - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | ||
| 10 | - <meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
| 11 | - <meta name="apple-mobile-web-app-capable" content="yes"> | ||
| 12 | - <meta name="format-detection" content="telephone=no"> | ||
| 13 | - <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" /> | ||
| 14 | - <link rel="stylesheet" href="/static/admin/css/global.css" media="all"> | ||
| 15 | - <link rel="stylesheet" href="/static/common/css/font.css" media="all"> | ||
| 16 | -</head> | ||
| 17 | -<body class="skin-<?php if(!empty($_COOKIE['skin'])){echo $_COOKIE['skin'];}else{echo '0';setcookie('skin','0');}?>"> | ||
| 18 | -<div class="admin-main layui-anim layui-anim-upbit"> | ||
| 19 | - <fieldset class="layui-elem-field layui-field-title"> | ||
| 20 | - <legend><?php echo lang('list'); ?></legend> | ||
| 21 | - </fieldset> | ||
| 22 | - <div class="demoTable"> | ||
| 23 | - <div class="layui-inline"> | ||
| 24 | - <input class="layui-input" name="key" id="key" placeholder="<?php echo lang('pleaseEnter'); ?>关键字"> | ||
| 25 | - </div> | ||
| 26 | - <button class="layui-btn" id="search" data-type="reload"><?php echo lang('search'); ?></button> | ||
| 27 | - <a href="<?php echo url('index',['catid'=>input('catid')]); ?>" class="layui-btn">显示全部</a> | ||
| 28 | - <button type="button" class="layui-btn layui-btn-danger" id="delAll">批量删除</button> | ||
| 29 | - <a href="<?php echo url('Category/index'); ?>" class="layui-btn layui-btn-normal" style="float:right;">返回栏目</a> | ||
| 30 | - <a href="<?php echo url('add',array('catid'=>input('catid'))); ?>" class="layui-btn" style="float:right;margin-right: 15px;"><?php echo lang('add'); ?></a> | ||
| 31 | - <div style="clear: both;"></div> | ||
| 32 | - </div> | ||
| 33 | - <table class="layui-table" id="list" lay-filter="list"></table> | ||
| 34 | -</div> | ||
| 35 | -<script type="text/javascript" src="/static/plugins/layui/layui.js"></script> | ||
| 36 | - | ||
| 37 | - | ||
| 38 | -<script type="text/html" id="order"> | ||
| 39 | - <input name="{{d.id}}" data-id="{{d.id}}" class="list_order layui-input" value=" {{d.sort}}" size="10"/> | ||
| 40 | -</script> | ||
| 41 | -<script type="text/html" id="title"> | ||
| 42 | - <span style="{{d.title_style}}">{{d.title}}</span> | ||
| 43 | - {{# if(d.thumb){ }}<img src="/static/admin/images/image.gif" onmouseover="layer.tips('<img src={{d.thumb}}>',this,{tips: [1, '#fff']});" onmouseout="layer.closeAll();">{{# } }} | ||
| 44 | -</script> | ||
| 45 | -<script type="text/html" id="action"> | ||
| 46 | - {{# if(d.is_show==1){ }} | ||
| 47 | - <a href="{{d.url}}" target="_blank" class="layui-btn layui-btn-xs">预览</a> | ||
| 48 | - {{# } }} | ||
| 49 | - <a href="<?php echo url('edit'); ?>?id={{d.id}}&catid={{d.catid}}" class="layui-btn layui-btn-xs">编辑</a> | ||
| 50 | - <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a> | ||
| 51 | -</script> | ||
| 52 | -<script> | ||
| 53 | - layui.use('table', function() { | ||
| 54 | - var table = layui.table, $ = layui.jquery; | ||
| 55 | - var tableIn = table.render({ | ||
| 56 | - id: 'content', | ||
| 57 | - elem: '#list', | ||
| 58 | - url: '<?php echo url("index"); ?>', | ||
| 59 | - where:{catid:'<?php echo input("catid"); ?>'}, | ||
| 60 | - method: 'post', | ||
| 61 | - page: true, | ||
| 62 | - cols: [[ | ||
| 63 | - {type: "checkbox", fixed: true}, | ||
| 64 | - {field: 'id', title: '<?php echo lang("id"); ?>', width: 80, fixed: true}, | ||
| 65 | - {field: 'title', title: '<?php echo lang("title"); ?>', width: 400, templet: '#title'}, | ||
| 66 | - {field: 'hits', title: '<?php echo lang("hit"); ?>', width: 80}, | ||
| 67 | - {field: 'createtime', title: '<?php echo lang("add"); ?><?php echo lang("time"); ?>', width: 180}, | ||
| 68 | - {field: 'sort', align: 'center', title: '<?php echo lang("order"); ?>', width: 120, templet: '#order'}, | ||
| 69 | - {width: 160, align: 'center', toolbar: '#action',title:'操作'} | ||
| 70 | - ]], | ||
| 71 | - limit: 10 | ||
| 72 | - }); | ||
| 73 | - //搜索 | ||
| 74 | - $('#search').on('click', function () { | ||
| 75 | - var key = $('#key').val(); | ||
| 76 | - if ($.trim(key) === '') { | ||
| 77 | - layer.msg('<?php echo lang("pleaseEnter"); ?>关键字!', {icon: 0}); | ||
| 78 | - return; | ||
| 79 | - } | ||
| 80 | - tableIn.reload({ page: {page: 1}, where: {key: key,catid:'<?php echo input("catid"); ?>'} }); | ||
| 81 | - }); | ||
| 82 | - $('body').on('blur','.list_order',function() { | ||
| 83 | - var id = $(this).attr('data-id'); | ||
| 84 | - var sort = $(this).val(); | ||
| 85 | - var loading = layer.load(1, {shade: [0.1, '#fff']}); | ||
| 86 | - $.post('<?php echo url("listorder"); ?>',{id:id,sort:sort,catid:'<?php echo input("catid"); ?>'},function(res){ | ||
| 87 | - layer.close(loading); | ||
| 88 | - if(res.code === 1){ | ||
| 89 | - layer.msg(res.msg, {time: 1000, icon: 1}, function () { | ||
| 90 | - location.href = res.url; | ||
| 91 | - }); | ||
| 92 | - }else{ | ||
| 93 | - layer.msg(res.msg,{time:1000,icon:2}); | ||
| 94 | - } | ||
| 95 | - }) | ||
| 96 | - }); | ||
| 97 | - table.on('tool(list)', function(obj) { | ||
| 98 | - var data = obj.data; | ||
| 99 | - if(obj.event === 'del'){ | ||
| 100 | - layer.confirm('您确定要删除该内容吗?', function(index){ | ||
| 101 | - var loading = layer.load(1, {shade: [0.1, '#fff']}); | ||
| 102 | - $.post("<?php echo url('listDel'); ?>",{id:data.id},function(res){ | ||
| 103 | - layer.close(loading); | ||
| 104 | - if(res.code===1){ | ||
| 105 | - layer.msg(res.msg,{time:1000,icon:1}); | ||
| 106 | - tableIn.reload({where:{catid:'<?php echo input("catid"); ?>'}}); | ||
| 107 | - }else{ | ||
| 108 | - layer.msg('操作失败!',{time:1000,icon:2}); | ||
| 109 | - } | ||
| 110 | - }); | ||
| 111 | - layer.close(index); | ||
| 112 | - }); | ||
| 113 | - } | ||
| 114 | - }); | ||
| 115 | - $('#delAll').click(function(){ | ||
| 116 | - layer.confirm('确认要删除选中的内容吗?', {icon: 3}, function(index) { | ||
| 117 | - layer.close(index); | ||
| 118 | - var checkStatus = table.checkStatus('content'); //content即为参数id设定的值 | ||
| 119 | - var ids = []; | ||
| 120 | - $(checkStatus.data).each(function (i, o) { | ||
| 121 | - ids.push(o.id); | ||
| 122 | - }); | ||
| 123 | - var loading = layer.load(1, {shade: [0.1, '#fff']}); | ||
| 124 | - $.post("<?php echo url('delAll'); ?>", {ids: ids,catid:'<?php echo input("catid"); ?>'}, function (data) { | ||
| 125 | - layer.close(loading); | ||
| 126 | - if (data.code === 1) { | ||
| 127 | - layer.msg(data.msg, {time: 1000, icon: 1}); | ||
| 128 | - tableIn.reload({where:{catid:'<?php echo input("catid"); ?>'}}); | ||
| 129 | - } else { | ||
| 130 | - layer.msg(data.msg, {time: 1000, icon: 2}); | ||
| 131 | - } | ||
| 132 | - }); | ||
| 133 | - }); | ||
| 134 | - }) | ||
| 135 | - }); | ||
| 136 | -</script> |
| 1 | -<?php /*a:3:{s:88:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/auth/admin_rule.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/head.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/foot.html";i:1535107019;}*/ ?> | ||
| 2 | -<!DOCTYPE html> | ||
| 3 | -<html> | ||
| 4 | -<head> | ||
| 5 | - <meta charset="utf-8"> | ||
| 6 | - <title><?php echo config('sys_name'); ?>后台管理</title> | ||
| 7 | - <meta name="renderer" content="webkit"> | ||
| 8 | - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 9 | - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | ||
| 10 | - <meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
| 11 | - <meta name="apple-mobile-web-app-capable" content="yes"> | ||
| 12 | - <meta name="format-detection" content="telephone=no"> | ||
| 13 | - <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" /> | ||
| 14 | - <link rel="stylesheet" href="/static/admin/css/global.css" media="all"> | ||
| 15 | - <link rel="stylesheet" href="/static/common/css/font.css" media="all"> | ||
| 16 | -</head> | ||
| 17 | -<body class="skin-<?php if(!empty($_COOKIE['skin'])){echo $_COOKIE['skin'];}else{echo '0';setcookie('skin','0');}?>"> | ||
| 18 | -<div class="admin-main layui-anim layui-anim-upbit"> | ||
| 19 | - <fieldset class="layui-elem-field layui-field-title"> | ||
| 20 | - <legend>权限<?php echo lang('list'); ?></legend> | ||
| 21 | - </fieldset> | ||
| 22 | - <blockquote class="layui-elem-quote"> | ||
| 23 | - <a href="<?php echo url('ruleAdd'); ?>" class="layui-btn layui-btn-sm"><?php echo lang('add'); ?>权限</a> | ||
| 24 | - </blockquote> | ||
| 25 | - <table class="layui-table" id="list" lay-filter="list"></table> | ||
| 26 | -</div> | ||
| 27 | -<script type="text/html" id="auth"> | ||
| 28 | - <input type="checkbox" name="authopen" value="{{d.id}}" lay-skin="switch" lay-text="是|否" lay-filter="authopen" {{ d.authopen == 0 ? 'checked' : '' }}> | ||
| 29 | -</script> | ||
| 30 | -<script type="text/html" id="status"> | ||
| 31 | - <input type="checkbox" name="menustatus" value="{{d.id}}" lay-skin="switch" lay-text="显示|隐藏" lay-filter="menustatus" {{ d.menustatus == 1 ? 'checked' : '' }}> | ||
| 32 | -</script> | ||
| 33 | -<script type="text/html" id="order"> | ||
| 34 | - <input name="{{d.id}}" data-id="{{d.id}}" class="list_order layui-input" value=" {{d.sort}}" size="10"/> | ||
| 35 | -</script> | ||
| 36 | -<script type="text/html" id="icon"> | ||
| 37 | - <span class="icon {{d.icon}}"></span> | ||
| 38 | -</script> | ||
| 39 | -<script type="text/html" id="action"> | ||
| 40 | - <a href="<?php echo url('ruleEdit'); ?>?id={{d.id}}" class="layui-btn layui-btn-xs"><?php echo lang('edit'); ?></a> | ||
| 41 | - <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del"><?php echo lang('del'); ?></a> | ||
| 42 | -</script> | ||
| 43 | -<script type="text/javascript" src="/static/plugins/layui/layui.js"></script> | ||
| 44 | - | ||
| 45 | - | ||
| 46 | -<script> | ||
| 47 | - layui.use(['table','form'], function() { | ||
| 48 | - var table = layui.table,form = layui.form, $ = layui.jquery; | ||
| 49 | - tableIn = table.render({ | ||
| 50 | - elem: '#list', | ||
| 51 | - url: '<?php echo url("adminRule"); ?>', | ||
| 52 | - method: 'post', | ||
| 53 | - cols: [[ | ||
| 54 | - {field: 'id', title: '<?php echo lang("id"); ?>', width: 70, fixed: true}, | ||
| 55 | - {field: 'icon', align: 'center',title: '<?php echo lang("icon"); ?>', width: 60,templet: '#icon'}, | ||
| 56 | - {field: 'ltitle', title: '权限名称', width: 200}, | ||
| 57 | - {field: 'href', title: '控制器/方法', width: 200}, | ||
| 58 | - {field: 'authopen',align: 'center', title: '是否验证权限', width: 150,toolbar: '#auth'}, | ||
| 59 | - {field: 'menustatus',align: 'center',title: '菜单<?php echo lang("status"); ?>', width: 150,toolbar: '#status'}, | ||
| 60 | - {field: 'sort',align: 'center', title: '<?php echo lang("order"); ?>', width: 80, templet: '#order'}, | ||
| 61 | - {width: 160,align: 'center', toolbar: '#action'} | ||
| 62 | - ]] | ||
| 63 | - }); | ||
| 64 | - form.on('switch(authopen)', function(obj){ | ||
| 65 | - loading =layer.load(1, {shade: [0.1,'#fff']}); | ||
| 66 | - var id = this.value; | ||
| 67 | - var authopen = obj.elem.checked===true?0:1; | ||
| 68 | - $.post('<?php echo url("ruleTz"); ?>',{'id':id,'authopen':authopen},function (res) { | ||
| 69 | - layer.close(loading); | ||
| 70 | - if (res.status==1) { | ||
| 71 | - tableIn.reload(); | ||
| 72 | - }else{ | ||
| 73 | - layer.msg(res.msg,{time:1000,icon:2}); | ||
| 74 | - tableIn.reload(); | ||
| 75 | - return false; | ||
| 76 | - } | ||
| 77 | - }) | ||
| 78 | - }); | ||
| 79 | - form.on('switch(menustatus)', function(obj){ | ||
| 80 | - loading =layer.load(1, {shade: [0.1,'#fff']}); | ||
| 81 | - var id = this.value; | ||
| 82 | - var menustatus = obj.elem.checked===true?1:0; | ||
| 83 | - $.post('<?php echo url("ruleState"); ?>',{'id':id,'menustatus':menustatus},function (res) { | ||
| 84 | - layer.close(loading); | ||
| 85 | - if (res.status==1) { | ||
| 86 | - tableIn.reload(); | ||
| 87 | - }else{ | ||
| 88 | - layer.msg(res.msg,{time:1000,icon:2}); | ||
| 89 | - tableIn.reload(); | ||
| 90 | - return false; | ||
| 91 | - } | ||
| 92 | - }) | ||
| 93 | - }); | ||
| 94 | - table.on('tool(list)', function(obj){ | ||
| 95 | - var data = obj.data; | ||
| 96 | - if(obj.event === 'del'){ | ||
| 97 | - layer.confirm('您确定要删除该记录吗?', function(index){ | ||
| 98 | - var loading = layer.load(1, {shade: [0.1, '#fff']}); | ||
| 99 | - $.post("<?php echo url('ruleDel'); ?>",{id:data.id},function(res){ | ||
| 100 | - layer.close(loading); | ||
| 101 | - if(res.code==1){ | ||
| 102 | - layer.msg(res.msg,{time:1000,icon:1}); | ||
| 103 | - obj.del(); | ||
| 104 | - }else{ | ||
| 105 | - layer.msg(res.msg,{time:1000,icon:2}); | ||
| 106 | - } | ||
| 107 | - }); | ||
| 108 | - layer.close(index); | ||
| 109 | - }); | ||
| 110 | - } | ||
| 111 | - }); | ||
| 112 | - $('body').on('blur','.list_order',function() { | ||
| 113 | - var id = $(this).attr('data-id'); | ||
| 114 | - var sort = $(this).val(); | ||
| 115 | - $.post('<?php echo url("ruleOrder"); ?>',{id:id,sort:sort},function(res){ | ||
| 116 | - if(res.code==1){ | ||
| 117 | - layer.msg(res.msg,{time:1000,icon:1},function(){ | ||
| 118 | - location.href = res.url; | ||
| 119 | - }); | ||
| 120 | - }else{ | ||
| 121 | - layer.msg(res.msg,{time:1000,icon:2}); | ||
| 122 | - tableIn.reload(); | ||
| 123 | - } | ||
| 124 | - }) | ||
| 125 | - }) | ||
| 126 | - }) | ||
| 127 | -</script> |
| 1 | -<?php /*a:3:{s:86:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/wechat/config.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/head.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/foot.html";i:1535107019;}*/ ?> | ||
| 2 | -<script src="/static/common/js/jquery.2.1.1.min.js"></script><!DOCTYPE html> | ||
| 3 | -<html> | ||
| 4 | -<head> | ||
| 5 | - <meta charset="utf-8"> | ||
| 6 | - <title><?php echo config('sys_name'); ?>后台管理</title> | ||
| 7 | - <meta name="renderer" content="webkit"> | ||
| 8 | - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 9 | - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | ||
| 10 | - <meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
| 11 | - <meta name="apple-mobile-web-app-capable" content="yes"> | ||
| 12 | - <meta name="format-detection" content="telephone=no"> | ||
| 13 | - <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" /> | ||
| 14 | - <link rel="stylesheet" href="/static/admin/css/global.css" media="all"> | ||
| 15 | - <link rel="stylesheet" href="/static/common/css/font.css" media="all"> | ||
| 16 | -</head> | ||
| 17 | -<body class="skin-<?php if(!empty($_COOKIE['skin'])){echo $_COOKIE['skin'];}else{echo '0';setcookie('skin','0');}?>"> | ||
| 18 | -<div class="admin-main layui-anim layui-anim-upbit"> | ||
| 19 | - <fieldset class="layui-elem-field layui-field-title"> | ||
| 20 | - <legend><?php echo htmlentities($title); ?></legend> | ||
| 21 | - </fieldset> | ||
| 22 | - <form class="layui-form layui-form-pane"> | ||
| 23 | - <div class="layui-form-item"> | ||
| 24 | - <label class="layui-form-label"><?php echo lang('AppID'); ?></label> | ||
| 25 | - <div class="layui-input-4"> | ||
| 26 | - <input type="text" name="appid" lay-verify="required" placeholder="<?php echo lang('pleaseEnter'); ?><?php echo lang('AppID'); ?>" value="<?php echo htmlentities($wchat_config['appid']); ?>" class="layui-input"> | ||
| 27 | - </div> | ||
| 28 | - </div> | ||
| 29 | - <div class="layui-form-item"> | ||
| 30 | - <label class="layui-form-label"><?php echo lang('Appsecret'); ?></label> | ||
| 31 | - <div class="layui-input-4"> | ||
| 32 | - <input type="text" name="appsecret" lay-verify="required" placeholder="<?php echo lang('pleaseEnter'); ?><?php echo lang('Appsecret'); ?>" value="<?php echo htmlentities($wchat_config['appsecret']); ?>" class="layui-input"> | ||
| 33 | - </div> | ||
| 34 | - <div class="layui-form-mid layui-word-aux"> | ||
| 35 | - AppID以及Appsecret来自于您申请开发接口时提供的账号和密码。 | ||
| 36 | - </div> | ||
| 37 | - </div> | ||
| 38 | - <div class="layui-form-item"> | ||
| 39 | - <label class="layui-form-label">URL</label> | ||
| 40 | - <div class="layui-input-4"> | ||
| 41 | - <input class="layui-input" id="url" readonly value="<?php echo htmlentities($call_back_url); ?>"> | ||
| 42 | - </div> | ||
| 43 | - </div> | ||
| 44 | - <div class="layui-form-item"> | ||
| 45 | - <label class="layui-form-label">TOKEN</label> | ||
| 46 | - <div class="layui-input-4"> | ||
| 47 | - <input type="text" name="token" placeholder="输入TOKEN" class="layui-input" value="<?php echo htmlentities($wchat_config['token']); ?>"> | ||
| 48 | - </div> | ||
| 49 | - <div class="layui-form-mid layui-word-aux"> | ||
| 50 | - 请将以上URL及Token填到微信公众平台中,以完成绑定。 | ||
| 51 | - </div> | ||
| 52 | - </div> | ||
| 53 | - <div class="layui-form-item"> | ||
| 54 | - <div class="layui-input-block"> | ||
| 55 | - <button type="button" class="layui-btn" lay-submit="" lay-filter="submit"><?php echo lang('submit'); ?></button> | ||
| 56 | - </div> | ||
| 57 | - </div> | ||
| 58 | - </form> | ||
| 59 | -</div> | ||
| 60 | -<script type="text/javascript" src="/static/plugins/layui/layui.js"></script> | ||
| 61 | - | ||
| 62 | - | ||
| 63 | - | ||
| 64 | -<script> | ||
| 65 | - layui.use(['form', 'layer'], function () { | ||
| 66 | - var form = layui.form, layer = layui.layer, $ = layui.jquery; | ||
| 67 | - form.on('submit(submit)', function (data) { | ||
| 68 | - var loading = layer.load(1, {shade: [0.1, '#fff']}); | ||
| 69 | - $.post("<?php echo url('setWechatConfig'); ?>",data.field,function (res) { | ||
| 70 | - layer.close(loading); | ||
| 71 | - if(res.code > 0){ | ||
| 72 | - layer.msg(res.msg,{icon: 1, time: 1000},function(){ | ||
| 73 | - location.href = res.url; | ||
| 74 | - }); | ||
| 75 | - }else{ | ||
| 76 | - layer.msg(res.msg,{icon: 2, time: 1000}); | ||
| 77 | - } | ||
| 78 | - }); | ||
| 79 | - }); | ||
| 80 | - | ||
| 81 | - }) | ||
| 82 | -</script> | ||
| 83 | -</body> | ||
| 84 | -</html> |
| 1 | -<?php /*a:3:{s:89:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/auth/admin_group.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/head.html";i:1534993700;s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/admin/view/common/foot.html";i:1535107019;}*/ ?> | ||
| 2 | -<!DOCTYPE html> | ||
| 3 | -<html> | ||
| 4 | -<head> | ||
| 5 | - <meta charset="utf-8"> | ||
| 6 | - <title><?php echo config('sys_name'); ?>后台管理</title> | ||
| 7 | - <meta name="renderer" content="webkit"> | ||
| 8 | - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 9 | - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | ||
| 10 | - <meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
| 11 | - <meta name="apple-mobile-web-app-capable" content="yes"> | ||
| 12 | - <meta name="format-detection" content="telephone=no"> | ||
| 13 | - <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" /> | ||
| 14 | - <link rel="stylesheet" href="/static/admin/css/global.css" media="all"> | ||
| 15 | - <link rel="stylesheet" href="/static/common/css/font.css" media="all"> | ||
| 16 | -</head> | ||
| 17 | -<body class="skin-<?php if(!empty($_COOKIE['skin'])){echo $_COOKIE['skin'];}else{echo '0';setcookie('skin','0');}?>"> | ||
| 18 | -<div class="admin-main layui-anim layui-anim-upbit"> | ||
| 19 | - <fieldset class="layui-elem-field layui-field-title"> | ||
| 20 | - <legend>用户组列表</legend> | ||
| 21 | - </fieldset> | ||
| 22 | - <blockquote class="layui-elem-quote"> | ||
| 23 | - <a href="<?php echo url('groupAdd'); ?>" class="layui-btn layui-btn-sm"><?php echo lang('add'); ?>用户组</a> | ||
| 24 | - </blockquote> | ||
| 25 | - <table class="layui-table" id="list" lay-filter="list"></table> | ||
| 26 | -</div> | ||
| 27 | -<script type="text/javascript" src="/static/plugins/layui/layui.js"></script> | ||
| 28 | - | ||
| 29 | - | ||
| 30 | - | ||
| 31 | -<script type="text/html" id="action"> | ||
| 32 | - <a href="<?php echo url('groupAccess'); ?>?id={{d.group_id}}" class="layui-btn layui-btn-xs layui-btn-normal">配置规则</a> | ||
| 33 | - <a href="<?php echo url('groupEdit'); ?>?id={{d.group_id}}" class="layui-btn layui-btn-warm layui-btn-xs"><?php echo lang('edit'); ?></a> | ||
| 34 | - <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del"><?php echo lang('del'); ?></a> | ||
| 35 | -</script> | ||
| 36 | -<script> | ||
| 37 | - | ||
| 38 | - layui.use('table', function() { | ||
| 39 | - var table = layui.table,$ = layui.jquery; | ||
| 40 | - table.render({ | ||
| 41 | - elem: '#list', | ||
| 42 | - url: '<?php echo url("adminGroup"); ?>', | ||
| 43 | - method:'post', | ||
| 44 | - cols: [[ | ||
| 45 | - {field:'group_id', title: '<?php echo lang("id"); ?>',width:80, fixed: true,sort: true}, | ||
| 46 | - {field:'title', title: '用户组名', width:180}, | ||
| 47 | - {field:'addtime', title: '添加时间', width:200,sort: true}, | ||
| 48 | - {width:260, align:'center',toolbar:'#action'} | ||
| 49 | - ]] | ||
| 50 | - }); | ||
| 51 | - table.on('tool(list)', function(obj){ | ||
| 52 | - var data = obj.data; | ||
| 53 | - if(obj.event === 'del'){ | ||
| 54 | - layer.confirm('你确定要删除该分组吗?', function(index){ | ||
| 55 | - loading =layer.load(1, {shade: [0.1,'#fff']}); | ||
| 56 | - $.post("<?php echo url('groupDel'); ?>",{id:data.group_id},function(res){ | ||
| 57 | - layer.close(loading); | ||
| 58 | - layer.close(index); | ||
| 59 | - if(res.code==1){ | ||
| 60 | - layer.msg(res.msg,{time:1000,icon:1}); | ||
| 61 | - obj.del(); | ||
| 62 | - }else{ | ||
| 63 | - layer.msg(res.msg,{time:1000,icon:2}); | ||
| 64 | - } | ||
| 65 | - }); | ||
| 66 | - }); | ||
| 67 | - } | ||
| 68 | - }); | ||
| 69 | - }); | ||
| 70 | -</script> | ||
| 71 | -</body> | ||
| 72 | -</html> |
| 1 | -<?php /*a:3:{s:84:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/home/view/article_list.html";i:1535160777;s:83:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/home/view/common_head.html";i:1535161327;s:85:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/home/view/common_footer.html";i:1535161013;}*/ ?> | ||
| 2 | -<!DOCTYPE html> | ||
| 3 | -<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> | ||
| 4 | -<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="zh-cn"> <![endif]--> | ||
| 5 | -<!--[if IE 8]> <html class="no-js lt-ie9" lang="zh-cn"> <![endif]--> | ||
| 6 | -<!--[if gt IE 8]><!--> <html class="no-js" lang="zh-cn"> <!--<![endif]--> | ||
| 7 | -<head> | ||
| 8 | - <meta charset="utf-8" /> | ||
| 9 | - <meta name="viewport" content="width=device-width" /> | ||
| 10 | - <title><?php echo isset($info['title']) ? htmlentities($info['title']) : ($title ? $title : $sys['title']); ?></title> | ||
| 11 | - <meta name="keywords" content="<?php echo isset($info['keywords']) ? htmlentities($info['keywords']) : ($keywords ? $keywords : $sys['key']); ?>" /> | ||
| 12 | - <meta name="description" content="<?php echo isset($info['description']) ? htmlentities($info['description']) : ($description ? $description : $sys['des']); ?>" /> | ||
| 13 | - <!-- ////////////////////////////////// --> | ||
| 14 | - <!-- // Stylesheets Files // --> | ||
| 15 | - <!-- ////////////////////////////////// --> | ||
| 16 | - <link rel="stylesheet" href="/static/home/css/base.css" id="camera-css" /> | ||
| 17 | - <link rel="stylesheet" href="/static/home/css/framework.css" /> | ||
| 18 | - <link rel="stylesheet" href="/static/home/css/style.css" /> | ||
| 19 | - <link rel="stylesheet" href="/static/home/css/noscript.css" media="screen,all" id="noscript" /> | ||
| 20 | - | ||
| 21 | - <!-- ////////////////////////////////// --> | ||
| 22 | - <!-- // Favicon Files // --> | ||
| 23 | - <!-- ////////////////////////////////// --> | ||
| 24 | - <link rel="shortcut icon" href="/static/home/images/favicon.ico" /> | ||
| 25 | - | ||
| 26 | - <!-- ////////////////////////////////// --> | ||
| 27 | - <!-- // Javascript Files // --> | ||
| 28 | - <!-- ////////////////////////////////// --> | ||
| 29 | - <script> | ||
| 30 | - var HOME = '/static/home'; | ||
| 31 | - </script> | ||
| 32 | - <script src="/static/home/js/jquery.min.js"></script> | ||
| 33 | - <script src="/static/home/js/jquery.easing-1.3.min.js"></script> | ||
| 34 | - <script src="/static/home/js/tooltip.js"></script> | ||
| 35 | - <script src="/static/home/js/dropdown.js"></script> | ||
| 36 | - <script src="/static/home/js/tinynav.min.js"></script> | ||
| 37 | - <script src="/static/home/js/camera.min.js"></script> | ||
| 38 | - <script src="/static/home/js/jquery.fancybox.js?v=2.0.6"></script> | ||
| 39 | - <script src="/static/home/js/jquery.fancybox-media.js?v=1.0.3"></script> | ||
| 40 | - <script src="/static/home/js/jquery.ui.totop.min.js"></script> | ||
| 41 | - <script src="/static/home/js/ddaccordion.js"></script> | ||
| 42 | - <script src="/static/home/js/jquery.twitter.js"></script> | ||
| 43 | - <script src="/static/home/js/jflickrfeed.min.js"></script> | ||
| 44 | - <script src="/static/home/js/faq-functions.js"></script> | ||
| 45 | - <script src="/static/home/js/isotope.js"></script> | ||
| 46 | - <script src="/static/home/js/theme-functions.js"></script> | ||
| 47 | - <script> | ||
| 48 | - //设为首页 www.jb51.net | ||
| 49 | - function SetHome(obj,url){ | ||
| 50 | - try{ | ||
| 51 | - obj.style.behavior='url(#default#homepage)'; | ||
| 52 | - obj.setHomePage(url); | ||
| 53 | - }catch(e){ | ||
| 54 | - if(window.netscape){ | ||
| 55 | - try{ | ||
| 56 | - netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); | ||
| 57 | - }catch(e){ | ||
| 58 | - alert("抱歉,此操作被浏览器拒绝!\n\n请在浏览器地址栏输入“about:config”并回车然后将[signed.applets.codebase_principal_support]设置为'true'"); | ||
| 59 | - } | ||
| 60 | - }else{ | ||
| 61 | - alert("抱歉,您所使用的浏览器无法完成此操作。\n\n您需要手动将【"+url+"】设置为首页。"); | ||
| 62 | - } | ||
| 63 | - } | ||
| 64 | - } | ||
| 65 | - | ||
| 66 | - //收藏本站 www.jb51.net | ||
| 67 | - function AddFavorite(title, url) { | ||
| 68 | - try { | ||
| 69 | - window.external.addFavorite(url, title); | ||
| 70 | - } | ||
| 71 | - catch (e) { | ||
| 72 | - try { | ||
| 73 | - window.sidebar.addPanel(title, url, ""); | ||
| 74 | - } | ||
| 75 | - catch (e) { | ||
| 76 | - alert("抱歉,您所使用的浏览器无法完成此操作。\n\n加入收藏失败,请进入新网站后使用Ctrl+D进行添加"); | ||
| 77 | - } | ||
| 78 | - } | ||
| 79 | - } | ||
| 80 | - </script> | ||
| 81 | - <!-- IE Fix for HTML5 Tags --> | ||
| 82 | - <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | ||
| 83 | - <![endif]--> | ||
| 84 | - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
| 85 | - | ||
| 86 | -</head> | ||
| 87 | -<body> | ||
| 88 | -<div class="user"> | ||
| 89 | - <div id="top-social"> | ||
| 90 | - <div class="social-panel"> | ||
| 91 | - <ul> | ||
| 92 | - <li><a href="javascript:void(0);" onclick="SetHome(this,'<?php echo config('url_domain_root'); ?>');">设为首页</a></li> | ||
| 93 | - <li><a href="javascript:void(0);" onclick="AddFavorite('<?php echo config('sys_name'); ?>','<?php echo config('url_domain_root'); ?>')">加入收藏</a></li> | ||
| 94 | - <li><a href="<?php echo url('user/index/index'); ?>" target="_blank"><?php if(session('user.username')): ?><?php echo session('user.username'); else: ?>会员中心<?php endif; ?></a></li> | ||
| 95 | - </ul> | ||
| 96 | - </div> | ||
| 97 | - </div> | ||
| 98 | - <div class="clear"></div> | ||
| 99 | -</div> | ||
| 100 | -<!-- header start here --> | ||
| 101 | -<header> | ||
| 102 | - <div id="main-wrapper"> | ||
| 103 | - <!-- logo start here --> | ||
| 104 | - <div id="logo"> | ||
| 105 | - <a href="<?php echo url('home/index/index'); ?>" title="内容管理系统"><img src="<?php echo htmlentities($sys['logo']); ?>" alt="CLTPHP" style="width: 160px;height: 43px;" /></a> | ||
| 106 | - </div> | ||
| 107 | - <!-- logo end here --> | ||
| 108 | - <!-- mainmenu start here --> | ||
| 109 | - <nav id="mainmenu"> | ||
| 110 | - <ul id="menu"> | ||
| 111 | - <li <?php if($controller == 'index'): ?>class="selected"<?php endif; ?>><a href="<?php echo url('home/index/index'); ?>" title="内容管理系统">首页</a></li> | ||
| 112 | - <?php if(is_array($category) || $category instanceof \think\Collection || $category instanceof \think\Paginator): $i = 0; $__LIST__ = $category;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> | ||
| 113 | - <li <?php if($controller == $vo['catdir']): ?>class="selected"<?php endif; ?>> | ||
| 114 | - <?php if($vo['child'] == 1): ?> | ||
| 115 | - <a href="#"><?php echo htmlentities($vo['catname']); ?></a> | ||
| 116 | - <ul> | ||
| 117 | - <?php if(is_array($vo['sub']) || $vo['sub'] instanceof \think\Collection || $vo['sub'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['sub'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?> | ||
| 118 | - <li><a href="<?php echo url('home/'.$vo['catdir'].'/index',['catId'=>$v['id']] ); ?>" title="<?php echo htmlentities($v['catname']); ?>-内容管理系统"><span>-</span> <?php echo htmlentities($v['catname']); ?></a></li> | ||
| 119 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
| 120 | - </ul> | ||
| 121 | - <?php else: ?> | ||
| 122 | - <a href="<?php echo url('home/'.$vo['catdir'].'/index',['catId'=>$vo['id']] ); ?>" title="<?php echo htmlentities($vo['catname']); ?>-内容管理系统"><?php echo htmlentities($vo['catname']); ?></a> | ||
| 123 | - <?php endif; ?> | ||
| 124 | - </li> | ||
| 125 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
| 126 | - </ul> | ||
| 127 | - </nav> | ||
| 128 | - <!-- mainmenu end here --> | ||
| 129 | - | ||
| 130 | - </div> | ||
| 131 | -</header> | ||
| 132 | -<!-- header end here --> | ||
| 133 | -<!-- pagetitle start here --> | ||
| 134 | -<section id="pagetitle-wrapper"> | ||
| 135 | - <div class="pagetitle-content"> | ||
| 136 | - <h2><?php echo htmlentities($title); ?></h2> | ||
| 137 | - </div> | ||
| 138 | -</section> | ||
| 139 | -<!-- pagetitle end here --> | ||
| 140 | -<!-- breadcrumb start here --> | ||
| 141 | -<section id="breadcrumb-wrapper"> | ||
| 142 | - <div id="breadcrumb-content"> | ||
| 143 | - <ul> | ||
| 144 | - <li><a href="<?php echo url('home/index/index'); ?>" title="CLTPHP">首页</a></li> | ||
| 145 | - <li><a href="#"><?php echo htmlentities($title); ?></a></li> | ||
| 146 | - </ul> | ||
| 147 | - </div> | ||
| 148 | -</section> | ||
| 149 | -<!-- breadcrumb end here --> | ||
| 150 | -<!-- maincontent start here --> | ||
| 151 | -<section id="content-wrapper"> | ||
| 152 | - <div class="row"> | ||
| 153 | - <div class="eight columns"> | ||
| 154 | - <aside> | ||
| 155 | - <ul class="popular-list"> | ||
| 156 | - <?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> | ||
| 157 | - <li> | ||
| 158 | - <a href="<?php echo url('home/'.$vo['catdir'].'/info',array('id'=>$vo['id'],'catId'=>$vo['catid'])); ?>" title="<?php echo htmlentities($vo['title']); ?>"> | ||
| 159 | - <img src="<?php echo htmlentities($vo['title_thumb']); ?>" alt="" class="img-border" /> | ||
| 160 | - <p class="popular-title" style="<?php echo htmlentities($vo['title_style']); ?>"><?php echo htmlentities($vo['title']); ?></p> | ||
| 161 | - <p class="popular-title"></p> | ||
| 162 | - <p class="comment-count"><i title="点击次数">点击:<?php echo htmlentities($vo['hits']); ?></i></p> | ||
| 163 | - <p class="comment-count"><i title="评论次数">评论:<span id = "sourceId::<?php echo htmlentities($vo['id']); ?>" class = "cy_cmt_count" ></span></i></p> | ||
| 164 | - <p class="author-name"><?php echo toDate($vo['createtime'],'Y-m-d H:i:s'); ?></p> | ||
| 165 | - </a> | ||
| 166 | - </li> | ||
| 167 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
| 168 | - </ul> | ||
| 169 | - </aside> | ||
| 170 | - <?php echo $page; ?> | ||
| 171 | - </div> | ||
| 172 | - <div class="four columns"> | ||
| 173 | - <aside> | ||
| 174 | - <h5>推荐内容</h5> | ||
| 175 | - <ul class="sidebar-list"> | ||
| 176 | - <?php $catid = input("catId"); $result = db("article")->alias("a")->join("category c"," a.catid = c.id","left") | ||
| 177 | - ->where("posid = 2 and catid=".$catid." and (status = 1 or (status = 0 and createtime <1535165676))") | ||
| 178 | - ->field("a.*,c.catdir,c.catname") | ||
| 179 | - ->limit(10) | ||
| 180 | - ->order(" a.sort asc,a.createtime desc,a.id desc") | ||
| 181 | - ->select();if($result){foreach ($result as $k=>$vo):$result[$k]["time"]= toDate($vo["createtime"],"Y-m-d");$result[$k]["thumb"]= $vo["thumb"]?$vo["thumb"]:"";endforeach; foreach ($result as $k=>$vo):?> | ||
| 182 | - <li><a href="<?php echo url('home/'.$vo['catdir'].'/info',array('id'=>$vo['id'],'catId'=>$vo['catid'])); ?>" style="<?php echo style($vo['title_style']); ?>" title="<?php echo htmlentities($vo['title']); ?>"><?php echo htmlentities($vo['title']); ?></a></li> | ||
| 183 | - <?php endforeach; }else{echo "<div class='fly-none'>没有相关数据</div>";}?> | ||
| 184 | - </ul> | ||
| 185 | - </aside> | ||
| 186 | - </div> | ||
| 187 | - </div> | ||
| 188 | -</section> | ||
| 189 | -<!-- maincontent end here --> | ||
| 190 | -<!-- footer start here --> | ||
| 191 | -<footer> | ||
| 192 | - <div class="row"> | ||
| 193 | - <div class="three columns mobile-two"> | ||
| 194 | - <!--<img src="/static/home/images/logo2.png" alt="CLTPHP" class="img-left" />--> | ||
| 195 | - <p class="copyright-text"> | ||
| 196 | - ©<?php echo htmlentities($sys['copyright']); ?> <a href="http://www.cltphp.com/" style="color: #747373" rel="external" title="<?php echo htmlentities($sys['title']); ?>"><?php echo htmlentities($sys['title']); ?></a><br> | ||
| 197 | - <a href="http://www.miitbeian.gov.cn/" style="color: #747373" target="_blank" rel="nofollow"><?php echo htmlentities($sys['bah']); ?></a><br> | ||
| 198 | - </p> | ||
| 199 | - </div> | ||
| 200 | - <div class="three columns mobile-two"> | ||
| 201 | - <h5>联系我们</h5> | ||
| 202 | - <ul> | ||
| 203 | - <li class="address-icon"><a href="<?php echo htmlentities($sys['url']); ?>" title="<?php echo htmlentities($sys['title']); ?>"><?php echo htmlentities($sys['title']); ?></a></li> | ||
| 204 | - <li class="qq-icon"><a target="_blank" href=""><img border="0" src="//pub.idqqimg.com/wpa/images/group.png" alt="CLTPHP交流群0002" title="CLTPHP交流群0002"></a></li> | ||
| 205 | - <li class="qq-icon">站长QQ号 : <a target="_blank" rel="nofollow" title="点击加好友" href="tencent://message/?uin=1034677692&Site=&Menu=yes">1034677692</a></li> | ||
| 206 | - <li class="email-icon">Email : <?php echo htmlentities($sys['email']); ?></li> | ||
| 207 | - </ul> | ||
| 208 | - </div> | ||
| 209 | - <div class="three columns mobile-two"> | ||
| 210 | - <h5>友情链接</h5> | ||
| 211 | - <ul> | ||
| 212 | - <?php if(is_array($linkList) || $linkList instanceof \think\Collection || $linkList instanceof \think\Paginator): $i = 0; $__LIST__ = $linkList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> | ||
| 213 | - <!--<li><a href="<?php echo htmlentities($vo['url']); ?>" rel="external" title="<?php echo htmlentities($vo['name']); ?>"><?php echo htmlentities($vo['name']); ?></a></li>--> | ||
| 214 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
| 215 | - <li><a href="https://www.kancloud.cn/chichu/cltphp" target="_blank" rel="nofollow" title="CLTPHP操作开发手册">CLTPHP操作开发手册</a></li> | ||
| 216 | - </ul> | ||
| 217 | - </div> | ||
| 218 | - <div class="three columns mobile-two"> | ||
| 219 | - <h5>扫码捐助</h5> | ||
| 220 | - <div class="wxsq"> | ||
| 221 | - <!--<img src="/static/home/images/wxsq.png" alt="CLTPHP微信二维码" title="CLTPHP微信二维码">--> | ||
| 222 | - </div> | ||
| 223 | - </div> | ||
| 224 | - </div> | ||
| 225 | -</footer> | ||
| 226 | -<!-- footer end here --> | ||
| 227 | -<script> | ||
| 228 | - $('#noscript').remove(); | ||
| 229 | - jQuery(function($){ | ||
| 230 | - //external加上target="_blank" | ||
| 231 | - $("a[rel*=external]").attr("target","_blank"); | ||
| 232 | - }); | ||
| 233 | -</script> | ||
| 234 | -</body> | ||
| 235 | -</html> | ||
| 236 | -<script id="cy_cmt_num" src="https://changyan.sohu.com/upload/plugins/plugins.list.count.js?clientId=<?php echo htmlentities($changyan['app_id']); ?>"></script> |
thinkphp/.gitignore
deleted
100644 → 0
thinkphp/.htaccess
deleted
100644 → 0
| 1 | -deny from all |
thinkphp/CONTRIBUTING.md
deleted
100644 → 0
| 1 | -如何贡献我的源代码 | ||
| 2 | -=== | ||
| 3 | - | ||
| 4 | -此文档介绍了 ThinkPHP 团队的组成以及运转机制,您提交的代码将给 ThinkPHP 项目带来什么好处,以及如何才能加入我们的行列。 | ||
| 5 | - | ||
| 6 | -## 通过 Github 贡献代码 | ||
| 7 | - | ||
| 8 | -ThinkPHP 目前使用 Git 来控制程序版本,如果你想为 ThinkPHP 贡献源代码,请先大致了解 Git 的使用方法。我们目前把项目托管在 GitHub 上,任何 GitHub 用户都可以向我们贡献代码。 | ||
| 9 | - | ||
| 10 | -参与的方式很简单,`fork`一份 ThinkPHP 的代码到你的仓库中,修改后提交,并向我们发起`pull request`申请,我们会及时对代码进行审查并处理你的申请并。审查通过后,你的代码将被`merge`进我们的仓库中,这样你就会自动出现在贡献者名单里了,非常方便。 | ||
| 11 | - | ||
| 12 | -我们希望你贡献的代码符合: | ||
| 13 | - | ||
| 14 | -* ThinkPHP 的编码规范 | ||
| 15 | -* 适当的注释,能让其他人读懂 | ||
| 16 | -* 遵循 Apache2 开源协议 | ||
| 17 | - | ||
| 18 | -**如果想要了解更多细节或有任何疑问,请继续阅读下面的内容** | ||
| 19 | - | ||
| 20 | -### 注意事项 | ||
| 21 | - | ||
| 22 | -* 本项目代码格式化标准选用 [**PSR-2**](http://www.kancloud.cn/thinkphp/php-fig-psr/3141); | ||
| 23 | -* 类名和类文件名遵循 [**PSR-4**](http://www.kancloud.cn/thinkphp/php-fig-psr/3144); | ||
| 24 | -* 对于 Issues 的处理,请使用诸如 `fix #xxx(Issue ID)` 的 commit title 直接关闭 issue。 | ||
| 25 | -* 系统会自动在 PHP 5.4 5.5 5.6 7.0 和 HHVM 上测试修改,其中 HHVM 下的测试容许报错,请确保你的修改符合 PHP 5.4 ~ 5.6 和 PHP 7.0 的语法规范; | ||
| 26 | -* 管理员不会合并造成 CI faild 的修改,若出现 CI faild 请检查自己的源代码或修改相应的[单元测试文件](tests); | ||
| 27 | - | ||
| 28 | -## GitHub Issue | ||
| 29 | - | ||
| 30 | -GitHub 提供了 Issue 功能,该功能可以用于: | ||
| 31 | - | ||
| 32 | -* 提出 bug | ||
| 33 | -* 提出功能改进 | ||
| 34 | -* 反馈使用体验 | ||
| 35 | - | ||
| 36 | -该功能不应该用于: | ||
| 37 | - | ||
| 38 | - * 提出修改意见(涉及代码署名和修订追溯问题) | ||
| 39 | - * 不友善的言论 | ||
| 40 | - | ||
| 41 | -## 快速修改 | ||
| 42 | - | ||
| 43 | -**GitHub 提供了快速编辑文件的功能** | ||
| 44 | - | ||
| 45 | -1. 登录 GitHub 帐号; | ||
| 46 | -2. 浏览项目文件,找到要进行修改的文件; | ||
| 47 | -3. 点击右上角铅笔图标进行修改; | ||
| 48 | -4. 填写 `Commit changes` 相关内容(Title 必填); | ||
| 49 | -5. 提交修改,等待 CI 验证和管理员合并。 | ||
| 50 | - | ||
| 51 | -**若您需要一次提交大量修改,请继续阅读下面的内容** | ||
| 52 | - | ||
| 53 | -## 完整流程 | ||
| 54 | - | ||
| 55 | -1. `fork`本项目; | ||
| 56 | -2. 克隆(`clone`)你 `fork` 的项目到本地; | ||
| 57 | -3. 新建分支(`branch`)并检出(`checkout`)新分支; | ||
| 58 | -4. 添加本项目到你的本地 git 仓库作为上游(`upstream`); | ||
| 59 | -5. 进行修改,若你的修改包含方法或函数的增减,请记得修改[单元测试文件](tests); | ||
| 60 | -6. 变基(衍合 `rebase`)你的分支到上游 master 分支; | ||
| 61 | -7. `push` 你的本地仓库到 GitHub; | ||
| 62 | -8. 提交 `pull request`; | ||
| 63 | -9. 等待 CI 验证(若不通过则重复 5~7,GitHub 会自动更新你的 `pull request`); | ||
| 64 | -10. 等待管理员处理,并及时 `rebase` 你的分支到上游 master 分支(若上游 master 分支有修改)。 | ||
| 65 | - | ||
| 66 | -*若有必要,可以 `git push -f` 强行推送 rebase 后的分支到自己的 `fork`* | ||
| 67 | - | ||
| 68 | -*绝对不可以使用 `git push -f` 强行推送修改到上游* | ||
| 69 | - | ||
| 70 | -### 注意事项 | ||
| 71 | - | ||
| 72 | -* 若对上述流程有任何不清楚的地方,请查阅 GIT 教程,如 [这个](http://backlogtool.com/git-guide/cn/); | ||
| 73 | -* 对于代码**不同方面**的修改,请在自己 `fork` 的项目中**创建不同的分支**(原因参见`完整流程`第9条备注部分); | ||
| 74 | -* 变基及交互式变基操作参见 [Git 交互式变基](http://pakchoi.me/2015/03/17/git-interactive-rebase/) | ||
| 75 | - | ||
| 76 | -## 推荐资源 | ||
| 77 | - | ||
| 78 | -### 开发环境 | ||
| 79 | - | ||
| 80 | -* XAMPP for Windows 5.5.x | ||
| 81 | -* WampServer (for Windows) | ||
| 82 | -* upupw Apache PHP5.4 ( for Windows) | ||
| 83 | - | ||
| 84 | -或自行安装 | ||
| 85 | - | ||
| 86 | -- Apache / Nginx | ||
| 87 | -- PHP 5.4 ~ 5.6 | ||
| 88 | -- MySQL / MariaDB | ||
| 89 | - | ||
| 90 | -*Windows 用户推荐添加 PHP bin 目录到 PATH,方便使用 composer* | ||
| 91 | - | ||
| 92 | -*Linux 用户自行配置环境, Mac 用户推荐使用内置 Apache 配合 Homebrew 安装 PHP 和 MariaDB* | ||
| 93 | - | ||
| 94 | -### 编辑器 | ||
| 95 | - | ||
| 96 | -Sublime Text 3 + phpfmt 插件 | ||
| 97 | - | ||
| 98 | -phpfmt 插件参数 | ||
| 99 | - | ||
| 100 | -```json | ||
| 101 | -{ | ||
| 102 | - "autocomplete": true, | ||
| 103 | - "enable_auto_align": true, | ||
| 104 | - "format_on_save": true, | ||
| 105 | - "indent_with_space": true, | ||
| 106 | - "psr1_naming": false, | ||
| 107 | - "psr2": true, | ||
| 108 | - "version": 4 | ||
| 109 | -} | ||
| 110 | -``` | ||
| 111 | - | ||
| 112 | -或其他 编辑器 / IDE 配合 PSR2 自动格式化工具 | ||
| 113 | - | ||
| 114 | -### Git GUI | ||
| 115 | - | ||
| 116 | -* SourceTree | ||
| 117 | -* GitHub Desktop | ||
| 118 | - | ||
| 119 | -或其他 Git 图形界面客户端 |
thinkphp/LICENSE.txt
deleted
100644 → 0
| 1 | - | ||
| 2 | -ThinkPHP遵循Apache2开源协议发布,并提供免费使用。 | ||
| 3 | -版权所有Copyright © 2006-2016 by ThinkPHP (http://thinkphp.cn) | ||
| 4 | -All rights reserved。 | ||
| 5 | -ThinkPHP® 商标和著作权所有者为上海顶想信息科技有限公司。 | ||
| 6 | - | ||
| 7 | -Apache Licence是著名的非盈利开源组织Apache采用的协议。 | ||
| 8 | -该协议和BSD类似,鼓励代码共享和尊重原作者的著作权, | ||
| 9 | -允许代码修改,再作为开源或商业软件发布。需要满足 | ||
| 10 | -的条件: | ||
| 11 | -1. 需要给代码的用户一份Apache Licence ; | ||
| 12 | -2. 如果你修改了代码,需要在被修改的文件中说明; | ||
| 13 | -3. 在延伸的代码中(修改和有源代码衍生的代码中)需要 | ||
| 14 | -带有原来代码中的协议,商标,专利声明和其他原来作者规 | ||
| 15 | -定需要包含的说明; | ||
| 16 | -4. 如果再发布的产品中包含一个Notice文件,则在Notice文 | ||
| 17 | -件中需要带有本协议内容。你可以在Notice中增加自己的 | ||
| 18 | -许可,但不可以表现为对Apache Licence构成更改。 | ||
| 19 | -具体的协议参考:http://www.apache.org/licenses/LICENSE-2.0 | ||
| 20 | - | ||
| 21 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
| 22 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
| 23 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | ||
| 24 | -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | ||
| 25 | -COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 26 | -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | ||
| 27 | -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 28 | -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
| 29 | -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
| 30 | -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | ||
| 31 | -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
| 32 | -POSSIBILITY OF SUCH DAMAGE. |
thinkphp/README.md
deleted
100644 → 0
| 1 | - | ||
| 2 | - | ||
| 3 | -ThinkPHP 5.1 —— 12载初心,你值得信赖的PHP框架 | ||
| 4 | -=============== | ||
| 5 | - | ||
| 6 | -[](https://scrutinizer-ci.com/g/top-think/framework/?branch=5.1) | ||
| 7 | -[](https://travis-ci.org/top-think/framework) | ||
| 8 | -[](https://packagist.org/packages/topthink/framework) | ||
| 9 | -[](https://packagist.org/packages/topthink/framework) | ||
| 10 | -[](http://www.php.net/) | ||
| 11 | -[](https://packagist.org/packages/topthink/framework) | ||
| 12 | - | ||
| 13 | -ThinkPHP5.1对底层架构做了进一步的改进,减少依赖,其主要特性包括: | ||
| 14 | - | ||
| 15 | - + 采用容器统一管理对象 | ||
| 16 | - + 支持Facade | ||
| 17 | - + 更易用的路由 | ||
| 18 | - + 注解路由支持 | ||
| 19 | - + 路由跨域请求支持 | ||
| 20 | - + 验证类增强 | ||
| 21 | - + 配置和路由目录独立 | ||
| 22 | - + 取消系统常量 | ||
| 23 | - + 类库别名机制 | ||
| 24 | - + 模型和数据库增强 | ||
| 25 | - + 依赖注入完善 | ||
| 26 | - + 支持PSR-3日志规范 | ||
| 27 | - + 中间件支持(`V5.1.6+`) | ||
| 28 | - + 支持`Swoole`/`Workerman`运行(`V5.1.18+`) | ||
| 29 | - | ||
| 30 | - | ||
| 31 | -### 废除的功能: | ||
| 32 | - | ||
| 33 | - + 聚合模型 | ||
| 34 | - + 内置控制器扩展类 | ||
| 35 | - + 模型自动验证 | ||
| 36 | - | ||
| 37 | -> ThinkPHP5.1的运行环境要求PHP5.6+。 | ||
| 38 | - | ||
| 39 | -## 安装 | ||
| 40 | - | ||
| 41 | -使用composer安装 | ||
| 42 | - | ||
| 43 | -~~~ | ||
| 44 | -composer create-project topthink/think tp | ||
| 45 | -~~~ | ||
| 46 | - | ||
| 47 | -启动服务 | ||
| 48 | - | ||
| 49 | -~~~ | ||
| 50 | -cd tp | ||
| 51 | -php think run | ||
| 52 | -~~~ | ||
| 53 | - | ||
| 54 | -然后就可以在浏览器中访问 | ||
| 55 | - | ||
| 56 | -~~~ | ||
| 57 | -http://localhost:8000 | ||
| 58 | -~~~ | ||
| 59 | - | ||
| 60 | -更新框架 | ||
| 61 | -~~~ | ||
| 62 | -composer update topthink/framework | ||
| 63 | -~~~ | ||
| 64 | - | ||
| 65 | - | ||
| 66 | -## 在线手册 | ||
| 67 | - | ||
| 68 | -+ [完全开发手册](https://www.kancloud.cn/manual/thinkphp5_1/content) | ||
| 69 | -+ [升级指导](https://www.kancloud.cn/manual/thinkphp5_1/354155) | ||
| 70 | - | ||
| 71 | -## 命名规范 | ||
| 72 | - | ||
| 73 | -`ThinkPHP5.1`遵循PSR-2命名规范和PSR-4自动加载规范。 | ||
| 74 | - | ||
| 75 | -## 参与开发 | ||
| 76 | - | ||
| 77 | -请参阅 [ThinkPHP5 核心框架包](https://github.com/top-think/framework)。 | ||
| 78 | - | ||
| 79 | -## 版权信息 | ||
| 80 | - | ||
| 81 | -ThinkPHP遵循Apache2开源协议发布,并提供免费使用。 | ||
| 82 | - | ||
| 83 | -本项目包含的第三方源码和二进制文件之版权信息另行标注。 | ||
| 84 | - | ||
| 85 | -版权所有Copyright © 2006-2018 by ThinkPHP (http://thinkphp.cn) | ||
| 86 | - | ||
| 87 | -All rights reserved。 | ||
| 88 | - | ||
| 89 | -ThinkPHP® 商标和著作权所有者为上海顶想信息科技有限公司。 | ||
| 90 | - | ||
| 91 | -更多细节参阅 [LICENSE.txt](LICENSE.txt) |
thinkphp/base.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | -// +---------------------------------------------------------------------- | ||
| 3 | -// | ThinkPHP [ WE CAN DO IT JUST THINK ] | ||
| 4 | -// +---------------------------------------------------------------------- | ||
| 5 | -// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved. | ||
| 6 | -// +---------------------------------------------------------------------- | ||
| 7 | -// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) | ||
| 8 | -// +---------------------------------------------------------------------- | ||
| 9 | -// | Author: liu21st <liu21st@gmail.com> | ||
| 10 | -// +---------------------------------------------------------------------- | ||
| 11 | -namespace think; | ||
| 12 | - | ||
| 13 | -// 载入Loader类 | ||
| 14 | -require __DIR__ . '/library/think/Loader.php'; | ||
| 15 | - | ||
| 16 | -// 注册自动加载 | ||
| 17 | -Loader::register(); | ||
| 18 | - | ||
| 19 | -// 注册错误和异常处理机制 | ||
| 20 | -Error::register(); | ||
| 21 | - | ||
| 22 | -// 实现日志接口 | ||
| 23 | -if (interface_exists('Psr\Log\LoggerInterface')) { | ||
| 24 | - interface LoggerInterface extends \Psr\Log\LoggerInterface | ||
| 25 | - {} | ||
| 26 | -} else { | ||
| 27 | - interface LoggerInterface | ||
| 28 | - {} | ||
| 29 | -} | ||
| 30 | - | ||
| 31 | -// 注册类库别名 | ||
| 32 | -Loader::addClassAlias([ | ||
| 33 | - 'App' => facade\App::class, | ||
| 34 | - 'Build' => facade\Build::class, | ||
| 35 | - 'Cache' => facade\Cache::class, | ||
| 36 | - 'Config' => facade\Config::class, | ||
| 37 | - 'Cookie' => facade\Cookie::class, | ||
| 38 | - 'Db' => Db::class, | ||
| 39 | - 'Debug' => facade\Debug::class, | ||
| 40 | - 'Env' => facade\Env::class, | ||
| 41 | - 'Facade' => Facade::class, | ||
| 42 | - 'Hook' => facade\Hook::class, | ||
| 43 | - 'Lang' => facade\Lang::class, | ||
| 44 | - 'Log' => facade\Log::class, | ||
| 45 | - 'Request' => facade\Request::class, | ||
| 46 | - 'Response' => facade\Response::class, | ||
| 47 | - 'Route' => facade\Route::class, | ||
| 48 | - 'Session' => facade\Session::class, | ||
| 49 | - 'Url' => facade\Url::class, | ||
| 50 | - 'Validate' => facade\Validate::class, | ||
| 51 | - 'View' => facade\View::class, | ||
| 52 | -]); |
thinkphp/composer.json
deleted
100644 → 0
| 1 | -{ | ||
| 2 | - "name": "topthink/framework", | ||
| 3 | - "description": "the new thinkphp framework", | ||
| 4 | - "type": "think-framework", | ||
| 5 | - "keywords": [ | ||
| 6 | - "framework", | ||
| 7 | - "thinkphp", | ||
| 8 | - "ORM" | ||
| 9 | - ], | ||
| 10 | - "homepage": "http://thinkphp.cn/", | ||
| 11 | - "license": "Apache-2.0", | ||
| 12 | - "authors": [ | ||
| 13 | - { | ||
| 14 | - "name": "liu21st", | ||
| 15 | - "email": "liu21st@gmail.com" | ||
| 16 | - }, | ||
| 17 | - { | ||
| 18 | - "name": "yunwuxin", | ||
| 19 | - "email": "448901948@qq.com" | ||
| 20 | - } | ||
| 21 | - ], | ||
| 22 | - "require": { | ||
| 23 | - "php": ">=5.6.0", | ||
| 24 | - "topthink/think-installer": "2.*" | ||
| 25 | - }, | ||
| 26 | - "require-dev": { | ||
| 27 | - "phpunit/phpunit": "^5.0|^6.0", | ||
| 28 | - "johnkary/phpunit-speedtrap": "^1.0", | ||
| 29 | - "mikey179/vfsStream": "~1.6", | ||
| 30 | - "phploc/phploc": "2.*", | ||
| 31 | - "sebastian/phpcpd": "2.*", | ||
| 32 | - "squizlabs/php_codesniffer": "2.*", | ||
| 33 | - "phpdocumentor/reflection-docblock": "^2.0" | ||
| 34 | - } | ||
| 35 | -} |
thinkphp/convention.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -return [ | ||
| 4 | - // +---------------------------------------------------------------------- | ||
| 5 | - // | 应用设置 | ||
| 6 | - // +---------------------------------------------------------------------- | ||
| 7 | - 'app' => [ | ||
| 8 | - // 应用名称 | ||
| 9 | - 'app_name' => '', | ||
| 10 | - // 应用地址 | ||
| 11 | - 'app_host' => '', | ||
| 12 | - // 应用调试模式 | ||
| 13 | - 'app_debug' => false, | ||
| 14 | - // 应用Trace | ||
| 15 | - 'app_trace' => false, | ||
| 16 | - // 应用模式状态 | ||
| 17 | - 'app_status' => '', | ||
| 18 | - // 是否HTTPS | ||
| 19 | - 'is_https' => false, | ||
| 20 | - // 入口自动绑定模块 | ||
| 21 | - 'auto_bind_module' => false, | ||
| 22 | - // 注册的根命名空间 | ||
| 23 | - 'root_namespace' => [], | ||
| 24 | - // 默认输出类型 | ||
| 25 | - 'default_return_type' => 'html', | ||
| 26 | - // 默认AJAX 数据返回格式,可选json xml ... | ||
| 27 | - 'default_ajax_return' => 'json', | ||
| 28 | - // 默认JSONP格式返回的处理方法 | ||
| 29 | - 'default_jsonp_handler' => 'jsonpReturn', | ||
| 30 | - // 默认JSONP处理方法 | ||
| 31 | - 'var_jsonp_handler' => 'callback', | ||
| 32 | - // 默认时区 | ||
| 33 | - 'default_timezone' => 'Asia/Shanghai', | ||
| 34 | - // 是否开启多语言 | ||
| 35 | - 'lang_switch_on' => false, | ||
| 36 | - // 默认验证器 | ||
| 37 | - 'default_validate' => '', | ||
| 38 | - // 默认语言 | ||
| 39 | - 'default_lang' => 'zh-cn', | ||
| 40 | - | ||
| 41 | - // +---------------------------------------------------------------------- | ||
| 42 | - // | 模块设置 | ||
| 43 | - // +---------------------------------------------------------------------- | ||
| 44 | - | ||
| 45 | - // 自动搜索控制器 | ||
| 46 | - 'controller_auto_search' => false, | ||
| 47 | - // 操作方法前缀 | ||
| 48 | - 'use_action_prefix' => false, | ||
| 49 | - // 操作方法后缀 | ||
| 50 | - 'action_suffix' => '', | ||
| 51 | - // 默认的空控制器名 | ||
| 52 | - 'empty_controller' => 'Error', | ||
| 53 | - // 默认的空模块名 | ||
| 54 | - 'empty_module' => '', | ||
| 55 | - // 默认模块名 | ||
| 56 | - 'default_module' => 'index', | ||
| 57 | - // 是否支持多模块 | ||
| 58 | - 'app_multi_module' => true, | ||
| 59 | - // 禁止访问模块 | ||
| 60 | - 'deny_module_list' => ['common'], | ||
| 61 | - // 默认控制器名 | ||
| 62 | - 'default_controller' => 'Index', | ||
| 63 | - // 默认操作名 | ||
| 64 | - 'default_action' => 'index', | ||
| 65 | - // 是否自动转换URL中的控制器和操作名 | ||
| 66 | - 'url_convert' => true, | ||
| 67 | - // 默认的访问控制器层 | ||
| 68 | - 'url_controller_layer' => 'controller', | ||
| 69 | - // 应用类库后缀 | ||
| 70 | - 'class_suffix' => false, | ||
| 71 | - // 控制器类后缀 | ||
| 72 | - 'controller_suffix' => false, | ||
| 73 | - | ||
| 74 | - // +---------------------------------------------------------------------- | ||
| 75 | - // | URL请求设置 | ||
| 76 | - // +---------------------------------------------------------------------- | ||
| 77 | - | ||
| 78 | - // 默认全局过滤方法 用逗号分隔多个 | ||
| 79 | - 'default_filter' => '', | ||
| 80 | - // PATHINFO变量名 用于兼容模式 | ||
| 81 | - 'var_pathinfo' => 's', | ||
| 82 | - // 兼容PATH_INFO获取 | ||
| 83 | - 'pathinfo_fetch' => ['ORIG_PATH_INFO', 'REDIRECT_PATH_INFO', 'REDIRECT_URL'], | ||
| 84 | - // HTTPS代理标识 | ||
| 85 | - 'https_agent_name' => '', | ||
| 86 | - // IP代理获取标识 | ||
| 87 | - 'http_agent_ip' => 'HTTP_X_REAL_IP', | ||
| 88 | - // URL伪静态后缀 | ||
| 89 | - 'url_html_suffix' => 'html', | ||
| 90 | - // 域名根,如thinkphp.cn | ||
| 91 | - 'url_domain_root' => '', | ||
| 92 | - // 表单请求类型伪装变量 | ||
| 93 | - 'var_method' => '_method', | ||
| 94 | - // 表单ajax伪装变量 | ||
| 95 | - 'var_ajax' => '_ajax', | ||
| 96 | - // 表单pjax伪装变量 | ||
| 97 | - 'var_pjax' => '_pjax', | ||
| 98 | - // 是否开启请求缓存 true自动缓存 支持设置请求缓存规则 | ||
| 99 | - 'request_cache' => false, | ||
| 100 | - // 请求缓存有效期 | ||
| 101 | - 'request_cache_expire' => null, | ||
| 102 | - // 全局请求缓存排除规则 | ||
| 103 | - 'request_cache_except' => [], | ||
| 104 | - | ||
| 105 | - // +---------------------------------------------------------------------- | ||
| 106 | - // | 路由设置 | ||
| 107 | - // +---------------------------------------------------------------------- | ||
| 108 | - | ||
| 109 | - // pathinfo分隔符 | ||
| 110 | - 'pathinfo_depr' => '/', | ||
| 111 | - // URL普通方式参数 用于自动生成 | ||
| 112 | - 'url_common_param' => false, | ||
| 113 | - // URL参数方式 0 按名称成对解析 1 按顺序解析 | ||
| 114 | - 'url_param_type' => 0, | ||
| 115 | - // 是否开启路由延迟解析 | ||
| 116 | - 'url_lazy_route' => false, | ||
| 117 | - // 是否强制使用路由 | ||
| 118 | - 'url_route_must' => false, | ||
| 119 | - // 合并路由规则 | ||
| 120 | - 'route_rule_merge' => false, | ||
| 121 | - // 路由是否完全匹配 | ||
| 122 | - 'route_complete_match' => false, | ||
| 123 | - // 使用注解路由 | ||
| 124 | - 'route_annotation' => false, | ||
| 125 | - // 默认的路由变量规则 | ||
| 126 | - 'default_route_pattern' => '\w+', | ||
| 127 | - // 是否开启路由缓存 | ||
| 128 | - 'route_check_cache' => false, | ||
| 129 | - // 路由缓存的Key自定义设置(闭包),默认为当前URL和请求类型的md5 | ||
| 130 | - 'route_check_cache_key' => '', | ||
| 131 | - | ||
| 132 | - // +---------------------------------------------------------------------- | ||
| 133 | - // | 异常及错误设置 | ||
| 134 | - // +---------------------------------------------------------------------- | ||
| 135 | - | ||
| 136 | - // 默认跳转页面对应的模板文件 | ||
| 137 | - 'dispatch_success_tmpl' => __DIR__ . '/tpl/dispatch_jump.tpl', | ||
| 138 | - 'dispatch_error_tmpl' => __DIR__ . '/tpl/dispatch_jump.tpl', | ||
| 139 | - // 异常页面的模板文件 | ||
| 140 | - 'exception_tmpl' => __DIR__ . '/tpl/think_exception.tpl', | ||
| 141 | - // 错误显示信息,非调试模式有效 | ||
| 142 | - 'error_message' => '页面错误!请稍后再试~', | ||
| 143 | - // 显示错误信息 | ||
| 144 | - 'show_error_msg' => false, | ||
| 145 | - // 异常处理handle类 留空使用 \think\exception\Handle | ||
| 146 | - 'exception_handle' => '', | ||
| 147 | - ], | ||
| 148 | - | ||
| 149 | - // +---------------------------------------------------------------------- | ||
| 150 | - // | 模板设置 | ||
| 151 | - // +---------------------------------------------------------------------- | ||
| 152 | - | ||
| 153 | - 'template' => [ | ||
| 154 | - // 默认模板渲染规则 1 解析为小写+下划线 2 全部转换小写 | ||
| 155 | - 'auto_rule' => 1, | ||
| 156 | - // 模板引擎类型 支持 php think 支持扩展 | ||
| 157 | - 'type' => 'Think', | ||
| 158 | - // 视图基础目录,配置目录为所有模块的视图起始目录 | ||
| 159 | - 'view_base' => '', | ||
| 160 | - // 当前模板的视图目录 留空为自动获取 | ||
| 161 | - 'view_path' => '', | ||
| 162 | - // 模板后缀 | ||
| 163 | - 'view_suffix' => 'html', | ||
| 164 | - // 模板文件名分隔符 | ||
| 165 | - 'view_depr' => DIRECTORY_SEPARATOR, | ||
| 166 | - // 模板引擎普通标签开始标记 | ||
| 167 | - 'tpl_begin' => '{', | ||
| 168 | - // 模板引擎普通标签结束标记 | ||
| 169 | - 'tpl_end' => '}', | ||
| 170 | - // 标签库标签开始标记 | ||
| 171 | - 'taglib_begin' => '{', | ||
| 172 | - // 标签库标签结束标记 | ||
| 173 | - 'taglib_end' => '}', | ||
| 174 | - ], | ||
| 175 | - | ||
| 176 | - // +---------------------------------------------------------------------- | ||
| 177 | - // | 日志设置 | ||
| 178 | - // +---------------------------------------------------------------------- | ||
| 179 | - | ||
| 180 | - 'log' => [ | ||
| 181 | - // 日志记录方式,内置 file socket 支持扩展 | ||
| 182 | - 'type' => 'File', | ||
| 183 | - // 日志保存目录 | ||
| 184 | - //'path' => LOG_PATH, | ||
| 185 | - // 日志记录级别 | ||
| 186 | - 'level' => [], | ||
| 187 | - // 是否记录trace信息到日志 | ||
| 188 | - 'record_trace' => false, | ||
| 189 | - // 是否JSON格式记录 | ||
| 190 | - 'json' => false, | ||
| 191 | - ], | ||
| 192 | - | ||
| 193 | - // +---------------------------------------------------------------------- | ||
| 194 | - // | Trace设置 开启 app_trace 后 有效 | ||
| 195 | - // +---------------------------------------------------------------------- | ||
| 196 | - | ||
| 197 | - 'trace' => [ | ||
| 198 | - // 内置Html Console 支持扩展 | ||
| 199 | - 'type' => 'Html', | ||
| 200 | - 'file' => __DIR__ . '/tpl/page_trace.tpl', | ||
| 201 | - ], | ||
| 202 | - | ||
| 203 | - // +---------------------------------------------------------------------- | ||
| 204 | - // | 缓存设置 | ||
| 205 | - // +---------------------------------------------------------------------- | ||
| 206 | - | ||
| 207 | - 'cache' => [ | ||
| 208 | - // 驱动方式 | ||
| 209 | - 'type' => 'File', | ||
| 210 | - // 缓存保存目录 | ||
| 211 | - //'path' => CACHE_PATH, | ||
| 212 | - // 缓存前缀 | ||
| 213 | - 'prefix' => '', | ||
| 214 | - // 缓存有效期 0表示永久缓存 | ||
| 215 | - 'expire' => 0, | ||
| 216 | - ], | ||
| 217 | - | ||
| 218 | - // +---------------------------------------------------------------------- | ||
| 219 | - // | 会话设置 | ||
| 220 | - // +---------------------------------------------------------------------- | ||
| 221 | - | ||
| 222 | - 'session' => [ | ||
| 223 | - 'id' => '', | ||
| 224 | - // SESSION_ID的提交变量,解决flash上传跨域 | ||
| 225 | - 'var_session_id' => '', | ||
| 226 | - // SESSION 前缀 | ||
| 227 | - 'prefix' => 'think', | ||
| 228 | - // 驱动方式 支持redis memcache memcached | ||
| 229 | - 'type' => '', | ||
| 230 | - // 是否自动开启 SESSION | ||
| 231 | - 'auto_start' => true, | ||
| 232 | - 'httponly' => true, | ||
| 233 | - 'secure' => false, | ||
| 234 | - ], | ||
| 235 | - | ||
| 236 | - // +---------------------------------------------------------------------- | ||
| 237 | - // | Cookie设置 | ||
| 238 | - // +---------------------------------------------------------------------- | ||
| 239 | - | ||
| 240 | - 'cookie' => [ | ||
| 241 | - // cookie 名称前缀 | ||
| 242 | - 'prefix' => '', | ||
| 243 | - // cookie 保存时间 | ||
| 244 | - 'expire' => 0, | ||
| 245 | - // cookie 保存路径 | ||
| 246 | - 'path' => '/', | ||
| 247 | - // cookie 有效域名 | ||
| 248 | - 'domain' => '', | ||
| 249 | - // cookie 启用安全传输 | ||
| 250 | - 'secure' => false, | ||
| 251 | - // httponly设置 | ||
| 252 | - 'httponly' => '', | ||
| 253 | - // 是否使用 setcookie | ||
| 254 | - 'setcookie' => true, | ||
| 255 | - ], | ||
| 256 | - | ||
| 257 | - // +---------------------------------------------------------------------- | ||
| 258 | - // | 数据库设置 | ||
| 259 | - // +---------------------------------------------------------------------- | ||
| 260 | - | ||
| 261 | - 'database' => [ | ||
| 262 | - // 数据库类型 | ||
| 263 | - 'type' => 'mysql', | ||
| 264 | - // 数据库连接DSN配置 | ||
| 265 | - 'dsn' => '', | ||
| 266 | - // 服务器地址 | ||
| 267 | - 'hostname' => '127.0.0.1', | ||
| 268 | - // 数据库名 | ||
| 269 | - 'database' => '', | ||
| 270 | - // 数据库用户名 | ||
| 271 | - 'username' => 'root', | ||
| 272 | - // 数据库密码 | ||
| 273 | - 'password' => '', | ||
| 274 | - // 数据库连接端口 | ||
| 275 | - 'hostport' => '', | ||
| 276 | - // 数据库连接参数 | ||
| 277 | - 'params' => [], | ||
| 278 | - // 数据库编码默认采用utf8 | ||
| 279 | - 'charset' => 'utf8', | ||
| 280 | - // 数据库表前缀 | ||
| 281 | - 'prefix' => '', | ||
| 282 | - // 数据库调试模式 | ||
| 283 | - 'debug' => false, | ||
| 284 | - // 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器) | ||
| 285 | - 'deploy' => 0, | ||
| 286 | - // 数据库读写是否分离 主从式有效 | ||
| 287 | - 'rw_separate' => false, | ||
| 288 | - // 读写分离后 主服务器数量 | ||
| 289 | - 'master_num' => 1, | ||
| 290 | - // 指定从服务器序号 | ||
| 291 | - 'slave_no' => '', | ||
| 292 | - // 是否严格检查字段是否存在 | ||
| 293 | - 'fields_strict' => true, | ||
| 294 | - // 数据集返回类型 | ||
| 295 | - 'resultset_type' => 'array', | ||
| 296 | - // 自动写入时间戳字段 | ||
| 297 | - 'auto_timestamp' => false, | ||
| 298 | - // 时间字段取出后的默认时间格式 | ||
| 299 | - 'datetime_format' => 'Y-m-d H:i:s', | ||
| 300 | - // 是否需要进行SQL性能分析 | ||
| 301 | - 'sql_explain' => false, | ||
| 302 | - // 查询对象 | ||
| 303 | - 'query' => '\\think\\db\\Query', | ||
| 304 | - ], | ||
| 305 | - | ||
| 306 | - //分页配置 | ||
| 307 | - 'paginate' => [ | ||
| 308 | - 'type' => 'bootstrap', | ||
| 309 | - 'var_page' => 'page', | ||
| 310 | - 'list_rows' => 15, | ||
| 311 | - ], | ||
| 312 | - | ||
| 313 | - //控制台配置 | ||
| 314 | - 'console' => [ | ||
| 315 | - 'name' => 'Think Console', | ||
| 316 | - 'version' => '0.1', | ||
| 317 | - 'user' => null, | ||
| 318 | - ], | ||
| 319 | - | ||
| 320 | - // 中间件配置 | ||
| 321 | - 'middleware' => [ | ||
| 322 | - 'default_namespace' => 'app\\http\\middleware\\', | ||
| 323 | - ], | ||
| 324 | -]; |
thinkphp/helper.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | -// +---------------------------------------------------------------------- | ||
| 3 | -// | ThinkPHP [ WE CAN DO IT JUST THINK ] | ||
| 4 | -// +---------------------------------------------------------------------- | ||
| 5 | -// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved. | ||
| 6 | -// +---------------------------------------------------------------------- | ||
| 7 | -// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) | ||
| 8 | -// +---------------------------------------------------------------------- | ||
| 9 | -// | Author: liu21st <liu21st@gmail.com> | ||
| 10 | -// +---------------------------------------------------------------------- | ||
| 11 | - | ||
| 12 | -//------------------------ | ||
| 13 | -// ThinkPHP 助手函数 | ||
| 14 | -//------------------------- | ||
| 15 | - | ||
| 16 | -use think\Container; | ||
| 17 | -use think\Db; | ||
| 18 | -use think\exception\HttpException; | ||
| 19 | -use think\exception\HttpResponseException; | ||
| 20 | -use think\facade\Cache; | ||
| 21 | -use think\facade\Config; | ||
| 22 | -use think\facade\Cookie; | ||
| 23 | -use think\facade\Debug; | ||
| 24 | -use think\facade\Env; | ||
| 25 | -use think\facade\Hook; | ||
| 26 | -use think\facade\Lang; | ||
| 27 | -use think\facade\Log; | ||
| 28 | -use think\facade\Request; | ||
| 29 | -use think\facade\Route; | ||
| 30 | -use think\facade\Session; | ||
| 31 | -use think\facade\Url; | ||
| 32 | -use think\Response; | ||
| 33 | -use think\route\RuleItem; | ||
| 34 | - | ||
| 35 | -if (!function_exists('abort')) { | ||
| 36 | - /** | ||
| 37 | - * 抛出HTTP异常 | ||
| 38 | - * @param integer|Response $code 状态码 或者 Response对象实例 | ||
| 39 | - * @param string $message 错误信息 | ||
| 40 | - * @param array $header 参数 | ||
| 41 | - */ | ||
| 42 | - function abort($code, $message = null, $header = []) | ||
| 43 | - { | ||
| 44 | - if ($code instanceof Response) { | ||
| 45 | - throw new HttpResponseException($code); | ||
| 46 | - } else { | ||
| 47 | - throw new HttpException($code, $message, null, $header); | ||
| 48 | - } | ||
| 49 | - } | ||
| 50 | -} | ||
| 51 | - | ||
| 52 | -if (!function_exists('action')) { | ||
| 53 | - /** | ||
| 54 | - * 调用模块的操作方法 参数格式 [模块/控制器/]操作 | ||
| 55 | - * @param string $url 调用地址 | ||
| 56 | - * @param string|array $vars 调用参数 支持字符串和数组 | ||
| 57 | - * @param string $layer 要调用的控制层名称 | ||
| 58 | - * @param bool $appendSuffix 是否添加类名后缀 | ||
| 59 | - * @return mixed | ||
| 60 | - */ | ||
| 61 | - function action($url, $vars = [], $layer = 'controller', $appendSuffix = false) | ||
| 62 | - { | ||
| 63 | - return app()->action($url, $vars, $layer, $appendSuffix); | ||
| 64 | - } | ||
| 65 | -} | ||
| 66 | - | ||
| 67 | -if (!function_exists('app')) { | ||
| 68 | - /** | ||
| 69 | - * 快速获取容器中的实例 支持依赖注入 | ||
| 70 | - * @param string $name 类名或标识 默认获取当前应用实例 | ||
| 71 | - * @param array $args 参数 | ||
| 72 | - * @param bool $newInstance 是否每次创建新的实例 | ||
| 73 | - * @return mixed|\think\App | ||
| 74 | - */ | ||
| 75 | - function app($name = 'think\App', $args = [], $newInstance = false) | ||
| 76 | - { | ||
| 77 | - return Container::get($name, $args, $newInstance); | ||
| 78 | - } | ||
| 79 | -} | ||
| 80 | - | ||
| 81 | -if (!function_exists('behavior')) { | ||
| 82 | - /** | ||
| 83 | - * 执行某个行为(run方法) 支持依赖注入 | ||
| 84 | - * @param mixed $behavior 行为类名或者别名 | ||
| 85 | - * @param mixed $args 参数 | ||
| 86 | - * @return mixed | ||
| 87 | - */ | ||
| 88 | - function behavior($behavior, $args = null) | ||
| 89 | - { | ||
| 90 | - return Hook::exec($behavior, $args); | ||
| 91 | - } | ||
| 92 | -} | ||
| 93 | - | ||
| 94 | -if (!function_exists('bind')) { | ||
| 95 | - /** | ||
| 96 | - * 绑定一个类到容器 | ||
| 97 | - * @access public | ||
| 98 | - * @param string $abstract 类标识、接口 | ||
| 99 | - * @param mixed $concrete 要绑定的类、闭包或者实例 | ||
| 100 | - * @return Container | ||
| 101 | - */ | ||
| 102 | - function bind($abstract, $concrete = null) | ||
| 103 | - { | ||
| 104 | - return Container::getInstance()->bindTo($abstract, $concrete); | ||
| 105 | - } | ||
| 106 | -} | ||
| 107 | - | ||
| 108 | -if (!function_exists('cache')) { | ||
| 109 | - /** | ||
| 110 | - * 缓存管理 | ||
| 111 | - * @param mixed $name 缓存名称,如果为数组表示进行缓存设置 | ||
| 112 | - * @param mixed $value 缓存值 | ||
| 113 | - * @param mixed $options 缓存参数 | ||
| 114 | - * @param string $tag 缓存标签 | ||
| 115 | - * @return mixed | ||
| 116 | - */ | ||
| 117 | - function cache($name, $value = '', $options = null, $tag = null) | ||
| 118 | - { | ||
| 119 | - if (is_array($options)) { | ||
| 120 | - // 缓存操作的同时初始化 | ||
| 121 | - Cache::connect($options); | ||
| 122 | - } elseif (is_array($name)) { | ||
| 123 | - // 缓存初始化 | ||
| 124 | - return Cache::connect($name); | ||
| 125 | - } | ||
| 126 | - | ||
| 127 | - if ('' === $value) { | ||
| 128 | - // 获取缓存 | ||
| 129 | - return 0 === strpos($name, '?') ? Cache::has(substr($name, 1)) : Cache::get($name); | ||
| 130 | - } elseif (is_null($value)) { | ||
| 131 | - // 删除缓存 | ||
| 132 | - return Cache::rm($name); | ||
| 133 | - } else { | ||
| 134 | - // 缓存数据 | ||
| 135 | - if (is_array($options)) { | ||
| 136 | - $expire = isset($options['expire']) ? $options['expire'] : null; //修复查询缓存无法设置过期时间 | ||
| 137 | - } else { | ||
| 138 | - $expire = is_numeric($options) ? $options : null; //默认快捷缓存设置过期时间 | ||
| 139 | - } | ||
| 140 | - | ||
| 141 | - if (is_null($tag)) { | ||
| 142 | - return Cache::set($name, $value, $expire); | ||
| 143 | - } else { | ||
| 144 | - return Cache::tag($tag)->set($name, $value, $expire); | ||
| 145 | - } | ||
| 146 | - } | ||
| 147 | - } | ||
| 148 | -} | ||
| 149 | - | ||
| 150 | -if (!function_exists('call')) { | ||
| 151 | - /** | ||
| 152 | - * 调用反射执行callable 支持依赖注入 | ||
| 153 | - * @param mixed $callable 支持闭包等callable写法 | ||
| 154 | - * @param array $args 参数 | ||
| 155 | - * @return mixed | ||
| 156 | - */ | ||
| 157 | - function call($callable, $args = []) | ||
| 158 | - { | ||
| 159 | - return Container::getInstance()->invoke($callable, $args); | ||
| 160 | - } | ||
| 161 | -} | ||
| 162 | - | ||
| 163 | -if (!function_exists('class_basename')) { | ||
| 164 | - /** | ||
| 165 | - * 获取类名(不包含命名空间) | ||
| 166 | - * | ||
| 167 | - * @param string|object $class | ||
| 168 | - * @return string | ||
| 169 | - */ | ||
| 170 | - function class_basename($class) | ||
| 171 | - { | ||
| 172 | - $class = is_object($class) ? get_class($class) : $class; | ||
| 173 | - return basename(str_replace('\\', '/', $class)); | ||
| 174 | - } | ||
| 175 | -} | ||
| 176 | - | ||
| 177 | -if (!function_exists('class_uses_recursive')) { | ||
| 178 | - /** | ||
| 179 | - *获取一个类里所有用到的trait,包括父类的 | ||
| 180 | - * | ||
| 181 | - * @param $class | ||
| 182 | - * @return array | ||
| 183 | - */ | ||
| 184 | - function class_uses_recursive($class) | ||
| 185 | - { | ||
| 186 | - if (is_object($class)) { | ||
| 187 | - $class = get_class($class); | ||
| 188 | - } | ||
| 189 | - | ||
| 190 | - $results = []; | ||
| 191 | - $classes = array_merge([$class => $class], class_parents($class)); | ||
| 192 | - foreach ($classes as $class) { | ||
| 193 | - $results += trait_uses_recursive($class); | ||
| 194 | - } | ||
| 195 | - | ||
| 196 | - return array_unique($results); | ||
| 197 | - } | ||
| 198 | -} | ||
| 199 | - | ||
| 200 | -if (!function_exists('config')) { | ||
| 201 | - /** | ||
| 202 | - * 获取和设置配置参数 | ||
| 203 | - * @param string|array $name 参数名 | ||
| 204 | - * @param mixed $value 参数值 | ||
| 205 | - * @return mixed | ||
| 206 | - */ | ||
| 207 | - function config($name = '', $value = null) | ||
| 208 | - { | ||
| 209 | - if (is_null($value) && is_string($name)) { | ||
| 210 | - if ('.' == substr($name, -1)) { | ||
| 211 | - return Config::pull(substr($name, 0, -1)); | ||
| 212 | - } | ||
| 213 | - | ||
| 214 | - return 0 === strpos($name, '?') ? Config::has(substr($name, 1)) : Config::get($name); | ||
| 215 | - } else { | ||
| 216 | - return Config::set($name, $value); | ||
| 217 | - } | ||
| 218 | - } | ||
| 219 | -} | ||
| 220 | - | ||
| 221 | -if (!function_exists('container')) { | ||
| 222 | - /** | ||
| 223 | - * 获取容器对象实例 | ||
| 224 | - * @return Container | ||
| 225 | - */ | ||
| 226 | - function container() | ||
| 227 | - { | ||
| 228 | - return Container::getInstance(); | ||
| 229 | - } | ||
| 230 | -} | ||
| 231 | - | ||
| 232 | -if (!function_exists('controller')) { | ||
| 233 | - /** | ||
| 234 | - * 实例化控制器 格式:[模块/]控制器 | ||
| 235 | - * @param string $name 资源地址 | ||
| 236 | - * @param string $layer 控制层名称 | ||
| 237 | - * @param bool $appendSuffix 是否添加类名后缀 | ||
| 238 | - * @return \think\Controller | ||
| 239 | - */ | ||
| 240 | - function controller($name, $layer = 'controller', $appendSuffix = false) | ||
| 241 | - { | ||
| 242 | - return app()->controller($name, $layer, $appendSuffix); | ||
| 243 | - } | ||
| 244 | -} | ||
| 245 | - | ||
| 246 | -if (!function_exists('cookie')) { | ||
| 247 | - /** | ||
| 248 | - * Cookie管理 | ||
| 249 | - * @param string|array $name cookie名称,如果为数组表示进行cookie设置 | ||
| 250 | - * @param mixed $value cookie值 | ||
| 251 | - * @param mixed $option 参数 | ||
| 252 | - * @return mixed | ||
| 253 | - */ | ||
| 254 | - function cookie($name, $value = '', $option = null) | ||
| 255 | - { | ||
| 256 | - if (is_array($name)) { | ||
| 257 | - // 初始化 | ||
| 258 | - Cookie::init($name); | ||
| 259 | - } elseif (is_null($name)) { | ||
| 260 | - // 清除 | ||
| 261 | - Cookie::clear($value); | ||
| 262 | - } elseif ('' === $value) { | ||
| 263 | - // 获取 | ||
| 264 | - return 0 === strpos($name, '?') ? Cookie::has(substr($name, 1), $option) : Cookie::get($name); | ||
| 265 | - } elseif (is_null($value)) { | ||
| 266 | - // 删除 | ||
| 267 | - return Cookie::delete($name); | ||
| 268 | - } else { | ||
| 269 | - // 设置 | ||
| 270 | - return Cookie::set($name, $value, $option); | ||
| 271 | - } | ||
| 272 | - } | ||
| 273 | -} | ||
| 274 | - | ||
| 275 | -if (!function_exists('db')) { | ||
| 276 | - /** | ||
| 277 | - * 实例化数据库类 | ||
| 278 | - * @param string $name 操作的数据表名称(不含前缀) | ||
| 279 | - * @param array|string $config 数据库配置参数 | ||
| 280 | - * @param bool $force 是否强制重新连接 | ||
| 281 | - * @return \think\db\Query | ||
| 282 | - */ | ||
| 283 | - function db($name = '', $config = [], $force = true) | ||
| 284 | - { | ||
| 285 | - return Db::connect($config, $force)->name($name); | ||
| 286 | - } | ||
| 287 | -} | ||
| 288 | - | ||
| 289 | -if (!function_exists('debug')) { | ||
| 290 | - /** | ||
| 291 | - * 记录时间(微秒)和内存使用情况 | ||
| 292 | - * @param string $start 开始标签 | ||
| 293 | - * @param string $end 结束标签 | ||
| 294 | - * @param integer|string $dec 小数位 如果是m 表示统计内存占用 | ||
| 295 | - * @return mixed | ||
| 296 | - */ | ||
| 297 | - function debug($start, $end = '', $dec = 6) | ||
| 298 | - { | ||
| 299 | - if ('' == $end) { | ||
| 300 | - Debug::remark($start); | ||
| 301 | - } else { | ||
| 302 | - return 'm' == $dec ? Debug::getRangeMem($start, $end) : Debug::getRangeTime($start, $end, $dec); | ||
| 303 | - } | ||
| 304 | - } | ||
| 305 | -} | ||
| 306 | - | ||
| 307 | -if (!function_exists('download')) { | ||
| 308 | - /** | ||
| 309 | - * 获取\think\response\Download对象实例 | ||
| 310 | - * @param string $filename 要下载的文件 | ||
| 311 | - * @param string $name 显示文件名 | ||
| 312 | - * @param bool $content 是否为内容 | ||
| 313 | - * @param integer $expire 有效期(秒) | ||
| 314 | - * @return \think\response\Download | ||
| 315 | - */ | ||
| 316 | - function download($filename, $name = '', $content = false, $expire = 180) | ||
| 317 | - { | ||
| 318 | - return Response::create($filename, 'download')->name($name)->isContent($content)->expire($expire); | ||
| 319 | - } | ||
| 320 | -} | ||
| 321 | - | ||
| 322 | -if (!function_exists('dump')) { | ||
| 323 | - /** | ||
| 324 | - * 浏览器友好的变量输出 | ||
| 325 | - * @param mixed $var 变量 | ||
| 326 | - * @param boolean $echo 是否输出 默认为true 如果为false 则返回输出字符串 | ||
| 327 | - * @param string $label 标签 默认为空 | ||
| 328 | - * @return void|string | ||
| 329 | - */ | ||
| 330 | - function dump($var, $echo = true, $label = null) | ||
| 331 | - { | ||
| 332 | - return Debug::dump($var, $echo, $label); | ||
| 333 | - } | ||
| 334 | -} | ||
| 335 | - | ||
| 336 | -if (!function_exists('env')) { | ||
| 337 | - /** | ||
| 338 | - * 获取环境变量值 | ||
| 339 | - * @access public | ||
| 340 | - * @param string $name 环境变量名(支持二级 .号分割) | ||
| 341 | - * @param string $default 默认值 | ||
| 342 | - * @return mixed | ||
| 343 | - */ | ||
| 344 | - function env($name = null, $default = null) | ||
| 345 | - { | ||
| 346 | - return Env::get($name, $default); | ||
| 347 | - } | ||
| 348 | -} | ||
| 349 | - | ||
| 350 | -if (!function_exists('exception')) { | ||
| 351 | - /** | ||
| 352 | - * 抛出异常处理 | ||
| 353 | - * | ||
| 354 | - * @param string $msg 异常消息 | ||
| 355 | - * @param integer $code 异常代码 默认为0 | ||
| 356 | - * @param string $exception 异常类 | ||
| 357 | - * | ||
| 358 | - * @throws Exception | ||
| 359 | - */ | ||
| 360 | - function exception($msg, $code = 0, $exception = '') | ||
| 361 | - { | ||
| 362 | - $e = $exception ?: '\think\Exception'; | ||
| 363 | - throw new $e($msg, $code); | ||
| 364 | - } | ||
| 365 | -} | ||
| 366 | - | ||
| 367 | -if (!function_exists('halt')) { | ||
| 368 | - /** | ||
| 369 | - * 调试变量并且中断输出 | ||
| 370 | - * @param mixed $var 调试变量或者信息 | ||
| 371 | - */ | ||
| 372 | - function halt($var) | ||
| 373 | - { | ||
| 374 | - dump($var); | ||
| 375 | - | ||
| 376 | - throw new HttpResponseException(new Response); | ||
| 377 | - } | ||
| 378 | -} | ||
| 379 | - | ||
| 380 | -if (!function_exists('input')) { | ||
| 381 | - /** | ||
| 382 | - * 获取输入数据 支持默认值和过滤 | ||
| 383 | - * @param string $key 获取的变量名 | ||
| 384 | - * @param mixed $default 默认值 | ||
| 385 | - * @param string $filter 过滤方法 | ||
| 386 | - * @return mixed | ||
| 387 | - */ | ||
| 388 | - function input($key = '', $default = null, $filter = '') | ||
| 389 | - { | ||
| 390 | - if (0 === strpos($key, '?')) { | ||
| 391 | - $key = substr($key, 1); | ||
| 392 | - $has = true; | ||
| 393 | - } | ||
| 394 | - | ||
| 395 | - if ($pos = strpos($key, '.')) { | ||
| 396 | - // 指定参数来源 | ||
| 397 | - $method = substr($key, 0, $pos); | ||
| 398 | - if (in_array($method, ['get', 'post', 'put', 'patch', 'delete', 'route', 'param', 'request', 'session', 'cookie', 'server', 'env', 'path', 'file'])) { | ||
| 399 | - $key = substr($key, $pos + 1); | ||
| 400 | - } else { | ||
| 401 | - $method = 'param'; | ||
| 402 | - } | ||
| 403 | - } else { | ||
| 404 | - // 默认为自动判断 | ||
| 405 | - $method = 'param'; | ||
| 406 | - } | ||
| 407 | - | ||
| 408 | - if (isset($has)) { | ||
| 409 | - return request()->has($key, $method, $default); | ||
| 410 | - } else { | ||
| 411 | - return request()->$method($key, $default, $filter); | ||
| 412 | - } | ||
| 413 | - } | ||
| 414 | -} | ||
| 415 | - | ||
| 416 | -if (!function_exists('json')) { | ||
| 417 | - /** | ||
| 418 | - * 获取\think\response\Json对象实例 | ||
| 419 | - * @param mixed $data 返回的数据 | ||
| 420 | - * @param integer $code 状态码 | ||
| 421 | - * @param array $header 头部 | ||
| 422 | - * @param array $options 参数 | ||
| 423 | - * @return \think\response\Json | ||
| 424 | - */ | ||
| 425 | - function json($data = [], $code = 200, $header = [], $options = []) | ||
| 426 | - { | ||
| 427 | - return Response::create($data, 'json', $code, $header, $options); | ||
| 428 | - } | ||
| 429 | -} | ||
| 430 | - | ||
| 431 | -if (!function_exists('jsonp')) { | ||
| 432 | - /** | ||
| 433 | - * 获取\think\response\Jsonp对象实例 | ||
| 434 | - * @param mixed $data 返回的数据 | ||
| 435 | - * @param integer $code 状态码 | ||
| 436 | - * @param array $header 头部 | ||
| 437 | - * @param array $options 参数 | ||
| 438 | - * @return \think\response\Jsonp | ||
| 439 | - */ | ||
| 440 | - function jsonp($data = [], $code = 200, $header = [], $options = []) | ||
| 441 | - { | ||
| 442 | - return Response::create($data, 'jsonp', $code, $header, $options); | ||
| 443 | - } | ||
| 444 | -} | ||
| 445 | - | ||
| 446 | -if (!function_exists('lang')) { | ||
| 447 | - /** | ||
| 448 | - * 获取语言变量值 | ||
| 449 | - * @param string $name 语言变量名 | ||
| 450 | - * @param array $vars 动态变量值 | ||
| 451 | - * @param string $lang 语言 | ||
| 452 | - * @return mixed | ||
| 453 | - */ | ||
| 454 | - function lang($name, $vars = [], $lang = '') | ||
| 455 | - { | ||
| 456 | - return Lang::get($name, $vars, $lang); | ||
| 457 | - } | ||
| 458 | -} | ||
| 459 | - | ||
| 460 | -if (!function_exists('model')) { | ||
| 461 | - /** | ||
| 462 | - * 实例化Model | ||
| 463 | - * @param string $name Model名称 | ||
| 464 | - * @param string $layer 业务层名称 | ||
| 465 | - * @param bool $appendSuffix 是否添加类名后缀 | ||
| 466 | - * @return \think\Model | ||
| 467 | - */ | ||
| 468 | - function model($name = '', $layer = 'model', $appendSuffix = false) | ||
| 469 | - { | ||
| 470 | - return app()->model($name, $layer, $appendSuffix); | ||
| 471 | - } | ||
| 472 | -} | ||
| 473 | - | ||
| 474 | -if (!function_exists('parse_name')) { | ||
| 475 | - /** | ||
| 476 | - * 字符串命名风格转换 | ||
| 477 | - * type 0 将Java风格转换为C的风格 1 将C风格转换为Java的风格 | ||
| 478 | - * @param string $name 字符串 | ||
| 479 | - * @param integer $type 转换类型 | ||
| 480 | - * @param bool $ucfirst 首字母是否大写(驼峰规则) | ||
| 481 | - * @return string | ||
| 482 | - */ | ||
| 483 | - function parse_name($name, $type = 0, $ucfirst = true) | ||
| 484 | - { | ||
| 485 | - if ($type) { | ||
| 486 | - $name = preg_replace_callback('/_([a-zA-Z])/', function ($match) { | ||
| 487 | - return strtoupper($match[1]); | ||
| 488 | - }, $name); | ||
| 489 | - | ||
| 490 | - return $ucfirst ? ucfirst($name) : lcfirst($name); | ||
| 491 | - } else { | ||
| 492 | - return strtolower(trim(preg_replace("/[A-Z]/", "_\\0", $name), "_")); | ||
| 493 | - } | ||
| 494 | - } | ||
| 495 | -} | ||
| 496 | - | ||
| 497 | -if (!function_exists('redirect')) { | ||
| 498 | - /** | ||
| 499 | - * 获取\think\response\Redirect对象实例 | ||
| 500 | - * @param mixed $url 重定向地址 支持Url::build方法的地址 | ||
| 501 | - * @param array|integer $params 额外参数 | ||
| 502 | - * @param integer $code 状态码 | ||
| 503 | - * @return \think\response\Redirect | ||
| 504 | - */ | ||
| 505 | - function redirect($url = [], $params = [], $code = 302) | ||
| 506 | - { | ||
| 507 | - if (is_integer($params)) { | ||
| 508 | - $code = $params; | ||
| 509 | - $params = []; | ||
| 510 | - } | ||
| 511 | - | ||
| 512 | - return Response::create($url, 'redirect', $code)->params($params); | ||
| 513 | - } | ||
| 514 | -} | ||
| 515 | - | ||
| 516 | -if (!function_exists('request')) { | ||
| 517 | - /** | ||
| 518 | - * 获取当前Request对象实例 | ||
| 519 | - * @return Request | ||
| 520 | - */ | ||
| 521 | - function request() | ||
| 522 | - { | ||
| 523 | - return app('request'); | ||
| 524 | - } | ||
| 525 | -} | ||
| 526 | - | ||
| 527 | -if (!function_exists('response')) { | ||
| 528 | - /** | ||
| 529 | - * 创建普通 Response 对象实例 | ||
| 530 | - * @param mixed $data 输出数据 | ||
| 531 | - * @param int|string $code 状态码 | ||
| 532 | - * @param array $header 头信息 | ||
| 533 | - * @param string $type | ||
| 534 | - * @return Response | ||
| 535 | - */ | ||
| 536 | - function response($data = [], $code = 200, $header = [], $type = 'html') | ||
| 537 | - { | ||
| 538 | - return Response::create($data, $type, $code, $header); | ||
| 539 | - } | ||
| 540 | -} | ||
| 541 | - | ||
| 542 | -if (!function_exists('route')) { | ||
| 543 | - /** | ||
| 544 | - * 路由注册 | ||
| 545 | - * @param string $rule 路由规则 | ||
| 546 | - * @param mixed $route 路由地址 | ||
| 547 | - * @param array $option 路由参数 | ||
| 548 | - * @param array $pattern 变量规则 | ||
| 549 | - * @return RuleItem | ||
| 550 | - */ | ||
| 551 | - function route($rule, $route, $option = [], $pattern = []) | ||
| 552 | - { | ||
| 553 | - return Route::rule($rule, $route, '*', $option, $pattern); | ||
| 554 | - } | ||
| 555 | -} | ||
| 556 | - | ||
| 557 | -if (!function_exists('session')) { | ||
| 558 | - /** | ||
| 559 | - * Session管理 | ||
| 560 | - * @param string|array $name session名称,如果为数组表示进行session设置 | ||
| 561 | - * @param mixed $value session值 | ||
| 562 | - * @param string $prefix 前缀 | ||
| 563 | - * @return mixed | ||
| 564 | - */ | ||
| 565 | - function session($name, $value = '', $prefix = null) | ||
| 566 | - { | ||
| 567 | - if (is_array($name)) { | ||
| 568 | - // 初始化 | ||
| 569 | - Session::init($name); | ||
| 570 | - } elseif (is_null($name)) { | ||
| 571 | - // 清除 | ||
| 572 | - Session::clear($value); | ||
| 573 | - } elseif ('' === $value) { | ||
| 574 | - // 判断或获取 | ||
| 575 | - return 0 === strpos($name, '?') ? Session::has(substr($name, 1), $prefix) : Session::get($name, $prefix); | ||
| 576 | - } elseif (is_null($value)) { | ||
| 577 | - // 删除 | ||
| 578 | - return Session::delete($name, $prefix); | ||
| 579 | - } else { | ||
| 580 | - // 设置 | ||
| 581 | - return Session::set($name, $value, $prefix); | ||
| 582 | - } | ||
| 583 | - } | ||
| 584 | -} | ||
| 585 | - | ||
| 586 | -if (!function_exists('token')) { | ||
| 587 | - /** | ||
| 588 | - * 生成表单令牌 | ||
| 589 | - * @param string $name 令牌名称 | ||
| 590 | - * @param mixed $type 令牌生成方法 | ||
| 591 | - * @return string | ||
| 592 | - */ | ||
| 593 | - function token($name = '__token__', $type = 'md5') | ||
| 594 | - { | ||
| 595 | - $token = Request::token($name, $type); | ||
| 596 | - | ||
| 597 | - return '<input type="hidden" name="' . $name . '" value="' . $token . '" />'; | ||
| 598 | - } | ||
| 599 | -} | ||
| 600 | - | ||
| 601 | -if (!function_exists('trace')) { | ||
| 602 | - /** | ||
| 603 | - * 记录日志信息 | ||
| 604 | - * @param mixed $log log信息 支持字符串和数组 | ||
| 605 | - * @param string $level 日志级别 | ||
| 606 | - * @return array|void | ||
| 607 | - */ | ||
| 608 | - function trace($log = '[think]', $level = 'log') | ||
| 609 | - { | ||
| 610 | - if ('[think]' === $log) { | ||
| 611 | - return Log::getLog(); | ||
| 612 | - } else { | ||
| 613 | - Log::record($log, $level); | ||
| 614 | - } | ||
| 615 | - } | ||
| 616 | -} | ||
| 617 | - | ||
| 618 | -if (!function_exists('trait_uses_recursive')) { | ||
| 619 | - /** | ||
| 620 | - * 获取一个trait里所有引用到的trait | ||
| 621 | - * | ||
| 622 | - * @param string $trait | ||
| 623 | - * @return array | ||
| 624 | - */ | ||
| 625 | - function trait_uses_recursive($trait) | ||
| 626 | - { | ||
| 627 | - $traits = class_uses($trait); | ||
| 628 | - foreach ($traits as $trait) { | ||
| 629 | - $traits += trait_uses_recursive($trait); | ||
| 630 | - } | ||
| 631 | - | ||
| 632 | - return $traits; | ||
| 633 | - } | ||
| 634 | -} | ||
| 635 | - | ||
| 636 | -if (!function_exists('url')) { | ||
| 637 | - /** | ||
| 638 | - * Url生成 | ||
| 639 | - * @param string $url 路由地址 | ||
| 640 | - * @param string|array $vars 变量 | ||
| 641 | - * @param bool|string $suffix 生成的URL后缀 | ||
| 642 | - * @param bool|string $domain 域名 | ||
| 643 | - * @return string | ||
| 644 | - */ | ||
| 645 | - function url($url = '', $vars = '', $suffix = true, $domain = false) | ||
| 646 | - { | ||
| 647 | - return Url::build($url, $vars, $suffix, $domain); | ||
| 648 | - } | ||
| 649 | -} | ||
| 650 | - | ||
| 651 | -if (!function_exists('validate')) { | ||
| 652 | - /** | ||
| 653 | - * 实例化验证器 | ||
| 654 | - * @param string $name 验证器名称 | ||
| 655 | - * @param string $layer 业务层名称 | ||
| 656 | - * @param bool $appendSuffix 是否添加类名后缀 | ||
| 657 | - * @return \think\Validate | ||
| 658 | - */ | ||
| 659 | - function validate($name = '', $layer = 'validate', $appendSuffix = false) | ||
| 660 | - { | ||
| 661 | - return app()->validate($name, $layer, $appendSuffix); | ||
| 662 | - } | ||
| 663 | -} | ||
| 664 | - | ||
| 665 | -if (!function_exists('view')) { | ||
| 666 | - /** | ||
| 667 | - * 渲染模板输出 | ||
| 668 | - * @param string $template 模板文件 | ||
| 669 | - * @param array $vars 模板变量 | ||
| 670 | - * @param integer $code 状态码 | ||
| 671 | - * @param callable $filter 内容过滤 | ||
| 672 | - * @return \think\response\View | ||
| 673 | - */ | ||
| 674 | - function view($template = '', $vars = [], $code = 200, $filter = null) | ||
| 675 | - { | ||
| 676 | - return Response::create($template, 'view', $code)->assign($vars)->filter($filter); | ||
| 677 | - } | ||
| 678 | -} | ||
| 679 | - | ||
| 680 | -if (!function_exists('widget')) { | ||
| 681 | - /** | ||
| 682 | - * 渲染输出Widget | ||
| 683 | - * @param string $name Widget名称 | ||
| 684 | - * @param array $data 传入的参数 | ||
| 685 | - * @return mixed | ||
| 686 | - */ | ||
| 687 | - function widget($name, $data = []) | ||
| 688 | - { | ||
| 689 | - return app()->action($name, $data, 'widget'); | ||
| 690 | - } | ||
| 691 | -} | ||
| 692 | - | ||
| 693 | -if (!function_exists('xml')) { | ||
| 694 | - /** | ||
| 695 | - * 获取\think\response\Xml对象实例 | ||
| 696 | - * @param mixed $data 返回的数据 | ||
| 697 | - * @param integer $code 状态码 | ||
| 698 | - * @param array $header 头部 | ||
| 699 | - * @param array $options 参数 | ||
| 700 | - * @return \think\response\Xml | ||
| 701 | - */ | ||
| 702 | - function xml($data = [], $code = 200, $header = [], $options = []) | ||
| 703 | - { | ||
| 704 | - return Response::create($data, 'xml', $code, $header, $options); | ||
| 705 | - } | ||
| 706 | -} |
-
Please register or login to post a comment