 CREATE TABLE AC_ACT ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[Field1] varchar(50) ,[Field2] varchar(50) ,[Types] int Default 0 )
 CREATE TABLE ACT_LabelFolder ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[Foldername] varchar(50) )
 CREATE TABLE Admin_Act ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[Admin_Name] varchar(50) ,[PassWord] varchar(50)  ,[RealName] varchar(50) ,[Sex] tinyint Default 0 ,[TEL] varchar(50) ,[Email] varchar(50) ,[AddDate] datetime ,[LoginTime] datetime ,[LoginIP] varchar(50) ,[Locked] tinyint Default 0 ,[SuperTF] tinyint Default 0 ,[LoginNumber] int Default 0 ,[Description] text ,[Purview] varchar(200) Default 0 ,[ACTCMS_QXLX] text Default , ,[ACT_Other] text Default 0 )
 CREATE TABLE ads ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[ADID] varchar(20) ,[ADType] smallint Default 1 ,[ADSrc] text ,[ADCode] text ,[ADWidth] smallint Default 0 ,[ADHeight] smallint Default 0 ,[ADLink] nvarchar(150) ,[ADAlt] nvarchar(100) ,[ADNote] nvarchar(100) ,[ADViews] int Default 0 ,[ADHits] int Default 0 ,[ADStopViews] int Default 0 ,[ADStopHits] int Default 0 ,[ADStopDate] datetime )
 CREATE TABLE Article_ACT ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,ClassID varchar(20),Title varchar(200),IntactTitle varchar(250),ActLink tinyint,Intro text,Content text,Hits int Default 0,rev tinyint Default 0,KeyWords varchar(250),author varchar(250),CopyFrom varchar(250),UpdateTime datetime,TemplateUrl varchar(100),FileName varchar(200),isAccept tinyint,delif tinyint Default 0,UserID int Default 0,ArticleInput varchar(250),Slide tinyint Default 0,ChargeType tinyint Default 0,InfoPurview tinyint Default 0,PicUrl varchar(200),Ismake tinyint,arrGroupID varchar(250),Digg int Default 0,down int Default 0,ReadPoint int Default 0,PitchTime int Default 0,ReadTimes int Default 0,DividePercent int Default 0,ATT SmallInt Default 0,IStop tinyint Default 0)
 CREATE TABLE ATT_ACT ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[AID] int Default 0 ,[Aname] varchar(50) )
 CREATE TABLE Book_ACT ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[show] varchar(50) ,[name] varchar(50) ,[qq] varchar(50) ,[mail] varchar(50) ,[url] varchar(50) ,[xq] smallint Default 0,[nr] text,[addtime] datetime ,[hf] text ,[ip] varchar(50) ,[sh] tinyint Default 0 )
 CREATE TABLE Card_ACT ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[CardNum] varchar(50) ,[CardPass] varchar(50),[title] varchar(250),[allgroupid] varchar(50) ,[Money] money Default 0 ,[ValidNum] int Default 0 ,[ValidUnit] int Default 0 ,[AddDate] datetime ,[EndDate] datetime ,[UseDate] datetime ,UserID int Default 0,[IsUsed] int Default 0 ,[grGroupID] int Default 0 ,[ExpireGroupID] int Default 0 ,[IsSale] int Default 0 )
 CREATE TABLE Class_Act ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[ModeID] SmallInt Default 0 ,[ClassID] varchar(50) ,[OrderID] SmallInt Default 0 ,[enname] varchar(200) ,[ClassName] varchar(100) ,[ClassEName] varchar(100) ,[ParentID] varchar(15) ,[FolderTemplate] varchar(100) ,[ConTentTemplate] varchar(50) ,[Extension] varchar(50) ,[ClassKeywords] text ,[ClassDescription] text ,[ACTlink] int Default 0 ,[tg] tinyint Default 0 ,[dh] tinyint Default 0  ,[ClassPurview] int Default 0 ,[ClassReadPoint] int Default 0 ,[ClassChargeType] int Default 0 ,[ClassPitchTime] int Default 0,[ClassReadTimes] int Default 0,[ClassDividePercent] int Default 0 ,[ClassArrGroupID] varchar(255),[TGGroupID] varchar(255) ,[GroupIDClass] varchar(50) ,[moresite] tinyint ,[siteurl] varchar(250) ,[sitepath] varchar(250) ,[FilePathName] varchar(100) ,[content] text ,[makehtmlname] varchar(100))
 CREATE TABLE ClassLink_Act ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[ClassLinkName] varchar(100) ,[Description] text ,[AddDate] datetime )
 CREATE TABLE Comment_Act ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[ModeID] int Default 0 ,[ClassID] varchar(50) ,[acticleID] int Default 0 ,[Email] varchar(50) ,[UserIP] varchar(50) ,[Content] text ,[Locked] tinyint Default 0 ,[AddDate] datetime ,[userid] int Default 0 ,[Y] int Default 0 ,[N] int Default 0 )
 CREATE TABLE Show_Act ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[ModeID] int Default 0 ,[acticleID] int Default 0 ,[AddDate] datetime ,[userid] int Default 0 )
 CREATE TABLE Config_Act ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[ActCMS_SysSetting] text ,[ActCMS_OtherSetting] text ,[ActCMS_Upfile] text )
 CREATE TABLE Digg_ACT ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[IP] varchar(50) ,[NewsID] int null ,[DiggTime] datetime ,[Digg] tinyint Default 0 ,[ModeID] smallint Default 0 ,[users] varchar(50))
 CREATE TABLE DiyMenu_ACT ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[MenuName] varchar(50) ,[MenuUrl] varchar(200) ,[OpenWay] varchar(50) ,[AdminID] smallint Default 0 )
 CREATE TABLE DiyPage_ACT ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[pageName] varchar(50) ,[DiyPath] varchar(50) ,[Content] text ,[tempurl] varchar(250) ,[FileName] varchar(100) )
 CREATE TABLE DownType_ACT ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[rootid] int Default 0 ,[DownName] varchar(50) ,[IFLock] tinyint Default 0 ,[DownPath] varchar(255) ,[UserGroup] varchar(50) ,[DownPoint] varchar(50) ,[isDisp] tinyint Default 0 ,[IsOuter] int Default 0 )
 CREATE TABLE Edays_ACT ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,UserID int Default 0,[Edays] int Default 0 ,[Flag] int Default 0 ,[AddDate] datetime null ,[IP] varchar(20),[UserLog] varchar(255),[Descript] varchar(255) )
 CREATE TABLE Friend_ACT ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[AddDate] datetime Default now(),[Userid] integer Default 0 ,[flag] tinyint Default 1 ,[UM] smallint Default 0 ,[U] integer Default 0 )
 CREATE TABLE Group_Act ([GroupID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[DefaultGroup] tinyint Default 0 ,[Description] text ,[ChargeType] tinyint Default 0 ,[GroupPoint] int Default 0 ,[ValidDays] int Default 0 ,[ModeID] smallint Default 0 ,[GroupSetting] text ,[GroupName] varchar(50) )
 CREATE TABLE Label_Act ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[LabelName] varchar(50) not null ,[LabelContent] text ,[Description] text ,[LabelType] tinyint ,[LabelFlag] tinyint ,[AddDate] datetime )
 CREATE TABLE Link_Act ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[ClassLinkID] int Default 0 ,[SiteName] varchar(255) ,[Webadmin] varchar(50) ,[Email] varchar(50) ,[Url] varchar(255) ,[LinkType] int Default 0 ,[Logo] varchar(150) ,[Description] text ,[Rec] int Default 0 ,[AddDate] datetime ,[Locked] tinyint Default 0 ,[sh] int Default 0 )
 CREATE TABLE Log_Act ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[UserName] varchar(50) ,[LoginIP] varchar(50) ,[Times] datetime ,[ACT] tinyint Default 0,[ACTError] text ,[GetHttp] text )
 CREATE TABLE Message_Act ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[Title] varchar(100) ,[Content] text ,[Flag] tinyint Default 0 ,[Sendtime] datetime Default now ,[userid] int Default 0 ,[U] int Default 0 )
 CREATE TABLE Mode_Act ([ModeID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[ModeName] varchar(50) ,[IFmake] int Default 1 ,[ModeTable] varchar(50) ,[FileFolder] tinyint Default 0 ,[AutoPage] int Default 0 ,[ProjectUnit] varchar(50) ,[UpFilesDir] varchar(100) ,[ContentExtension] varchar(6) ,[ModeStatus] tinyint Default 0 ,[RefreshFlag] int Default 0 ,[RecyleIF] int Default 0 ,[ACT_DiY] text ,[MakeFolderDir] varchar(100) ,[WriteComment] tinyint Default 3 ,[CommentCode] tinyint Default 0 ,[Commentsize] smallint Default 0 ,[ModeNote] varchar(250) ,[CommentTemp] varchar(100) ,[adminmb] tinyint Default 0 ,[usermb] tinyint Default 0 )
 CREATE TABLE ModeForm_ACT ([ModeID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[ModeName] varchar(50) ,[ModeTable] varchar(50) ,[ModeNote] varchar(50) ,[UploadPath] varchar(50) ,[UploadSize] varchar(50) ,[UnlockTime] tinyint Default 0 ,[StartTime] datetime ,[EndTime] datetime ,[UserGroupList] varchar(50) ,[SubmitNum] tinyint Default 0 ,[Moneys] smallint Default 0 ,[FormCode] tinyint Default 0 ,[ModeStatus] tinyint Default 0 )
 CREATE TABLE ModeUser_Act ([ModeID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[ModeName] varchar(50) ,[ModeTable] varchar(50) ,[ModeNote] varchar(50) ,[Template] varchar(50) ,[RegCode] tinyint Default 0 ,[SpaceID] int Default 0 )
 CREATE TABLE Money_Log_ACT ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,UserID int Default 0,[CurrMoney] money Default 0,[Money] money Default 0 ,[MoneyType] int Default 0 ,[IncomeFlag] int Default 0,[ModeID] int Default 0,[InfoID] int Default 0 ,[OrderID] varchar(30) null ,[PaymentID] int Default 0 ,[Remark] varchar(255) null ,[PayTime] datetime null ,[LogTime] datetime null ,[Inputer] varchar(50) null ,[clientname] varchar(250) null,[IP] varchar(50) null )
 CREATE TABLE Plus_ACT ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[PlusName] varchar(50) ,[PlusID] varchar(50) ,[PlusUrl] varchar(50) ,[IsUse] int Default 0 ,[PlusIntro] varchar(200) ,[OrderID] smallint Default 0 ,[PlusConfig] text )
 CREATE TABLE Point_Log_ACT ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,UserID int Default 0,[ModeID] int Default 0,[ContributeFlag] int Default 0 ,[InfoID] int Default 0 ,[AddDate] datetime null ,[IP] varchar(50) null ,[PointFlag] int Default 0 ,[CurrPoint] int Default 0,[Point] int Default 0 ,[Times] int Default 0 ,[UserLog] varchar(50) ,[Descript] varchar(255) )
 CREATE TABLE Sitelink_ACT ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[Title] varchar(50) ,[Url] varchar(50) ,[OpenType] varchar(50) ,[IFS] tinyint Default 0 )
 CREATE TABLE space_ACT ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[ClassName] varchar(50) ,[ClassOrder] integer Default 0 ,[ClassTemp] varchar(50) null,[UModeID] int Default 0 ,[ModeID] smallint Default 0 )
 CREATE TABLE Table_ACT ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[ModeID] smallint Default 0 ,[FieldName] varchar(50) ,[Title] varchar(50) ,[IsNotNull] tinyint Default 0 ,[OrderID] smallint Default 0 ,[Description] varchar(250) ,[FieldType] varchar(50) ,[Type_Default] ntext ,[width] smallint Default 0 ,[height] smallint Default 0 ,[Content] text ,[Type_Type] int Default 0 ,[ISType] int Default 0 ,[regEx] varchar(255) ,[regError] varchar(255) ,[SearchIF] tinyint ,[ValueOnly] tinyint ,[check] tinyint Default 3 ,[ACTCMS] tinyint Default 1 )
 CREATE TABLE Tags_ACT ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[TagsChar] varchar(50) ,[ModeID] tinyint Default 0 ,[AddTime] datetime null ,[Hits] int Default 0 ,[ClicksTime] datetime )
 CREATE TABLE templets_act ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[templets] varchar(50) ,[UserSet] varchar(50) )
 CREATE TABLE Upload_Act ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[ArtileID] int Default 0 ,[UpfileDir] varchar(250) ,[Extension] varchar(250) ,[UpdateTime] datetime Default now() ,[ModeID] smallint Default 0 )
 CREATE TABLE Field_User_ACT ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[UserID] int Default 0 )
 CREATE TABLE User_Act ([UserID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,GroupID SmallInt Default 0,[UserName] varchar(100),[password] varchar(100),[myface] varchar(100),LoginNumber int Default 0,ArticleNum int Default 0,ChargeType tinyint Default 0,Score int Default 0,Point int Default 0,Locked tinyint Default 0,Loginip varchar(50),RegDate datetime,BeginDate datetime,LoginTime datetime,startdate datetime,EDays int Default 0,Email varchar(50),CheckNum varchar(16),templetsid SmallInt Default 0,[Money] Money Default 0,RealName varchar(50),QQ varchar(50),MSN varchar(50),address varchar(50),HomeTel varchar(50),Mobile varchar(50),postcode varchar(50),sex tinyint Default 0,Province varchar(100),City varchar(50),Birthday varchar(50),[note] varchar(250),[UModeID] int Default 0,Privacy tinyint Default 0)
 CREATE TABLE Vote_act ([ID] int IDENTITY (1, 1) NOT NULL CONSTRAINT PrimaryKey PRIMARY KEY,[title] varchar(150) ,[isLock] smallint Default 0 ,[VoteTime] datetime Default now() ,[VoteType] tinyint Default 0 ,[VoteNum] int Default 0 ,[rootid] smallint Default 0 ,[VoteStart] datetime Default now() ,[VoteEnd] datetime Default now() )