Code:# --------------------------------------------------------
#
# Table structure for table 'nuke_cpg_installs'
#
CREATE TABLE nuke_cpg_installs (
cpg_id tinyint(3) NOT NULL auto_increment,
dirname varchar(20) NOT NULL,
prefix varchar(20) NOT NULL,
version varchar(10),
PRIMARY KEY (cpg_id)
);
#
# Dumping data for table 'nuke_cpg_installs'
#
INSERT INTO nuke_cpg_installs VALUES ( '1', 'coppermine', 'nuke_cpg_', '1.3.0');
# --------------------------------------------------------
#
# Table structure for table 'nuke_cpg_pictures'
#
CREATE TABLE nuke_cpg_pictures (
pid int(11) NOT NULL auto_increment,
aid int(11) DEFAULT '0' NOT NULL,
filepath varchar(255) NOT NULL,
filename varchar(255) NOT NULL,
filesize int(11) DEFAULT '0' NOT NULL,
total_filesize int(11) DEFAULT '0' NOT NULL,
pwidth smallint(6) DEFAULT '0' NOT NULL,
pheight smallint(6) DEFAULT '0' NOT NULL,
hits int(10) DEFAULT '0' NOT NULL,
mtime timestamp(14),
ctime int(11) DEFAULT '0' NOT NULL,
owner_id int(11) DEFAULT '0' NOT NULL,
owner_name varchar(40) NOT NULL,
pic_rating int(11) DEFAULT '0' NOT NULL,
votes int(11) DEFAULT '0' NOT NULL,
title varchar(255) NOT NULL,
caption text NOT NULL,
keywords varchar(255) NOT NULL,
approved enum('YES','NO') DEFAULT 'NO' NOT NULL,
user1 varchar(255) NOT NULL,
user2 varchar(255) NOT NULL,
user3 varchar(255) NOT NULL,
user4 varchar(255) NOT NULL,
url_prefix tinyint(4) DEFAULT '0' NOT NULL,
randpos int(11) DEFAULT '0' NOT NULL,
pic_raw_ip tinytext,
pic_hdr_ip tinytext,
PRIMARY KEY (pid),
KEY pic_hits (hits),
KEY pic_rate (pic_rating),
KEY aid_approved (aid, approved),
KEY randpos (randpos),
KEY pic_aid (aid),
KEY search (title, caption, keywords, filename, user1, user2, user3, user4)
);
#
# Dumping data for table 'nuke_cpg_pictures'
#
INSERT INTO nuke_cpg_pictures VALUES ( '1', '15', 'modules/coppermine/albums/userpics/10002/',
'screenshot1.jpg', '66322', '125379', '600', '450', '2', '20040707001851', '1089173257', '2', '', '0',
'0', 'Screenshot1', 'It\'s a screenshot.', '', 'YES', '', '', '', '', '0', '0', '', '');
INSERT INTO nuke_cpg_pictures VALUES ( '2', '12', 'modules/coppermine/albums/userpics/10002/',
'screenshot2.jpg', '39094', '74821', '600', '450', '2', '20040707001737', '1089173325', '2', '', '0',
'0', 'Screenshot2', 'It\'s a screenshot.', '', 'YES', '', '', '', '', '0', '0', '', '');
INSERT INTO nuke_cpg_pictures VALUES ( '3', '13', 'modules/coppermine/albums/userpics/10002/',
'screenshot3.jpg', '44900', '83942', '600', '450', '3', '20040707201713', '1089173369', '2', '', '0',
'0', 'Screenshot3', 'It\'s a screenshot.', '', 'YES', '', '', '', '', '0', '0', '', '');
INSERT INTO nuke_cpg_pictures VALUES ( '4', '14', 'modules/coppermine/albums/userpics/10002/',
'screenshot5.jpg', '42478', '79638', '600', '450', '1', '20040707001015', '1089173413', '2', '', '0',
'0', 'Screenshot5', 'It\'s a screenshot.', '', 'YES', '', '', '', '', '0', '0', '', '');
INSERT INTO nuke_cpg_pictures VALUES ( '5', '3', 'modules/coppermine/albums/userpics/10002/',
'screenshot6.jpg', '39992', '76959', '600', '450', '1', '20040707001113', '1089173472', '2', '', '0',
'0', 'Another screenshot', 'This is a screenshot.', '', 'YES', '', '', '', '', '0', '0', '', '');
INSERT INTO nuke_cpg_pictures VALUES ( '6', '15', 'modules/coppermine/albums/userpics/10002/',
'screenshot6~0.jpg', '39992', '76959', '600', '450', '1', '20040707001238', '1089173558', '2', '',
'0', '0', 'Screenshot', 'Here is a screenshot.', '', 'YES', '', '', '', '', '0', '0', '', '');
INSERT INTO nuke_cpg_pictures VALUES ( '7', '15', 'modules/coppermine/albums/userpics/10002/',
'screenshot7.jpg', '60253', '113763', '600', '450', '2', '20040707010935', '1089173604', '2', '', '0',
'0', 'Screenshot7', 'A screenshot.', '', 'YES', '', '', '', '', '0', '0', '', '');
INSERT INTO nuke_cpg_pictures VALUES ( '8', '4', 'modules/coppermine/albums/userpics/10002/',
'screenshot8.jpg', '57022', '110248', '600', '450', '1', '20040707001428', '1089173667', '2', '', '0',
'0', 'Screenshot8', 'Sometimes, there just called \"screens\".', '', 'YES', '', '', '', '', '0', '0',
'', '');
INSERT INTO nuke_cpg_pictures VALUES ( '9', '1', 'modules/coppermine/albums/userpics/10002/',
'screenshot9.jpg', '45041', '84655', '600', '450', '1', '20040707001458', '1089173698', '2', '', '0',
'0', 'Screenshot9', 'Another.', '', 'YES', '', '', '', '', '0', '0', '', '');
INSERT INTO nuke_cpg_pictures VALUES ( '10', '2', 'modules/coppermine/albums/userpics/10002/',
'screenshot10.jpg', '53636', '104074', '600', '450', '1', '20040707001554', '1089173753', '2', '',
'0', '0', '10', 'Last one.', '', 'YES', '', '', '', '', '0', '0', '', '');
INSERT INTO nuke_cpg_pictures VALUES ( '11', '18', 'modules/coppermine/albums/userpics/10003/',
'sotw-081703.jpg', '62517', '108508', '800', '600', '2', '20040707165827', '1089179395', '3', '', '0',
'0', 'Zdeno', 'Ah, the good ole\' days.', '', 'YES', '', '', '', '', '0', '0', '', '');
|