⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 joomla_backward.sql

📁 国外免费开源的内容管理系统
💻 SQL
📖 第 1 页 / 共 3 页
字号:
# $Id: joomla_backward.sql 10131 2008-03-14 13:28:57Z hackwar $# --------------------------------------------------------## Table structure for table `#__banner`#CREATE TABLE `#__banner` (  `bid` int(11) NOT NULL auto_increment,  `cid` int(11) NOT NULL default '0',  `type` varchar(90) NOT NULL default 'banner',  `name` TEXT NOT NULL default '',  `alias` varchar(255) NOT NULL default '',  `imptotal` int(11) NOT NULL default '0',  `impmade` int(11) NOT NULL default '0',  `clicks` int(11) NOT NULL default '0',  `imageurl` varchar(100) NOT NULL default '',  `clickurl` varchar(200) NOT NULL default '',  `date` datetime default NULL,  `showBanner` tinyint(1) NOT NULL default '0',  `checked_out` tinyint(1) NOT NULL default '0',  `checked_out_time` datetime NOT NULL default '0000-00-00 00:00:00',  `editor` varchar(150) default NULL,  `custombannercode` text,  `catid` INTEGER UNSIGNED NOT NULL DEFAULT 0,  `description` TEXT NOT NULL DEFAULT '',  `sticky` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0,  `ordering` INTEGER NOT NULL DEFAULT 0,  `publish_up` datetime NOT NULL default '0000-00-00 00:00:00',  `publish_down` datetime NOT NULL default '0000-00-00 00:00:00',  `tags` TEXT NOT NULL DEFAULT '',  `params` TEXT NOT NULL DEFAULT '',  PRIMARY KEY  (`bid`),  KEY `viewbanner` (`showBanner`),  INDEX `idx_banner_catid`(`catid`)) TYPE=MyISAM;# --------------------------------------------------------## Table structure for table `#__bannerclient`#CREATE TABLE `#__bannerclient` (  `cid` int(11) NOT NULL auto_increment,  `name` TEXT NOT NULL default '',  `contact` TEXT NOT NULL default '',  `email` varchar(255) NOT NULL default '',  `extrainfo` text NOT NULL,  `checked_out` tinyint(1) NOT NULL default '0',  `checked_out_time` time default NULL,  `editor` varchar(150) default NULL,  PRIMARY KEY  (`cid`)) TYPE=MyISAM;# --------------------------------------------------------## Table structure for table `#__bannertrack`#CREATE TABLE  `#__bannertrack` (  `track_date` date NOT NULL,  `track_type` int(10) unsigned NOT NULL,  `banner_id` int(10) unsigned NOT NULL) TYPE=MyISAM;# --------------------------------------------------------## Table structure for table `#__categories`#CREATE TABLE `#__categories` (  `id` int(11) NOT NULL auto_increment,  `parent_id` int(11) NOT NULL default 0,  `title` TEXT NOT NULL default '',  `name` TEXT NOT NULL default '',  `alias` varchar(255) NOT NULL default '',  `image` varchar(255) NOT NULL default '',  `section` varchar(150) NOT NULL default '',  `image_position` varchar(90) NOT NULL default '',  `description` text NOT NULL,  `published` tinyint(1) NOT NULL default '0',  `checked_out` int(11) unsigned NOT NULL default '0',  `checked_out_time` datetime NOT NULL default '0000-00-00 00:00:00',  `editor` varchar(150) default NULL,  `ordering` int(11) NOT NULL default '0',  `access` tinyint(3) unsigned NOT NULL default '0',  `count` int(11) NOT NULL default '0',  `params` text NOT NULL,  PRIMARY KEY  (`id`),  KEY `cat_idx` (`section`,`published`,`access`),  KEY `idx_access` (`access`),  KEY `idx_checkout` (`checked_out`)) TYPE=MyISAM ;# --------------------------------------------------------## Table structure for table `#__components`#CREATE TABLE `#__components` (  `id` int(11) NOT NULL auto_increment,  `name` varchar(150) NOT NULL default '',  `link` varchar(255) NOT NULL default '',  `menuid` int(11) unsigned NOT NULL default '0',  `parent` int(11) unsigned NOT NULL default '0',  `admin_menu_link` varchar(255) NOT NULL default '',  `admin_menu_alt` TEXT NOT NULL default '',  `option` varchar(50) NOT NULL default '',  `ordering` int(11) NOT NULL default '0',  `admin_menu_img` varchar(255) NOT NULL default '',  `iscore` tinyint(4) NOT NULL default '0',  `params` text NOT NULL,  `enabled` tinyint(4) NOT NULL default '1',  PRIMARY KEY  (`id`),  KEY `parent_option` (`parent`, `option`(32))) TYPE=MyISAM;## Dumping data for table `#__components`#INSERT INTO `#__components` VALUES (1, 'Banners', '', 0, 0, '', 'Banner Management', 'com_banners', 0, 'js/ThemeOffice/component.png', 0, 'track_impressions=0\ntrack_clicks=0\ntag_prefix=\n\n', 1);INSERT INTO `#__components` VALUES (2, 'Banners', '', 0, 1, 'option=com_banners', 'Active Banners', 'com_banners', 1, 'js/ThemeOffice/edit.png', 0, '', 1);INSERT INTO `#__components` VALUES (3, 'Clients', '', 0, 1, 'option=com_banners&c=client', 'Manage Clients', 'com_banners', 2, 'js/ThemeOffice/categories.png', 0, '', 1);INSERT INTO `#__components` VALUES (4, 'Web Links', 'option=com_weblinks', 0, 0, '', 'Manage Weblinks', 'com_weblinks', 0, 'js/ThemeOffice/component.png', 0, 'show_comp_description=1\ncomp_description=\nshow_link_hits=1\nshow_link_description=1\nshow_other_cats=1\nshow_headings=1\nshow_page_title=1\nlink_target=0\nlink_icons=\n\n', 1);INSERT INTO `#__components` VALUES (5, 'Links', '', 0, 4, 'option=com_weblinks', 'View existing weblinks', 'com_weblinks', 1, 'js/ThemeOffice/edit.png', 0, '', 1);INSERT INTO `#__components` VALUES (6, 'Categories', '', 0, 4, 'option=com_categories&section=com_weblinks', 'Manage weblink categories', '', 2, 'js/ThemeOffice/categories.png', 0, '', 1);INSERT INTO `#__components` VALUES (7, 'Contacts', 'option=com_contact', 0, 0, '', 'Edit contact details', 'com_contact', 0, 'js/ThemeOffice/component.png', 1, 'contact_icons=0\nicon_address=\nicon_email=\nicon_telephone=\nicon_fax=\nicon_misc=\nshow_headings=1\nshow_position=1\nshow_email=0\nshow_telephone=1\nshow_mobile=1\nshow_fax=1\nbannedEmail=\nbannedSubject=\nbannedText=\nsession=1\ncustomReply=0\n\n', 1);INSERT INTO `#__components` VALUES (8, 'Contacts', '', 0, 7, 'option=com_contact', 'Edit contact details', 'com_contact', 0, 'js/ThemeOffice/edit.png', 1, '', 1);INSERT INTO `#__components` VALUES (9, 'Categories', '', 0, 7, 'option=com_categories&section=com_contact_details', 'Manage contact categories', '', 2, 'js/ThemeOffice/categories.png', 1, 'contact_icons=0\nicon_address=\nicon_email=\nicon_telephone=\nicon_fax=\nicon_misc=\nshow_headings=1\nshow_position=1\nshow_email=0\nshow_telephone=1\nshow_mobile=1\nshow_fax=1\nbannedEmail=\nbannedSubject=\nbannedText=\nsession=1\ncustomReply=0\n\n', 1);INSERT INTO `#__components` VALUES (10, 'Polls', 'option=com_poll', 0, 0, 'option=com_poll', 'Manage Polls', 'com_poll', 0, 'js/ThemeOffice/component.png', 0, '', 1);INSERT INTO `#__components` VALUES (11, 'News Feeds', 'option=com_newsfeeds', 0, 0, '', 'News Feeds Management', 'com_newsfeeds', 0, 'js/ThemeOffice/component.png', 0, '', 1);INSERT INTO `#__components` VALUES (12, 'Feeds', '', 0, 11, 'option=com_newsfeeds', 'Manage News Feeds', 'com_newsfeeds', 1, 'js/ThemeOffice/edit.png', 0, 'show_headings=1\nshow_name=1\nshow_articles=1\nshow_link=1\nshow_cat_description=1\nshow_cat_items=1\nshow_feed_image=1\nshow_feed_description=1\nshow_item_description=1\nfeed_word_count=0\n\n', 1);INSERT INTO `#__components` VALUES (13, 'Categories', '', 0, 11, 'option=com_categories&section=com_newsfeeds', 'Manage Categories', '', 2, 'js/ThemeOffice/categories.png', 0, '', 1);INSERT INTO `#__components` VALUES (14, 'User', 'option=com_user', 0, 0, '', '', 'com_user', 0, '', 1, '', 1);INSERT INTO `#__components` VALUES (15, 'Search', 'option=com_search', 0, 0, 'option=com_search', 'Search Statistics', 'com_search', 0, 'js/ThemeOffice/component.png', 1, 'enabled=0\n\n', 1);INSERT INTO `#__components` VALUES (16, 'Categories', '', 0, 1, 'option=com_categories&section=com_banner', 'Categories', '', 3, '', 1, '', 1);INSERT INTO `#__components` VALUES (17, 'Wrapper', 'option=com_wrapper', 0, 0, '', 'Wrapper', 'com_wrapper', 0, '', 1, '', 1);INSERT INTO `#__components` VALUES (18, 'Mail To', '', 0, 0, '', '', 'com_mailto', 0, '', 1, '', 1);INSERT INTO `#__components` VALUES (19, 'Media Manager', '', 0, 0, 'option=com_media', 'Media Manager', 'com_media', 0, '', 1, 'upload_extensions=bmp,csv,doc,epg,gif,ico,jpg,odg,odp,ods,odt,pdf,png,ppt,swf,txt,xcf,xls,BMP,CSV,DOC,EPG,GIF,ICO,JPG,ODG,ODP,ODS,ODT,PDF,PNG,PPT,SWF,TXT,XCF,XLS\nupload_maxsize=10000000\nfile_path=images\nimage_path=images/stories\nrestrict_uploads=1\ncheck_mime=1\nimage_extensions=bmp,gif,jpg,png\nignore_extensions=\nupload_mime=image/jpeg,image/gif,image/png,image/bmp,application/x-shockwave-flash,application/msword,application/excel,application/pdf,application/powerpoint,text/plain,application/x-zip\nupload_mime_illegal=text/html', 1);INSERT INTO `#__components` VALUES (20, 'Articles', 'option=com_content', 0, 0, '', '', 'com_content', 0, '', 1, 'show_noauth=0\nshow_title=1\nlink_titles=0\nshow_intro=1\nshow_section=0\nlink_section=0\nshow_category=0\nlink_category=0\nshow_author=1\nshow_create_date=1\nshow_modify_date=1\nshow_item_navigation=0\nshow_readmore=1\nshow_vote=0\nshow_icons=1\nshow_pdf_icon=1\nshow_print_icon=1\nshow_email_icon=1\nshow_hits=1\nfeed_summary=0\n\n', 1);INSERT INTO `#__components` VALUES (21, 'Configuration Manager', '', 0, 0, '', 'Configuration', 'com_config', 0, '', 1, '', 1);INSERT INTO `#__components` VALUES (22, 'Installation Manager', '', 0, 0, '', 'Installer', 'com_installer', 0, '', 1, '', 1);INSERT INTO `#__components` VALUES (23, 'Language Manager', '', 0, 0, '', 'Languages', 'com_languages', 0, '', 1, '', 1);INSERT INTO `#__components` VALUES (24, 'Mass mail', '', 0, 0, '', 'Mass Mail', 'com_massmail', 0, '', 1, 'mailSubjectPrefix=\nmailBodySuffix=\n\n', 1);INSERT INTO `#__components` VALUES (25, 'Menu Editor', '', 0, 0, '', 'Menu Editor', 'com_menus', 0, '', 1, '', 1);INSERT INTO `#__components` VALUES (27, 'Messaging', '', 0, 0, '', 'Messages', 'com_messages', 0, '', 1, '', 1);INSERT INTO `#__components` VALUES (28, 'Modules Manager', '', 0, 0, '', 'Modules', 'com_modules', 0, '', 1, '', 1);INSERT INTO `#__components` VALUES (29, 'Plugin Manager', '', 0, 0, '', 'Plugins', 'com_plugins', 0, '', 1, '', 1);INSERT INTO `#__components` VALUES (30, 'Template Manager', '', 0, 0, '', 'Templates', 'com_templates', 0, '', 1, '', 1);INSERT INTO `#__components` VALUES (31, 'User Manager', '', 0, 0, '', 'Users', 'com_users', 0, '', 1, 'allowUserRegistration=1\nnew_usertype=Registered\nuseractivation=1\nfrontend_userparams=1\n\n', 1);INSERT INTO `#__components` VALUES (32, 'Cache Manager', '', 0, 0, '', 'Cache', 'com_cache', 0, '', 1, '', 1);INSERT INTO `#__components` VALUES (33, 'Control Panel', '', 0, 0, '', 'Control Panel', 'com_cpanel', 0, '', 1, '', 1);# --------------------------------------------------------## Table structure for table `#__contact_details`#CREATE TABLE `#__contact_details` (  `id` int(11) NOT NULL auto_increment,  `name` TEXT NOT NULL default '',  `alias` varchar(255) NOT NULL default '',  `con_position` TEXT default NULL,  `address` text,  `suburb` TEXT default NULL,  `state` TEXT default NULL,  `country` TEXT default NULL,  `postcode` varchar(255) default NULL,  `telephone` varchar(255) default NULL,  `fax` varchar(255) default NULL,  `misc` mediumtext,  `image` varchar(255) default NULL,  `imagepos` varchar(60) default NULL,  `email_to` varchar(255) default NULL,  `default_con` tinyint(1) unsigned NOT NULL default '0',  `published` tinyint(1) unsigned NOT NULL default '0',  `checked_out` int(11) unsigned NOT NULL default '0',  `checked_out_time` datetime NOT NULL default '0000-00-00 00:00:00',  `ordering` int(11) NOT NULL default '0',  `params` text NOT NULL,  `user_id` int(11) NOT NULL default '0',  `catid` int(11) NOT NULL default '0',  `access` tinyint(3) unsigned NOT NULL default '0',  `mobile` varchar(255) NOT NULL default '',  `webpage` varchar(255) NOT NULL default '',  PRIMARY KEY  (`id`),  KEY `catid` (`catid`)) TYPE=MyISAM;# --------------------------------------------------------## Table structure for table `#__content`#CREATE TABLE `#__content` (  `id` int(11) unsigned NOT NULL auto_increment,  `title` TEXT NOT NULL default '',  `alias` varchar(255) NOT NULL default '',  `title_alias` TEXT NOT NULL default '',  `introtext` mediumtext NOT NULL,  `fulltext` mediumtext NOT NULL,  `state` tinyint(3) NOT NULL default '0',  `sectionid` int(11) unsigned NOT NULL default '0',  `mask` int(11) unsigned NOT NULL default '0',  `catid` int(11) unsigned NOT NULL default '0',  `created` datetime NOT NULL default '0000-00-00 00:00:00',  `created_by` int(11) unsigned NOT NULL default '0',  `created_by_alias` TEXT NOT NULL default '',  `modified` datetime NOT NULL default '0000-00-00 00:00:00',  `modified_by` int(11) unsigned NOT NULL default '0',  `checked_out` int(11) unsigned NOT NULL default '0',  `checked_out_time` datetime NOT NULL default '0000-00-00 00:00:00',  `publish_up` datetime NOT NULL default '0000-00-00 00:00:00',  `publish_down` datetime NOT NULL default '0000-00-00 00:00:00',  `images` text NOT NULL,  `urls` text NOT NULL,  `attribs` text NOT NULL,  `version` int(11) unsigned NOT NULL default '1',  `parentid` int(11) unsigned NOT NULL default '0',  `ordering` int(11) NOT NULL default '0',  `metakey` text NOT NULL,  `metadesc` text NOT NULL,  `access` int(11) unsigned NOT NULL default '0',  `hits` int(11) unsigned NOT NULL default '0',  `metadata` TEXT NOT NULL DEFAULT '',  PRIMARY KEY  (`id`),  KEY `idx_section` (`sectionid`),  KEY `idx_access` (`access`),  KEY `idx_checkout` (`checked_out`),  KEY `idx_state` (`state`),  KEY `idx_catid` (`catid`),  KEY `idx_createdby` (`created_by`)) TYPE=MyISAM;# --------------------------------------------------------## Table structure for table `#__content_frontpage`#CREATE TABLE `#__content_frontpage` (  `content_id` int(11) NOT NULL default '0',  `ordering` int(11) NOT NULL default '0',  PRIMARY KEY  (`content_id`)) TYPE=MyISAM;# --------------------------------------------------------## Table structure for table `#__content_rating`#CREATE TABLE `#__content_rating` (  `content_id` int(11) NOT NULL default '0',  `rating_sum` int(11) unsigned NOT NULL default '0',  `rating_count` int(11) unsigned NOT NULL default '0',  `lastip` varchar(150) NOT NULL default '',  PRIMARY KEY  (`content_id`)) TYPE=MyISAM;# --------------------------------------------------------# Table structure for table `#__core_log_items`CREATE TABLE `#__core_log_items` (  `time_stamp` date NOT NULL default '0000-00-00',  `item_table` varchar(50) NOT NULL default '',  `item_id` int(11) unsigned NOT NULL default '0',  `hits` int(11) unsigned NOT NULL default '0') TYPE=MyISAM;# --------------------------------------------------------

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -