Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: fusion_panels

Parašė _MaZvE_· 2009 Bal. 5 15:04:46
#5

if (!$result) $fail = "1";
   
   $result = dbquery("DROP TABLE IF EXISTS ".$db_prefix."panels");
   $result = dbquery("CREATE TABLE ".$db_prefix."panels (
   panel_id SMALLINT(5) UNSIGNED NOT NULL AUTO_INCREMENT,
   panel_name VARCHAR(100) NOT NULL DEFAULT '',
   panel_filename VARCHAR(100) NOT NULL DEFAULT '',
   panel_content TEXT NOT NULL,
   panel_side TINYINT(1) UNSIGNED NOT NULL DEFAULT '1',
   panel_order SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
   panel_type VARCHAR(20) NOT NULL DEFAULT '',
   panel_access TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
   panel_display TINYINT(1) UNSIGNED NOT NULL DEFAULT '0',
   panel_status TINYINT(1) UNSIGNED NOT NULL DEFAULT '0',
   PRIMARY KEY (panel_id)
   ) TYPE=MyISAM;");



Redagavo _MaZvE_· 2009 Bal. 5 15:04:02