-
Notifications
You must be signed in to change notification settings - Fork 0
/
videos.sql
264 lines (232 loc) · 8.2 KB
/
videos.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
/*
Navicat MySQL Data Transfer
Source Server : Local
Source Server Version : 50534
Source Host : localhost:3306
Source Database : videos
Target Server Type : MYSQL
Target Server Version : 50534
File Encoding : 65001
Date: 2014-03-18 22:44:01
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for apis
-- ----------------------------
DROP TABLE IF EXISTS `apis`;
CREATE TABLE `apis` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`youtubeAPI` varchar(255) DEFAULT NULL,
`truveoAPI` varchar(255) DEFAULT NULL,
PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of apis
-- ----------------------------
INSERT INTO `apis` VALUES ('1', '0', '1');
-- ----------------------------
-- Table structure for badwords
-- ----------------------------
DROP TABLE IF EXISTS `badwords`;
CREATE TABLE `badwords` (
`badword` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of badwords
-- ----------------------------
-- ----------------------------
-- Table structure for banners
-- ----------------------------
DROP TABLE IF EXISTS `banners`;
CREATE TABLE `banners` (
`bannertop` varchar(255) DEFAULT NULL,
`bannerright` varchar(255) DEFAULT NULL,
`bannerbottom` varchar(255) DEFAULT NULL,
`squarebanner` varchar(255) DEFAULT NULL,
`enablebanner` varchar(255) DEFAULT NULL,
`bannerID` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`bannerID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of banners
-- ----------------------------
-- ----------------------------
-- Table structure for bans
-- ----------------------------
DROP TABLE IF EXISTS `bans`;
CREATE TABLE `bans` (
`ban_IP` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of bans
-- ----------------------------
-- ----------------------------
-- Table structure for categories
-- ----------------------------
DROP TABLE IF EXISTS `categories`;
CREATE TABLE `categories` (
`catID` int(11) NOT NULL AUTO_INCREMENT,
`catname` varchar(255) DEFAULT NULL,
`catdesc` varchar(255) DEFAULT NULL,
`active` varchar(255) DEFAULT NULL,
PRIMARY KEY (`catID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of categories
-- ----------------------------
-- ----------------------------
-- Table structure for displaysettings
-- ----------------------------
DROP TABLE IF EXISTS `displaysettings`;
CREATE TABLE `displaysettings` (
`header` varchar(255) DEFAULT NULL,
`headerImage` varchar(255) DEFAULT NULL,
`displayID` int(11) NOT NULL AUTO_INCREMENT,
`usethis` varchar(255) DEFAULT NULL,
PRIMARY KEY (`displayID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of displaysettings
-- ----------------------------
-- ----------------------------
-- Table structure for extra
-- ----------------------------
DROP TABLE IF EXISTS `extra`;
CREATE TABLE `extra` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`showtags` varchar(255) DEFAULT NULL,
`showcategories` varchar(255) DEFAULT NULL,
`Showsubcategories` varchar(255) DEFAULT NULL,
`ShowTagClouds` varchar(255) DEFAULT NULL,
PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of extra
-- ----------------------------
INSERT INTO `extra` VALUES ('1', 'Yes', 'Yes', 'No', 'Yes');
-- ----------------------------
-- Table structure for mailsettings
-- ----------------------------
DROP TABLE IF EXISTS `mailsettings`;
CREATE TABLE `mailsettings` (
`mID` bigint(100) NOT NULL AUTO_INCREMENT,
`username` varchar(255) DEFAULT NULL,
`msendusername` varchar(255) DEFAULT NULL,
`alais` varchar(255) DEFAULT NULL,
`password` varchar(255) DEFAULT NULL,
`MailServer` varchar(255) DEFAULT NULL,
`Port` varchar(100) DEFAULT NULL,
`err` varchar(255) DEFAULT NULL,
`usethis` int(10) DEFAULT '0',
PRIMARY KEY (`mID`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of mailsettings
-- ----------------------------
-- ----------------------------
-- Table structure for search_terms
-- ----------------------------
DROP TABLE IF EXISTS `search_terms`;
CREATE TABLE `search_terms` (
`term` varchar(255) DEFAULT NULL,
`count` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of search_terms
-- ----------------------------
-- ----------------------------
-- Table structure for sitethemes
-- ----------------------------
DROP TABLE IF EXISTS `sitethemes`;
CREATE TABLE `sitethemes` (
`themeid` int(11) NOT NULL AUTO_INCREMENT,
`themename` varchar(255) DEFAULT NULL,
`themebgcolor` varchar(255) DEFAULT NULL,
`themefntcolor` varchar(255) DEFAULT NULL,
`themelnkcolor` varchar(255) DEFAULT NULL,
`themelnkaction` varchar(255) DEFAULT NULL,
`themehvraction` varchar(255) DEFAULT NULL,
`themeMenuColor` varchar(255) DEFAULT NULL,
`themetopcell` varchar(255) DEFAULT NULL,
`themebtmcell` varchar(255) DEFAULT NULL,
`themebrdcolor` varchar(255) DEFAULT NULL,
`themebrdsize` double DEFAULT NULL,
`themefoldername` varchar(255) DEFAULT NULL,
`themeinfo` varchar(255) DEFAULT NULL,
`boximagecolorbottom` varchar(255) DEFAULT NULL,
`boximagecolor` varchar(255) DEFAULT NULL,
`themedefault` varchar(255) DEFAULT NULL,
PRIMARY KEY (`themeid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of sitethemes
-- ----------------------------
-- ----------------------------
-- Table structure for subcategories
-- ----------------------------
DROP TABLE IF EXISTS `subcategories`;
CREATE TABLE `subcategories` (
`subcatID` int(11) NOT NULL AUTO_INCREMENT,
`catID` int(11) DEFAULT NULL,
`subcatDesc` varchar(255) DEFAULT NULL,
`status` varchar(255) DEFAULT NULL,
PRIMARY KEY (`subcatID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of subcategories
-- ----------------------------
-- ----------------------------
-- Table structure for tagging
-- ----------------------------
DROP TABLE IF EXISTS `tagging`;
CREATE TABLE `tagging` (
`tagname` varchar(255) DEFAULT NULL,
`parentID` int(11) DEFAULT NULL,
`status` varchar(255) DEFAULT NULL,
`ID` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of tagging
-- ----------------------------
-- ----------------------------
-- Table structure for users
-- ----------------------------
DROP TABLE IF EXISTS `users`;
CREATE TABLE `users` (
`emailaddress` varchar(255) DEFAULT NULL,
`nusername` varchar(255) DEFAULT NULL,
`npwd` varchar(255) DEFAULT NULL,
`role` varchar(255) DEFAULT NULL,
`valid` int(11) DEFAULT NULL,
`ID` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of users
-- ----------------------------
INSERT INTO `users` VALUES ('[email protected]', 'admin', 'admin', '1', '1', '1');
-- ----------------------------
-- Table structure for websitesettings
-- ----------------------------
DROP TABLE IF EXISTS `websitesettings`;
CREATE TABLE `websitesettings` (
`site_id` int(11) NOT NULL AUTO_INCREMENT,
`site_title` varchar(255) DEFAULT NULL,
`site_email` varchar(255) DEFAULT NULL,
`site_ip` varchar(100) DEFAULT NULL,
`site_desc` longtext,
`site_keys` longtext,
`site_publisher` varchar(255) DEFAULT NULL,
`site_generator` varchar(255) DEFAULT NULL,
`site_copyright` varchar(255) DEFAULT NULL,
`site_revisit` varchar(255) DEFAULT NULL,
`site_enable` varchar(100) DEFAULT 'Yes',
`site_aboutme` longtext,
`site_contact` longtext,
`site_footer` varchar(255) DEFAULT NULL,
PRIMARY KEY (`site_id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of websitesettings
-- ----------------------------