<?php
require("../../inc/header.php");

/*
		SoftName : EmpireBak Version 2010
		Author   : wm_chief
		Copyright: Powered by www.phome.net
*/

DoSetDbChar('utf8');
E_D("DROP TABLE IF EXISTS `ftxia_robots`;");
E_C("CREATE TABLE `ftxia_robots` (
  `id` int(11) NOT NULL auto_increment,
  `name` varchar(200) NOT NULL,
  `keyword` varchar(200) default NULL,
  `cid` int(11) NOT NULL default '16',
  `cate_id` int(11) default '0' COMMENT '所属分类',
  `shop_type` varchar(50) NOT NULL default 'all',
  `start_coupon_rate` int(11) NOT NULL default '100',
  `end_coupon_rate` int(11) NOT NULL default '10000',
  `start_commissionRate` int(11) NOT NULL default '1000',
  `end_commissionRate` int(11) NOT NULL default '9000',
  `start_credit` varchar(50) NOT NULL default '1heart',
  `end_credit` varchar(50) NOT NULL default '5goldencrown',
  `start_price` decimal(8,2) default '0.00',
  `end_price` decimal(8,2) default '999.00',
  `start_volume` int(11) NOT NULL default '0',
  `end_volume` int(11) NOT NULL default '999999',
  `ems` int(11) default '0' COMMENT '采集包邮',
  `page` int(11) NOT NULL default '100' COMMENT '采集页数',
  `ordid` tinyint(3) unsigned NOT NULL default '255',
  `sort` varchar(50) NOT NULL default 'volume|desc',
  `last_page` int(11) default '0' COMMENT '上次采集页数',
  `last_time` int(11) default NULL,
  `http_mode` int(11) default '0' COMMENT '采集模式',
  `tb_cid` int(11) default NULL COMMENT '淘宝网分类ID',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=19 DEFAULT CHARSET=utf8");
E_D("replace into `ftxia_robots` values('15','女装','T恤','0','14','all','1000','9000','1000','9000','1heart','5goldencrown','0.00','99999.00','0','99999','1','100','255','volume|desc','4','1374399800','1','50000671');");
E_D("replace into `ftxia_robots` values('17','连衣裙','连衣裙','0','15','all','1000','9000','1000','9000','1heart','5goldencrown','0.00','99999.00','0','99999','0','100','255','volume|desc','100','1374400359','1','51108009');");
E_D("replace into `ftxia_robots` values('18','母婴','童装','0','4','all','1000','9000','1000','9000','1heart','5goldencrown','0.00','99999.00','0','99999','0','100','255','volume|desc','31','1374401921','1','50008165');");
E_D("replace into `ftxia_robots` values('13','男装','T恤','0','2','all','1000','9000','1000','9000','1heart','5goldencrown','0.00','99999.00','0','99999','0','100','255','volume|desc','79','1374300881','1','50019372');");

require("../../inc/footer.php");
?>