/****** Object:  Table [dbo].[glad2_ad]    Script Date: 2004-11-17 15:51:21 ******/
CREATE TABLE [dbo].[glad2_ad] (
	[id] [bigint] IDENTITY (1, 1) NOT NULL ,
	[title] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[intro] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[url] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[image] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[height] [decimal](6, 0) NULL ,
	[width] [decimal](6, 0) NULL ,
	[img_type] [char] (5) COLLATE Chinese_PRC_CI_AS NULL ,
	[ad_type] [varchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,
	[ctime] [datetime] NULL ,
	[etime] [datetime] NULL ,
	[btimes] [int] NULL ,
	[display] [decimal](11, 0) NULL ,
	[hits] [decimal](11, 0) NULL 
) ON [PRIMARY]
GO

/****** Object:  Table [glad2_articles]    Script Date: 2004-11-17 15:51:21 ******/
CREATE TABLE [glad2_articles] (
	[id] [bigint] IDENTITY (1, 1) NOT NULL ,
	[uid] [bigint] NULL ,
	[cid] [varchar] (11) COLLATE Chinese_PRC_CI_AS NULL ,
	[title] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[intro] [text] COLLATE Chinese_PRC_CI_AS NULL ,
	[content] [text] COLLATE Chinese_PRC_CI_AS NULL ,
	[author] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[source] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[img] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[thumb] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[first] [char] (3) COLLATE Chinese_PRC_CI_AS NULL ,
	[isimg] [char] (3) COLLATE Chinese_PRC_CI_AS NULL ,
	[ctime] [datetime] NULL ,
	[etime] [datetime] NULL ,
	[utime] [datetime] NULL ,
	[voter] [smallint] NULL ,
	[vote] [smallint] NULL ,
	[hits] [smallint] NULL ,
	[active] [char] (3) COLLATE Chinese_PRC_CI_AS NULL ,
	[mark] [char] (3) COLLATE Chinese_PRC_CI_AS NULL 
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO

/****** Object:  Table [glad2_attachment]    Script Date: 2004-11-17 15:51:21 ******/
CREATE TABLE [glad2_attachment] (
	[id] [bigint] IDENTITY (1, 1) NOT NULL ,
	[aid] [bigint] NULL ,
	[title] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[server] [bigint] NULL ,
	[url] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[length] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[size] [decimal](6, 2) NULL ,
	[ctime] [datetime] NULL ,
	[hits] [int] NULL ,
	[ctype] [varchar] (10) COLLATE Chinese_PRC_CI_AS NULL ,
	[point] [int] NULL 
) ON [PRIMARY]
GO

/****** Object:  Table [glad2_attachments]    Script Date: 2004-11-17 15:51:21 ******/
CREATE TABLE [glad2_attachments] (
	[id] [bigint] IDENTITY (1, 1) NOT NULL ,
	[title] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[filesize] [decimal](5, 2) NULL ,
	[filepath] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[filename] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[uid] [bigint] NULL ,
	[ctime] [datetime] NULL 
) ON [PRIMARY]
GO

/****** Object:  Table [glad2_bank_log]    Script Date: 2004-11-17 15:51:21 ******/
CREATE TABLE [glad2_bank_log] (
	[id] [bigint] IDENTITY (1, 1) NOT NULL ,
	[uid] [bigint] NULL ,
	[ctype] [varchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,
	[price] [varchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,
	[ctime] [datetime] NULL ,
	[o_b] [varchar] (10) COLLATE Chinese_PRC_CI_AS NULL 
) ON [PRIMARY]
GO

/****** Object:  Table [glad2_break_links]    Script Date: 2004-11-17 15:51:22 ******/
CREATE TABLE [glad2_break_links] (
	[id] [bigint] IDENTITY (1, 1) NOT NULL ,
	[aid] [bigint] NULL ,
	[uid] [bigint] NULL ,
	[ctime] [datetime] NULL ,
	[content] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[stats] [char] (3) COLLATE Chinese_PRC_CI_AS NULL 
) ON [PRIMARY]
GO
CREATE TABLE [dbo].[glad2_blocks] (
	[id] [bigint] IDENTITY (1, 1) NOT NULL ,
	[title] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[content] [text] COLLATE Chinese_PRC_CI_AS NULL ,
	[ctype] [char] (10) COLLATE Chinese_PRC_CI_AS NULL 
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [glad2_cart]    Script Date: 2004-11-17 15:51:22 ******/
CREATE TABLE [glad2_cart] (
	[id] [bigint] IDENTITY (1, 1) NOT NULL ,
	[oid] [varchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,
	[name] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[email] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[telnum] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
	[rname] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[address] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[rtelnum] [varchar] (40) COLLATE Chinese_PRC_CI_AS NULL ,
	[zip] [varchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,
	[info] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[ctime] [datetime] NULL ,
	[ispay] [char] (3) COLLATE Chinese_PRC_CI_AS NULL ,
	[isover] [char] (3) COLLATE Chinese_PRC_CI_AS NULL 
) ON [PRIMARY]
GO

/****** Object:  Table [glad2_cart_item]    Script Date: 2004-11-17 15:51:22 ******/
CREATE TABLE [dbo].[glad2_cart_item] (
	[oid] [bigint] NULL ,
	[iid] [bigint] NULL ,
	[title] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[price] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
	[num] [int] NULL 
) ON [PRIMARY]
GO

/****** Object:  Table [glad2_category]    Script Date: 2004-11-17 15:51:22 ******/
CREATE TABLE [glad2_category] (
	[id] [bigint] IDENTITY (1, 1) NOT NULL ,
	[title] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[icon] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[english_name] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[pid] [bigint] NULL ,
	[o_num] [int] NULL ,
	[intro] [nvarchar] (16) COLLATE Chinese_PRC_CI_AS NULL ,
	[ctime] [datetime] NULL ,
	[mod] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[cate_template] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[list_template] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[detail_template] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[other_1] [varchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,
	[other_2] [varchar] (6) COLLATE Chinese_PRC_CI_AS NULL ,
	[other_3] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[hits] [smallint] NULL ,
	[page_title] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[page_keyword] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[page_discription] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[page_num] [int] NULL ,
	[page_col] [int] NULL ,
	[status] [char] (3) COLLATE Chinese_PRC_CI_AS NULL 
) ON [PRIMARY]
GO

/****** Object:  Table [glad2_configration]    Script Date: 2004-11-17 15:51:22 ******/
CREATE TABLE [glad2_configration] (
	[conf_id] [int] IDENTITY (1, 1) NOT NULL ,
	[conf_intro] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[conf_title] [varchar] (40) COLLATE Chinese_PRC_CI_AS NULL ,
	[conf_set] [image] NULL ,
	[type] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL 
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO

/****** Object:  Table [glad2_contents]    Script Date: 2004-11-17 15:51:22 ******/
CREATE TABLE [glad2_contents] (
	[id] [bigint] IDENTITY (1, 1) NOT NULL ,
	[aid] [bigint] NULL ,
	[cid] [bigint] NULL ,
	[title] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[content] [text] COLLATE Chinese_PRC_CI_AS NULL ,
	[ctime] [datetime] NULL ,
	[utime] [datetime] NULL ,
	[o_num] [smallint] NULL ,
	[other_1] [varchar] (6) COLLATE Chinese_PRC_CI_AS NULL ,
	[other_2] [varchar] (6) COLLATE Chinese_PRC_CI_AS NULL ,
	[active] [char] (3) COLLATE Chinese_PRC_CI_AS NULL ,
	[hits] [int] NULL 
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO

/****** Object:  Table [glad2_fetch_content]    Script Date: 2004-11-17 15:51:22 ******/
CREATE TABLE [glad2_fetch_content] (
	[id] [bigint] IDENTITY (1, 1) NOT NULL ,
	[s_id] [bigint] NULL ,
	[s_url] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[n_title] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[n_date] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[n_source] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[n_content] [text] COLLATE Chinese_PRC_CI_AS NULL ,
	[isnew] [tinyint] NULL ,
	[ischeck] [tinyint] NULL 
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO

/****** Object:  Table [glad2_fetch_site]    Script Date: 2004-11-17 15:51:22 ******/
CREATE TABLE [glad2_fetch_site] (
	[id] [bigint] IDENTITY (1, 1) NOT NULL ,
	[title] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[intro] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[url] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[news_url] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[update_time] [varchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,
	[update_url] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[l_code] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[p_t_code] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[p_d_code] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[p_s_code] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[p_c_code] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[p_clear_ad_code] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[p_next_code] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[c_url] [char] (4) COLLATE Chinese_PRC_CI_AS NULL ,
	[c_img][char] (4) COLLATE Chinese_PRC_CI_AS NULL ,
	[site_name] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[default_cate] [int] NULL ,
	[isactive] [tinyint] NULL 
) ON [PRIMARY]
GO

/****** Object:  Table [glad2_forum]    Script Date: 2004-11-17 15:51:22 ******/
CREATE TABLE [glad2_forum] (
	[post_id] [bigint] IDENTITY (1, 1) NOT NULL ,
	[post_uid] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
	[post_aid] [bigint] NULL ,
	[post_title] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[post_content] [text] COLLATE Chinese_PRC_CI_AS NULL ,
	[post_date] [varchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,
	[post_type] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL 
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO

/****** Object:  Table [glad2_group_right]    Script Date: 2004-11-17 15:51:22 ******/
CREATE TABLE [glad2_group_right] (
	[gid] [bigint] NULL ,
	[cid] [bigint] NULL ,
	[gright] [varchar] (20) COLLATE Chinese_PRC_CI_AS NULL 
) ON [PRIMARY]
GO

/****** Object:  Table [glad2_images]    Script Date: 2004-11-17 15:51:22 ******/
CREATE TABLE [glad2_images] (
	[id] [int] IDENTITY (1, 1) NOT NULL ,
	[aid] [int] NULL ,
	[name] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[image] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[thumb] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[size] [varchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,
	[hits] [int] NULL ,
	[ot1] [int] NULL ,
	[ot2] [int] NULL 
) ON [PRIMARY]
GO

/****** Object:  Table [glad2_link]    Script Date: 2004-11-17 15:51:22 ******/
CREATE TABLE [glad2_link] (
	[id] [int] IDENTITY (1, 1) NOT NULL ,
	[title] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[icon] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[url] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[ctime] [datetime] NULL ,
	[hits] [int] NULL 
) ON [PRIMARY]
GO

/****** Object:  Table [glad2_poll]    Script Date: 2004-11-17 15:51:22 ******/
CREATE TABLE [glad2_poll] (
	[id] [decimal](11, 0) IDENTITY (1, 1) NOT NULL ,
	[title] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[intro] [text] COLLATE Chinese_PRC_CI_AS NULL ,
	[ctime] [datetime] NULL ,
	[etime] [datetime] NULL ,
	[polltype] [char] (6) COLLATE Chinese_PRC_CI_AS NULL ,
	[pollnum] [decimal](6, 0) NULL ,
	[voter] [decimal](6, 0) NULL 
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO

/****** Object:  Table [glad2_poll_data]    Script Date: 2004-11-17 15:51:22 ******/
CREATE TABLE [glad2_poll_data] (
	[id] [bigint] IDENTITY (1, 1) NOT NULL ,
	[pid] [bigint] NULL ,
	[content] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[vote] [decimal](6, 0) NULL 
) ON [PRIMARY]
GO

/****** Object:  Table [glad2_server]    Script Date: 2004-11-17 15:51:22 ******/
CREATE TABLE [glad2_server] (
	[id] [int] IDENTITY (1, 1) NOT NULL ,
	[title] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[host] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[uname] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[password] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[port] [int] NULL ,
	[utime] [datetime] NULL ,
	[serv_url] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[ctype] [char] (4) COLLATE Chinese_PRC_CI_AS NULL 
) ON [PRIMARY]
GO

/****** Object:  Table [glad2_sessions]    Script Date: 2004-11-17 15:51:22 ******/
CREATE TABLE [glad2_sessions] (
	[id] [varchar] (32) COLLATE Chinese_PRC_CI_AS NOT NULL ,
	[member_name] [varchar] (64) COLLATE Chinese_PRC_CI_AS NULL ,
	[member_id] [int] NULL ,
	[ip_address] [varchar] (16) COLLATE Chinese_PRC_CI_AS NULL ,
	[running_time] [varchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,
	[login_type] [varchar] (8) COLLATE Chinese_PRC_CI_AS NULL 
) ON [PRIMARY]
GO

/****** Object:  Table [glad2_topic_links]    Script Date: 2004-11-17 15:51:22 ******/
CREATE TABLE [glad2_topic_links] (
	[id] [bigint] NOT NULL ,
	[tid] [bigint] NULL ,
	[aid] [bigint] NULL 
) ON [PRIMARY]
GO

/****** Object:  Table [glad2_topics]    Script Date: 2004-11-17 15:51:22 ******/
CREATE TABLE [glad2_topics] (
	[id] [bigint] IDENTITY (1, 1) NOT NULL ,
	[title] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[intro] [text] COLLATE Chinese_PRC_CI_AS NULL ,
	[image] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[hits] [int] NULL ,
	[ctime] [datetime] NULL 
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO

/****** Object:  Table [glad2_user_extra]    Script Date: 2004-11-17 15:51:22 ******/
CREATE TABLE [glad2_user_extra] (
	[id] [bigint] NULL ,
	[level] [varchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,
	[stime] [datetime] NULL ,
	[etime] [datetime] NULL ,
	[question] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[answer] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[point] [int] NULL ,
	[user_type] [varchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,
	[ccc] [char] (3) COLLATE Chinese_PRC_CI_AS NULL ,
	[ddd] [char] (3) COLLATE Chinese_PRC_CI_AS NULL 
) ON [PRIMARY]
GO

/****** Object:  Table [glad2_user_log]    Script Date: 2004-11-17 15:51:22 ******/
CREATE TABLE [glad2_user_log] (
	[id] [bigint] NULL ,
	[aid] [bigint] NULL ,
	[atid] [bigint] NULL ,
	[uid] [bigint] NULL ,
	[ctime] [datetime] NULL ,
	[point] [int] NULL 
) ON [PRIMARY]
GO

/****** Object:  Table [glad2_user_right]    Script Date: 2004-11-17 15:51:22 ******/
CREATE TABLE [glad2_user_right] (
	[uid] [bigint] NULL ,
	[cid] [bigint] NULL ,
	[uright] [varchar] (20) COLLATE Chinese_PRC_CI_AS NULL 
) ON [PRIMARY]
GO

/****** Object:  Table [glad2_users]    Script Date: 2004-11-17 15:51:22 ******/
CREATE TABLE [glad2_users] (
	[uid] [int] IDENTITY (1, 1) NOT NULL ,
	[username] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[password] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[email] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL 
) ON [PRIMARY]
GO
CREATE TABLE [glad2_keyword_links] (
	[id] [bigint] IDENTITY (1, 1) NOT NULL ,
	[kid] [bigint] NULL ,
	[aid] [bigint] NULL 
) ON [PRIMARY]
GO

CREATE TABLE [glad2_keyword] (
	[id] [int] IDENTITY (1, 1) NOT NULL ,
	[title] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
	[intro] [text] COLLATE Chinese_PRC_CI_AS NULL ,
	[image] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
	[hits] [int] NULL ,
	[ctime] [datetime] NULL 
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ('站点名称', 'site_name', '门道网', 'system');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ('站点模板', 'site_template', 'default', 'system');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ('站点Email', 'site_email', 'muyu@cncms.org', 'system');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ('超时设定', 'expire_time', '15', 'system');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ('版权信息', 'site_license', 'Powerby www.mentor.cn', 'system');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ('图片存放目录', 'image_path', 'upload/images', 'image');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ('图片缩略图大小', 'image_thumb_size', '100x100', 'image');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ('允许图片类型', 'accept_image_type', 'bmp|jpeg|jpg|gif|png|swf', 'image');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ('附件存放目录', 'attach_path', 'upload/file', 'attach');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ( '附件大小限制', 'accept_attach_size', '2040000', 'attach');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ( '允许附件类型', 'accept_attach_type', 'zip|rar|tar|gz|doc|xls|db|txt|gz|bmp|jpg|jpeg|png|gif|', 'attach');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ( '站点模板', 'site_template', 'company_008', 'template');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ( '默认栏目模板', 'default_category_template', 'index.tpl', 'template');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ( '默认列表模板', 'default_list_template', 'default.tpl', 'template');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ( '默认页面模板', 'default_detail_template', 'index.tpl', 'template');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ( '生成缩略图方式', 'thumb_method', 'GD', 'image');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ( '发送mail方式', 'mail_method', 'smtp', 'system');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ( '是否开放注册', 'allow_register', 'yes', 'system');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ( '是否开放站点', 'is_open', 'yes', 'system');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ( '站点关闭原因', 'site_close_reason', '站点升级中,请稍后访问', 'system');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ( 'SMTP服务器地址', 'smtp_host', 'localhost', 'system');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ( 'smtp端口', 'smtp_port', '25', 'system');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ( '图片大小限制(字节)', 'image_file_size', '20400000', 'image');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ( '图片尺寸限制(长x宽)', 'image_size', '800x800', 'image');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ( '输出html', 'outhtml', 'no', 'system');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ( '静态页面存放位置', 'html_path', 'web/', 'system');
INSERT INTO glad2_configration (conf_intro, conf_title, conf_set, type) VALUES ( '静态文件后缀', 'html_ext', 'html', 'system');
INSERT INTO glad2_users ( username, password, email) VALUES ('admin', '21232f297a57a5a743894a0e4a801fc3', 'cngun@163.com');      