mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 00:54:49 +02:00
new module creation
This commit is contained in:
51
e107_plugins/content/content_sql.php
Normal file
51
e107_plugins/content/content_sql.php
Normal file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
/*
|
||||
+ ----------------------------------------------------------------------------+
|
||||
| e107 website system
|
||||
|
|
||||
| <20>Steve Dunstan 2001-2002
|
||||
| http://e107.org
|
||||
| jalist@e107.org
|
||||
|
|
||||
| Released under the terms and conditions of the
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/content_sql.php,v $
|
||||
| $Revision: 1.1.1.1 $
|
||||
| $Date: 2006-12-02 04:34:55 $
|
||||
| $Author: mcfly_e107 $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
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;
|
||||
# --------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user