--
-- PjRen.Net 数据库SQL
-- 生成日期: 2012 年 8 月 31 日 00:00
--

--
-- 数据库: 'PjRen_v2.5'
--

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";

--
-- 表的结构 's_acustom'
--

DROP TABLE IF EXISTS `s_acustom`;

CREATE TABLE `s_acustom` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Name` varchar(100) character set gbk default NULL,
  `S_Url` varchar(255) character set gbk default NULL,
  `S_Code` varchar(50) character set gbk default NULL,
  `S_SourceMode` int(11) NOT NULL default '0',
  `S_SourceName` varchar(255) character set gbk default NULL,
  `S_SourceGo` text character set gbk,
  `S_SourceEnd` text character set gbk,
  `S_Page` int(11) default NULL,
  `S_AutoPageMode` int(11) NOT NULL default '0',
  `S_UrlStr` text character set gbk,
  `S_PageGo` int(11) default '1',
  `S_PageEnd` int(11) default '1',
  `S_Order` varchar(50) character set gbk default NULL,
  `S_AutoSave` int(11) default '0',
  `S_SavePic` int(11) default '0',
  `S_Safe` text character set gbk,
  `S_ListGo` text character set gbk,
  `S_ListEnd` text character set gbk,
  `S_LinkGo` text character set gbk,
  `S_LinkEnd` text character set gbk,
  `S_ArtNameGo` text character set gbk,
  `S_ArtNameEnd` text character set gbk,
  `S_RemarkGo` text character set gbk,
  `S_RemarkEnd` text character set gbk,
  `S_AuthorMode` int(11) NOT NULL default '0',
  `S_AuthorName` varchar(255) character set gbk default NULL,
  `S_AuthorGo` text character set gbk,
  `S_AuthorEnd` text character set gbk,
  `S_PicGo` text character set gbk,
  `S_PageMode` int(11) NOT NULL default '0',
  `S_PageUrlGo` text character set gbk,
  `S_PageUrlEnd` text character set gbk,
  `S_PageListGo` text character set gbk,
  `S_PageListEnd` text character set gbk,
  `S_PicEnd` text character set gbk,
  `S_ClassMode` int(11) default NULL,
  `S_ClassID` int(11) default NULL,
  `S_ClassGo` text character set gbk,
  `S_ClassEnd` text character set gbk,
  `S_ContentGo` text character set gbk,
  `S_ContentEnd` text character set gbk,
  `S_AddTime` datetime default NULL,
  `S_Replace` text character set gbk,
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- 表的结构 's_admin'
--

DROP TABLE IF EXISTS `s_admin`;

CREATE TABLE `s_admin` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_AdminUserName` varchar(64) NOT NULL,
  `S_AdminPassWord` varchar(64) NOT NULL,
  `S_AdminRealName` varchar(255) default NULL,
  `S_AdminTel` varchar(64) default NULL,
  `S_LoginIP` varchar(128) default NULL,
  `S_LoginNum` int(11) default '0',
  `S_LastLogin` datetime default NULL,
  `S_IsLock` int(11) NOT NULL default '0',
  `S_Permission` varchar(128) NOT NULL,
  `S_AdminInfo` text,
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_adsense'
--

DROP TABLE IF EXISTS `s_adsense`;

CREATE TABLE `s_adsense` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Name` varchar(64) NOT NULL,
  `S_GroupID` int(11) NOT NULL default '0',
  `S_TheAdrHtml` text NOT NULL,
  `S_AddTime` date NOT NULL,
  `S_IsUse` int(11) NOT NULL default '0',
  `S_TheAdrJs` text NOT NULL,
  `S_IsFix` int(11) NOT NULL default '0',
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;

--
-- 表的结构 's_adsgroup'
--

DROP TABLE IF EXISTS `s_adsgroup`;

CREATE TABLE `s_adsgroup` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Name` varchar(128) NOT NULL,
  `S_Remark` text,
  `S_IsUse` int(11) NOT NULL default '0',
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_area'
--

DROP TABLE IF EXISTS `s_area`;

CREATE TABLE `s_area` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_AreaName` varchar(64) NOT NULL,
  `S_Language` varchar(64) NOT NULL,
  `S_TheOrder` int(11) NOT NULL default '0',
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_article'
--

DROP TABLE IF EXISTS `s_article`;

CREATE TABLE `s_article` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Name` varchar(255) NOT NULL,
  `S_Keywords` varchar(255) default NULL,
  `S_Color` varchar(8) default NULL,
  `S_Pic` varchar(255) default NULL,
  `S_ClassID` int(11) NOT NULL default '0',
  `S_Topic` int(11) NOT NULL default '0',
  `S_Author` varchar(255) default NULL,
  `S_Source` varchar(255) NOT NULL,
  `S_Remark` varchar(255) default NULL,
  `S_Content` text NOT NULL,
  `S_PageNum` int(11) NOT NULL default '1',
  `S_Hits` int(11) default '1',
  `S_Reco` int(11) NOT NULL default '0',
  `S_IsHide` int(11) NOT NULL default '0',
  `S_AddTime` datetime default NULL,
  `S_Apex` int(11) NOT NULL default '0',
  `S_Tread` int(11) NOT NULL default '0',
  `S_GotoUrl` varchar(255) default NULL,
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_blog'
--

DROP TABLE IF EXISTS `s_blog`;

CREATE TABLE `s_blog` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_User` varchar(64) default NULL,
  `S_Content` varchar(100) default NULL,
  `S_Addtime` datetime default NULL,
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_card'
--

DROP TABLE IF EXISTS `s_card`;

CREATE TABLE `s_card` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_CardNum` varchar(50) default NULL,
  `S_CardPWD` varchar(50) default NULL,
  `S_CardGroup` int(11) default '0',
  `S_CardState` int(11) default '0',
  `S_CardUsed` int(11) default '0',
  `S_RMB` int(11) NOT NULL default '0',
  `S_CardVip` varchar(50) default NULL,
  `S_CardWorth` int(11) default '0',
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


--
-- 表的结构 's_class'
--

DROP TABLE IF EXISTS `s_class`;

CREATE TABLE `s_class` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Name` varchar(255) NOT NULL,
  `S_AliasName` varchar(64) NOT NULL,
  `S_Template` varchar(64) NOT NULL,
  `S_FatherID` int(11) NOT NULL default '0',
  `S_TieID` varchar(255) default NULL,
  `S_SystemID` int(11) NOT NULL default '1',
  `S_TheOrder` int(11) NOT NULL default '0',
  `S_IsHide` int(11) NOT NULL default '0',
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_custom'
--

DROP TABLE IF EXISTS `s_custom`;

CREATE TABLE `s_custom` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Name` varchar(100) character set gbk default NULL,
  `S_Url` varchar(255) character set gbk default NULL,
  `S_Code` varchar(50) character set gbk default NULL,
  `S_Source` varchar(50) character set gbk default NULL,
  `S_Page` int(11) default NULL,
  `S_UrlStr` text character set gbk,
  `S_PageGo` int(11) default '1',
  `S_PageEnd` int(11) default '1',
  `S_Order` varchar(50) character set gbk default NULL,
  `S_AutoSave` int(11) default '0',
  `S_SavePic` int(11) default '0',
  `S_Safe` text character set gbk,
  `S_ListGo` text character set gbk,
  `S_ListEnd` text character set gbk,
  `S_LinkGo` text character set gbk,
  `S_LinkEnd` text character set gbk,
  `S_VideoNameGo` text character set gbk,
  `S_VideoNameEnd` text character set gbk,
  `S_RemarkGo` text character set gbk,
  `S_RemarkEnd` text character set gbk,
  `S_DirectGo` text character set gbk,
  `S_DirectEnd` text character set gbk,
  `S_YearGo` text character set gbk,
  `S_YearEnd` text character set gbk,
  `S_AuthorGo` text character set gbk,
  `S_AuthorEnd` text character set gbk,
  `S_AreaMode` int(11) default NULL,
  `S_AreaName` varchar(50) character set gbk default NULL,
  `S_AreaGo` text character set gbk,
  `S_AreaEnd` text character set gbk,
  `S_PicGo` text character set gbk,
  `S_PicEnd` text character set gbk,
  `S_LanguageMode` int(11) default NULL,
  `S_LanguageName` varchar(50) character set gbk default NULL,
  `S_LanguageGo` text character set gbk,
  `S_LanguageEnd` text character set gbk,
  `S_ClassMode` int(11) default NULL,
  `S_ClassID` int(11) default NULL,
  `S_ClassGo` text character set gbk,
  `S_ClassEnd` text character set gbk,
  `S_ContentGo` text character set gbk,
  `S_ContentEnd` text character set gbk,
  `S_PlayUrlGo` text character set gbk,
  `S_PlayUrlEnd` text character set gbk,
  `S_AddGo` text character set gbk,
  `S_AddEnd` text character set gbk,
  `S_AddMode` int(11) default NULL,
  `S_AddOldStr` varchar(255) character set gbk default NULL,
  `S_AddNewStr` varchar(255) character set gbk default NULL,
  `S_AddTime` datetime default NULL,
  `S_Replace` text character set gbk,
  `S_PlayUrlMode` int(11) default NULL,
  `S_AddPath` varchar(50) character set gbk default NULL,
  `S_PicMode` int(11) NOT NULL default '0',
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


--
-- 表的结构 's_down'
--

DROP TABLE IF EXISTS `s_down`;

CREATE TABLE `s_down` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Name` varchar(50) default NULL,
  `S_Classid` int(11) default '0',
  `S_Djid` int(11) default '0',
  `S_User` varchar(50) default NULL,
  `S_Addtime` datetime default NULL,
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_dt'
--

DROP TABLE IF EXISTS `s_dt`;

CREATE TABLE `s_dt` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Name` varchar(255) default NULL,
  `S_Djid` int(11) default '0',
  `S_Classid` int(11) default '0',
  `S_User` varchar(64) default NULL,
  `S_Xid` int(1) default '0',
  `S_Addtime` datetime default NULL,
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;



--
-- 表的结构 's_friend'
--

DROP TABLE IF EXISTS `s_friend`;

CREATE TABLE `s_friend` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Namea` varchar(50) default NULL,
  `S_Nameb` varchar(50) default NULL,
  `S_Zu` int(11) default '0',
  `S_Lock` int(1) default '0',
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_friendzu'
--

DROP TABLE IF EXISTS `s_friendzu`;

CREATE TABLE `s_friendzu` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Name` varchar(64) default NULL,
  `S_User` varchar(64) default NULL,
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_fs'
--

DROP TABLE IF EXISTS `s_fs`;

CREATE TABLE `s_fs` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Namea` varchar(50) default NULL,
  `S_Nameb` varchar(50) default NULL,
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;



--
-- 表的结构 's_gbook'
--

DROP TABLE IF EXISTS `s_gbook`;

CREATE TABLE `s_gbook` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Namea` varchar(64) NOT NULL,
  `S_Nameb` varchar(64) NOT NULL,
  `S_Content` text NOT NULL,
  `S_IP` varchar(255) default NULL,
  `S_Reply` int(11) NOT NULL default '2',
  `S_ReContent` text,
  `S_AddTime` datetime NOT NULL,
  `S_ReTime` datetime default NULL,
  `S_Shield` int(11) default '0',
  `S_VID` int(11) NOT NULL default '0',
  `S_IsVip` int(11) default '0',
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_label'
--

DROP TABLE IF EXISTS `s_label`;

CREATE TABLE `s_label` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Name` varchar(255) NOT NULL,
  `S_SelfLable` text NOT NULL,
  `S_Remark` varchar(255) default NULL,
  `S_AddTime` date default NULL,
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_link'
--

DROP TABLE IF EXISTS `s_link`;

CREATE TABLE `s_link` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Name` varchar(255) NOT NULL,
  `S_Url` varchar(255) NOT NULL,
  `S_Pic` varchar(255) default NULL,
  `S_ClassID` int(11) NOT NULL,
  `S_InPut` varchar(255) default NULL,
  `S_IsVerify` int(11) NOT NULL default '0',
  `S_IsIndex` int(11) NOT NULL default '0',
  `S_TheOrder` int(11) NOT NULL default '0',
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_look'
--

DROP TABLE IF EXISTS `s_look`;

CREATE TABLE `s_look` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Namea` varchar(64) NOT NULL,
  `S_Nameb` varchar(64) NOT NULL,
  `S_Addtime` datetime NOT NULL,
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_pathip'
--

DROP TABLE IF EXISTS `s_pathip`;

CREATE TABLE `s_pathip` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Name` varchar(255) default NULL,
  `S_AddPath` varchar(255) default NULL,
  `S_DownPath` varchar(100) default NULL,
  `S_TheOrder` int(11) NOT NULL default '0',
  `S_SystemID` int(11) NOT NULL default '0',
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_pay'
--

DROP TABLE IF EXISTS `s_pay`;

CREATE TABLE `s_pay` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Payid` varchar(150) default NULL,
  `S_Payrmb` varchar(50) default NULL,
  `S_Payuser` varchar(64) default NULL,
  `S_Paytime` datetime default NULL,
  `S_Vid` int(1) default '0',
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_pic'
--

DROP TABLE IF EXISTS `s_pic`;

CREATE TABLE `s_pic` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_User` varchar(64) default NULL,
  `S_Content` varchar(100) default NULL,
  `S_Url` varchar(255) default NULL,
  `S_Addtime` datetime default NULL,
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_review'
--

DROP TABLE IF EXISTS `s_review`;

CREATE TABLE `s_review` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Name` varchar(255) NOT NULL,
  `S_Content` text NOT NULL,
  `S_AddTime` datetime default NULL,
  `S_UserIP` varchar(255) default NULL,
  `S_DateID` int(11) NOT NULL default '0',
  `S_SystemID` int(11) NOT NULL default '0',
  `S_Check` int(11) NOT NULL default '0',
  `S_Score` int(11) NOT NULL default '0',
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_skins'
--

DROP TABLE IF EXISTS `s_skins`;

CREATE TABLE `s_skins` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Name` varchar(255) NOT NULL,
  `S_TempPath` text NOT NULL,
  `S_TheOrder` int(11) NOT NULL default '0',
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_stationmes'
--

DROP TABLE IF EXISTS `s_stationmes`;

CREATE TABLE `s_stationmes` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Title` varchar(255) default NULL,
  `S_Content` text,
  `S_Name` text,
  `S_Type` text,
  `S_CreateTime` datetime default NULL,
  `S_Class` int(11) default '0',
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_topic'
--

DROP TABLE IF EXISTS `s_topic`;

CREATE TABLE `s_topic` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Name` varchar(255) NOT NULL,
  `S_Keywords` varchar(255) default NULL,
  `S_Color` varchar(8) default NULL,
  `S_AliasName` varchar(255) NOT NULL,
  `S_Pic` varchar(255) default NULL,
  `S_Template` varchar(128) NOT NULL,
  `S_Remark` varchar(255) default NULL,
  `S_Content` text,
  `S_Reco` int(11) NOT NULL default '0',
  `S_IsHide` int(11) NOT NULL default '0',
  `S_SystemID` int(11) NOT NULL default '1',
  `S_Hits` int(11) NOT NULL default '1',
  `S_Year` varchar(64) default NULL,
  `S_Language` varchar(128) default NULL,
  `S_Area` varchar(128) default NULL,
  `S_Fxgs` varchar(128) default NULL,
  `S_AddTime` datetime default NULL,
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_users'
--

DROP TABLE IF EXISTS `s_users`;

CREATE TABLE `s_users` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Name` varchar(50) default NULL,
  `S_Uid` varchar(150) default NULL,
  `S_Tid` int(11) NOT NULL default '0',
  `S_Reco` int(11) NOT NULL default '0',
  `S_PassWord` varchar(50) default NULL,
  `S_Question` varchar(50) default NULL,
  `S_Answer` varchar(50) default NULL,
  `S_Group` int(11) default '0',
  `S_Type` int(11) default '0',
  `S_LogIP` varchar(50) default NULL,
  `S_LogNum` int(11) default '0',
  `S_LogTime` datetime default NULL,
  `S_CreateTime` date default NULL,
  `S_State` int(11) default '0',
  `S_QQ` varchar(50) default NULL,
  `S_Sex` int(1) NOT NULL default '0',
  `S_City` varchar(50) default NULL,
  `S_Email` varchar(50) default NULL,
  `S_Logo` varchar(255) default NULL,
  `S_Qqid` varchar(255) default NULL,
  `S_RealName` varchar(50) default NULL,
  `S_UseType` int(11) default '0',
  `S_Coin` int(11) default '0',
  `S_RMB` int(11) default '0',
  `S_UseDate` datetime default NULL,
  `S_ChangeTime` date default NULL,
  `S_Hits` int(11) default '0',
  `S_Mbid` varchar(10) default NULL,
  `S_Toppic` varchar(250) default NULL,
  `S_Bgpic` varchar(250) default NULL,
  `S_Qianm` text NOT NULL,
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_usersc'
--

DROP TABLE IF EXISTS `s_usersc`;

CREATE TABLE `s_usersc` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Name` varchar(255) default NULL,
  `S_Classid` int(11) default '0',
  `S_Djid` int(11) default '0',
  `S_User` varchar(64) default NULL,
  `S_Addtime` datetime default NULL,
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_video'
--

DROP TABLE IF EXISTS `s_video`;

CREATE TABLE `s_video` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Name` varchar(255) NOT NULL,
  `S_Keywords` varchar(255) default NULL,
  `S_Color` varchar(8) default NULL,
  `S_Pic` varchar(255) default NULL,
  `S_ClassID` int(11) NOT NULL default '0',
  `S_Topic` int(11) NOT NULL default '0',
  `S_Direct` varchar(255) default NULL,
  `S_Author` varchar(255) default NULL,
  `S_Source` varchar(255) NOT NULL,
  `S_VData` longtext NOT NULL,
  `S_AddPath` varchar(255) default NULL,
  `S_Remark` varchar(255) default NULL,
  `S_Content` text NOT NULL,
  `S_Hits` int(11) default '1',
  `S_Favhits` int(11) default '0',
  `S_Downhits` int(11) default '0',
  `S_Rhits` int(11) default '0',
  `S_Zhits` int(11) default '0',
  `S_Yhits` int(11) default '0',
  `S_Reco` int(11) NOT NULL default '0',
  `S_Year` varchar(64) default NULL,
  `S_Language` varchar(128) default NULL,
  `S_Area` varchar(128) default NULL,
  `S_Error` int(11) NOT NULL default '0',
  `S_IsEnd` int(11) NOT NULL default '0',
  `S_IsHide` int(11) NOT NULL default '0',
  `S_AddTime` datetime default NULL,
  `S_Playtime` datetime default NULL,
  `S_Apex` int(11) NOT NULL default '0',
  `S_Tread` int(11) NOT NULL default '0',
  `S_Dx` varchar(255) default NULL,
  `S_Yz` varchar(255) default NULL,
  `S_Btime` varchar(255) default NULL,
  `S_PurView` varchar(100) default NULL,
  `S_Templay` varchar(64) default 'play.html',
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_xiaoxi'
--

DROP TABLE IF EXISTS `s_xiaoxi`;

CREATE TABLE `s_xiaoxi` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Namea` varchar(64) NOT NULL,
  `S_Nameb` varchar(64) NOT NULL,
  `S_Content` varchar(100) NOT NULL,
  `S_Xid` int(11) default '0',
  `S_Did` int(1) default '0',
  `S_Cid` int(1) default '0',
  `S_Vid` varchar(255) default NULL,
  `S_Addtime` datetime default NULL,
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;


--
-- 表的结构 's_tempart'
--

DROP TABLE IF EXISTS `s_tempart`;
CREATE TABLE `s_tempart` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Name` varchar(255) character set gbk NOT NULL,
  `S_Pic` text character set gbk,
  `S_ClassID` int(11) NOT NULL default '0',
  `S_Topic` int(11) NOT NULL default '0',
  `S_Author` varchar(255) character set gbk NOT NULL default 'δ',
  `S_Source` varchar(255) character set gbk NOT NULL default 'δ',
  `S_Remark` varchar(255) character set gbk NOT NULL default 'δ',
  `S_Content` text character set gbk,
  `S_AddTime` datetime default NULL,
  `S_Cid` int(11) default NULL,
  `S_Url` varchar(255) character set gbk default NULL,
  `S_Status` int(11) default '0',
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


--
-- 表的结构 's_tempvideo'
--

DROP TABLE IF EXISTS `s_tempvideo`;
CREATE TABLE `s_tempvideo` (
  `S_ID` int(11) NOT NULL auto_increment,
  `S_Name` varchar(255) NOT NULL,
  `S_Keywords` varchar(255) default NULL,
  `S_Color` varchar(8) default NULL,
  `S_Pic` varchar(255) default NULL,
  `S_ClassID` int(11) NOT NULL default '0',
  `S_Topic` int(11) NOT NULL default '0',
  `S_Direct` varchar(255) default NULL,
  `S_Author` varchar(255) default NULL,
  `S_Source` varchar(255) NOT NULL,
  `S_VData` longtext NOT NULL,
  `S_AddPath` varchar(255) default NULL,
  `S_Remark` varchar(255) default NULL,
  `S_Content` text NOT NULL,
  `S_Hits` int(11) default '1',
  `S_Reco` int(11) NOT NULL default '0',
  `S_Year` varchar(64) default NULL,
  `S_Language` varchar(128) default NULL,
  `S_Area` varchar(128) default NULL,
  `S_Error` int(11) NOT NULL default '0',
  `S_IsEnd` int(11) NOT NULL default '0',
  `S_IsHide` int(11) NOT NULL default '0',
  `S_AddTime` datetime default NULL,
  `S_Apex` int(11) NOT NULL default '0',
  `S_Tread` int(11) NOT NULL default '0',
  `S_PurView` varchar(100) default NULL,
  `S_Status` int(11) default '0',
  `S_Url` varchar(255) default NULL,
  PRIMARY KEY  (`S_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
