Initial commit
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
<?php
|
||||
$this->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','','标题<!--field-->title
|
||||
缩略图<!--field-->thumb
|
||||
时间<!--field-->newstime
|
||||
跳转链接<!--field-->linkurl
|
||||
详情<!--field-->newstext
|
||||
morepic<!--field-->morepic',',title,thumb,newstime,newstext,','','',',title,thumb,newstime,linkurl,','','','SEO标题<!--field-->pagetitle
|
||||
关键词<!--field-->keywords
|
||||
描述<!--field-->description
|
||||
test22<!--field-->test22
|
||||
',',test22,','');");
|
||||
$this->E_D("replace into `db_model` values('6','10','product','1','产品系统模型','0','0','1','','标题<!--field-->title
|
||||
缩略图<!--field-->thumb
|
||||
时间<!--field-->newstime
|
||||
产品价格<!--field-->price
|
||||
型号<!--field-->type_no
|
||||
产品系列<!--field-->pro_group
|
||||
产品多图<!--field-->morepic
|
||||
产品详情<!--field-->newstext',',title,thumb,newstime,price,type_no,pro_group,morepic,newstext,','',',title,',',title,thumb,newstime,price,type_no,pro_group,morepic,','','','栏目名称<!--field-->name
|
||||
缩略图<!--field-->thumb
|
||||
每页显示<!--field-->lencord
|
||||
是否为单面模式<!--field-->is_page
|
||||
列表模板<!--field-->listtemp
|
||||
内容模板<!--field-->viewtemp
|
||||
状态<!--field-->status
|
||||
SEO标题<!--field-->pagetitle
|
||||
关键词<!--field-->keywords
|
||||
描述<!--field-->description
|
||||
','','');");
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user