<?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 `ws_diyforms`;");
E_C("CREATE TABLE `ws_diyforms` (
  `diyid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL DEFAULT '',
  `posttemplate` varchar(50) NOT NULL,
  `viewtemplate` varchar(50) NOT NULL,
  `listtemplate` varchar(50) NOT NULL,
  `table` varchar(50) NOT NULL DEFAULT '',
  `info` text,
  `public` tinyint(1) NOT NULL DEFAULT '1',
  PRIMARY KEY (`diyid`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8");
E_D("replace into `ws_diyforms` values('1','货源提交','post_diyform1.htm','view_diyform1.htm','list_diyform1.htm','ws_diyform1','\n<field:xzlm itemname=\"选择栏目\" autofield=\"1\" type=\"select\" isnull=\"true\" default=\"美容护肤,服装内衣,鞋包配饰,母婴童装,百货日用,数码网络,家装家纺,综合其他\"  maxlength=\"250\" page=\"\">\r\n</field:xzlm>\r\n\n<field:hybt itemname=\"货源标题\" autofield=\"1\" type=\"text\" isnull=\"true\" default=\"\"  maxlength=\"250\" page=\"\">\r\n</field:hybt>\r\n\n<field:hywx itemname=\"货源微信\" autofield=\"1\" type=\"text\" isnull=\"true\" default=\"\"  maxlength=\"250\" page=\"\">\r\n</field:hywx>\r\n\n<field:qq itemname=\"货源QQ\" autofield=\"1\" type=\"text\" isnull=\"true\" default=\"\"  maxlength=\"250\" page=\"\">\r\n</field:qq>\r\n\n<field:wz itemname=\"货源网址\" autofield=\"1\" type=\"text\" isnull=\"true\" default=\"\"  maxlength=\"250\" page=\"\">\r\n</field:wz>\r\n\n<field:ewm itemname=\"微信二维码\" autofield=\"1\" type=\"img\" isnull=\"true\" default=\"\"  maxlength=\"250\" page=\"\">\r\n</field:ewm>\r\n\n<field:fmt itemname=\"货源封面图\" autofield=\"1\" type=\"img\" isnull=\"true\" default=\"\"  maxlength=\"250\" page=\"\">\r\n</field:fmt>\r\n\n<field:hyms itemname=\"货源描述\" autofield=\"1\" type=\"multitext\" isnull=\"true\" default=\"\"  maxlength=\"250\" page=\"\">\r\n</field:hyms>\r\n\r\n\n<field:hydt itemname=\"货源多图\" autofield=\"1\" type=\"img\" isnull=\"true\" default=\"\"  maxlength=\"250\" page=\"\">\r\n</field:hydt>\r\n','2');");

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