CREATE TABLE [dbo].[AspCms_Adv]([AdvID] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[AdvName] nvarchar(255) NULL,[AdvClass] int NULL,[AdvImg] nvarchar(255) NULL,[AdvLink] nvarchar(255) NULL,[AdvWidth] nvarchar(255) NULL,[AdvHeight] nvarchar(255) NULL,[AdvStime] datetime NULL,[AdvEtime] datetime NULL,[AdvStatus] int NULL,[AdvContent] ntext NULL,[AddTime] datetime NULL,[LanguageID] int NULL,[AdvStyle] int NULL)
CREATE TABLE [dbo].[AspCms_Adv]([AdvID] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[AdvName] nvarchar(255) NULL,[AdvClass] int NULL,[AdvImg] nvarchar(255) NULL,[AdvLink] nvarchar(255) NULL,[AdvWidth] nvarchar(255) NULL,[AdvHeight] nvarchar(255) NULL,[AdvStime] datetime NULL,[AdvEtime] datetime NULL,[AdvStatus] int NULL,[AdvContent] ntext NULL,[AddTime] datetime NULL,[LanguageID] int NULL,[AdvStyle] int NULL)
CREATE TABLE [dbo].[AspCms_Apply]([ApplyID] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[UserID] int NULL,[ContentID] int NULL,[Jobs] nvarchar(255) NULL,[Linkman] nvarchar(255) NULL,[Gender] int NULL,[Age] int NULL,[Marriage] nvarchar(255) NULL,[Education] nvarchar(255) NULL,[RegResidence] nvarchar(255) NULL,[EduResume] ntext NULL,[JobResume] ntext NULL,[Address] nvarchar(255) NULL,[PostCode] nvarchar(255) NULL,[Phone] nvarchar(255) NULL,[Mobile] nvarchar(255) NULL,[Email] nvarchar(255) NULL,[QQ] nvarchar(255) NULL,[AddTime] datetime NULL,[ApplyStatus] int NULL,[ReplyContent] ntext NULL,[ReplyTime] datetime NULL)
CREATE TABLE [dbo].[AspCms_Collect]([CollectID] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[CollectName] nvarchar(255) NULL,[CollectRules] ntext NULL,[Addtime] datetime NULL)
CREATE TABLE [dbo].[AspCms_Collect_Content]([C_ContentID] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[C_Title] nvarchar(255) NULL,[C_Content] ntext NULL,[Addtime] datetime NULL)
CREATE TABLE [dbo].[AspCms_Comments]([CommentsID] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[contentID] int NULL,[Commentator] nvarchar(255) NULL,[CommentContent] ntext NULL,[AddTime] datetime NULL,[CommentIP] nvarchar(255) NULL,[CommentStatus] int NULL)
CREATE TABLE [dbo].[AspCms_Content]([ContentID] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[LanguageID] int NULL,[SortID] int NULL,[GroupID] int NULL,[Exclusive] nvarchar(255) NULL,[Title] nvarchar(255) NULL,[Title2] nvarchar(255) NULL,[Author] nvarchar(255) NULL,[TitleColor] nvarchar(255) NULL,[IsOutLink] int NULL,[OutLink] nvarchar(255) NULL,[ContentSource] nvarchar(255) NULL,[ContentTag] ntext NULL,[Content] ntext NULL,[ContentStatus] int NULL,[IsTop] int NULL,[IsRecommend] int NULL,[IsImageNews] int NULL,[IsHeadline] int NULL,[IsFeatured] int NULL,[IsNoComment] int NULL,[ContentOrder] int NULL,[IsGenerated] int NULL,[Visits] int NULL,[Star] int NULL,[AddTime] datetime NULL,[EditTime] datetime NULL,[ImagePath] ntext NULL,[IndexImage] ntext NULL,[DownURL] ntext NULL,[PageTitle] ntext NULL,[PageKeywords] ntext NULL,[PageDesc] ntext NULL,[PageFileName] ntext NULL,[Timeing] datetime NULL,[TimeStatus] int NULL,[p_price] nvarchar(255) NULL,[DownGroupID] nvarchar(50) NULL,[VideoGroupID] nvarchar(50) NULL)
CREATE TABLE [dbo].[AspCms_Custom]([CustomID] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[LanguageID] int NULL,[AddTime] datetime NULL,[CustomIP] nvarchar(255) NULL,[CustomStatus] int NULL,[AuditStatus] int NULL,[djm] nvarchar(255) NULL,[dmz] nvarchar(255) NULL,[gm] nvarchar(255) NULL,[hangye] nvarchar(255) NULL,[wer] ntext NULL,[aaa] ntext NULL)
CREATE TABLE [dbo].[AspCms_FormSet]([FormID] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[FormName] nvarchar(255) NULL,[FormOrder] int NULL,[FormField] nvarchar(255) NULL,[FormControlType] nvarchar(255) NULL,[FormCategory] nvarchar(255) NULL,[FormOptions] nvarchar(255) NULL,[FormNotNull] int NOT NULL,[FormDiversification] int NULL)
CREATE TABLE [dbo].[AspCms_GuestBook]([FaqID] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[LanguageID] int NULL,[FaqTitle] nvarchar(255) NULL,[Contact] nvarchar(255) NULL,[ContactWay] nvarchar(255) NULL,[Content] ntext NULL,[Reply] ntext NULL,[AddTime] datetime NULL,[ReplyTime] datetime NULL,[FaqStatus] int NULL,[AuditStatus] int NULL,[FaqIP] nvarchar(255) NULL)
CREATE TABLE [dbo].[AspCms_Labels]([LabelID] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[LabelName] nvarchar(255) NULL,[LabelContent] ntext NULL,[LabelDesc] nvarchar(255) NULL,[AddTime] datetime NULL)
CREATE TABLE [dbo].[AspCms_Language]([LanguageID] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[LanguageName] nvarchar(255) NULL,[LanguagePath] nvarchar(255) NULL,[Alias] nvarchar(255) NULL,[DefaultTemplate] nvarchar(255) NULL,[HtmlFilePath] nvarchar(255) NULL,[SiteTitle] nvarchar(255) NULL,[AdditionTitle] nvarchar(255) NULL,[SiteLogoUrl] nvarchar(255) NULL,[SiteUrl] nvarchar(255) NULL,[CompanyName] nvarchar(255) NULL,[CompanyAddress] nvarchar(255) NULL,[CompanyPostCode] nvarchar(255) NULL,[CompanyContact] nvarchar(255) NULL,[CompanyPhone] nvarchar(255) NULL,[CompanyMobile] nvarchar(255) NULL,[CompanyFax] nvarchar(255) NULL,[CompanyEmail] nvarchar(255) NULL,[CompanyICP] nvarchar(255) NULL,[StatisticalCode] ntext NULL,[CopyRight] ntext NULL,[SiteKeywords] nvarchar(255) NULL,[SiteDesc] ntext NULL,[LanguageOrder] int NULL,[IsDefault] int NULL,[LanguageStatus] int NULL,[SiteicoUrl] nvarchar(255) NULL,[AdminCopyRight] ntext NULL)
CREATE TABLE [dbo].[AspCms_Links]([LinkID] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[LinkType] int NULL,[LinkText] nvarchar(50) NULL,[LinkDesc] nvarchar(255) NULL,[ImageURL] nvarchar(100) NULL,[LinkURL] nvarchar(255) NULL,[LinkOrder] int NULL,[LinkStatus] int NULL,[LinkGroup] int NULL)
CREATE TABLE [dbo].[AspCms_Menu]([MenuID] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[ParentID] int NULL,[TopID] int NULL,[MenuName] nvarchar(255) NULL,[MenuLink] nvarchar(255) NULL,[MenuOrder] int NULL,[MenuLevel] int NULL,[MenuStatus] int NULL,[MenuKey] nvarchar(255) NULL)
CREATE TABLE [dbo].[AspCms_Order]([OrderID] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[UserID] int NULL,[OrderName] nvarchar(255) NULL,[Remark] ntext NULL,[Num] nvarchar(255) NULL,[Linkman] nvarchar(255) NULL,[Gender] int NULL,[Address] nvarchar(255) NULL,[PostCode] nvarchar(255) NULL,[Phone] nvarchar(255) NULL,[Mobile] nvarchar(255) NULL,[Email] nvarchar(255) NULL,[QQ] nvarchar(255) NULL,[AddTime] datetime NULL,[OrderStatus] int NULL,[ReplyContent] ntext NULL,[ReplyTime] datetime NULL)
CREATE TABLE [dbo].[AspCms_Order2]([OrderNo] nvarchar(255) PRIMARY KEY NOT NULL,[UserName] nvarchar(255) NULL,[OrderTime] datetime NULL,[State] int NULL,[Payment] nvarchar(255) NULL,[nicename] nvarchar(255) NULL,[tel] nvarchar(255) NULL,[cellphone] nvarchar(255) NULL,[zipcode] nvarchar(255) NULL,[address] nvarchar(255) NULL,[email] nvarchar(255) NULL,[note] nvarchar(255) NULL,[to] nvarchar(255) NULL,[Invoice] int NOT NULL,[userid] int NULL)
CREATE TABLE [dbo].[AspCms_OrderProduct]([ID] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[OrderNO] nvarchar(255) NULL,[ProductID] int NULL,[Count] int NULL,[InstantPrice] int NULL,[UserId] int NULL)
CREATE TABLE [dbo].[AspCms_Scene]([SceneID] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[SceneName] nvarchar(255) NULL,[SceneMenu] ntext NULL,[SceneOrder] int NULL,[SceneDesc] nvarchar(255) NULL,[SceneStatus] int NULL)
CREATE TABLE [dbo].[AspCms_smsnum]([smsid] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[smsname] nvarchar(50) NULL,[smsnum] nvarchar(50) NULL,[smssortid] int NULL,[remark] ntext NULL)
CREATE TABLE [dbo].[AspCms_smsRecord]([smsrid] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[smsrtime] datetime NULL,[smsryes] int NULL,[smsrno] int NULL,[smsrcontent] ntext NULL)
CREATE TABLE [dbo].[AspCms_smssort]([smssortid] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[smssortname] nvarchar(50) NULL)
CREATE TABLE [dbo].[AspCms_Sort]([SortID] int PRIMARY KEY NOT NULL,[LanguageID] int NULL,[ParentID] int NULL,[SortOrder] int NULL,[SortType] int NULL,[SortName] nvarchar(255) NULL,[SortURL] nvarchar(255) NULL,[SortLevel] nvarchar(255) NULL,[AddTime] datetime NULL,[PageTitle] nvarchar(255) NULL,[PageKeywords] nvarchar(255) NULL,[PageDesc] nvarchar(255) NULL,[SortPath] nvarchar(255) NULL,[SortTemplate] nvarchar(255) NULL,[ContentTemplate] nvarchar(255) NULL,[SortFolder] nvarchar(255) NULL,[ContentFolder] nvarchar(255) NULL,[SortFileName] nvarchar(255) NULL,[ContentFileName] nvarchar(255) NULL,[SortStatus] int NULL,[TopSortID] int NULL,[GroupID] int NULL,[Exclusive] nvarchar(255) NULL,[SortContent] ntext NULL,[Star] int NULL,[AddTime1] datetime NULL,[EditTime] datetime NULL,[ImagePath] ntext NULL,[IndexImage] nvarchar(255) NULL,[DownURL] ntext NULL,[PageTitle1] nvarchar(255) NULL,[PageKeywords1] nvarchar(255) NULL,[PageDesc1] nvarchar(255) NULL,[PageFileName] nvarchar(255) NULL,[price] nvarchar(255) NULL,[IcoPath] ntext NULL,[IcoImage] nvarchar(255) NULL,[SortEnName] nvarchar(255) NULL)
CREATE TABLE [dbo].[AspCms_SpecSet]([SpecID] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[SpecName] nvarchar(255) NULL,[SpecOrder] int NULL,[SpecField] nvarchar(255) NULL,[SpecControlType] nvarchar(255) NULL,[SpecCategory] nvarchar(255) NULL,[SpecOptions] nvarchar(255) NULL,[SpecNotNull] int NOT NULL,[SpecDiversification] int NULL)
CREATE TABLE [dbo].[AspCms_Tag]([TagID] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[LanguageID] int NULL,[SortID] int NULL,[SortType] int NULL,[TagCount] int NULL,[TagVisits] int NULL,[TagName] nvarchar(50) NULL,[AddTime] datetime NULL)
CREATE TABLE [dbo].[AspCms_User]([UserID] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[GroupID] int NULL,[LanguageID] int NULL,[SceneID] int NULL,[LoginName] nvarchar(255) NULL,[Password] nvarchar(255) NULL,[PswQuestion] nvarchar(255) NULL,[PswAnswer] nvarchar(255) NULL,[UserStatus] int NULL,[RegTime] datetime NULL,[RegIP] nvarchar(255) NULL,[LastLoginIP] nvarchar(255) NULL,[LastLoginTime] datetime NULL,[LoginCount] int NULL,[TrueName] nvarchar(255) NULL,[Gender] int NULL,[Birthday] datetime NULL,[Country] nvarchar(255) NULL,[Province] nvarchar(255) NULL,[City] nvarchar(255) NULL,[Address] nvarchar(255) NULL,[PostCode] nvarchar(255) NULL,[Phone] nvarchar(255) NULL,[Mobile] nvarchar(255) NULL,[Email] nvarchar(255) NULL,[QQ] nvarchar(255) NULL,[MSN] nvarchar(255) NULL,[Permissions] ntext NULL,[AdminDesc] ntext NULL,[Adminrand] nvarchar(50) NULL)
CREATE TABLE [dbo].[AspCms_UserGroup]([GroupID] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[IsAdmin] int NULL,[GroupName] nvarchar(255) NULL,[GroupDesc] nvarchar(255) NULL,[GroupStatus] int NULL,[GroupMark] int NULL,[GroupMenu] ntext NULL,[GroupSort] ntext NULL,[GroupOrder] int NULL)
CREATE TABLE [dbo].[Aspcms_Visits]([id] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[Visits] int NULL,[AddTime] datetime NULL)
CREATE TABLE [dbo].[Aspcms_vote]([id] int IDENTITY(1,1) PRIMARY KEY NOT NULL,[votetitle] nvarchar(255) NULL,[votename] ntext NULL,[votenum] ntext NULL,[votetype] nvarchar(255) NULL)
insert into [aspcms_SpecSet] ([SpecName],[SpecOrder],[SpecField],[SpecControlType],[SpecCategory],[SpecOptions],[SpecNotNull],[SpecDiversification]) values ('参考价格','1','price','1','p','',0,0)