ыаыыаыа

← разместить еще код

Расшаренный код:

maybe_add_table(
	PLOGGER_TABLE_PREFIX.'pictures',"
        `path` varchar(255) NOT NULL default '',
	`parent_album` int(11) NOT NULL default '0',
	`parent_collection` int(11) NOT NULL default '0',
	`caption` mediumtext NOT NULL,
	`description` text NOT NULL,
	`id` int(11) NOT NULL auto_increment,
	`date_modified` timestamp(14) NOT NULL,
	`date_submitted` timestamp(14) NOT NULL,
	`EXIF_date_taken` varchar(64) NOT NULL default '',
	`EXIF_camera` varchar(64) NOT NULL default '',
	`EXIF_shutterspeed` varchar(64) NOT NULL default '',
	`EXIF_focallength` varchar(64) NOT NULL default '',
	`EXIF_flash` varchar(64) NOT NULL default '',
	`EXIF_aperture` varchar(64) NOT NULL default '',
	`EXIF_iso` varchar(64) NOT NULL default '',
	`allow_comments` int(11) NOT NULL default '1',
	PRIMARY KEY (`id`),
	INDEX pa_idx (`parent_album`),
	INDEX pc_idx (`parent_collection`)"
	,"ENGINE=MyISAM $default_charset");