E_D("DROP TABLE IF EXISTS `db_model`;"); $this->E_C("CREATE TABLE `db_model` ( `modelid` smallint(4) NOT NULL AUTO_INCREMENT, `table_id` smallint(4) NOT NULL, `table_name` varchar(50) NOT NULL, `status` tinyint(4) NOT NULL, `name` varchar(50) NOT NULL, `sort` int(11) NOT NULL DEFAULT '0', `contribute` tinyint(2) NOT NULL DEFAULT '0' COMMENT '是否开启投稿', `autochecked` smallint(4) NOT NULL COMMENT '自动审核 1为自动 0为人工', `listtemp` varchar(255) DEFAULT NULL, `formtemp` text, `is_enter` text, `is_contribute` text, `must_enter` text, `is_list` text, `is_search` text, `is_sort` text, `cat_formtemp` text, `cat_is_enter` text, `cat_must_enter` text, PRIMARY KEY (`modelid`) ) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8"); $this->E_D("replace into `db_model` values('5','9','news','1','新闻中心','0','0','1','','标题title 缩略图thumb 时间newstime 跳转链接linkurl 详情newstext morepicmorepic',',title,thumb,newstime,newstext,','','',',title,thumb,newstime,linkurl,','','','SEO标题pagetitle 关键词keywords 描述description test22test22 ',',test22,','');"); $this->E_D("replace into `db_model` values('6','10','product','1','产品系统模型','0','0','1','','标题title 缩略图thumb 时间newstime 产品价格price 型号type_no 产品系列pro_group 产品多图morepic 产品详情newstext',',title,thumb,newstime,price,type_no,pro_group,morepic,newstext,','',',title,',',title,thumb,newstime,price,type_no,pro_group,morepic,','','','栏目名称name 缩略图thumb 每页显示lencord 是否为单面模式is_page 列表模板listtemp 内容模板viewtemp 状态status SEO标题pagetitle 关键词keywords 描述description ','','');"); ?>