----------------------------------------   ¼ DeepSoon ݿ  --------------------------
>>1̨û
Users4DeepSoon(
id int(4) not null primary key auto_increment,
name char(20) not null,
pwd char(32) not null,
class char(20) default 'super',
area char(20) ),
Email Text,
SelfIntroduction Text,
PWDAnswer char(120),
ChatHead char(200),
RegisterDate timestamp DEFAULT now(),
LastLoginDate timestamp,
Blog Text,
GroupID char(20) default '1'
);
̨ûһ˻˻admin룺admin888
ִ
insert into Users4DeepSoon(name,pwd) Values ("admin","7FEF6171469E80D32C0559F88B377245");
עǸַǽadmin888md5ַܺ


>>2վñ
Preference4DeepSoon(
id int(4) not null primary key auto_increment,
siteName char(250) not null,
siteTitle char(250) not null,
siteKeywords char(250) not null,
siteDescribe char(250) not null,
siteMain char(50) not null,
siteLogoAddr char(250) not null,
htmlDir char(100) not null,
uploadFileDir char(250) not null,
siteCopyRight Text,
WatermarkLogo char(250) not null,
urlRule char(250) not null,
addIcon bool default false
);

עǰ̨ǰñҪһ¼г



>>3־
Log4DeepSoon(
ID int(8) not null primary key auto_increment,
Name char(20) not null,
EventStr char(40) not null,
IPStr char(20) not null,
DateStr  timestamp DEFAULT now() );



>>4Ŀ¼
Class4DeepSoon(
ID int(4) not null primary key auto_increment,
Name char(20) not null,
FatherID char(20) not null,
ChildID char(250),
OutLinkHref char(150) not null,
isHidden bool default false,
ThemeFile char(250) not null default 'T_list.html',
openArea  char(20) default 'all',
linkTarget char(20) default '_self',
rootID char(20) default '0',
BriefInformation text
);


>>5±
Article4DeepSoon(
ID int(8) not null primary key auto_increment,
Title char(50) not null,
Source char(20) not null,
Author char(20) not null,
ClassID char(20) not null,
Article Text ,
TitleColor char(20) ,
isSetTop bool default false ,
DateStr  timestamp DEFAULT now(),
isDelete bool default false ,
BriefInfor char(150) not null,
thumbnailImage Text,
ReadCount int(8)  DEFAULT 0,
URL char(250),
isSlideShow bool default false,
isPassed bool default false,
isPushed bool default false,
isSetURL bool default false
);


>>6ͷͷ
HeadTitle4DeepSoon(
ID int(4) not null primary key auto_increment,
ArticleID int(8) not null);
עǰ̨ǰñҪһ¼г


>>7ӱ
Links4DeepSoon(
ID int(4) not null primary key auto_increment,
LinkGroupID int(4) not null,
LinkName char(50) not null,
LinkHref char(200) not null,
LinkLogo char(200),
canVisit bool default true
);


>>8
linkGroup4DeepSoon(
ID int(4) not null primary key auto_increment,
LinkGroupName char(50) not null
);


>>9
AdList4DeepSoon(
ID int(4) not null primary key auto_increment,
AdContent Text,
AdPos char(100)
);


>>10վ
Theme4DeepSoon(
ID int(4) not null primary key auto_increment,
ThemeName char(100) not null
);


>>11˵˵
FeedBack4DeepSoon(
ID int(4) not null primary key auto_increment,
Content Text not null,
Author char(20),
IPAddress char(50),
DateStr  timestamp DEFAULT now(),
FatherID char(20) not null,
isPass bool default false
);


>>12˵˵ñ
FeedBackSetting4DeepSoon(
ID int(4) not null primary key auto_increment,
setTitle char(20),
setContent Text,
setButtonName char(20),
setOpen  bool default true,
setPass bool default false,
setSize int(8) default 200
);


>>13ʼñ
MailSetting4DeepSoon(
ID int(4) not null primary key auto_increment,
setTitle char(20),
setContent Text,
setButtonName char(20),
setOpen  bool default true,
Host Text,
Account Text,
PWD Text,
FromMail Text,
ToMail Text
);


>>14۱
Comment4DeepSoon(
ID int(8) not null primary key auto_increment,
Content Text not null,
Author char(20),
IPAddress char(50),
DateStr  timestamp DEFAULT now(),
FatherID char(20) not null,
isPass bool default false,
ArticleID int(8) not null
);


>>15ñ
CommentSetting4DeepSoon(
ID int(4) not null primary key auto_increment,
setOpen  bool default true,
setPass bool default false,
setSize int(8) default 200,
openArea  char(20) default 'all'
);


>>16Աñ
UserCenterSetting4DeepSoon(
ID int(4) not null primary key auto_increment,
registerOpen  bool default true,
uploadChatHeadOpen bool default true,
uploadFileOpen bool default true,
addArticleOpen bool default true
);


>>17ɼ
CollectRule4DeepSoon(
ID int(8) not null primary key auto_increment,
Title char(50) not null,
CharSet char(50),
ClassID char(20),
EntranceUrl char(250),
ListUrlStart char(250),
ListUrlEnd char(250),
ViewUrlTitleStart char(250),
ViewUrlTitleEnd char(250),
ViewUrlDateStart char(250),
ViewUrlDateEnd char(250),
ViewUrlSourceStart char(250),
ViewUrlSourceEnd char(250),
ViewUrlAuthorStart char(250),
ViewUrlAuthorEnd char(250),
ViewUrlContentStart char(250),
ViewUrlContentEnd char(250)
);


>>18Ա
Group4DeepSoon(
ID int(4) not null primary key auto_increment,
Title char(50) not null,
PreferenceUpdate  bool default true,
LinksAdd bool default true,
LinksDelete bool default true,
LinksUpdate bool default true,
LinksSelect bool default true,
LinksCanVisit bool default true,
LogDelete bool default true,
LogSelect bool default true,
ThemeDelete bool default true,
ThemeUpdate bool default true,
ClassTreeAdd bool default true,
ClassTreeDelete bool default true,
ClassTreeUpdate bool default true,
ClassTreeSelect bool default true,
ArticleAdd bool default true,
ArticleDelete bool default true,
ArticleUpdate bool default true,
ArticleSelect bool default true,
ArticleCheck bool default true,
ArticleSetIndexPic bool default true,
ArticleHeadTitle bool default true,
ArticleRecycle bool default true,
ArticleUploadFile bool default true,
ArticleUploadImg bool default true,
DocumentAdd bool default true,
DocumentDelete bool default true,
DocumentUpdate bool default true,
DocumentSelect bool default true,
DocumentUploadFile bool default true,
DocumentEdit bool default true,
UserAdd bool default true,
UserDelete bool default true,
UserUpdate bool default true,
UserUpdateGroup bool default true,
UserCenterUpdate bool default true,
UserGroupAdd bool default true,
UserGroupDelete bool default true,
UserGroupUpdate bool default true,
UserGroupSelect bool default true,
CommentSettingUpdate bool default true,
CommentSelect bool default true,
CommentDelete bool default true,
CommentCheck bool default true,
FeedBackSettingUpdate bool default true,
FeedBackSelect bool default true,
FeedBackDelete bool default true,
FeedBackCheck bool default true,
CollectRuleAdd bool default true,
CollectRuleDelete bool default true,
CollectRuleUpdate bool default true,
CollectRuleSelect bool default true,
CollectRuleExec bool default true,
MailSetting bool default true
);

>>19
attachmentFile4DeepSoon(
ID int(8) not null primary key auto_increment,
uploadAuthor char(50),
uploadDateStr  timestamp DEFAULT now(),
fileUrl char(250) not null,
ArticleID int(8) not null
);


>>20װϢ
setupInfor4DeepSoon(
ID int(8) not null primary key auto_increment,
UrlStr text,
IPAddress char(50)
);