代码拉取完成,页面将自动刷新
同步操作将从 chichu/cltopen 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
/*
SQLyog Ultimate v12.4.1 (64 bit)
MySQL - 5.7.17 : Database - cltdemo_db
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
/*Table structure for table `clt_ad` */
DROP TABLE IF EXISTS `clt_ad`;
CREATE TABLE `clt_ad` (
`ad_id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL DEFAULT '' COMMENT '广告名称',
`type_id` tinyint(5) NOT NULL COMMENT '所属位置',
`pic` varchar(200) NOT NULL DEFAULT '' COMMENT '广告图片URL',
`url` varchar(200) NOT NULL DEFAULT '' COMMENT '广告链接',
`addtime` int(11) NOT NULL COMMENT '添加时间',
`sort` int(11) NOT NULL COMMENT '排序',
`open` tinyint(2) NOT NULL COMMENT '1=审核 0=未审核',
`content` varchar(225) DEFAULT '' COMMENT '广告内容',
PRIMARY KEY (`ad_id`),
KEY `plug_ad_adtypeid` (`type_id`)
) ENGINE=MyISAM AUTO_INCREMENT=36 DEFAULT CHARSET=utf8 COMMENT='广告表';
/*Data for the table `clt_ad` */
insert into `clt_ad`(`ad_id`,`name`,`type_id`,`pic`,`url`,`addtime`,`sort`,`open`,`content`) values
(15,'CLTPHP的目的是 让所有人都能 高效 简洁 的建立网站',1,'/uploads/20180611/c09ce57b7b5264ccbefef44c2591117b.png','http://demo.cltphp.com',1480909037,1,1,'虽然世界上有成千上万的建站系统,但CLTPHP会告诉你,真正高效的建站系统是什么样的。'),
(17,'即使是后台我们也极力追求尽善尽美',1,'/uploads/20180611/25e5f5a08933130f026a6119666b44a8.png','http://demo.cltphp.com',1481788850,2,1,'CLTPHP采用了优美的layui框架,一面极简,一面丰盈。加上angular Js,让数据交互变得更为简洁直白。用最基础的代码,实现最强大的效果,让你欲罢不能!'),
(18,'ThinkPHP5极大的提高了CLTPHP的可拓展性',1,'/uploads/20180611/814e5f76ef5dce49dfd3dce771631ecf.png','http://demo.cltphp.com',1481788869,3,1,'CLTPHP采用的ThinkPHP5为基础框架,从而使得CLTPHP的拓展性变的极为强大。从模型构造到栏目建立,再到前台展示,一气呵成,网站后台一条龙式操作,让小白用户能快速掌握CLTPHP管理系统的核心操作,让小白开发者能更好的理解CLTPHP的核心构建价值。');
/*Table structure for table `clt_ad_type` */
DROP TABLE IF EXISTS `clt_ad_type`;
CREATE TABLE `clt_ad_type` (
`type_id` tinyint(5) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL DEFAULT '' COMMENT '广告位名称',
`sort` int(11) NOT NULL COMMENT '广告位排序',
PRIMARY KEY (`type_id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 COMMENT='广告分类';
/*Data for the table `clt_ad_type` */
insert into `clt_ad_type`(`type_id`,`name`,`sort`) values
(1,'【首页】顶部轮播',1),
(5,'【内页】横幅',2);
/*Table structure for table `clt_admin` */
DROP TABLE IF EXISTS `clt_admin`;
CREATE TABLE `clt_admin` (
`admin_id` tinyint(4) NOT NULL AUTO_INCREMENT COMMENT '管理员ID',
`username` varchar(20) NOT NULL COMMENT '管理员用户名',
`pwd` varchar(70) NOT NULL COMMENT '管理员密码',
`group_id` mediumint(8) DEFAULT NULL COMMENT '分组ID',
`email` varchar(30) DEFAULT NULL COMMENT '邮箱',
`realname` varchar(10) DEFAULT NULL COMMENT '真实姓名',
`tel` varchar(30) DEFAULT NULL COMMENT '电话号码',
`ip` varchar(20) DEFAULT NULL COMMENT 'IP地址',
`add_time` int(11) DEFAULT NULL COMMENT '添加时间',
`mdemail` varchar(50) DEFAULT '0' COMMENT '传递修改密码参数加密',
`is_open` tinyint(2) DEFAULT '0' COMMENT '审核状态',
`avatar` varchar(120) DEFAULT '' COMMENT '头像',
PRIMARY KEY (`admin_id`),
KEY `admin_username` (`username`)
) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 COMMENT='后台管理员';
/*Data for the table `clt_admin` */
insert into `clt_admin`(`admin_id`,`username`,`pwd`,`group_id`,`email`,`realname`,`tel`,`ip`,`add_time`,`mdemail`,`is_open`,`avatar`) values
(1,'admin','0192023a7bbd73250516f069df18b500',1,'1109305987@qq.com','','18792402229','127.0.0.1',1482132862,'0',1,'/uploads/20180625/f266169c2956429d9aaea6cf6f1e51cb.jpg');
/*Table structure for table `clt_article` */
DROP TABLE IF EXISTS `clt_article`;
CREATE TABLE `clt_article` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`catid` smallint(5) unsigned NOT NULL DEFAULT '0',
`userid` int(8) unsigned NOT NULL DEFAULT '0',
`username` varchar(40) NOT NULL DEFAULT '',
`title` varchar(80) NOT NULL DEFAULT '',
`keywords` varchar(120) NOT NULL DEFAULT '',
`description` mediumtext NOT NULL,
`content` text NOT NULL COMMENT '内容',
`template` varchar(40) NOT NULL DEFAULT '',
`posid` tinyint(2) unsigned NOT NULL DEFAULT '0',
`status` varchar(255) NOT NULL DEFAULT '1',
`recommend` tinyint(1) unsigned NOT NULL DEFAULT '0',
`readgroup` varchar(100) NOT NULL DEFAULT '',
`readpoint` smallint(5) NOT NULL DEFAULT '0',
`sort` int(10) unsigned NOT NULL DEFAULT '0',
`hits` int(11) unsigned NOT NULL DEFAULT '0',
`createtime` int(11) unsigned NOT NULL DEFAULT '0',
`updatetime` int(11) unsigned NOT NULL DEFAULT '0',
`copyfrom` varchar(255) NOT NULL DEFAULT 'CLTPHP',
`fromlink` varchar(255) NOT NULL DEFAULT 'http://www.cltphp.com/',
`thumb` varchar(100) NOT NULL DEFAULT '',
`title_style` varchar(100) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `status` (`id`,`status`,`sort`),
KEY `catid` (`id`,`catid`,`status`),
KEY `listorder` (`id`,`catid`,`status`,`sort`)
) ENGINE=MyISAM AUTO_INCREMENT=48 DEFAULT CHARSET=utf8;
/*Data for the table `clt_article` */
insert into `clt_article`(`id`,`catid`,`userid`,`username`,`title`,`keywords`,`description`,`content`,`template`,`posid`,`status`,`recommend`,`readgroup`,`readpoint`,`sort`,`hits`,`createtime`,`updatetime`,`copyfrom`,`fromlink`,`thumb`,`title_style`) values
(1,3,1,'admin','你可能忽略掉的后台小功能(一)','你可能忽略掉的后台小功能(一)','你可能忽略掉的后台小功能(一)','<p>刷新:刷新当前标签页</p><p>关闭当前:关闭当前标签页</p><p>关闭其他:除选中的标签页外,关闭其他全部标签页</p><p>关闭所有:关闭全部标签页</p><p><img src=\"/public/uploads/ueditor/image/20170907/1504764868495338.png\" title=\"1504764868495338.png\" alt=\"ac (1).png\"/></p>','0',2,'1',0,'',0,0,804,1499760262,1504764870,'CLTPHP','http://www.cltphp.com/','',''),
(2,3,1,'admin','CLTPHP开放式模型设计','CLTPHP开放式模型设计','CLTPHP内容管理系统采用了区别于传统cms的开放式模型设计,让网站的栏目及内容随这站长的想法而设计、改变。','<p> CLTPHP内容管理系统采用了区别于传统cms的开放式模型设计,让网站的栏目及内容随这站长的想法而设计、改变。</p><p> 在网站建设中,我们会把不同的内容以不同的方式展示,传统网站得手动建立不同的数据表,然后通过编码,建立不同的后台栏目,在针对不同的栏目添加各自对应的内容,这期间,还得写不同的添加页面来适应各个分类,最后,再把不同的栏目展示到前台。</p><p> CLTPHP的解决方式是,通过后台添加模型,建立不同的表,</p><p><img src=\"/public/uploads/ueditor/image/20170907/1504764406381046.png\" title=\"1504764406381046.png\" alt=\"m (1).png\"/></p><p>模型是要和栏目绑定的,不同的栏目就会有不同的内容模型,或者是同一类栏目内容,会归纳到同一模型下。这里产品模型绑定为文章模型。</p><p><img src=\"/public/uploads/ueditor/image/20170907/1504764538131048.png\" title=\"1504764538131048.png\" alt=\"cm (1).png\"/></p><p>一个模型可以理解为一张表,模型字段即使这张表的字段。</p><p><img src=\"/public/uploads/ueditor/image/20170907/1504764618106985.png\" title=\"1504764618106985.png\" alt=\"mf (1).png\"/></p><p>每一个字段最终呈现的方式可能会不一样,所以,字段属性就应用而生了,</p><p><img src=\"/public/uploads/ueditor/image/20170907/1504764686677148.png\" title=\"1504764686677148.png\" alt=\"ef (1).png\"/></p><p>以标题举例,标题会对应自己显示颜色,及是否加粗显示,还有,是否对应一个缩略图。这些通过模型字段的设置,就可以在添加栏目里体现出来,参考下图</p><p><img src=\"/public/uploads/ueditor/image/20170907/1504764760851814.png\" title=\"1504764760851814.png\" alt=\"en (1).png\"/></p><p>通过上图,我们能很清楚知道,这个栏目对应的模型里,标题字段一定设置了标题图片和标题样式。最后,栏目或者某一篇内容可以绑定一个模版,用来前台展示。不同的模版有不同的展示风格,这里,开发者可以扩延出无限的前台展示模版。其规则是,列表页 <strong>表名-list-自定义 </strong> 内容页 <strong>表名-show-自定义</strong></p>','0',2,'1',0,'',0,0,1298,1499760655,1504764762,'CLTPHP','http://www.cltphp.com/','',''),
(24,5,1,'admin','CLTPHP5.1更新','CLTPHP5.1更新','CLTPHP5.1更新','<p>更新内容:</p><p>1.优化双编辑器(编辑器切换不兼容问题,layedit上传不了图片问题,layedit无法编辑问题)</p><p>2.添加自定义标签(参考首页)</p><p>3.修复前台手机兼容问题</p><p><br/></p><p>下载地址:<a target=\"_self\" href=\"http://o95ehky7c.bkt.clouddn.com/cltphp5.1.zip\">点击下载CLTPHP5.1</a></p><p>升级补丁:<a target=\"_self\" href=\"http://o95ehky7c.bkt.clouddn.com/CLTPHP5.0s%E5%8D%87%E7%BA%A75.1%E5%8C%85.zip\">CLTPHP5.0升级5.1</a></p>','0',0,'1',0,'',0,0,288,1503307064,1505264247,'CLTPHP','http://www.cltphp.com/','',''),
(3,5,1,'admin','关于CLTPHP你错过了什么?','关于CLTPHP你错过了什么?','关于CLTPHP你错过了什么?','<p><a target=\"_blank\" href=\"http://www.cltphp.com\">CLTPHP</a>官方QQ群<a target=\"_blank\" title=\"点击加入\" href=\"http://shang.qq.com/wpa/qunwpa?idkey=003995f61e8bdf5e79e0241b3136b9803ea498833535bbb3aa14004966858349\">229455880</a>,来这里和大家一起讨论更多<a target=\"_blank\" href=\"http://www.cltphp.com\">CLTPHP</a>相关的问题和操作方法,同时可以掌握<a target=\"_self\" href=\"http://www.cltphp.com/home/news/index/catId/49.html\">CLTPHP的最新动态</a>。</p><p>另外,站长会在群里随时更新一些好玩的,或者好用的资源。</p>','0',1,'1',0,'',0,0,355,1498035408,1499834839,'CLTPHP','http://www.cltphp.com/','',''),
(4,5,1,'admin','CLTPHP4.0正式发布','CLTPHP4.0正式发布','CLTPHP4.0正式发布','<p><a target=\"_self\" href=\"http://www.cltphp.com/\">CLTPHP4.0</a>正式发布,<a target=\"_self\" href=\"http://www.cltphp.com/\">CLTPHP4.0</a>采用ThinkPHP+Layui+AngularJS实现完成。</p>','0',2,'1',0,'',0,0,1022,1497949408,1504597814,'CLTPHP','http://www.cltphp.com/','',''),
(5,5,1,'admin','CLTPHP4.2版本更新','CLTPHP4.2版本更新,CLTPHP,CLTPHP内容管理系统','CLTPHP4.2版本更新','<p>更新内容</p><p>1.升级ThinkPHP框架到5.0.10</p><p>2.后台栏目添加/编辑文章,点击返回按钮定位到当前栏目</p><p>3.后台增加主站捐献功能</p><p>4.微信管理调整,添加“生成菜单”功能</p><p><br></p><p>推荐环境:apache2.4+php5.5(以上)+mysql5.0(以上)</p><p>开发环境:phpStudy 2016 php5.5.38</p><div><br></div>','0',2,'1',0,'',0,0,619,1499159138,1499916031,'CLTPHP','http://www.cltphp.com/','',''),
(6,5,1,'admin','CLTPHP操作文档不断更新中','CLTPHP操作文档不断更新中','CLTPHP操作文档不断更新中','<p> 新版<a target=\"_self\" href=\"http://www.cltphp.com/\">CLTPHP</a>操作及开发手册不断更新中,欢迎大家购买学习。<img src=\"file:///C:/Users/ADMINI~1/AppData/Local/Temp/%W@GJ$ACOF(TYDYECOKVDYB.png\">https://www.kancloud.cn/chichu/cltphp。</p><p> 文档的延迟更新,给各位爱好者带来的不便,我们深感抱歉,但也请大家理解我们的难处。</p><p> 开发团队向大家保证,会尽快完善文档,尽量解决大家在开发过程中遇到的种种问题。</p><p> 文档是收费的,开发的继续开发,骂娘的继续骂娘,收费的或许会越来越贵。</p><div><br></div>','0',2,'1',0,'',0,0,800,1499677661,1504597769,'CLTPHP','http://www.cltphp.com/','',''),
(7,6,1,'admin','ThinkPHP隐藏index.php','ThinkPHP隐藏index.php,CLTPHP,CLTPHP内容管理系统,thinkphp,thinkphp内容管理系统','ThinkPHP隐藏index.php,CLTPHP,CLTPHP内容管理系统,thinkphp,thinkphp内容管理系统','<p>可以通过URL重写隐藏应用的入口文件<code>index.php</code>,下面是相关服务器的配置参考:</p><h2 data-line=\"2\" class=\"line\"><a id=\"_Apache__2\"></a>[ Apache ]</h2><ol><li>httpd.conf配置文件中加载了mod_rewrite.so模块</li><li>AllowOverride None 将None改为 All</li><li>把下面的内容保存为.htaccess文件放到应用入口文件的同级目录下</li></ol><pre><code><span class=\"hljs-section\"><IfModule mod_rewrite.c></span>\n<span class=\"hljs-attribute\"><span class=\"hljs-nomarkup\">Options</span></span> +FollowSymlinks -Multiviews\n<span class=\"hljs-attribute\"><span class=\"hljs-nomarkup\">RewriteEngine</span></span> <span class=\"hljs-literal\">on</span>\n\n<span class=\"hljs-attribute\"><span class=\"hljs-nomarkup\">RewriteCond</span></span> <span class=\"hljs-variable\">%{REQUEST_FILENAME}</span> !-d\n<span class=\"hljs-attribute\"><span class=\"hljs-nomarkup\">RewriteCond</span></span> <span class=\"hljs-variable\">%{REQUEST_FILENAME}</span> !-f\n<span class=\"hljs-attribute\"><span class=\"hljs-nomarkup\">RewriteRule</span></span> ^(.*)$ index.php?/<span class=\"hljs-number\">$1</span><span class=\"hljs-meta\"> [QSA,PT,L]</span>\n<span class=\"hljs-section\"></IfModule></span>\n</code></pre><h2 data-line=\"18\" class=\"line\"><a id=\"_IIS__18\"></a>[ IIS ]</h2><p>如果你的服务器环境支持ISAPI_Rewrite的话,可以配置httpd.ini文件,添加下面的内容:</p><pre><code><span class=\"hljs-attribute\"><span class=\"hljs-nomarkup\">RewriteRule</span></span> (.*)$ /index\\.php\\?s=<span class=\"hljs-number\">$1</span><span class=\"hljs-meta\"> [I]</span>\n</code></pre><p>在IIS的高版本下面可以配置web.Config,在中间添加rewrite节点:</p><pre><code><span class=\"xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">rewrite</span>></span>\n <span class=\"hljs-tag\"><<span class=\"hljs-name\">rules</span>></span>\n <span class=\"hljs-tag\"><<span class=\"hljs-name\">rule</span> <span class=\"hljs-attr\">name</span>=<span class=\"hljs-string\">\"OrgPage\"</span> <span class=\"hljs-attr\">stopProcessing</span>=<span class=\"hljs-string\">\"true\"</span>></span>\n <span class=\"hljs-tag\"><<span class=\"hljs-name\">match</span> <span class=\"hljs-attr\">url</span>=<span class=\"hljs-string\">\"^(.*)$\"</span> /></span>\n <span class=\"hljs-tag\"><<span class=\"hljs-name\">conditions</span> <span class=\"hljs-attr\">logicalGrouping</span>=<span class=\"hljs-string\">\"MatchAll\"</span>></span>\n <span class=\"hljs-tag\"><<span class=\"hljs-name\">add</span> <span class=\"hljs-attr\">input</span>=<span class=\"hljs-string\">\"</span></span></span><span class=\"hljs-template-variable\">{HTTP_HOST}</span><span class=\"xml\"><span class=\"hljs-tag\"><span class=\"hljs-string\">\"</span> <span class=\"hljs-attr\">pattern</span>=<span class=\"hljs-string\">\"^(.*)$\"</span> /></span>\n <span class=\"hljs-tag\"><<span class=\"hljs-name\">add</span> <span class=\"hljs-attr\">input</span>=<span class=\"hljs-string\">\"</span></span></span><span class=\"hljs-template-variable\">{REQUEST_FILENAME}</span><span class=\"xml\"><span class=\"hljs-tag\"><span class=\"hljs-string\">\"</span> <span class=\"hljs-attr\">matchType</span>=<span class=\"hljs-string\">\"IsFile\"</span> <span class=\"hljs-attr\">negate</span>=<span class=\"hljs-string\">\"true\"</span> /></span>\n <span class=\"hljs-tag\"><<span class=\"hljs-name\">add</span> <span class=\"hljs-attr\">input</span>=<span class=\"hljs-string\">\"</span></span></span><span class=\"hljs-template-variable\">{REQUEST_FILENAME}</span><span class=\"xml\"><span class=\"hljs-tag\"><span class=\"hljs-string\">\"</span> <span class=\"hljs-attr\">matchType</span>=<span class=\"hljs-string\">\"IsDirectory\"</span> <span class=\"hljs-attr\">negate</span>=<span class=\"hljs-string\">\"true\"</span> /></span>\n <span class=\"hljs-tag\"></<span class=\"hljs-name\">conditions</span>></span>\n <span class=\"hljs-tag\"><<span class=\"hljs-name\">action</span> <span class=\"hljs-attr\">type</span>=<span class=\"hljs-string\">\"Rewrite\"</span> <span class=\"hljs-attr\">url</span>=<span class=\"hljs-string\">\"index.php/</span></span></span><span class=\"hljs-template-variable\">{R:1}</span><span class=\"xml\"><span class=\"hljs-tag\"><span class=\"hljs-string\">\"</span> /></span>\n <span class=\"hljs-tag\"></<span class=\"hljs-name\">rule</span>></span>\n <span class=\"hljs-tag\"></<span class=\"hljs-name\">rules</span>></span>\n <span class=\"hljs-tag\"></<span class=\"hljs-name\">rewrite</span>></span>\n</span></code></pre><h2 data-line=\"42\" class=\"line\"><a id=\"_Nginx__42\"></a>[ Nginx ]</h2><p>在Nginx低版本中,是不支持PATHINFO的,但是可以通过在Nginx.conf中配置转发规则实现:</p><pre><code> location / { // …..省略部分代码\n <span class=\"hljs-keyword\">if</span> (!<span class=\"hljs-_\">-e</span> <span class=\"hljs-variable\">$request_filename</span>) {\n rewrite ^(.*)$ /index.php?s=/<span class=\"hljs-variable\">$1</span> last;\n <span class=\"hljs-built_in\">break</span>;\n }\n }\n</code></pre><blockquote class=\"default\"><p>其实内部是转发到了ThinkPHP提供的兼容URL,利用这种方式,可以解决其他不支持PATHINFO的WEB服务器环境。</p></blockquote><p>如果你的应用安装在二级目录,<code>Nginx</code>的伪静态方法设置如下,其中<code>youdomain</code>是所在的目录名称。</p><pre><code><span class=\"hljs-attribute\">location</span> /youdomain/ {\n <span class=\"hljs-attribute\">if</span> (!-e <span class=\"hljs-variable\">$request_filename</span>){\n <span class=\"hljs-attribute\">rewrite</span> <span class=\"hljs-regexp\"> ^/youdomain/(.*)$</span> /youdomain/index.php?s=/<span class=\"hljs-variable\">$1</span> <span class=\"hljs-literal\">last</span>;\n }\n}\n</code></pre><p>原来的访问URL:</p><pre><code><span class=\"hljs-link\">http://serverName/index.php/模块/控制器/操作/</span>[<span class=\"hljs-string\">参数名/参数值...</span>]\n</code></pre><p>设置后,我们可以采用下面的方式访问:</p><pre><code><span class=\"hljs-link\">http://serverName/模块/控制器/操作/</span>[<span class=\"hljs-string\">参数名/参数值...</span>]\n</code></pre><p>如果你没有修改服务器的权限,可以在index.php入口文件做修改,这不是正确的做法,并且不一定成功,视服务器而定,只是在框架执行前补全$_SERVER[‘PATH_INFO’]参数</p><pre><code><span class=\"hljs-meta\">$</span><span class=\"bash\">_SERVER[<span class=\"hljs-string\">\'PATH_INFO\'</span>] = <span class=\"hljs-variable\">$_SERVER</span>[<span class=\"hljs-string\">\'REQUEST_URI\'</span> ];</span></code></pre>','0',2,'1',0,'',0,0,866,1499764536,1500368732,'《ThinkPHP5.0路由完全指南》','','',''),
(8,6,1,'admin','position属性absolute与relative','position属性absolute与relative,CLTPHP,CLTPHP内容管理系统,thinkphp,thinkphp内容管理系统','很多程序猿不清楚absolute与relative怎么区分,怎么用?我们都知道absolute是绝对定位,relative是相对定位,但是这个绝对 与相对是什么意思呢?','<p>很多朋友问过我absolute与relative怎么区分,怎么用?我们都知道absolute是绝对定位,relative是相对定位,但是这个绝对 与相对是什么意思呢?绝对是什么地方的绝对,相对又是相对于什么地方而言的呢?那他们又有什么样的特性,可以做出什么样的效果呢?关于两者之间又有什么样 的技巧呢?下面我们就来一一解读。<br></p><p></p><p>Absolute,CSS中的写法是:position:absolute; 他的意思是绝对定位,他是参照浏览器的左上角,配合TOP、RIGHT、BOTTOM、LEFT(下面简称TRBL)进行定位,在没有设定TRBL,默认 依据父级的做标原始点为原始点。如果设定TRBL并且父级没有设定position属性,那么当前的absolute则以浏览器左上角为原始点进行定位, 位置将由TRBL决定。</p><p><img src=\"http://www.blueidea.com/articleimg/2006/11/4249/absolute.gif\" alt=\"\"></p><p>一般来讲,网页居中的话用Absolute就容易出错,因为网页一直是随着分辨率的大小自动适应的,而Absolute则会以浏览器的左上角为原始 点,不会应为分辨率的变化而变化位置。很多人出错就在于这点上出错。而网页居左其特性与Relative很相似,但是还是有本质的区别的。</p><p>Relative,CSS中的写法是:position:relative; 他的意思是绝对相对定位,他是参照父级的原始点为原始点,无父级则以BODY的原始点为原始点,配合TRBL进行定位,当父级内有padding等CSS属性时,当前级的原始点则参照父级内容区的原始点进行定位。</p><p><img src=\"http://www.blueidea.com/articleimg/2006/11/4249/relative.gif\" alt=\"\"></p><p>有时我们还需要依靠z-index来设定容器的上下关系,数值越大越在最上面,数值范围是自然数。当然有一点要注意,父子关系是无法用z-index来设定上下关系的,一定是子级在上父级在下。</p><p>二 详解定位与定位应用 <a href=\"http://blog.sina.com.cn/u/4bcf4a5e010008o0\">http://blog.sina.com.cn/u/4bcf4a5e010008o0</a></p><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"ke-zeroborder layui-table\"><tbody><tr><td id=\"labeltag\" align=\"center\" valign=\"top\" width=\"60\"></td><td><a href=\"http://search.blog.sina.com.cn/blog/search?q=css&tag=n&t=tag\" target=\"_blank\">css</a> <a href=\"http://search.blog.sina.com.cn/blog/search?q=%BE%F8%B6%D4%B6%A8%CE%BB&tag=n&t=tag\" target=\"_blank\">绝对定位</a> <a href=\"http://search.blog.sina.com.cn/blog/search?q=%CF%E0%B6%D4%B6%A8%CE%BB&tag=n&t=tag\" target=\"_blank\">相对定位</a></td></tr></tbody></table><div> 定位一直是WEB标准应用中的难点,如果理不清楚定位那么可能应实现的效果实现不了,实现了的效果可能会走样。如果理清了定位的原理,那定位会让网页实现的更加完美。</div><div><strong> 定位的定义:</strong><p>在CSS中关于定位的内容是:</p></div><div align=\"center\"><strong>position:relative | absolute | static | fixed</strong></div><div align=\"left\"><strong> static(静态)</strong> 没有特别的设定,遵循基本的定位规定,不能通过z-index进行层次分级。<br><strong> relative(相对定位)</strong> 对象不可层叠、不脱离文档流,参考自身静态位置通过 top,bottom,left,right 定位,并且可以通过z-index进行层次分级。<br><strong>absolute(绝对定位)</strong> 脱离文档流,通过 top,bottom,left,right 定位。选取其最近一个最有定位设置的父级对象进行绝对定位,如果对象的父级没有设置定位属性,absolute元素将以body坐标原点进行定位,可以通过z-index进行层次分级。<br><strong> fixed(固定定位)</strong> 这里所固定的参照对像是<strong>可视窗口</strong>而并非是body或是父级元素。可通过z-index进行层次分级。<br><strong>注</strong>:<br>CSS中定位的层叠分级:<strong>z-index: auto | namber;</strong><p><strong>auto</strong> 遵从其父对象的定位<br><strong>namber</strong> 无单位的整数值。可为负数</p></div><div align=\"left\"><strong>定位的原理:</strong><p>1.可以位移的元素 (相对定位)</p><p>在本文流中,任何一个元素都被文本流所限制了自身的位置,但是通过CSS我们依然使得这些元素可以改变自己的位置,我们可以通过float来让元素浮 动,也可以通过margin来让元素产生位置移动。但事实上那并非是真实的位移,因为,那只是通过加大margin值来实现的障眼法。而真正意义上的位移 是通过top,right,bottom,left(下称TRBL,TRBL可以折分使用。)针对一个相对定位的元素所产生的。我们看下面的图:</p></div><div align=\"left\">我们看图中是一个相对定位的元素</div><pre class=\"prettyprint lang-css\"><span class=\"com\">#first {</span><span class=\"pln\">\nwidth</span><span class=\"pun\">:</span><span class=\"lit\">200px</span><span class=\"pun\">;</span><span class=\"pln\">\nheight</span><span class=\"pun\">:</span><span class=\"pln\"> </span><span class=\"lit\">50px</span><span class=\"pun\">;</span><span class=\"pln\">\nmargin</span><span class=\"pun\">:</span><span class=\"lit\">25px</span><span class=\"pun\">;</span><span class=\"pln\">\nborder</span><span class=\"pun\">:</span><span class=\"lit\">25px</span><span class=\"pln\"> solid </span><span class=\"com\">#333;</span><span class=\"pln\">\npadding</span><span class=\"pun\">:</span><span class=\"lit\">25px</span><span class=\"pun\">;</span><span class=\"pln\">\nposition</span><span class=\"pun\">:</span><span class=\"pln\">relative</span><span class=\"pun\">;</span><span class=\"pln\">\ntop</span><span class=\"pun\">:</span><span class=\"pln\"> </span><span class=\"lit\">50px</span><span class=\"pun\">;</span><span class=\"pln\">\nleft</span><span class=\"pun\">:</span><span class=\"pln\"> </span><span class=\"lit\">50px</span><span class=\"pun\">;</span><span class=\"pln\">\n</span><span class=\"pun\">}</span></pre><p>而下方是一块默认定位的黑色区块<br></p><pre class=\"prettyprint lang-css\"><span class=\"com\">#second {</span><span class=\"pln\">\nwidth</span><span class=\"pun\">:</span><span class=\"lit\">400px</span><span class=\"pun\">;</span><span class=\"pln\">\nheight</span><span class=\"pun\">:</span><span class=\"lit\">75px</span><span class=\"pun\">;</span><span class=\"pln\">\nmargin</span><span class=\"pun\">:</span><span class=\"lit\">0</span><span class=\"pun\">;</span><span class=\"pln\">\nborder</span><span class=\"pun\">:</span><span class=\"lit\">0</span><span class=\"pun\">;</span><span class=\"pln\">\npadding</span><span class=\"pun\">:</span><span class=\"lit\">0</span><span class=\"pun\">;</span><span class=\"pln\">\nbackgroud</span><span class=\"pun\">-</span><span class=\"pln\">color</span><span class=\"pun\">:</span><span class=\"com\">#333;</span><span class=\"pln\">\n</span><span class=\"pun\">}</span></pre><div align=\"left\">我们看到这个处在文本流的区块被上面的相对定位挡住了一部分,这说明:“当元素被设置相对定位或是绝对定位后,将自动产生层叠,他们的层叠级别自然的高于 文本流”。除非设置其z-index值为负值。并且我们发现当相对定位元素进行位移后,表现内容已经脱离了文本流,只是在本文流中还为原来的相对对定位留 下了原有的总宽与总高(内容的高度或是宽度加上 margin\\border\\padding的数值)。这说明在相对定位中,虽然表现区脱离了原来的文本流,但是在文本流中还还有此相对定位的老窩。这点 要特别注意,因为在实际应用中如果相对定位的位移数值过大,那么原有的区域就会形成一块空白。</div><div align=\"left\"> 并且我们注意,定位元素的坐标点是在margin值的左上边缘点,即图中的B点。那么所有的位移的计算将以这个点为基础进行元素的推动。</div><p>2.可以在任意一个位置的元素(绝对定位)</p><p>如上所述:相对定位只可以在文本流中进行位置的上下左右的移动,同样存在一定的局限性,虽然他的表现区脱离了文本流,但是在文本流却依然为其保留了一席之 地,这就好比一个打工的人他到了外地,但是在老家依然有一个专属于他的位置,这个位置不随他的移动而改变。但是这样很明显就会空出一块空白来,如果希望文 本流抛弃这个部分就需要用到绝对定位。绝对定位不光脱离了文本流,而且在文本流中也不会给这个绝对定位元素留下专属空位。这就好比是一个工厂里的职位,如 果有一个工人走了自然会要有别的工人来填充这个位置。而移动出去的部分自然也就成为了自由体。绝对定位将可以通过TRBL来设置元素,使之处在任何一个位 置。在父层position属性为默认值时,TRBL的坐标原点以body的坐标原点为起始。</p><div align=\"left\">3.被关联的绝对定位<p>上面说的是单一的绝对定位,而在实际的应用中我们常常会需要用到一种特别的形式。即希望定位元素要有绝对定位的特性,但是又希望绝对定位的坐标原点可以固 定在网页中的某一个点,当这个点被移动时绝对位定元素能保证相对于这个原坐标的相对位置。也就是说需要这个绝对定位要跟着网页移动,而并且是因定在网页的 某一个固定位置。通常当网页是居中形式的时候这种效果就会显得特别的重要。要实现这种效果基本方式就是为这个绝对定位的父级设置为相对定位或是绝对定位。 那么绝对定位的坐标就会以父级为坐标起始点。</p><p>虽然是如此,但是这个坐标原点却并不是父级的坐标原点,这是一个很奇怪的坐标位置。我们看一下模型图示:</p></div><div align=\"left\"><p align=\"left\">我们看到,这个图中父级为黑灰色区块,子级为青色区块。父级是相对定位,子级是绝对定位。子级 设置了顶部位移50个像素,左倾位移50个像素。那么我们看,子级的坐标原点并不是从父级的坐标原点位移50个像素,而是从父级块的padding左上边 缘点为坐标起始点(即A 点)。而父级这里如果要产生位置移动,或是浏览器窗口大小有所变动都不会影响到这个绝对定位元素与父级的相对定位元素之间的位置关系。这个子级也不用调整 数值。</p><p>这是一种很特别并且也是非常实用的应用方式。如果你之前对于定位的控制并不自如的话,相信看完对这里对定位的解释一定可以把定位使用得随心所欲。</p><p>4.总在视线里的元素 (固定定位)</p><p><strong> position:fixed</strong>; 他的含义就是:固定定位。这个固定与绝对定位很像,唯一不同的是绝对定位是被固定在网页中的某一个位置,而固定定位则是固定在浏览器的视框位置。</p></div>','0',2,'1',0,'',0,0,286,1499764652,1499916156,'够过瘾——挨踢男的葵花宝典','','',''),
(9,6,1,'admin','PHP实现长文章分页','PHP实现长文章分页,CLTPHP,CLTPHP内容管理系统,thinkphp,thinkphp内容管理系统','cltphp,当文章内容特长时,为了方便阅读和页面展示我们一般将内容分页来显示,如织梦CMS。而一般分页处理是在后台发布文章的时候就将提交的内容生成多个分页后的静态文件。本文我们结合实例来讲解采用PHP动态将长文章内容进行分页处理。','<h4>如何分页</h4><p>手动分页:一般在编辑内容时加入特殊分页标记,如{pages},提交后,PHP程序会根据分页符处理分页,生成不同的静态页面。这种分页方法分页准确,但是需要人工手动添加分页符,工作量大。</p><p>自动分页:PHP程序会根据设置好的分页符将内容进行分页,然后生成不同的静态页面。该方法效率高,对处理不同的html代码标签要求高。</p><p>前端JS分页:使用Javascript将长文章内容截取分段,根据请求展示不同的分段内容,达到分页效果。这种方法一次将内容读取,由前端js处理分页,体验好。</p><p>本文实例代码讲解的是采用PHP将长文章内容分页,可以自动和手动分页。至于生成静态html页面不在本文讲解范围内,后面我们会专门讲解生成静态方面的文章介绍。</p><h4>分页类</h4><pre class=\"prettyprint lang-php\"><span class=\"pun\"><span class=\"pln\">php \n</span><span class=\"com\">/* \n* 长文章分页类 \n*/</span><span class=\"pln\"> \n </span><span class=\"kwd\">class</span><span class=\"pln\"> cutpage</span><span class=\"pun\">{</span><span class=\"pln\"> \n </span><span class=\"kwd\">private</span><span class=\"pln\"> $pagestr</span><span class=\"pun\">;</span><span class=\"pln\"> </span><span class=\"com\">//被切分的内容 </span><span class=\"pln\">\n </span><span class=\"kwd\">private</span><span class=\"pln\"> $pagearr</span><span class=\"pun\">;</span><span class=\"pln\"> </span><span class=\"com\">//被切分文字的数组格式 </span><span class=\"pln\">\n </span><span class=\"kwd\">private</span><span class=\"pln\"> $sum_word</span><span class=\"pun\">;</span><span class=\"pln\"> </span><span class=\"com\">//总字数(UTF-8格式的中文字符也包括) </span><span class=\"pln\">\n </span><span class=\"kwd\">private</span><span class=\"pln\"> $sum_page</span><span class=\"pun\">;</span><span class=\"pln\"> </span><span class=\"com\">//总页数 </span><span class=\"pln\">\n </span><span class=\"kwd\">private</span><span class=\"pln\"> $page_word</span><span class=\"pun\">;</span><span class=\"pln\"> </span><span class=\"com\">//一页多少字 </span><span class=\"pln\">\n </span><span class=\"kwd\">private</span><span class=\"pln\"> $cut_tag</span><span class=\"pun\">;</span><span class=\"pln\"> </span><span class=\"com\">//自动分页符 </span><span class=\"pln\">\n </span><span class=\"kwd\">private</span><span class=\"pln\"> $cut_custom</span><span class=\"pun\">;</span><span class=\"pln\"> </span><span class=\"com\">//手动分页符 </span><span class=\"pln\">\n </span><span class=\"kwd\">private</span><span class=\"pln\"> $ipage</span><span class=\"pun\">;</span><span class=\"pln\"> </span><span class=\"com\">//当前切分的页数,第几页 </span><span class=\"pln\">\n </span><span class=\"kwd\">private</span><span class=\"pln\"> $url</span><span class=\"pun\">;</span><span class=\"pln\"> \n \n </span><span class=\"kwd\">function</span><span class=\"pln\"> __construct</span><span class=\"pun\">(</span><span class=\"pln\">$pagestr</span><span class=\"pun\">,</span><span class=\"pln\">$page_word</span><span class=\"pun\">=</span><span class=\"lit\">1000</span><span class=\"pun\">){</span><span class=\"pln\"> \n $this</span><span class=\"pun\">-></span><span class=\"pln\">page_word </span><span class=\"pun\">=</span><span class=\"pln\"> $page_word</span><span class=\"pun\">;</span><span class=\"pln\"> \n $this</span><span class=\"pun\">-></span><span class=\"pln\">cut_tag </span><span class=\"pun\">=</span><span class=\"pln\"> array</span><span class=\"pun\">(</span><span class=\"str\">\"\"</span><span class=\"pun\">,</span><span class=\"pln\"> </span><span class=\"str\">\"\"</span><span class=\"pun\">,</span><span class=\"pln\"> </span><span class=\"str\">\"<p></p>\"</span><span class=\"pun\">,</span><span class=\"pln\"> </span><span class=\"str\">\"<br>\"</span><span class=\"pun\">,</span><span class=\"pln\"> </span><span class=\"str\">\"”。\"</span><span class=\"pun\">,</span><span class=\"pln\"> </span><span class=\"str\">\"。\"</span><span class=\"pun\">,</span><span class=\"pln\"> </span><span class=\"str\">\".\"</span><span class=\"pun\">,</span><span class=\"pln\"> </span><span class=\"str\">\"!\"</span><span class=\"pun\">,</span><span class=\"pln\"> </span><span class=\"str\">\"……\"</span><span class=\"pun\">,</span><span class=\"pln\"> </span><span class=\"str\">\"?\"</span><span class=\"pun\">,</span><span class=\"pln\"> </span><span class=\"str\">\",\"</span><span class=\"pun\">);</span><span class=\"pln\"> \n $this</span><span class=\"pun\">-></span><span class=\"pln\">cut_custom </span><span class=\"pun\">=</span><span class=\"pln\"> </span><span class=\"str\">\"{nextpage}\"</span><span class=\"pun\">;</span><span class=\"pln\"> \n $tmp_page </span><span class=\"pun\">=</span><span class=\"pln\"> intval</span><span class=\"pun\">(</span><span class=\"pln\">trim</span><span class=\"pun\">(</span><span class=\"pln\">$_GET</span><span class=\"pun\">[</span><span class=\"str\">\"ipage\"</span><span class=\"pun\">]));</span><span class=\"pln\"> \n $this</span><span class=\"pun\">-></span><span class=\"pln\">ipage </span><span class=\"pun\">=</span><span class=\"pln\"> $tmp_page</span><span class=\"pun\">></span><span class=\"lit\">1</span><span class=\"pun\">?</span><span class=\"pln\">$tmp_page</span><span class=\"pun\">:</span><span class=\"lit\">1</span><span class=\"pun\">;</span><span class=\"pln\"> \n $this</span><span class=\"pun\">-></span><span class=\"pln\">pagestr </span><span class=\"pun\">=</span><span class=\"pln\"> $pagestr</span><span class=\"pun\">;</span><span class=\"pln\"> \n </span><span class=\"pun\">}</span><span class=\"pln\"> \n \n </span><span class=\"kwd\">function</span><span class=\"pln\"> cut_str</span><span class=\"pun\">(){</span><span class=\"pln\"> \n $str_len_word </span><span class=\"pun\">=</span><span class=\"pln\"> strlen</span><span class=\"pun\">(</span><span class=\"pln\">$this</span><span class=\"pun\">-></span><span class=\"pln\">pagestr</span><span class=\"pun\">);</span><span class=\"pln\"> </span><span class=\"com\">//获取使用strlen得到的字符总数 </span><span class=\"pln\">\n $i </span><span class=\"pun\">=</span><span class=\"pln\"> </span><span class=\"lit\">0</span><span class=\"pun\">;</span><span class=\"pln\"> \n </span><span class=\"kwd\">if</span><span class=\"pln\"> </span><span class=\"pun\">(</span><span class=\"pln\">$str_len_word</span><span class=\"pun\"><=</span><span class=\"pln\">$this</span><span class=\"pun\">-></span><span class=\"pln\">page_word</span><span class=\"pun\">){</span><span class=\"pln\"> </span><span class=\"com\">//如果总字数小于一页显示字数 </span><span class=\"pln\">\n $page_arr</span><span class=\"pun\">[</span><span class=\"pln\">$i</span><span class=\"pun\">]</span><span class=\"pln\"> </span><span class=\"pun\">=</span><span class=\"pln\"> $this</span><span class=\"pun\">-></span><span class=\"pln\">pagestr</span><span class=\"pun\">;</span><span class=\"pln\"> \n </span><span class=\"pun\">}</span><span class=\"kwd\">else</span><span class=\"pun\">{</span><span class=\"pln\"> \n </span><span class=\"kwd\">if</span><span class=\"pln\"> </span><span class=\"pun\">(</span><span class=\"pln\">strpos</span><span class=\"pun\">(</span><span class=\"pln\">$this</span><span class=\"pun\">-></span><span class=\"pln\">pagestr</span><span class=\"pun\">,</span><span class=\"pln\"> $this</span><span class=\"pun\">-></span><span class=\"pln\">cut_custom</span><span class=\"pun\">)){</span><span class=\"pln\"> \n $page_arr </span><span class=\"pun\">=</span><span class=\"pln\"> explode</span><span class=\"pun\">(</span><span class=\"pln\">$this</span><span class=\"pun\">-></span><span class=\"pln\">cut_custom</span><span class=\"pun\">,</span><span class=\"pln\"> $this</span><span class=\"pun\">-></span><span class=\"pln\">pagestr</span><span class=\"pun\">);</span><span class=\"pln\"> \n </span><span class=\"pun\">}</span><span class=\"kwd\">else</span><span class=\"pun\">{</span><span class=\"pln\"> \n $str_first </span><span class=\"pun\">=</span><span class=\"pln\"> substr</span><span class=\"pun\">(</span><span class=\"pln\">$this</span><span class=\"pun\">-></span><span class=\"pln\">pagestr</span><span class=\"pun\">,</span><span class=\"pln\"> </span><span class=\"lit\">0</span><span class=\"pun\">,</span><span class=\"pln\"> $this</span><span class=\"pun\">-></span><span class=\"pln\">page_word</span><span class=\"pun\">);</span><span class=\"pln\"> </span><span class=\"com\">//0-page_word个文字 cutStr为func.global中的函数 </span><span class=\"pln\">\n </span><span class=\"kwd\">foreach</span><span class=\"pln\"> </span><span class=\"pun\">(</span><span class=\"pln\">$this</span><span class=\"pun\">-></span><span class=\"pln\">cut_tag </span><span class=\"kwd\">as</span><span class=\"pln\"> $v</span><span class=\"pun\">){</span><span class=\"pln\"> \n $cut_start </span><span class=\"pun\">=</span><span class=\"pln\"> strrpos</span><span class=\"pun\">(</span><span class=\"pln\">$str_first</span><span class=\"pun\">,</span><span class=\"pln\"> $v</span><span class=\"pun\">);</span><span class=\"pln\"> </span><span class=\"com\">//逆向查找第一个分页符的位置 </span><span class=\"pln\">\n </span><span class=\"kwd\">if</span><span class=\"pln\"> </span><span class=\"pun\">(</span><span class=\"pln\">$cut_start</span><span class=\"pun\">){</span><span class=\"pln\"> \n $page_arr</span><span class=\"pun\">[</span><span class=\"pln\">$i</span><span class=\"pun\">++]</span><span class=\"pln\"> </span><span class=\"pun\">=</span><span class=\"pln\"> substr</span><span class=\"pun\">(</span><span class=\"pln\">$this</span><span class=\"pun\">-></span><span class=\"pln\">pagestr</span><span class=\"pun\">,</span><span class=\"pln\"> </span><span class=\"lit\">0</span><span class=\"pun\">,</span><span class=\"pln\"> $cut_start</span><span class=\"pun\">).</span><span class=\"pln\">$v</span><span class=\"pun\">;</span><span class=\"pln\"> \n $cut_start </span><span class=\"pun\">=</span><span class=\"pln\"> $cut_start </span><span class=\"pun\">+</span><span class=\"pln\"> strlen</span><span class=\"pun\">(</span><span class=\"pln\">$v</span><span class=\"pun\">);</span><span class=\"pln\"> \n </span><span class=\"kwd\">break</span><span class=\"pun\">;</span><span class=\"pln\"> \n </span><span class=\"pun\">}</span><span class=\"pln\"> \n </span><span class=\"pun\">}</span><span class=\"pln\"> \n </span><span class=\"kwd\">if</span><span class=\"pln\"> </span><span class=\"pun\">((</span><span class=\"pln\">$cut_start</span><span class=\"pun\">+</span><span class=\"pln\">$this</span><span class=\"pun\">-></span><span class=\"pln\">page_word</span><span class=\"pun\">)>=</span><span class=\"pln\">$str_len_word</span><span class=\"pun\">){</span><span class=\"pln\"> </span><span class=\"com\">//如果超过总字数 </span><span class=\"pln\">\n $page_arr</span><span class=\"pun\">[</span><span class=\"pln\">$i</span><span class=\"pun\">++]</span><span class=\"pln\"> </span><span class=\"pun\">=</span><span class=\"pln\"> substr</span><span class=\"pun\">(</span><span class=\"pln\">$this</span><span class=\"pun\">-></span><span class=\"pln\">pagestr</span><span class=\"pun\">,</span><span class=\"pln\"> $cut_start</span><span class=\"pun\">,</span><span class=\"pln\"> $this</span><span class=\"pun\">-></span><span class=\"pln\">page_word</span><span class=\"pun\">);</span><span class=\"pln\"> \n </span><span class=\"pun\">}</span><span class=\"kwd\">else</span><span class=\"pun\">{</span><span class=\"pln\"> \n </span><span class=\"kwd\">while</span><span class=\"pln\"> </span><span class=\"pun\">((</span><span class=\"pln\">$cut_start</span><span class=\"pun\">+</span><span class=\"pln\">$this</span><span class=\"pun\">-></span><span class=\"pln\">page_word</span><span class=\"pun\">)<</span><span class=\"pln\">$str_len_word</span><span class=\"pun\">){</span><span class=\"pln\"> \n </span><span class=\"kwd\">foreach</span><span class=\"pln\"> </span><span class=\"pun\">(</span><span class=\"pln\">$this</span><span class=\"pun\">-></span><span class=\"pln\">cut_tag </span><span class=\"kwd\">as</span><span class=\"pln\"> $v</span><span class=\"pun\">){</span><span class=\"pln\"> \n $str_tmp </span><span class=\"pun\">=</span><span class=\"pln\"> substr</span><span class=\"pun\">(</span><span class=\"pln\">$this</span><span class=\"pun\">-></span><span class=\"pln\">pagestr</span><span class=\"pun\">,</span><span class=\"pln\"> $cut_start</span><span class=\"pun\">,</span><span class=\"pln\"> $this</span><span class=\"pun\">-></span><span class=\"pln\">page_word</span><span class=\"pun\">);</span><span class=\"pln\"> </span><span class=\"com\">//取第cut_start个字后的page_word个字符 </span><span class=\"pln\">\n $cut_tmp </span><span class=\"pun\">=</span><span class=\"pln\"> strrpos</span><span class=\"pun\">(</span><span class=\"pln\">$str_tmp</span><span class=\"pun\">,</span><span class=\"pln\"> $v</span><span class=\"pun\">);</span><span class=\"pln\"> </span><span class=\"com\">//找出从第cut_start个字之后,page_word个字之间,逆向查找第一个分页符的位置 </span><span class=\"pln\">\n </span><span class=\"kwd\">if</span><span class=\"pln\"> </span><span class=\"pun\">(</span><span class=\"pln\">$cut_tmp</span><span class=\"pun\">){</span><span class=\"pln\"> \n $page_arr</span><span class=\"pun\">[</span><span class=\"pln\">$i</span><span class=\"pun\">++]</span><span class=\"pln\"> </span><span class=\"pun\">=</span><span class=\"pln\"> substr</span><span class=\"pun\">(</span><span class=\"pln\">$str_tmp</span><span class=\"pun\">,</span><span class=\"pln\"> </span><span class=\"lit\">0</span><span class=\"pun\">,</span><span class=\"pln\"> $cut_tmp</span><span class=\"pun\">).</span><span class=\"pln\">$v</span><span class=\"pun\">;</span><span class=\"pln\"> \n $cut_start </span><span class=\"pun\">=</span><span class=\"pln\"> $cut_start </span><span class=\"pun\">+</span><span class=\"pln\"> $cut_tmp </span><span class=\"pun\">+</span><span class=\"pln\"> strlen</span><span class=\"pun\">(</span><span class=\"pln\">$v</span><span class=\"pun\">);</span><span class=\"pln\"> \n </span><span class=\"kwd\">break</span><span class=\"pun\">;</span><span class=\"pln\"> \n </span><span class=\"pun\">}</span><span class=\"pln\"> \n </span><span class=\"pun\">}</span><span class=\"pln\"> \n </span><span class=\"pun\">}</span><span class=\"pln\"> \n </span><span class=\"kwd\">if</span><span class=\"pln\"> </span><span class=\"pun\">((</span><span class=\"pln\">$cut_start</span><span class=\"pun\">+</span><span class=\"pln\">$this</span><span class=\"pun\">-></span><span class=\"pln\">page_word</span><span class=\"pun\">)></span><span class=\"pln\">$str_len_word</span><span class=\"pun\">){</span><span class=\"pln\"> \n $page_arr</span><span class=\"pun\">[</span><span class=\"pln\">$i</span><span class=\"pun\">++]</span><span class=\"pln\"> </span><span class=\"pun\">=</span><span class=\"pln\"> substr</span><span class=\"pun\">(</span><span class=\"pln\">$this</span><span class=\"pun\">-></span><span class=\"pln\">pagestr</span><span class=\"pun\">,</span><span class=\"pln\"> $cut_start</span><span class=\"pun\">,</span><span class=\"pln\"> $this</span><span class=\"pun\">-></span><span class=\"pln\">page_word</span><span class=\"pun\">);</span><span class=\"pln\"> \n </span><span class=\"pun\">}</span><span class=\"pln\"> \n </span><span class=\"pun\">}</span><span class=\"pln\"> \n </span><span class=\"pun\">}</span><span class=\"pln\"> \n </span><span class=\"pun\">}</span><span class=\"pln\"> \n $this</span><span class=\"pun\">-></span><span class=\"pln\">sum_page </span><span class=\"pun\">=</span><span class=\"pln\"> count</span><span class=\"pun\">(</span><span class=\"pln\">$page_arr</span><span class=\"pun\">);</span><span class=\"pln\"> </span><span class=\"com\">//总页数 </span><span class=\"pln\">\n $this</span><span class=\"pun\">-></span><span class=\"pln\">pagearr </span><span class=\"pun\">=</span><span class=\"pln\"> $page_arr</span><span class=\"pun\">;</span><span class=\"pln\"> \n </span><span class=\"kwd\">return</span><span class=\"pln\"> $page_arr</span><span class=\"pun\">;</span><span class=\"pln\"> \n </span><span class=\"pun\">}</span><span class=\"pln\"> \n </span><span class=\"com\">//显示上一条,下一条 </span><span class=\"pln\">\n </span><span class=\"kwd\">function</span><span class=\"pln\"> pagenav</span><span class=\"pun\">(){</span><span class=\"pln\"> \n $this</span><span class=\"pun\">-></span><span class=\"pln\">set_url</span><span class=\"pun\">();</span><span class=\"pln\"> \n $str </span><span class=\"pun\">=</span><span class=\"pln\"> </span><span class=\"str\">\'\'</span><span class=\"pun\">;</span><span class=\"pln\"> \n \n </span><span class=\"com\">//$str .= $this->ipage.\'/\'.$this->sum_page; </span><span class=\"pln\">\n \n </span><span class=\"kwd\">for</span><span class=\"pun\">(</span><span class=\"pln\">$i</span><span class=\"pun\">=</span><span class=\"lit\">1</span><span class=\"pun\">;</span><span class=\"pln\">$i</span><span class=\"pun\"><=</span><span class=\"pln\">$this</span><span class=\"pun\">-></span><span class=\"pln\">sum_page</span><span class=\"pun\">;</span><span class=\"pln\">$i</span><span class=\"pun\">++){</span><span class=\"pln\"> \n </span><span class=\"kwd\">if</span><span class=\"pun\">(</span><span class=\"pln\">$i</span><span class=\"pun\">==</span><span class=\"pln\">$this</span><span class=\"pun\">-></span><span class=\"pln\">ipage</span><span class=\"pun\">)</span><span class=\"pln\"> </span><span class=\"pun\">{</span><span class=\"pln\"> \n $str</span><span class=\"pun\">.=</span><span class=\"pln\"> </span><span class=\"str\">\"<a href=\"http://cltphp.com/admin/article/edit.html?id=23&catid=50#\" class=\"cur\">\"</a></span><a href=\"http://cltphp.com/admin/article/edit.html?id=23&catid=50#\" class=\"cur\"><span class=\"pun\">.</span><span class=\"pln\">$i</span><span class=\"pun\">.</span><span class=\"str\">\"</span></a> \"</span><span class=\"pun\">;</span><span class=\"pln\"> \n </span><span class=\"pun\">}</span><span class=\"kwd\">else</span><span class=\"pun\">{</span><span class=\"pln\"> \n $str</span><span class=\"pun\">.=</span><span class=\"pln\"> </span><span class=\"str\">\"<a href=\"http://cltphp.com/admin/article/edit.html?id=23&catid=50\" <=\"\" span=\"\"><span class=\"pun\">.</span><span class=\"pln\">$this</span><span class=\"pun\">-></span><span class=\"pln\">url</span><span class=\"pun\">.</span><span class=\"pln\">$i</span><span class=\"pun\">.</span><span class=\"str\">\"\">\"</span></a></span><a href=\"http://cltphp.com/admin/article/edit.html?id=23&catid=50\" <=\"\" span=\"\"><span class=\"pun\">.</span><span class=\"pln\">$this</span><span class=\"pun\">-></span><span class=\"pln\">url</span><span class=\"pun\">.</span><span class=\"pln\">$i</span><span class=\"pun\">.</span><span class=\"str\">\"\"><span class=\"pun\">.</span><span class=\"pln\">$i</span><span class=\"pun\">.</span><span class=\"str\">\"</span></span></a> \"<span class=\"pun\">;</span><span class=\"pln\"> \n </span><span class=\"pun\">}</span><span class=\"pln\"> \n </span><span class=\"pun\">}</span><span class=\"pln\"> \n \n \n </span><span class=\"kwd\">return</span><span class=\"pln\"> $str</span><span class=\"pun\">;</span><span class=\"pln\"> \n </span><span class=\"pun\">}</span><span class=\"pln\"> \n \n </span><span class=\"kwd\">function</span><span class=\"pln\"> set_url</span><span class=\"pun\">(){</span><span class=\"pln\"> \n parse_str</span><span class=\"pun\">(</span><span class=\"pln\">$_SERVER</span><span class=\"pun\">[</span><span class=\"str\">\"QUERY_STRING\"</span><span class=\"pun\">],</span><span class=\"pln\"> $arr_url</span><span class=\"pun\">);</span><span class=\"pln\"> \n unset</span><span class=\"pun\">(</span><span class=\"pln\">$arr_url</span><span class=\"pun\">[</span><span class=\"str\">\"ipage\"</span><span class=\"pun\">]);</span><span class=\"pln\"> \n </span><span class=\"kwd\">if</span><span class=\"pln\"> </span><span class=\"pun\">(</span><span class=\"pln\">empty</span><span class=\"pun\">(</span><span class=\"pln\">$arr_url</span><span class=\"pun\">)){</span><span class=\"pln\"> \n $str </span><span class=\"pun\">=</span><span class=\"pln\"> </span><span class=\"str\">\"ipage=\"</span><span class=\"pun\">;</span><span class=\"pln\"> \n </span><span class=\"pun\">}</span><span class=\"kwd\">else</span><span class=\"pun\">{</span><span class=\"pln\"> \n $str </span><span class=\"pun\">=</span><span class=\"pln\"> http_build_query</span><span class=\"pun\">(</span><span class=\"pln\">$arr_url</span><span class=\"pun\">).</span><span class=\"str\">\"&ipage=\"</span><span class=\"pun\">;</span><span class=\"pln\"> \n </span><span class=\"pun\">}</span><span class=\"pln\"> \n $this</span><span class=\"pun\">-></span><span class=\"pln\">url </span><span class=\"pun\">=</span><span class=\"pln\"> </span><span class=\"str\">\"http://\"</span><span class=\"pun\">.</span><span class=\"pln\">$_SERVER</span><span class=\"pun\">[</span><span class=\"str\">\"HTTP_HOST\"</span><span class=\"pun\">].</span><span class=\"pln\">$_SERVER</span><span class=\"pun\">[</span><span class=\"str\">\"PHP_SELF\"</span><span class=\"pun\">].</span><span class=\"str\">\"?\"</span><span class=\"pun\">.</span><span class=\"pln\">$str</span><span class=\"pun\">;</span><span class=\"pln\"> \n </span><span class=\"pun\">}</span><span class=\"pln\"> \n </span><span class=\"pun\">}</span><span class=\"pln\"> \n</span><span class=\"pun\">?></span><span class=\"pln\"> </span></pre><p>以上cutpage类可以非常好的处理内容分页,能处理不同html标签给分页带来的麻烦。如果内容设置了分页符{nextpage},则会优先自动将内容按分页符分页。</p><h4>调用分页类</h4><p>我们假设读取了文件text.txt的文章内容,实际项目中应该是表单提交长内容或者读取数据库相关表的内容。然后实例化分页类,然后根据当前页调用对应分页的内容并输出,以及输出分页条。</p><pre class=\"prettyprint lang-php\"><span class=\"pun\"><span class=\"pln\">php \n$content </span><span class=\"pun\">=</span><span class=\"pln\"> file_get_contents</span><span class=\"pun\">(</span><span class=\"str\">\'text.txt\'</span><span class=\"pun\">);</span><span class=\"pln\"> \n $ipage </span><span class=\"pun\">=</span><span class=\"pln\"> $_GET</span><span class=\"pun\">[</span><span class=\"str\">\"ipage\"</span><span class=\"pun\">]?</span><span class=\"pln\"> intval</span><span class=\"pun\">(</span><span class=\"pln\">$_GET</span><span class=\"pun\">[</span><span class=\"str\">\"ipage\"</span><span class=\"pun\">]):</span><span class=\"lit\">1</span><span class=\"pun\">;</span><span class=\"pln\"> \n $CP </span><span class=\"pun\">=</span><span class=\"pln\"> </span><span class=\"kwd\">new</span><span class=\"pln\"> cutpage</span><span class=\"pun\">(</span><span class=\"pln\">$content</span><span class=\"pun\">);</span><span class=\"pln\"> \n $page </span><span class=\"pun\">=</span><span class=\"pln\"> $CP</span><span class=\"pun\">-></span><span class=\"pln\">cut_str</span><span class=\"pun\">();</span><span class=\"pln\"> \n echo $page</span><span class=\"pun\">[</span><span class=\"pln\">$ipage</span><span class=\"pun\">-</span><span class=\"lit\">1</span><span class=\"pun\">];</span><span class=\"pln\"> \n echo $CP</span><span class=\"pun\">-></span><span class=\"pln\">pagenav</span><span class=\"pun\">();</span><span class=\"pln\"> \n</span><span class=\"pun\">?></span><span class=\"pln\"> </span></span></pre><p>值得注意的是,使用统一UTF-8的文件编码,会让你的编码工作更加顺畅。</p>','0',2,'1',0,'',0,0,311,1499764826,1499916131,'够过瘾——挨踢男的葵花宝典','','',''),
(10,6,1,'admin','PHP 汉字转拼音函数','PHP 汉字转拼音函数,CLTPHP,CLTPHP内容管理系统,thinkphp,thinkphp内容管理系统','PHP 汉字转拼音函数,CLTPHP,CLTPHP内容管理系统,thinkphp,thinkphp内容管理系统','<p><pre><span>function </span><span>Pinyin</span><span>(</span><span>$_String</span><span>, </span><span>$_Code</span><span>=</span><span>\'UTF8\'</span><span>){ </span><span>//GBK页面可改为gb2312,其他随意填写为UTF8<br></span><span> </span><span>$_DataKey </span><span>= </span><span>\"a|ai|an|ang|ao|ba|bai|ban|bang|bao|bei|ben|beng|bi|bian|biao|bie|bin|bing|bo|bu|ca|cai|can|cang|cao|ce|ceng|cha\"</span><span>.<br></span><span> </span><span>\"|chai|chan|chang|chao|che|chen|cheng|chi|chong|chou|chu|chuai|chuan|chuang|chui|chun|chuo|ci|cong|cou|cu|\"</span><span>.<br></span><span> </span><span>\"cuan|cui|cun|cuo|da|dai|dan|dang|dao|de|deng|di|dian|diao|die|ding|diu|dong|dou|du|duan|dui|dun|duo|e|en|er\"</span><span>.<br></span><span> </span><span>\"|fa|fan|fang|fei|fen|feng|fo|fou|fu|ga|gai|gan|gang|gao|ge|gei|gen|geng|gong|gou|gu|gua|guai|guan|guang|gui\"</span><span>.<br></span><span> </span><span>\"|gun|guo|ha|hai|han|hang|hao|he|hei|hen|heng|hong|hou|hu|hua|huai|huan|huang|hui|hun|huo|ji|jia|jian|jiang\"</span><span>.<br></span><span> </span><span>\"|jiao|jie|jin|jing|jiong|jiu|ju|juan|jue|jun|ka|kai|kan|kang|kao|ke|ken|keng|kong|kou|ku|kua|kuai|kuan|kuang\"</span><span>.<br></span><span> </span><span>\"|kui|kun|kuo|la|lai|lan|lang|lao|le|lei|leng|li|lia|lian|liang|liao|lie|lin|ling|liu|long|lou|lu|lv|luan|lue\"</span><span>.<br></span><span> </span><span>\"|lun|luo|ma|mai|man|mang|mao|me|mei|men|meng|mi|mian|miao|mie|min|ming|miu|mo|mou|mu|na|nai|nan|nang|nao|ne\"</span><span>.<br></span><span> </span><span>\"|nei|nen|neng|ni|nian|niang|niao|nie|nin|ning|niu|nong|nu|nv|nuan|nue|nuo|o|ou|pa|pai|pan|pang|pao|pei|pen\"</span><span>.<br></span><span> </span><span>\"|peng|pi|pian|piao|pie|pin|ping|po|pu|qi|qia|qian|qiang|qiao|qie|qin|qing|qiong|qiu|qu|quan|que|qun|ran|rang\"</span><span>.<br></span><span> </span><span>\"|rao|re|ren|reng|ri|rong|rou|ru|ruan|rui|run|ruo|sa|sai|san|sang|sao|se|sen|seng|sha|shai|shan|shang|shao|\"</span><span>.<br></span><span> </span><span>\"she|shen|sheng|shi|shou|shu|shua|shuai|shuan|shuang|shui|shun|shuo|si|song|sou|su|suan|sui|sun|suo|ta|tai|\"</span><span>.<br></span><span> </span><span>\"tan|tang|tao|te|teng|ti|tian|tiao|tie|ting|tong|tou|tu|tuan|tui|tun|tuo|wa|wai|wan|wang|wei|wen|weng|wo|wu\"</span><span>.<br></span><span> </span><span>\"|xi|xia|xian|xiang|xiao|xie|xin|xing|xiong|xiu|xu|xuan|xue|xun|ya|yan|yang|yao|ye|yi|yin|ying|yo|yong|you\"</span><span>.<br></span><span> </span><span>\"|yu|yuan|yue|yun|za|zai|zan|zang|zao|ze|zei|zen|zeng|zha|zhai|zhan|zhang|zhao|zhe|zhen|zheng|zhi|zhong|\"</span><span>.<br></span><span> </span><span>\"zhou|zhu|zhua|zhuai|zhuan|zhuang|zhui|zhun|zhuo|zi|zong|zou|zu|zuan|zui|zun|zuo\"</span><span>;<br></span><span> </span><span>$_DataValue </span><span>= </span><span>\"-20319|-20317|-20304|-20295|-20292|-20283|-20265|-20257|-20242|-20230|-20051|-20036|-20032|-20026|-20002|-19990\"</span><span>.<br></span><span> </span><span>\"|-19986|-19982|-19976|-19805|-19784|-19775|-19774|-19763|-19756|-19751|-19746|-19741|-19739|-19728|-19725\"</span><span>.<br></span><span> </span><span>\"|-19715|-19540|-19531|-19525|-19515|-19500|-19484|-19479|-19467|-19289|-19288|-19281|-19275|-19270|-19263\"</span><span>.<br></span><span> </span><span>\"|-19261|-19249|-19243|-19242|-19238|-19235|-19227|-19224|-19218|-19212|-19038|-19023|-19018|-19006|-19003\"</span><span>.<br></span><span> </span><span>\"|-18996|-18977|-18961|-18952|-18783|-18774|-18773|-18763|-18756|-18741|-18735|-18731|-18722|-18710|-18697\"</span><span>.<br></span><span> </span><span>\"|-18696|-18526|-18518|-18501|-18490|-18478|-18463|-18448|-18447|-18446|-18239|-18237|-18231|-18220|-18211\"</span><span>.<br></span><span> </span><span>\"|-18201|-18184|-18183|-18181|-18012|-17997|-17988|-17970|-17964|-17961|-17950|-17947|-17931|-17928|-17922\"</span><span>.<br></span><span> </span><span>\"|-17759|-17752|-17733|-17730|-17721|-17703|-17701|-17697|-17692|-17683|-17676|-17496|-17487|-17482|-17468\"</span><span>.<br></span><span> </span><span>\"|-17454|-17433|-17427|-17417|-17202|-17185|-16983|-16970|-16942|-16915|-16733|-16708|-16706|-16689|-16664\"</span><span>.<br></span><span> </span><span>\"|-16657|-16647|-16474|-16470|-16465|-16459|-16452|-16448|-16433|-16429|-16427|-16423|-16419|-16412|-16407\"</span><span>.<br></span><span> </span><span>\"|-16403|-16401|-16393|-16220|-16216|-16212|-16205|-16202|-16187|-16180|-16171|-16169|-16158|-16155|-15959\"</span><span>.<br></span><span> </span><span>\"|-15958|-15944|-15933|-15920|-15915|-15903|-15889|-15878|-15707|-15701|-15681|-15667|-15661|-15659|-15652\"</span><span>.<br></span><span> </span><span>\"|-15640|-15631|-15625|-15454|-15448|-15436|-15435|-15419|-15416|-15408|-15394|-15385|-15377|-15375|-15369\"</span><span>.<br></span><span> </span><span>\"|-15363|-15362|-15183|-15180|-15165|-15158|-15153|-15150|-15149|-15144|-15143|-15141|-15140|-15139|-15128\"</span><span>.<br></span><span> </span><span>\"|-15121|-15119|-15117|-15110|-15109|-14941|-14937|-14933|-14930|-14929|-14928|-14926|-14922|-14921|-14914\"</span><span>.<br></span><span> </span><span>\"|-14908|-14902|-14894|-14889|-14882|-14873|-14871|-14857|-14678|-14674|-14670|-14668|-14663|-14654|-14645\"</span><span>.<br></span><span> </span><span>\"|-14630|-14594|-14429|-14407|-14399|-14384|-14379|-14368|-14355|-14353|-14345|-14170|-14159|-14151|-14149\"</span><span>.<br></span><span> </span><span>\"|-14145|-14140|-14137|-14135|-14125|-14123|-14122|-14112|-14109|-14099|-14097|-14094|-14092|-14090|-14087\"</span><span>.<br></span><span> </span><span>\"|-14083|-13917|-13914|-13910|-13907|-13906|-13905|-13896|-13894|-13878|-13870|-13859|-13847|-13831|-13658\"</span><span>.<br></span><span> </span><span>\"|-13611|-13601|-13406|-13404|-13400|-13398|-13395|-13391|-13387|-13383|-13367|-13359|-13356|-13343|-13340\"</span><span>.<br></span><span> </span><span>\"|-13329|-13326|-13318|-13147|-13138|-13120|-13107|-13096|-13095|-13091|-13076|-13068|-13063|-13060|-12888\"</span><span>.<br></span><span> </span><span>\"|-12875|-12871|-12860|-12858|-12852|-12849|-12838|-12831|-12829|-12812|-12802|-12607|-12597|-12594|-12585\"</span><span>.<br></span><span> </span><span>\"|-12556|-12359|-12346|-12320|-12300|-12120|-12099|-12089|-12074|-12067|-12058|-12039|-11867|-11861|-11847\"</span><span>.<br></span><span> </span><span>\"|-11831|-11798|-11781|-11604|-11589|-11536|-11358|-11340|-11339|-11324|-11303|-11097|-11077|-11067|-11055\"</span><span>.<br></span><span> </span><span>\"|-11052|-11045|-11041|-11038|-11024|-11020|-11019|-11018|-11014|-10838|-10832|-10815|-10800|-10790|-10780\"</span><span>.<br></span><span> </span><span>\"|-10764|-10587|-10544|-10533|-10519|-10331|-10329|-10328|-10322|-10315|-10309|-10307|-10296|-10281|-10274\"</span><span>.<br></span><span> </span><span>\"|-10270|-10262|-10260|-10256|-10254\"</span><span>;<br></span><span> </span><span>$_TDataKey </span><span>= explode(</span><span>\'|\'</span><span>, </span><span>$_DataKey</span><span>)</span><span>;<br></span><span> </span><span>$_TDataValue </span><span>= explode(</span><span>\'|\'</span><span>, </span><span>$_DataValue</span><span>)</span><span>;<br></span><span> </span><span>$_Data </span><span>= array_combine(</span><span>$_TDataKey</span><span>, </span><span>$_TDataValue</span><span>)</span><span>;<br></span><span> </span><span>arsort(</span><span>$_Data</span><span>)</span><span>;<br></span><span> </span><span>reset(</span><span>$_Data</span><span>)</span><span>;<br></span><span> </span><span>if</span><span>(</span><span>$_Code</span><span>!= </span><span>\'gb2312\'</span><span>) </span><span>$_String </span><span>= _U2_Utf8_Gb(</span><span>$_String</span><span>)</span><span>;<br></span><span> </span><span>$_Res </span><span>= </span><span>\'\'</span><span>;<br></span><span> </span><span>for</span><span>(</span><span>$i</span><span>=</span><span>0</span><span>; </span><span>$i$_P </span><span>= ord(substr(</span><span>$_String</span><span>, </span><span>$i</span><span>, </span><span>1</span><span>))</span><span>;<br></span><span> </span><span>if</span><span>(</span><span>$_P</span><span>></span><span>160</span><span>) {<br></span><span> </span><span>$_Q </span><span>= ord(substr(</span><span>$_String</span><span>, </span><span>++</span><span>$i</span><span>, </span><span>1</span><span>))</span><span>; </span><span>$_P </span><span>= </span><span>$_P</span><span>*</span><span>256 </span><span>+ </span><span>$_Q </span><span>- </span><span>65536</span><span>;<br></span><span> </span><span>}<br></span><span> </span><span>$_Res </span><span>.= _Pinyin(</span><span>$_P</span><span>, </span><span>$_Data</span><span>)</span><span>;<br></span><span>}<br></span><span>return </span><span>preg_replace(</span><span>\"/[^a-z0-9]*/\"</span><span>, </span><span>\'\'</span><span>, </span><span>$_Res</span><span>)</span><span>;<br></span><span>}<br></span><span>function </span><span>_Pinyin</span><span>(</span><span>$_Num</span><span>, </span><span>$_Data</span><span>){<br></span><span> </span><span>if</span><span>(</span><span>$_Num</span><span>></span><span>0 </span><span>&& </span><span>$_Num</span><span><</span><span>160 </span><span>){<br></span><span> </span><span>return </span><span>chr(</span><span>$_Num</span><span>)</span><span>;<br></span><span> </span><span>}</span><span>elseif</span><span>(</span><span>$_Num</span><span><-</span><span>20319 </span><span>|| </span><span>$_Num</span><span>>-</span><span>10247</span><span>){<br></span><span> </span><span>return </span><span>\'\'</span><span>;<br></span><span> </span><span>}</span><span>else</span><span>{<br></span><span> </span><span>foreach</span><span>(</span><span>$_Data </span><span>as </span><span>$k</span><span>=></span><span>$v</span><span>){ </span><span>if</span><span>(</span><span>$v</span><span><=</span><span>$_Num</span><span>) </span><span>break</span><span>; </span><span>}<br></span><span> </span><span>return </span><span>$k</span><span>;<br></span><span> </span><span>}<br></span><span>}<br></span><span>function </span><span>_U2_Utf8_Gb</span><span>(</span><span>$_C</span><span>){<br></span><span> </span><span>$_String </span><span>= </span><span>\'\'</span><span>;<br></span><span> </span><span>if</span><span>(</span><span>$_C </span><span>< </span><span>0x80</span><span>){<br></span><span> </span><span>$_String </span><span>.= </span><span>$_C</span><span>;<br></span><span> </span><span>}</span><span>elseif</span><span>(</span><span>$_C </span><span>< </span><span>0x800</span><span>) {<br></span><span> </span><span>$_String </span><span>.= chr(</span><span>0xC0 </span><span>| </span><span>$_C</span><span>>></span><span>6</span><span>)</span><span>;<br></span><span> </span><span>$_String </span><span>.= chr(</span><span>0x80 </span><span>| </span><span>$_C </span><span>& </span><span>0x3F</span><span>)</span><span>;<br></span><span> </span><span>}</span><span>elseif</span><span>(</span><span>$_C </span><span>< </span><span>0x10000</span><span>){<br></span><span> </span><span>$_String </span><span>.= chr(</span><span>0xE0 </span><span>| </span><span>$_C</span><span>>></span><span>12</span><span>)</span><span>;<br></span><span> </span><span>$_String </span><span>.= chr(</span><span>0x80 </span><span>| </span><span>$_C</span><span>>></span><span>6 </span><span>& </span><span>0x3F</span><span>)</span><span>;<br></span><span> </span><span>$_String </span><span>.= chr(</span><span>0x80 </span><span>| </span><span>$_C </span><span>& </span><span>0x3F</span><span>)</span><span>;<br></span><span> </span><span>}</span><span>elseif</span><span>(</span><span>$_C </span><span>< </span><span>0x200000</span><span>) {<br></span><span> </span><span>$_String </span><span>.= chr(</span><span>0xF0 </span><span>| </span><span>$_C</span><span>>></span><span>18</span><span>)</span><span>;<br></span><span> </span><span>$_String </span><span>.= chr(</span><span>0x80 </span><span>| </span><span>$_C</span><span>>></span><span>12 </span><span>& </span><span>0x3F</span><span>)</span><span>;<br></span><span> </span><span>$_String </span><span>.= chr(</span><span>0x80 </span><span>| </span><span>$_C</span><span>>></span><span>6 </span><span>& </span><span>0x3F</span><span>)</span><span>;<br></span><span> </span><span>$_String </span><span>.= chr(</span><span>0x80 </span><span>| </span><span>$_C </span><span>& </span><span>0x3F</span><span>)</span><span>;<br></span><span> </span><span>}<br></span><span> </span><span>return </span><span>iconv(</span><span>\'UTF-8\'</span><span>, </span><span>\'GB2312\'</span><span>, </span><span>$_String</span><span>)</span><span>;<br></span><span>}<br></span><span><br></span><span><br></span><span>//echo Pinyin(\'汉字\');<br></span><span>//测试<br></span><span>echo </span><span>Pinyin(</span><span>\'中文字\'</span><span>,</span><span>\'gb2312\'</span><span>)</span><span>; </span><span>//第二个参数“1”可随意设置即为utf8编码</span></pre></p><p><strlen($_string); $i++)=\"\" { <br=\"\"></strlen($_string);></p>','0',2,'1',0,'1,2,3,4',0,0,740,1499828506,1501139662,'博客园','','',''),
(11,5,1,'admin','CLTPHP4.3版本更新','CLTPHP4.3版本更新,CLTPHP,CLTPHP内容管理系统','CLTPHP4.3版本更新,CLTPHP,CLTPHP内容管理系统','<p>更新内容</p><p>1.后台模型建立重构</p><p>2.新增文件上传</p><p>3.更改标题样式和缩略图数据库存放方式</p><p>4.后台文章栏目标题样式添加</p><p>5.修改部分bug,删减了系统冗余内容</p><p><strong><em>注意:本次修改重构了模型,4.2及以前版本不可直接覆盖代码</em></strong></p><p>推荐环境:apache2.4+php5.5(以上)+mysql5.0(以上)</p><p>开发环境:phpStudy 2016 php5.5.38</p>','0',0,'1',0,'',0,0,807,1499828638,1505264287,'CLTPHP','http://www.cltphp.com/','',''),
(12,5,1,'admin','CLTPHP手册栏目管理更新,CLTPHP核心价值,尽在其中!','CLTPHP手册栏目管理更新,CLTPHP核心价值,尽在其中!','CLTPHP手册栏目管理更新,CLTPHP核心价值,尽在其中!','<p><a target=\"_self\" href=\"http://www.cltphp.com/\">CLTPHP</a>手册栏目管理更新,CLTPHP核心价值,尽在其中。</p><p>喜欢的朋友可以购买参考</p><p>同时希望CLTPHP的爱好者,可以给我提出更多CLTPHP的不足之处,让CLTPHP更健康的成长。</p><p>手册地址:https://www.kancloud.cn/chichu/cltphp/</p>','0',2,'1',0,'',0,0,763,1500014331,1501031503,'CLTPHP','http://www.cltphp.com/','',''),
(13,6,1,'admin','PHP获取客户端浏览器类型以及版本号','PHP获取客户端浏览器类型以及版本号','PHP获取客户端浏览器类型以及版本号','<article class=\"post-item clearfix\"><section class=\"post-entry\"><pre class=\"prettyprint lang-php\"><div class=\"line number1 index0 alt2\"><code class=\"php comments\">/**</code></div><div class=\"line number2 index1 alt1\"><code class=\"php spaces\"> </code><code class=\"php comments\">* 获取客户端浏览器类型</code></div><div class=\"line number3 index2 alt2\"><code class=\"php spaces\"> </code><code class=\"php comments\">* @param string $glue 浏览器类型和版本号之间的连接符</code></div><div class=\"line number4 index3 alt1\"><code class=\"php spaces\"> </code><code class=\"php comments\">* @return string|array 传递连接符则连接浏览器类型和版本号返回字符串否则直接返回数组 false为未知浏览器类型</code></div><div class=\"line number5 index4 alt2\"><code class=\"php spaces\"> </code><code class=\"php comments\">*/</code></div><div class=\"line number6 index5 alt1\"><code class=\"php spaces\"> </code><code class=\"php keyword\">function</code> <code class=\"php plain\">get_client_browser(</code><code class=\"php variable\">$glue</code> <code class=\"php plain\">= null) {</code></div><div class=\"line number7 index6 alt2\"><code class=\"php spaces\"> </code><code class=\"php variable\">$browser</code> <code class=\"php plain\">= </code><code class=\"php keyword\">array</code><code class=\"php plain\">();</code></div><div class=\"line number8 index7 alt1\"><code class=\"php spaces\"> </code><code class=\"php variable\">$agent</code> <code class=\"php plain\">= </code><code class=\"php variable\">$_SERVER</code><code class=\"php plain\">[</code><code class=\"php string\">\'HTTP_USER_AGENT\'</code><code class=\"php plain\">]; </code><code class=\"php comments\">//获取客户端信息</code></div><div class=\"line number9 index8 alt2\"><code class=\"php spaces\"> </code><code class=\"php comments\">/* 定义浏览器特性正则表达式 */</code></div><div class=\"line number10 index9 alt1\"><code class=\"php spaces\"> </code><code class=\"php variable\">$regex</code> <code class=\"php plain\">= </code><code class=\"php keyword\">array</code><code class=\"php plain\">(</code></div><div class=\"line number11 index10 alt2\"><code class=\"php spaces\"> </code><code class=\"php string\">\'ie\'</code> <code class=\"php plain\">=> </code><code class=\"php string\">\'/(MSIE) (\\d+\\.\\d)/\'</code><code class=\"php plain\">,</code></div><div class=\"line number12 index11 alt1\"><code class=\"php spaces\"> </code><code class=\"php string\">\'chrome\'</code> <code class=\"php plain\">=> </code><code class=\"php string\">\'/(Chrome)\\/(\\d+\\.\\d+)/\'</code><code class=\"php plain\">,</code></div><div class=\"line number13 index12 alt2\"><code class=\"php spaces\"> </code><code class=\"php string\">\'firefox\'</code> <code class=\"php plain\">=> </code><code class=\"php string\">\'/(Firefox)\\/(\\d+\\.\\d+)/\'</code><code class=\"php plain\">,</code></div><div class=\"line number14 index13 alt1\"><code class=\"php spaces\"> </code><code class=\"php string\">\'opera\'</code> <code class=\"php plain\">=> </code><code class=\"php string\">\'/(Opera)\\/(\\d+\\.\\d+)/\'</code><code class=\"php plain\">,</code></div><div class=\"line number15 index14 alt2\"><code class=\"php spaces\"> </code><code class=\"php string\">\'safari\'</code> <code class=\"php plain\">=> </code><code class=\"php string\">\'/Version\\/(\\d+\\.\\d+\\.\\d) (Safari)/\'</code><code class=\"php plain\">,</code></div><div class=\"line number16 index15 alt1\"><code class=\"php spaces\"> </code><code class=\"php plain\">);</code></div><div class=\"line number17 index16 alt2\"><code class=\"php spaces\"> </code><code class=\"php keyword\">foreach</code><code class=\"php plain\">(</code><code class=\"php variable\">$regex</code> <code class=\"php keyword\">as</code> <code class=\"php variable\">$type</code> <code class=\"php plain\">=> </code><code class=\"php variable\">$reg</code><code class=\"php plain\">) {</code></div><div class=\"line number18 index17 alt1\"><code class=\"php spaces\"> </code><code class=\"php plain\">preg_match(</code><code class=\"php variable\">$reg</code><code class=\"php plain\">, </code><code class=\"php variable\">$agent</code><code class=\"php plain\">, </code><code class=\"php variable\">$data</code><code class=\"php plain\">);</code></div><div class=\"line number19 index18 alt2\"><code class=\"php spaces\"> </code><code class=\"php keyword\">if</code><code class=\"php plain\">(!</code><code class=\"php functions\">empty</code><code class=\"php plain\">(</code><code class=\"php variable\">$data</code><code class=\"php plain\">) && </code><code class=\"php functions\">is_array</code><code class=\"php plain\">(</code><code class=\"php variable\">$data</code><code class=\"php plain\">)){</code></div><div class=\"line number20 index19 alt1\"><code class=\"php spaces\"> </code><code class=\"php variable\">$browser</code> <code class=\"php plain\">= </code><code class=\"php variable\">$type</code> <code class=\"php plain\">=== </code><code class=\"php string\">\'safari\'</code> <code class=\"php plain\">? </code><code class=\"php keyword\">array</code><code class=\"php plain\">(</code><code class=\"php variable\">$data</code><code class=\"php plain\">[2], </code><code class=\"php variable\">$data</code><code class=\"php plain\">[1]) : </code><code class=\"php keyword\">array</code><code class=\"php plain\">(</code><code class=\"php variable\">$data</code><code class=\"php plain\">[1], </code><code class=\"php variable\">$data</code><code class=\"php plain\">[2]);</code></div><div class=\"line number21 index20 alt2\"><code class=\"php spaces\"> </code><code class=\"php keyword\">break</code><code class=\"php plain\">;</code></div><div class=\"line number22 index21 alt1\"><code class=\"php spaces\"> </code><code class=\"php plain\">}</code></div><div class=\"line number23 index22 alt2\"><code class=\"php spaces\"> </code><code class=\"php plain\">}</code></div><div class=\"line number24 index23 alt1\"><code class=\"php spaces\"> </code><code class=\"php keyword\">return</code> <code class=\"php functions\">empty</code><code class=\"php plain\">(</code><code class=\"php variable\">$browser</code><code class=\"php plain\">) ? false : (</code><code class=\"php functions\">is_null</code><code class=\"php plain\">(</code><code class=\"php variable\">$glue</code><code class=\"php plain\">) ? </code><code class=\"php variable\">$browser</code> <code class=\"php plain\">: implode(</code><code class=\"php variable\">$glue</code><code class=\"php plain\">, </code><code class=\"php variable\">$browser</code><code class=\"php plain\">));</code></div><div class=\"line number25 index24 alt2\"><code class=\"php spaces\"> </code><code class=\"php plain\">}</code></div></pre><p><br></p><p></p></section></article>','0',2,'1',0,'',0,0,286,1500432973,1501031353,'PHP博客','','',''),
(14,6,1,'admin','CLTPHP产生随机字符串','CLTPHP产生随机字符串','CLTPHP产生随机字符串','<p>CLTPHP产生随机字符串</p><pre><span>/**<br></span><span>+----------------------------------------------------------<br></span><span> * 产生随机字串,可用来自动生成密码 默认长度6位 字母和数字混合<br></span><span>+----------------------------------------------------------<br></span><span> * </span><span>@param </span><span>string $len 长度<br></span><span> * </span><span>@param </span><span>string $type 字串类型<br></span><span> * 0 字母 1 数字 其它 混合<br></span><span> * </span><span>@param </span><span>string $addChars 额外字符<br></span><span>+----------------------------------------------------------<br></span><span> * </span><span>@return </span><span>string<br></span><span>+----------------------------------------------------------<br></span><span> */<br></span><span>function </span><span>rand_string</span><span>(</span><span>$len</span><span>=</span><span>6</span><span>,</span><span>$type</span><span>=</span><span>\'\'</span><span>,</span><span>$addChars</span><span>=</span><span>\'\'</span><span>) {<br></span><span> </span><span>$str </span><span>=</span><span>\'\'</span><span>;<br></span><span> </span><span>switch</span><span>(</span><span>$type</span><span>) {<br></span><span> </span><span>case </span><span>0</span><span>:<br></span><span> </span><span>$chars</span><span>=</span><span>\'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\'</span><span>.</span><span>$addChars</span><span>;<br></span><span> </span><span>break</span><span>;<br></span><span> </span><span>case </span><span>1</span><span>:<br></span><span> </span><span>$chars</span><span>= str_repeat(</span><span>\'0123456789\'</span><span>,</span><span>3</span><span>)</span><span>;<br></span><span> </span><span>break</span><span>;<br></span><span> </span><span>case </span><span>2</span><span>:<br></span><span> </span><span>$chars</span><span>=</span><span>\'ABCDEFGHIJKLMNOPQRSTUVWXYZ\'</span><span>.</span><span>$addChars</span><span>;<br></span><span> </span><span>break</span><span>;<br></span><span> </span><span>case </span><span>3</span><span>:<br></span><span> </span><span>$chars</span><span>=</span><span>\'abcdefghijklmnopqrstuvwxyz\'</span><span>.</span><span>$addChars</span><span>;<br></span><span> </span><span>break</span><span>;<br></span><span> </span><span>case </span><span>4</span><span>:<br></span><span> </span><span>$chars </span><span>= </span><span>\"们以我到他会作时要动国产的一是工就年阶义发成部民可出能方进在了不和有大这主中人上为来分生对于学下级地个用同行面说种过命度革而多子后自社加小机也经力线本电高量长党得实家定深法表着水理化争现所二起政三好十战无农使性前等反体合斗路图把结第里正新开论之物从当两些还天资事队批点育重其思与间内去因件日利相由压员气业代全组数果期导平各基或月毛然如应形想制心样干都向变关问比展那它最及外没看治提五解系林者米群头意只明四道马认次文通但条较克又公孔领军流入接席位情运器并飞原油放立题质指建区验活众很教决特此常石强极土少已根共直团统式转别造切九你取西持总料连任志观调七么山程百报更见必真保热委手改管处己将修支识病象几先老光专什六型具示复安带每东增则完风回南广劳轮科北打积车计给节做务被整联步类集号列温装即毫知轴研单色坚据速防史拉世设达尔场织历花受求传口断况采精金界品判参层止边清至万确究书术状厂须离再目海交权且儿青才证低越际八试规斯近注办布门铁需走议县兵固除般引齿千胜细影济白格效置推空配刀叶率述今选养德话查差半敌始片施响收华觉备名红续均药标记难存测士身紧液派准斤角降维板许破述技消底床田势端感往神便贺村构照容非搞亚磨族火段算适讲按值美态黄易彪服早班麦削信排台声该击素张密害侯草何树肥继右属市严径螺检左页抗苏显苦英快称坏移约巴材省黑武培著河帝仅针怎植京助升王眼她抓含苗副杂普谈围食射源例致酸旧却充足短划剂宣环落首尺波承粉践府鱼随考刻靠够满夫失包住促枝局菌杆周护岩师举曲春元超负砂封换太模贫减阳扬江析亩木言球朝医校古呢稻宋听唯输滑站另卫字鼓刚写刘微略范供阿块某功套友限项余倒卷创律雨让骨远帮初皮播优占死毒圈伟季训控激找叫云互跟裂粮粒母练塞钢顶策双留误础吸阻故寸盾晚丝女散焊功株亲院冷彻弹错散商视艺灭版烈零室轻血倍缺厘泵察绝富城冲喷壤简否柱李望盘磁雄似困巩益洲脱投送奴侧润盖挥距触星松送获兴独官混纪依未突架宽冬章湿偏纹吃执阀矿寨责熟稳夺硬价努翻奇甲预职评读背协损棉侵灰虽矛厚罗泥辟告卵箱掌氧恩爱停曾溶营终纲孟钱待尽俄缩沙退陈讨奋械载胞幼哪剥迫旋征槽倒握担仍呀鲜吧卡粗介钻逐弱脚怕盐末阴丰雾冠丙街莱贝辐肠付吉渗瑞惊顿挤秒悬姆烂森糖圣凹陶词迟蚕亿矩康遵牧遭幅园腔订香肉弟屋敏恢忘编印蜂急拿扩伤飞露核缘游振操央伍域甚迅辉异序免纸夜乡久隶缸夹念兰映沟乙吗儒杀汽磷艰晶插埃燃欢铁补咱芽永瓦倾阵碳演威附牙芽永瓦斜灌欧献顺猪洋腐请透司危括脉宜笑若尾束壮暴企菜穗楚汉愈绿拖牛份染既秋遍锻玉夏疗尖殖井费州访吹荣铜沿替滚客召旱悟刺脑措贯藏敢令隙炉壳硫煤迎铸粘探临薄旬善福纵择礼愿伏残雷延烟句纯渐耕跑泽慢栽鲁赤繁境潮横掉锥希池败船假亮谓托伙哲怀割摆贡呈劲财仪沉炼麻罪祖息车穿货销齐鼠抽画饲龙库守筑房歌寒喜哥洗蚀废纳腹乎录镜妇恶脂庄擦险赞钟摇典柄辩竹谷卖乱虚桥奥伯赶垂途额壁网截野遗静谋弄挂课镇妄盛耐援扎虑键归符庆聚绕摩忙舞遇索顾胶羊湖钉仁音迹碎伸灯避泛亡答勇频皇柳哈揭甘诺概宪浓岛袭谁洪谢炮浇斑讯懂灵蛋闭孩释乳巨徒私银伊景坦累匀霉杜乐勒隔弯绩招绍胡呼痛峰零柴簧午跳居尚丁秦稍追梁折耗碱殊岗挖氏刃剧堆赫荷胸衡勤膜篇登驻案刊秧缓凸役剪川雪链渔啦脸户洛孢勃盟买杨宗焦赛旗滤硅炭股坐蒸凝竟陷枪黎救冒暗洞犯筒您宋弧爆谬涂味津臂障褐陆啊健尊豆拔莫抵桑坡缝警挑污冰柬嘴啥饭塑寄赵喊垫丹渡耳刨虎笔稀昆浪萨茶滴浅拥穴覆伦娘吨浸袖珠雌妈紫戏塔锤震岁貌洁剖牢锋疑霸闪埔猛诉刷狠忽灾闹乔唐漏闻沈熔氯荒茎男凡抢像浆旁玻亦忠唱蒙予纷捕锁尤乘乌智淡允叛畜俘摸锈扫毕璃宝芯爷鉴秘净蒋钙肩腾枯抛轨堂拌爸循诱祝励肯酒绳穷塘燥泡袋朗喂铝软渠颗惯贸粪综墙趋彼届墨碍启逆卸航衣孙龄岭骗休借\"</span><span>.</span><span>$addChars</span><span>;<br></span><span> </span><span>break</span><span>;<br></span><span> </span><span>default </span><span>:<br></span><span> </span><span>// 默认去掉了容易混淆的字符oOLl和数字01,要添加请使用addChars参数<br></span><span> </span><span>$chars</span><span>=</span><span>\'ABCDEFGHIJKMNPQRSTUVWXYZabcdefghijkmnpqrstuvwxyz23456789\'</span><span>.</span><span>$addChars</span><span>;<br></span><span> </span><span>break</span><span>;<br></span><span> </span><span>}<br></span><span> </span><span>if</span><span>(</span><span>$len</span><span>></span><span>10 </span><span>) {</span><span>//位数过长重复字符串一定次数<br></span><span> </span><span>$chars</span><span>= </span><span>$type</span><span>==</span><span>1</span><span>? str_repeat(</span><span>$chars</span><span>,</span><span>$len</span><span>) : str_repeat(</span><span>$chars</span><span>,</span><span>5</span><span>)</span><span>;<br></span><span> </span><span>}<br></span><span> </span><span>if</span><span>(</span><span>$type</span><span>!=</span><span>4</span><span>) {<br></span><span> </span><span>$chars </span><span>= str_shuffle(</span><span>$chars</span><span>)</span><span>;<br></span><span> </span><span>$str </span><span>= substr(</span><span>$chars</span><span>,</span><span>0</span><span>,</span><span>$len</span><span>)</span><span>;<br></span><span> </span><span>}</span><span>else</span><span>{<br></span><span> </span><span>// 中文随机字<br></span><span> </span><span>for</span><span>(</span><span>$i</span><span>=</span><span>0</span><span>;</span><span>$i</span><span><</span><span>$len</span><span>;</span><span>$i</span><span>++){<br></span><span> </span><span>$str</span><span>.= msubstr(</span><span>$chars</span><span>, </span><span>floor(mt_rand(</span><span>0</span><span>,</span><span>mb_strlen(</span><span>$chars</span><span>,</span><span>\'utf-8\'</span><span>)-</span><span>1</span><span>))</span><span>,</span><span>1</span><span>)</span><span>;<br></span><span> </span><span>}<br></span><span> }<br></span><span> </span><span>return </span><span>$str</span><span>;<br></span><span>}</span></pre><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"syntaxhighlighter php layui-table\"><tbody><tr><td class=\"gutter\"><br></td><td class=\"code\"><br></td></tr></tbody></table>','0',2,'1',0,'',0,0,428,1500867996,1501204238,'CLTPHP','http://www.cltphp.com/','',''),
(15,6,1,'admin','CLTPHP字符串截取','CLTPHP字符串截取','CLTPHP字符串截取','<pre><span>//字符串截取<br></span><span>function </span><span>str_cut</span><span>(</span><span>$sourcestr</span><span>,</span><span>$cutlength</span><span>,</span><span>$suffix</span><span>=</span><span>\'...\'</span><span>)<br></span><span>{<br></span><span> </span><span>$returnstr</span><span>=</span><span>\'\'</span><span>;<br></span><span> </span><span>$i</span><span>=</span><span>0</span><span>;<br></span><span> </span><span>$n</span><span>=</span><span>0</span><span>;<br></span><span> </span><span>$str_length</span><span>=strlen(</span><span>$sourcestr</span><span>)</span><span>;</span><span>//字符串的字节数<br></span><span> </span><span>while </span><span>((</span><span>$n</span><span><</span><span>$cutlength</span><span>) </span><span>and </span><span>(</span><span>$i</span><span><=</span><span>$str_length</span><span>))<br></span><span> {<br></span><span> </span><span>$temp_str</span><span>=substr(</span><span>$sourcestr</span><span>,</span><span>$i</span><span>,</span><span>1</span><span>)</span><span>;<br></span><span> </span><span>$ascnum</span><span>=Ord(</span><span>$temp_str</span><span>)</span><span>;</span><span>//得到字符串中第$i位字符的ascii码<br></span><span> </span><span>if </span><span>(</span><span>$ascnum</span><span>>=</span><span>224</span><span>) </span><span>//如果ASCII位高与224,<br></span><span> </span><span>{<br></span><span> </span><span>$returnstr</span><span>=</span><span>$returnstr</span><span>.substr(</span><span>$sourcestr</span><span>,</span><span>$i</span><span>,</span><span>3</span><span>)</span><span>; </span><span>//根据UTF-8编码规范,将3个连续的字符计为单个字符<br></span><span> </span><span>$i</span><span>=</span><span>$i</span><span>+</span><span>3</span><span>; </span><span>//实际Byte计为3<br></span><span> </span><span>$n</span><span>++</span><span>; </span><span>//字串长度计1<br></span><span> </span><span>}<br></span><span> </span><span>elseif </span><span>(</span><span>$ascnum</span><span>>=</span><span>192</span><span>) </span><span>//如果ASCII位高与192,<br></span><span> </span><span>{<br></span><span> </span><span>$returnstr</span><span>=</span><span>$returnstr</span><span>.substr(</span><span>$sourcestr</span><span>,</span><span>$i</span><span>,</span><span>2</span><span>)</span><span>; </span><span>//根据UTF-8编码规范,将2个连续的字符计为单个字符<br></span><span> </span><span>$i</span><span>=</span><span>$i</span><span>+</span><span>2</span><span>; </span><span>//实际Byte计为2<br></span><span> </span><span>$n</span><span>++</span><span>; </span><span>//字串长度计1<br></span><span> </span><span>}<br></span><span> </span><span>elseif </span><span>(</span><span>$ascnum</span><span>>=</span><span>65 </span><span>&& </span><span>$ascnum</span><span><=</span><span>90</span><span>) </span><span>//如果是大写字母,<br></span><span> </span><span>{<br></span><span> </span><span>$returnstr</span><span>=</span><span>$returnstr</span><span>.substr(</span><span>$sourcestr</span><span>,</span><span>$i</span><span>,</span><span>1</span><span>)</span><span>;<br></span><span> </span><span>$i</span><span>=</span><span>$i</span><span>+</span><span>1</span><span>; </span><span>//实际的Byte数仍计1个<br></span><span> </span><span>$n</span><span>++</span><span>; </span><span>//但考虑整体美观,大写字母计成一个高位字符<br></span><span> </span><span>}<br></span><span> </span><span>else </span><span>//其他情况下,包括小写字母和半角标点符号,<br></span><span> </span><span>{<br></span><span> </span><span>$returnstr</span><span>=</span><span>$returnstr</span><span>.substr(</span><span>$sourcestr</span><span>,</span><span>$i</span><span>,</span><span>1</span><span>)</span><span>;<br></span><span> </span><span>$i</span><span>=</span><span>$i</span><span>+</span><span>1</span><span>; </span><span>//实际的Byte数计1个<br></span><span> </span><span>$n</span><span>=</span><span>$n</span><span>+</span><span>0.5</span><span>; </span><span>//小写字母和半角标点等与半个高位字符宽...<br></span><span> </span><span>}<br></span><span> }<br></span><span> </span><span>if </span><span>(</span><span>$n</span><span>></span><span>$cutlength</span><span>){<br></span><span> </span><span>$returnstr </span><span>= </span><span>$returnstr </span><span>. </span><span>$suffix</span><span>;</span><span>//超过长度时在尾处加上省略号<br></span><span> </span><span>}<br></span><span> </span><span>return </span><span>$returnstr</span><span>;<br></span><span>}</span></pre>','0',2,'1',0,'',0,0,336,1501031299,1502067767,'CLTPHP','http://www.cltphp.com/','',''),
(16,5,1,'admin','CLTPHP操作开发手册已完全更新','CLTPHP操作开发手册已完全更新','CLTPHP操作开发手册已完全更新','<p>CLTPHP操作开发手册已完全更新,CLTPHP核心价值,尽在其中。</p><p>喜欢的朋友可以购买参考</p><p>同时希望CLTPHP的爱好者,可以给我提出更多CLTPHP的不足之处,让CLTPHP更健康的成长。</p><p>手册地址:https://www.kancloud.cn/chichu/cltphp/</p>','0',2,'1',0,'',0,0,1895,1501031404,1502068026,'CLTPHP','http://www.cltphp.com/','',''),
(17,6,1,'admin','CLTPHP判断当前访问的用户是 PC端 还是 手机端','CLTPHP判断当前访问的用户是 PC端 还是 手机端','CLTPHP判断当前访问的用户是 PC端 还是 手机端','<pre><span>/**<br></span><span> * 判断当前访问的用户是 PC端 还是 手机端 返回true 为手机端 false 为PC 端<br></span><span> * 是否移动端访问访问<br></span><span> * </span><span>@return </span><span>boolean<br></span><span> */<br></span><span>function </span><span>isMobile</span><span>()<br></span><span>{<br></span><span> </span><span>// 如果有HTTP_X_WAP_PROFILE则一定是移动设备<br></span><span> </span><span>if </span><span>(</span><span>isset </span><span>(</span><span>$_SERVER</span><span>[</span><span>\'HTTP_X_WAP_PROFILE\'</span><span>]))<br></span><span> </span><span>return true</span><span>;<br></span><span><br></span><span> </span><span>// 如果via信息含有wap则一定是移动设备,部分服务商会屏蔽该信息<br></span><span> </span><span>if </span><span>(</span><span>isset </span><span>(</span><span>$_SERVER</span><span>[</span><span>\'HTTP_VIA\'</span><span>]))<br></span><span> {<br></span><span> </span><span>// 找不到为flase,否则为true<br></span><span> </span><span>return </span><span>stristr(</span><span>$_SERVER</span><span>[</span><span>\'HTTP_VIA\'</span><span>]</span><span>, </span><span>\"wap\"</span><span>) ? </span><span>true </span><span>: </span><span>false</span><span>;<br></span><span> </span><span>}<br></span><span> </span><span>// 脑残法,判断手机发送的客户端标志,兼容性有待提高<br></span><span> </span><span>if </span><span>(</span><span>isset </span><span>(</span><span>$_SERVER</span><span>[</span><span>\'HTTP_USER_AGENT\'</span><span>]))<br></span><span> {<br></span><span> </span><span>$clientkeywords </span><span>= </span><span>array </span><span>(</span><span>\'nokia\'</span><span>,</span><span>\'sony\'</span><span>,</span><span>\'ericsson\'</span><span>,</span><span>\'mot\'</span><span>,</span><span>\'samsung\'</span><span>,</span><span>\'htc\'</span><span>,</span><span>\'sgh\'</span><span>,</span><span>\'lg\'</span><span>,</span><span>\'sharp\'</span><span>,</span><span>\'sie-\'</span><span>,</span><span>\'philips\'</span><span>,</span><span>\'panasonic\'</span><span>,</span><span>\'alcatel\'</span><span>,</span><span>\'lenovo\'</span><span>,</span><span>\'iphone\'</span><span>,</span><span>\'ipod\'</span><span>,</span><span>\'blackberry\'</span><span>,</span><span>\'meizu\'</span><span>,</span><span>\'android\'</span><span>,</span><span>\'netfront\'</span><span>,</span><span>\'symbian\'</span><span>,</span><span>\'ucweb\'</span><span>,</span><span>\'windowsce\'</span><span>,</span><span>\'palm\'</span><span>,</span><span>\'operamini\'</span><span>,</span><span>\'operamobi\'</span><span>,</span><span>\'openwave\'</span><span>,</span><span>\'nexusone\'</span><span>,</span><span>\'cldc\'</span><span>,</span><span>\'midp\'</span><span>,</span><span>\'wap\'</span><span>,</span><span>\'mobile\'</span><span>)</span><span>;<br></span><span> </span><span>// 从HTTP_USER_AGENT中查找手机浏览器的关键字<br></span><span> </span><span>if </span><span>(preg_match(</span><span>\"/(\" </span><span>. implode(</span><span>\'|\'</span><span>, </span><span>$clientkeywords</span><span>) . </span><span>\")/i\"</span><span>, </span><span>strtolower(</span><span>$_SERVER</span><span>[</span><span>\'HTTP_USER_AGENT\'</span><span>])))<br></span><span> </span><span>return true</span><span>;<br></span><span> </span><span>}<br></span><span> </span><span>// 协议法,因为有可能不准确,放到最后判断<br></span><span> </span><span>if </span><span>(</span><span>isset </span><span>(</span><span>$_SERVER</span><span>[</span><span>\'HTTP_ACCEPT\'</span><span>]))<br></span><span> {<br></span><span> </span><span>// 如果只支持wml并且不支持html那一定是移动设备<br></span><span> // 如果支持wml和html但是wml在html之前则是移动设备<br></span><span> </span><span>if </span><span>((strpos(</span><span>$_SERVER</span><span>[</span><span>\'HTTP_ACCEPT\'</span><span>]</span><span>, </span><span>\'vnd.wap.wml\'</span><span>) !== </span><span>false</span><span>) && (strpos(</span><span>$_SERVER</span><span>[</span><span>\'HTTP_ACCEPT\'</span><span>]</span><span>, </span><span>\'text/html\'</span><span>) === </span><span>false </span><span>|| (strpos(</span><span>$_SERVER</span><span>[</span><span>\'HTTP_ACCEPT\'</span><span>]</span><span>, </span><span>\'vnd.wap.wml\'</span><span>) < strpos(</span><span>$_SERVER</span><span>[</span><span>\'HTTP_ACCEPT\'</span><span>]</span><span>, </span><span>\'text/html\'</span><span>))))<br></span><span> {<br></span><span> </span><span>return true</span><span>;<br></span><span> </span><span>}<br></span><span> }<br></span><span> </span><span>return false</span><span>;<br></span><span>}</span></pre>','0',2,'1',0,'',0,0,350,1501204163,1501204249,'CLTPHP','http://www.cltphp.com/','',''),
(18,3,1,'admin','关于收费文档的误解','关于收费文档的误解','关于收费文档的误解','<p> cltphp的文档收费20,靠20块文档赚钱,有点夸大了,定2000,万一有一个人付费,那就是100个20,也能算挣点小钱。</p><p> 不花钱的东西,没有价值,也无所谓去骂娘。花了钱,大多人会去看,有价值的部分,自然会学习到。没价值的部分,一些人会骂娘,骂娘的同时,或许会说:这里怎样改一下不久好了嘛!对于这样的骂娘,我们很是支持。</p><p> 另外赋上文档的初始态度:<a href=\"http://cltphp.com/newsInfo-16-5.html\" target=\"_self\" style=\"text-decoration: none;\"><strong>CLTPHP操作文档不断更新中</strong></a></p><h4><br/></h4>','0',2,'1',0,'',0,0,1390,1501552272,1505373009,'CLTPHP','http://www.cltphp.com/','',''),
(19,3,1,'admin','关于捐赠的一些说明','关于捐赠的一些说明','关于捐赠的一些说明','<p>首先非常感谢您对我们的支持。</p><p>近期发现,一部分朋友对我们捐赠时,并未留下名称或者其他称呼。</p><p>目前官网只接受微信扫码捐赠,所以,请您务必点击留言,留下您的大名,便于我们做捐赠名的展示。<img src=\"/public/uploads/20170904/a1bb03cea85aafd3bca3287ef3ade719.png\" alt=\"20170904/a1bb03cea85aafd3bca3287ef3ade719.png\"></p>','0',0,'1',0,'',0,0,536,1501827480,1504516379,'CLTPHP','http://www.cltphp.com/','',''),
(20,6,1,'admin','PHP格式化字节大小','PHP格式化字节大小','PHP格式化字节大小','<pre><span>/**<br></span><span> * PHP格式化字节大小<br></span><span> * </span><span>@param </span><span>number $size 字节数<br></span><span> * </span><span>@param </span><span>string $delimiter 数字和单位分隔符<br></span><span> * </span><span>@return </span><span>string 格式化后的带单位的大小<br></span><span> */<br></span><span>function </span><span>format_bytes</span><span>(</span><span>$size</span><span>, </span><span>$delimiter </span><span>= </span><span>\'\'</span><span>) {<br></span><span> </span><span>$units </span><span>= </span><span>array</span><span>(</span><span>\'B\'</span><span>, </span><span>\'KB\'</span><span>, </span><span>\'MB\'</span><span>, </span><span>\'GB\'</span><span>, </span><span>\'TB\'</span><span>, </span><span>\'PB\'</span><span>)</span><span>;<br></span><span> </span><span>for </span><span>(</span><span>$i </span><span>= </span><span>0</span><span>; </span><span>$size </span><span>>= </span><span>1024 </span><span>&& </span><span>$i </span><span>< </span><span>5</span><span>; </span><span>$i</span><span>++) </span><span>$size </span><span>/= </span><span>1024</span><span>;<br></span><span> </span><span>return </span><span>round(</span><span>$size</span><span>, </span><span>2</span><span>) . </span><span>$delimiter </span><span>. </span><span>$units</span><span>[</span><span>$i</span><span>]</span><span>;<br></span><span>}</span></pre>','0',1,'1',0,'',0,0,409,1502067689,1502067893,'CLTPHP','http://www.cltphp.com/','',''),
(21,5,1,'admin','CLTPHP4.5发布','CLTPHP4.5发布','CLTPHP4.5发布','<p>1.更新权限功能</p><p>2.增加微信关注回复和默认回复</p><p>3.增加后台页面过度效果</p><p>4.后台部分功能代码优化</p>','0',2,'1',0,'',0,0,356,1502067980,1502422491,'CLTPHP','http://www.cltphp.com/','',''),
(22,5,1,'admin','CLTPHP5.0发布','CLTPHP5.0发布','CLTPHP5.0发布','<p>CLTPHP5.0更新内容</p><p>1.增加前台会员模块,支持QQ登录注册</p><p>2.增加后台邮件发送配置</p><p>3.增加后台QQ登录配置</p><p>4.增加后台富文本编辑器选择(<span>layedit,</span><span>UEditor</span>)</p><p>5.增加后台上传logo</p><p>6.增加微信关注回复及默认回复</p><p>7.优化后台部分语言功能</p><p>8.简单实现home模块路由配置</p><p>9.增加home模块缓存机制</p><p>10.修复后台管理员无法添加的bug</p><p>11.修复4.5版本模版管理.html无法编辑的bug</p><p>12.更多细节修改及bug</p><p>下载地址:<a target=\"_self\" href=\"http://o95ehky7c.bkt.clouddn.com/CLTPHP5.0.zip\">CLTPHP5.0</a></p>','0',2,'1',0,'',0,0,929,1502421726,1503365682,'CLTPHP','http://www.cltphp.com/','',''),
(23,3,1,'admin','清除缓存和添加字段的错误修正方法','清除缓存和添加字段的错误修正方法','清除缓存和添加字段的错误修正方法','<p>问题:</p><pre>Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0</pre><p><br/></p><p>修正方法:</p><p>去掉php.in配置文件always_populate_raw_post_data前面的分号</p><p><br/></p><p><br/></p>','0',0,'1',0,'',0,0,274,1502761583,1504763357,'CLTPHP','http://www.cltphp.com/','',''),
(25,5,1,'admin','CLTPHP手册更新自定义标签','CLTPHP手册更新自定义标签','CLTPHP手册更新自定义标签','<p>CLTPHP手册更新自定义标签,文档详细讲述了 {clt:list}{/clt:list} 和 {clt:info}{/clt:info} 两个标签的参数和调用方法。</p>','0',1,'1',0,'',0,0,1098,1503365502,0,'CLTPHP','http://www.cltphp.com/','',''),
(36,5,1,'admin','CLTPHP5.1.1更新','CLTPHP5.1.1更新 cltphp cltphp内容管理系统 php','CLTPHP的目的是 让所有人都能 高效 简洁 的建立网站,虽然世界上有成千上万的建站系统,但CLTPHP会告诉你,真正高效的建站系统是什么样的。','<p style=\"box-sizing: border-box; border: 0px; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; vertical-align: baseline; margin-top: 0px; margin-bottom: 0px; padding: 0px 0px 20px; color: rgb(151, 151, 151); white-space: normal; background-color: rgb(255, 255, 255);\">更新内容</p><p style=\"box-sizing: border-box; border: 0px; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; vertical-align: baseline; margin-top: 0px; margin-bottom: 0px; padding: 0px 0px 20px; color: rgb(151, 151, 151); white-space: normal; background-color: rgb(255, 255, 255);\">1、前台自定义标签完善</p><p style=\"box-sizing: border-box; border: 0px; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; vertical-align: baseline; margin-top: 0px; margin-bottom: 0px; padding: 0px 0px 20px; color: rgb(151, 151, 151); white-space: normal; background-color: rgb(255, 255, 255);\">2、自定义分页,优化了系统分页(为了保持框架文件的纯净度,并没有改动TP原有分页代码)</p><p style=\"box-sizing: border-box; border: 0px; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; vertical-align: baseline; margin-top: 0px; margin-bottom: 0px; padding: 0px 0px 20px; color: rgb(151, 151, 151); white-space: normal; background-color: rgb(255, 255, 255);\">3、更新对应文档</p><p style=\"box-sizing: border-box; border: 0px; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; vertical-align: baseline; margin-top: 0px; margin-bottom: 0px; padding: 0px 0px 20px; color: rgb(151, 151, 151); white-space: normal; background-color: rgb(255, 255, 255);\">下载地址:<a target=\"_self\" href=\"http://qiniu.cltphp.com/cltphp5.1.1.zip\" style=\"box-sizing: border-box; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline; margin: 0px; padding: 0px; outline: 0px; color: rgb(146, 208, 80); text-decoration: none;\"><span style=\"color: rgb(146, 208, 80);\">CLTPHP5.1.1下载</span></a></p><p style=\"box-sizing: border-box; border: 0px; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; vertical-align: baseline; margin-top: 0px; margin-bottom: 0px; padding: 0px 0px 20px; color: rgb(151, 151, 151); white-space: normal; background-color: rgb(255, 255, 255);\">更新包下载:<a target=\"_self\" href=\"http://qiniu.cltphp.com/CLTPHP5.1%E5%88%B05.1.1%E5%8D%87%E7%BA%A7.zip\" style=\"box-sizing: border-box; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline; margin: 0px; padding: 0px; outline: 0px; color: rgb(146, 208, 80); text-decoration: none;\"><span style=\"color: rgb(146, 208, 80);\">CLTPHP5.1到5.1.1更新</span></a></p><p><br/></p>','0',0,'1',0,'',0,0,225,1504765025,1505355804,'CLTPHP','http://www.cltphp.com/','',''),
(37,5,1,'admin','CLTPHP5.1.2发布','CLTPHP5.1.2发布 cltphp cltphp内容管理系统 php','CLTPHP的目的是 让所有人都能 高效 简洁 的建立网站,虽然世界上有成千上万的建站系统,但CLTPHP会告诉你,真正高效的建站系统是什么样的。','<p>更新内容</p><p>1、<strong>CLTPHP</strong>核心框架thinkphp升级</p><p>2、分类,广告,友链的前后台缓存机制</p><p>下载地址:<strong style=\"color: rgb(118, 146, 60); text-decoration: none;\"><span style=\"color: rgb(118, 146, 60);\"><a href=\"http://qiniu.cltphp.com/cltphp5.1.2.zip\" target=\"_self\" title=\"CLTPHP5.1.2下载\" style=\"color: rgb(118, 146, 60); text-decoration: none;\">CLTPHP5.1.2</a></span></strong></p><p><br/></p><p><br/></p>','0',0,'1',0,'',0,0,143,1505264091,1505355785,'CLTPHP','http://www.cltphp.com/','',''),
(38,3,1,'admin','关于CLTPHP的一些琐碎事','关于CLTPHP的一些琐碎事 cltphp cltphp内容管理系统 php','CLTPHP的目的是 让所有人都能 高效 简洁 的建立网站,虽然世界上有成千上万的建站系统,但CLTPHP会告诉你,真正高效的建站系统是什么样的。','<p>CLTPHP是开源的</p><p><a href=\"http://demo.cltphp.com\" target=\"_self\" title=\"CLTPHP演示站\">CLTPHP演示站</a>的后台用户名:admin 密码:admin123</p><p>版本更新包的后台用户名:admin 密码:admin123</p><p>新版本发布,请登录后台,清空缓存后再打开前台,不然,前台可能会报错。</p><p><span style=\"color: rgb(149, 55, 52);\">如果没有意外(睡眼忪惺)的时候,以上永久不变。</span></p>','0',1,'1',0,'',0,0,1267,1505264319,1515748920,'CLTPHP','http://www.cltphp.com/','',''),
(40,6,1,'admin','php验证输入的邮件地址是否合法','php验证输入的邮件地址是否合法','php验证输入的邮件地址是否合法','<pre class=\"brush:php;toolbar:false\">/**\n * 验证输入的邮件地址是否合法\n */\nfunction is_email($user_email)\n{\n $chars = "/^([a-z0-9+_]|\\\\-|\\\\.)+@(([a-z0-9_]|\\\\-)+\\\\.)+[a-z]{2,6}\\$/i";\n if (strpos($user_email, '@') !== false && strpos($user_email, '.') !== false) {\n if (preg_match($chars, $user_email)) {\n return true;\n } else {\n return false;\n }\n } else {\n return false;\n }\n}</pre><p><br/></p>','0',2,'1',0,'',0,0,176,1505355407,1505355561,'CLTPHP','http://www.cltphp.com/','',''),
(39,5,1,'admin','CLTPHP5.1.3发布','CLTPHP5.1.3发布 cltphp cltphp内容管理系统 php','CLTPHP的目的是 让所有人都能 高效 简洁 的建立网站,虽然世界上有成千上万的建站系统,但CLTPHP会告诉你,真正高效的建站系统是什么样的。','<p style=\"box-sizing: border-box; border: 0px; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; vertical-align: baseline; margin-top: 0px; margin-bottom: 0px; padding: 0px 0px 20px; color: rgb(102, 102, 102); white-space: normal; background-color: rgb(255, 255, 255);\">更新内容</p><p style=\"box-sizing: border-box; border: 0px; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; vertical-align: baseline; margin-top: 0px; margin-bottom: 0px; padding: 0px 0px 20px; color: rgb(102, 102, 102); white-space: normal; background-color: rgb(255, 255, 255);\">1、修复多图上传bug</p><p style=\"box-sizing: border-box; border: 0px; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; vertical-align: baseline; margin-top: 0px; margin-bottom: 0px; padding: 0px 0px 20px; color: rgb(102, 102, 102); white-space: normal; background-color: rgb(255, 255, 255);\">2、修复后台栏目二级目录下路径问题</p><p style=\"box-sizing: border-box; border: 0px; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; vertical-align: baseline; margin-top: 0px; margin-bottom: 0px; padding: 0px 0px 20px; color: rgb(102, 102, 102); white-space: normal; background-color: rgb(255, 255, 255);\">3、修改TP自带提示文件正确状态下的图标</p><p style=\"box-sizing: border-box; border: 0px; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; vertical-align: baseline; margin-top: 0px; margin-bottom: 0px; padding: 0px 0px 20px; color: rgb(102, 102, 102); white-space: normal; background-color: rgb(255, 255, 255);\">4、修改模型字段编辑表单显示与数据库不一致问题</p><p style=\"box-sizing: border-box; border: 0px; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; vertical-align: baseline; margin-top: 0px; margin-bottom: 0px; padding: 0px 0px 20px; color: rgb(102, 102, 102); white-space: normal; background-color: rgb(255, 255, 255);\">5、修复QQ绑定bug</p><p style=\"box-sizing: border-box; border: 0px; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; vertical-align: baseline; margin-top: 0px; margin-bottom: 0px; padding: 0px 0px 20px; color: rgb(102, 102, 102); white-space: normal; background-color: rgb(255, 255, 255);\">6、修复5.1.2版本数据库备份问题</p><p style=\"box-sizing: border-box; border: 0px; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; vertical-align: baseline; margin-top: 0px; margin-bottom: 0px; padding: 0px 0px 20px; color: rgb(102, 102, 102); white-space: normal; background-color: rgb(255, 255, 255);\">下载地址:<a href=\"http://qiniu.cltphp.com/CLTPHP5.1.3.zip\" target=\"_self\" title=\"CLTPHP5.1.3下载\" style=\"text-decoration: none;\"><strong><span style=\"color: rgb(0, 176, 80);\">CLTPHP5.1.3</span></strong><strong><span style=\"color: rgb(0, 176, 80);\"></span></strong></a></p><p style=\"box-sizing: border-box; border: 0px; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; vertical-align: baseline; margin-top: 0px; margin-bottom: 0px; padding: 0px 0px 20px; color: rgb(102, 102, 102); white-space: normal; background-color: rgb(255, 255, 255);\">更新包下载:<a href=\"http://qiniu.cltphp.com/5.1.2%E5%8D%875.1.3%E8%A1%A5%E4%B8%81.zip\" target=\"_self\" title=\"CLTPHP5.1.2到5.1.3更新\" style=\"color: rgb(0, 176, 80); text-decoration: none;\"><strong><span style=\"color: rgb(0, 176, 80);\">CLTPHP5.1.2到5.1.3更新</span></strong></a></p><p><br/></p>','0',2,'1',0,'',0,0,701,1505353199,1505872972,'CLTPHP','http://www.cltphp.com/','',''),
(41,5,1,'admin','CLTPHP5.2发布','CLTPHP5.2发布','CLTPHP5.2发布','<p>更新内容</p><p>1.后台核心框架升级为ThinkPHP5.0.11版本</p><p>2.后台及会员中心UI框架升级为layui2.1.5版本</p><p>3.碎片修改为以碎片分类来管理</p><p>4.优化图片、文件上传</p><p>5.优化双编辑器切换</p><p>6.后台增加主题切换功能</p><p>7.后台全屏状态,点击全屏按钮可收起全屏</p><p><span style=\"color: rgb(255, 0, 0);\">注意事项</span></p><p><span style=\"color: rgb(255, 0, 0);\">1.遇到问题,先去官网找答案。</span></p><p><span style=\"color: rgb(255, 0, 0);\">2.CLTPHP5.2是一个大面积修改升级版,不支持之前任何版本的无缝升级。</span></p><p>下载地址:<a href=\"http://qiniu.cltphp.com/cltphp5.2.zip\" target=\"_self\" title=\"CLTPHP5.2\" style=\"color: rgb(0, 176, 80); text-decoration: none;\"><strong><span style=\"color: rgb(0, 176, 80);\">CLTPHP5.2</span></strong></a></p><p><br/></p>','0',2,'1',0,'',0,0,1554,1505871918,1529458978,'CLTPHP','http://www.cltphp.com/','','color:rgb(95, 184, 120);font-weight:bold;'),
(42,5,1,'admin','CLTPHP5.2.1发布','CLTPHP5.2.1发布 cltphp cltphp内容管理系统 php','CLTPHP的目的是 让所有人都能 高效 简洁 的建立网站,虽然世界上有成千上万的建站系统,但CLTPHP会告诉你,真正高效的建站系统是什么样的。','<p style=\"margin-top: 0px; margin-bottom: 0px; white-space: normal; box-sizing: border-box; border: 0px; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; vertical-align: baseline; padding: 0px 0px 20px; color: rgb(102, 102, 102); background-color: rgb(255, 255, 255);\">更新内容</p><p style=\"margin-top: 0px; margin-bottom: 0px; white-space: normal; box-sizing: border-box; border: 0px; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; vertical-align: baseline; padding: 0px 0px 20px; color: rgb(102, 102, 102); background-color: rgb(255, 255, 255);\">1、修改会员中心无法解绑QQbug</p><p style=\"margin-top: 0px; margin-bottom: 0px; white-space: normal; box-sizing: border-box; border: 0px; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; vertical-align: baseline; padding: 0px 0px 20px; color: rgb(102, 102, 102); background-color: rgb(255, 255, 255);\">2、修复后台多图上传bug</p><p style=\"margin-top: 0px; margin-bottom: 0px; white-space: normal; box-sizing: border-box; border: 0px; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; vertical-align: baseline; padding: 0px 0px 20px; color: rgb(102, 102, 102); background-color: rgb(255, 255, 255);\">下载地址:<a href=\"http://qiniu.cltphp.com/CLTPHP5.2.1.zip\" target=\"_self\" title=\"CLTPHP5.2.1下载\"><strong style=\"text-decoration: none; white-space: normal; color: rgb(118, 146, 60);\">CLTPHP5.2.1</strong></a><a href=\"http://qiniu.cltphp.com/cltphp5.2.1.zip\" target=\"_self\" title=\"CLTPHP5.2.1下载\"><strong style=\"white-space: normal; color: rgb(118, 146, 60);\"></strong></a></p><p style=\"margin-top: 0px; margin-bottom: 0px; white-space: normal; box-sizing: border-box; border: 0px; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; vertical-align: baseline; padding: 0px 0px 20px; color: rgb(102, 102, 102); background-color: rgb(255, 255, 255);\"><span style=\"color: rgb(102, 102, 102); font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; font-size: 14px; line-height: 24px; background-color: rgb(255, 255, 255);\">补丁地址:</span><a href=\"http://qiniu.cltphp.com/CLTPHP5.2%E5%88%B05.2.1%E8%A1%A5%E4%B8%81.zip\" target=\"_self\" title=\"CLTPHP5.2升5.2.1补丁\" style=\"color: rgb(118, 146, 60); text-decoration: none;\"><strong><span style=\"color: rgb(146, 208, 80);\">CLTPHP5.2升5.2.1补丁</span></strong></a></p><p><br/></p>','0',0,'1',0,'',0,0,250,1506475263,1506475718,'CLTPHP','http://www.cltphp.com/','',''),
(43,6,1,'admin','纯CSS实现页面的尖角、小三角、不同方向尖角的方法小结','','','<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; white-space: normal; background-color: rgb(255, 255, 255);\">效果图:</p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; white-space: normal; background-color: rgb(255, 255, 255);\">方法一的效果图:</p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; white-space: normal; text-align: center; background-color: rgb(255, 255, 255);\"><img src=\"/public/uploads/ueditor/image/20171008/1507425192923475.png\" alt=\"\"/></p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; white-space: normal; background-color: rgb(255, 255, 255);\">方法二的效果图:</p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; white-space: normal; text-align: center; background-color: rgb(255, 255, 255);\"><img src=\"/public/uploads/ueditor/image/20171008/1507425192357806.png\" alt=\"\"/></p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; white-space: normal; background-color: rgb(255, 255, 255);\">方法三的效果图:</p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; white-space: normal; text-align: center; background-color: rgb(255, 255, 255);\"><img src=\"/public/uploads/ueditor/image/20171008/1507425192288407.png\" alt=\"\"/></p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; white-space: normal; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(255, 0, 0);\"><span style=\"box-sizing: border-box; margin: 0px; padding: 0px; font-weight: 700; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\">方法1:因为有背景,所有实现起来比较方便,尖角的内部同个颜色就可以不用考虑遮挡问题</span></span></p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; white-space: normal; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; margin: 0px; padding: 0px; font-weight: 700; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\">html:</span></p><pre class=\"brush:xhtml;\" style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; overflow: auto; font-family: monospace, monospace; font-size: 1em; line-height: 1.42857; word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); background-color: rgb(245, 245, 245);\"><div id="first"> \n<p>带背景颜色的小三角实现是比较简单的!</p> \n <span id="top"></span> \n</div></pre><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; white-space: normal; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; margin: 0px; padding: 0px; font-weight: 700; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\">css</span></p><pre class=\"brush:sql;\" style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; overflow: auto; font-family: monospace, monospace; font-size: 1em; line-height: 1.42857; word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); background-color: rgb(245, 245, 245);\">#top { \n \n position: absolute; \n width: 0px; \n height: 0px; \n line-height: 0px;/*为了防止ie下出现题型*/ \n border-bottom: 10px solid #89b007; \n border-left: 10px solid #fff; \n border-right: 10px solid #fff; \n left: 76px; \n top: -10px; \n} \n#first { \n border-radius:8px; \n -moz-border-radius:8px;-ms-border-radius:8px;-o-border-radius:8px;-webkit-border-radius:8px; \n position: absolute; \n height: 150px; \n width: 300px; \n background: #89b007; \n left: 22px; \n top: 33px; \n} \n#first p{ padding:10px; line-height:1.5; color:#FFF;}</pre><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; white-space: normal; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(255, 0, 0);\"><span style=\"box-sizing: border-box; margin: 0px; padding: 0px; font-weight: 700; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\">方法2:</span></span></p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; white-space: normal; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; margin: 0px; padding: 0px; font-weight: 700; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\">html</span></p><pre class=\"brush:xhtml;\" style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; overflow: auto; font-family: monospace, monospace; font-size: 1em; line-height: 1.42857; word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); background-color: rgb(245, 245, 245);\"><div class="w"> \n <div class="x"> \n <p><a href="#">用面向对象的思想去书写css,用面向对象的心态去书写css。</a></p> \n <span class="z">◆</span> <span class="y">◆</span> </div> \n</div></pre><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; white-space: normal; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; margin: 0px; padding: 0px; font-weight: 700; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\">css</span></p><pre class=\"brush:css;\" style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; overflow: auto; font-family: monospace, monospace; font-size: 1em; line-height: 1.42857; word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); background-color: rgb(245, 245, 245);\">* { \nmargin: 0; \npadding: 0; \n} \na{ color:#666; text-decoration:none; line-height:25px; text-indent:24px;} \n.w{ width:200px; position:absolute; background:#999; left:400px; top:200px; font-size:12px; text-align:left}/*模拟灰色阴影背景层*/ \n.x{ width:180px; position:relative; background:#fff; border:1px solid #ccc; padding:10px; left:-4px; top:-4px;}/*内容div*/ \n.y , .z{ \nposition: absolute; \nleft: 141px; \n} \n.y{ \ncolor: #ccc; \nfont-size: 19px; \ntop:-12px; \nz-index:1; \n}/*模拟小三角*/ \n.z{ \ncolor: #fff; \nfont-size: 19px; \ntop:-11px; z-index:3; \n}/*模拟小三角*/</pre><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; white-space: normal; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; margin: 0px; padding: 0px; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(255, 0, 0);\"><span style=\"box-sizing: border-box; margin: 0px; padding: 0px; font-weight: 700; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\">方法3:</span></span></p><pre class=\"brush:xhtml;\" style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; overflow: auto; font-family: monospace, monospace; font-size: 1em; line-height: 1.42857; word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); background-color: rgb(245, 245, 245);\"><div id="content"> <span class="out"></span><span class="iner"></span> <span class="right"></span> \n <p>不管写什么内容,总之就是要实现无图小三角,要是有背景颜色那倒是极好的,没有的话也可以,就是稍微麻烦一点</p> \n</div></pre><pre class=\"brush:css;\" style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; overflow: auto; font-family: monospace, monospace; font-size: 1em; line-height: 1.42857; word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; outline: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); background-color: rgb(245, 245, 245);\">#content { \ntext-indent: 2em; \nbox-shadow: 0px 0px 10px #999; \npadding: 10px; \nfont-size: 12px; \nline-height: 1.5; \nborder-radius: 5px; \nheight: 100px; \nwidth: 250px; \nposition: relative; \nmargin: 200px auto; \nborder: 1px solid #CCC; \n} \nspan { \nposition: absolute; \nleft: 25px; \nheight: 0px; \nwidth: 0px; \n} \n/*上部小三角实现样式开始*/ \nspan.out { \nline-height: 0; \nborder-width: 10px; \nborder-color: transparent transparent #CCC transparent; \nborder-style: dashed dashed solid dashed; \ntop: -20px; \n} \nspan.iner { \nborder-width: 10px; \nborder-color: #fff transparent #FFF transparent; \nborder-style: dashed dashed solid dashed; \ntop: -19px; \nline-height: 0; \n} \n/*右部小三角实现样式开始*/ \nspan.right { \nbackground: #FFF; \nborder-width: 1px; \nwidth: 16px; \nheight: 16px; \nborder-color: #CCC #CCC transparent transparent; \nborder-style: solid solid dashed dashed; \nleft: 270px; \ntop: 30px; \nborder-radius: 0 0 100% 0;/*这里radius的值不要选取绝对值因为在放大或者缩小的过程中会产生封不住口的现象*/ \nline-height: 0; \nbox-shadow: 5px 0 10px #aaa; \n}</pre><p><br/></p>','0',0,'1',0,'',0,0,104,1507425169,0,'CLTPHP','http://www.cltphp.com/','',''),
(44,5,1,'admin','CLTPHP5.2.2发布','CLTPHP5.2.2发布','CLTPHP5.2.2发布','<p><span style=\"color:#666666;font-family:Microsoft yahei, Arial, Tahoma, Verdana\"><span style=\"font-size: 14px; line-height: 24px; background-color: rgb(255, 255, 255);\">修改bug若干</span></span></p><p><span style=\"color: rgb(102, 102, 102); font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; font-size: 14px; line-height: 24px; background-color: rgb(255, 255, 255);\">下载地址:</span><strong><span style=\"color: rgb(102, 102, 102); font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; font-size: 14px; line-height: 24px; text-decoration: none; background-color: rgb(255, 255, 255);\"><a href=\"http://qiniu.cltphp.com/cltphp5.2.2.zip\" target=\"_self\" title=\"CLTPHP5.2.2\" style=\"color: rgb(0, 176, 80);\"><span style=\"text-decoration: none; font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; font-size: 14px; line-height: 24px; color: rgb(0, 176, 80); background-color: rgb(255, 255, 255);\">CLTPHP5.2.2</span></a></span></strong></p><p><span style=\"color: rgb(102, 102, 102); font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; font-size: 14px; line-height: 24px; background-color: rgb(255, 255, 255);\">补丁地址:</span><span style=\"color: rgb(102, 102, 102); font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; font-size: 14px; line-height: 24px; text-decoration: none; background-color: rgb(255, 255, 255);\"><a href=\"http://qiniu.cltphp.com/CLTPHP5.2.1%E5%88%B05.2.2%E8%A1%A5%E4%B8%81.zip\" target=\"_self\" style=\"color: rgb(0, 176, 80);\"><strong><span style=\"text-decoration: none; font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; font-size: 14px; line-height: 24px; color: rgb(0, 176, 80); background-color: rgb(255, 255, 255);\">CLTPHP5.2.1到5.2.2升级</span></strong></a></span></p>','0',1,'1',0,'',0,0,1657,1507877194,1507879172,'CLTPHP','http://www.cltphp.com/','',''),
(45,5,1,'admin','给我们一点点时间 我们给你一个新突破','给我们一点点时间 我们给你一个新突破','给我们一点点时间 我们给你一个新突破','<p style=\"text-indent: 2em;\"><img src=\"/uploads/ueditor/image/20180116/1516071084131870.png\" title=\"1516071084131870.png\" alt=\"1516071084131870.png\" width=\"300\" height=\"84\"/>说实话,最近这段时间我们太忙了<img src=\"http://img.baidu.com/hi/jx2/j_0016.gif\"/>,cltphp的开发,甚至可以说是搁浅了一段时间。不过,各位请耐心等待一下啊,给我们一点点时间,或许不止一点点,我们给你一个新突破。</p>','0',1,'1',0,'',0,0,121,1512032568,1530234987,'CLTPHP','http://www.cltphp.com/','','color:;font-weight:normal;');
/*Table structure for table `clt_auth_group` */
DROP TABLE IF EXISTS `clt_auth_group`;
CREATE TABLE `clt_auth_group` (
`group_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT COMMENT '全新ID',
`title` char(100) NOT NULL DEFAULT '' COMMENT '标题',
`status` tinyint(1) DEFAULT '0' COMMENT '状态',
`rules` longtext COMMENT '规则',
`addtime` int(11) NOT NULL COMMENT '添加时间',
PRIMARY KEY (`group_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='管理员分组';
/*Data for the table `clt_auth_group` */
insert into `clt_auth_group`(`group_id`,`title`,`status`,`rules`,`addtime`) values
(1,'超级管理员',1,'0,1,2,270,15,16,119,120,121,145,17,149,116,117,118,151,181,18,108,114,112,109,110,111,3,5,126,127,128,4,230,232,129,189,190,193,192,240,239,241,243,244,245,242,246,7,9,14,234,13,235,236,237,238,27,29,161,163,164,162,38,167,182,169,166,28,48,247,248,31,32,249,250,251,45,170,171,175,174,173,46,176,183,179,178,265,196,197,202,198,252,253,254,255,256,203,205,204,257,272,206,207,212,208,213,258,259,260,261,262,209,215,214,263,273,267,269,',1465114224),
(2,'管理员',1,'0,1,2,270,15,16,145,17,181,18,111,3,5,127,128,4,129,189,190,239,241,242,7,9,14,13,27,29,161,163,164,162,38,167,182,169,166,28,48,31,32,45,170,171,175,174,173,46,176,183,179,178,196,197,202,252,203,205,204,257,272,206,207,212,208,260,267,269,',1465114224),
(3,'商品管理员',1,'27,29,161,163,164,162,38,167,182,169,166,',1465114224);
/*Table structure for table `clt_auth_rule` */
DROP TABLE IF EXISTS `clt_auth_rule`;
CREATE TABLE `clt_auth_rule` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`href` char(80) NOT NULL DEFAULT '',
`title` char(20) NOT NULL DEFAULT '',
`type` tinyint(1) NOT NULL DEFAULT '1',
`status` tinyint(1) NOT NULL DEFAULT '1',
`authopen` tinyint(2) NOT NULL DEFAULT '1',
`icon` varchar(20) DEFAULT NULL COMMENT '样式',
`condition` char(100) DEFAULT '',
`pid` int(5) NOT NULL DEFAULT '0' COMMENT '父栏目ID',
`sort` int(11) DEFAULT '0' COMMENT '排序',
`addtime` int(11) NOT NULL DEFAULT '0' COMMENT '添加时间',
`zt` int(1) DEFAULT NULL,
`menustatus` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=279 DEFAULT CHARSET=utf8 COMMENT='权限节点';
/*Data for the table `clt_auth_rule` */
insert into `clt_auth_rule`(`id`,`href`,`title`,`type`,`status`,`authopen`,`icon`,`condition`,`pid`,`sort`,`addtime`,`zt`,`menustatus`) values
(1,'System','系统设置',1,1,0,'icon-cogs','',0,0,1446535750,1,1),
(2,'System/system','系统设置',1,1,0,'','',1,1,1446535789,1,1),
(3,'Database/database','数据库管理',1,1,0,'icon-database','',0,2,1446535805,1,1),
(4,'Database/restore','还原数据库',1,1,0,'','',3,10,1446535750,1,1),
(5,'Database/database','数据库备份',1,1,0,'','',3,1,1446535834,1,1),
(7,'Category','栏目管理',1,1,0,'icon-list','',0,4,1446535875,1,1),
(9,'Category/index','栏目列表',1,1,0,'','',7,0,1446535750,1,1),
(13,'Category/edit','操作-修改',1,1,0,'','',9,3,1446535750,1,0),
(14,'Category/add','操作-添加',1,1,0,'','',9,0,1446535750,1,0),
(15,'Auth/adminList','权限管理',1,1,0,'icon-lifebuoy','',0,1,1446535750,1,1),
(16,'Auth/adminList','管理员列表',1,1,0,'','',15,0,1446535750,1,1),
(17,'Auth/adminGroup','用户组列表',1,1,0,'','',15,1,1446535750,1,1),
(18,'Auth/adminRule','权限管理',1,1,0,'','',15,2,1446535750,1,1),
(23,'Help/soft','软件下载',1,1,0,'','',22,50,1446711421,0,1),
(27,'Users','会员管理',1,1,0,'icon-user','',0,5,1447231507,1,1),
(28,'Function','网站功能',1,1,0,'icon-cog','',0,6,1447231590,1,1),
(29,'Users/index','会员列表',1,1,0,'','',27,10,1447232085,1,1),
(31,'Link/index','友情链接',1,1,0,'','',28,2,1447232183,0,1),
(32,'Link/add','操作-添加',1,1,0,'','',31,1,1447639935,0,0),
(36,'We/we_menu','自定义菜单',1,1,0,'','',35,50,1447842477,0,1),
(38,'Users/userGroup','会员组',1,1,0,'','',27,50,1448413248,1,1),
(39,'We/we_menu','自定义菜单',1,1,0,'','',36,50,1448501584,0,1),
(45,'Ad/index','广告管理',1,1,0,'','',28,3,1450314297,1,1),
(46,'Ad/type','广告位管理',1,1,0,'','',28,4,1450314324,1,1),
(48,'Message/index','留言管理',1,1,0,'','',28,1,1451267354,0,1),
(105,'System/runsys','操作-保存',1,1,0,'','',6,50,1461036331,1,0),
(106,'System/runwesys','操作-保存',1,1,0,'','',10,50,1461037680,0,0),
(107,'System/runemail','操作-保存',1,1,0,'','',19,50,1461039346,1,0),
(108,'Auth/ruleAdd','操作-添加',1,1,0,'','',18,0,1461550835,1,0),
(109,'Auth/ruleState','操作-状态',1,1,0,'','',18,5,1461550949,1,0),
(110,'Auth/ruleTz','操作-验证',1,1,0,'','',18,6,1461551129,1,0),
(111,'Auth/ruleorder','操作-排序',1,1,0,'','',18,7,1461551263,1,0),
(112,'Auth/ruleDel','操作-删除',1,1,0,'','',18,4,1461551536,1,0),
(114,'Auth/ruleEdit','操作-修改',1,1,0,'','',18,2,1461551913,1,0),
(116,'Auth/groupEdit','操作-修改',1,1,0,'','',17,3,1461552326,1,0),
(117,'Auth/groupDel','操作-删除',1,1,0,'','',17,30,1461552349,1,0),
(118,'Auth/groupAccess','操作-权限',1,1,0,'','',17,40,1461552404,1,0),
(119,'Auth/adminAdd','操作-添加',1,1,0,'','',16,0,1461553162,1,0),
(120,'Auth/adminEdit','操作-修改',1,1,0,'','',16,2,1461554130,1,0),
(121,'Auth/adminDel','操作-删除',1,1,0,'','',16,4,1461554152,1,0),
(122,'System/source_runadd','操作-添加',1,1,0,'','',43,10,1461036331,1,0),
(123,'System/source_order','操作-排序',1,1,0,'','',43,50,1461037680,1,0),
(124,'System/source_runedit','操作-改存',1,1,0,'','',43,30,1461039346,1,0),
(125,'System/source_del','操作-删除',1,1,0,'','',43,40,146103934,1,0),
(126,'Database/export','操作-备份',1,1,0,'','',5,1,1461550835,1,0),
(127,'Database/optimize','操作-优化',1,1,0,'','',5,1,1461550835,1,0),
(128,'Database/repair','操作-修复',1,1,0,'','',5,1,1461550835,1,0),
(129,'Database/delSqlFiles','操作-删除',1,1,0,'','',4,3,1461550835,1,0),
(130,'System/bxgs_state','操作-状态',1,1,0,'','',67,5,1461550835,1,0),
(131,'System/bxgs_edit','操作-修改',1,1,0,'','',67,1,1461550835,1,0),
(132,'System/bxgs_runedit','操作-改存',1,1,0,'','',67,2,1461550835,1,0),
(134,'System/myinfo_runedit','个人资料修改',1,1,0,'','',68,1,1461550835,1,0),
(236,'Category/del','操作-删除',1,1,0,'','',9,5,1497424900,0,0),
(230,'Database/import','操作-还原',1,1,0,'','',4,1,1497423595,0,0),
(145,'Auth/adminState','操作-状态',1,1,0,'','',16,5,1461550835,1,0),
(149,'Auth/groupAdd','操作-添加',1,1,0,'','',17,1,1461550835,1,0),
(151,'Auth/groupRunaccess','操作-权存',1,1,0,'','',17,50,1461550835,1,0),
(153,'System/bxgs_runadd','操作-添存',1,1,0,'','',66,1,1461550835,1,0),
(234,'Category/insert','操作-添存',1,1,0,'','',9,2,1497424143,0,0),
(240,'Module/del','操作-删除',1,1,0,'','',190,4,1497425850,0,0),
(239,'Module/moduleState','操作-状态',1,1,0,'','',190,5,1497425764,0,0),
(238,'page/edit','单页编辑',1,1,0,'','',7,2,1497425142,0,0),
(237,'Category/cOrder','操作-排序',1,1,0,'','',9,6,1497424979,0,0),
(161,'Users/usersState','操作-状态',1,1,0,'','',29,1,1461550835,1,0),
(162,'Users/delall','操作-全部删除',1,1,0,'','',29,4,1461550835,1,0),
(163,'Users/edit','操作-编辑',1,1,0,'','',29,2,1461550835,1,0),
(164,'Users/usersDel','操作-删除',1,1,0,'','',29,3,1461550835,1,0),
(247,'Message/del','操作-删除',1,1,0,'','',48,1,1497427449,0,0),
(166,'Users/groupOrder','操作-排序',1,1,0,'','',38,50,1461550835,1,0),
(167,'Users/groupAdd','操作-添加',1,1,0,'','',38,10,1461550835,1,0),
(169,'Users/groupDel','操作-删除',1,1,0,'','',38,30,1461550835,1,0),
(170,'Ad/add','操作-添加',1,1,0,'','',45,1,1461550835,1,0),
(171,'Ad/edit','操作-修改',1,1,0,'','',45,2,1461550835,1,0),
(173,'Ad/del','操作-删除',1,1,0,'','',45,5,1461550835,1,0),
(174,'Ad/adOrder','操作-排序',1,1,0,'','',45,4,1461550835,1,0),
(175,'Ad/editState','操作-状态',1,1,0,'','',45,3,1461550835,1,0),
(176,'Ad/addType','操作-添加',1,1,0,'','',46,1,1461550835,1,0),
(252,'Template/edit','操作-编辑',1,1,0,'','',197,3,1497428906,0,0),
(178,'Ad/delType','操作-删除',1,1,0,'','',46,4,1461550835,1,0),
(179,'Ad/typeOrder','操作-排序',1,1,0,'','',46,3,1461550835,1,0),
(180,'System/source_edit','操作-修改',1,1,0,'','',43,20,1461832933,1,0),
(181,'Auth/groupState','操作-状态',1,1,0,'','',17,50,1461834340,1,0),
(182,'Users/groupEdit','操作-修改',1,1,0,'','',38,15,1461834780,1,0),
(183,'Ad/editType','操作-修改',1,1,0,'','',46,2,1461834988,1,0),
(188,'Plug/donation','捐赠列表',1,1,0,'','',187,50,1466563673,0,1),
(189,'Module','模型管理',1,1,0,'icon-ungroup','',0,3,1466825363,0,1),
(190,'Module/index','模型列表',1,1,0,'','',189,1,1466826681,0,1),
(192,'Module/edit','操作-修改',1,1,0,'','',190,2,1467007920,0,0),
(193,'Module/add','操作-添加',1,1,0,'','',190,1,1467007955,0,0),
(196,'Template','模版管理',1,1,0,'icon-embed2','',0,7,1481857304,0,1),
(197,'Template/index','模版管理',1,1,0,'','',196,1,1481857540,0,1),
(198,'Template/insert','操作-添存',1,1,0,'','',197,2,1481857587,0,0),
(202,'Template/add','操作-添加',1,1,0,'','',197,1,1481859447,0,0),
(203,'Debris/index','碎片管理',1,1,0,'','',196,2,1484797759,0,1),
(204,'Debris/edit','操作-编辑',1,1,0,'','',203,2,1484797849,0,0),
(205,'Debris/add','操作-添加',1,1,0,'','',203,1,1484797878,0,0),
(206,'Wechat','微信管理',1,1,0,'icon-bubbles2','',0,8,1487063570,0,1),
(207,'Wechat/config','公众号管理',1,1,0,'','',206,1,1487063705,0,1),
(208,'Wechat/menu','菜单管理',1,1,0,'','',206,2,1487063765,0,1),
(209,'Wechat/materialmessage','消息素材',1,1,0,'','',206,3,1487063834,0,1),
(212,'Wechat/weixin','操作-设置',1,1,0,'','',207,1,1487064541,0,0),
(213,'Wechat/addMenu','操作-添加',1,1,0,'','',208,1,1487149151,0,0),
(214,'Wechat/editText','操作-编辑',1,1,0,'','',209,2,1487233984,0,0),
(215,'Wechat/addText','操作-添加',1,1,0,'','',209,1,1487234062,0,0),
(232,'Database/downFile','操作-下载',1,1,0,'','',4,2,1497423744,0,0),
(235,'Category/catUpdate','操作-该存',1,1,0,'','',9,4,1497424301,0,0),
(241,'Module/field','模型字段',1,1,0,'','',190,6,1497425972,0,0),
(242,'Module/fieldStatus','操作-状态',1,1,0,'','',241,4,1497426044,0,0),
(243,'Module/fieldAdd','操作-添加',1,1,0,'','',241,1,1497426089,0,0),
(244,'Module/fieldEdit','操作-修改',1,1,0,'','',241,2,1497426134,0,0),
(245,'Module/listOrder','操作-排序',1,1,0,'','',241,3,1497426179,0,0),
(246,'Module/fieldDel','操作-删除',1,1,0,'','',241,5,1497426241,0,0),
(248,'Message/delall','操作-删除全部',1,1,0,'','',48,2,1497427534,0,0),
(249,'Link/edit','操作-编辑',1,1,0,'','',31,2,1497427694,0,0),
(250,'Link/linkState','操作-状态',1,1,0,'','',31,3,1497427734,0,0),
(251,'Link/del','操作-删除',1,1,0,'','',31,4,1497427780,0,0),
(253,'Template/update','操作-改存',1,1,0,'','',197,4,1497428951,0,0),
(254,'Template/delete','操作-删除',1,1,0,'','',197,5,1497429018,0,0),
(255,'Template/images','媒体文件管理',1,1,0,'','',197,6,1497429157,0,0),
(256,'Template/imgDel','操作-文件删除',1,1,0,'','',255,1,1497429217,0,0),
(257,'Debris/del','操作-删除',1,1,0,'','',203,3,1497429416,0,0),
(258,'Wechat/editMenu','操作-编辑',1,1,0,'','',208,2,1497429671,0,0),
(259,'Wechat/menuOrder','操作-排序',1,1,0,'','',208,3,1497429707,0,0),
(260,'Wechat/menuState','操作-状态',1,1,0,'','',208,4,1497429764,0,0),
(261,'Wechat/delMenu','操作-删除',1,1,0,'','',208,5,1497429822,0,0),
(262,'Wechat/createMenu','操作-生成菜单',1,1,0,'','',208,6,1497429886,0,0),
(263,'Wechat/delText','操作-删除',1,1,0,'','',209,3,1497430020,0,0),
(265,'Donation/index','捐赠管理',1,1,0,'','',28,5,1498101716,0,1),
(273,'Wechat/replay','回复设置',1,1,0,'','',206,4,1508215988,0,1),
(267,'Plugin/index','插件管理',1,1,1,'icon-power-cord','',0,8,1501466560,0,1),
(269,'Plugin/index','第三方',1,1,1,'','',267,1,1501466732,0,1),
(270,'System/email','邮箱配置',1,1,0,'','',1,2,1502331829,0,1),
(272,'Debris/type','碎片分类',1,1,1,'','',196,3,1504082720,0,1),
(278,'Feast/index','节日气氛',1,1,1,'','',267,50,1532416207,NULL,1);
/*Table structure for table `clt_category` */
DROP TABLE IF EXISTS `clt_category`;
CREATE TABLE `clt_category` (
`id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
`catname` varchar(255) NOT NULL DEFAULT '',
`catdir` varchar(30) NOT NULL DEFAULT '',
`parentdir` varchar(50) NOT NULL DEFAULT '',
`parentid` smallint(5) unsigned NOT NULL DEFAULT '0',
`moduleid` tinyint(2) unsigned NOT NULL DEFAULT '0',
`module` char(24) NOT NULL DEFAULT '',
`arrparentid` varchar(255) NOT NULL DEFAULT '',
`arrchildid` varchar(100) NOT NULL DEFAULT '',
`type` tinyint(1) unsigned NOT NULL DEFAULT '0',
`title` varchar(150) NOT NULL DEFAULT '',
`keywords` varchar(200) NOT NULL DEFAULT '',
`description` varchar(255) NOT NULL DEFAULT '',
`sort` smallint(5) unsigned NOT NULL DEFAULT '0',
`ishtml` tinyint(1) unsigned NOT NULL DEFAULT '0',
`ismenu` tinyint(1) unsigned NOT NULL DEFAULT '0',
`hits` int(10) unsigned NOT NULL DEFAULT '0',
`image` varchar(100) NOT NULL DEFAULT '',
`child` tinyint(1) unsigned NOT NULL DEFAULT '0',
`url` varchar(100) NOT NULL DEFAULT '',
`template_list` varchar(20) NOT NULL DEFAULT '',
`template_show` varchar(20) NOT NULL DEFAULT '',
`pagesize` tinyint(2) unsigned NOT NULL DEFAULT '0',
`readgroup` varchar(100) NOT NULL DEFAULT '',
`listtype` tinyint(1) unsigned NOT NULL DEFAULT '0',
`lang` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_show` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否预览',
PRIMARY KEY (`id`),
KEY `parentid` (`parentid`),
KEY `listorder` (`sort`)
) ENGINE=MyISAM AUTO_INCREMENT=22 DEFAULT CHARSET=utf8;
/*Data for the table `clt_category` */
insert into `clt_category`(`id`,`catname`,`catdir`,`parentdir`,`parentid`,`moduleid`,`module`,`arrparentid`,`arrchildid`,`type`,`title`,`keywords`,`description`,`sort`,`ishtml`,`ismenu`,`hits`,`image`,`child`,`url`,`template_list`,`template_show`,`pagesize`,`readgroup`,`listtype`,`lang`,`is_show`) values
(1,'最新动态','news','',0,2,'article','0','1,5,6',0,'最新动态','最新动态','最新动态',4,0,1,0,'',1,'','article-list','article-show',0,'1,2,3',0,0,0),
(2,'关于我们','about','',0,1,'page','0','2',0,'关于我们','CLTPHP内容管理系统,微信公众平台、APP移动应用设计、HTML5网站API定制开发。大型企业网站、个人博客论坛、手机网站定制开发。更高效、更快捷的进行定制开发。','CLTPHP内容管理系统,微信公众平台、APP移动应用设计、HTML5网站API定制开发。大型企业网站、个人博客论坛、手机网站定制开发。更高效、更快捷的进行定制开发。',0,0,1,0,'',0,'','','',0,'',0,0,0),
(4,'系统操作','system','',0,3,'picture','0','4',0,'CLTPHP系统操作','CLTPHP系统操作,CLTPHP,CLTPHP内容管理系统','CLTPHP系统操作,CLTPHP,CLTPHP内容管理系统',2,0,1,0,'',0,'','','',0,'1,2,3',0,0,0),
(3,'CLTPHP服务','services','',0,2,'article','0','3',0,'产品服务-CLTPHP','产品服务,CLTPHP,CLTPHP内容管理系统','产品服务',1,0,1,0,'',0,'','','',15,'1,2,3',0,0,1),
(8,'联系我们','contact','',0,1,'page','0','8',0,'联系我们','联系我们','联系我们',7,0,1,0,'',0,'','page_show_contace','page_show_contace',0,'',0,0,0),
(7,'精英团队','team','',0,6,'team','0','7',0,'精英团队','精英团队','精英团队',5,0,1,0,'',0,'','','',0,'',0,0,0),
(5,'CLTPHP动态','news2','news/',1,2,'article','0,1','5',0,'CLTPHP动态','CLTPHP动态','CLTPHP动态',0,0,1,0,'',0,'','','',5,'1,2,3',0,0,1),
(6,'相关知识 ','news','news/',1,2,'article','0,1','6',0,'CLTPHP相关知识','CLTPHP相关知识','CLTPHP相关知识',0,0,1,0,'',0,'','','',0,'',0,0,1),
(14,'文件下载','download','',0,5,'download','0','14',0,'测试下载','测试下载','测试下载',0,0,1,0,'',0,'','','',10,'1,2',0,0,0);
/*Table structure for table `clt_config` */
DROP TABLE IF EXISTS `clt_config`;
CREATE TABLE `clt_config` (
`id` smallint(6) unsigned NOT NULL AUTO_INCREMENT COMMENT '表id',
`name` varchar(50) DEFAULT NULL COMMENT '配置的key键名',
`value` varchar(512) DEFAULT NULL COMMENT '配置的val值',
`inc_type` varchar(64) DEFAULT NULL COMMENT '配置分组',
`desc` varchar(50) DEFAULT NULL COMMENT '描述',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=90 DEFAULT CHARSET=utf8;
/*Data for the table `clt_config` */
insert into `clt_config`(`id`,`name`,`value`,`inc_type`,`desc`) values
(16,'is_mark','0','water','0'),
(17,'mark_txt','','water','0'),
(18,'mark_img','/public/upload/public/2017/01-20/10cd966bd5f3549833c09a5c9700a9b8.jpg','water','0'),
(19,'mark_width','','water','0'),
(20,'mark_height','','water','0'),
(21,'mark_degree','54','water','0'),
(22,'mark_quality','56','water','0'),
(23,'sel','9','water','0'),
(24,'sms_url','https://yunpan.cn/OcRgiKWxZFmjSJ','sms','0'),
(25,'sms_user','','sms','0'),
(26,'sms_pwd','访问密码 080e','sms','0'),
(27,'regis_sms_enable','1','sms','0'),
(28,'sms_time_out','1200','sms','0'),
(38,'__hash__','8d9fea07e44955760d3407524e469255_6ac8706878aa807db7ffb09dd0b02453','sms','0'),
(39,'__hash__','8d9fea07e44955760d3407524e469255_6ac8706878aa807db7ffb09dd0b02453','sms','0'),
(56,'sms_appkey','123456789','sms','0'),
(57,'sms_secretKey','123456789','sms','0'),
(58,'sms_product','CLTPHP','sms','0'),
(59,'sms_templateCode','SMS_101234567890','sms','0'),
(60,'smtp_server','smtp.qq.com','smtp','0'),
(61,'smtp_port','465','smtp','0'),
(62,'smtp_user','1109305987@qq.com','smtp','0'),
(63,'smtp_pwd','zmmqivflahemiegc','smtp','0'),
(64,'regis_smtp_enable','1','smtp','0'),
(65,'test_eamil','23456@qq.com','smtp','0'),
(70,'forget_pwd_sms_enable','1','sms','0'),
(71,'bind_mobile_sms_enable','1','sms','0'),
(72,'order_add_sms_enable','1','sms','0'),
(73,'order_pay_sms_enable','1','sms','0'),
(74,'order_shipping_sms_enable','1','sms','0'),
(88,'email_id','CLTPHP官网','smtp','0'),
(89,'test_eamil_info',' 您好!这是一封来自CLTPHP的测试邮件!','smtp','0');
/*Table structure for table `clt_debris` */
DROP TABLE IF EXISTS `clt_debris`;
CREATE TABLE `clt_debris` (
`id` int(6) NOT NULL AUTO_INCREMENT,
`type_id` int(6) DEFAULT NULL,
`title` varchar(120) DEFAULT NULL,
`content` text,
`addtime` int(13) DEFAULT NULL,
`sort` int(11) DEFAULT '50',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=21 DEFAULT CHARSET=utf8;
/*Data for the table `clt_debris` */
insert into `clt_debris`(`id`,`type_id`,`title`,`content`,`addtime`,`sort`) values
(15,1,'我们的差异化','<p><span style=\"text-align: center;\">CLTPHP内容管理系统给您自由的模型构建权利,让您的想法通过您亲自操作实现。不要再为传统的数据库字段限制而发愁。一步删除,一步增加,您想要的,就是这一步。</span></p>',1503293255,1),
(16,1,'完整的建站理念','<p><span style=\"text-align: center;\">CLTPHP可以轻松构建模型,让数据库随心而动,让内容表单随意而变。模型和栏目的绑定,是为了让前台页面能更好的为您的想法服务,让您不再为建站留下遗憾。</span></p>',1503293273,2),
(17,1,'简单、高效、低门槛','<p><span style=\"text-align: center;\">CLTPHP内容管理系统,全程鼠标操作,不用手动建立数据库,不用画网站结构图,也不用打开编译器。网站后台直接</span><span style=\"text-align: center;\">编辑</span><span style=\"text-align: center;\">模版,让网站建设达到前所未有的极致简单。</span></p>',1503293291,3);
/*Table structure for table `clt_debris_type` */
DROP TABLE IF EXISTS `clt_debris_type`;
CREATE TABLE `clt_debris_type` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(120) DEFAULT NULL,
`sort` int(1) DEFAULT '50',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
/*Data for the table `clt_debris_type` */
insert into `clt_debris_type`(`id`,`title`,`sort`) values
(1,'【首页】中部碎片',1);
/*Table structure for table `clt_donation` */
DROP TABLE IF EXISTS `clt_donation`;
CREATE TABLE `clt_donation` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增ID',
`name` varchar(120) NOT NULL DEFAULT '' COMMENT '用户名',
`money` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '捐赠金额',
`addtime` varchar(15) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=37 DEFAULT CHARSET=utf8;
/*Data for the table `clt_donation` */
insert into `clt_donation`(`id`,`name`,`money`,`addtime`) values
(3,'高飞',10.00,'1466566714'),
(4,'王磊',5.50,'1466566733'),
(5,'一匹忧郁的狼',11.11,'1466566780'),
(6,'神盾',50.00,'1467517788'),
(7,'赵云的枪',20.00,'1469582594'),
(8,'王@楠',5.00,'1473155340'),
(9,'王宁',10.00,'1473647377'),
(11,'幽鸣',100.00,'1483080600'),
(12,'得水',6.60,'1484874321'),
(13,'挨踢男',50.00,'1485224098'),
(14,'郭强',6.60,'1486343033'),
(15,'周超',5.00,'1487570095'),
(16,'栖息地',20.00,'1488507544'),
(17,'杨萍',11.00,'1489368971'),
(18,'杨蹦蹦V587',20.00,'1490608429'),
(19,'锋行天下',20.00,'1499765536'),
(20,'周伟',50.00,'1500014307'),
(21,'王者不荣耀',20.00,'1500368368'),
(22,'老虎的虎',5.00,'1500867256'),
(23,'老夫子',20.00,'1501203253'),
(24,'我是传奇',20.00,'1501567608'),
(25,'秋心',10.00,'1501807989'),
(31,'晓强',20.00,'1506742161'),
(32,'再向南飞',20.00,'1507266070'),
(33,'女王大人',300.00,'1508807674'),
(34,'在路上',18.88,'1508851175'),
(35,'玉望灬',3.00,'1509091826'),
(36,'诚 ',40.00,'1510121131');
/*Table structure for table `clt_download` */
DROP TABLE IF EXISTS `clt_download`;
CREATE TABLE `clt_download` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`catid` smallint(5) unsigned NOT NULL DEFAULT '0',
`userid` int(8) unsigned NOT NULL DEFAULT '0',
`username` varchar(40) NOT NULL DEFAULT '',
`title` varchar(120) NOT NULL DEFAULT '',
`title_style` varchar(225) NOT NULL DEFAULT '',
`thumb` varchar(225) NOT NULL DEFAULT '',
`keywords` varchar(120) NOT NULL DEFAULT '',
`description` mediumtext NOT NULL,
`content` text NOT NULL,
`template` varchar(40) NOT NULL DEFAULT '',
`posid` tinyint(2) unsigned NOT NULL DEFAULT '0',
`status` tinyint(1) unsigned NOT NULL DEFAULT '0',
`recommend` tinyint(1) unsigned NOT NULL DEFAULT '0',
`readgroup` varchar(100) NOT NULL DEFAULT '',
`readpoint` smallint(5) NOT NULL DEFAULT '0',
`sort` int(10) unsigned NOT NULL DEFAULT '0',
`hits` int(11) unsigned NOT NULL DEFAULT '0',
`createtime` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '发布时间',
`updatetime` int(11) unsigned NOT NULL DEFAULT '0',
`files` varchar(80) NOT NULL DEFAULT '',
`ext` varchar(255) NOT NULL DEFAULT 'zip',
`size` varchar(255) NOT NULL DEFAULT '',
`downs` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `status` (`id`,`status`,`sort`),
KEY `catid` (`id`,`catid`,`status`),
KEY `listorder` (`id`,`catid`,`status`,`sort`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*Data for the table `clt_download` */
insert into `clt_download`(`id`,`catid`,`userid`,`username`,`title`,`title_style`,`thumb`,`keywords`,`description`,`content`,`template`,`posid`,`status`,`recommend`,`readgroup`,`readpoint`,`sort`,`hits`,`createtime`,`updatetime`,`files`,`ext`,`size`,`downs`) values
(3,14,1,'admin','测试下载一','color:;font-weight:normal;','','测试下载一','测试下载一','请输入……','0',0,1,0,'',0,0,0,1529637588,0,'/uploads/20180622/a6f6381d3bf0f0814790ad4b5b121794.zip','zip','',0),
(4,14,1,'admin','测试下载二','color:;font-weight:normal;','','测试下载二','测试下载二','请输入……','0',0,1,0,'',0,0,0,1529638055,0,'/uploads/20180622/795f146c7c9e52414fe9f3b041af583e.zip','zip','',0);
/*Table structure for table `clt_feast` */
DROP TABLE IF EXISTS `clt_feast`;
CREATE TABLE `clt_feast` (
`id` int(4) NOT NULL AUTO_INCREMENT COMMENT '自增ID',
`title` varchar(120) DEFAULT '' COMMENT '标题',
`open` int(1) DEFAULT '1' COMMENT '是否开启',
`sort` int(4) DEFAULT '50' COMMENT '排序',
`addtime` varchar(15) DEFAULT NULL COMMENT '添加时间',
`feast_date` varchar(20) DEFAULT '' COMMENT '节日日期',
`type` int(1) DEFAULT '1' COMMENT '1阳历 2农历',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='节日列表';
/*Data for the table `clt_feast` */
insert into `clt_feast`(`id`,`title`,`open`,`sort`,`addtime`,`feast_date`,`type`) values
(2,'圣诞节',1,50,'1513304012','12-25',1),
(3,'中秋节',1,2,'1513317857','07-12',1),
(4,'七夕',1,50,'1532420762','07-24',1);
/*Table structure for table `clt_feast_element` */
DROP TABLE IF EXISTS `clt_feast_element`;
CREATE TABLE `clt_feast_element` (
`id` int(5) NOT NULL AUTO_INCREMENT COMMENT '自增ID',
`pid` int(4) DEFAULT NULL COMMENT '父级ID',
`title` varchar(120) DEFAULT NULL COMMENT '标题',
`css` text COMMENT 'CSS',
`js` text COMMENT 'JS',
`sort` int(5) DEFAULT '50' COMMENT '排序',
`open` int(1) DEFAULT '1' COMMENT '是否开启',
`addtime` varchar(15) DEFAULT NULL COMMENT '添加时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 COMMENT='节日元素表';
/*Data for the table `clt_feast_element` */
insert into `clt_feast_element`(`id`,`pid`,`title`,`css`,`js`,`sort`,`open`,`addtime`) values
(1,2,'内容雪人','#content-wrapper{position: relative;}\n#top-left img{width: 150px;}\n#top-left{position: absolute;top: 30px;left: -145px;}','$(\"#content-wrapper\").append(\"<div id=top-left><img src=/static/feast/christmas/top-left.png></div>\");',1,1,'1513309235'),
(2,2,'主页右下角驯鹿','#body-right-bottom{position: fixed;bottom: 0;right: 20px;z-index:51}\n#body-right-bottom img{width: 400px;}','$(\"body\").append(\"<div id=body-right-bottom><img src=/static/feast/christmas/body-right-bottom.png></div>\");',2,1,'1513309340'),
(3,2,'主页左下角圣诞树','#body-left-bottom{position: fixed;bottom: 0;left:0;z-index:51}\n#body-left-bottom img{width: 200px;}',' $(\"body\").append(\"<div id=body-left-bottom><img src=/static/feast/christmas/body-left-bottom.png></div>\");',3,1,'1513309488'),
(4,2,'主页右上角铃铛','#body-top-right{position: fixed;top: 0;right:0;z-index: 100;}\n#body-top-right img{width: 120px;}',' $(\"body\").append(\"<div id=body-top-right><img src=/static/feast/christmas/body-top-right.png></div>\");',4,1,'1513309568'),
(5,2,'主页左中部圣诞老人','#body-left-center{position: fixed;top: 300px;left: 0;z-index: 100;}\n#body-left-center img{width: 220px;}','$(\"body\").append(\"<div id=body-left-center><img src=/static/feast/christmas/body-left-center.png></div>\");',5,1,'1513309625'),
(6,2,'下载栏树叶','.rfeatured-box{position: relative;}\n#right-one-top-right img{width: 60px;}\n#right-one-top-right{position: absolute;top: 0;right: -10px;}',' $(\".featured-box\").append(\"<div id=right-one-top-right><img src=/static/feast/christmas/right-one-top-right.png></div>\");',6,1,'1513309980'),
(7,2,'导航栏雪景','header{position: relative;}\n#nav-bg img{}\n#nav-bg{position: absolute;bottom: -15px;height:30px;left: 0;width: 100%;background: url(\"/static/feast/christmas/nav-bg.png\")repeat-x; z-index:50}','$(\"header\").append(\"<div id=nav-bg><img src=/static/feast/christmas/nav-bg.png></div>\");',7,1,'1513310236'),
(8,2,'主页背景','body{background: url(\"/static/feast/christmas/zbg.png\") no-repeat 100% 100%;background-size: 100%;}','',50,1,'1513310497'),
(10,3,'主页左下角房子','#body-left-bottom{position: fixed;bottom: 0;left:0;}\n#body-left-bottom img{width: 200px;}',' $(\"body\").append(\"<div id=body-left-bottom><img src=/static/feast/zhongqiu/body-left-bottom.png></div>\");',50,1,'1513320275'),
(11,3,'左上角文字','#body-top-left{position: fixed;top:0;left0;z-index: 100;}\n#body-top-left img{width: 350px;}',' $(\"body\").append(\"<div id=body-top-left><img src=/static/feast/zhongqiu/body-top-left.png?111></div>\");',50,1,'1513320569'),
(12,3,'右上角嫦娥','#body-top-right{position: fixed;top: 0;right:0;z-index: 100;}\n#body-top-right img{width: 300px;}',' $(\"body\").append(\"<div id=body-top-right><img src=/static/feast/zhongqiu/body-top-right.png></div>\");',50,1,'1513321010'),
(13,4,'右上角喜鹊','#body-top-right{position: fixed;top: 0;right:0;z-index: 100;}\n#body-top-right img{width: 300px;}',' $(\"body\").append(\"<div id=body-top-right><img src=/static/feast/qixi/bird.png></div>\");',1,1,'1528689869');
/*Table structure for table `clt_field` */
DROP TABLE IF EXISTS `clt_field`;
CREATE TABLE `clt_field` (
`id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
`moduleid` tinyint(3) unsigned NOT NULL DEFAULT '0',
`field` varchar(20) NOT NULL DEFAULT '',
`name` varchar(30) NOT NULL DEFAULT '',
`tips` varchar(150) NOT NULL DEFAULT '',
`required` tinyint(1) unsigned NOT NULL DEFAULT '0',
`minlength` int(10) unsigned NOT NULL DEFAULT '0',
`maxlength` int(10) unsigned NOT NULL DEFAULT '0',
`pattern` varchar(255) NOT NULL DEFAULT '',
`errormsg` varchar(255) NOT NULL DEFAULT '',
`class` varchar(20) NOT NULL DEFAULT '',
`type` varchar(20) NOT NULL DEFAULT '',
`setup` text,
`ispost` tinyint(1) NOT NULL DEFAULT '0',
`unpostgroup` varchar(60) NOT NULL DEFAULT '',
`sort` int(10) unsigned NOT NULL DEFAULT '0',
`status` tinyint(1) unsigned NOT NULL DEFAULT '0',
`issystem` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=120 DEFAULT CHARSET=utf8;
/*Data for the table `clt_field` */
insert into `clt_field`(`id`,`moduleid`,`field`,`name`,`tips`,`required`,`minlength`,`maxlength`,`pattern`,`errormsg`,`class`,`type`,`setup`,`ispost`,`unpostgroup`,`sort`,`status`,`issystem`) values
(1,1,'title','标题','',1,1,80,'defaul','标题必须为1-80个字符','title','title','array (\n \'thumb\' => \'1\',\n \'style\' => \'1\',\n)',1,'',1,1,1),
(2,1,'hits','点击次数','',0,0,8,'','','','number','array (\n \'size\' => \'10\',\n \'numbertype\' => \'1\',\n \'decimaldigits\' => \'0\',\n \'default\' => \'0\',\n)',1,'',8,0,0),
(3,1,'createtime','发布时间','',1,0,0,'date','','','datetime','',1,'',97,1,1),
(4,1,'template','模板','',0,0,0,'','','','template','',1,'',99,1,1),
(5,1,'status','状态','',0,0,0,'defaul','','status','radio','array (\n \'options\' => \'发布|1\n定时发布|0\',\n \'fieldtype\' => \'varchar\',\n \'numbertype\' => \'1\',\n \'default\' => \'1\',\n)',0,'',98,1,1),
(6,1,'content','内容','',1,0,0,'defaul','','content','editor','array (\n \'edittype\' => \'UEditor\',\n)',0,'',3,1,0),
(7,2,'catid','栏目','',1,1,6,'','必须选择一个栏目','','catid','',1,'',1,1,1),
(8,2,'title','标题','',1,1,80,'defaul','标题必须为1-80个字符','title','title','array (\n \'thumb\' => \'1\',\n \'style\' => \'1\',\n)',1,'',2,1,1),
(9,2,'keywords','关键词','',0,0,80,'','','','text','array (\n \'size\' => \'55\',\n \'default\' => \'\',\n \'ispassword\' => \'0\',\n \'fieldtype\' => \'varchar\',\n)',1,'',3,1,1),
(10,2,'description','SEO简介','',0,0,0,'','','','textarea','array (\n \'fieldtype\' => \'mediumtext\',\n \'rows\' => \'4\',\n \'cols\' => \'55\',\n \'default\' => \'\',\n)',1,'',4,1,1),
(11,2,'content','内容','',0,0,0,'defaul','','content','editor','array (\n \'edittype\' => \'layedit\',\n)',1,'',5,1,1),
(12,2,'createtime','发布时间','',1,0,0,'date','','createtime','datetime','',1,'',6,1,1),
(13,2,'recommend','允许评论','',0,0,1,'','','','radio','array (\n \'options\' => \'允许评论|1\r\n不允许评论|0\',\n \'fieldtype\' => \'tinyint\',\n \'numbertype\' => \'1\',\n \'labelwidth\' => \'\',\n \'default\' => \'\',\n)',1,'',10,0,0),
(14,2,'readpoint','阅读收费','',0,0,5,'','','','number','array (\n \'size\' => \'5\',\n \'numbertype\' => \'1\',\n \'decimaldigits\' => \'0\',\n \'default\' => \'0\',\n)',1,'',11,0,0),
(15,2,'hits','点击次数','',0,0,8,'','','','number','array (\n \'size\' => \'10\',\n \'numbertype\' => \'1\',\n \'decimaldigits\' => \'0\',\n \'default\' => \'0\',\n)',1,'',12,1,0),
(16,2,'readgroup','访问权限','',0,0,0,'','','','groupid','array (\n \'inputtype\' => \'checkbox\',\n \'fieldtype\' => \'tinyint\',\n \'labelwidth\' => \'85\',\n \'default\' => \'\',\n)',1,'',13,1,1),
(17,2,'posid','推荐位','',0,0,0,'','','','posid','',1,'',14,1,1),
(18,2,'template','模板','',0,0,0,'','','','template','',1,'',15,1,1),
(19,2,'status','状态','',0,0,0,'defaul','','status','radio','array (\n \'options\' => \'发布|1\n定时发布|2\',\n \'fieldtype\' => \'varchar\',\n \'numbertype\' => \'1\',\n \'default\' => \'1\',\n)',1,'',7,1,1),
(20,3,'catid','栏目','',1,1,6,'','必须选择一个栏目','','catid','',1,'',1,1,1),
(21,3,'title','标题','',1,1,80,'defaul','标题必须为1-80个字符','','title','array (\n \'thumb\' => \'0\',\n \'style\' => \'0\',\n)',1,'',2,1,1),
(22,3,'keywords','关键词','',0,0,80,'','','','text','array (\n \'size\' => \'55\',\n \'default\' => \'\',\n \'ispassword\' => \'0\',\n \'fieldtype\' => \'varchar\',\n)',1,'',3,1,1),
(23,3,'description','SEO简介','',0,0,0,'','','','textarea','array (\n \'fieldtype\' => \'mediumtext\',\n \'rows\' => \'4\',\n \'cols\' => \'55\',\n \'default\' => \'\',\n)',1,'',4,1,1),
(24,3,'content','内容','',0,0,0,'defaul','','content','editor','array (\n \'edittype\' => \'layedit\',\n)',1,'',7,1,1),
(25,3,'createtime','发布时间','',1,0,0,'date','','','datetime','',1,'',8,1,1),
(26,3,'recommend','允许评论','',0,0,1,'','','','radio','array (\n \'options\' => \'允许评论|1\r\n不允许评论|0\',\n \'fieldtype\' => \'tinyint\',\n \'numbertype\' => \'1\',\n \'labelwidth\' => \'\',\n \'default\' => \'\',\n)',1,'',10,0,0),
(27,3,'readpoint','阅读收费','',0,0,5,'','','','number','array (\n \'size\' => \'5\',\n \'numbertype\' => \'1\',\n \'decimaldigits\' => \'0\',\n \'default\' => \'0\',\n)',1,'',11,0,0),
(28,3,'hits','点击次数','',0,0,8,'','','','number','array (\n \'size\' => \'10\',\n \'numbertype\' => \'1\',\n \'decimaldigits\' => \'0\',\n \'default\' => \'0\',\n)',1,'',12,0,0),
(29,3,'readgroup','访问权限','',0,0,0,'','','','groupid','array (\n \'inputtype\' => \'checkbox\',\n \'fieldtype\' => \'tinyint\',\n \'labelwidth\' => \'85\',\n \'default\' => \'\',\n)',1,'',13,0,1),
(30,3,'posid','推荐位','',0,0,0,'','','','posid','',1,'',14,1,1),
(31,3,'template','模板','',0,0,0,'','','','template','',1,'',15,1,1),
(32,3,'status','状态','',0,0,0,'','','','radio','array (\n \'options\' => \'发布|1\r\n定时发布|0\',\n \'fieldtype\' => \'tinyint\',\n \'numbertype\' => \'1\',\n \'labelwidth\' => \'75\',\n \'default\' => \'1\',\n)',1,'',9,1,1),
(33,3,'pic','图片','',1,0,0,'defaul','','pic','image','',0,'',5,1,0),
(34,3,'group','类型','',1,0,0,'defaul','','group','select','array (\n \'options\' => \'模型管理|1\n分类管理|2\n内容管理|3\',\n \'multiple\' => \'0\',\n \'fieldtype\' => \'varchar\',\n \'numbertype\' => \'1\',\n \'size\' => \'\',\n \'default\' => \'\',\n)',0,'',6,1,0),
(35,4,'catid','栏目','',1,1,6,'','必须选择一个栏目','','catid','',1,'',1,1,1),
(36,4,'title','标题','',1,1,80,'','标题必须为1-80个字符','','title','array (\n \'thumb\' => \'1\',\n \'style\' => \'1\',\n \'size\' => \'55\',\n)',1,'',2,1,1),
(37,4,'keywords','关键词','',0,0,80,'','','','text','array (\n \'size\' => \'55\',\n \'default\' => \'\',\n \'ispassword\' => \'0\',\n \'fieldtype\' => \'varchar\',\n)',1,'',3,1,1),
(38,4,'description','SEO简介','',0,0,0,'','','','textarea','array (\n \'fieldtype\' => \'mediumtext\',\n \'rows\' => \'4\',\n \'cols\' => \'55\',\n \'default\' => \'\',\n)',1,'',4,1,1),
(39,4,'content','内容','',0,0,0,'defaul','','content','editor','array (\n \'edittype\' => \'layedit\',\n)',1,'',8,1,1),
(40,4,'createtime','发布时间','',1,0,0,'date','','','datetime','',1,'',9,1,1),
(41,4,'status','状态','',0,0,0,'','','','radio','array (\n \'options\' => \'发布|1\r\n定时发布|0\',\n \'fieldtype\' => \'tinyint\',\n \'numbertype\' => \'1\',\n \'labelwidth\' => \'75\',\n \'default\' => \'1\',\n)',1,'',10,1,1),
(42,4,'recommend','允许评论','',0,0,1,'','','','radio','array (\n \'options\' => \'允许评论|1\r\n不允许评论|0\',\n \'fieldtype\' => \'tinyint\',\n \'numbertype\' => \'1\',\n \'labelwidth\' => \'\',\n \'default\' => \'\',\n)',1,'',11,0,0),
(43,4,'readpoint','阅读收费','',0,0,5,'','','','number','array (\n \'size\' => \'5\',\n \'numbertype\' => \'1\',\n \'decimaldigits\' => \'0\',\n \'default\' => \'0\',\n)',1,'',12,0,0),
(44,4,'hits','点击次数','',0,0,8,'','','','number','array (\n \'size\' => \'10\',\n \'numbertype\' => \'1\',\n \'decimaldigits\' => \'0\',\n \'default\' => \'0\',\n)',1,'',13,0,0),
(45,4,'readgroup','访问权限','',0,0,0,'','','','groupid','array (\n \'inputtype\' => \'checkbox\',\n \'fieldtype\' => \'tinyint\',\n \'labelwidth\' => \'85\',\n \'default\' => \'\',\n)',1,'',14,0,1),
(46,4,'posid','推荐位','',0,0,0,'','','','posid','',1,'',15,1,1),
(47,4,'template','模板','',0,0,0,'','','','template','',1,'',16,1,1),
(48,4,'price','价格','',1,0,0,'defaul','','price','number','array (\n \'size\' => \'\',\n \'numbertype\' => \'1\',\n \'decimaldigits\' => \'2\',\n \'default\' => \'0.00\',\n)',0,'',5,1,0),
(49,4,'xinghao','型号','',0,0,0,'defaul','','','text','array (\n \'default\' => \'\',\n \'ispassword\' => \'0\',\n \'fieldtype\' => \'varchar\',\n)',0,'',6,1,0),
(50,4,'pics','图组','',0,0,0,'defaul','','pics','images','',0,'',7,1,0),
(51,5,'catid','栏目','',1,1,6,'','必须选择一个栏目','','catid','',1,'',1,1,1),
(52,5,'title','标题','',1,1,80,'','标题必须为1-80个字符','','title','array (\n \'thumb\' => \'1\',\n \'style\' => \'1\',\n \'size\' => \'55\',\n)',1,'',2,1,1),
(53,5,'keywords','关键词','',0,0,80,'','','','text','array (\n \'size\' => \'55\',\n \'default\' => \'\',\n \'ispassword\' => \'0\',\n \'fieldtype\' => \'varchar\',\n)',1,'',3,1,1),
(54,5,'description','SEO简介','',0,0,0,'','','','textarea','array (\n \'fieldtype\' => \'mediumtext\',\n \'rows\' => \'4\',\n \'cols\' => \'55\',\n \'default\' => \'\',\n)',1,'',4,1,1),
(55,5,'content','内容','',0,0,0,'defaul','','content','editor','array (\n \'edittype\' => \'layedit\',\n)',1,'',9,1,1),
(56,5,'createtime','发布时间','',1,0,0,'date','','createtime','datetime','',1,'',10,1,1),
(57,5,'status','状态','',0,0,0,'','','','radio','array (\n \'options\' => \'发布|1\r\n定时发布|0\',\n \'fieldtype\' => \'tinyint\',\n \'numbertype\' => \'1\',\n \'labelwidth\' => \'75\',\n \'default\' => \'1\',\n)',1,'',11,1,1),
(58,5,'recommend','允许评论','',0,0,1,'','','','radio','array (\n \'options\' => \'允许评论|1\r\n不允许评论|0\',\n \'fieldtype\' => \'tinyint\',\n \'numbertype\' => \'1\',\n \'labelwidth\' => \'\',\n \'default\' => \'\',\n)',1,'',12,0,0),
(59,5,'readpoint','阅读收费','',0,0,5,'','','','number','array (\n \'size\' => \'5\',\n \'numbertype\' => \'1\',\n \'decimaldigits\' => \'0\',\n \'default\' => \'0\',\n)',1,'',13,0,0),
(60,5,'hits','点击次数','',0,0,8,'','','','number','array (\n \'size\' => \'10\',\n \'numbertype\' => \'1\',\n \'decimaldigits\' => \'0\',\n \'default\' => \'0\',\n)',1,'',14,0,0),
(61,5,'readgroup','访问权限','',0,0,0,'','','','groupid','array (\n \'inputtype\' => \'checkbox\',\n \'fieldtype\' => \'tinyint\',\n \'labelwidth\' => \'85\',\n \'default\' => \'\',\n)',1,'',15,0,1),
(62,5,'posid','推荐位','',0,0,0,'','','','posid','',1,'',16,1,1),
(63,5,'template','模板','',0,0,0,'','','','template','',1,'',17,1,1),
(64,5,'files','上传文件','',0,0,0,'defaul','','files','file','array (\n \'upload_allowext\' => \'zip,rar,doc,ppt\',\n)',0,'',5,1,0),
(65,5,'ext','文档类型','',0,0,0,'defaul','','ext','text','array (\n \'default\' => \'zip\',\n \'ispassword\' => \'0\',\n \'fieldtype\' => \'varchar\',\n)',0,'',6,1,0),
(66,5,'size','文档大小','',0,0,0,'defaul','','size','text','array (\n \'default\' => \'\',\n \'ispassword\' => \'0\',\n \'fieldtype\' => \'varchar\',\n)',0,'',7,1,0),
(67,5,'downs','下载次数','',0,0,0,'defaul','','','number','array (\n \'size\' => \'\',\n \'numbertype\' => \'1\',\n \'decimaldigits\' => \'0\',\n \'default\' => \'\',\n)',0,'',8,1,0),
(68,6,'title','标题','',1,1,80,'','标题必须为1-80个字符','','title','array (\n \'thumb\' => \'1\',\n \'style\' => \'1\',\n \'size\' => \'55\',\n)',1,'',2,1,1),
(69,6,'hits','点击次数','',0,0,8,'','','','number','array (\n \'size\' => \'10\',\n \'numbertype\' => \'1\',\n \'decimaldigits\' => \'0\',\n \'default\' => \'0\',\n)',1,'',6,0,0),
(70,6,'createtime','发布时间','',1,0,0,'date','','','datetime','',1,'',4,1,1),
(71,6,'template','模板','',0,0,0,'','','','template','',1,'',7,1,1),
(72,6,'status','状态','',0,0,0,'','','','radio','array (\n \'options\' => \'发布|1\r\n定时发布|0\',\n \'fieldtype\' => \'tinyint\',\n \'numbertype\' => \'1\',\n \'labelwidth\' => \'75\',\n \'default\' => \'1\',\n)',1,'',5,1,1),
(73,6,'catid','分类','',1,0,0,'defaul','','catid','catid','',0,'',1,1,0),
(74,6,'info','简介','',1,0,0,'defaul','','info','editor','array (\n \'edittype\' => \'layedit\',\n)',0,'',3,1,0),
(75,2,'copyfrom','来源','',0,0,0,'defaul','','copyfrom','text','array (\n \'default\' => \'CLTPHP\',\n \'ispassword\' => \'0\',\n \'fieldtype\' => \'varchar\',\n)',0,'',8,1,0),
(76,2,'fromlink','来源网址','',0,0,0,'defaul','','fromlink','text','array (\n \'default\' => \'http://www.cltphp.com/\',\n \'ispassword\' => \'0\',\n \'fieldtype\' => \'varchar\',\n)',0,'',9,1,0),
(116,19,'hits','点击次数','',0,0,8,'','','','number','array (\n \'size\' => \'10\',\n \'numbertype\' => \'1\',\n \'decimaldigits\' => \'0\',\n \'default\' => \'0\',\n)',1,'',8,0,0),
(115,19,'title','标题','',1,1,80,'','标题必须为1-80个字符','','title','array (\n \'thumb\' => \'1\',\n \'style\' => \'1\',\n \'size\' => \'55\',\n)',1,'',2,1,1),
(118,19,'template','模板','',0,0,0,'','','','template','',1,'',99,1,1),
(119,19,'status','状态','',0,0,0,'','','','radio','array (\n \'options\' => \'发布|1\r\n定时发布|0\',\n \'fieldtype\' => \'tinyint\',\n \'numbertype\' => \'1\',\n \'labelwidth\' => \'75\',\n \'default\' => \'1\',\n)',1,'',98,1,1),
(117,19,'createtime','发布时间','',1,0,0,'date','','createtime','datetime','',1,'',97,1,1);
/*Table structure for table `clt_link` */
DROP TABLE IF EXISTS `clt_link`;
CREATE TABLE `clt_link` (
`link_id` int(5) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL COMMENT '链接名称',
`url` varchar(200) NOT NULL COMMENT '链接URL',
`type_id` tinyint(4) DEFAULT NULL COMMENT '所属栏目ID',
`qq` varchar(20) NOT NULL COMMENT '联系QQ',
`sort` int(5) NOT NULL DEFAULT '50' COMMENT '排序',
`addtime` int(11) NOT NULL COMMENT '添加时间',
`open` tinyint(2) NOT NULL DEFAULT '0' COMMENT '0禁用1启用',
PRIMARY KEY (`link_id`)
) ENGINE=MyISAM AUTO_INCREMENT=19 DEFAULT CHARSET=utf8;
/*Data for the table `clt_link` */
insert into `clt_link`(`link_id`,`name`,`url`,`type_id`,`qq`,`sort`,`addtime`,`open`) values
(10,'CLTPHP','http://www.cltphp.com/',0,'1109305987',1,1495183645,1),
(8,'CLTPHP内容管理系统','http://www.cltphp.com/',0,'1109305987',2,1484791374,1),
(11,'CLTPHP动态','http://www.cltphp.com/news-49.html',0,'',3,1499765975,1),
(12,'关于我们','http://cltphp.com/about-8.html',0,'',4,1499766009,1),
(13,'CLTPHP相关知识','http://cltphp.com/news-51.html',0,'',5,1499766031,1),
(15,'有你有我影视','http://www.ynywo.com/',0,'',6,1501030917,1);
/*Table structure for table `clt_message` */
DROP TABLE IF EXISTS `clt_message`;
CREATE TABLE `clt_message` (
`message_id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(200) DEFAULT '' COMMENT '留言标题',
`tel` varchar(15) NOT NULL DEFAULT '' COMMENT '留言电话',
`addtime` varchar(15) NOT NULL COMMENT '留言时间',
`open` tinyint(2) NOT NULL DEFAULT '0' COMMENT '1=审核 0=不审核',
`ip` varchar(50) DEFAULT '' COMMENT '留言者IP',
`content` longtext NOT NULL COMMENT '留言内容',
`name` varchar(60) NOT NULL DEFAULT '' COMMENT '用户名',
`email` varchar(50) NOT NULL COMMENT '留言邮箱',
PRIMARY KEY (`message_id`)
) ENGINE=MyISAM AUTO_INCREMENT=95 DEFAULT CHARSET=utf8;
/*Data for the table `clt_message` */
insert into `clt_message`(`message_id`,`title`,`tel`,`addtime`,`open`,`ip`,`content`,`name`,`email`) values
(92,'呵呵','','1528851199',0,'127.0.0.1','为什么还不更新?','chichu','1109305987@qq.com'),
(93,'11','','1530629400',0,'127.0.0.1','11','11','11'),
(94,'11','','1530777448',0,'127.0.0.1','11','11','11');
/*Table structure for table `clt_module` */
DROP TABLE IF EXISTS `clt_module`;
CREATE TABLE `clt_module` (
`id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(100) NOT NULL DEFAULT '',
`name` varchar(50) NOT NULL DEFAULT '',
`description` varchar(200) NOT NULL DEFAULT '',
`type` tinyint(1) unsigned NOT NULL DEFAULT '0',
`issystem` tinyint(1) unsigned NOT NULL DEFAULT '0',
`listfields` varchar(255) NOT NULL DEFAULT '',
`sort` smallint(3) unsigned NOT NULL DEFAULT '0',
`status` tinyint(1) unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=20 DEFAULT CHARSET=utf8;
/*Data for the table `clt_module` */
insert into `clt_module`(`id`,`title`,`name`,`description`,`type`,`issystem`,`listfields`,`sort`,`status`) values
(1,'单页模型','page','单页面',1,0,'*',0,1),
(2,'文章模型','article','新闻文章',1,0,'*',0,1),
(3,'图片模型','picture','图片展示',1,0,'*',0,1),
(4,'产品模型','product','产品展示',1,0,'*',0,1),
(5,'下载模型','download','文件下载',1,0,'*',0,1),
(6,'团队模型','team','员工展示',1,0,'*',0,1),
(19,'test','test','',1,0,'*',0,1);
/*Table structure for table `clt_oauth` */
DROP TABLE IF EXISTS `clt_oauth`;
CREATE TABLE `clt_oauth` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) DEFAULT NULL COMMENT '用户id',
`type` varchar(50) DEFAULT NULL COMMENT '账号类型',
`openid` varchar(120) DEFAULT NULL COMMENT '第三方唯一标示',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `clt_oauth` */
/*Table structure for table `clt_page` */
DROP TABLE IF EXISTS `clt_page`;
CREATE TABLE `clt_page` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(80) NOT NULL DEFAULT '',
`title_style` varchar(225) NOT NULL DEFAULT '',
`thumb` varchar(225) NOT NULL DEFAULT '',
`hits` int(11) unsigned NOT NULL DEFAULT '0',
`status` varchar(255) NOT NULL DEFAULT '1',
`userid` int(8) unsigned NOT NULL DEFAULT '0',
`username` varchar(40) NOT NULL DEFAULT '',
`sort` int(10) unsigned NOT NULL DEFAULT '0',
`createtime` int(11) unsigned NOT NULL DEFAULT '0',
`updatetime` int(11) unsigned NOT NULL DEFAULT '0',
`lang` tinyint(1) unsigned NOT NULL DEFAULT '0',
`content` text NOT NULL,
`template` varchar(50) DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=59 DEFAULT CHARSET=utf8;
/*Data for the table `clt_page` */
insert into `clt_page`(`id`,`title`,`title_style`,`thumb`,`hits`,`status`,`userid`,`username`,`sort`,`createtime`,`updatetime`,`lang`,`content`,`template`) values
(2,'关于我们','color:rgb(95, 184, 120);font-weight:bold;','/uploads/20180611/b78388d0d1b123e06d900c4d1a1d88ba.jpg',28,'1',0,'',0,1504251653,0,0,'<p style=\"box-sizing: border-box; border: 0px; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: \"><a href=\"http://www.cltphp.com/\" target=\"_blank\" title=\"CLTPHP内容管理系统\" style=\"color: rgb(146, 208, 80); text-decoration: none;\"><span style=\"color: rgb(146, 208, 80);\">CLTPHP内容管理系统</span></a>,包含系统设置,权限管理,模型管理,数据库管理,栏目管理,会员管理,网站功能,模版管理,微信管理等相关模块。基于ThinkPHP5开发,后台采用Layui框架完全自适应,数据交互采用更高效简洁的angularjs实现,。</p><p style=\"box-sizing: border-box; border: 0px; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: 'Microsoft yahei', Arial, Tahoma, Verdana; vertical-align: baseline; margin-top: 0px; margin-bottom: 0px; padding: 0px 0px 20px; color: rgb(151, 151, 151); white-space: normal; background-color: rgb(255, 255, 255);\"> <a target=\"_blank\" href=\"http://www.cltphp.com/\" style=\"box-sizing: border-box; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline; margin: 0px; padding: 0px; outline: 0px; color: rgb(146, 208, 80); text-decoration: none;\"><span style=\"color: rgb(146, 208, 80);\">CLTPHP</span></a>采用ThinkPHP开发,ThinkPHP5采用全新的架构思想,引入了很多的PHP新特性,优化了核心,减少了依赖,实现了真正的惰性加载。正因为ThinkPHP的这些新特性,从而使得CLTPHP的执行速度成倍提高。</p><p style=\"box-sizing: border-box; border: 0px; font-stretch: inherit; font-size: 14px; line-height: 24px;\"> UI方面,<a target=\"_blank\" href=\"http://www.cltphp.com/\" style=\"box-sizing: border-box; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline; margin: 0px; padding: 0px; outline: 0px; color: rgb(146, 208, 80); text-decoration: none;\"><span style=\"color: rgb(146, 208, 80);\">CLTPHP</span></a>采用了最受欢迎的Layui,Layui用于开发响应式布局、移动设备优先的 WEB 项目。简洁、直观、强悍的前端开发框架,让CLTPHP的后台界面更加美观,开发更迅速、简单。</p>','0'),
(8,'联系我们','color:;font-weight:normal;','',10,'1',0,'',0,1499765407,0,0,'<p>您的支持是我们一往无前的无限动力,非常荣幸在<a target=\"_self\" href=\"http://www.cltphp.com/\">CLTPHP</a>成长的道路上有您的陪伴!!!</p>','');
/*Table structure for table `clt_picture` */
DROP TABLE IF EXISTS `clt_picture`;
CREATE TABLE `clt_picture` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`catid` smallint(5) unsigned NOT NULL DEFAULT '0',
`userid` int(8) unsigned NOT NULL DEFAULT '0',
`username` varchar(40) NOT NULL DEFAULT '',
`title` varchar(80) NOT NULL DEFAULT '',
`keywords` varchar(120) NOT NULL DEFAULT '',
`description` mediumtext NOT NULL,
`content` text NOT NULL,
`template` varchar(40) NOT NULL DEFAULT '',
`posid` tinyint(2) unsigned NOT NULL DEFAULT '0',
`status` tinyint(1) unsigned NOT NULL DEFAULT '0',
`recommend` tinyint(1) unsigned NOT NULL DEFAULT '0',
`readgroup` varchar(100) NOT NULL DEFAULT '',
`readpoint` smallint(5) NOT NULL DEFAULT '0',
`sort` int(10) unsigned NOT NULL DEFAULT '0',
`hits` int(11) unsigned NOT NULL DEFAULT '0',
`createtime` int(11) unsigned NOT NULL DEFAULT '0',
`updatetime` int(11) unsigned NOT NULL DEFAULT '0',
`pic` varchar(80) NOT NULL DEFAULT '',
`group` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `status` (`id`,`status`,`sort`),
KEY `catid` (`id`,`catid`,`status`),
KEY `listorder` (`id`,`catid`,`status`,`sort`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
/*Data for the table `clt_picture` */
insert into `clt_picture`(`id`,`catid`,`userid`,`username`,`title`,`keywords`,`description`,`content`,`template`,`posid`,`status`,`recommend`,`readgroup`,`readpoint`,`sort`,`hits`,`createtime`,`updatetime`,`pic`,`group`) values
(1,4,1,'admin','模型列表','模型列表','展示网站内容模型,模型是CLTPHP的核心之一。','<p>展示网站内容模型,模型是CLTPHP的核心之一。</p>','0',0,1,0,'',0,1,1,1499761915,1528699234,'/uploads/20180611/0ce39ef421e7ca7149b2630d93b571ee.png','1'),
(2,4,1,'admin','添加模型','添加模型','添加模型','<p>您可以通过后台轻松创建新的新的模型,不拘泥于传统。</p>','0',0,1,0,'',0,2,0,1499762188,1528699288,'/uploads/20180611/e41226ad6f977aeb2418a0f55a0678ef.png','1'),
(3,4,1,'admin','模型字段','模型字段','模型字段','<p>您可以任意构建自己的模型字段,从而达到网站内容的高效编辑。</p>','0',0,1,0,'',0,3,0,1499762270,1528699324,'/uploads/20180611/57027c6ab845effea600f6f9695e2db4.png','1'),
(4,4,1,'admin','添加字段','添加字段','添加字段','<p>CLTPHP提供了丰富的字段类型,当然您可以扩展出更多的类型。</p>','0',0,1,0,'',0,4,0,1499762323,1528699410,'/uploads/20180611/85f128c3c9488a41b04386e31199ab3f.png','1'),
(5,4,1,'admin','栏目列表','栏目列表','栏目列表','<p>栏目编辑,可以让后台编辑明确,也可以使的前台展示更加分明。</p>','0',0,1,0,'',0,5,0,1499762369,1528699472,'/uploads/20180611/2b6456d6725ce4ad1a8dd66b595f1eb9.png','2'),
(6,4,1,'admin','添加栏目','添加栏目','添加栏目','<p>添加栏目时绑定模型,以适应网站内容的多样性。</p>','0',0,1,0,'',0,6,0,1499762446,1528699568,'/uploads/20180611/953235f4e44df6dd63de15bb28ea0bc5.png','2'),
(7,4,1,'admin','内容列表','内容列表','内容列表','<p>点击栏目名称进入对应的内容列表页,简洁而高效。</p>','0',0,1,0,'',0,7,0,1499762523,1528699605,'/uploads/20180611/fb3193674fb2ea68f2a61d4de0859a0e.png','3'),
(8,4,1,'admin','添加内容','添加内容','添加内容','<p>不同栏目的内容编辑页是根据及绑定的模型智能生成的。</p>','0',0,1,0,'',0,8,0,1499762754,1528699629,'/uploads/20180611/ef322c904a47681d32aa4338316bac18.png','3');
/*Table structure for table `clt_plugin` */
DROP TABLE IF EXISTS `clt_plugin`;
CREATE TABLE `clt_plugin` (
`code` varchar(13) DEFAULT NULL COMMENT '插件编码',
`name` varchar(55) DEFAULT NULL COMMENT '中文名字',
`version` varchar(255) DEFAULT NULL COMMENT '插件的版本',
`author` varchar(30) DEFAULT NULL COMMENT '插件作者',
`config` text COMMENT '配置信息',
`config_value` text COMMENT '配置值信息',
`desc` varchar(255) DEFAULT NULL COMMENT '插件描述',
`status` tinyint(1) DEFAULT '0' COMMENT '是否启用',
`type` varchar(50) DEFAULT NULL COMMENT '插件类型 payment支付 login 登陆 shipping物流',
`icon` varchar(255) DEFAULT NULL COMMENT '图标',
`bank_code` text COMMENT '网银配置信息',
`scene` tinyint(1) DEFAULT '0' COMMENT '使用场景 0 PC+手机 1 手机 2 PC'
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*Data for the table `clt_plugin` */
insert into `clt_plugin`(`code`,`name`,`version`,`author`,`config`,`config_value`,`desc`,`status`,`type`,`icon`,`bank_code`,`scene`) values
('qq','QQ登陆','1.0','CLTPHP','a:5:{i:0;a:4:{s:4:\"name\";s:5:\"appid\";s:5:\"label\";s:5:\"appid\";s:4:\"type\";s:4:\"text\";s:5:\"value\";s:0:\"\";}i:1;a:4:{s:4:\"name\";s:6:\"appkey\";s:5:\"label\";s:6:\"appkey\";s:4:\"type\";s:4:\"text\";s:5:\"value\";s:0:\"\";}i:2;a:4:{s:4:\"name\";s:8:\"callback\";s:5:\"label\";s:12:\"回调地址\";s:4:\"type\";s:4:\"text\";s:5:\"value\";s:37:\"http://cltdemo.test/index/callback/qq\";}i:3;a:4:{s:4:\"name\";s:5:\"scope\";s:5:\"label\";s:12:\"获取字段\";s:4:\"type\";s:8:\"textarea\";s:5:\"value\";s:225:\"get_user_info,add_share,list_album,add_album,upload_pic,add_topic,add_one_blog,add_weibo,check_page_fans,add_t,add_pic_t,del_t,get_repost_list,get_info,get_other_info,get_fanslist,get_idolist,add_idol,del_idol,get_tenpay_addr\";}i:4;a:4:{s:4:\"name\";s:11:\"errorReport\";s:5:\"label\";s:12:\"错误报告\";s:4:\"type\";s:4:\"text\";s:5:\"value\";s:4:\"true\";}}','a:5:{s:5:\"appid\";s:0:\"\";s:6:\"appkey\";s:0:\"\";s:8:\"callback\";s:37:\"http://cltdemo.test/index/callback/qq\";s:5:\"scope\";s:225:\"get_user_info,add_share,list_album,add_album,upload_pic,add_topic,add_one_blog,add_weibo,check_page_fans,add_t,add_pic_t,del_t,get_repost_list,get_info,get_other_info,get_fanslist,get_idolist,add_idol,del_idol,get_tenpay_addr\";s:11:\"errorReport\";s:4:\"true\";}','QQ登陆插件 ',1,'login','logo.png','s:0:\"\";',0),
('changyan','畅言评论','1.0','CLTPHP','a:3:{i:0;a:4:{s:4:\"name\";s:6:\"app_id\";s:5:\"label\";s:6:\"app_id\";s:4:\"type\";s:4:\"text\";s:5:\"value\";s:0:\"\";}i:1;a:4:{s:4:\"name\";s:7:\"app_key\";s:5:\"label\";s:7:\"app_key\";s:4:\"type\";s:4:\"text\";s:5:\"value\";s:0:\"\";}i:2;a:4:{s:4:\"name\";s:6:\"config\";s:5:\"label\";s:6:\"config\";s:4:\"type\";s:4:\"text\";s:5:\"value\";s:0:\"\";}}','a:8:{s:5:\"appid\";s:0:\"\";s:6:\"appkey\";s:0:\"\";s:8:\"callback\";s:37:\"http://cltdemo.test/index/callback/qq\";s:5:\"scope\";s:225:\"get_user_info,add_share,list_album,add_album,upload_pic,add_topic,add_one_blog,add_weibo,check_page_fans,add_t,add_pic_t,del_t,get_repost_list,get_info,get_other_info,get_fanslist,get_idolist,add_idol,del_idol,get_tenpay_addr\";s:11:\"errorReport\";s:4:\"true\";s:6:\"app_id\";s:0:\"\";s:7:\"app_key\";s:0:\"\";s:6:\"config\";s:0:\"\";}','畅言评论插件 ',1,'msg','logo.png','s:0:\"\";',0);
/*Table structure for table `clt_posid` */
DROP TABLE IF EXISTS `clt_posid`;
CREATE TABLE `clt_posid` (
`id` tinyint(2) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(40) NOT NULL DEFAULT '',
`sort` tinyint(2) unsigned NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*Data for the table `clt_posid` */
insert into `clt_posid`(`id`,`name`,`sort`) values
(1,'首页推荐',0),
(2,'当前分类推荐',0);
/*Table structure for table `clt_product` */
DROP TABLE IF EXISTS `clt_product`;
CREATE TABLE `clt_product` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`catid` smallint(5) unsigned NOT NULL DEFAULT '0',
`userid` int(8) unsigned NOT NULL DEFAULT '0',
`username` varchar(40) NOT NULL DEFAULT '',
`title` varchar(120) NOT NULL DEFAULT '',
`title_style` varchar(225) NOT NULL DEFAULT '',
`thumb` varchar(225) NOT NULL DEFAULT '',
`keywords` varchar(120) NOT NULL DEFAULT '',
`description` mediumtext NOT NULL,
`content` text NOT NULL,
`template` varchar(40) NOT NULL DEFAULT '',
`posid` tinyint(2) unsigned NOT NULL DEFAULT '0',
`status` tinyint(1) unsigned NOT NULL DEFAULT '0',
`recommend` tinyint(1) unsigned NOT NULL DEFAULT '0',
`readgroup` varchar(100) NOT NULL DEFAULT '',
`readpoint` smallint(5) NOT NULL DEFAULT '0',
`sort` int(10) unsigned NOT NULL DEFAULT '0',
`hits` int(11) unsigned NOT NULL DEFAULT '0',
`createtime` int(11) unsigned NOT NULL DEFAULT '0',
`updatetime` int(11) unsigned NOT NULL DEFAULT '0',
`price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00',
`xinghao` varchar(255) NOT NULL DEFAULT '',
`pics` mediumtext NOT NULL,
PRIMARY KEY (`id`),
KEY `status` (`id`,`status`,`sort`),
KEY `catid` (`id`,`catid`,`status`),
KEY `listorder` (`id`,`catid`,`status`,`sort`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*Data for the table `clt_product` */
/*Table structure for table `clt_region` */
DROP TABLE IF EXISTS `clt_region`;
CREATE TABLE `clt_region` (
`id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
`pid` smallint(5) unsigned NOT NULL DEFAULT '0',
`name` varchar(120) NOT NULL DEFAULT '0',
`type` tinyint(1) NOT NULL DEFAULT '2',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3410 DEFAULT CHARSET=utf8;
/*Data for the table `clt_region` */
insert into `clt_region`(`id`,`pid`,`name`,`type`) values
(1,0,'中国',0),
(2,1,'北京',1),
(3,1,'安徽',1),
(4,1,'福建',1),
(5,1,'甘肃',1),
(6,1,'广东',1),
(7,1,'广西',1),
(8,1,'贵州',1),
(9,1,'海南',1),
(10,1,'河北',1),
(11,1,'河南',1),
(12,1,'黑龙江',1),
(13,1,'湖北',1),
(14,1,'湖南',1),
(15,1,'吉林',1),
(16,1,'江苏',1),
(17,1,'江西',1),
(18,1,'辽宁',1),
(19,1,'内蒙古',1),
(20,1,'宁夏',1),
(21,1,'青海',1),
(22,1,'山东',1),
(23,1,'山西',1),
(24,1,'陕西',1),
(25,1,'上海',1),
(26,1,'四川',1),
(27,1,'天津',1),
(28,1,'西藏',1),
(29,1,'新疆',1),
(30,1,'云南',1),
(31,1,'浙江',1),
(32,1,'重庆',1),
(33,1,'香港',1),
(34,1,'澳门',1),
(35,1,'台湾',1),
(36,3,'安庆',2),
(37,3,'蚌埠',2),
(38,3,'巢湖',2),
(39,3,'池州',2),
(40,3,'滁州',2),
(41,3,'阜阳',2),
(42,3,'淮北',2),
(43,3,'淮南',2),
(44,3,'黄山',2),
(45,3,'六安',2),
(46,3,'马鞍山',2),
(47,3,'宿州',2),
(48,3,'铜陵',2),
(49,3,'芜湖',2),
(50,3,'宣城',2),
(51,3,'亳州',2),
(52,2,'北京',2),
(53,4,'福州',2),
(54,4,'龙岩',2),
(55,4,'南平',2),
(56,4,'宁德',2),
(57,4,'莆田',2),
(58,4,'泉州',2),
(59,4,'三明',2),
(60,4,'厦门',2),
(61,4,'漳州',2),
(62,5,'兰州',2),
(63,5,'白银',2),
(64,5,'定西',2),
(65,5,'甘南',2),
(66,5,'嘉峪关',2),
(67,5,'金昌',2),
(68,5,'酒泉',2),
(69,5,'临夏',2),
(70,5,'陇南',2),
(71,5,'平凉',2),
(72,5,'庆阳',2),
(73,5,'天水',2),
(74,5,'武威',2),
(75,5,'张掖',2),
(76,6,'广州',2),
(77,6,'深圳',2),
(78,6,'潮州',2),
(79,6,'东莞',2),
(80,6,'佛山',2),
(81,6,'河源',2),
(82,6,'惠州',2),
(83,6,'江门',2),
(84,6,'揭阳',2),
(85,6,'茂名',2),
(86,6,'梅州',2),
(87,6,'清远',2),
(88,6,'汕头',2),
(89,6,'汕尾',2),
(90,6,'韶关',2),
(91,6,'阳江',2),
(92,6,'云浮',2),
(93,6,'湛江',2),
(94,6,'肇庆',2),
(95,6,'中山',2),
(96,6,'珠海',2),
(97,7,'南宁',2),
(98,7,'桂林',2),
(99,7,'百色',2),
(100,7,'北海',2),
(101,7,'崇左',2),
(102,7,'防城港',2),
(103,7,'贵港',2),
(104,7,'河池',2),
(105,7,'贺州',2),
(106,7,'来宾',2),
(107,7,'柳州',2),
(108,7,'钦州',2),
(109,7,'梧州',2),
(110,7,'玉林',2),
(111,8,'贵阳',2),
(112,8,'安顺',2),
(113,8,'毕节',2),
(114,8,'六盘水',2),
(115,8,'黔东南',2),
(116,8,'黔南',2),
(117,8,'黔西南',2),
(118,8,'铜仁',2),
(119,8,'遵义',2),
(120,9,'海口',2),
(121,9,'三亚',2),
(122,9,'白沙',2),
(123,9,'保亭',2),
(124,9,'昌江',2),
(125,9,'澄迈县',2),
(126,9,'定安县',2),
(127,9,'东方',2),
(128,9,'乐东',2),
(129,9,'临高县',2),
(130,9,'陵水',2),
(131,9,'琼海',2),
(132,9,'琼中',2),
(133,9,'屯昌县',2),
(134,9,'万宁',2),
(135,9,'文昌',2),
(136,9,'五指山',2),
(137,9,'儋州',2),
(138,10,'石家庄',2),
(139,10,'保定',2),
(140,10,'沧州',2),
(141,10,'承德',2),
(142,10,'邯郸',2),
(143,10,'衡水',2),
(144,10,'廊坊',2),
(145,10,'秦皇岛',2),
(146,10,'唐山',2),
(147,10,'邢台',2),
(148,10,'张家口',2),
(149,11,'郑州',2),
(150,11,'洛阳',2),
(151,11,'开封',2),
(152,11,'安阳',2),
(153,11,'鹤壁',2),
(154,11,'济源',2),
(155,11,'焦作',2),
(156,11,'南阳',2),
(157,11,'平顶山',2),
(158,11,'三门峡',2),
(159,11,'商丘',2),
(160,11,'新乡',2),
(161,11,'信阳',2),
(162,11,'许昌',2),
(163,11,'周口',2),
(164,11,'驻马店',2),
(165,11,'漯河',2),
(166,11,'濮阳',2),
(167,12,'哈尔滨',2),
(168,12,'大庆',2),
(169,12,'大兴安岭',2),
(170,12,'鹤岗',2),
(171,12,'黑河',2),
(172,12,'鸡西',2),
(173,12,'佳木斯',2),
(174,12,'牡丹江',2),
(175,12,'七台河',2),
(176,12,'齐齐哈尔',2),
(177,12,'双鸭山',2),
(178,12,'绥化',2),
(179,12,'伊春',2),
(180,13,'武汉',2),
(181,13,'仙桃',2),
(182,13,'鄂州',2),
(183,13,'黄冈',2),
(184,13,'黄石',2),
(185,13,'荆门',2),
(186,13,'荆州',2),
(187,13,'潜江',2),
(188,13,'神农架林区',2),
(189,13,'十堰',2),
(190,13,'随州',2),
(191,13,'天门',2),
(192,13,'咸宁',2),
(193,13,'襄樊',2),
(194,13,'孝感',2),
(195,13,'宜昌',2),
(196,13,'恩施',2),
(197,14,'长沙',2),
(198,14,'张家界',2),
(199,14,'常德',2),
(200,14,'郴州',2),
(201,14,'衡阳',2),
(202,14,'怀化',2),
(203,14,'娄底',2),
(204,14,'邵阳',2),
(205,14,'湘潭',2),
(206,14,'湘西',2),
(207,14,'益阳',2),
(208,14,'永州',2),
(209,14,'岳阳',2),
(210,14,'株洲',2),
(211,15,'长春',2),
(212,15,'吉林',2),
(213,15,'白城',2),
(214,15,'白山',2),
(215,15,'辽源',2),
(216,15,'四平',2),
(217,15,'松原',2),
(218,15,'通化',2),
(219,15,'延边',2),
(220,16,'南京',2),
(221,16,'苏州',2),
(222,16,'无锡',2),
(223,16,'常州',2),
(224,16,'淮安',2),
(225,16,'连云港',2),
(226,16,'南通',2),
(227,16,'宿迁',2),
(228,16,'泰州',2),
(229,16,'徐州',2),
(230,16,'盐城',2),
(231,16,'扬州',2),
(232,16,'镇江',2),
(233,17,'南昌',2),
(234,17,'抚州',2),
(235,17,'赣州',2),
(236,17,'吉安',2),
(237,17,'景德镇',2),
(238,17,'九江',2),
(239,17,'萍乡',2),
(240,17,'上饶',2),
(241,17,'新余',2),
(242,17,'宜春',2),
(243,17,'鹰潭',2),
(244,18,'沈阳',2),
(245,18,'大连',2),
(246,18,'鞍山',2),
(247,18,'本溪',2),
(248,18,'朝阳',2),
(249,18,'丹东',2),
(250,18,'抚顺',2),
(251,18,'阜新',2),
(252,18,'葫芦岛',2),
(253,18,'锦州',2),
(254,18,'辽阳',2),
(255,18,'盘锦',2),
(256,18,'铁岭',2),
(257,18,'营口',2),
(258,19,'呼和浩特',2),
(259,19,'阿拉善盟',2),
(260,19,'巴彦淖尔盟',2),
(261,19,'包头',2),
(262,19,'赤峰',2),
(263,19,'鄂尔多斯',2),
(264,19,'呼伦贝尔',2),
(265,19,'通辽',2),
(266,19,'乌海',2),
(267,19,'乌兰察布市',2),
(268,19,'锡林郭勒盟',2),
(269,19,'兴安盟',2),
(270,20,'银川',2),
(271,20,'固原',2),
(272,20,'石嘴山',2),
(273,20,'吴忠',2),
(274,20,'中卫',2),
(275,21,'西宁',2),
(276,21,'果洛',2),
(277,21,'海北',2),
(278,21,'海东',2),
(279,21,'海南',2),
(280,21,'海西',2),
(281,21,'黄南',2),
(282,21,'玉树',2),
(283,22,'济南',2),
(284,22,'青岛',2),
(285,22,'滨州',2),
(286,22,'德州',2),
(287,22,'东营',2),
(288,22,'菏泽',2),
(289,22,'济宁',2),
(290,22,'莱芜',2),
(291,22,'聊城',2),
(292,22,'临沂',2),
(293,22,'日照',2),
(294,22,'泰安',2),
(295,22,'威海',2),
(296,22,'潍坊',2),
(297,22,'烟台',2),
(298,22,'枣庄',2),
(299,22,'淄博',2),
(300,23,'太原',2),
(301,23,'长治',2),
(302,23,'大同',2),
(303,23,'晋城',2),
(304,23,'晋中',2),
(305,23,'临汾',2),
(306,23,'吕梁',2),
(307,23,'朔州',2),
(308,23,'忻州',2),
(309,23,'阳泉',2),
(310,23,'运城',2),
(311,24,'西安',2),
(312,24,'安康',2),
(313,24,'宝鸡',2),
(314,24,'汉中',2),
(315,24,'商洛',2),
(316,24,'铜川',2),
(317,24,'渭南',2),
(318,24,'咸阳',2),
(319,24,'延安',2),
(320,24,'榆林',2),
(321,25,'上海',2),
(322,26,'成都',2),
(323,26,'绵阳',2),
(324,26,'阿坝',2),
(325,26,'巴中',2),
(326,26,'达州',2),
(327,26,'德阳',2),
(328,26,'甘孜',2),
(329,26,'广安',2),
(330,26,'广元',2),
(331,26,'乐山',2),
(332,26,'凉山',2),
(333,26,'眉山',2),
(334,26,'南充',2),
(335,26,'内江',2),
(336,26,'攀枝花',2),
(337,26,'遂宁',2),
(338,26,'雅安',2),
(339,26,'宜宾',2),
(340,26,'资阳',2),
(341,26,'自贡',2),
(342,26,'泸州',2),
(343,27,'天津',2),
(344,28,'拉萨',2),
(345,28,'阿里',2),
(346,28,'昌都',2),
(347,28,'林芝',2),
(348,28,'那曲',2),
(349,28,'日喀则',2),
(350,28,'山南',2),
(351,29,'乌鲁木齐',2),
(352,29,'阿克苏',2),
(353,29,'阿拉尔',2),
(354,29,'巴音郭楞',2),
(355,29,'博尔塔拉',2),
(356,29,'昌吉',2),
(357,29,'哈密',2),
(358,29,'和田',2),
(359,29,'喀什',2),
(360,29,'克拉玛依',2),
(361,29,'克孜勒苏',2),
(362,29,'石河子',2),
(363,29,'图木舒克',2),
(364,29,'吐鲁番',2),
(365,29,'五家渠',2),
(366,29,'伊犁',2),
(367,30,'昆明',2),
(368,30,'怒江',2),
(369,30,'普洱',2),
(370,30,'丽江',2),
(371,30,'保山',2),
(372,30,'楚雄',2),
(373,30,'大理',2),
(374,30,'德宏',2),
(375,30,'迪庆',2),
(376,30,'红河',2),
(377,30,'临沧',2),
(378,30,'曲靖',2),
(379,30,'文山',2),
(380,30,'西双版纳',2),
(381,30,'玉溪',2),
(382,30,'昭通',2),
(383,31,'杭州',2),
(384,31,'湖州',2),
(385,31,'嘉兴',2),
(386,31,'金华',2),
(387,31,'丽水',2),
(388,31,'宁波',2),
(389,31,'绍兴',2),
(390,31,'台州',2),
(391,31,'温州',2),
(392,31,'舟山',2),
(393,31,'衢州',2),
(394,32,'重庆',2),
(395,33,'香港',2),
(396,34,'澳门',2),
(397,35,'台湾',2),
(398,36,'迎江区',3),
(399,36,'大观区',3),
(400,36,'宜秀区',3),
(401,36,'桐城市',3),
(402,36,'怀宁县',3),
(403,36,'枞阳县',3),
(404,36,'潜山县',3),
(405,36,'太湖县',3),
(406,36,'宿松县',3),
(407,36,'望江县',3),
(408,36,'岳西县',3),
(409,37,'中市区',3),
(410,37,'东市区',3),
(411,37,'西市区',3),
(412,37,'郊区',3),
(413,37,'怀远县',3),
(414,37,'五河县',3),
(415,37,'固镇县',3),
(416,38,'居巢区',3),
(417,38,'庐江县',3),
(418,38,'无为县',3),
(419,38,'含山县',3),
(420,38,'和县',3),
(421,39,'贵池区',3),
(422,39,'东至县',3),
(423,39,'石台县',3),
(424,39,'青阳县',3),
(425,40,'琅琊区',3),
(426,40,'南谯区',3),
(427,40,'天长市',3),
(428,40,'明光市',3),
(429,40,'来安县',3),
(430,40,'全椒县',3),
(431,40,'定远县',3),
(432,40,'凤阳县',3),
(433,41,'蚌山区',3),
(434,41,'龙子湖区',3),
(435,41,'禹会区',3),
(436,41,'淮上区',3),
(437,41,'颍州区',3),
(438,41,'颍东区',3),
(439,41,'颍泉区',3),
(440,41,'界首市',3),
(441,41,'临泉县',3),
(442,41,'太和县',3),
(443,41,'阜南县',3),
(444,41,'颖上县',3),
(445,42,'相山区',3),
(446,42,'杜集区',3),
(447,42,'烈山区',3),
(448,42,'濉溪县',3),
(449,43,'田家庵区',3),
(450,43,'大通区',3),
(451,43,'谢家集区',3),
(452,43,'八公山区',3),
(453,43,'潘集区',3),
(454,43,'凤台县',3),
(455,44,'屯溪区',3),
(456,44,'黄山区',3),
(457,44,'徽州区',3),
(458,44,'歙县',3),
(459,44,'休宁县',3),
(460,44,'黟县',3),
(461,44,'祁门县',3),
(462,45,'金安区',3),
(463,45,'裕安区',3),
(464,45,'寿县',3),
(465,45,'霍邱县',3),
(466,45,'舒城县',3),
(467,45,'金寨县',3),
(468,45,'霍山县',3),
(469,46,'雨山区',3),
(470,46,'花山区',3),
(471,46,'金家庄区',3),
(472,46,'当涂县',3),
(473,47,'埇桥区',3),
(474,47,'砀山县',3),
(475,47,'萧县',3),
(476,47,'灵璧县',3),
(477,47,'泗县',3),
(478,48,'铜官山区',3),
(479,48,'狮子山区',3),
(480,48,'郊区',3),
(481,48,'铜陵县',3),
(482,49,'镜湖区',3),
(483,49,'弋江区',3),
(484,49,'鸠江区',3),
(485,49,'三山区',3),
(486,49,'芜湖县',3),
(487,49,'繁昌县',3),
(488,49,'南陵县',3),
(489,50,'宣州区',3),
(490,50,'宁国市',3),
(491,50,'郎溪县',3),
(492,50,'广德县',3),
(493,50,'泾县',3),
(494,50,'绩溪县',3),
(495,50,'旌德县',3),
(496,51,'涡阳县',3),
(497,51,'蒙城县',3),
(498,51,'利辛县',3),
(499,51,'谯城区',3),
(500,52,'东城区',3),
(501,52,'西城区',3),
(502,52,'海淀区',3),
(503,52,'朝阳区',3),
(504,52,'崇文区',3),
(505,52,'宣武区',3),
(506,52,'丰台区',3),
(507,52,'石景山区',3),
(508,52,'房山区',3),
(509,52,'门头沟区',3),
(510,52,'通州区',3),
(511,52,'顺义区',3),
(512,52,'昌平区',3),
(513,52,'怀柔区',3),
(514,52,'平谷区',3),
(515,52,'大兴区',3),
(516,52,'密云县',3),
(517,52,'延庆县',3),
(518,53,'鼓楼区',3),
(519,53,'台江区',3),
(520,53,'仓山区',3),
(521,53,'马尾区',3),
(522,53,'晋安区',3),
(523,53,'福清市',3),
(524,53,'长乐市',3),
(525,53,'闽侯县',3),
(526,53,'连江县',3),
(527,53,'罗源县',3),
(528,53,'闽清县',3),
(529,53,'永泰县',3),
(530,53,'平潭县',3),
(531,54,'新罗区',3),
(532,54,'漳平市',3),
(533,54,'长汀县',3),
(534,54,'永定县',3),
(535,54,'上杭县',3),
(536,54,'武平县',3),
(537,54,'连城县',3),
(538,55,'延平区',3),
(539,55,'邵武市',3),
(540,55,'武夷山市',3),
(541,55,'建瓯市',3),
(542,55,'建阳市',3),
(543,55,'顺昌县',3),
(544,55,'浦城县',3),
(545,55,'光泽县',3),
(546,55,'松溪县',3),
(547,55,'政和县',3),
(548,56,'蕉城区',3),
(549,56,'福安市',3),
(550,56,'福鼎市',3),
(551,56,'霞浦县',3),
(552,56,'古田县',3),
(553,56,'屏南县',3),
(554,56,'寿宁县',3),
(555,56,'周宁县',3),
(556,56,'柘荣县',3),
(557,57,'城厢区',3),
(558,57,'涵江区',3),
(559,57,'荔城区',3),
(560,57,'秀屿区',3),
(561,57,'仙游县',3),
(562,58,'鲤城区',3),
(563,58,'丰泽区',3),
(564,58,'洛江区',3),
(565,58,'清濛开发区',3),
(566,58,'泉港区',3),
(567,58,'石狮市',3),
(568,58,'晋江市',3),
(569,58,'南安市',3),
(570,58,'惠安县',3),
(571,58,'安溪县',3),
(572,58,'永春县',3),
(573,58,'德化县',3),
(574,58,'金门县',3),
(575,59,'梅列区',3),
(576,59,'三元区',3),
(577,59,'永安市',3),
(578,59,'明溪县',3),
(579,59,'清流县',3),
(580,59,'宁化县',3),
(581,59,'大田县',3),
(582,59,'尤溪县',3),
(583,59,'沙县',3),
(584,59,'将乐县',3),
(585,59,'泰宁县',3),
(586,59,'建宁县',3),
(587,60,'思明区',3),
(588,60,'海沧区',3),
(589,60,'湖里区',3),
(590,60,'集美区',3),
(591,60,'同安区',3),
(592,60,'翔安区',3),
(593,61,'芗城区',3),
(594,61,'龙文区',3),
(595,61,'龙海市',3),
(596,61,'云霄县',3),
(597,61,'漳浦县',3),
(598,61,'诏安县',3),
(599,61,'长泰县',3),
(600,61,'东山县',3),
(601,61,'南靖县',3),
(602,61,'平和县',3),
(603,61,'华安县',3),
(604,62,'皋兰县',3),
(605,62,'城关区',3),
(606,62,'七里河区',3),
(607,62,'西固区',3),
(608,62,'安宁区',3),
(609,62,'红古区',3),
(610,62,'永登县',3),
(611,62,'榆中县',3),
(612,63,'白银区',3),
(613,63,'平川区',3),
(614,63,'会宁县',3),
(615,63,'景泰县',3),
(616,63,'靖远县',3),
(617,64,'临洮县',3),
(618,64,'陇西县',3),
(619,64,'通渭县',3),
(620,64,'渭源县',3),
(621,64,'漳县',3),
(622,64,'岷县',3),
(623,64,'安定区',3),
(624,64,'安定区',3),
(625,65,'合作市',3),
(626,65,'临潭县',3),
(627,65,'卓尼县',3),
(628,65,'舟曲县',3),
(629,65,'迭部县',3),
(630,65,'玛曲县',3),
(631,65,'碌曲县',3),
(632,65,'夏河县',3),
(633,66,'嘉峪关市',3),
(634,67,'金川区',3),
(635,67,'永昌县',3),
(636,68,'肃州区',3),
(637,68,'玉门市',3),
(638,68,'敦煌市',3),
(639,68,'金塔县',3),
(640,68,'瓜州县',3),
(641,68,'肃北',3),
(642,68,'阿克塞',3),
(643,69,'临夏市',3),
(644,69,'临夏县',3),
(645,69,'康乐县',3),
(646,69,'永靖县',3),
(647,69,'广河县',3),
(648,69,'和政县',3),
(649,69,'东乡族自治县',3),
(650,69,'积石山',3),
(651,70,'成县',3),
(652,70,'徽县',3),
(653,70,'康县',3),
(654,70,'礼县',3),
(655,70,'两当县',3),
(656,70,'文县',3),
(657,70,'西和县',3),
(658,70,'宕昌县',3),
(659,70,'武都区',3),
(660,71,'崇信县',3),
(661,71,'华亭县',3),
(662,71,'静宁县',3),
(663,71,'灵台县',3),
(664,71,'崆峒区',3),
(665,71,'庄浪县',3),
(666,71,'泾川县',3),
(667,72,'合水县',3),
(668,72,'华池县',3),
(669,72,'环县',3),
(670,72,'宁县',3),
(671,72,'庆城县',3),
(672,72,'西峰区',3),
(673,72,'镇原县',3),
(674,72,'正宁县',3),
(675,73,'甘谷县',3),
(676,73,'秦安县',3),
(677,73,'清水县',3),
(678,73,'秦州区',3),
(679,73,'麦积区',3),
(680,73,'武山县',3),
(681,73,'张家川',3),
(682,74,'古浪县',3),
(683,74,'民勤县',3),
(684,74,'天祝',3),
(685,74,'凉州区',3),
(686,75,'高台县',3),
(687,75,'临泽县',3),
(688,75,'民乐县',3),
(689,75,'山丹县',3),
(690,75,'肃南',3),
(691,75,'甘州区',3),
(692,76,'从化市',3),
(693,76,'天河区',3),
(694,76,'东山区',3),
(695,76,'白云区',3),
(696,76,'海珠区',3),
(697,76,'荔湾区',3),
(698,76,'越秀区',3),
(699,76,'黄埔区',3),
(700,76,'番禺区',3),
(701,76,'花都区',3),
(702,76,'增城区',3),
(703,76,'从化区',3),
(704,76,'市郊',3),
(705,77,'福田区',3),
(706,77,'罗湖区',3),
(707,77,'南山区',3),
(708,77,'宝安区',3),
(709,77,'龙岗区',3),
(710,77,'盐田区',3),
(711,78,'湘桥区',3),
(712,78,'潮安县',3),
(713,78,'饶平县',3),
(714,79,'南城区',3),
(715,79,'东城区',3),
(716,79,'万江区',3),
(717,79,'莞城区',3),
(718,79,'石龙镇',3),
(719,79,'虎门镇',3),
(720,79,'麻涌镇',3),
(721,79,'道滘镇',3),
(722,79,'石碣镇',3),
(723,79,'沙田镇',3),
(724,79,'望牛墩镇',3),
(725,79,'洪梅镇',3),
(726,79,'茶山镇',3),
(727,79,'寮步镇',3),
(728,79,'大岭山镇',3),
(729,79,'大朗镇',3),
(730,79,'黄江镇',3),
(731,79,'樟木头',3),
(732,79,'凤岗镇',3),
(733,79,'塘厦镇',3),
(734,79,'谢岗镇',3),
(735,79,'厚街镇',3),
(736,79,'清溪镇',3),
(737,79,'常平镇',3),
(738,79,'桥头镇',3),
(739,79,'横沥镇',3),
(740,79,'东坑镇',3),
(741,79,'企石镇',3),
(742,79,'石排镇',3),
(743,79,'长安镇',3),
(744,79,'中堂镇',3),
(745,79,'高埗镇',3),
(746,80,'禅城区',3),
(747,80,'南海区',3),
(748,80,'顺德区',3),
(749,80,'三水区',3),
(750,80,'高明区',3),
(751,81,'东源县',3),
(752,81,'和平县',3),
(753,81,'源城区',3),
(754,81,'连平县',3),
(755,81,'龙川县',3),
(756,81,'紫金县',3),
(757,82,'惠阳区',3),
(758,82,'惠城区',3),
(759,82,'大亚湾',3),
(760,82,'博罗县',3),
(761,82,'惠东县',3),
(762,82,'龙门县',3),
(763,83,'江海区',3),
(764,83,'蓬江区',3),
(765,83,'新会区',3),
(766,83,'台山市',3),
(767,83,'开平市',3),
(768,83,'鹤山市',3),
(769,83,'恩平市',3),
(770,84,'榕城区',3),
(771,84,'普宁市',3),
(772,84,'揭东县',3),
(773,84,'揭西县',3),
(774,84,'惠来县',3),
(775,85,'茂南区',3),
(776,85,'茂港区',3),
(777,85,'高州市',3),
(778,85,'化州市',3),
(779,85,'信宜市',3),
(780,85,'电白县',3),
(781,86,'梅县',3),
(782,86,'梅江区',3),
(783,86,'兴宁市',3),
(784,86,'大埔县',3),
(785,86,'丰顺县',3),
(786,86,'五华县',3),
(787,86,'平远县',3),
(788,86,'蕉岭县',3),
(789,87,'清城区',3),
(790,87,'英德市',3),
(791,87,'连州市',3),
(792,87,'佛冈县',3),
(793,87,'阳山县',3),
(794,87,'清新县',3),
(795,87,'连山',3),
(796,87,'连南',3),
(797,88,'南澳县',3),
(798,88,'潮阳区',3),
(799,88,'澄海区',3),
(800,88,'龙湖区',3),
(801,88,'金平区',3),
(802,88,'濠江区',3),
(803,88,'潮南区',3),
(804,89,'城区',3),
(805,89,'陆丰市',3),
(806,89,'海丰县',3),
(807,89,'陆河县',3),
(808,90,'曲江县',3),
(809,90,'浈江区',3),
(810,90,'武江区',3),
(811,90,'曲江区',3),
(812,90,'乐昌市',3),
(813,90,'南雄市',3),
(814,90,'始兴县',3),
(815,90,'仁化县',3),
(816,90,'翁源县',3),
(817,90,'新丰县',3),
(818,90,'乳源',3),
(819,91,'江城区',3),
(820,91,'阳春市',3),
(821,91,'阳西县',3),
(822,91,'阳东县',3),
(823,92,'云城区',3),
(824,92,'罗定市',3),
(825,92,'新兴县',3),
(826,92,'郁南县',3),
(827,92,'云安县',3),
(828,93,'赤坎区',3),
(829,93,'霞山区',3),
(830,93,'坡头区',3),
(831,93,'麻章区',3),
(832,93,'廉江市',3),
(833,93,'雷州市',3),
(834,93,'吴川市',3),
(835,93,'遂溪县',3),
(836,93,'徐闻县',3),
(837,94,'肇庆市',3),
(838,94,'高要市',3),
(839,94,'四会市',3),
(840,94,'广宁县',3),
(841,94,'怀集县',3),
(842,94,'封开县',3),
(843,94,'德庆县',3),
(844,95,'石岐街道',3),
(845,95,'东区街道',3),
(846,95,'西区街道',3),
(847,95,'环城街道',3),
(848,95,'中山港街道',3),
(849,95,'五桂山街道',3),
(850,96,'香洲区',3),
(851,96,'斗门区',3),
(852,96,'金湾区',3),
(853,97,'邕宁区',3),
(854,97,'青秀区',3),
(855,97,'兴宁区',3),
(856,97,'良庆区',3),
(857,97,'西乡塘区',3),
(858,97,'江南区',3),
(859,97,'武鸣县',3),
(860,97,'隆安县',3),
(861,97,'马山县',3),
(862,97,'上林县',3),
(863,97,'宾阳县',3),
(864,97,'横县',3),
(865,98,'秀峰区',3),
(866,98,'叠彩区',3),
(867,98,'象山区',3),
(868,98,'七星区',3),
(869,98,'雁山区',3),
(870,98,'阳朔县',3),
(871,98,'临桂县',3),
(872,98,'灵川县',3),
(873,98,'全州县',3),
(874,98,'平乐县',3),
(875,98,'兴安县',3),
(876,98,'灌阳县',3),
(877,98,'荔浦县',3),
(878,98,'资源县',3),
(879,98,'永福县',3),
(880,98,'龙胜',3),
(881,98,'恭城',3),
(882,99,'右江区',3),
(883,99,'凌云县',3),
(884,99,'平果县',3),
(885,99,'西林县',3),
(886,99,'乐业县',3),
(887,99,'德保县',3),
(888,99,'田林县',3),
(889,99,'田阳县',3),
(890,99,'靖西县',3),
(891,99,'田东县',3),
(892,99,'那坡县',3),
(893,99,'隆林',3),
(894,100,'海城区',3),
(895,100,'银海区',3),
(896,100,'铁山港区',3),
(897,100,'合浦县',3),
(898,101,'江州区',3),
(899,101,'凭祥市',3),
(900,101,'宁明县',3),
(901,101,'扶绥县',3),
(902,101,'龙州县',3),
(903,101,'大新县',3),
(904,101,'天等县',3),
(905,102,'港口区',3),
(906,102,'防城区',3),
(907,102,'东兴市',3),
(908,102,'上思县',3),
(909,103,'港北区',3),
(910,103,'港南区',3),
(911,103,'覃塘区',3),
(912,103,'桂平市',3),
(913,103,'平南县',3),
(914,104,'金城江区',3),
(915,104,'宜州市',3),
(916,104,'天峨县',3),
(917,104,'凤山县',3),
(918,104,'南丹县',3),
(919,104,'东兰县',3),
(920,104,'都安',3),
(921,104,'罗城',3),
(922,104,'巴马',3),
(923,104,'环江',3),
(924,104,'大化',3),
(925,105,'八步区',3),
(926,105,'钟山县',3),
(927,105,'昭平县',3),
(928,105,'富川',3),
(929,106,'兴宾区',3),
(930,106,'合山市',3),
(931,106,'象州县',3),
(932,106,'武宣县',3),
(933,106,'忻城县',3),
(934,106,'金秀',3),
(935,107,'城中区',3),
(936,107,'鱼峰区',3),
(937,107,'柳北区',3),
(938,107,'柳南区',3),
(939,107,'柳江县',3),
(940,107,'柳城县',3),
(941,107,'鹿寨县',3),
(942,107,'融安县',3),
(943,107,'融水',3),
(944,107,'三江',3),
(945,108,'钦南区',3),
(946,108,'钦北区',3),
(947,108,'灵山县',3),
(948,108,'浦北县',3),
(949,109,'万秀区',3),
(950,109,'蝶山区',3),
(951,109,'长洲区',3),
(952,109,'岑溪市',3),
(953,109,'苍梧县',3),
(954,109,'藤县',3),
(955,109,'蒙山县',3),
(956,110,'玉州区',3),
(957,110,'北流市',3),
(958,110,'容县',3),
(959,110,'陆川县',3),
(960,110,'博白县',3),
(961,110,'兴业县',3),
(962,111,'南明区',3),
(963,111,'云岩区',3),
(964,111,'花溪区',3),
(965,111,'乌当区',3),
(966,111,'白云区',3),
(967,111,'小河区',3),
(968,111,'金阳新区',3),
(969,111,'新天园区',3),
(970,111,'清镇市',3),
(971,111,'开阳县',3),
(972,111,'修文县',3),
(973,111,'息烽县',3),
(974,112,'西秀区',3),
(975,112,'关岭',3),
(976,112,'镇宁',3),
(977,112,'紫云',3),
(978,112,'平坝县',3),
(979,112,'普定县',3),
(980,113,'毕节市',3),
(981,113,'大方县',3),
(982,113,'黔西县',3),
(983,113,'金沙县',3),
(984,113,'织金县',3),
(985,113,'纳雍县',3),
(986,113,'赫章县',3),
(987,113,'威宁',3),
(988,114,'钟山区',3),
(989,114,'六枝特区',3),
(990,114,'水城县',3),
(991,114,'盘县',3),
(992,115,'凯里市',3),
(993,115,'黄平县',3),
(994,115,'施秉县',3),
(995,115,'三穗县',3),
(996,115,'镇远县',3),
(997,115,'岑巩县',3),
(998,115,'天柱县',3),
(999,115,'锦屏县',3),
(1000,115,'剑河县',3),
(1001,115,'台江县',3),
(1002,115,'黎平县',3),
(1003,115,'榕江县',3),
(1004,115,'从江县',3),
(1005,115,'雷山县',3),
(1006,115,'麻江县',3),
(1007,115,'丹寨县',3),
(1008,116,'都匀市',3),
(1009,116,'福泉市',3),
(1010,116,'荔波县',3),
(1011,116,'贵定县',3),
(1012,116,'瓮安县',3),
(1013,116,'独山县',3),
(1014,116,'平塘县',3),
(1015,116,'罗甸县',3),
(1016,116,'长顺县',3),
(1017,116,'龙里县',3),
(1018,116,'惠水县',3),
(1019,116,'三都',3),
(1020,117,'兴义市',3),
(1021,117,'兴仁县',3),
(1022,117,'普安县',3),
(1023,117,'晴隆县',3),
(1024,117,'贞丰县',3),
(1025,117,'望谟县',3),
(1026,117,'册亨县',3),
(1027,117,'安龙县',3),
(1028,118,'铜仁市',3),
(1029,118,'江口县',3),
(1030,118,'石阡县',3),
(1031,118,'思南县',3),
(1032,118,'德江县',3),
(1033,118,'玉屏',3),
(1034,118,'印江',3),
(1035,118,'沿河',3),
(1036,118,'松桃',3),
(1037,118,'万山特区',3),
(1038,119,'红花岗区',3),
(1039,119,'务川县',3),
(1040,119,'道真县',3),
(1041,119,'汇川区',3),
(1042,119,'赤水市',3),
(1043,119,'仁怀市',3),
(1044,119,'遵义县',3),
(1045,119,'桐梓县',3),
(1046,119,'绥阳县',3),
(1047,119,'正安县',3),
(1048,119,'凤冈县',3),
(1049,119,'湄潭县',3),
(1050,119,'余庆县',3),
(1051,119,'习水县',3),
(1052,119,'道真',3),
(1053,119,'务川',3),
(1054,120,'秀英区',3),
(1055,120,'龙华区',3),
(1056,120,'琼山区',3),
(1057,120,'美兰区',3),
(1058,137,'市区',3),
(1059,137,'洋浦开发区',3),
(1060,137,'那大镇',3),
(1061,137,'王五镇',3),
(1062,137,'雅星镇',3),
(1063,137,'大成镇',3),
(1064,137,'中和镇',3),
(1065,137,'峨蔓镇',3),
(1066,137,'南丰镇',3),
(1067,137,'白马井镇',3),
(1068,137,'兰洋镇',3),
(1069,137,'和庆镇',3),
(1070,137,'海头镇',3),
(1071,137,'排浦镇',3),
(1072,137,'东成镇',3),
(1073,137,'光村镇',3),
(1074,137,'木棠镇',3),
(1075,137,'新州镇',3),
(1076,137,'三都镇',3),
(1077,137,'其他',3),
(1078,138,'长安区',3),
(1079,138,'桥东区',3),
(1080,138,'桥西区',3),
(1081,138,'新华区',3),
(1082,138,'裕华区',3),
(1083,138,'井陉矿区',3),
(1084,138,'高新区',3),
(1085,138,'辛集市',3),
(1086,138,'藁城市',3),
(1087,138,'晋州市',3),
(1088,138,'新乐市',3),
(1089,138,'鹿泉市',3),
(1090,138,'井陉县',3),
(1091,138,'正定县',3),
(1092,138,'栾城县',3),
(1093,138,'行唐县',3),
(1094,138,'灵寿县',3),
(1095,138,'高邑县',3),
(1096,138,'深泽县',3),
(1097,138,'赞皇县',3),
(1098,138,'无极县',3),
(1099,138,'平山县',3),
(1100,138,'元氏县',3),
(1101,138,'赵县',3),
(1102,139,'新市区',3),
(1103,139,'南市区',3),
(1104,139,'北市区',3),
(1105,139,'涿州市',3),
(1106,139,'定州市',3),
(1107,139,'安国市',3),
(1108,139,'高碑店市',3),
(1109,139,'满城县',3),
(1110,139,'清苑县',3),
(1111,139,'涞水县',3),
(1112,139,'阜平县',3),
(1113,139,'徐水县',3),
(1114,139,'定兴县',3),
(1115,139,'唐县',3),
(1116,139,'高阳县',3),
(1117,139,'容城县',3),
(1118,139,'涞源县',3),
(1119,139,'望都县',3),
(1120,139,'安新县',3),
(1121,139,'易县',3),
(1122,139,'曲阳县',3),
(1123,139,'蠡县',3),
(1124,139,'顺平县',3),
(1125,139,'博野县',3),
(1126,139,'雄县',3),
(1127,140,'运河区',3),
(1128,140,'新华区',3),
(1129,140,'泊头市',3),
(1130,140,'任丘市',3),
(1131,140,'黄骅市',3),
(1132,140,'河间市',3),
(1133,140,'沧县',3),
(1134,140,'青县',3),
(1135,140,'东光县',3),
(1136,140,'海兴县',3),
(1137,140,'盐山县',3),
(1138,140,'肃宁县',3),
(1139,140,'南皮县',3),
(1140,140,'吴桥县',3),
(1141,140,'献县',3),
(1142,140,'孟村',3),
(1143,141,'双桥区',3),
(1144,141,'双滦区',3),
(1145,141,'鹰手营子矿区',3),
(1146,141,'承德县',3),
(1147,141,'兴隆县',3),
(1148,141,'平泉县',3),
(1149,141,'滦平县',3),
(1150,141,'隆化县',3),
(1151,141,'丰宁',3),
(1152,141,'宽城',3),
(1153,141,'围场',3),
(1154,142,'从台区',3),
(1155,142,'复兴区',3),
(1156,142,'邯山区',3),
(1157,142,'峰峰矿区',3),
(1158,142,'武安市',3),
(1159,142,'邯郸县',3),
(1160,142,'临漳县',3),
(1161,142,'成安县',3),
(1162,142,'大名县',3),
(1163,142,'涉县',3),
(1164,142,'磁县',3),
(1165,142,'肥乡县',3),
(1166,142,'永年县',3),
(1167,142,'邱县',3),
(1168,142,'鸡泽县',3),
(1169,142,'广平县',3),
(1170,142,'馆陶县',3),
(1171,142,'魏县',3),
(1172,142,'曲周县',3),
(1173,143,'桃城区',3),
(1174,143,'冀州市',3),
(1175,143,'深州市',3),
(1176,143,'枣强县',3),
(1177,143,'武邑县',3),
(1178,143,'武强县',3),
(1179,143,'饶阳县',3),
(1180,143,'安平县',3),
(1181,143,'故城县',3),
(1182,143,'景县',3),
(1183,143,'阜城县',3),
(1184,144,'安次区',3),
(1185,144,'广阳区',3),
(1186,144,'霸州市',3),
(1187,144,'三河市',3),
(1188,144,'固安县',3),
(1189,144,'永清县',3),
(1190,144,'香河县',3),
(1191,144,'大城县',3),
(1192,144,'文安县',3),
(1193,144,'大厂',3),
(1194,145,'海港区',3),
(1195,145,'山海关区',3),
(1196,145,'北戴河区',3),
(1197,145,'昌黎县',3),
(1198,145,'抚宁县',3),
(1199,145,'卢龙县',3),
(1200,145,'青龙',3),
(1201,146,'路北区',3),
(1202,146,'路南区',3),
(1203,146,'古冶区',3),
(1204,146,'开平区',3),
(1205,146,'丰南区',3),
(1206,146,'丰润区',3),
(1207,146,'遵化市',3),
(1208,146,'迁安市',3),
(1209,146,'滦县',3),
(1210,146,'滦南县',3),
(1211,146,'乐亭县',3),
(1212,146,'迁西县',3),
(1213,146,'玉田县',3),
(1214,146,'唐海县',3),
(1215,147,'桥东区',3),
(1216,147,'桥西区',3),
(1217,147,'南宫市',3),
(1218,147,'沙河市',3),
(1219,147,'邢台县',3),
(1220,147,'临城县',3),
(1221,147,'内丘县',3),
(1222,147,'柏乡县',3),
(1223,147,'隆尧县',3),
(1224,147,'任县',3),
(1225,147,'南和县',3),
(1226,147,'宁晋县',3),
(1227,147,'巨鹿县',3),
(1228,147,'新河县',3),
(1229,147,'广宗县',3),
(1230,147,'平乡县',3),
(1231,147,'威县',3),
(1232,147,'清河县',3),
(1233,147,'临西县',3),
(1234,148,'桥西区',3),
(1235,148,'桥东区',3),
(1236,148,'宣化区',3),
(1237,148,'下花园区',3),
(1238,148,'宣化县',3),
(1239,148,'张北县',3),
(1240,148,'康保县',3),
(1241,148,'沽源县',3),
(1242,148,'尚义县',3),
(1243,148,'蔚县',3),
(1244,148,'阳原县',3),
(1245,148,'怀安县',3),
(1246,148,'万全县',3),
(1247,148,'怀来县',3),
(1248,148,'涿鹿县',3),
(1249,148,'赤城县',3),
(1250,148,'崇礼县',3),
(1251,149,'金水区',3),
(1252,149,'邙山区',3),
(1253,149,'二七区',3),
(1254,149,'管城区',3),
(1255,149,'中原区',3),
(1256,149,'上街区',3),
(1257,149,'惠济区',3),
(1258,149,'郑东新区',3),
(1259,149,'经济技术开发区',3),
(1260,149,'高新开发区',3),
(1261,149,'出口加工区',3),
(1262,149,'巩义市',3),
(1263,149,'荥阳市',3),
(1264,149,'新密市',3),
(1265,149,'新郑市',3),
(1266,149,'登封市',3),
(1267,149,'中牟县',3),
(1268,150,'西工区',3),
(1269,150,'老城区',3),
(1270,150,'涧西区',3),
(1271,150,'瀍河回族区',3),
(1272,150,'洛龙区',3),
(1273,150,'吉利区',3),
(1274,150,'偃师市',3),
(1275,150,'孟津县',3),
(1276,150,'新安县',3),
(1277,150,'栾川县',3),
(1278,150,'嵩县',3),
(1279,150,'汝阳县',3),
(1280,150,'宜阳县',3),
(1281,150,'洛宁县',3),
(1282,150,'伊川县',3),
(1283,151,'鼓楼区',3),
(1284,151,'龙亭区',3),
(1285,151,'顺河回族区',3),
(1286,151,'金明区',3),
(1287,151,'禹王台区',3),
(1288,151,'杞县',3),
(1289,151,'通许县',3),
(1290,151,'尉氏县',3),
(1291,151,'开封县',3),
(1292,151,'兰考县',3),
(1293,152,'北关区',3),
(1294,152,'文峰区',3),
(1295,152,'殷都区',3),
(1296,152,'龙安区',3),
(1297,152,'林州市',3),
(1298,152,'安阳县',3),
(1299,152,'汤阴县',3),
(1300,152,'滑县',3),
(1301,152,'内黄县',3),
(1302,153,'淇滨区',3),
(1303,153,'山城区',3),
(1304,153,'鹤山区',3),
(1305,153,'浚县',3),
(1306,153,'淇县',3),
(1307,154,'济源市',3),
(1308,155,'解放区',3),
(1309,155,'中站区',3),
(1310,155,'马村区',3),
(1311,155,'山阳区',3),
(1312,155,'沁阳市',3),
(1313,155,'孟州市',3),
(1314,155,'修武县',3),
(1315,155,'博爱县',3),
(1316,155,'武陟县',3),
(1317,155,'温县',3),
(1318,156,'卧龙区',3),
(1319,156,'宛城区',3),
(1320,156,'邓州市',3),
(1321,156,'南召县',3),
(1322,156,'方城县',3),
(1323,156,'西峡县',3),
(1324,156,'镇平县',3),
(1325,156,'内乡县',3),
(1326,156,'淅川县',3),
(1327,156,'社旗县',3),
(1328,156,'唐河县',3),
(1329,156,'新野县',3),
(1330,156,'桐柏县',3),
(1331,157,'新华区',3),
(1332,157,'卫东区',3),
(1333,157,'湛河区',3),
(1334,157,'石龙区',3),
(1335,157,'舞钢市',3),
(1336,157,'汝州市',3),
(1337,157,'宝丰县',3),
(1338,157,'叶县',3),
(1339,157,'鲁山县',3),
(1340,157,'郏县',3),
(1341,158,'湖滨区',3),
(1342,158,'义马市',3),
(1343,158,'灵宝市',3),
(1344,158,'渑池县',3),
(1345,158,'陕县',3),
(1346,158,'卢氏县',3),
(1347,159,'梁园区',3),
(1348,159,'睢阳区',3),
(1349,159,'永城市',3),
(1350,159,'民权县',3),
(1351,159,'睢县',3),
(1352,159,'宁陵县',3),
(1353,159,'虞城县',3),
(1354,159,'柘城县',3),
(1355,159,'夏邑县',3),
(1356,160,'卫滨区',3),
(1357,160,'红旗区',3),
(1358,160,'凤泉区',3),
(1359,160,'牧野区',3),
(1360,160,'卫辉市',3),
(1361,160,'辉县市',3),
(1362,160,'新乡县',3),
(1363,160,'获嘉县',3),
(1364,160,'原阳县',3),
(1365,160,'延津县',3),
(1366,160,'封丘县',3),
(1367,160,'长垣县',3),
(1368,161,'浉河区',3),
(1369,161,'平桥区',3),
(1370,161,'罗山县',3),
(1371,161,'光山县',3),
(1372,161,'新县',3),
(1373,161,'商城县',3),
(1374,161,'固始县',3),
(1375,161,'潢川县',3),
(1376,161,'淮滨县',3),
(1377,161,'息县',3),
(1378,162,'魏都区',3),
(1379,162,'禹州市',3),
(1380,162,'长葛市',3),
(1381,162,'许昌县',3),
(1382,162,'鄢陵县',3),
(1383,162,'襄城县',3),
(1384,163,'川汇区',3),
(1385,163,'项城市',3),
(1386,163,'扶沟县',3),
(1387,163,'西华县',3),
(1388,163,'商水县',3),
(1389,163,'沈丘县',3),
(1390,163,'郸城县',3),
(1391,163,'淮阳县',3),
(1392,163,'太康县',3),
(1393,163,'鹿邑县',3),
(1394,164,'驿城区',3),
(1395,164,'西平县',3),
(1396,164,'上蔡县',3),
(1397,164,'平舆县',3),
(1398,164,'正阳县',3),
(1399,164,'确山县',3),
(1400,164,'泌阳县',3),
(1401,164,'汝南县',3),
(1402,164,'遂平县',3),
(1403,164,'新蔡县',3),
(1404,165,'郾城区',3),
(1405,165,'源汇区',3),
(1406,165,'召陵区',3),
(1407,165,'舞阳县',3),
(1408,165,'临颍县',3),
(1409,166,'华龙区',3),
(1410,166,'清丰县',3),
(1411,166,'南乐县',3),
(1412,166,'范县',3),
(1413,166,'台前县',3),
(1414,166,'濮阳县',3),
(1415,167,'道里区',3),
(1416,167,'南岗区',3),
(1417,167,'动力区',3),
(1418,167,'平房区',3),
(1419,167,'香坊区',3),
(1420,167,'太平区',3),
(1421,167,'道外区',3),
(1422,167,'阿城区',3),
(1423,167,'呼兰区',3),
(1424,167,'松北区',3),
(1425,167,'尚志市',3),
(1426,167,'双城市',3),
(1427,167,'五常市',3),
(1428,167,'方正县',3),
(1429,167,'宾县',3),
(1430,167,'依兰县',3),
(1431,167,'巴彦县',3),
(1432,167,'通河县',3),
(1433,167,'木兰县',3),
(1434,167,'延寿县',3),
(1435,168,'萨尔图区',3),
(1436,168,'红岗区',3),
(1437,168,'龙凤区',3),
(1438,168,'让胡路区',3),
(1439,168,'大同区',3),
(1440,168,'肇州县',3),
(1441,168,'肇源县',3),
(1442,168,'林甸县',3),
(1443,168,'杜尔伯特',3),
(1444,169,'呼玛县',3),
(1445,169,'漠河县',3),
(1446,169,'塔河县',3),
(1447,170,'兴山区',3),
(1448,170,'工农区',3),
(1449,170,'南山区',3),
(1450,170,'兴安区',3),
(1451,170,'向阳区',3),
(1452,170,'东山区',3),
(1453,170,'萝北县',3),
(1454,170,'绥滨县',3),
(1455,171,'爱辉区',3),
(1456,171,'五大连池市',3),
(1457,171,'北安市',3),
(1458,171,'嫩江县',3),
(1459,171,'逊克县',3),
(1460,171,'孙吴县',3),
(1461,172,'鸡冠区',3),
(1462,172,'恒山区',3),
(1463,172,'城子河区',3),
(1464,172,'滴道区',3),
(1465,172,'梨树区',3),
(1466,172,'虎林市',3),
(1467,172,'密山市',3),
(1468,172,'鸡东县',3),
(1469,173,'前进区',3),
(1470,173,'郊区',3),
(1471,173,'向阳区',3),
(1472,173,'东风区',3),
(1473,173,'同江市',3),
(1474,173,'富锦市',3),
(1475,173,'桦南县',3),
(1476,173,'桦川县',3),
(1477,173,'汤原县',3),
(1478,173,'抚远县',3),
(1479,174,'爱民区',3),
(1480,174,'东安区',3),
(1481,174,'阳明区',3),
(1482,174,'西安区',3),
(1483,174,'绥芬河市',3),
(1484,174,'海林市',3),
(1485,174,'宁安市',3),
(1486,174,'穆棱市',3),
(1487,174,'东宁县',3),
(1488,174,'林口县',3),
(1489,175,'桃山区',3),
(1490,175,'新兴区',3),
(1491,175,'茄子河区',3),
(1492,175,'勃利县',3),
(1493,176,'龙沙区',3),
(1494,176,'昂昂溪区',3),
(1495,176,'铁峰区',3),
(1496,176,'建华区',3),
(1497,176,'富拉尔基区',3),
(1498,176,'碾子山区',3),
(1499,176,'梅里斯达斡尔区',3),
(1500,176,'讷河市',3),
(1501,176,'龙江县',3),
(1502,176,'依安县',3),
(1503,176,'泰来县',3),
(1504,176,'甘南县',3),
(1505,176,'富裕县',3),
(1506,176,'克山县',3),
(1507,176,'克东县',3),
(1508,176,'拜泉县',3),
(1509,177,'尖山区',3),
(1510,177,'岭东区',3),
(1511,177,'四方台区',3),
(1512,177,'宝山区',3),
(1513,177,'集贤县',3),
(1514,177,'友谊县',3),
(1515,177,'宝清县',3),
(1516,177,'饶河县',3),
(1517,178,'北林区',3),
(1518,178,'安达市',3),
(1519,178,'肇东市',3),
(1520,178,'海伦市',3),
(1521,178,'望奎县',3),
(1522,178,'兰西县',3),
(1523,178,'青冈县',3),
(1524,178,'庆安县',3),
(1525,178,'明水县',3),
(1526,178,'绥棱县',3),
(1527,179,'伊春区',3),
(1528,179,'带岭区',3),
(1529,179,'南岔区',3),
(1530,179,'金山屯区',3),
(1531,179,'西林区',3),
(1532,179,'美溪区',3),
(1533,179,'乌马河区',3),
(1534,179,'翠峦区',3),
(1535,179,'友好区',3),
(1536,179,'上甘岭区',3),
(1537,179,'五营区',3),
(1538,179,'红星区',3),
(1539,179,'新青区',3),
(1540,179,'汤旺河区',3),
(1541,179,'乌伊岭区',3),
(1542,179,'铁力市',3),
(1543,179,'嘉荫县',3),
(1544,180,'江岸区',3),
(1545,180,'武昌区',3),
(1546,180,'江汉区',3),
(1547,180,'硚口区',3),
(1548,180,'汉阳区',3),
(1549,180,'青山区',3),
(1550,180,'洪山区',3),
(1551,180,'东西湖区',3),
(1552,180,'汉南区',3),
(1553,180,'蔡甸区',3),
(1554,180,'江夏区',3),
(1555,180,'黄陂区',3),
(1556,180,'新洲区',3),
(1557,180,'经济开发区',3),
(1558,181,'仙桃市',3),
(1559,182,'鄂城区',3),
(1560,182,'华容区',3),
(1561,182,'梁子湖区',3),
(1562,183,'黄州区',3),
(1563,183,'麻城市',3),
(1564,183,'武穴市',3),
(1565,183,'团风县',3),
(1566,183,'红安县',3),
(1567,183,'罗田县',3),
(1568,183,'英山县',3),
(1569,183,'浠水县',3),
(1570,183,'蕲春县',3),
(1571,183,'黄梅县',3),
(1572,184,'黄石港区',3),
(1573,184,'西塞山区',3),
(1574,184,'下陆区',3),
(1575,184,'铁山区',3),
(1576,184,'大冶市',3),
(1577,184,'阳新县',3),
(1578,185,'东宝区',3),
(1579,185,'掇刀区',3),
(1580,185,'钟祥市',3),
(1581,185,'京山县',3),
(1582,185,'沙洋县',3),
(1583,186,'沙市区',3),
(1584,186,'荆州区',3),
(1585,186,'石首市',3),
(1586,186,'洪湖市',3),
(1587,186,'松滋市',3),
(1588,186,'公安县',3),
(1589,186,'监利县',3),
(1590,186,'江陵县',3),
(1591,187,'潜江市',3),
(1592,188,'神农架林区',3),
(1593,189,'张湾区',3),
(1594,189,'茅箭区',3),
(1595,189,'丹江口市',3),
(1596,189,'郧县',3),
(1597,189,'郧西县',3),
(1598,189,'竹山县',3),
(1599,189,'竹溪县',3),
(1600,189,'房县',3),
(1601,190,'曾都区',3),
(1602,190,'广水市',3),
(1603,191,'天门市',3),
(1604,192,'咸安区',3),
(1605,192,'赤壁市',3),
(1606,192,'嘉鱼县',3),
(1607,192,'通城县',3),
(1608,192,'崇阳县',3),
(1609,192,'通山县',3),
(1610,193,'襄城区',3),
(1611,193,'樊城区',3),
(1612,193,'襄阳区',3),
(1613,193,'老河口市',3),
(1614,193,'枣阳市',3),
(1615,193,'宜城市',3),
(1616,193,'南漳县',3),
(1617,193,'谷城县',3),
(1618,193,'保康县',3),
(1619,194,'孝南区',3),
(1620,194,'应城市',3),
(1621,194,'安陆市',3),
(1622,194,'汉川市',3),
(1623,194,'孝昌县',3),
(1624,194,'大悟县',3),
(1625,194,'云梦县',3),
(1626,195,'长阳',3),
(1627,195,'五峰',3),
(1628,195,'西陵区',3),
(1629,195,'伍家岗区',3),
(1630,195,'点军区',3),
(1631,195,'猇亭区',3),
(1632,195,'夷陵区',3),
(1633,195,'宜都市',3),
(1634,195,'当阳市',3),
(1635,195,'枝江市',3),
(1636,195,'远安县',3),
(1637,195,'兴山县',3),
(1638,195,'秭归县',3),
(1639,196,'恩施市',3),
(1640,196,'利川市',3),
(1641,196,'建始县',3),
(1642,196,'巴东县',3),
(1643,196,'宣恩县',3),
(1644,196,'咸丰县',3),
(1645,196,'来凤县',3),
(1646,196,'鹤峰县',3),
(1647,197,'岳麓区',3),
(1648,197,'芙蓉区',3),
(1649,197,'天心区',3),
(1650,197,'开福区',3),
(1651,197,'雨花区',3),
(1652,197,'开发区',3),
(1653,197,'浏阳市',3),
(1654,197,'长沙县',3),
(1655,197,'望城县',3),
(1656,197,'宁乡县',3),
(1657,198,'永定区',3),
(1658,198,'武陵源区',3),
(1659,198,'慈利县',3),
(1660,198,'桑植县',3),
(1661,199,'武陵区',3),
(1662,199,'鼎城区',3),
(1663,199,'津市市',3),
(1664,199,'安乡县',3),
(1665,199,'汉寿县',3),
(1666,199,'澧县',3),
(1667,199,'临澧县',3),
(1668,199,'桃源县',3),
(1669,199,'石门县',3),
(1670,200,'北湖区',3),
(1671,200,'苏仙区',3),
(1672,200,'资兴市',3),
(1673,200,'桂阳县',3),
(1674,200,'宜章县',3),
(1675,200,'永兴县',3),
(1676,200,'嘉禾县',3),
(1677,200,'临武县',3),
(1678,200,'汝城县',3),
(1679,200,'桂东县',3),
(1680,200,'安仁县',3),
(1681,201,'雁峰区',3),
(1682,201,'珠晖区',3),
(1683,201,'石鼓区',3),
(1684,201,'蒸湘区',3),
(1685,201,'南岳区',3),
(1686,201,'耒阳市',3),
(1687,201,'常宁市',3),
(1688,201,'衡阳县',3),
(1689,201,'衡南县',3),
(1690,201,'衡山县',3),
(1691,201,'衡东县',3),
(1692,201,'祁东县',3),
(1693,202,'鹤城区',3),
(1694,202,'靖州',3),
(1695,202,'麻阳',3),
(1696,202,'通道',3),
(1697,202,'新晃',3),
(1698,202,'芷江',3),
(1699,202,'沅陵县',3),
(1700,202,'辰溪县',3),
(1701,202,'溆浦县',3),
(1702,202,'中方县',3),
(1703,202,'会同县',3),
(1704,202,'洪江市',3),
(1705,203,'娄星区',3),
(1706,203,'冷水江市',3),
(1707,203,'涟源市',3),
(1708,203,'双峰县',3),
(1709,203,'新化县',3),
(1710,204,'城步',3),
(1711,204,'双清区',3),
(1712,204,'大祥区',3),
(1713,204,'北塔区',3),
(1714,204,'武冈市',3),
(1715,204,'邵东县',3),
(1716,204,'新邵县',3),
(1717,204,'邵阳县',3),
(1718,204,'隆回县',3),
(1719,204,'洞口县',3),
(1720,204,'绥宁县',3),
(1721,204,'新宁县',3),
(1722,205,'岳塘区',3),
(1723,205,'雨湖区',3),
(1724,205,'湘乡市',3),
(1725,205,'韶山市',3),
(1726,205,'湘潭县',3),
(1727,206,'吉首市',3),
(1728,206,'泸溪县',3),
(1729,206,'凤凰县',3),
(1730,206,'花垣县',3),
(1731,206,'保靖县',3),
(1732,206,'古丈县',3),
(1733,206,'永顺县',3),
(1734,206,'龙山县',3),
(1735,207,'赫山区',3),
(1736,207,'资阳区',3),
(1737,207,'沅江市',3),
(1738,207,'南县',3),
(1739,207,'桃江县',3),
(1740,207,'安化县',3),
(1741,208,'江华',3),
(1742,208,'冷水滩区',3),
(1743,208,'零陵区',3),
(1744,208,'祁阳县',3),
(1745,208,'东安县',3),
(1746,208,'双牌县',3),
(1747,208,'道县',3),
(1748,208,'江永县',3),
(1749,208,'宁远县',3),
(1750,208,'蓝山县',3),
(1751,208,'新田县',3),
(1752,209,'岳阳楼区',3),
(1753,209,'君山区',3),
(1754,209,'云溪区',3),
(1755,209,'汨罗市',3),
(1756,209,'临湘市',3),
(1757,209,'岳阳县',3),
(1758,209,'华容县',3),
(1759,209,'湘阴县',3),
(1760,209,'平江县',3),
(1761,210,'天元区',3),
(1762,210,'荷塘区',3),
(1763,210,'芦淞区',3),
(1764,210,'石峰区',3),
(1765,210,'醴陵市',3),
(1766,210,'株洲县',3),
(1767,210,'攸县',3),
(1768,210,'茶陵县',3),
(1769,210,'炎陵县',3),
(1770,211,'朝阳区',3),
(1771,211,'宽城区',3),
(1772,211,'二道区',3),
(1773,211,'南关区',3),
(1774,211,'绿园区',3),
(1775,211,'双阳区',3),
(1776,211,'净月潭开发区',3),
(1777,211,'高新技术开发区',3),
(1778,211,'经济技术开发区',3),
(1779,211,'汽车产业开发区',3),
(1780,211,'德惠市',3),
(1781,211,'九台市',3),
(1782,211,'榆树市',3),
(1783,211,'农安县',3),
(1784,212,'船营区',3),
(1785,212,'昌邑区',3),
(1786,212,'龙潭区',3),
(1787,212,'丰满区',3),
(1788,212,'蛟河市',3),
(1789,212,'桦甸市',3),
(1790,212,'舒兰市',3),
(1791,212,'磐石市',3),
(1792,212,'永吉县',3),
(1793,213,'洮北区',3),
(1794,213,'洮南市',3),
(1795,213,'大安市',3),
(1796,213,'镇赉县',3),
(1797,213,'通榆县',3),
(1798,214,'江源区',3),
(1799,214,'八道江区',3),
(1800,214,'长白',3),
(1801,214,'临江市',3),
(1802,214,'抚松县',3),
(1803,214,'靖宇县',3),
(1804,215,'龙山区',3),
(1805,215,'西安区',3),
(1806,215,'东丰县',3),
(1807,215,'东辽县',3),
(1808,216,'铁西区',3),
(1809,216,'铁东区',3),
(1810,216,'伊通',3),
(1811,216,'公主岭市',3),
(1812,216,'双辽市',3),
(1813,216,'梨树县',3),
(1814,217,'前郭尔罗斯',3),
(1815,217,'宁江区',3),
(1816,217,'长岭县',3),
(1817,217,'乾安县',3),
(1818,217,'扶余县',3),
(1819,218,'东昌区',3),
(1820,218,'二道江区',3),
(1821,218,'梅河口市',3),
(1822,218,'集安市',3),
(1823,218,'通化县',3),
(1824,218,'辉南县',3),
(1825,218,'柳河县',3),
(1826,219,'延吉市',3),
(1827,219,'图们市',3),
(1828,219,'敦化市',3),
(1829,219,'珲春市',3),
(1830,219,'龙井市',3),
(1831,219,'和龙市',3),
(1832,219,'安图县',3),
(1833,219,'汪清县',3),
(1834,220,'玄武区',3),
(1835,220,'鼓楼区',3),
(1836,220,'白下区',3),
(1837,220,'建邺区',3),
(1838,220,'秦淮区',3),
(1839,220,'雨花台区',3),
(1840,220,'下关区',3),
(1841,220,'栖霞区',3),
(1842,220,'浦口区',3),
(1843,220,'江宁区',3),
(1844,220,'六合区',3),
(1845,220,'溧水县',3),
(1846,220,'高淳县',3),
(1847,221,'沧浪区',3),
(1848,221,'金阊区',3),
(1849,221,'平江区',3),
(1850,221,'虎丘区',3),
(1851,221,'吴中区',3),
(1852,221,'相城区',3),
(1853,221,'园区',3),
(1854,221,'新区',3),
(1855,221,'常熟市',3),
(1856,221,'张家港市',3),
(1857,221,'玉山镇',3),
(1858,221,'巴城镇',3),
(1859,221,'周市镇',3),
(1860,221,'陆家镇',3),
(1861,221,'花桥镇',3),
(1862,221,'淀山湖镇',3),
(1863,221,'张浦镇',3),
(1864,221,'周庄镇',3),
(1865,221,'千灯镇',3),
(1866,221,'锦溪镇',3),
(1867,221,'开发区',3),
(1868,221,'吴江市',3),
(1869,221,'太仓市',3),
(1870,222,'崇安区',3),
(1871,222,'北塘区',3),
(1872,222,'南长区',3),
(1873,222,'锡山区',3),
(1874,222,'惠山区',3),
(1875,222,'滨湖区',3),
(1876,222,'新区',3),
(1877,222,'江阴市',3),
(1878,222,'宜兴市',3),
(1879,223,'天宁区',3),
(1880,223,'钟楼区',3),
(1881,223,'戚墅堰区',3),
(1882,223,'郊区',3),
(1883,223,'新北区',3),
(1884,223,'武进区',3),
(1885,223,'溧阳市',3),
(1886,223,'金坛市',3),
(1887,224,'清河区',3),
(1888,224,'清浦区',3),
(1889,224,'楚州区',3),
(1890,224,'淮阴区',3),
(1891,224,'涟水县',3),
(1892,224,'洪泽县',3),
(1893,224,'盱眙县',3),
(1894,224,'金湖县',3),
(1895,225,'新浦区',3),
(1896,225,'连云区',3),
(1897,225,'海州区',3),
(1898,225,'赣榆县',3),
(1899,225,'东海县',3),
(1900,225,'灌云县',3),
(1901,225,'灌南县',3),
(1902,226,'崇川区',3),
(1903,226,'港闸区',3),
(1904,226,'经济开发区',3),
(1905,226,'启东市',3),
(1906,226,'如皋市',3),
(1907,226,'通州市',3),
(1908,226,'海门市',3),
(1909,226,'海安县',3),
(1910,226,'如东县',3),
(1911,227,'宿城区',3),
(1912,227,'宿豫区',3),
(1913,227,'宿豫县',3),
(1914,227,'沭阳县',3),
(1915,227,'泗阳县',3),
(1916,227,'泗洪县',3),
(1917,228,'海陵区',3),
(1918,228,'高港区',3),
(1919,228,'兴化市',3),
(1920,228,'靖江市',3),
(1921,228,'泰兴市',3),
(1922,228,'姜堰市',3),
(1923,229,'云龙区',3),
(1924,229,'鼓楼区',3),
(1925,229,'九里区',3),
(1926,229,'贾汪区',3),
(1927,229,'泉山区',3),
(1928,229,'新沂市',3),
(1929,229,'邳州市',3),
(1930,229,'丰县',3),
(1931,229,'沛县',3),
(1932,229,'铜山县',3),
(1933,229,'睢宁县',3),
(1934,230,'城区',3),
(1935,230,'亭湖区',3),
(1936,230,'盐都区',3),
(1937,230,'盐都县',3),
(1938,230,'东台市',3),
(1939,230,'大丰市',3),
(1940,230,'响水县',3),
(1941,230,'滨海县',3),
(1942,230,'阜宁县',3),
(1943,230,'射阳县',3),
(1944,230,'建湖县',3),
(1945,231,'广陵区',3),
(1946,231,'维扬区',3),
(1947,231,'邗江区',3),
(1948,231,'仪征市',3),
(1949,231,'高邮市',3),
(1950,231,'江都市',3),
(1951,231,'宝应县',3),
(1952,232,'京口区',3),
(1953,232,'润州区',3),
(1954,232,'丹徒区',3),
(1955,232,'丹阳市',3),
(1956,232,'扬中市',3),
(1957,232,'句容市',3),
(1958,233,'东湖区',3),
(1959,233,'西湖区',3),
(1960,233,'青云谱区',3),
(1961,233,'湾里区',3),
(1962,233,'青山湖区',3),
(1963,233,'红谷滩新区',3),
(1964,233,'昌北区',3),
(1965,233,'高新区',3),
(1966,233,'南昌县',3),
(1967,233,'新建县',3),
(1968,233,'安义县',3),
(1969,233,'进贤县',3),
(1970,234,'临川区',3),
(1971,234,'南城县',3),
(1972,234,'黎川县',3),
(1973,234,'南丰县',3),
(1974,234,'崇仁县',3),
(1975,234,'乐安县',3),
(1976,234,'宜黄县',3),
(1977,234,'金溪县',3),
(1978,234,'资溪县',3),
(1979,234,'东乡县',3),
(1980,234,'广昌县',3),
(1981,235,'章贡区',3),
(1982,235,'于都县',3),
(1983,235,'瑞金市',3),
(1984,235,'南康市',3),
(1985,235,'赣县',3),
(1986,235,'信丰县',3),
(1987,235,'大余县',3),
(1988,235,'上犹县',3),
(1989,235,'崇义县',3),
(1990,235,'安远县',3),
(1991,235,'龙南县',3),
(1992,235,'定南县',3),
(1993,235,'全南县',3),
(1994,235,'宁都县',3),
(1995,235,'兴国县',3),
(1996,235,'会昌县',3),
(1997,235,'寻乌县',3),
(1998,235,'石城县',3),
(1999,236,'安福县',3),
(2000,236,'吉州区',3),
(2001,236,'青原区',3),
(2002,236,'井冈山市',3),
(2003,236,'吉安县',3),
(2004,236,'吉水县',3),
(2005,236,'峡江县',3),
(2006,236,'新干县',3),
(2007,236,'永丰县',3),
(2008,236,'泰和县',3),
(2009,236,'遂川县',3),
(2010,236,'万安县',3),
(2011,236,'永新县',3),
(2012,237,'珠山区',3),
(2013,237,'昌江区',3),
(2014,237,'乐平市',3),
(2015,237,'浮梁县',3),
(2016,238,'浔阳区',3),
(2017,238,'庐山区',3),
(2018,238,'瑞昌市',3),
(2019,238,'九江县',3),
(2020,238,'武宁县',3),
(2021,238,'修水县',3),
(2022,238,'永修县',3),
(2023,238,'德安县',3),
(2024,238,'星子县',3),
(2025,238,'都昌县',3),
(2026,238,'湖口县',3),
(2027,238,'彭泽县',3),
(2028,239,'安源区',3),
(2029,239,'湘东区',3),
(2030,239,'莲花县',3),
(2031,239,'芦溪县',3),
(2032,239,'上栗县',3),
(2033,240,'信州区',3),
(2034,240,'德兴市',3),
(2035,240,'上饶县',3),
(2036,240,'广丰县',3),
(2037,240,'玉山县',3),
(2038,240,'铅山县',3),
(2039,240,'横峰县',3),
(2040,240,'弋阳县',3),
(2041,240,'余干县',3),
(2042,240,'波阳县',3),
(2043,240,'万年县',3),
(2044,240,'婺源县',3),
(2045,241,'渝水区',3),
(2046,241,'分宜县',3),
(2047,242,'袁州区',3),
(2048,242,'丰城市',3),
(2049,242,'樟树市',3),
(2050,242,'高安市',3),
(2051,242,'奉新县',3),
(2052,242,'万载县',3),
(2053,242,'上高县',3),
(2054,242,'宜丰县',3),
(2055,242,'靖安县',3),
(2056,242,'铜鼓县',3),
(2057,243,'月湖区',3),
(2058,243,'贵溪市',3),
(2059,243,'余江县',3),
(2060,244,'沈河区',3),
(2061,244,'皇姑区',3),
(2062,244,'和平区',3),
(2063,244,'大东区',3),
(2064,244,'铁西区',3),
(2065,244,'苏家屯区',3),
(2066,244,'东陵区',3),
(2067,244,'沈北新区',3),
(2068,244,'于洪区',3),
(2069,244,'浑南新区',3),
(2070,244,'新民市',3),
(2071,244,'辽中县',3),
(2072,244,'康平县',3),
(2073,244,'法库县',3),
(2074,245,'西岗区',3),
(2075,245,'中山区',3),
(2076,245,'沙河口区',3),
(2077,245,'甘井子区',3),
(2078,245,'旅顺口区',3),
(2079,245,'金州区',3),
(2080,245,'开发区',3),
(2081,245,'瓦房店市',3),
(2082,245,'普兰店市',3),
(2083,245,'庄河市',3),
(2084,245,'长海县',3),
(2085,246,'铁东区',3),
(2086,246,'铁西区',3),
(2087,246,'立山区',3),
(2088,246,'千山区',3),
(2089,246,'岫岩',3),
(2090,246,'海城市',3),
(2091,246,'台安县',3),
(2092,247,'本溪',3),
(2093,247,'平山区',3),
(2094,247,'明山区',3),
(2095,247,'溪湖区',3),
(2096,247,'南芬区',3),
(2097,247,'桓仁',3),
(2098,248,'双塔区',3),
(2099,248,'龙城区',3),
(2100,248,'喀喇沁左翼蒙古族自治县',3),
(2101,248,'北票市',3),
(2102,248,'凌源市',3),
(2103,248,'朝阳县',3),
(2104,248,'建平县',3),
(2105,249,'振兴区',3),
(2106,249,'元宝区',3),
(2107,249,'振安区',3),
(2108,249,'宽甸',3),
(2109,249,'东港市',3),
(2110,249,'凤城市',3),
(2111,250,'顺城区',3),
(2112,250,'新抚区',3),
(2113,250,'东洲区',3),
(2114,250,'望花区',3),
(2115,250,'清原',3),
(2116,250,'新宾',3),
(2117,250,'抚顺县',3),
(2118,251,'阜新',3),
(2119,251,'海州区',3),
(2120,251,'新邱区',3),
(2121,251,'太平区',3),
(2122,251,'清河门区',3),
(2123,251,'细河区',3),
(2124,251,'彰武县',3),
(2125,252,'龙港区',3),
(2126,252,'南票区',3),
(2127,252,'连山区',3),
(2128,252,'兴城市',3),
(2129,252,'绥中县',3),
(2130,252,'建昌县',3),
(2131,253,'太和区',3),
(2132,253,'古塔区',3),
(2133,253,'凌河区',3),
(2134,253,'凌海市',3),
(2135,253,'北镇市',3),
(2136,253,'黑山县',3),
(2137,253,'义县',3),
(2138,254,'白塔区',3),
(2139,254,'文圣区',3),
(2140,254,'宏伟区',3),
(2141,254,'太子河区',3),
(2142,254,'弓长岭区',3),
(2143,254,'灯塔市',3),
(2144,254,'辽阳县',3),
(2145,255,'双台子区',3),
(2146,255,'兴隆台区',3),
(2147,255,'大洼县',3),
(2148,255,'盘山县',3),
(2149,256,'银州区',3),
(2150,256,'清河区',3),
(2151,256,'调兵山市',3),
(2152,256,'开原市',3),
(2153,256,'铁岭县',3),
(2154,256,'西丰县',3),
(2155,256,'昌图县',3),
(2156,257,'站前区',3),
(2157,257,'西市区',3),
(2158,257,'鲅鱼圈区',3),
(2159,257,'老边区',3),
(2160,257,'盖州市',3),
(2161,257,'大石桥市',3),
(2162,258,'回民区',3),
(2163,258,'玉泉区',3),
(2164,258,'新城区',3),
(2165,258,'赛罕区',3),
(2166,258,'清水河县',3),
(2167,258,'土默特左旗',3),
(2168,258,'托克托县',3),
(2169,258,'和林格尔县',3),
(2170,258,'武川县',3),
(2171,259,'阿拉善左旗',3),
(2172,259,'阿拉善右旗',3),
(2173,259,'额济纳旗',3),
(2174,260,'临河区',3),
(2175,260,'五原县',3),
(2176,260,'磴口县',3),
(2177,260,'乌拉特前旗',3),
(2178,260,'乌拉特中旗',3),
(2179,260,'乌拉特后旗',3),
(2180,260,'杭锦后旗',3),
(2181,261,'昆都仑区',3),
(2182,261,'青山区',3),
(2183,261,'东河区',3),
(2184,261,'九原区',3),
(2185,261,'石拐区',3),
(2186,261,'白云矿区',3),
(2187,261,'土默特右旗',3),
(2188,261,'固阳县',3),
(2189,261,'达尔罕茂明安联合旗',3),
(2190,262,'红山区',3),
(2191,262,'元宝山区',3),
(2192,262,'松山区',3),
(2193,262,'阿鲁科尔沁旗',3),
(2194,262,'巴林左旗',3),
(2195,262,'巴林右旗',3),
(2196,262,'林西县',3),
(2197,262,'克什克腾旗',3),
(2198,262,'翁牛特旗',3),
(2199,262,'喀喇沁旗',3),
(2200,262,'宁城县',3),
(2201,262,'敖汉旗',3),
(2202,263,'东胜区',3),
(2203,263,'达拉特旗',3),
(2204,263,'准格尔旗',3),
(2205,263,'鄂托克前旗',3),
(2206,263,'鄂托克旗',3),
(2207,263,'杭锦旗',3),
(2208,263,'乌审旗',3),
(2209,263,'伊金霍洛旗',3),
(2210,264,'海拉尔区',3),
(2211,264,'莫力达瓦',3),
(2212,264,'满洲里市',3),
(2213,264,'牙克石市',3),
(2214,264,'扎兰屯市',3),
(2215,264,'额尔古纳市',3),
(2216,264,'根河市',3),
(2217,264,'阿荣旗',3),
(2218,264,'鄂伦春自治旗',3),
(2219,264,'鄂温克族自治旗',3),
(2220,264,'陈巴尔虎旗',3),
(2221,264,'新巴尔虎左旗',3),
(2222,264,'新巴尔虎右旗',3),
(2223,265,'科尔沁区',3),
(2224,265,'霍林郭勒市',3),
(2225,265,'科尔沁左翼中旗',3),
(2226,265,'科尔沁左翼后旗',3),
(2227,265,'开鲁县',3),
(2228,265,'库伦旗',3),
(2229,265,'奈曼旗',3),
(2230,265,'扎鲁特旗',3),
(2231,266,'海勃湾区',3),
(2232,266,'乌达区',3),
(2233,266,'海南区',3),
(2234,267,'化德县',3),
(2235,267,'集宁区',3),
(2236,267,'丰镇市',3),
(2237,267,'卓资县',3),
(2238,267,'商都县',3),
(2239,267,'兴和县',3),
(2240,267,'凉城县',3),
(2241,267,'察哈尔右翼前旗',3),
(2242,267,'察哈尔右翼中旗',3),
(2243,267,'察哈尔右翼后旗',3),
(2244,267,'四子王旗',3),
(2245,268,'二连浩特市',3),
(2246,268,'锡林浩特市',3),
(2247,268,'阿巴嘎旗',3),
(2248,268,'苏尼特左旗',3),
(2249,268,'苏尼特右旗',3),
(2250,268,'东乌珠穆沁旗',3),
(2251,268,'西乌珠穆沁旗',3),
(2252,268,'太仆寺旗',3),
(2253,268,'镶黄旗',3),
(2254,268,'正镶白旗',3),
(2255,268,'正蓝旗',3),
(2256,268,'多伦县',3),
(2257,269,'乌兰浩特市',3),
(2258,269,'阿尔山市',3),
(2259,269,'科尔沁右翼前旗',3),
(2260,269,'科尔沁右翼中旗',3),
(2261,269,'扎赉特旗',3),
(2262,269,'突泉县',3),
(2263,270,'西夏区',3),
(2264,270,'金凤区',3),
(2265,270,'兴庆区',3),
(2266,270,'灵武市',3),
(2267,270,'永宁县',3),
(2268,270,'贺兰县',3),
(2269,271,'原州区',3),
(2270,271,'海原县',3),
(2271,271,'西吉县',3),
(2272,271,'隆德县',3),
(2273,271,'泾源县',3),
(2274,271,'彭阳县',3),
(2275,272,'惠农县',3),
(2276,272,'大武口区',3),
(2277,272,'惠农区',3),
(2278,272,'陶乐县',3),
(2279,272,'平罗县',3),
(2280,273,'利通区',3),
(2281,273,'中卫县',3),
(2282,273,'青铜峡市',3),
(2283,273,'中宁县',3),
(2284,273,'盐池县',3),
(2285,273,'同心县',3),
(2286,274,'沙坡头区',3),
(2287,274,'海原县',3),
(2288,274,'中宁县',3),
(2289,275,'城中区',3),
(2290,275,'城东区',3),
(2291,275,'城西区',3),
(2292,275,'城北区',3),
(2293,275,'湟中县',3),
(2294,275,'湟源县',3),
(2295,275,'大通',3),
(2296,276,'玛沁县',3),
(2297,276,'班玛县',3),
(2298,276,'甘德县',3),
(2299,276,'达日县',3),
(2300,276,'久治县',3),
(2301,276,'玛多县',3),
(2302,277,'海晏县',3),
(2303,277,'祁连县',3),
(2304,277,'刚察县',3),
(2305,277,'门源',3),
(2306,278,'平安县',3),
(2307,278,'乐都县',3),
(2308,278,'民和',3),
(2309,278,'互助',3),
(2310,278,'化隆',3),
(2311,278,'循化',3),
(2312,279,'共和县',3),
(2313,279,'同德县',3),
(2314,279,'贵德县',3),
(2315,279,'兴海县',3),
(2316,279,'贵南县',3),
(2317,280,'德令哈市',3),
(2318,280,'格尔木市',3),
(2319,280,'乌兰县',3),
(2320,280,'都兰县',3),
(2321,280,'天峻县',3),
(2322,281,'同仁县',3),
(2323,281,'尖扎县',3),
(2324,281,'泽库县',3),
(2325,281,'河南蒙古族自治县',3),
(2326,282,'玉树县',3),
(2327,282,'杂多县',3),
(2328,282,'称多县',3),
(2329,282,'治多县',3),
(2330,282,'囊谦县',3),
(2331,282,'曲麻莱县',3),
(2332,283,'市中区',3),
(2333,283,'历下区',3),
(2334,283,'天桥区',3),
(2335,283,'槐荫区',3),
(2336,283,'历城区',3),
(2337,283,'长清区',3),
(2338,283,'章丘市',3),
(2339,283,'平阴县',3),
(2340,283,'济阳县',3),
(2341,283,'商河县',3),
(2342,284,'市南区',3),
(2343,284,'市北区',3),
(2344,284,'城阳区',3),
(2345,284,'四方区',3),
(2346,284,'李沧区',3),
(2347,284,'黄岛区',3),
(2348,284,'崂山区',3),
(2349,284,'胶州市',3),
(2350,284,'即墨市',3),
(2351,284,'平度市',3),
(2352,284,'胶南市',3),
(2353,284,'莱西市',3),
(2354,285,'滨城区',3),
(2355,285,'惠民县',3),
(2356,285,'阳信县',3),
(2357,285,'无棣县',3),
(2358,285,'沾化县',3),
(2359,285,'博兴县',3),
(2360,285,'邹平县',3),
(2361,286,'德城区',3),
(2362,286,'陵县',3),
(2363,286,'乐陵市',3),
(2364,286,'禹城市',3),
(2365,286,'宁津县',3),
(2366,286,'庆云县',3),
(2367,286,'临邑县',3),
(2368,286,'齐河县',3),
(2369,286,'平原县',3),
(2370,286,'夏津县',3),
(2371,286,'武城县',3),
(2372,287,'东营区',3),
(2373,287,'河口区',3),
(2374,287,'垦利县',3),
(2375,287,'利津县',3),
(2376,287,'广饶县',3),
(2377,288,'牡丹区',3),
(2378,288,'曹县',3),
(2379,288,'单县',3),
(2380,288,'成武县',3),
(2381,288,'巨野县',3),
(2382,288,'郓城县',3),
(2383,288,'鄄城县',3),
(2384,288,'定陶县',3),
(2385,288,'东明县',3),
(2386,289,'市中区',3),
(2387,289,'任城区',3),
(2388,289,'曲阜市',3),
(2389,289,'兖州市',3),
(2390,289,'邹城市',3),
(2391,289,'微山县',3),
(2392,289,'鱼台县',3),
(2393,289,'金乡县',3),
(2394,289,'嘉祥县',3),
(2395,289,'汶上县',3),
(2396,289,'泗水县',3),
(2397,289,'梁山县',3),
(2398,290,'莱城区',3),
(2399,290,'钢城区',3),
(2400,291,'东昌府区',3),
(2401,291,'临清市',3),
(2402,291,'阳谷县',3),
(2403,291,'莘县',3),
(2404,291,'茌平县',3),
(2405,291,'东阿县',3),
(2406,291,'冠县',3),
(2407,291,'高唐县',3),
(2408,292,'兰山区',3),
(2409,292,'罗庄区',3),
(2410,292,'河东区',3),
(2411,292,'沂南县',3),
(2412,292,'郯城县',3),
(2413,292,'沂水县',3),
(2414,292,'苍山县',3),
(2415,292,'费县',3),
(2416,292,'平邑县',3),
(2417,292,'莒南县',3),
(2418,292,'蒙阴县',3),
(2419,292,'临沭县',3),
(2420,293,'东港区',3),
(2421,293,'岚山区',3),
(2422,293,'五莲县',3),
(2423,293,'莒县',3),
(2424,294,'泰山区',3),
(2425,294,'岱岳区',3),
(2426,294,'新泰市',3),
(2427,294,'肥城市',3),
(2428,294,'宁阳县',3),
(2429,294,'东平县',3),
(2430,295,'荣成市',3),
(2431,295,'乳山市',3),
(2432,295,'环翠区',3),
(2433,295,'文登市',3),
(2434,296,'潍城区',3),
(2435,296,'寒亭区',3),
(2436,296,'坊子区',3),
(2437,296,'奎文区',3),
(2438,296,'青州市',3),
(2439,296,'诸城市',3),
(2440,296,'寿光市',3),
(2441,296,'安丘市',3),
(2442,296,'高密市',3),
(2443,296,'昌邑市',3),
(2444,296,'临朐县',3),
(2445,296,'昌乐县',3),
(2446,297,'芝罘区',3),
(2447,297,'福山区',3),
(2448,297,'牟平区',3),
(2449,297,'莱山区',3),
(2450,297,'开发区',3),
(2451,297,'龙口市',3),
(2452,297,'莱阳市',3),
(2453,297,'莱州市',3),
(2454,297,'蓬莱市',3),
(2455,297,'招远市',3),
(2456,297,'栖霞市',3),
(2457,297,'海阳市',3),
(2458,297,'长岛县',3),
(2459,298,'市中区',3),
(2460,298,'山亭区',3),
(2461,298,'峄城区',3),
(2462,298,'台儿庄区',3),
(2463,298,'薛城区',3),
(2464,298,'滕州市',3),
(2465,299,'张店区',3),
(2466,299,'临淄区',3),
(2467,299,'淄川区',3),
(2468,299,'博山区',3),
(2469,299,'周村区',3),
(2470,299,'桓台县',3),
(2471,299,'高青县',3),
(2472,299,'沂源县',3),
(2473,300,'杏花岭区',3),
(2474,300,'小店区',3),
(2475,300,'迎泽区',3),
(2476,300,'尖草坪区',3),
(2477,300,'万柏林区',3),
(2478,300,'晋源区',3),
(2479,300,'高新开发区',3),
(2480,300,'民营经济开发区',3),
(2481,300,'经济技术开发区',3),
(2482,300,'清徐县',3),
(2483,300,'阳曲县',3),
(2484,300,'娄烦县',3),
(2485,300,'古交市',3),
(2486,301,'城区',3),
(2487,301,'郊区',3),
(2488,301,'沁县',3),
(2489,301,'潞城市',3),
(2490,301,'长治县',3),
(2491,301,'襄垣县',3),
(2492,301,'屯留县',3),
(2493,301,'平顺县',3),
(2494,301,'黎城县',3),
(2495,301,'壶关县',3),
(2496,301,'长子县',3),
(2497,301,'武乡县',3),
(2498,301,'沁源县',3),
(2499,302,'城区',3),
(2500,302,'矿区',3),
(2501,302,'南郊区',3),
(2502,302,'新荣区',3),
(2503,302,'阳高县',3),
(2504,302,'天镇县',3),
(2505,302,'广灵县',3),
(2506,302,'灵丘县',3),
(2507,302,'浑源县',3),
(2508,302,'左云县',3),
(2509,302,'大同县',3),
(2510,303,'城区',3),
(2511,303,'高平市',3),
(2512,303,'沁水县',3),
(2513,303,'阳城县',3),
(2514,303,'陵川县',3),
(2515,303,'泽州县',3),
(2516,304,'榆次区',3),
(2517,304,'介休市',3),
(2518,304,'榆社县',3),
(2519,304,'左权县',3),
(2520,304,'和顺县',3),
(2521,304,'昔阳县',3),
(2522,304,'寿阳县',3),
(2523,304,'太谷县',3),
(2524,304,'祁县',3),
(2525,304,'平遥县',3),
(2526,304,'灵石县',3),
(2527,305,'尧都区',3),
(2528,305,'侯马市',3),
(2529,305,'霍州市',3),
(2530,305,'曲沃县',3),
(2531,305,'翼城县',3),
(2532,305,'襄汾县',3),
(2533,305,'洪洞县',3),
(2534,305,'吉县',3),
(2535,305,'安泽县',3),
(2536,305,'浮山县',3),
(2537,305,'古县',3),
(2538,305,'乡宁县',3),
(2539,305,'大宁县',3),
(2540,305,'隰县',3),
(2541,305,'永和县',3),
(2542,305,'蒲县',3),
(2543,305,'汾西县',3),
(2544,306,'离石市',3),
(2545,306,'离石区',3),
(2546,306,'孝义市',3),
(2547,306,'汾阳市',3),
(2548,306,'文水县',3),
(2549,306,'交城县',3),
(2550,306,'兴县',3),
(2551,306,'临县',3),
(2552,306,'柳林县',3),
(2553,306,'石楼县',3),
(2554,306,'岚县',3),
(2555,306,'方山县',3),
(2556,306,'中阳县',3),
(2557,306,'交口县',3),
(2558,307,'朔城区',3),
(2559,307,'平鲁区',3),
(2560,307,'山阴县',3),
(2561,307,'应县',3),
(2562,307,'右玉县',3),
(2563,307,'怀仁县',3),
(2564,308,'忻府区',3),
(2565,308,'原平市',3),
(2566,308,'定襄县',3),
(2567,308,'五台县',3),
(2568,308,'代县',3),
(2569,308,'繁峙县',3),
(2570,308,'宁武县',3),
(2571,308,'静乐县',3),
(2572,308,'神池县',3),
(2573,308,'五寨县',3),
(2574,308,'岢岚县',3),
(2575,308,'河曲县',3),
(2576,308,'保德县',3),
(2577,308,'偏关县',3),
(2578,309,'城区',3),
(2579,309,'矿区',3),
(2580,309,'郊区',3),
(2581,309,'平定县',3),
(2582,309,'盂县',3),
(2583,310,'盐湖区',3),
(2584,310,'永济市',3),
(2585,310,'河津市',3),
(2586,310,'临猗县',3),
(2587,310,'万荣县',3),
(2588,310,'闻喜县',3),
(2589,310,'稷山县',3),
(2590,310,'新绛县',3),
(2591,310,'绛县',3),
(2592,310,'垣曲县',3),
(2593,310,'夏县',3),
(2594,310,'平陆县',3),
(2595,310,'芮城县',3),
(2596,311,'莲湖区',3),
(2597,311,'新城区',3),
(2598,311,'碑林区',3),
(2599,311,'雁塔区',3),
(2600,311,'灞桥区',3),
(2601,311,'未央区',3),
(2602,311,'阎良区',3),
(2603,311,'临潼区',3),
(2604,311,'长安区',3),
(2605,311,'蓝田县',3),
(2606,311,'周至县',3),
(2607,311,'户县',3),
(2608,311,'高陵县',3),
(2609,312,'汉滨区',3),
(2610,312,'汉阴县',3),
(2611,312,'石泉县',3),
(2612,312,'宁陕县',3),
(2613,312,'紫阳县',3),
(2614,312,'岚皋县',3),
(2615,312,'平利县',3),
(2616,312,'镇坪县',3),
(2617,312,'旬阳县',3),
(2618,312,'白河县',3),
(2619,313,'陈仓区',3),
(2620,313,'渭滨区',3),
(2621,313,'金台区',3),
(2622,313,'凤翔县',3),
(2623,313,'岐山县',3),
(2624,313,'扶风县',3),
(2625,313,'眉县',3),
(2626,313,'陇县',3),
(2627,313,'千阳县',3),
(2628,313,'麟游县',3),
(2629,313,'凤县',3),
(2630,313,'太白县',3),
(2631,314,'汉台区',3),
(2632,314,'南郑县',3),
(2633,314,'城固县',3),
(2634,314,'洋县',3),
(2635,314,'西乡县',3),
(2636,314,'勉县',3),
(2637,314,'宁强县',3),
(2638,314,'略阳县',3),
(2639,314,'镇巴县',3),
(2640,314,'留坝县',3),
(2641,314,'佛坪县',3),
(2642,315,'商州区',3),
(2643,315,'洛南县',3),
(2644,315,'丹凤县',3),
(2645,315,'商南县',3),
(2646,315,'山阳县',3),
(2647,315,'镇安县',3),
(2648,315,'柞水县',3),
(2649,316,'耀州区',3),
(2650,316,'王益区',3),
(2651,316,'印台区',3),
(2652,316,'宜君县',3),
(2653,317,'临渭区',3),
(2654,317,'韩城市',3),
(2655,317,'华阴市',3),
(2656,317,'华县',3),
(2657,317,'潼关县',3),
(2658,317,'大荔县',3),
(2659,317,'合阳县',3),
(2660,317,'澄城县',3),
(2661,317,'蒲城县',3),
(2662,317,'白水县',3),
(2663,317,'富平县',3),
(2664,318,'秦都区',3),
(2665,318,'渭城区',3),
(2666,318,'杨陵区',3),
(2667,318,'兴平市',3),
(2668,318,'三原县',3),
(2669,318,'泾阳县',3),
(2670,318,'乾县',3),
(2671,318,'礼泉县',3),
(2672,318,'永寿县',3),
(2673,318,'彬县',3),
(2674,318,'长武县',3),
(2675,318,'旬邑县',3),
(2676,318,'淳化县',3),
(2677,318,'武功县',3),
(2678,319,'吴起县',3),
(2679,319,'宝塔区',3),
(2680,319,'延长县',3),
(2681,319,'延川县',3),
(2682,319,'子长县',3),
(2683,319,'安塞县',3),
(2684,319,'志丹县',3),
(2685,319,'甘泉县',3),
(2686,319,'富县',3),
(2687,319,'洛川县',3),
(2688,319,'宜川县',3),
(2689,319,'黄龙县',3),
(2690,319,'黄陵县',3),
(2691,320,'榆阳区',3),
(2692,320,'神木县',3),
(2693,320,'府谷县',3),
(2694,320,'横山县',3),
(2695,320,'靖边县',3),
(2696,320,'定边县',3),
(2697,320,'绥德县',3),
(2698,320,'米脂县',3),
(2699,320,'佳县',3),
(2700,320,'吴堡县',3),
(2701,320,'清涧县',3),
(2702,320,'子洲县',3),
(2703,321,'长宁区',3),
(2704,321,'闸北区',3),
(2705,321,'闵行区',3),
(2706,321,'徐汇区',3),
(2707,321,'浦东新区',3),
(2708,321,'杨浦区',3),
(2709,321,'普陀区',3),
(2710,321,'静安区',3),
(2711,321,'卢湾区',3),
(2712,321,'虹口区',3),
(2713,321,'黄浦区',3),
(2714,321,'南汇区',3),
(2715,321,'松江区',3),
(2716,321,'嘉定区',3),
(2717,321,'宝山区',3),
(2718,321,'青浦区',3),
(2719,321,'金山区',3),
(2720,321,'奉贤区',3),
(2721,321,'崇明县',3),
(2722,322,'青羊区',3),
(2723,322,'锦江区',3),
(2724,322,'金牛区',3),
(2725,322,'武侯区',3),
(2726,322,'成华区',3),
(2727,322,'龙泉驿区',3),
(2728,322,'青白江区',3),
(2729,322,'新都区',3),
(2730,322,'温江区',3),
(2731,322,'高新区',3),
(2732,322,'高新西区',3),
(2733,322,'都江堰市',3),
(2734,322,'彭州市',3),
(2735,322,'邛崃市',3),
(2736,322,'崇州市',3),
(2737,322,'金堂县',3),
(2738,322,'双流县',3),
(2739,322,'郫县',3),
(2740,322,'大邑县',3),
(2741,322,'蒲江县',3),
(2742,322,'新津县',3),
(2743,322,'都江堰市',3),
(2744,322,'彭州市',3),
(2745,322,'邛崃市',3),
(2746,322,'崇州市',3),
(2747,322,'金堂县',3),
(2748,322,'双流县',3),
(2749,322,'郫县',3),
(2750,322,'大邑县',3),
(2751,322,'蒲江县',3),
(2752,322,'新津县',3),
(2753,323,'涪城区',3),
(2754,323,'游仙区',3),
(2755,323,'江油市',3),
(2756,323,'盐亭县',3),
(2757,323,'三台县',3),
(2758,323,'平武县',3),
(2759,323,'安县',3),
(2760,323,'梓潼县',3),
(2761,323,'北川县',3),
(2762,324,'马尔康县',3),
(2763,324,'汶川县',3),
(2764,324,'理县',3),
(2765,324,'茂县',3),
(2766,324,'松潘县',3),
(2767,324,'九寨沟县',3),
(2768,324,'金川县',3),
(2769,324,'小金县',3),
(2770,324,'黑水县',3),
(2771,324,'壤塘县',3),
(2772,324,'阿坝县',3),
(2773,324,'若尔盖县',3),
(2774,324,'红原县',3),
(2775,325,'巴州区',3),
(2776,325,'通江县',3),
(2777,325,'南江县',3),
(2778,325,'平昌县',3),
(2779,326,'通川区',3),
(2780,326,'万源市',3),
(2781,326,'达县',3),
(2782,326,'宣汉县',3),
(2783,326,'开江县',3),
(2784,326,'大竹县',3),
(2785,326,'渠县',3),
(2786,327,'旌阳区',3),
(2787,327,'广汉市',3),
(2788,327,'什邡市',3),
(2789,327,'绵竹市',3),
(2790,327,'罗江县',3),
(2791,327,'中江县',3),
(2792,328,'康定县',3),
(2793,328,'丹巴县',3),
(2794,328,'泸定县',3),
(2795,328,'炉霍县',3),
(2796,328,'九龙县',3),
(2797,328,'甘孜县',3),
(2798,328,'雅江县',3),
(2799,328,'新龙县',3),
(2800,328,'道孚县',3),
(2801,328,'白玉县',3),
(2802,328,'理塘县',3),
(2803,328,'德格县',3),
(2804,328,'乡城县',3),
(2805,328,'石渠县',3),
(2806,328,'稻城县',3),
(2807,328,'色达县',3),
(2808,328,'巴塘县',3),
(2809,328,'得荣县',3),
(2810,329,'广安区',3),
(2811,329,'华蓥市',3),
(2812,329,'岳池县',3),
(2813,329,'武胜县',3),
(2814,329,'邻水县',3),
(2815,330,'利州区',3),
(2816,330,'元坝区',3),
(2817,330,'朝天区',3),
(2818,330,'旺苍县',3),
(2819,330,'青川县',3),
(2820,330,'剑阁县',3),
(2821,330,'苍溪县',3),
(2822,331,'峨眉山市',3),
(2823,331,'乐山市',3),
(2824,331,'犍为县',3),
(2825,331,'井研县',3),
(2826,331,'夹江县',3),
(2827,331,'沐川县',3),
(2828,331,'峨边',3),
(2829,331,'马边',3),
(2830,332,'西昌市',3),
(2831,332,'盐源县',3),
(2832,332,'德昌县',3),
(2833,332,'会理县',3),
(2834,332,'会东县',3),
(2835,332,'宁南县',3),
(2836,332,'普格县',3),
(2837,332,'布拖县',3),
(2838,332,'金阳县',3),
(2839,332,'昭觉县',3),
(2840,332,'喜德县',3),
(2841,332,'冕宁县',3),
(2842,332,'越西县',3),
(2843,332,'甘洛县',3),
(2844,332,'美姑县',3),
(2845,332,'雷波县',3),
(2846,332,'木里',3),
(2847,333,'东坡区',3),
(2848,333,'仁寿县',3),
(2849,333,'彭山县',3),
(2850,333,'洪雅县',3),
(2851,333,'丹棱县',3),
(2852,333,'青神县',3),
(2853,334,'阆中市',3),
(2854,334,'南部县',3),
(2855,334,'营山县',3),
(2856,334,'蓬安县',3),
(2857,334,'仪陇县',3),
(2858,334,'顺庆区',3),
(2859,334,'高坪区',3),
(2860,334,'嘉陵区',3),
(2861,334,'西充县',3),
(2862,335,'市中区',3),
(2863,335,'东兴区',3),
(2864,335,'威远县',3),
(2865,335,'资中县',3),
(2866,335,'隆昌县',3),
(2867,336,'东 区',3),
(2868,336,'西 区',3),
(2869,336,'仁和区',3),
(2870,336,'米易县',3),
(2871,336,'盐边县',3),
(2872,337,'船山区',3),
(2873,337,'安居区',3),
(2874,337,'蓬溪县',3),
(2875,337,'射洪县',3),
(2876,337,'大英县',3),
(2877,338,'雨城区',3),
(2878,338,'名山县',3),
(2879,338,'荥经县',3),
(2880,338,'汉源县',3),
(2881,338,'石棉县',3),
(2882,338,'天全县',3),
(2883,338,'芦山县',3),
(2884,338,'宝兴县',3),
(2885,339,'翠屏区',3),
(2886,339,'宜宾县',3),
(2887,339,'南溪县',3),
(2888,339,'江安县',3),
(2889,339,'长宁县',3),
(2890,339,'高县',3),
(2891,339,'珙县',3),
(2892,339,'筠连县',3),
(2893,339,'兴文县',3),
(2894,339,'屏山县',3),
(2895,340,'雁江区',3),
(2896,340,'简阳市',3),
(2897,340,'安岳县',3),
(2898,340,'乐至县',3),
(2899,341,'大安区',3),
(2900,341,'自流井区',3),
(2901,341,'贡井区',3),
(2902,341,'沿滩区',3),
(2903,341,'荣县',3),
(2904,341,'富顺县',3),
(2905,342,'江阳区',3),
(2906,342,'纳溪区',3),
(2907,342,'龙马潭区',3),
(2908,342,'泸县',3),
(2909,342,'合江县',3),
(2910,342,'叙永县',3),
(2911,342,'古蔺县',3),
(2912,343,'和平区',3),
(2913,343,'河西区',3),
(2914,343,'南开区',3),
(2915,343,'河北区',3),
(2916,343,'河东区',3),
(2917,343,'红桥区',3),
(2918,343,'东丽区',3),
(2919,343,'津南区',3),
(2920,343,'西青区',3),
(2921,343,'北辰区',3),
(2922,343,'塘沽区',3),
(2923,343,'汉沽区',3),
(2924,343,'大港区',3),
(2925,343,'武清区',3),
(2926,343,'宝坻区',3),
(2927,343,'经济开发区',3),
(2928,343,'宁河县',3),
(2929,343,'静海县',3),
(2930,343,'蓟县',3),
(2931,344,'城关区',3),
(2932,344,'林周县',3),
(2933,344,'当雄县',3),
(2934,344,'尼木县',3),
(2935,344,'曲水县',3),
(2936,344,'堆龙德庆县',3),
(2937,344,'达孜县',3),
(2938,344,'墨竹工卡县',3),
(2939,345,'噶尔县',3),
(2940,345,'普兰县',3),
(2941,345,'札达县',3),
(2942,345,'日土县',3),
(2943,345,'革吉县',3),
(2944,345,'改则县',3),
(2945,345,'措勤县',3),
(2946,346,'昌都县',3),
(2947,346,'江达县',3),
(2948,346,'贡觉县',3),
(2949,346,'类乌齐县',3),
(2950,346,'丁青县',3),
(2951,346,'察雅县',3),
(2952,346,'八宿县',3),
(2953,346,'左贡县',3),
(2954,346,'芒康县',3),
(2955,346,'洛隆县',3),
(2956,346,'边坝县',3),
(2957,347,'林芝县',3),
(2958,347,'工布江达县',3),
(2959,347,'米林县',3),
(2960,347,'墨脱县',3),
(2961,347,'波密县',3),
(2962,347,'察隅县',3),
(2963,347,'朗县',3),
(2964,348,'那曲县',3),
(2965,348,'嘉黎县',3),
(2966,348,'比如县',3),
(2967,348,'聂荣县',3),
(2968,348,'安多县',3),
(2969,348,'申扎县',3),
(2970,348,'索县',3),
(2971,348,'班戈县',3),
(2972,348,'巴青县',3),
(2973,348,'尼玛县',3),
(2974,349,'日喀则市',3),
(2975,349,'南木林县',3),
(2976,349,'江孜县',3),
(2977,349,'定日县',3),
(2978,349,'萨迦县',3),
(2979,349,'拉孜县',3),
(2980,349,'昂仁县',3),
(2981,349,'谢通门县',3),
(2982,349,'白朗县',3),
(2983,349,'仁布县',3),
(2984,349,'康马县',3),
(2985,349,'定结县',3),
(2986,349,'仲巴县',3),
(2987,349,'亚东县',3),
(2988,349,'吉隆县',3),
(2989,349,'聂拉木县',3),
(2990,349,'萨嘎县',3),
(2991,349,'岗巴县',3),
(2992,350,'乃东县',3),
(2993,350,'扎囊县',3),
(2994,350,'贡嘎县',3),
(2995,350,'桑日县',3),
(2996,350,'琼结县',3),
(2997,350,'曲松县',3),
(2998,350,'措美县',3),
(2999,350,'洛扎县',3),
(3000,350,'加查县',3),
(3001,350,'隆子县',3),
(3002,350,'错那县',3),
(3003,350,'浪卡子县',3),
(3004,351,'天山区',3),
(3005,351,'沙依巴克区',3),
(3006,351,'新市区',3),
(3007,351,'水磨沟区',3),
(3008,351,'头屯河区',3),
(3009,351,'达坂城区',3),
(3010,351,'米东区',3),
(3011,351,'乌鲁木齐县',3),
(3012,352,'阿克苏市',3),
(3013,352,'温宿县',3),
(3014,352,'库车县',3),
(3015,352,'沙雅县',3),
(3016,352,'新和县',3),
(3017,352,'拜城县',3),
(3018,352,'乌什县',3),
(3019,352,'阿瓦提县',3),
(3020,352,'柯坪县',3),
(3021,353,'阿拉尔市',3),
(3022,354,'库尔勒市',3),
(3023,354,'轮台县',3),
(3024,354,'尉犁县',3),
(3025,354,'若羌县',3),
(3026,354,'且末县',3),
(3027,354,'焉耆',3),
(3028,354,'和静县',3),
(3029,354,'和硕县',3),
(3030,354,'博湖县',3),
(3031,355,'博乐市',3),
(3032,355,'精河县',3),
(3033,355,'温泉县',3),
(3034,356,'呼图壁县',3),
(3035,356,'米泉市',3),
(3036,356,'昌吉市',3),
(3037,356,'阜康市',3),
(3038,356,'玛纳斯县',3),
(3039,356,'奇台县',3),
(3040,356,'吉木萨尔县',3),
(3041,356,'木垒',3),
(3042,357,'哈密市',3),
(3043,357,'伊吾县',3),
(3044,357,'巴里坤',3),
(3045,358,'和田市',3),
(3046,358,'和田县',3),
(3047,358,'墨玉县',3),
(3048,358,'皮山县',3),
(3049,358,'洛浦县',3),
(3050,358,'策勒县',3),
(3051,358,'于田县',3),
(3052,358,'民丰县',3),
(3053,359,'喀什市',3),
(3054,359,'疏附县',3),
(3055,359,'疏勒县',3),
(3056,359,'英吉沙县',3),
(3057,359,'泽普县',3),
(3058,359,'莎车县',3),
(3059,359,'叶城县',3),
(3060,359,'麦盖提县',3),
(3061,359,'岳普湖县',3),
(3062,359,'伽师县',3),
(3063,359,'巴楚县',3),
(3064,359,'塔什库尔干',3),
(3065,360,'克拉玛依市',3),
(3066,361,'阿图什市',3),
(3067,361,'阿克陶县',3),
(3068,361,'阿合奇县',3),
(3069,361,'乌恰县',3),
(3070,362,'石河子市',3),
(3071,363,'图木舒克市',3),
(3072,364,'吐鲁番市',3),
(3073,364,'鄯善县',3),
(3074,364,'托克逊县',3),
(3075,365,'五家渠市',3),
(3076,366,'阿勒泰市',3),
(3077,366,'布克赛尔',3),
(3078,366,'伊宁市',3),
(3079,366,'布尔津县',3),
(3080,366,'奎屯市',3),
(3081,366,'乌苏市',3),
(3082,366,'额敏县',3),
(3083,366,'富蕴县',3),
(3084,366,'伊宁县',3),
(3085,366,'福海县',3),
(3086,366,'霍城县',3),
(3087,366,'沙湾县',3),
(3088,366,'巩留县',3),
(3089,366,'哈巴河县',3),
(3090,366,'托里县',3),
(3091,366,'青河县',3),
(3092,366,'新源县',3),
(3093,366,'裕民县',3),
(3094,366,'和布克赛尔',3),
(3095,366,'吉木乃县',3),
(3096,366,'昭苏县',3),
(3097,366,'特克斯县',3),
(3098,366,'尼勒克县',3),
(3099,366,'察布查尔',3),
(3100,367,'盘龙区',3),
(3101,367,'五华区',3),
(3102,367,'官渡区',3),
(3103,367,'西山区',3),
(3104,367,'东川区',3),
(3105,367,'安宁市',3),
(3106,367,'呈贡县',3),
(3107,367,'晋宁县',3),
(3108,367,'富民县',3),
(3109,367,'宜良县',3),
(3110,367,'嵩明县',3),
(3111,367,'石林县',3),
(3112,367,'禄劝',3),
(3113,367,'寻甸',3),
(3114,368,'兰坪',3),
(3115,368,'泸水县',3),
(3116,368,'福贡县',3),
(3117,368,'贡山',3),
(3118,369,'宁洱',3),
(3119,369,'思茅区',3),
(3120,369,'墨江',3),
(3121,369,'景东',3),
(3122,369,'景谷',3),
(3123,369,'镇沅',3),
(3124,369,'江城',3),
(3125,369,'孟连',3),
(3126,369,'澜沧',3),
(3127,369,'西盟',3),
(3128,370,'古城区',3),
(3129,370,'宁蒗',3),
(3130,370,'玉龙',3),
(3131,370,'永胜县',3),
(3132,370,'华坪县',3),
(3133,371,'隆阳区',3),
(3134,371,'施甸县',3),
(3135,371,'腾冲县',3),
(3136,371,'龙陵县',3),
(3137,371,'昌宁县',3),
(3138,372,'楚雄市',3),
(3139,372,'双柏县',3),
(3140,372,'牟定县',3),
(3141,372,'南华县',3),
(3142,372,'姚安县',3),
(3143,372,'大姚县',3),
(3144,372,'永仁县',3),
(3145,372,'元谋县',3),
(3146,372,'武定县',3),
(3147,372,'禄丰县',3),
(3148,373,'大理市',3),
(3149,373,'祥云县',3),
(3150,373,'宾川县',3),
(3151,373,'弥渡县',3),
(3152,373,'永平县',3),
(3153,373,'云龙县',3),
(3154,373,'洱源县',3),
(3155,373,'剑川县',3),
(3156,373,'鹤庆县',3),
(3157,373,'漾濞',3),
(3158,373,'南涧',3),
(3159,373,'巍山',3),
(3160,374,'潞西市',3),
(3161,374,'瑞丽市',3),
(3162,374,'梁河县',3),
(3163,374,'盈江县',3),
(3164,374,'陇川县',3),
(3165,375,'香格里拉县',3),
(3166,375,'德钦县',3),
(3167,375,'维西',3),
(3168,376,'泸西县',3),
(3169,376,'蒙自县',3),
(3170,376,'个旧市',3),
(3171,376,'开远市',3),
(3172,376,'绿春县',3),
(3173,376,'建水县',3),
(3174,376,'石屏县',3),
(3175,376,'弥勒县',3),
(3176,376,'元阳县',3),
(3177,376,'红河县',3),
(3178,376,'金平',3),
(3179,376,'河口',3),
(3180,376,'屏边',3),
(3181,377,'临翔区',3),
(3182,377,'凤庆县',3),
(3183,377,'云县',3),
(3184,377,'永德县',3),
(3185,377,'镇康县',3),
(3186,377,'双江',3),
(3187,377,'耿马',3),
(3188,377,'沧源',3),
(3189,378,'麒麟区',3),
(3190,378,'宣威市',3),
(3191,378,'马龙县',3),
(3192,378,'陆良县',3),
(3193,378,'师宗县',3),
(3194,378,'罗平县',3),
(3195,378,'富源县',3),
(3196,378,'会泽县',3),
(3197,378,'沾益县',3),
(3198,379,'文山县',3),
(3199,379,'砚山县',3),
(3200,379,'西畴县',3),
(3201,379,'麻栗坡县',3),
(3202,379,'马关县',3),
(3203,379,'丘北县',3),
(3204,379,'广南县',3),
(3205,379,'富宁县',3),
(3206,380,'景洪市',3),
(3207,380,'勐海县',3),
(3208,380,'勐腊县',3),
(3209,381,'红塔区',3),
(3210,381,'江川县',3),
(3211,381,'澄江县',3),
(3212,381,'通海县',3),
(3213,381,'华宁县',3),
(3214,381,'易门县',3),
(3215,381,'峨山',3),
(3216,381,'新平',3),
(3217,381,'元江',3),
(3218,382,'昭阳区',3),
(3219,382,'鲁甸县',3),
(3220,382,'巧家县',3),
(3221,382,'盐津县',3),
(3222,382,'大关县',3),
(3223,382,'永善县',3),
(3224,382,'绥江县',3),
(3225,382,'镇雄县',3),
(3226,382,'彝良县',3),
(3227,382,'威信县',3),
(3228,382,'水富县',3),
(3229,383,'西湖区',3),
(3230,383,'上城区',3),
(3231,383,'下城区',3),
(3232,383,'拱墅区',3),
(3233,383,'滨江区',3),
(3234,383,'江干区',3),
(3235,383,'萧山区',3),
(3236,383,'余杭区',3),
(3237,383,'市郊',3),
(3238,383,'建德市',3),
(3239,383,'富阳市',3),
(3240,383,'临安市',3),
(3241,383,'桐庐县',3),
(3242,383,'淳安县',3),
(3243,384,'吴兴区',3),
(3244,384,'南浔区',3),
(3245,384,'德清县',3),
(3246,384,'长兴县',3),
(3247,384,'安吉县',3),
(3248,385,'南湖区',3),
(3249,385,'秀洲区',3),
(3250,385,'海宁市',3),
(3251,385,'嘉善县',3),
(3252,385,'平湖市',3),
(3253,385,'桐乡市',3),
(3254,385,'海盐县',3),
(3255,386,'婺城区',3),
(3256,386,'金东区',3),
(3257,386,'兰溪市',3),
(3258,386,'市区',3),
(3259,386,'佛堂镇',3),
(3260,386,'上溪镇',3),
(3261,386,'义亭镇',3),
(3262,386,'大陈镇',3),
(3263,386,'苏溪镇',3),
(3264,386,'赤岸镇',3),
(3265,386,'东阳市',3),
(3266,386,'永康市',3),
(3267,386,'武义县',3),
(3268,386,'浦江县',3),
(3269,386,'磐安县',3),
(3270,387,'莲都区',3),
(3271,387,'龙泉市',3),
(3272,387,'青田县',3),
(3273,387,'缙云县',3),
(3274,387,'遂昌县',3),
(3275,387,'松阳县',3),
(3276,387,'云和县',3),
(3277,387,'庆元县',3),
(3278,387,'景宁',3),
(3279,388,'海曙区',3),
(3280,388,'江东区',3),
(3281,388,'江北区',3),
(3282,388,'镇海区',3),
(3283,388,'北仑区',3),
(3284,388,'鄞州区',3),
(3285,388,'余姚市',3),
(3286,388,'慈溪市',3),
(3287,388,'奉化市',3),
(3288,388,'象山县',3),
(3289,388,'宁海县',3),
(3290,389,'越城区',3),
(3291,389,'上虞市',3),
(3292,389,'嵊州市',3),
(3293,389,'绍兴县',3),
(3294,389,'新昌县',3),
(3295,389,'诸暨市',3),
(3296,390,'椒江区',3),
(3297,390,'黄岩区',3),
(3298,390,'路桥区',3),
(3299,390,'温岭市',3),
(3300,390,'临海市',3),
(3301,390,'玉环县',3),
(3302,390,'三门县',3),
(3303,390,'天台县',3),
(3304,390,'仙居县',3),
(3305,391,'鹿城区',3),
(3306,391,'龙湾区',3),
(3307,391,'瓯海区',3),
(3308,391,'瑞安市',3),
(3309,391,'乐清市',3),
(3310,391,'洞头县',3),
(3311,391,'永嘉县',3),
(3312,391,'平阳县',3),
(3313,391,'苍南县',3),
(3314,391,'文成县',3),
(3315,391,'泰顺县',3),
(3316,392,'定海区',3),
(3317,392,'普陀区',3),
(3318,392,'岱山县',3),
(3319,392,'嵊泗县',3),
(3320,393,'衢州市',3),
(3321,393,'江山市',3),
(3322,393,'常山县',3),
(3323,393,'开化县',3),
(3324,393,'龙游县',3),
(3325,394,'合川区',3),
(3326,394,'江津区',3),
(3327,394,'南川区',3),
(3328,394,'永川区',3),
(3329,394,'南岸区',3),
(3330,394,'渝北区',3),
(3331,394,'万盛区',3),
(3332,394,'大渡口区',3),
(3333,394,'万州区',3),
(3334,394,'北碚区',3),
(3335,394,'沙坪坝区',3),
(3336,394,'巴南区',3),
(3337,394,'涪陵区',3),
(3338,394,'江北区',3),
(3339,394,'九龙坡区',3),
(3340,394,'渝中区',3),
(3341,394,'黔江开发区',3),
(3342,394,'长寿区',3),
(3343,394,'双桥区',3),
(3344,394,'綦江县',3),
(3345,394,'潼南县',3),
(3346,394,'铜梁县',3),
(3347,394,'大足县',3),
(3348,394,'荣昌县',3),
(3349,394,'璧山县',3),
(3350,394,'垫江县',3),
(3351,394,'武隆县',3),
(3352,394,'丰都县',3),
(3353,394,'城口县',3),
(3354,394,'梁平县',3),
(3355,394,'开县',3),
(3356,394,'巫溪县',3),
(3357,394,'巫山县',3),
(3358,394,'奉节县',3),
(3359,394,'云阳县',3),
(3360,394,'忠县',3),
(3361,394,'石柱',3),
(3362,394,'彭水',3),
(3363,394,'酉阳',3),
(3364,394,'秀山',3),
(3365,395,'沙田区',3),
(3366,395,'东区',3),
(3367,395,'观塘区',3),
(3368,395,'黄大仙区',3),
(3369,395,'九龙城区',3),
(3370,395,'屯门区',3),
(3371,395,'葵青区',3),
(3372,395,'元朗区',3),
(3373,395,'深水埗区',3),
(3374,395,'西贡区',3),
(3375,395,'大埔区',3),
(3376,395,'湾仔区',3),
(3377,395,'油尖旺区',3),
(3378,395,'北区',3),
(3379,395,'南区',3),
(3380,395,'荃湾区',3),
(3381,395,'中西区',3),
(3382,395,'离岛区',3),
(3383,396,'澳门',3),
(3384,397,'台北',3),
(3385,397,'高雄',3),
(3386,397,'基隆',3),
(3387,397,'台中',3),
(3388,397,'台南',3),
(3389,397,'新竹',3),
(3390,397,'嘉义',3),
(3391,397,'宜兰县',3),
(3392,397,'桃园县',3),
(3393,397,'苗栗县',3),
(3394,397,'彰化县',3),
(3395,397,'南投县',3),
(3396,397,'云林县',3),
(3397,397,'屏东县',3),
(3398,397,'台东县',3),
(3399,397,'花莲县',3),
(3400,397,'澎湖县',3),
(3401,3,'合肥',2),
(3402,3401,'庐阳区',3),
(3403,3401,'瑶海区',3),
(3404,3401,'蜀山区',3),
(3405,3401,'包河区',3),
(3406,3401,'长丰县',3),
(3407,3401,'肥东县',3),
(3408,3401,'肥西县',3),
(3409,0,'国外',0);
/*Table structure for table `clt_role` */
DROP TABLE IF EXISTS `clt_role`;
CREATE TABLE `clt_role` (
`id` smallint(6) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(20) NOT NULL DEFAULT '',
`status` tinyint(1) unsigned NOT NULL DEFAULT '0',
`remark` varchar(255) NOT NULL DEFAULT '',
`pid` smallint(5) unsigned NOT NULL DEFAULT '0',
`sort` smallint(6) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `status` (`status`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*Data for the table `clt_role` */
insert into `clt_role`(`id`,`name`,`status`,`remark`,`pid`,`sort`) values
(1,'超级管理员',1,'超级管理',0,0),
(2,'普通管理员',1,'普通管理员',0,0),
(3,'注册用户',1,'注册用户',0,0),
(4,'游客',1,'游客',0,0);
/*Table structure for table `clt_role_user` */
DROP TABLE IF EXISTS `clt_role_user`;
CREATE TABLE `clt_role_user` (
`role_id` mediumint(9) unsigned DEFAULT '0',
`user_id` char(32) DEFAULT '0',
KEY `group_id` (`role_id`),
KEY `user_id` (`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*Data for the table `clt_role_user` */
/*Table structure for table `clt_system` */
DROP TABLE IF EXISTS `clt_system`;
CREATE TABLE `clt_system` (
`id` int(36) unsigned NOT NULL,
`name` char(36) NOT NULL DEFAULT '' COMMENT '网站名称',
`url` varchar(36) NOT NULL DEFAULT '' COMMENT '网址',
`title` varchar(200) NOT NULL COMMENT '标题',
`key` varchar(200) NOT NULL COMMENT '关键字',
`des` varchar(200) NOT NULL COMMENT '描述',
`bah` varchar(50) DEFAULT NULL COMMENT '备案号',
`copyright` varchar(30) DEFAULT NULL COMMENT 'copyright',
`ads` varchar(120) DEFAULT NULL COMMENT '公司地址',
`tel` varchar(15) DEFAULT NULL COMMENT '公司电话',
`email` varchar(50) DEFAULT NULL COMMENT '公司邮箱',
`logo` varchar(120) DEFAULT NULL COMMENT 'logo',
`mobile` varchar(10) DEFAULT 'open' COMMENT '是否开启手机端 open 开启 close 关闭',
`code` varchar(10) DEFAULT 'close' COMMENT '是否开启验证码',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*Data for the table `clt_system` */
insert into `clt_system`(`id`,`name`,`url`,`title`,`key`,`des`,`bah`,`copyright`,`ads`,`tel`,`email`,`logo`,`mobile`,`code`) values
(1,'CLTPHP','http://cltshow.test/','CLTPHP','CLTPHP,CLTPHP内容管理系统,php','CLTPHP内容管理系统,微信公众平台、APP移动应用设计、HTML5网站API定制开发。大型企业网站、个人博客论坛、手机网站定制开发。更高效、更快捷的进行定制开发。','陕ICP备15008093号-3','2015-2020','西安市雁塔区','18792402229','1109305987@qq.com','/uploads/20180608/55624159eb051a6c5e9bfadff49bf731.png','open','open');
/*Table structure for table `clt_team` */
DROP TABLE IF EXISTS `clt_team`;
CREATE TABLE `clt_team` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(120) NOT NULL DEFAULT '',
`title_style` varchar(225) NOT NULL DEFAULT '',
`thumb` varchar(225) NOT NULL DEFAULT '',
`hits` int(11) unsigned NOT NULL DEFAULT '0',
`status` tinyint(1) unsigned NOT NULL DEFAULT '0',
`userid` int(8) unsigned NOT NULL DEFAULT '0',
`username` varchar(40) NOT NULL DEFAULT '',
`sort` int(10) unsigned NOT NULL DEFAULT '0',
`createtime` int(11) unsigned NOT NULL DEFAULT '0',
`updatetime` int(11) unsigned NOT NULL DEFAULT '0',
`lang` tinyint(1) unsigned NOT NULL DEFAULT '0',
`catid` smallint(5) unsigned NOT NULL DEFAULT '0',
`info` text NOT NULL,
`template` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*Data for the table `clt_team` */
insert into `clt_team`(`id`,`title`,`title_style`,`thumb`,`hits`,`status`,`userid`,`username`,`sort`,`createtime`,`updatetime`,`lang`,`catid`,`info`,`template`) values
(1,'快乐的毛豆豆—前端工程师','color:rgb(57, 61, 73);font-weight:normal;','/uploads/20180613/27f4cfe5854eb4cfdfd87399a60c7cbd.jpg',0,1,1,'admin',0,1499764958,1528876606,0,7,'<p>2年设计、3年前端,从菜鸟到老手,从未停止追求细节的完美。注重细节,追求完美已成为习惯。</p>',NULL),
(2,'褫憷—软件工程师','color:rgb(57, 61, 73);font-weight:normal;','/uploads/20180613/7d4aaaf4c86aac002184dace64cf179e.jpg',1,1,1,'admin',0,1499765015,1528876594,0,7,'<p>5年开发、3年前端,不断的自我建设,来保持向上的状态。</p>',NULL);
/*Table structure for table `clt_test` */
DROP TABLE IF EXISTS `clt_test`;
CREATE TABLE `clt_test` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`title` varchar(120) NOT NULL DEFAULT '' COMMENT '标题',
`title_style` varchar(225) NOT NULL DEFAULT '' COMMENT '标题样式',
`thumb` varchar(225) NOT NULL DEFAULT '' COMMENT '缩略图',
`hits` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '点击',
`status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '状态',
`userid` int(8) unsigned NOT NULL DEFAULT '0' COMMENT '用户ID',
`username` varchar(40) NOT NULL DEFAULT '' COMMENT '用户名',
`sort` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '排序',
`createtime` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
`updatetime` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
`lang` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '语言',
`template` varchar(40) NOT NULL DEFAULT '' COMMENT '模板',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*Data for the table `clt_test` */
/*Table structure for table `clt_user_level` */
DROP TABLE IF EXISTS `clt_user_level`;
CREATE TABLE `clt_user_level` (
`level_id` smallint(4) unsigned NOT NULL AUTO_INCREMENT COMMENT '表id',
`level_name` varchar(30) DEFAULT NULL COMMENT '头衔名称',
`sort` int(3) DEFAULT '0' COMMENT '排序',
`bomlimit` int(5) DEFAULT '0' COMMENT '积分下限',
`toplimit` int(5) DEFAULT '0' COMMENT '积分上限',
PRIMARY KEY (`level_id`)
) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
/*Data for the table `clt_user_level` */
insert into `clt_user_level`(`level_id`,`level_name`,`sort`,`bomlimit`,`toplimit`) values
(1,'注册会员',1,0,500),
(2,'铜牌会员',2,501,1000),
(3,'白银会员',3,1001,2000),
(4,'黄金会员',4,2001,3500),
(5,'钻石会员',5,3501,5500),
(6,'超级VIP',6,5500,99999);
/*Table structure for table `clt_users` */
DROP TABLE IF EXISTS `clt_users`;
CREATE TABLE `clt_users` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT COMMENT '表id',
`email` varchar(60) NOT NULL DEFAULT '' COMMENT '邮件',
`password` varchar(32) NOT NULL DEFAULT '' COMMENT '密码',
`paypwd` varchar(32) DEFAULT NULL COMMENT '支付密码',
`sex` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '1 男 0 女',
`birthday` int(11) NOT NULL DEFAULT '0' COMMENT '生日',
`reg_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '注册时间',
`last_login` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '最后登录时间',
`last_ip` varchar(15) NOT NULL DEFAULT '' COMMENT '最后登录ip',
`qq` varchar(20) NOT NULL DEFAULT '' COMMENT 'QQ',
`mobile` varchar(20) NOT NULL DEFAULT '' COMMENT '手机号码',
`mobile_validated` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '是否验证手机',
`oauth` varchar(10) DEFAULT '' COMMENT '第三方来源 wx weibo alipay',
`openid` varchar(100) DEFAULT NULL COMMENT '第三方唯一标示',
`unionid` varchar(100) DEFAULT NULL,
`avatar` varchar(255) DEFAULT NULL COMMENT '头像',
`province` int(6) DEFAULT '0' COMMENT '省份',
`city` int(6) DEFAULT '0' COMMENT '市区',
`district` int(6) DEFAULT '0' COMMENT '县',
`email_validated` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否验证电子邮箱',
`username` varchar(50) DEFAULT NULL COMMENT '第三方返回昵称',
`level` tinyint(1) DEFAULT '1' COMMENT '会员等级',
`is_lock` tinyint(1) DEFAULT '0' COMMENT '是否被锁定冻结',
`token` varchar(64) DEFAULT '' COMMENT '用于app 授权类似于session_id',
`sign` varchar(255) DEFAULT '' COMMENT '签名',
`status` varchar(20) DEFAULT 'hide' COMMENT '登录状态',
PRIMARY KEY (`id`),
KEY `email` (`email`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*Data for the table `clt_users` */
insert into `clt_users`(`id`,`email`,`password`,`paypwd`,`sex`,`birthday`,`reg_time`,`last_login`,`last_ip`,`qq`,`mobile`,`mobile_validated`,`oauth`,`openid`,`unionid`,`avatar`,`province`,`city`,`district`,`email_validated`,`username`,`level`,`is_lock`,`token`,`sign`,`status`) values
(1,'1109305987@qq.com','',NULL,1,0,1516075631,0,'','','44311',0,'',NULL,NULL,'/uploads/20180613/fcb729987d8e9339bd9b2e85c85f3028.jpg',24,311,2599,0,'chichu',1,0,'','不要应为走得太远,就忘了当初为什么出发!','hide');
/*Table structure for table `clt_wx_auth` */
DROP TABLE IF EXISTS `clt_wx_auth`;
CREATE TABLE `clt_wx_auth` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`instance_id` int(11) NOT NULL DEFAULT '0' COMMENT '店铺id',
`authorizer_appid` varchar(255) NOT NULL DEFAULT '' COMMENT '店铺的appid 授权之后不用刷新',
`authorizer_refresh_token` varchar(255) NOT NULL DEFAULT '' COMMENT '店铺授权之后的刷新token,每月刷新',
`authorizer_access_token` varchar(255) NOT NULL DEFAULT '' COMMENT '店铺的公众号token,只有2小时',
`func_info` varchar(1000) NOT NULL DEFAULT '' COMMENT '授权项目',
`nick_name` varchar(50) NOT NULL DEFAULT '' COMMENT '公众号昵称',
`head_img` varchar(255) NOT NULL DEFAULT '' COMMENT '公众号头像url',
`user_name` varchar(50) NOT NULL DEFAULT '' COMMENT '公众号原始账号',
`alias` varchar(255) NOT NULL DEFAULT '' COMMENT '公众号原始名称',
`qrcode_url` varchar(255) NOT NULL DEFAULT '' COMMENT '公众号二维码url',
`auth_time` int(11) DEFAULT '0' COMMENT '授权时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AVG_ROW_LENGTH=8192 COMMENT='店铺(实例)微信公众账号授权';
/*Data for the table `clt_wx_auth` */
/*Table structure for table `clt_wx_config` */
DROP TABLE IF EXISTS `clt_wx_config`;
CREATE TABLE `clt_wx_config` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
`instance_id` int(11) NOT NULL DEFAULT '1' COMMENT '实例ID',
`key` varchar(255) NOT NULL DEFAULT '' COMMENT '配置项WCHAT,QQ,WPAY,ALIPAY...',
`value` varchar(1000) NOT NULL DEFAULT '' COMMENT '配置值json',
`desc` varchar(1000) NOT NULL DEFAULT '' COMMENT '描述',
`is_use` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否启用 1启用 0不启用',
`create_time` int(11) DEFAULT '0' COMMENT '创建时间',
`modify_time` int(11) DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 AVG_ROW_LENGTH=963 COMMENT='第三方配置表';
/*Data for the table `clt_wx_config` */
insert into `clt_wx_config`(`id`,`instance_id`,`key`,`value`,`desc`,`is_use`,`create_time`,`modify_time`) values
(1,0,'WCHAT','{\"APP_KEY\":\"\",\"APP_SECRET\":\"\",\"AUTHORIZE\":\"http:\\/\\/b2c1.01.niushop.com.cn\",\"CALLBACK\":\"http:\\/\\/b2c1.01.niushop.com.cn\\/wap\\/Login\\/callback\"}','微信',0,1488350947,1497105440),
(2,0,'SHOPWCHAT','{\"appid\":\"dfdsfdsf90bc7b7a\",\"appsecret\":\"e5147ce07128asdfds222f628b5c3fe1af2ea5797\",\"token\":\"dffdf\"}','',1,1497088090,1528690160);
/*Table structure for table `clt_wx_default_replay` */
DROP TABLE IF EXISTS `clt_wx_default_replay`;
CREATE TABLE `clt_wx_default_replay` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`instance_id` int(11) NOT NULL COMMENT '店铺id',
`reply_media_id` int(11) NOT NULL COMMENT '回复媒体内容id',
`sort` int(11) NOT NULL,
`create_time` int(11) DEFAULT '0',
`modify_time` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 AVG_ROW_LENGTH=16384 COMMENT='关注时回复';
/*Data for the table `clt_wx_default_replay` */
insert into `clt_wx_default_replay`(`id`,`instance_id`,`reply_media_id`,`sort`,`create_time`,`modify_time`) values
(3,0,4,0,1528695059,0);
/*Table structure for table `clt_wx_fans` */
DROP TABLE IF EXISTS `clt_wx_fans`;
CREATE TABLE `clt_wx_fans` (
`fans_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '粉丝ID',
`uid` int(11) NOT NULL DEFAULT '0' COMMENT '会员编号ID',
`source_uid` int(11) NOT NULL DEFAULT '0' COMMENT '推广人uid',
`instance_id` int(11) NOT NULL COMMENT '店铺ID',
`nickname` varchar(255) NOT NULL COMMENT '昵称',
`nickname_decode` varchar(255) DEFAULT '',
`headimgurl` varchar(500) NOT NULL DEFAULT '' COMMENT '头像',
`sex` smallint(6) NOT NULL DEFAULT '1' COMMENT '性别',
`language` varchar(20) NOT NULL DEFAULT '' COMMENT '用户语言',
`country` varchar(60) NOT NULL DEFAULT '' COMMENT '国家',
`province` varchar(255) NOT NULL DEFAULT '' COMMENT '省',
`city` varchar(255) NOT NULL DEFAULT '' COMMENT '城市',
`district` varchar(255) NOT NULL DEFAULT '' COMMENT '行政区/县',
`openid` varchar(255) NOT NULL DEFAULT '' COMMENT '用户的标识,对当前公众号唯一 用户的唯一身份ID',
`unionid` varchar(255) NOT NULL DEFAULT '' COMMENT '粉丝unionid',
`groupid` int(11) NOT NULL DEFAULT '0' COMMENT '粉丝所在组id',
`is_subscribe` bigint(1) NOT NULL DEFAULT '1' COMMENT '是否订阅',
`memo` varchar(255) NOT NULL COMMENT '备注',
`subscribe_date` int(11) DEFAULT '0' COMMENT '订阅时间',
`unsubscribe_date` int(11) DEFAULT '0' COMMENT '解订阅时间',
`update_date` int(11) DEFAULT '0' COMMENT '粉丝信息最后更新时间',
PRIMARY KEY (`fans_id`),
KEY `IDX_sys_weixin_fans_openid` (`openid`),
KEY `IDX_sys_weixin_fans_unionid` (`unionid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AVG_ROW_LENGTH=1638 COMMENT='微信公众号获取粉丝列表';
/*Data for the table `clt_wx_fans` */
/*Table structure for table `clt_wx_follow_replay` */
DROP TABLE IF EXISTS `clt_wx_follow_replay`;
CREATE TABLE `clt_wx_follow_replay` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`instance_id` int(11) NOT NULL COMMENT '店铺id',
`reply_media_id` int(11) NOT NULL COMMENT '回复媒体内容id',
`sort` int(11) NOT NULL,
`create_time` int(11) DEFAULT '0',
`modify_time` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 AVG_ROW_LENGTH=16384 COMMENT='关注时回复';
/*Data for the table `clt_wx_follow_replay` */
insert into `clt_wx_follow_replay`(`id`,`instance_id`,`reply_media_id`,`sort`,`create_time`,`modify_time`) values
(2,0,1,0,1528695047,0);
/*Table structure for table `clt_wx_key_replay` */
DROP TABLE IF EXISTS `clt_wx_key_replay`;
CREATE TABLE `clt_wx_key_replay` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`instance_id` int(11) NOT NULL COMMENT '店铺id',
`key` varchar(255) NOT NULL COMMENT '关键词',
`match_type` tinyint(4) NOT NULL COMMENT '匹配类型1模糊匹配2全部匹配',
`reply_media_id` int(11) NOT NULL COMMENT '回复媒体内容id',
`sort` int(11) NOT NULL,
`create_time` int(11) DEFAULT '0',
`modify_time` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 AVG_ROW_LENGTH=16384 COMMENT='关键词回复';
/*Data for the table `clt_wx_key_replay` */
insert into `clt_wx_key_replay`(`id`,`instance_id`,`key`,`match_type`,`reply_media_id`,`sort`,`create_time`,`modify_time`) values
(2,0,'你好',1,3,0,1528696514,0);
/*Table structure for table `clt_wx_media` */
DROP TABLE IF EXISTS `clt_wx_media`;
CREATE TABLE `clt_wx_media` (
`media_id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '图文消息id',
`title` varchar(100) DEFAULT NULL,
`instance_id` int(11) NOT NULL DEFAULT '0' COMMENT '实例id店铺id',
`type` varchar(255) NOT NULL DEFAULT '1' COMMENT '类型1文本(项表无内容) 2单图文 3多图文',
`sort` int(11) NOT NULL DEFAULT '0',
`create_time` int(11) DEFAULT '0' COMMENT '创建日期',
`modify_time` int(11) DEFAULT '0' COMMENT '修改日期',
PRIMARY KEY (`media_id`),
UNIQUE KEY `id` (`media_id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 AVG_ROW_LENGTH=1170;
/*Data for the table `clt_wx_media` */
insert into `clt_wx_media`(`media_id`,`title`,`instance_id`,`type`,`sort`,`create_time`,`modify_time`) values
(1,'欢迎您来到CLTPHP官方公众号大世界!',0,'1',0,1512551413,0),
(2,'你好,欢迎来到CLTPHP的世界!',0,'1',0,1512550726,0),
(3,'CLTPHP内容管理系统',0,'2',0,1512550547,0),
(4,'CLTPHP内容管理系统5.2.2发布',0,'3',0,1528694363,0),
(5,'CLTPHP操作开发手册已完全更新',0,'2',0,1528694392,0),
(6,'1111',0,'1',0,1528694379,0);
/*Table structure for table `clt_wx_media_item` */
DROP TABLE IF EXISTS `clt_wx_media_item`;
CREATE TABLE `clt_wx_media_item` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`media_id` int(11) NOT NULL COMMENT '图文消息id',
`title` varchar(100) DEFAULT NULL,
`author` varchar(50) NOT NULL COMMENT '作者',
`cover` varchar(200) NOT NULL COMMENT '图文消息封面',
`show_cover_pic` tinyint(4) NOT NULL DEFAULT '1' COMMENT '封面图片显示在正文中',
`summary` text,
`content` text NOT NULL COMMENT '正文',
`content_source_url` varchar(200) NOT NULL DEFAULT '' COMMENT '图文消息的原文地址,即点击“阅读原文”后的URL',
`sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序号',
`hits` int(11) NOT NULL DEFAULT '0' COMMENT '阅读次数',
PRIMARY KEY (`id`),
KEY `id` (`media_id`)
) ENGINE=InnoDB AUTO_INCREMENT=52 DEFAULT CHARSET=utf8 AVG_ROW_LENGTH=712;
/*Data for the table `clt_wx_media_item` */
insert into `clt_wx_media_item`(`id`,`media_id`,`title`,`author`,`cover`,`show_cover_pic`,`summary`,`content`,`content_source_url`,`sort`,`hits`) values
(28,3,'CLTPHP内容管理系统','cltphp','/uploads/20171206/6dfec00133ee42c5c33cea8ab0cfad8f.png',1,'CLTPHP内容管理系统,微信公众平台、APP移动应用设计、HTML5网站API定制开发。大型企业网站、个人博客论坛、手机网站定制开发。更高效、更快捷的进行定制开发。','<p style=\"text-indent: 2em;\"><span style=\"text-indent: 2em;\">虽然世界上有成千上万的建站系统,但CLTPHP会告诉你,真正高效的建站系统是什么样的。</span><br/></p><p style=\"text-indent: 2em;\"><br/></p><p style=\"text-indent: 2em;\">CLTPHP采用了优美的layui框架,一面极简,一面丰盈。加上angular Js,让数据交互变得更为简洁直白。用最基础的代码,实现最强大的效果,让你欲罢不能!</p><p style=\"text-indent: 2em;\"><br/></p><p style=\"text-indent: 2em;\">CLTPHP采用的ThinkPHP5为基础框架,从而使得CLTPHP的拓展性变的极为强大。从模型构造到栏目建立,再到前台展示,一气呵成,网站后台一条龙式操作,让小白用户能快速掌握CLTPHP管理系统的核心操作,让小白开发者能更好的理解CLTPHP的核心构建价值。</p><p><br/></p>','http://www.cltphp.com/',0,6),
(29,2,'你好,欢迎来到CLTPHP的世界!','','',0,'','','',0,0),
(42,1,'欢迎您来到CLTPHP官方公众号大世界!','','',0,'','','',0,0),
(47,4,'CLTPHP内容管理系统5.2.2发布','chichu','/uploads/20180611/5df2c8dabd33e0a0672dcb94b51d5ada.jpg',1,'这是一篇多图文','<h4 style=\"box-sizing: border-box; border: 0px; font-variant-numeric: inherit; font-weight: normal; font-stretch: inherit; font-size: 22px; line-height: inherit; font-family: \">CLTPHP5.2.2发布</h4><p style=\"box-sizing: border-box; border: 0px; font-variant-numeric: inherit; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: \"><span style=\"box-sizing: border-box; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; vertical-align: baseline; margin: 0px; padding: 0px;\">修改bug若干</span></p><p style=\"box-sizing: border-box; border: 0px; font-variant-numeric: inherit; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: \"><span style=\"box-sizing: border-box; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: 24px; vertical-align: baseline; margin: 0px; padding: 0px;\">下载地址:</span><span style=\"box-sizing: border-box; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline; margin: 0px; padding: 0px;\"><span style=\"box-sizing: border-box; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: 24px; vertical-align: baseline; margin: 0px; padding: 0px;\"><a href=\"http://qiniu.cltphp.com/cltphp5.2.2.zip\" target=\"_self\" title=\"CLTPHP5.2.2\" style=\"box-sizing: border-box; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline; margin: 0px; padding: 0px; color: rgb(0, 176, 80); outline: 0px;\"><span style=\"box-sizing: border-box; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: 24px; vertical-align: baseline; margin: 0px; padding: 0px; text-decoration: none;\">CLTPHP5.2.2</span></a></span></span></p><p style=\"box-sizing: border-box; border: 0px; font-variant-numeric: inherit; font-stretch: inherit; font-size: 14px; line-height: 24px;\"><span style=\"box-sizing: border-box; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: 24px; vertical-align: baseline; margin: 0px; padding: 0px;\">补丁地址:</span><span style=\"box-sizing: border-box; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: 24px; vertical-align: baseline; margin: 0px; padding: 0px;\"><span style=\"box-sizing: border-box; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline; margin: 0px; padding: 0px; color: rgb(0, 176, 80); outline: 0px;\"><span style=\"box-sizing: border-box; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: 24px; vertical-align: baseline; margin: 0px; padding: 0px; text-decoration: none;\"><a href=\"http://qiniu.cltphp.com/CLTPHP5.2.1%E5%88%B05.2.2%E8%A1%A5%E4%B8%81.zip\" target=\"_self\" style=\"box-sizing: border-box; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline; margin: 0px; padding: 0px; color: rgb(0, 176, 80); outline: 0px;\">CLTPHP5.2.1到5.2.2升级</a></span></span></span></p>','http://www.cltphp.com/newsInfo-44-5.html',0,0),
(48,4,'给我们一点点时间 我们给你一个新突破','chichu','/uploads/20171206/18fd882e982e07e7b35dac5b962ab393.jpg',0,'给我们一点点时间 我们给你一个新突破','<p><span style=\"color: rgb(102, 102, 102); font-family: \">说实话,最近这段时间我们太忙了</span><img src=\"http://img.baidu.com/hi/jx2/j_0016.gif\"/><span style=\"color: rgb(102, 102, 102); font-family: \">,cltphp的开发,甚至可以说是搁浅了一段时间。不过,各位请耐心等待一下啊,给我们一点点时间,或许不止一点点,我们给你一个新突破。</span></p>','http://www.cltphp.com/newsInfo-45-5.html',0,0),
(49,4,'CLTPHP操作开发手册已完全更新','chichu','/uploads/20171206/db19ac0c46a3ffd4ebf94028024d3036.jpg',1,'CLTPHP操作开发手册已完全更新,CLTPHP核心价值,尽在其中。','<p style=\"box-sizing: border-box; border: 0px; font-variant-numeric: inherit; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: \">CLTPHP操作开发手册已完全更新,CLTPHP核心价值,尽在其中。</p><p style=\"box-sizing: border-box; border: 0px; font-variant-numeric: inherit; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: \">喜欢的朋友可以购买参考</p><p style=\"box-sizing: border-box; border: 0px; font-variant-numeric: inherit; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: \">同时希望CLTPHP的爱好者,可以给我提出更多CLTPHP的不足之处,让CLTPHP更健康的成长。</p><p style=\"box-sizing: border-box; border: 0px; font-variant-numeric: inherit; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: \">手册地址:<a href=\"https://www.kancloud.cn/chichu/cltphp/\" target=\"_self\">https://www.kancloud.cn/chichu/cltphp/</a></p><p><br/></p>','http://www.cltphp.com/newsInfo-16-5.html',0,0),
(50,6,'1111','','',0,'','','',0,0),
(51,5,'CLTPHP操作开发手册已完全更新','chichu','/uploads/20180611/12e57c01f2bd9172c8c26de45cb796a6.jpg',0,'CLTPHP操作开发手册已完全更新,CLTPHP核心价值,尽在其中。','<p style=\"box-sizing: border-box; border: 0px; font-variant-numeric: inherit; font-stretch: inherit; font-size: 14px; line-height: 24px; text-indent: 2em;\">CLTPHP操作开发手册已完全更新,CLTPHP核心价值,尽在其中。</p><p style=\"box-sizing: border-box; border: 0px; font-variant-numeric: inherit; font-stretch: inherit; font-size: 14px; line-height: 24px; font-family: \">喜欢的朋友可以购买参考</p><p style=\"box-sizing: border-box; border: 0px; font-variant-numeric: inherit; font-stretch: inherit; font-size: 14px; line-height: 24px; text-indent: 2em;\">同时希望CLTPHP的爱好者,可以给我提出更多CLTPHP的不足之处,让CLTPHP更健康的成长。</p><p style=\"box-sizing: border-box; border: 0px; font-variant-numeric: inherit; font-stretch: inherit; font-size: 14px; line-height: 24px; text-indent: 2em;\">手册地址:https://www.kancloud.cn/chichu/cltphp/</p><p><br/></p>','https://www.kancloud.cn/chichu/cltphp',0,0);
/*Table structure for table `clt_wx_menu` */
DROP TABLE IF EXISTS `clt_wx_menu`;
CREATE TABLE `clt_wx_menu` (
`menu_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
`instance_id` int(11) NOT NULL DEFAULT '0' COMMENT '店铺id',
`menu_name` varchar(50) NOT NULL DEFAULT '' COMMENT '菜单名称',
`ico` varchar(32) NOT NULL DEFAULT '' COMMENT '菜图标单',
`pid` int(11) NOT NULL DEFAULT '0' COMMENT '父菜单',
`menu_event_type` tinyint(4) NOT NULL DEFAULT '1' COMMENT '1普通url 2 图文素材 3 功能',
`media_id` int(11) NOT NULL DEFAULT '0' COMMENT '图文消息ID',
`menu_event_url` varchar(255) NOT NULL DEFAULT '' COMMENT '菜单url',
`hits` int(11) NOT NULL DEFAULT '0' COMMENT '触发数',
`sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
`create_date` int(11) DEFAULT '0' COMMENT '创建日期',
`modify_date` int(11) DEFAULT '0' COMMENT '修改日期',
PRIMARY KEY (`menu_id`),
KEY `IDX_biz_shop_menu_orders` (`sort`),
KEY `IDX_biz_shop_menu_shopId` (`instance_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 AVG_ROW_LENGTH=1638 COMMENT='微设置->微店菜单';
/*Data for the table `clt_wx_menu` */
insert into `clt_wx_menu`(`menu_id`,`instance_id`,`menu_name`,`ico`,`pid`,`menu_event_type`,`media_id`,`menu_event_url`,`hits`,`sort`,`create_date`,`modify_date`) values
(1,0,'官网','',0,2,3,'http://www.cltphp.com/',0,1,1512442512,0),
(2,0,'手册','',0,2,5,'http://www.cltphp.com/',0,2,1512442543,0),
(3,0,'论坛','',0,1,4,'http://bbs.cltphp.com/',0,3,1512547727,0);
/*Table structure for table `clt_wx_user` */
DROP TABLE IF EXISTS `clt_wx_user`;
CREATE TABLE `clt_wx_user` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '表id',
`uid` int(11) NOT NULL COMMENT 'uid',
`wxname` varchar(60) NOT NULL COMMENT '公众号名称',
`aeskey` varchar(256) NOT NULL DEFAULT '' COMMENT 'aeskey',
`encode` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'encode',
`appid` varchar(50) NOT NULL DEFAULT '' COMMENT 'appid',
`appsecret` varchar(50) NOT NULL DEFAULT '' COMMENT 'appsecret',
`wxid` varchar(64) NOT NULL COMMENT '公众号原始ID',
`weixin` char(64) NOT NULL COMMENT '微信号',
`token` char(255) NOT NULL COMMENT 'token',
`w_token` varchar(150) NOT NULL DEFAULT '' COMMENT '微信对接token',
`create_time` int(11) NOT NULL COMMENT 'create_time',
`updatetime` int(11) NOT NULL COMMENT 'updatetime',
`tplcontentid` varchar(2) NOT NULL COMMENT '内容模版ID',
`share_ticket` varchar(150) NOT NULL COMMENT '分享ticket',
`share_dated` char(15) NOT NULL COMMENT 'share_dated',
`authorizer_access_token` varchar(200) NOT NULL COMMENT 'authorizer_access_token',
`authorizer_refresh_token` varchar(200) NOT NULL COMMENT 'authorizer_refresh_token',
`authorizer_expires` char(10) NOT NULL COMMENT 'authorizer_expires',
`type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '类型',
`web_access_token` varchar(200) NOT NULL COMMENT '网页授权token',
`web_refresh_token` varchar(200) NOT NULL COMMENT 'web_refresh_token',
`web_expires` int(11) NOT NULL COMMENT '过期时间',
`menu_config` text COMMENT '菜单',
`wait_access` tinyint(1) DEFAULT '0' COMMENT '微信接入状态,0待接入1已接入',
`concern` varchar(225) DEFAULT '' COMMENT '关注回复',
`default` varchar(225) DEFAULT '' COMMENT '默认回复',
PRIMARY KEY (`id`),
KEY `uid` (`uid`),
KEY `uid_2` (`uid`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='微信公共帐号';
/*Data for the table `clt_wx_user` */
insert into `clt_wx_user`(`id`,`uid`,`wxname`,`aeskey`,`encode`,`appid`,`appsecret`,`wxid`,`weixin`,`token`,`w_token`,`create_time`,`updatetime`,`tplcontentid`,`share_ticket`,`share_dated`,`authorizer_access_token`,`authorizer_refresh_token`,`authorizer_expires`,`type`,`web_access_token`,`web_refresh_token`,`web_expires`,`menu_config`,`wait_access`,`concern`,`default`) values
(1,0,'CLTPHP','',0,'wx08c8be078e00b88b','2e6f2d97d60582f21111be7862d14ddc','gh_8aacbef4e497','chichu12345','sdfdsfdsfdsf','cltphp',0,0,'','','','','','',1,'eY9W4LLdISpE3UtTfuodgz1HJdBYCMbzZWkiLEhF0Nzvzv2q2DtGIV5h7CPrc0Nd4_kJgKN_FdM3kNaCxfFC1wmu6JLnNoOrmMuy3FK2AhMDLCbAGAXFW','',1504242136,'0',0,'欢迎来到CLTPHP!CLTPHP采用ThinkPHP5作为基础框架,同时采用Layui作为后台界面,使得CLTPHP适用与大型企业网站、个人博客论坛、企业网站、手机网站的定制开发。更高效、更快捷的进行定制开发一直是CLTPHP追求的价值。','亲!您可以输入关键词来获取您想要知道的内容。(例:手册)');
/*Table structure for table `clt_wx_user_msg` */
DROP TABLE IF EXISTS `clt_wx_user_msg`;
CREATE TABLE `clt_wx_user_msg` (
`msg_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL,
`msg_type` varchar(255) NOT NULL,
`content` text,
`is_replay` int(11) NOT NULL DEFAULT '0' COMMENT '是否回复',
`create_time` int(11) DEFAULT '0',
PRIMARY KEY (`msg_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='微信用户消息表';
/*Data for the table `clt_wx_user_msg` */
/*Table structure for table `clt_wx_user_msg_replay` */
DROP TABLE IF EXISTS `clt_wx_user_msg_replay`;
CREATE TABLE `clt_wx_user_msg_replay` (
`replay_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`msg_id` int(11) NOT NULL,
`replay_uid` int(11) NOT NULL COMMENT '当前客服uid',
`replay_type` varchar(255) NOT NULL,
`content` text,
`replay_time` int(11) DEFAULT '0',
PRIMARY KEY (`replay_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='微信用户消息回复表';
/*Data for the table `clt_wx_user_msg_replay` */
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。