-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathatc_now.sql
469 lines (413 loc) · 23.7 KB
/
atc_now.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
-- --------------------------------------------------------
-- Host: 127.0.0.1
-- Server version: 5.5.16 - Source distribution
-- Server OS: Linux
-- HeidiSQL version: 7.0.0.4053
-- Date/time: 2012-07-24 10:20:52
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET FOREIGN_KEY_CHECKS=0 */;
-- Dumping database structure for atc
CREATE DATABASE IF NOT EXISTS `atc` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `atc`;
-- Dumping structure for table atc.dili_admins
CREATE TABLE IF NOT EXISTS `dili_admins` (
`uid` int(10) unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(16) NOT NULL,
`password` varchar(32) NOT NULL,
`email` varchar(100) NOT NULL,
`role` smallint(5) unsigned DEFAULT NULL,
PRIMARY KEY (`uid`),
UNIQUE KEY `username` (`username`),
KEY `group` (`role`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
-- Dumping data for table atc.dili_admins: 2 rows
/*!40000 ALTER TABLE `dili_admins` DISABLE KEYS */;
INSERT INTO `dili_admins` (`uid`, `username`, `password`, `email`, `role`) VALUES
(1, 'admin', 'aebcf178d597d93ff848fd2d6331d5e7', 'dili@cms.com', 1),
(2, '黎明元', 'de9f6bc24ccc080c10a7c25f8cf937ff', 'dahuangfeng@163.com', 2);
/*!40000 ALTER TABLE `dili_admins` ENABLE KEYS */;
-- Dumping structure for table atc.dili_attachments
CREATE TABLE IF NOT EXISTS `dili_attachments` (
`aid` int(10) NOT NULL AUTO_INCREMENT,
`uid` smallint(10) NOT NULL DEFAULT '0',
`model` mediumint(10) DEFAULT '0',
`from` tinyint(1) DEFAULT '0' COMMENT '0:content model,1:cate model',
`content` int(10) DEFAULT '0',
`name` varchar(30) DEFAULT NULL,
`folder` varchar(15) DEFAULT NULL,
`realname` varchar(50) DEFAULT NULL,
`type` varchar(10) DEFAULT NULL,
`image` tinyint(1) DEFAULT '0',
`posttime` int(11) DEFAULT '0',
PRIMARY KEY (`aid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- Dumping data for table atc.dili_attachments: 0 rows
/*!40000 ALTER TABLE `dili_attachments` DISABLE KEYS */;
/*!40000 ALTER TABLE `dili_attachments` ENABLE KEYS */;
-- Dumping structure for table atc.dili_backend_settings
CREATE TABLE IF NOT EXISTS `dili_backend_settings` (
`backend_theme` varchar(15) DEFAULT NULL,
`backend_lang` varchar(10) DEFAULT NULL,
`backend_root_access` tinyint(1) unsigned DEFAULT '1',
`backend_access_point` varchar(20) DEFAULT 'admin',
`backend_title` varchar(100) DEFAULT 'DiliCMS后台管理',
`backend_logo` varchar(100) DEFAULT 'images/logo.gif'
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- Dumping data for table atc.dili_backend_settings: 1 rows
/*!40000 ALTER TABLE `dili_backend_settings` DISABLE KEYS */;
INSERT INTO `dili_backend_settings` (`backend_theme`, `backend_lang`, `backend_root_access`, `backend_access_point`, `backend_title`, `backend_logo`) VALUES
('default', 'zh-cn', 1, 'admin', '山东理工大学分析测试中心', 'images/logo.gif');
/*!40000 ALTER TABLE `dili_backend_settings` ENABLE KEYS */;
-- Dumping structure for table atc.dili_cate_fields
CREATE TABLE IF NOT EXISTS `dili_cate_fields` (
`id` mediumint(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(20) DEFAULT NULL,
`description` varchar(40) DEFAULT NULL,
`model` smallint(10) unsigned DEFAULT NULL,
`type` varchar(20) DEFAULT NULL,
`length` smallint(10) unsigned DEFAULT NULL,
`values` tinytext,
`width` smallint(10) DEFAULT NULL,
`height` smallint(10) DEFAULT NULL,
`rules` tinytext,
`ruledescription` tinytext,
`searchable` tinyint(1) unsigned DEFAULT NULL,
`listable` tinyint(1) unsigned DEFAULT NULL,
`order` int(5) unsigned DEFAULT NULL,
`editable` tinyint(1) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`,`model`),
KEY `model` (`model`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- Dumping data for table atc.dili_cate_fields: 1 rows
/*!40000 ALTER TABLE `dili_cate_fields` DISABLE KEYS */;
INSERT INTO `dili_cate_fields` (`id`, `name`, `description`, `model`, `type`, `length`, `values`, `width`, `height`, `rules`, `ruledescription`, `searchable`, `listable`, `order`, `editable`) VALUES
(1, 'catname', '分类名称', 1, 'input', 50, '', 200, 20, 'required', '', 0, 1, 0, 1);
/*!40000 ALTER TABLE `dili_cate_fields` ENABLE KEYS */;
-- Dumping structure for table atc.dili_cate_models
CREATE TABLE IF NOT EXISTS `dili_cate_models` (
`id` mediumint(10) NOT NULL AUTO_INCREMENT,
`name` varchar(20) NOT NULL,
`description` varchar(40) NOT NULL,
`perpage` varchar(2) NOT NULL,
`level` tinyint(2) unsigned NOT NULL DEFAULT '1',
`hasattach` tinyint(1) NOT NULL DEFAULT '0',
`built_in` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- Dumping data for table atc.dili_cate_models: 1 rows
/*!40000 ALTER TABLE `dili_cate_models` DISABLE KEYS */;
INSERT INTO `dili_cate_models` (`id`, `name`, `description`, `perpage`, `level`, `hasattach`, `built_in`) VALUES
(1, 'art_cat', '文章分类模块', '15', 1, 0, 0);
/*!40000 ALTER TABLE `dili_cate_models` ENABLE KEYS */;
-- Dumping structure for table atc.dili_fieldtypes
CREATE TABLE IF NOT EXISTS `dili_fieldtypes` (
`k` varchar(20) NOT NULL,
`v` varchar(20) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- Dumping data for table atc.dili_fieldtypes: 15 rows
/*!40000 ALTER TABLE `dili_fieldtypes` DISABLE KEYS */;
INSERT INTO `dili_fieldtypes` (`k`, `v`) VALUES
('int', '整形(INT)'),
('float', '浮点型(FLOAT)'),
('input', '单行文本框(VARCHAR)'),
('textarea', '文本区域(VARCHAR)'),
('select', '下拉菜单(VARCHAR)'),
('select_from_model', '下拉菜单(模型数据)(INT)'),
('linked_menu', '联动下拉菜单(VARCHAR)'),
('radio', '单选按钮(VARCHAR)'),
('radio_from_model', '单选按钮(模型数据)(INT)'),
('checkbox', '复选框(VARCHAR)'),
('checkbox_from_model', '复选框(模型数据)(VARCHAR)'),
('wysiwyg', '编辑器(TEXT)'),
('wysiwyg_basic', '编辑器(简)(TEXT)'),
('datetime', '日期时间(VARCHAR)'),
('colorpicker', '颜色选择器(VARCHAR)');
/*!40000 ALTER TABLE `dili_fieldtypes` ENABLE KEYS */;
-- Dumping structure for table atc.dili_menus
CREATE TABLE IF NOT EXISTS `dili_menus` (
`menu_id` tinyint(10) unsigned NOT NULL AUTO_INCREMENT,
`class_name` varchar(20) NOT NULL,
`method_name` varchar(30) NOT NULL,
`menu_name` varchar(20) NOT NULL,
`menu_level` tinyint(2) unsigned DEFAULT '0',
`menu_parent` tinyint(10) unsigned DEFAULT '0',
PRIMARY KEY (`menu_id`)
) ENGINE=MyISAM AUTO_INCREMENT=21 DEFAULT CHARSET=utf8;
-- Dumping data for table atc.dili_menus: 20 rows
/*!40000 ALTER TABLE `dili_menus` DISABLE KEYS */;
INSERT INTO `dili_menus` (`menu_id`, `class_name`, `method_name`, `menu_name`, `menu_level`, `menu_parent`) VALUES
(1, 'system', 'home', '系统', 0, 0),
(2, 'system', 'home', '后台首页', 1, 1),
(3, 'system', 'home', '后台首页', 2, 2),
(4, 'setting', 'site', '系统设置', 1, 1),
(5, 'setting', 'site', '站点设置', 2, 4),
(6, 'setting', 'backend', '后台设置', 2, 4),
(7, 'system', 'password', '修改密码', 2, 4),
(8, 'system', 'cache', '更新缓存', 2, 4),
(9, 'model', 'view', '模型管理', 1, 1),
(10, 'model', 'view', '内容模型管理', 2, 9),
(11, 'category', 'view', '分类模型管理', 2, 9),
(12, 'plugin', 'view', '插件管理', 1, 1),
(13, 'plugin', 'view', '插件管理', 2, 12),
(14, 'role', 'view', '权限管理', 1, 1),
(15, 'role', 'view', '用户组管理', 2, 14),
(16, 'user', 'view', '用户管理', 2, 14),
(17, 'content', 'view', '内容管理', 0, 0),
(18, 'content', 'view', '内容管理', 1, 17),
(19, 'category_content', 'view', '分类管理', 1, 17),
(20, 'module', 'run', '工具', 0, 0);
/*!40000 ALTER TABLE `dili_menus` ENABLE KEYS */;
-- Dumping structure for table atc.dili_models
CREATE TABLE IF NOT EXISTS `dili_models` (
`id` smallint(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(20) NOT NULL,
`description` varchar(50) NOT NULL,
`perpage` varchar(2) NOT NULL DEFAULT '10',
`hasattach` tinyint(1) unsigned NOT NULL DEFAULT '0',
`built_in` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
-- Dumping data for table atc.dili_models: 2 rows
/*!40000 ALTER TABLE `dili_models` DISABLE KEYS */;
INSERT INTO `dili_models` (`id`, `name`, `description`, `perpage`, `hasattach`, `built_in`) VALUES
(1, 'article', '文章管理模块', '20', 1, 0),
(2, 'repairs', '设备报修模块', '20', 1, 0);
/*!40000 ALTER TABLE `dili_models` ENABLE KEYS */;
-- Dumping structure for table atc.dili_model_fields
CREATE TABLE IF NOT EXISTS `dili_model_fields` (
`id` mediumint(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(20) NOT NULL,
`description` varchar(40) NOT NULL,
`model` smallint(10) unsigned NOT NULL DEFAULT '0',
`type` varchar(20) DEFAULT NULL,
`length` smallint(10) unsigned DEFAULT NULL,
`values` tinytext NOT NULL,
`width` smallint(10) unsigned NOT NULL,
`height` smallint(10) unsigned NOT NULL,
`rules` tinytext NOT NULL,
`ruledescription` tinytext NOT NULL,
`searchable` tinyint(1) unsigned NOT NULL,
`listable` tinyint(1) unsigned NOT NULL,
`order` int(5) unsigned DEFAULT NULL,
`editable` tinyint(1) unsigned DEFAULT '1',
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`,`model`),
KEY `model` (`model`)
) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
-- Dumping data for table atc.dili_model_fields: 7 rows
/*!40000 ALTER TABLE `dili_model_fields` DISABLE KEYS */;
INSERT INTO `dili_model_fields` (`id`, `name`, `description`, `model`, `type`, `length`, `values`, `width`, `height`, `rules`, `ruledescription`, `searchable`, `listable`, `order`, `editable`) VALUES
(1, 'classid', '文章分类', 1, 'select_from_model', 0, 'art_cat|catname', 400, 20, 'required', '', 0, 1, 2, 1),
(2, 'content', '文章内容', 1, 'wysiwyg', 0, '', 600, 300, 'required', '', 0, 0, 3, 1),
(3, 'title', '标题', 1, 'input', 120, '', 600, 20, 'required', '', 1, 1, 1, 1),
(4, 'equip_name', '设备名称', 2, 'input', 0, '', 200, 20, 'required', '', 1, 1, 0, 1),
(6, 'person', '报修人', 2, 'input', 0, '', 200, 20, '', '', 0, 1, 0, 1),
(7, 'reason', '报修原因', 2, 'textarea', 0, '', 600, 60, 'required', '', 0, 1, 0, 1),
(9, 'status', '维修状态', 2, 'select', 0, '未维修|已维修', 200, 20, 'required', '', 1, 1, 0, 1);
/*!40000 ALTER TABLE `dili_model_fields` ENABLE KEYS */;
-- Dumping structure for table atc.dili_plugins
CREATE TABLE IF NOT EXISTS `dili_plugins` (
`id` int(5) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(20) NOT NULL,
`version` varchar(5) NOT NULL,
`title` varchar(50) NOT NULL,
`description` varchar(200) NOT NULL,
`author` varchar(20) NOT NULL,
`link` varchar(100) NOT NULL,
`copyrights` varchar(100) NOT NULL,
`access` tinyint(1) unsigned NOT NULL DEFAULT '1',
`active` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- Dumping data for table atc.dili_plugins: 0 rows
/*!40000 ALTER TABLE `dili_plugins` DISABLE KEYS */;
/*!40000 ALTER TABLE `dili_plugins` ENABLE KEYS */;
-- Dumping structure for table atc.dili_rights
CREATE TABLE IF NOT EXISTS `dili_rights` (
`right_id` tinyint(10) unsigned NOT NULL AUTO_INCREMENT,
`right_name` varchar(30) DEFAULT NULL,
`right_class` varchar(30) DEFAULT NULL,
`right_method` varchar(30) DEFAULT NULL,
`right_detail` varchar(10) DEFAULT NULL,
PRIMARY KEY (`right_id`)
) ENGINE=MyISAM AUTO_INCREMENT=50 DEFAULT CHARSET=utf8;
-- Dumping data for table atc.dili_rights: 49 rows
/*!40000 ALTER TABLE `dili_rights` DISABLE KEYS */;
INSERT INTO `dili_rights` (`right_id`, `right_name`, `right_class`, `right_method`, `right_detail`) VALUES
(1, '密码修改', 'system', 'password', NULL),
(2, '更新缓存', 'system', 'cache', NULL),
(3, ' 站点设置', 'setting', 'site', NULL),
(4, '后台设置', 'setting', 'backend', NULL),
(5, '插件管理[列表]', 'plugin', 'view', NULL),
(6, '添加插件', 'plugin', 'add', NULL),
(7, '修改插件', 'plugin', 'edit', NULL),
(8, '卸载插件', 'plugin', 'del', NULL),
(9, '导出插件', 'plugin', 'export', NULL),
(10, '导入插件', 'plugin', 'import', NULL),
(11, '激活插件', 'plugin', 'active', NULL),
(12, '禁用插件', 'plugin', 'deactive', NULL),
(13, '运行插件', 'module', 'run', NULL),
(14, '内容模型管理[列表]', 'model', 'view', NULL),
(15, '添加内容模型', 'model', 'add', NULL),
(16, '修改内容模型', 'model', 'edit', NULL),
(17, '删除内容模型', 'model', 'del', NULL),
(18, '内容模型字段管理[列表]', 'model', 'fields', NULL),
(19, '添加内容模型字段', 'model', 'add_filed', NULL),
(20, '修改内容模型字段', 'model', 'edit_field', NULL),
(21, '删除内容模型字段', 'model', 'del_field', NULL),
(22, '分类模型管理[列表]', 'category', 'view', NULL),
(23, '添加分类模型', 'category', 'add', NULL),
(24, '修改分类模型', 'category', 'edit', NULL),
(25, '删除分类模型', 'category', 'del', NULL),
(26, '分类模型字段管理[列表]', 'category', 'fields', NULL),
(27, '添加分类模型字段', 'category', 'add_filed', NULL),
(28, '修改分类模型字段', 'category', 'edit_field', NULL),
(29, '删除分类模型字段', 'category', 'del_field', NULL),
(30, '内容管理[列表]', 'content', 'view', NULL),
(31, '添加内容[表单]', 'content', 'form', 'add'),
(32, '修改内容[表单]', 'content', 'form', 'edit'),
(33, '添加内容[动作]', 'content', 'save', 'add'),
(34, '修改内容[动作]', 'content', 'save', 'edit'),
(35, '删除内容', 'content', 'del', NULL),
(36, '分类管理[列表]', 'category_content', 'view', NULL),
(37, '添加分类[表单]', 'category_content', 'form', 'add'),
(38, '修改分类[表单]', 'category_content', 'form', 'edit'),
(39, '添加分类[动作]', 'category_content', 'save', 'add'),
(40, '修改分类[动作]', 'category_content', 'save', 'edit'),
(41, '删除分类', 'category_content', 'del', NULL),
(42, '用户组管理[列表]', 'role', 'view', NULL),
(43, '添加用户组', 'role', 'add', NULL),
(44, '修改用户组', 'role', 'edit', NULL),
(45, '删除用户组', 'role', 'del', NULL),
(46, '用户管理[列表]', 'user', 'view', NULL),
(47, '添加用户', 'user', 'add', NULL),
(48, '修改用户', 'user', 'edit', NULL),
(49, '删除用户', 'user', 'del', NULL);
/*!40000 ALTER TABLE `dili_rights` ENABLE KEYS */;
-- Dumping structure for table atc.dili_roles
CREATE TABLE IF NOT EXISTS `dili_roles` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(20) NOT NULL,
`rights` varchar(255) NOT NULL,
`models` varchar(255) NOT NULL,
`category_models` varchar(255) NOT NULL,
`plugins` varchar(255) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
-- Dumping data for table atc.dili_roles: 2 rows
/*!40000 ALTER TABLE `dili_roles` DISABLE KEYS */;
INSERT INTO `dili_roles` (`id`, `name`, `rights`, `models`, `category_models`, `plugins`) VALUES
(1, 'root', '', '', '', ''),
(2, 'atc_persons', '1,2,3,30,31,32,33,34,35,36,37,38,39,40,41', 'article,repairs', 'art_cat', '0');
/*!40000 ALTER TABLE `dili_roles` ENABLE KEYS */;
-- Dumping structure for table atc.dili_sessions
CREATE TABLE IF NOT EXISTS `dili_sessions` (
`session_id` varchar(40) NOT NULL DEFAULT '0',
`ip_address` varchar(16) NOT NULL DEFAULT '0',
`user_agent` varchar(120) NOT NULL,
`last_activity` int(10) unsigned NOT NULL DEFAULT '0',
`user_data` text NOT NULL,
PRIMARY KEY (`session_id`),
KEY `last_activity_idx` (`last_activity`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- Dumping data for table atc.dili_sessions: 2 rows
/*!40000 ALTER TABLE `dili_sessions` DISABLE KEYS */;
INSERT INTO `dili_sessions` (`session_id`, `ip_address`, `user_agent`, `last_activity`, `user_data`) VALUES
('59eaf711673572b4fdb50a5f50ba6860', '127.0.0.1', 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.19 (K', 1342938987, ''),
('c8e9cadebae9770cc2d28d8419c98306', '127.0.0.1', 'Mozilla/5.0 (X11; Linux i686) AppleWebKit/536.5 (K', 1342941343, 'a:1:{s:3:"uid";s:1:"1";}');
/*!40000 ALTER TABLE `dili_sessions` ENABLE KEYS */;
-- Dumping structure for table atc.dili_site_settings
CREATE TABLE IF NOT EXISTS `dili_site_settings` (
`site_name` varchar(50) DEFAULT NULL,
`site_domain` varchar(50) DEFAULT NULL,
`site_logo` varchar(50) DEFAULT NULL,
`site_icp` varchar(50) DEFAULT NULL,
`site_terms` text,
`site_stats` varchar(200) DEFAULT NULL,
`site_footer` varchar(500) DEFAULT NULL,
`site_status` tinyint(1) DEFAULT '1',
`site_close_reason` varchar(200) DEFAULT NULL,
`site_keyword` varchar(200) DEFAULT NULL,
`site_description` varchar(200) DEFAULT NULL,
`site_theme` varchar(20) DEFAULT NULL,
`attachment_dir` varchar(20) DEFAULT NULL,
`attachment_type` varchar(50) DEFAULT NULL,
`attachment_maxupload` varchar(20) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- Dumping data for table atc.dili_site_settings: 1 rows
/*!40000 ALTER TABLE `dili_site_settings` DISABLE KEYS */;
INSERT INTO `dili_site_settings` (`site_name`, `site_domain`, `site_logo`, `site_icp`, `site_terms`, `site_stats`, `site_footer`, `site_status`, `site_close_reason`, `site_keyword`, `site_description`, `site_theme`, `attachment_dir`, `attachment_type`, `attachment_maxupload`) VALUES
('山东理工大学分析测试中心', '', 'images/logo.gif', '', '', '', '', 1, '网站维护升级中......', '分析测试中心', '山东理工大学分析 测试中心', 'default', 'attachments', '*.jpg;*.gif;*.png', '2097152');
/*!40000 ALTER TABLE `dili_site_settings` ENABLE KEYS */;
-- Dumping structure for table atc.dili_u_c_art_cat
CREATE TABLE IF NOT EXISTS `dili_u_c_art_cat` (
`classid` int(5) unsigned NOT NULL AUTO_INCREMENT,
`parentid` int(5) unsigned NOT NULL DEFAULT '0',
`level` int(2) unsigned NOT NULL DEFAULT '1',
`path` varchar(50) NOT NULL,
`catname` varchar(50) NOT NULL DEFAULT '',
PRIMARY KEY (`classid`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
-- Dumping data for table atc.dili_u_c_art_cat: 3 rows
/*!40000 ALTER TABLE `dili_u_c_art_cat` DISABLE KEYS */;
INSERT INTO `dili_u_c_art_cat` (`classid`, `parentid`, `level`, `path`, `catname`) VALUES
(1, 0, 1, '', '中心简介'),
(2, 0, 1, '', '计量认证'),
(3, 0, 1, '', '通知公告');
/*!40000 ALTER TABLE `dili_u_c_art_cat` ENABLE KEYS */;
-- Dumping structure for table atc.dili_u_m_article
CREATE TABLE IF NOT EXISTS `dili_u_m_article` (
`id` int(9) NOT NULL AUTO_INCREMENT,
`title` varchar(120) NOT NULL DEFAULT '',
`classid` int(10) NOT NULL DEFAULT '0',
`content` text NOT NULL,
`create_time` int(10) unsigned NOT NULL,
`update_time` int(10) unsigned NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
-- Dumping data for table atc.dili_u_m_article: 6 rows
/*!40000 ALTER TABLE `dili_u_m_article` DISABLE KEYS */;
INSERT INTO `dili_u_m_article` (`id`, `title`, `classid`, `content`, `create_time`, `update_time`) VALUES
(1, '我是一个特别长的标题', 2, '<ul style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; ">在 2012年7月19日 上午11:04,Phenix Yang <<a href="mailto:phenix.python@gmail.com" target="_blank" style="color: rgb(17, 85, 204); ">phenix.python@gmail.com>写道:<br /> <br />> 其实也就是3个而已。。。。 T^T<br /> <br />不少了~~ 我们老家的重工业企业 一年的工伤死亡指标也就是1-2个而已~ 您同事看到了都3位了~<br /> <br /> <br /></a><p> </p><!--<a--></ul><ul style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; "><a href="mailto:phenix.python@gmail.com" target="_blank" style="color: rgb(17, 85, 204); ">Phenix Yang <</a><a href="mailto:phenix.python@gmail.com" target="_blank" style="color: rgb(17, 85, 204); ">phenix.python@gmail.com> Jul 19 11:11AM +0800 <br /><br />不是一个同事,是三个同事说过这样的~<br /> <br />在 2012年7月19日 上午11:06,qihang zhang <</a><a href="mailto:qihangzp@gmail.com" target="_blank" style="color: rgb(17, 85, 204); ">qihangzp@gmail.com>写道:<br /> <br /> <br />-- <br />*Phenix Yang*<br />*<br />*<br />Bazinga~ ◐▽◑<br /></a><p> </p><!--<a--><!--<a--></ul>', 1342837335, 1342839547),
(2, '中心概况', 1, '大水法;桑德菲杰;山东龙口风间爱;流口水;阿萨来得及发生的飞洒大发生大发生大发生大发生艾丝凡阿斯顿发生发生发生发阿斯顿发生的发<img alt="大笑" src="/atc/admincp/default/js/xheditor/xheditor_emot/default/laugh.gif" />生阿斯顿发', 1342838245, 1342838245),
(3, 'iueit', 1, 'dsfasdfa<img alt="大笑" src="/atc/admincp/default/js/xheditor/xheditor_emot/default/laugh.gif" /><img alt="惊恐" src="/atc/admincp/default/js/xheditor/xheditor_emot/default/panic.gif" /><img alt="敲打" src="/atc/admincp/default/js/xheditor/xheditor_emot/default/knock.gif" />fasdf sadf asdf asdf asdf ', 1342863464, 1342863464),
(4, '下午4点开会', 3, '下午4点开会下午4点开会下午4点开会下午4点开会下午4点开会下午4点开会下午4点开会下午4点开会下午4点开会下午4点开会下午4点开会下午4点开会下午4点开会下午4点开会下午4点开会下午4点开会下午4点开会下午4点开会下午4点开会下午4点开会下午4点开会下午4点开会下午4点开会下午4点开会<img alt="大笑" src="/atc/admincp/default/js/xheditor/xheditor_emot/default/laugh.gif" />', 1342873274, 1342873274),
(5, '一条通知', 3, '大水法四谛法孙大圣大发生大发生大发生地方萨芬倒萨水电费撒旦发生的发 ', 1342873287, 1342873287),
(6, '关于采购新设备的投票', 3, 'ads发放水电费isa定风翼外婆厄运忒王若平完全诶日欧玩儿票 ', 1342873301, 1342873330);
/*!40000 ALTER TABLE `dili_u_m_article` ENABLE KEYS */;
-- Dumping structure for table atc.dili_u_m_repairs
CREATE TABLE IF NOT EXISTS `dili_u_m_repairs` (
`id` int(9) NOT NULL AUTO_INCREMENT,
`create_time` int(10) unsigned NOT NULL,
`update_time` int(10) unsigned NOT NULL,
`equip_name` varchar(100) NOT NULL DEFAULT '',
`person` varchar(100) NOT NULL DEFAULT '',
`reason` varchar(100) NOT NULL DEFAULT '',
`status` varchar(100) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- Dumping data for table atc.dili_u_m_repairs: 1 rows
/*!40000 ALTER TABLE `dili_u_m_repairs` DISABLE KEYS */;
INSERT INTO `dili_u_m_repairs` (`id`, `create_time`, `update_time`, `equip_name`, `person`, `reason`, `status`) VALUES
(1, 1342944362, 1342946142, '红外仪', '李明', '灯坏了。', '未维修');
/*!40000 ALTER TABLE `dili_u_m_repairs` ENABLE KEYS */;
-- Dumping structure for table atc.dili_validations
CREATE TABLE IF NOT EXISTS `dili_validations` (
`k` varchar(20) DEFAULT NULL,
`v` varchar(20) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- Dumping data for table atc.dili_validations: 2 rows
/*!40000 ALTER TABLE `dili_validations` DISABLE KEYS */;
INSERT INTO `dili_validations` (`k`, `v`) VALUES
('required', '必填'),
('valid_email', 'E-mail格式');
/*!40000 ALTER TABLE `dili_validations` ENABLE KEYS */;
/*!40014 SET FOREIGN_KEY_CHECKS=1 */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;