单页模板的调用
Posted tangsujuan
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了单页模板的调用相关的知识,希望对你有一定的参考价值。
dedecms :后台单页模板调用
文章主表: CREATE TABLE `dede_archives` ( `id` mediumint(8) unsigned NOT NULL DEFAULT ‘0‘, `typeid` smallint(5) unsigned NOT NULL DEFAULT ‘0‘, `typeid2` varchar(90) NOT NULL DEFAULT ‘0‘, `sortrank` int(10) unsigned NOT NULL DEFAULT ‘0‘, `flag` set(‘c‘,‘h‘,‘p‘,‘f‘,‘s‘,‘j‘,‘a‘,‘m‘,‘y‘,‘b‘) DEFAULT NULL, `ismake` smallint(6) NOT NULL DEFAULT ‘0‘, `channel` smallint(6) NOT NULL DEFAULT ‘1‘, `arcrank` smallint(6) NOT NULL DEFAULT ‘0‘, `click` mediumint(8) unsigned NOT NULL DEFAULT ‘0‘, `money` smallint(6) NOT NULL DEFAULT ‘0‘, `title` char(60) NOT NULL DEFAULT ‘‘, `shorttitle` char(36) NOT NULL DEFAULT ‘‘, `color` char(7) NOT NULL DEFAULT ‘‘, `writer` char(20) NOT NULL DEFAULT ‘‘, `source` char(30) NOT NULL DEFAULT ‘‘, `litpic` char(100) NOT NULL DEFAULT ‘‘, /**发布时间**/ `pubdate` int(10) unsigned NOT NULL DEFAULT ‘0‘, `senddate` int(10) unsigned NOT NULL DEFAULT ‘0‘, `mid` mediumint(8) unsigned NOT NULL DEFAULT ‘0‘, `keywords` char(50) NOT NULL DEFAULT ‘‘, `lastpost` int(10) unsigned NOT NULL DEFAULT ‘0‘, `scores` mediumint(8) NOT NULL DEFAULT ‘0‘, `goodpost` mediumint(8) unsigned NOT NULL DEFAULT ‘0‘, `badpost` mediumint(8) unsigned NOT NULL DEFAULT ‘0‘, `voteid` mediumint(8) NOT NULL, `notpost` tinyint(1) unsigned NOT NULL DEFAULT ‘0‘, `description` varchar(255) NOT NULL DEFAULT ‘‘, `filename` varchar(40) NOT NULL DEFAULT ‘‘, `dutyadmin` mediumint(8) unsigned NOT NULL DEFAULT ‘0‘, `tackid` int(10) NOT NULL DEFAULT ‘0‘, `mtype` mediumint(8) unsigned NOT NULL DEFAULT ‘0‘, `weight` int(10) NOT NULL DEFAULT ‘0‘, PRIMARY KEY (`id`), KEY `sortrank` (`sortrank`), KEY `mainindex` (`arcrank`,`typeid`,`channel`,`flag`,`mid`), KEY `lastpost` (`lastpost`,`scores`,`goodpost`,`badpost`,`notpost`), KEY `idx_typeid` (`typeid`), KEY `idx_typeid2` (`typeid2`), KEY `idx_click` (`click`) USING BTREE, KEY `pubdate` (`pubdate`) ) ENGINE=InnoDB DEFAULT CHARSET=gbk ROW_FORMAT=DYNAMIC;
文章附加表: CREATE TABLE `dede_addonarticle` ( `aid` mediumint(8) unsigned NOT NULL DEFAULT ‘0‘, `typeid` smallint(5) unsigned NOT NULL DEFAULT ‘0‘, `body` mediumtext, `redirecturl` varchar(255) NOT NULL DEFAULT ‘‘, `templet` varchar(30) NOT NULL DEFAULT ‘‘, `userip` char(15) NOT NULL DEFAULT ‘‘, `fdzltype` smallint(5) unsigned NOT NULL DEFAULT ‘0‘, `province` int(10) unsigned NOT NULL DEFAULT ‘0‘ COMMENT ‘省级地域标签‘, `city` int(10) unsigned NOT NULL DEFAULT ‘0‘ COMMENT ‘市级地域标签‘, `examtype` int(10) unsigned NOT NULL DEFAULT ‘0‘ COMMENT ‘考试类型标签‘, `bqzkxx` int(10) unsigned NOT NULL DEFAULT ‘0‘ COMMENT ‘招考信息标签‘, `bqbkzd` int(10) unsigned NOT NULL DEFAULT ‘0‘ COMMENT ‘报考指导标签‘, `bqstzl` int(10) unsigned NOT NULL DEFAULT ‘0‘ COMMENT ‘试题资料标签‘, `bqstlx` int(10) unsigned NOT NULL DEFAULT ‘0‘ COMMENT ‘试题类型标签‘, `mslbbq` int(5) DEFAULT ‘0‘ COMMENT ‘面试类别‘, `sllbbq` int(5) DEFAULT ‘0‘ COMMENT ‘申论类别‘, `bkggbmsj` varchar(50) NOT NULL COMMENT ‘报名时间‘, `bkggkssj` varchar(50) NOT NULL COMMENT ‘考试时间‘, `bkggksnr` text COMMENT ‘考试内容‘, `bkggzkrs` varchar(50) DEFAULT ‘‘ COMMENT ‘招考人数‘, PRIMARY KEY (`aid`), KEY `typeid` (`typeid`), KEY `province` (`province`), KEY `city` (`city`), KEY `examtype` (`examtype`), KEY `bqzkxx` (`bqzkxx`), KEY `bqbkzd` (`bqbkzd`), KEY `bqstzl` (`bqstzl`), KEY `bqstlx` (`bqstlx`) ) ENGINE=InnoDB DEFAULT CHARSET=gbk ROW_FORMAT=DYNAMIC;
以上是关于单页模板的调用的主要内容,如果未能解决你的问题,请参考以下文章