这里直到如news模型和栏目,其他的以此类推
phpcms2008_c_news导入.sql
INSERT INTO `phpcmsv9`.`v9_news_data` ( `id`, `content`, `paginationtype`,`maxcharperpage`,`copyfrom`,`readpoint`, `paytype`, `voteid`, `allow_comment` ) SELECT `contentid`, `content` ,`paginationtype`,`maxcharperpage` , '|0' as `copyfrom`, `readpoint`, 0 as `paytype`, 0 as `voteid`, 1 as `allow_comment` FROM `phpcms2008`.`phpcms2008_c_news`
INSERT INTO `phpcmsv9`.`v9_category` ( `siteid`, `module`, `type`, `modelid`, `parentid`, `arrparentid`, `child`, `arrchildid`, `catname`, `catdir`, `url`, `catid`, `items`, `hits`, `setting`, `listorder`, `ismenu`, `sethtml`, `letter` ) SELECT '1' as `siteid`,'content' as `module`,`type`,`modelid`, `parentid`,`arrparentid`,`child`,`arrchildid`,`catname`,`catdir`, concat('http://www.xxx.com/index.php?m=content&c=index&a=lists&catid=',`catid`) as `url`,`catid`, `items`,`hits`, "array ( 'workflowid' => '1', 'ishtml' => '0', 'content_ishtml' => '0', 'create_to_html_root' => '0', 'template_list' => 'default', 'category_template' => 'category', 'list_template' => 'list', 'show_template' => 'show', 'meta_title' => '', 'meta_keywords' => '', 'meta_description' => '', 'presentpoint' => '1', 'defaultchargepoint' => '0', 'paytype' => '0', 'repeatchargedays' => '1', 'category_ruleid' => '6', 'show_ruleid' => '16', )" as `setting`, `listorder`,`ismenu`, 0 as `sethtml`, `letter` FROM `phpcms2008`.`phpcms2008_category`
INSERT INTO `phpcmsv9`.`v9_news` ( `id`,`catid`, `typeid`, `title`, `thumb`, `keywords`, `description`, `posids`, `url`, `listorder`, `status`, `sysadd`, `username`, `inputtime`, `updatetime` ,`islink` ) SELECT `contentid`,`catid`,`typeid`, `title`, `thumb`, `keywords`, `description`, `posids`, concat('http://localhost/phpcmsv9/index.php?m=content&c=index&a=show&catid=',`catid`,'&id=',`contentid`) as `url`, `listorder`, `status`, 1 as `sysadd`, `username`, `inputtime`, `updatetime`, `islink` FROM `phpcms2008`.`phpcms2008_content`
phpcms2008_search导入.sql
INSERT INTO `phpcmsv9`.`v9_search` ( `searchid`, `typeid`, `id`, `adddate`, `data`, `siteid`) SELECT `searchid`, 1 as `typeid`, `searchid` as `id`, UNIX_TIMESTAMP() as `adddate` , `data` ,1 as `siteid` FROM `phpcms2008`.`phpcms2008_search`