1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-11 21:15:09 +02:00
Files
php-e107/e107_plugins/content/content_sql.php
2009-11-18 01:06:08 +00:00

50 lines
1.6 KiB
PHP

<?php
/*
* e107 website system
*
* Copyright (C) 2008-2009 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
*
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/content/content_sql.php,v $
* $Revision: 1.3 $
* $Date: 2009-11-18 01:05:28 $
* $Author: e107coders $
*/
header("location:../index.php");
exit;
?>
# Table structure for table `content`
#
CREATE TABLE pcontent (
content_id int(10) unsigned NOT NULL auto_increment,
content_heading varchar(255) NOT NULL default '',
content_subheading varchar(255) NOT NULL default '',
content_summary text NOT NULL,
content_text longtext NOT NULL,
content_author varchar(255) NOT NULL default '',
content_icon varchar(255) NOT NULL default '',
content_file text NOT NULL,
content_image text NOT NULL,
content_parent varchar(50) NOT NULL default '',
content_comment tinyint(1) unsigned NOT NULL default '0',
content_rate tinyint(1) unsigned NOT NULL default '0',
content_pe tinyint(1) unsigned NOT NULL default '0',
content_refer text NOT NULL,
content_datestamp int(10) unsigned NOT NULL default '0',
content_enddate int(10) unsigned NOT NULL default '0',
content_class varchar(255) NOT NULL default '',
content_pref text NOT NULL,
content_order varchar(10) NOT NULL default '0',
content_score tinyint(3) unsigned NOT NULL default '0',
content_meta text NOT NULL,
content_layout varchar(255) NOT NULL default '',
PRIMARY KEY (content_id)
) TYPE=MyISAM;
# --------------------------------------------------------