<?php
if (!defined('CSCMSPATH')) exit('No permission resources');

$install = array(
 "CREATE TABLE IF NOT EXISTS `{prefix}qd` (
            `CS_ID` int(11) NOT NULL auto_increment,
			`CS_Sid` int(11) default '0',
            `CS_Name` varchar(64) default '',
            `CS_Content` text,
			`CS_Cion` int(11) default '0',
            `CS_Qdtime` datetime default '0000-00-00 00:00:00',
			`CS_Y` int(11) default '0',
			`CS_M` int(11) default '0',
			`CS_D` int(11) default '0',
             PRIMARY KEY  (`CS_ID`)
           ) ENGINE=MyISAM DEFAULT CHARSET=gbk;",
		   "ALTER TABLE `{prefix}user` add COLUMN `CS_Leiji` int(11) default '0'",
		   "ALTER TABLE `{prefix}user` add COLUMN `CS_Qdtian` int(11) default '0'",
		   "ALTER TABLE `{prefix}user` add COLUMN `CS_Qda` int(11) default '0'",
		   "ALTER TABLE `{prefix}user` add COLUMN `CS_Qdb` int(11) default '0'",
		   "ALTER TABLE `{prefix}user` add COLUMN `CS_Qdc` int(11) default '0'",
		   "ALTER TABLE `{prefix}user` add COLUMN `CS_Qdd` int(11) default '0'",
		   "ALTER TABLE `{prefix}user` add COLUMN `CS_Qde` int(11) default '0'",
		   "ALTER TABLE `{prefix}user` add COLUMN `CS_Qdf` int(11) default '0'",
		   "ALTER TABLE `{prefix}user` add COLUMN `CS_Qdsjian` datetime default '0000-00-00 00:00:00'"

);
