-- MySQL dump 10.11 -- -- Host: localhost Database: mt -- ------------------------------------------------------ -- Server version 5.0.51a-community /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `mt_asset` -- DROP TABLE IF EXISTS `mt_asset`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_asset` ( `asset_id` int(11) NOT NULL auto_increment, `asset_blog_id` int(11) NOT NULL, `asset_class` varchar(255) default 'file', `asset_created_by` int(11) default NULL, `asset_created_on` datetime default NULL, `asset_description` mediumtext, `asset_file_ext` varchar(20) default NULL, `asset_file_name` varchar(255) default NULL, `asset_file_path` varchar(255) default NULL, `asset_label` varchar(255) default NULL, `asset_mime_type` varchar(255) default NULL, `asset_modified_by` int(11) default NULL, `asset_modified_on` datetime default NULL, `asset_parent` int(11) default NULL, `asset_url` varchar(255) default NULL, PRIMARY KEY (`asset_id`), KEY `mt_asset_blog_class_date` (`asset_blog_id`,`asset_class`,`asset_created_on`), KEY `mt_asset_parent` (`asset_parent`), KEY `mt_asset_file_ext` (`asset_file_ext`), KEY `mt_asset_created_on` (`asset_created_on`), KEY `mt_asset_class` (`asset_class`), KEY `mt_asset_label` (`asset_label`), KEY `mt_asset_created_by` (`asset_created_by`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_asset` -- LOCK TABLES `mt_asset` WRITE; /*!40000 ALTER TABLE `mt_asset` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_asset` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_asset_meta` -- DROP TABLE IF EXISTS `mt_asset_meta`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_asset_meta` ( `asset_meta_asset_id` int(11) NOT NULL, `asset_meta_type` varchar(75) NOT NULL, `asset_meta_vchar` varchar(255) default NULL, `asset_meta_vchar_idx` varchar(255) default NULL, `asset_meta_vdatetime` datetime default NULL, `asset_meta_vdatetime_idx` datetime default NULL, `asset_meta_vinteger` int(11) default NULL, `asset_meta_vinteger_idx` int(11) default NULL, `asset_meta_vfloat` float default NULL, `asset_meta_vfloat_idx` float default NULL, `asset_meta_vblob` mediumblob, `asset_meta_vclob` mediumtext, PRIMARY KEY (`asset_meta_asset_id`,`asset_meta_type`), KEY `mt_asset_meta_type_vint` (`asset_meta_type`,`asset_meta_vinteger_idx`), KEY `mt_asset_meta_type_vflt` (`asset_meta_type`,`asset_meta_vfloat_idx`), KEY `mt_asset_meta_type_vdt` (`asset_meta_type`,`asset_meta_vdatetime_idx`), KEY `mt_asset_meta_type_vchar` (`asset_meta_type`,`asset_meta_vchar_idx`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_asset_meta` -- LOCK TABLES `mt_asset_meta` WRITE; /*!40000 ALTER TABLE `mt_asset_meta` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_asset_meta` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_association` -- DROP TABLE IF EXISTS `mt_association`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_association` ( `association_id` int(11) NOT NULL auto_increment, `association_author_id` int(11) default '0', `association_blog_id` int(11) default '0', `association_created_by` int(11) default NULL, `association_created_on` datetime default NULL, `association_group_id` int(11) default '0', `association_modified_by` int(11) default NULL, `association_modified_on` datetime default NULL, `association_role_id` int(11) default '0', `association_type` int(11) NOT NULL, PRIMARY KEY (`association_id`), KEY `mt_association_author_id` (`association_author_id`), KEY `mt_association_group_id` (`association_group_id`), KEY `mt_association_created_on` (`association_created_on`), KEY `mt_association_type` (`association_type`), KEY `mt_association_blog_id` (`association_blog_id`), KEY `mt_association_role_id` (`association_role_id`) ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_association` -- LOCK TABLES `mt_association` WRITE; /*!40000 ALTER TABLE `mt_association` DISABLE KEYS */; INSERT INTO `mt_association` (`association_id`, `association_author_id`, `association_blog_id`, `association_created_by`, `association_created_on`, `association_group_id`, `association_modified_by`, `association_modified_on`, `association_role_id`, `association_type`) VALUES (1,1,1,1,'2009-11-25 19:32:58',0,NULL,'2009-11-25 19:32:58',1,1); /*!40000 ALTER TABLE `mt_association` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_author` -- DROP TABLE IF EXISTS `mt_author`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_author` ( `author_id` int(11) NOT NULL auto_increment, `author_api_password` varchar(60) default NULL, `author_auth_type` varchar(50) default NULL, `author_basename` varchar(255) default NULL, `author_can_create_blog` tinyint(4) default NULL, `author_can_view_log` tinyint(4) default NULL, `author_created_by` int(11) default NULL, `author_created_on` datetime default NULL, `author_email` varchar(127) default NULL, `author_entry_prefs` varchar(255) default NULL, `author_external_id` varchar(255) default NULL, `author_hint` varchar(75) default NULL, `author_is_superuser` tinyint(4) default NULL, `author_modified_by` int(11) default NULL, `author_modified_on` datetime default NULL, `author_name` varchar(255) NOT NULL, `author_nickname` varchar(255) default NULL, `author_password` varchar(60) NOT NULL, `author_preferred_language` varchar(50) default NULL, `author_public_key` mediumtext, `author_remote_auth_token` varchar(50) default NULL, `author_remote_auth_username` varchar(50) default NULL, `author_status` int(11) default '1', `author_text_format` varchar(30) default NULL, `author_type` smallint(6) NOT NULL default '1', `author_url` varchar(255) default NULL, `author_userpic_asset_id` int(11) default NULL, PRIMARY KEY (`author_id`), KEY `mt_author_auth_type_name` (`author_auth_type`,`author_name`,`author_type`), KEY `mt_author_status` (`author_status`), KEY `mt_author_name` (`author_name`), KEY `mt_author_email` (`author_email`), KEY `mt_author_basename` (`author_basename`), KEY `mt_author_external_id` (`author_external_id`), KEY `mt_author_created_on` (`author_created_on`), KEY `mt_author_type` (`author_type`) ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_author` -- LOCK TABLES `mt_author` WRITE; /*!40000 ALTER TABLE `mt_author` DISABLE KEYS */; INSERT INTO `mt_author` (`author_id`, `author_api_password`, `author_auth_type`, `author_basename`, `author_can_create_blog`, `author_can_view_log`, `author_created_by`, `author_created_on`, `author_email`, `author_entry_prefs`, `author_external_id`, `author_hint`, `author_is_superuser`, `author_modified_by`, `author_modified_on`, `author_name`, `author_nickname`, `author_password`, `author_preferred_language`, `author_public_key`, `author_remote_auth_token`, `author_remote_auth_username`, `author_status`, `author_text_format`, `author_type`, `author_url`, `author_userpic_asset_id`) VALUES (1,'paimajpl','MT','melody',NULL,NULL,NULL,'2009-11-25 19:32:57','testcsv@testcsv.securesites.net',NULL,'',NULL,NULL,NULL,'2009-11-25 19:32:57','Melody','Melody','4qcYLKgUfcwUk','ja',NULL,NULL,NULL,1,NULL,1,NULL,NULL); /*!40000 ALTER TABLE `mt_author` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_author_meta` -- DROP TABLE IF EXISTS `mt_author_meta`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_author_meta` ( `author_meta_author_id` int(11) NOT NULL, `author_meta_type` varchar(75) NOT NULL, `author_meta_vchar` varchar(255) default NULL, `author_meta_vchar_idx` varchar(255) default NULL, `author_meta_vdatetime` datetime default NULL, `author_meta_vdatetime_idx` datetime default NULL, `author_meta_vinteger` int(11) default NULL, `author_meta_vinteger_idx` int(11) default NULL, `author_meta_vfloat` float default NULL, `author_meta_vfloat_idx` float default NULL, `author_meta_vblob` mediumblob, `author_meta_vclob` mediumtext, PRIMARY KEY (`author_meta_author_id`,`author_meta_type`), KEY `mt_author_meta_type_vint` (`author_meta_type`,`author_meta_vinteger_idx`), KEY `mt_author_meta_type_vflt` (`author_meta_type`,`author_meta_vfloat_idx`), KEY `mt_author_meta_type_vdt` (`author_meta_type`,`author_meta_vdatetime_idx`), KEY `mt_author_meta_type_vchar` (`author_meta_type`,`author_meta_vchar_idx`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_author_meta` -- LOCK TABLES `mt_author_meta` WRITE; /*!40000 ALTER TABLE `mt_author_meta` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_author_meta` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_author_summary` -- DROP TABLE IF EXISTS `mt_author_summary`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_author_summary` ( `author_summary_author_id` int(11) NOT NULL, `author_summary_type` varchar(75) NOT NULL, `author_summary_class` varchar(75) NOT NULL, `author_summary_vchar_idx` varchar(255) default NULL, `author_summary_vinteger_idx` int(11) default NULL, `author_summary_vblob` mediumblob, `author_summary_vclob` mediumtext, `author_summary_expired` smallint(6) default NULL, PRIMARY KEY (`author_summary_author_id`,`author_summary_type`), KEY `mt_author_summary_class_vint` (`author_summary_class`,`author_summary_vinteger_idx`), KEY `mt_author_summary_id_class` (`author_summary_author_id`,`author_summary_class`), KEY `mt_author_summary_class_vchar` (`author_summary_class`,`author_summary_vchar_idx`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_author_summary` -- LOCK TABLES `mt_author_summary` WRITE; /*!40000 ALTER TABLE `mt_author_summary` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_author_summary` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_blog` -- DROP TABLE IF EXISTS `mt_blog`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_blog` ( `blog_id` int(11) NOT NULL auto_increment, `blog_allow_anon_comments` tinyint(4) default NULL, `blog_allow_comment_html` tinyint(4) default NULL, `blog_allow_commenter_regist` tinyint(4) default NULL, `blog_allow_comments_default` tinyint(4) default NULL, `blog_allow_pings` tinyint(4) default NULL, `blog_allow_pings_default` tinyint(4) default NULL, `blog_allow_reg_comments` tinyint(4) default NULL, `blog_allow_unreg_comments` tinyint(4) default NULL, `blog_archive_path` varchar(255) default NULL, `blog_archive_tmpl_category` varchar(255) default NULL, `blog_archive_tmpl_daily` varchar(255) default NULL, `blog_archive_tmpl_individual` varchar(255) default NULL, `blog_archive_tmpl_monthly` varchar(255) default NULL, `blog_archive_tmpl_weekly` varchar(255) default NULL, `blog_archive_type` varchar(255) default NULL, `blog_archive_type_preferred` varchar(25) default NULL, `blog_archive_url` varchar(255) default NULL, `blog_autodiscover_links` tinyint(4) default NULL, `blog_autolink_urls` tinyint(4) default NULL, `blog_basename_limit` smallint(6) default NULL, `blog_cc_license` varchar(255) default NULL, `blog_children_modified_on` datetime default NULL, `blog_class` varchar(255) default 'blog', `blog_convert_paras` varchar(30) default NULL, `blog_convert_paras_comments` varchar(30) default NULL, `blog_created_by` int(11) default NULL, `blog_created_on` datetime default NULL, `blog_custom_dynamic_templates` varchar(25) default 'none', `blog_days_on_index` int(11) default NULL, `blog_description` mediumtext, `blog_email_new_comments` tinyint(4) default NULL, `blog_email_new_pings` tinyint(4) default NULL, `blog_entries_on_index` int(11) default NULL, `blog_file_extension` varchar(10) default NULL, `blog_google_api_key` varchar(32) default NULL, `blog_internal_autodiscovery` tinyint(4) default NULL, `blog_is_dynamic` tinyint(4) default NULL, `blog_junk_folder_expiry` int(11) default NULL, `blog_junk_score_threshold` float default NULL, `blog_language` varchar(5) default NULL, `blog_manual_approve_commenters` tinyint(4) default NULL, `blog_moderate_pings` tinyint(4) default NULL, `blog_moderate_unreg_comments` tinyint(4) default NULL, `blog_modified_by` int(11) default NULL, `blog_modified_on` datetime default NULL, `blog_mt_update_key` varchar(30) default NULL, `blog_name` varchar(255) NOT NULL, `blog_old_style_archive_links` tinyint(4) default NULL, `blog_parent_id` int(11) default NULL, `blog_ping_blogs` tinyint(4) default NULL, `blog_ping_google` tinyint(4) default NULL, `blog_ping_others` mediumtext, `blog_ping_technorati` tinyint(4) default NULL, `blog_ping_weblogs` tinyint(4) default NULL, `blog_remote_auth_token` varchar(50) default NULL, `blog_require_comment_emails` tinyint(4) default NULL, `blog_sanitize_spec` varchar(255) default NULL, `blog_server_offset` float default NULL, `blog_site_path` varchar(255) default NULL, `blog_site_url` varchar(255) default NULL, `blog_sort_order_comments` varchar(8) default NULL, `blog_sort_order_posts` varchar(8) default NULL, `blog_status_default` smallint(6) default NULL, `blog_theme_id` varchar(255) default NULL, `blog_use_comment_confirmation` tinyint(4) default NULL, `blog_use_revision` tinyint(4) default NULL, `blog_welcome_msg` mediumtext, `blog_words_in_excerpt` smallint(6) default NULL, PRIMARY KEY (`blog_id`), KEY `mt_blog_name` (`blog_name`), KEY `mt_blog_class` (`blog_class`), KEY `mt_blog_parent_id` (`blog_parent_id`) ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_blog` -- LOCK TABLES `mt_blog` WRITE; /*!40000 ALTER TABLE `mt_blog` DISABLE KEYS */; INSERT INTO `mt_blog` (`blog_id`, `blog_allow_anon_comments`, `blog_allow_comment_html`, `blog_allow_commenter_regist`, `blog_allow_comments_default`, `blog_allow_pings`, `blog_allow_pings_default`, `blog_allow_reg_comments`, `blog_allow_unreg_comments`, `blog_archive_path`, `blog_archive_tmpl_category`, `blog_archive_tmpl_daily`, `blog_archive_tmpl_individual`, `blog_archive_tmpl_monthly`, `blog_archive_tmpl_weekly`, `blog_archive_type`, `blog_archive_type_preferred`, `blog_archive_url`, `blog_autodiscover_links`, `blog_autolink_urls`, `blog_basename_limit`, `blog_cc_license`, `blog_children_modified_on`, `blog_class`, `blog_convert_paras`, `blog_convert_paras_comments`, `blog_created_by`, `blog_created_on`, `blog_custom_dynamic_templates`, `blog_days_on_index`, `blog_description`, `blog_email_new_comments`, `blog_email_new_pings`, `blog_entries_on_index`, `blog_file_extension`, `blog_google_api_key`, `blog_internal_autodiscovery`, `blog_is_dynamic`, `blog_junk_folder_expiry`, `blog_junk_score_threshold`, `blog_language`, `blog_manual_approve_commenters`, `blog_moderate_pings`, `blog_moderate_unreg_comments`, `blog_modified_by`, `blog_modified_on`, `blog_mt_update_key`, `blog_name`, `blog_old_style_archive_links`, `blog_parent_id`, `blog_ping_blogs`, `blog_ping_google`, `blog_ping_others`, `blog_ping_technorati`, `blog_ping_weblogs`, `blog_remote_auth_token`, `blog_require_comment_emails`, `blog_sanitize_spec`, `blog_server_offset`, `blog_site_path`, `blog_site_url`, `blog_sort_order_comments`, `blog_sort_order_posts`, `blog_status_default`, `blog_theme_id`, `blog_use_comment_confirmation`, `blog_use_revision`, `blog_welcome_msg`, `blog_words_in_excerpt`) VALUES (1,NULL,1,1,1,1,1,1,0,NULL,NULL,NULL,NULL,NULL,NULL,'Page','',NULL,NULL,1,100,NULL,'2009-11-25 19:32:59','website','richtext','1',1,'2009-11-25 19:32:57','none',0,NULL,1,1,10,'html',NULL,0,NULL,14,0,'ja',NULL,1,2,NULL,'2009-11-25 19:32:57',NULL,'First Website',NULL,NULL,0,0,NULL,0,0,NULL,0,'0',9,'/var/www/html/mt','http://testcsv.securesites.net/mt/','ascend','descend',2,'classic_website',1,1,NULL,40); /*!40000 ALTER TABLE `mt_blog` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_blog_meta` -- DROP TABLE IF EXISTS `mt_blog_meta`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_blog_meta` ( `blog_meta_blog_id` int(11) NOT NULL, `blog_meta_type` varchar(75) NOT NULL, `blog_meta_vchar` varchar(255) default NULL, `blog_meta_vchar_idx` varchar(255) default NULL, `blog_meta_vdatetime` datetime default NULL, `blog_meta_vdatetime_idx` datetime default NULL, `blog_meta_vinteger` int(11) default NULL, `blog_meta_vinteger_idx` int(11) default NULL, `blog_meta_vfloat` float default NULL, `blog_meta_vfloat_idx` float default NULL, `blog_meta_vblob` mediumblob, `blog_meta_vclob` mediumtext, PRIMARY KEY (`blog_meta_blog_id`,`blog_meta_type`), KEY `mt_blog_meta_type_vint` (`blog_meta_type`,`blog_meta_vinteger_idx`), KEY `mt_blog_meta_type_vflt` (`blog_meta_type`,`blog_meta_vfloat_idx`), KEY `mt_blog_meta_type_vdt` (`blog_meta_type`,`blog_meta_vdatetime_idx`), KEY `mt_blog_meta_type_vchar` (`blog_meta_type`,`blog_meta_vchar_idx`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_blog_meta` -- LOCK TABLES `mt_blog_meta` WRITE; /*!40000 ALTER TABLE `mt_blog_meta` DISABLE KEYS */; INSERT INTO `mt_blog_meta` (`blog_meta_blog_id`, `blog_meta_type`, `blog_meta_vchar`, `blog_meta_vchar_idx`, `blog_meta_vdatetime`, `blog_meta_vdatetime_idx`, `blog_meta_vinteger`, `blog_meta_vinteger_idx`, `blog_meta_vfloat`, `blog_meta_vfloat_idx`, `blog_meta_vblob`, `blog_meta_vclob`) VALUES (1,'commenter_authenticators','MovableType,LiveJournal,Vox',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(1,'nofollow_urls',NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL),(1,'page_layout','layout-wtt',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(1,'follow_auth_links',NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL); /*!40000 ALTER TABLE `mt_blog_meta` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_category` -- DROP TABLE IF EXISTS `mt_category`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_category` ( `category_id` int(11) NOT NULL auto_increment, `category_allow_pings` tinyint(4) default '0', `category_author_id` int(11) default NULL, `category_basename` varchar(255) default NULL, `category_blog_id` int(11) NOT NULL, `category_class` varchar(255) default 'category', `category_created_by` int(11) default NULL, `category_created_on` datetime default NULL, `category_description` mediumtext, `category_label` varchar(100) NOT NULL, `category_modified_by` int(11) default NULL, `category_modified_on` datetime default NULL, `category_parent` int(11) default '0', `category_ping_urls` mediumtext, PRIMARY KEY (`category_id`), KEY `mt_category_blog_basename` (`category_blog_id`,`category_basename`), KEY `mt_category_parent` (`category_parent`), KEY `mt_category_class` (`category_class`), KEY `mt_category_blog_class` (`category_blog_id`,`category_class`), KEY `mt_category_label` (`category_label`), KEY `mt_category_blog_id` (`category_blog_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_category` -- LOCK TABLES `mt_category` WRITE; /*!40000 ALTER TABLE `mt_category` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_category` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_category_meta` -- DROP TABLE IF EXISTS `mt_category_meta`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_category_meta` ( `category_meta_category_id` int(11) NOT NULL, `category_meta_type` varchar(75) NOT NULL, `category_meta_vchar` varchar(255) default NULL, `category_meta_vchar_idx` varchar(255) default NULL, `category_meta_vdatetime` datetime default NULL, `category_meta_vdatetime_idx` datetime default NULL, `category_meta_vinteger` int(11) default NULL, `category_meta_vinteger_idx` int(11) default NULL, `category_meta_vfloat` float default NULL, `category_meta_vfloat_idx` float default NULL, `category_meta_vblob` mediumblob, `category_meta_vclob` mediumtext, PRIMARY KEY (`category_meta_category_id`,`category_meta_type`), KEY `mt_category_meta_type_vint` (`category_meta_type`,`category_meta_vinteger_idx`), KEY `mt_category_meta_type_vflt` (`category_meta_type`,`category_meta_vfloat_idx`), KEY `mt_category_meta_type_vdt` (`category_meta_type`,`category_meta_vdatetime_idx`), KEY `mt_category_meta_type_vchar` (`category_meta_type`,`category_meta_vchar_idx`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_category_meta` -- LOCK TABLES `mt_category_meta` WRITE; /*!40000 ALTER TABLE `mt_category_meta` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_category_meta` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_comment` -- DROP TABLE IF EXISTS `mt_comment`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_comment` ( `comment_id` int(11) NOT NULL auto_increment, `comment_author` varchar(100) default NULL, `comment_blog_id` int(11) NOT NULL, `comment_commenter_id` int(11) default NULL, `comment_created_by` int(11) default NULL, `comment_created_on` datetime default NULL, `comment_email` varchar(127) default NULL, `comment_entry_id` int(11) NOT NULL, `comment_ip` varchar(50) default NULL, `comment_junk_log` mediumtext, `comment_junk_score` float default NULL, `comment_junk_status` smallint(6) default '1', `comment_last_moved_on` datetime NOT NULL default '2000-01-01 00:00:00', `comment_modified_by` int(11) default NULL, `comment_modified_on` datetime default NULL, `comment_parent_id` int(11) default NULL, `comment_text` mediumtext, `comment_url` varchar(255) default NULL, `comment_visible` tinyint(4) default NULL, PRIMARY KEY (`comment_id`), KEY `mt_comment_blog_stat` (`comment_blog_id`,`comment_junk_status`,`comment_created_on`), KEY `mt_comment_commenter_id` (`comment_commenter_id`), KEY `mt_comment_dd_coment_vis_mod` (`comment_visible`,`comment_modified_on`), KEY `mt_comment_visible_date` (`comment_visible`,`comment_created_on`), KEY `mt_comment_author` (`comment_author`), KEY `mt_comment_entry_visible` (`comment_entry_id`,`comment_visible`,`comment_created_on`), KEY `mt_comment_email` (`comment_email`), KEY `mt_comment_last_moved_on` (`comment_last_moved_on`), KEY `mt_comment_blog_visible` (`comment_blog_id`,`comment_visible`,`comment_created_on`,`comment_id`), KEY `mt_comment_blog_url` (`comment_blog_id`,`comment_visible`,`comment_url`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_comment` -- LOCK TABLES `mt_comment` WRITE; /*!40000 ALTER TABLE `mt_comment` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_comment` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_comment_meta` -- DROP TABLE IF EXISTS `mt_comment_meta`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_comment_meta` ( `comment_meta_comment_id` int(11) NOT NULL, `comment_meta_type` varchar(75) NOT NULL, `comment_meta_vchar` varchar(255) default NULL, `comment_meta_vchar_idx` varchar(255) default NULL, `comment_meta_vdatetime` datetime default NULL, `comment_meta_vdatetime_idx` datetime default NULL, `comment_meta_vinteger` int(11) default NULL, `comment_meta_vinteger_idx` int(11) default NULL, `comment_meta_vfloat` float default NULL, `comment_meta_vfloat_idx` float default NULL, `comment_meta_vblob` mediumblob, `comment_meta_vclob` mediumtext, PRIMARY KEY (`comment_meta_comment_id`,`comment_meta_type`), KEY `mt_comment_meta_type_vint` (`comment_meta_type`,`comment_meta_vinteger_idx`), KEY `mt_comment_meta_type_vflt` (`comment_meta_type`,`comment_meta_vfloat_idx`), KEY `mt_comment_meta_type_vdt` (`comment_meta_type`,`comment_meta_vdatetime_idx`), KEY `mt_comment_meta_type_vchar` (`comment_meta_type`,`comment_meta_vchar_idx`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_comment_meta` -- LOCK TABLES `mt_comment_meta` WRITE; /*!40000 ALTER TABLE `mt_comment_meta` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_comment_meta` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_config` -- DROP TABLE IF EXISTS `mt_config`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_config` ( `config_id` int(11) NOT NULL auto_increment, `config_data` mediumtext, PRIMARY KEY (`config_id`) ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_config` -- LOCK TABLES `mt_config` WRITE; /*!40000 ALTER TABLE `mt_config` DISABLE KEYS */; INSERT INTO `mt_config` (`config_id`, `config_data`) VALUES (1,'CategoryNameNodash 1\nDefaultTimezone 9\nExportEncoding Shift_JIS\nLearningNewsURL http://www.movabletype.jp/newsbox.html\nLogExportEncoding Shift_JIS\nMailEncoding ISO-2022-JP\nMTVersion 5.0\nNewsboxURL http://www.sixapart.jp/movabletype/news/newsbox.html\nNewsURL http://www.sixapart.jp/movabletype/\nPluginSchemaVersion community=1.62\nPluginSchemaVersion WidgetManager=1.1\nPluginSchemaVersion commercial=1.51\nPublishCharset UTF-8\nSchemaVersion 5.0016\nSupportURL http://www.sixapart.jp/movabletype/support/\nTimeOffset 9\n'); /*!40000 ALTER TABLE `mt_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_entry` -- DROP TABLE IF EXISTS `mt_entry`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_entry` ( `entry_id` int(11) NOT NULL auto_increment, `entry_allow_comments` tinyint(4) default NULL, `entry_allow_pings` tinyint(4) default NULL, `entry_atom_id` varchar(255) default NULL, `entry_author_id` int(11) NOT NULL, `entry_authored_on` datetime default NULL, `entry_basename` varchar(255) default NULL, `entry_blog_id` int(11) NOT NULL, `entry_category_id` int(11) default NULL, `entry_class` varchar(255) default 'entry', `entry_comment_count` int(11) default '0', `entry_convert_breaks` varchar(30) default NULL, `entry_created_by` int(11) default NULL, `entry_created_on` datetime default NULL, `entry_excerpt` mediumtext, `entry_keywords` mediumtext, `entry_modified_by` int(11) default NULL, `entry_modified_on` datetime default NULL, `entry_ping_count` int(11) default '0', `entry_pinged_urls` mediumtext, `entry_status` smallint(6) NOT NULL, `entry_tangent_cache` mediumtext, `entry_template_id` int(11) default NULL, `entry_text` mediumtext, `entry_text_more` mediumtext, `entry_title` varchar(255) default NULL, `entry_to_ping_urls` mediumtext, `entry_week_number` int(11) default NULL, `entry_current_revision` int(11) NOT NULL, PRIMARY KEY (`entry_id`), KEY `mt_entry_author_id` (`entry_author_id`), KEY `mt_entry_tag_count` (`entry_status`,`entry_class`,`entry_blog_id`,`entry_id`), KEY `mt_entry_status` (`entry_status`), KEY `mt_entry_blog_stat_date` (`entry_blog_id`,`entry_class`,`entry_status`,`entry_authored_on`,`entry_id`), KEY `mt_entry_blog_author` (`entry_blog_id`,`entry_class`,`entry_author_id`,`entry_authored_on`), KEY `mt_entry_blog_basename` (`entry_blog_id`,`entry_basename`), KEY `mt_entry_comment_count` (`entry_comment_count`), KEY `mt_entry_created_on` (`entry_created_on`), KEY `mt_entry_dd_entry_tag_count` (`entry_blog_id`,`entry_status`,`entry_class`,`entry_id`), KEY `mt_entry_auth_stat_class` (`entry_author_id`,`entry_status`,`entry_class`), KEY `mt_entry_blog_authored` (`entry_blog_id`,`entry_class`,`entry_authored_on`), KEY `mt_entry_blog_week` (`entry_blog_id`,`entry_class`,`entry_status`,`entry_week_number`), KEY `mt_entry_modified_on` (`entry_modified_on`), KEY `mt_entry_title` (`entry_title`), KEY `mt_entry_class` (`entry_class`), KEY `mt_entry_class_authored` (`entry_class`,`entry_authored_on`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_entry` -- LOCK TABLES `mt_entry` WRITE; /*!40000 ALTER TABLE `mt_entry` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_entry` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_entry_meta` -- DROP TABLE IF EXISTS `mt_entry_meta`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_entry_meta` ( `entry_meta_entry_id` int(11) NOT NULL, `entry_meta_type` varchar(75) NOT NULL, `entry_meta_vchar` varchar(255) default NULL, `entry_meta_vchar_idx` varchar(255) default NULL, `entry_meta_vdatetime` datetime default NULL, `entry_meta_vdatetime_idx` datetime default NULL, `entry_meta_vinteger` int(11) default NULL, `entry_meta_vinteger_idx` int(11) default NULL, `entry_meta_vfloat` float default NULL, `entry_meta_vfloat_idx` float default NULL, `entry_meta_vblob` mediumblob, `entry_meta_vclob` mediumtext, PRIMARY KEY (`entry_meta_entry_id`,`entry_meta_type`), KEY `mt_entry_meta_type_vint` (`entry_meta_type`,`entry_meta_vinteger_idx`), KEY `mt_entry_meta_type_vflt` (`entry_meta_type`,`entry_meta_vfloat_idx`), KEY `mt_entry_meta_type_vdt` (`entry_meta_type`,`entry_meta_vdatetime_idx`), KEY `mt_entry_meta_type_vchar` (`entry_meta_type`,`entry_meta_vchar_idx`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_entry_meta` -- LOCK TABLES `mt_entry_meta` WRITE; /*!40000 ALTER TABLE `mt_entry_meta` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_entry_meta` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_entry_rev` -- DROP TABLE IF EXISTS `mt_entry_rev`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_entry_rev` ( `entry_rev_id` int(11) NOT NULL auto_increment, `entry_rev_changed` varchar(255) NOT NULL, `entry_rev_created_by` int(11) default NULL, `entry_rev_created_on` datetime default NULL, `entry_rev_description` varchar(255) default NULL, `entry_rev_entry` mediumblob NOT NULL, `entry_rev_entry_id` int(11) NOT NULL, `entry_rev_label` varchar(255) default NULL, `entry_rev_modified_by` int(11) default NULL, `entry_rev_modified_on` datetime default NULL, `entry_rev_rev_number` int(11) NOT NULL default '0', PRIMARY KEY (`entry_rev_id`), KEY `mt_entry_rev_entry_id` (`entry_rev_entry_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_entry_rev` -- LOCK TABLES `mt_entry_rev` WRITE; /*!40000 ALTER TABLE `mt_entry_rev` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_entry_rev` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_entry_summary` -- DROP TABLE IF EXISTS `mt_entry_summary`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_entry_summary` ( `entry_summary_entry_id` int(11) NOT NULL, `entry_summary_type` varchar(75) NOT NULL, `entry_summary_class` varchar(75) NOT NULL, `entry_summary_vchar_idx` varchar(255) default NULL, `entry_summary_vinteger_idx` int(11) default NULL, `entry_summary_vblob` mediumblob, `entry_summary_vclob` mediumtext, `entry_summary_expired` smallint(6) default NULL, PRIMARY KEY (`entry_summary_entry_id`,`entry_summary_type`), KEY `mt_entry_summary_class_vint` (`entry_summary_class`,`entry_summary_vinteger_idx`), KEY `mt_entry_summary_id_class` (`entry_summary_entry_id`,`entry_summary_class`), KEY `mt_entry_summary_class_vchar` (`entry_summary_class`,`entry_summary_vchar_idx`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_entry_summary` -- LOCK TABLES `mt_entry_summary` WRITE; /*!40000 ALTER TABLE `mt_entry_summary` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_entry_summary` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_field` -- DROP TABLE IF EXISTS `mt_field`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_field` ( `field_id` int(11) NOT NULL auto_increment, `field_basename` varchar(255) default NULL, `field_blog_id` int(11) default NULL, `field_default` mediumtext, `field_description` mediumtext, `field_name` varchar(255) NOT NULL, `field_obj_type` varchar(50) NOT NULL, `field_options` mediumtext, `field_required` tinyint(4) default NULL, `field_tag` varchar(255) NOT NULL, `field_type` varchar(50) NOT NULL, PRIMARY KEY (`field_id`), KEY `mt_field_basename` (`field_basename`), KEY `mt_field_name` (`field_name`), KEY `mt_field_blog_tag` (`field_blog_id`,`field_tag`), KEY `mt_field_type` (`field_type`), KEY `mt_field_blog_id` (`field_blog_id`), KEY `mt_field_obj_type` (`field_obj_type`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_field` -- LOCK TABLES `mt_field` WRITE; /*!40000 ALTER TABLE `mt_field` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_field` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_fileinfo` -- DROP TABLE IF EXISTS `mt_fileinfo`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_fileinfo` ( `fileinfo_id` int(11) NOT NULL auto_increment, `fileinfo_archive_type` varchar(255) default NULL, `fileinfo_author_id` int(11) default NULL, `fileinfo_blog_id` int(11) NOT NULL, `fileinfo_category_id` int(11) default NULL, `fileinfo_entry_id` int(11) default NULL, `fileinfo_file_path` mediumtext, `fileinfo_startdate` varchar(80) default NULL, `fileinfo_template_id` int(11) default NULL, `fileinfo_templatemap_id` int(11) default NULL, `fileinfo_url` varchar(255) default NULL, `fileinfo_virtual` tinyint(4) default NULL, PRIMARY KEY (`fileinfo_id`), KEY `mt_fileinfo_author_id` (`fileinfo_author_id`), KEY `mt_fileinfo_archive_type` (`fileinfo_archive_type`), KEY `mt_fileinfo_template_id` (`fileinfo_template_id`), KEY `mt_fileinfo_startdate` (`fileinfo_startdate`), KEY `mt_fileinfo_entry_id` (`fileinfo_entry_id`), KEY `mt_fileinfo_category_id` (`fileinfo_category_id`), KEY `mt_fileinfo_url` (`fileinfo_url`), KEY `mt_fileinfo_blog_id` (`fileinfo_blog_id`), KEY `mt_fileinfo_templatemap_id` (`fileinfo_templatemap_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_fileinfo` -- LOCK TABLES `mt_fileinfo` WRITE; /*!40000 ALTER TABLE `mt_fileinfo` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_fileinfo` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_ipbanlist` -- DROP TABLE IF EXISTS `mt_ipbanlist`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_ipbanlist` ( `ipbanlist_id` int(11) NOT NULL auto_increment, `ipbanlist_blog_id` int(11) NOT NULL, `ipbanlist_created_by` int(11) default NULL, `ipbanlist_created_on` datetime default NULL, `ipbanlist_ip` varchar(50) NOT NULL, `ipbanlist_modified_by` int(11) default NULL, `ipbanlist_modified_on` datetime default NULL, PRIMARY KEY (`ipbanlist_id`), KEY `mt_ipbanlist_ip` (`ipbanlist_ip`), KEY `mt_ipbanlist_blog_id` (`ipbanlist_blog_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_ipbanlist` -- LOCK TABLES `mt_ipbanlist` WRITE; /*!40000 ALTER TABLE `mt_ipbanlist` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_ipbanlist` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_log` -- DROP TABLE IF EXISTS `mt_log`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_log` ( `log_id` int(11) NOT NULL auto_increment, `log_author_id` int(11) default '0', `log_blog_id` int(11) default '0', `log_category` varchar(255) default NULL, `log_class` varchar(255) default 'system', `log_created_by` int(11) default NULL, `log_created_on` datetime default NULL, `log_ip` varchar(50) default NULL, `log_level` int(11) default '1', `log_message` mediumtext, `log_metadata` varchar(255) default NULL, `log_modified_by` int(11) default NULL, `log_modified_on` datetime default NULL, PRIMARY KEY (`log_id`), KEY `mt_log_level` (`log_level`), KEY `mt_log_created_on` (`log_created_on`), KEY `mt_log_blog_id` (`log_blog_id`), KEY `mt_log_class` (`log_class`) ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_log` -- LOCK TABLES `mt_log` WRITE; /*!40000 ALTER TABLE `mt_log` DISABLE KEYS */; INSERT INTO `mt_log` (`log_id`, `log_author_id`, `log_blog_id`, `log_category`, `log_class`, `log_created_by`, `log_created_on`, `log_ip`, `log_level`, `log_message`, `log_metadata`, `log_modified_by`, `log_modified_on`) VALUES (1,0,0,NULL,'system',NULL,'2009-11-25 10:32:59',NULL,1,'\'Melody\'がデータベースをバージョン5.0016にアップグレードしました。',NULL,NULL,'2009-11-25 10:32:59'),(2,0,0,NULL,'system',NULL,'2009-11-25 10:32:59',NULL,1,'\'Melody\'がプラグイン(Professional Pack、バージョン1.5、スキーマバージョン1.51)をインストールしました。',NULL,NULL,'2009-11-25 10:32:59'),(3,0,0,NULL,'system',NULL,'2009-11-25 10:32:59',NULL,1,'\'Melody\'がプラグイン(Community Pack、バージョン1.7、スキーマバージョン1.62)をインストールしました。',NULL,NULL,'2009-11-25 10:32:59'),(4,0,0,NULL,'system',NULL,'2009-11-25 10:32:59',NULL,1,'\'Melody\'がプラグイン(Widget Manager Upgrade Assistant、バージョン1.1、スキーマバージョン1.1)をインストールしました。',NULL,NULL,'2009-11-25 10:32:59'); /*!40000 ALTER TABLE `mt_log` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_notification` -- DROP TABLE IF EXISTS `mt_notification`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_notification` ( `notification_id` int(11) NOT NULL auto_increment, `notification_blog_id` int(11) NOT NULL, `notification_created_by` int(11) default NULL, `notification_created_on` datetime default NULL, `notification_email` varchar(75) default NULL, `notification_modified_by` int(11) default NULL, `notification_modified_on` datetime default NULL, `notification_name` varchar(50) default NULL, `notification_url` varchar(255) default NULL, PRIMARY KEY (`notification_id`), KEY `mt_notification_email` (`notification_email`), KEY `mt_notification_blog_id` (`notification_blog_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_notification` -- LOCK TABLES `mt_notification` WRITE; /*!40000 ALTER TABLE `mt_notification` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_notification` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_objectasset` -- DROP TABLE IF EXISTS `mt_objectasset`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_objectasset` ( `objectasset_id` int(11) NOT NULL auto_increment, `objectasset_asset_id` int(11) NOT NULL, `objectasset_blog_id` int(11) default NULL, `objectasset_embedded` tinyint(4) default '0', `objectasset_object_ds` varchar(50) NOT NULL, `objectasset_object_id` int(11) NOT NULL, PRIMARY KEY (`objectasset_id`), KEY `mt_objectasset_blog_obj` (`objectasset_blog_id`,`objectasset_object_ds`,`objectasset_object_id`), KEY `mt_objectasset_asset_id` (`objectasset_asset_id`), KEY `mt_objectasset_id_ds` (`objectasset_object_id`,`objectasset_object_ds`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_objectasset` -- LOCK TABLES `mt_objectasset` WRITE; /*!40000 ALTER TABLE `mt_objectasset` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_objectasset` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_objectscore` -- DROP TABLE IF EXISTS `mt_objectscore`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_objectscore` ( `objectscore_id` int(11) NOT NULL auto_increment, `objectscore_author_id` int(11) default '0', `objectscore_created_by` int(11) default NULL, `objectscore_created_on` datetime default NULL, `objectscore_ip` varchar(50) default NULL, `objectscore_modified_by` int(11) default NULL, `objectscore_modified_on` datetime default NULL, `objectscore_namespace` varchar(100) NOT NULL, `objectscore_object_ds` varchar(50) NOT NULL, `objectscore_object_id` int(11) default '0', `objectscore_score` float default NULL, PRIMARY KEY (`objectscore_id`), KEY `mt_objectscore_ns_ip_ds_obj` (`objectscore_namespace`,`objectscore_ip`,`objectscore_object_ds`,`objectscore_object_id`), KEY `mt_objectscore_ds_obj` (`objectscore_object_ds`,`objectscore_object_id`), KEY `mt_objectscore_ns_user_ds_obj` (`objectscore_namespace`,`objectscore_author_id`,`objectscore_object_ds`,`objectscore_object_id`), KEY `mt_objectscore_user_ns` (`objectscore_author_id`,`objectscore_namespace`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_objectscore` -- LOCK TABLES `mt_objectscore` WRITE; /*!40000 ALTER TABLE `mt_objectscore` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_objectscore` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_objecttag` -- DROP TABLE IF EXISTS `mt_objecttag`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_objecttag` ( `objecttag_id` int(11) NOT NULL auto_increment, `objecttag_blog_id` int(11) default NULL, `objecttag_object_datasource` varchar(50) NOT NULL, `objecttag_object_id` int(11) NOT NULL, `objecttag_tag_id` int(11) NOT NULL, PRIMARY KEY (`objecttag_id`), KEY `mt_objecttag_blog_ds_tag` (`objecttag_blog_id`,`objecttag_object_datasource`,`objecttag_tag_id`), KEY `mt_objecttag_object_id` (`objecttag_object_id`), KEY `mt_objecttag_tag_id` (`objecttag_tag_id`), KEY `mt_objecttag_blog_ds_obj_tag` (`objecttag_blog_id`,`objecttag_object_datasource`,`objecttag_object_id`,`objecttag_tag_id`), KEY `mt_objecttag_object_datasource` (`objecttag_object_datasource`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_objecttag` -- LOCK TABLES `mt_objecttag` WRITE; /*!40000 ALTER TABLE `mt_objecttag` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_objecttag` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_permission` -- DROP TABLE IF EXISTS `mt_permission`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_permission` ( `permission_id` int(11) NOT NULL auto_increment, `permission_author_id` int(11) NOT NULL default '0', `permission_blog_id` int(11) NOT NULL default '0', `permission_blog_prefs` varchar(255) default NULL, `permission_created_by` int(11) default NULL, `permission_created_on` datetime default NULL, `permission_entry_prefs` mediumtext, `permission_modified_by` int(11) default NULL, `permission_modified_on` datetime default NULL, `permission_page_prefs` mediumtext, `permission_permissions` mediumtext, `permission_restrictions` mediumtext, `permission_role_mask` int(11) default '0', `permission_template_prefs` varchar(255) default NULL, PRIMARY KEY (`permission_id`), KEY `mt_permission_author_id` (`permission_author_id`), KEY `mt_permission_role_mask` (`permission_role_mask`), KEY `mt_permission_blog_id` (`permission_blog_id`) ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_permission` -- LOCK TABLES `mt_permission` WRITE; /*!40000 ALTER TABLE `mt_permission` DISABLE KEYS */; INSERT INTO `mt_permission` (`permission_id`, `permission_author_id`, `permission_blog_id`, `permission_blog_prefs`, `permission_created_by`, `permission_created_on`, `permission_entry_prefs`, `permission_modified_by`, `permission_modified_on`, `permission_page_prefs`, `permission_permissions`, `permission_restrictions`, `permission_role_mask`, `permission_template_prefs`) VALUES (1,1,0,NULL,NULL,'2009-11-25 10:32:57',NULL,NULL,'2009-11-25 10:32:57',NULL,'\'administer\',\'create_blog\',\'create_website\',\'edit_templates\',\'manage_plugins\',\'view_log\'',NULL,0,NULL),(2,1,1,NULL,1,'2009-11-25 19:32:58',NULL,NULL,'2009-11-25 19:32:58',NULL,'\'edit_categories\',\'save_image_defaults\',\'view_blog_log\',\'manage_pages\',\'set_publish_paths\',\'edit_tags\',\'manage_member_blogs\',\'manage_themes\',\'manage_feedback\',\'publish_post\',\'edit_all_posts\',\'edit_assets\',\'edit_config\',\'administer_blog\',\'create_post\',\'send_notifications\',\'edit_notifications\',\'rebuild\',\'manage_users\',\'edit_templates\',\'administer_website\',\'comment\',\'upload\'',NULL,0,NULL); /*!40000 ALTER TABLE `mt_permission` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_placement` -- DROP TABLE IF EXISTS `mt_placement`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_placement` ( `placement_id` int(11) NOT NULL auto_increment, `placement_blog_id` int(11) NOT NULL, `placement_category_id` int(11) NOT NULL, `placement_entry_id` int(11) NOT NULL, `placement_is_primary` tinyint(4) NOT NULL, PRIMARY KEY (`placement_id`), KEY `mt_placement_category_id` (`placement_category_id`), KEY `mt_placement_blog_cat` (`placement_blog_id`,`placement_category_id`), KEY `mt_placement_blog_id` (`placement_blog_id`), KEY `mt_placement_is_primary` (`placement_is_primary`), KEY `mt_placement_entry_id` (`placement_entry_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_placement` -- LOCK TABLES `mt_placement` WRITE; /*!40000 ALTER TABLE `mt_placement` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_placement` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_plugindata` -- DROP TABLE IF EXISTS `mt_plugindata`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_plugindata` ( `plugindata_id` int(11) NOT NULL auto_increment, `plugindata_data` mediumblob, `plugindata_key` varchar(255) NOT NULL, `plugindata_plugin` varchar(50) NOT NULL, PRIMARY KEY (`plugindata_id`), KEY `mt_plugindata_plugin` (`plugindata_plugin`), KEY `mt_plugindata_key` (`plugindata_key`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_plugindata` -- LOCK TABLES `mt_plugindata` WRITE; /*!40000 ALTER TABLE `mt_plugindata` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_plugindata` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_role` -- DROP TABLE IF EXISTS `mt_role`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_role` ( `role_id` int(11) NOT NULL auto_increment, `role_created_by` int(11) default NULL, `role_created_on` datetime default NULL, `role_description` mediumtext, `role_is_system` tinyint(4) default '0', `role_modified_by` int(11) default NULL, `role_modified_on` datetime default NULL, `role_name` varchar(255) NOT NULL, `role_permissions` mediumtext, `role_role_mask` int(11) default NULL, `role_role_mask2` int(11) default NULL, `role_role_mask3` int(11) default NULL, `role_role_mask4` int(11) default NULL, PRIMARY KEY (`role_id`), KEY `mt_role_created_on` (`role_created_on`), KEY `mt_role_is_system` (`role_is_system`), KEY `mt_role_name` (`role_name`) ) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_role` -- LOCK TABLES `mt_role` WRITE; /*!40000 ALTER TABLE `mt_role` DISABLE KEYS */; INSERT INTO `mt_role` (`role_id`, `role_created_by`, `role_created_on`, `role_description`, `role_is_system`, `role_modified_by`, `role_modified_on`, `role_name`, `role_permissions`, `role_role_mask`, `role_role_mask2`, `role_role_mask3`, `role_role_mask4`) VALUES (1,1,'2009-11-25 19:32:57','ウェブサイトを管理できます。',0,NULL,'2009-11-25 19:32:57','ウェブサイト管理者','\'administer_website\',\'manage_member_blogs\'',NULL,NULL,NULL,NULL),(2,1,'2009-11-25 19:32:57','ブログの管理者です。',0,NULL,'2009-11-25 19:32:57','ブログ管理者','\'administer_blog\'',4096,NULL,NULL,NULL),(3,1,'2009-11-25 19:32:57','ファイルをアップロードし、ブログ記事(カテゴリ)、ウェブページ(フォルダ)、タグを編集して公開できます。',0,NULL,'2009-11-25 19:32:57','編集者','\'comment\',\'create_post\',\'publish_post\',\'edit_all_posts\',\'edit_categories\',\'edit_tags\',\'manage_pages\',\'rebuild\',\'upload\',\'send_notifications\',\'manage_feedback\',\'edit_assets\'',NULL,NULL,NULL,NULL),(4,1,'2009-11-25 19:32:57','記事を作成し、各自の記事の編集とファイルのアップロード、およびそれらを公開できます。',0,NULL,'2009-11-25 19:32:57','ユーザー','\'comment\',\'create_post\',\'publish_post\',\'upload\',\'send_notifications\'',NULL,NULL,NULL,NULL),(5,1,'2009-11-25 19:32:57','テンプレートとテーマの編集し、管理し、それらを公開できます。',0,NULL,'2009-11-25 19:32:57','デザイナ','\'manage_themes\',\'edit_templates\',\'rebuild\'',144,NULL,NULL,NULL),(6,1,'2009-11-25 19:32:57','ページを管理し、ファイルをアップロードし、ブログテンプレートを公開できます。',0,NULL,'2009-11-25 19:32:57','ウェブマスター','\'manage_pages\',\'rebuild\',\'upload\'',NULL,NULL,NULL,NULL),(7,1,'2009-11-25 19:32:57','記事の作成、各自の記事とコメントを編集できます。',0,NULL,'2009-11-25 19:32:57','ライター','\'comment\',\'create_post\'',NULL,NULL,NULL,NULL),(8,1,'2009-11-25 19:32:57','コメントを投稿し、コメントやトラックバックを管理できます。',0,NULL,'2009-11-25 19:32:57','モデレータ','\'comment\',\'manage_feedback\'',NULL,NULL,NULL,NULL),(9,1,'2009-11-25 19:32:57','コメントを投稿できます。',0,NULL,'2009-11-25 19:32:57','コメント投稿者','\'comment\'',1,NULL,NULL,NULL); /*!40000 ALTER TABLE `mt_role` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_session` -- DROP TABLE IF EXISTS `mt_session`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_session` ( `session_id` varchar(80) NOT NULL, `session_data` mediumblob, `session_duration` int(11) default NULL, `session_email` varchar(255) default NULL, `session_kind` varchar(2) default NULL, `session_name` varchar(255) default NULL, `session_start` int(11) NOT NULL, PRIMARY KEY (`session_id`), KEY `mt_session_kind` (`session_kind`), KEY `mt_session_name` (`session_name`), KEY `mt_session_duration` (`session_duration`), KEY `mt_session_start` (`session_start`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_session` -- LOCK TABLES `mt_session` WRITE; /*!40000 ALTER TABLE `mt_session` DISABLE KEYS */; INSERT INTO `mt_session` (`session_id`, `session_data`, `session_duration`, `session_email`, `session_kind`, `session_name`, `session_start`) VALUES ('lMgCfrqhmh5Oap5hhmCEfdWh0kPeVfGbaYwIvNV1','SERG\0\0\0\0\0\0\0H\0\0\0\0\0\0 author_id-\0\0\01',NULL,NULL,'US',NULL,1259145179); /*!40000 ALTER TABLE `mt_session` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_tag` -- DROP TABLE IF EXISTS `mt_tag`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_tag` ( `tag_id` int(11) NOT NULL auto_increment, `tag_is_private` tinyint(4) default '0', `tag_n8d_id` int(11) default '0', `tag_name` varchar(255) NOT NULL, PRIMARY KEY (`tag_id`), KEY `mt_tag_n8d_id` (`tag_n8d_id`), KEY `mt_tag_name_id` (`tag_name`,`tag_id`), KEY `mt_tag_name` (`tag_name`), KEY `mt_tag_private_id_name` (`tag_is_private`,`tag_id`,`tag_name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_tag` -- LOCK TABLES `mt_tag` WRITE; /*!40000 ALTER TABLE `mt_tag` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_tag` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_tbping` -- DROP TABLE IF EXISTS `mt_tbping`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_tbping` ( `tbping_id` int(11) NOT NULL auto_increment, `tbping_blog_id` int(11) NOT NULL, `tbping_blog_name` varchar(255) default NULL, `tbping_created_by` int(11) default NULL, `tbping_created_on` datetime default NULL, `tbping_excerpt` mediumtext, `tbping_ip` varchar(50) NOT NULL, `tbping_junk_log` mediumtext, `tbping_junk_score` float default NULL, `tbping_junk_status` smallint(6) NOT NULL default '1', `tbping_last_moved_on` datetime NOT NULL default '2000-01-01 00:00:00', `tbping_modified_by` int(11) default NULL, `tbping_modified_on` datetime default NULL, `tbping_source_url` varchar(255) default NULL, `tbping_tb_id` int(11) NOT NULL, `tbping_title` varchar(255) default NULL, `tbping_visible` tinyint(4) default NULL, PRIMARY KEY (`tbping_id`), KEY `mt_tbping_blog_stat` (`tbping_blog_id`,`tbping_junk_status`,`tbping_created_on`), KEY `mt_tbping_ip` (`tbping_ip`), KEY `mt_tbping_visible_date` (`tbping_visible`,`tbping_created_on`), KEY `mt_tbping_last_moved_on` (`tbping_last_moved_on`), KEY `mt_tbping_blog_visible` (`tbping_blog_id`,`tbping_visible`,`tbping_created_on`,`tbping_id`), KEY `mt_tbping_tb_visible` (`tbping_tb_id`,`tbping_visible`,`tbping_created_on`), KEY `mt_tbping_created_on` (`tbping_created_on`), KEY `mt_tbping_junk_date` (`tbping_junk_status`,`tbping_created_on`), KEY `mt_tbping_blog_url` (`tbping_blog_id`,`tbping_visible`,`tbping_source_url`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_tbping` -- LOCK TABLES `mt_tbping` WRITE; /*!40000 ALTER TABLE `mt_tbping` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_tbping` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_tbping_meta` -- DROP TABLE IF EXISTS `mt_tbping_meta`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_tbping_meta` ( `tbping_meta_tbping_id` int(11) NOT NULL, `tbping_meta_type` varchar(75) NOT NULL, `tbping_meta_vchar` varchar(255) default NULL, `tbping_meta_vchar_idx` varchar(255) default NULL, `tbping_meta_vdatetime` datetime default NULL, `tbping_meta_vdatetime_idx` datetime default NULL, `tbping_meta_vinteger` int(11) default NULL, `tbping_meta_vinteger_idx` int(11) default NULL, `tbping_meta_vfloat` float default NULL, `tbping_meta_vfloat_idx` float default NULL, `tbping_meta_vblob` mediumblob, `tbping_meta_vclob` mediumtext, PRIMARY KEY (`tbping_meta_tbping_id`,`tbping_meta_type`), KEY `mt_tbping_meta_type_vint` (`tbping_meta_type`,`tbping_meta_vinteger_idx`), KEY `mt_tbping_meta_type_vflt` (`tbping_meta_type`,`tbping_meta_vfloat_idx`), KEY `mt_tbping_meta_type_vdt` (`tbping_meta_type`,`tbping_meta_vdatetime_idx`), KEY `mt_tbping_meta_type_vchar` (`tbping_meta_type`,`tbping_meta_vchar_idx`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_tbping_meta` -- LOCK TABLES `mt_tbping_meta` WRITE; /*!40000 ALTER TABLE `mt_tbping_meta` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_tbping_meta` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_template` -- DROP TABLE IF EXISTS `mt_template`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_template` ( `template_id` int(11) NOT NULL auto_increment, `template_blog_id` int(11) NOT NULL, `template_build_dynamic` tinyint(4) default NULL, `template_build_interval` int(11) default NULL, `template_build_type` smallint(6) default NULL, `template_created_by` int(11) default NULL, `template_created_on` datetime default NULL, `template_identifier` varchar(50) default NULL, `template_linked_file` varchar(255) default NULL, `template_linked_file_mtime` varchar(10) default NULL, `template_linked_file_size` int(11) default NULL, `template_modified_by` int(11) default NULL, `template_modified_on` datetime default NULL, `template_name` varchar(255) NOT NULL, `template_outfile` varchar(255) default NULL, `template_rebuild_me` tinyint(4) default NULL, `template_text` mediumtext, `template_type` varchar(25) NOT NULL, `template_current_revision` int(11) NOT NULL, PRIMARY KEY (`template_id`), KEY `mt_template_identifier` (`template_identifier`), KEY `mt_template_outfile` (`template_outfile`), KEY `mt_template_name` (`template_name`), KEY `mt_template_type` (`template_type`), KEY `mt_template_blog_id` (`template_blog_id`) ) ENGINE=MyISAM AUTO_INCREMENT=70 DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_template` -- LOCK TABLES `mt_template` WRITE; /*!40000 ALTER TABLE `mt_template` DISABLE KEYS */; INSERT INTO `mt_template` (`template_id`, `template_blog_id`, `template_build_dynamic`, `template_build_interval`, `template_build_type`, `template_created_by`, `template_created_on`, `template_identifier`, `template_linked_file`, `template_linked_file_mtime`, `template_linked_file_size`, `template_modified_by`, `template_modified_on`, `template_name`, `template_outfile`, `template_rebuild_me`, `template_text`, `template_type`, `template_current_revision`) VALUES (1,1,0,0,1,1,'2009-11-25 19:32:57','trackbacks',NULL,NULL,NULL,NULL,'2009-11-25 19:32:57','トラックバック',NULL,1,'\n\n
\n

<$mt:EntryTrackbackCount singular=\"トラックバック(1)\" plural=\"トラックバック(#)\" none=\"トラックバック(0)\"$>

\n\n \n \n
\n

トラックバックURL: <$mt:EntryTrackbackLink$>

\n
\n
\n\n\n \n \n \n
\n \n
\">\n
\n
\n
\n <$mt:PingBlogName$> - \"><$mt:PingTitle$> (\"><$mt:PingDate$>)\n
\n
\n
\n

\n <$mt:PingExcerpt$> \">続きを読む\n

\n
\n
\n
\n \n
\n \n
\n
\n
\n','custom',0),(2,1,0,0,1,1,'2009-11-25 19:32:57','entry_summary',NULL,NULL,NULL,NULL,'2009-11-25 19:32:57','ブログ記事の概要',NULL,1,'<$mt:EntryTrackbackData$>\n
\" class=\"entry-asset asset hentry\">\n
\n

\" rel=\"bookmark\"><$mt:EntryTitle$> - \"><$mt:EntryBlogName$>

\n \n
\n
\n\n
\n <$mt:EntryBody$>\n
\n
\n\n \n \n \n\n\n \n\n
\n
\n
\n','custom',0),(3,1,0,0,1,1,'2009-11-25 19:32:57','comment_preview',NULL,NULL,NULL,NULL,'2009-11-25 19:32:57','コメントプレビュー',NULL,1,'\n\n\n \n <$mt:Include module=\"HTMLヘッダー\"$>\n <$mt:BlogName encode_html=\"1\"$>: コメントのプレビュー\n\n\" class=\"mt-comment-preview <$mt:Var name=\"page_layout\"$>\" onload=\"mtEntryOnLoad()\" onunload=\"mtEntryOnUnload()\">\n
\n
\n\n\n <$mt:Include module=\"バナーヘッダー\"$>\n\n\n
\n
\n\n\n
\n
\n\n\n

<$mt:Var name=\"page_title\"$>

\n\n\n\n
\">\n
\n
\n
\n \n <$mt:CommentAuthorIdentity$>\n \n <$mt:CommentAuthorLink$>から<$mt:CommentLink$>\"><$mt:CommentAuthor$>への返信\n \n <$mt:CommentAuthorLink$>\n \n | \">\"><$mt:CommentDate$>\n \n
\n
\n
\n <$mt:CommentBody$>\n
\n
\n
\n\n\n\n
\n

コメントする

\n
\n
\n
<$mt:CommentScript$>\" name=\"comments_form\" id=\"comments-form\" onsubmit=\"return mtCommentOnSubmit(this)\">\n \n \n \n \" />\n \" />\n\n \" id=\"comment-parent-id\">\n\n
\n
\n \n \" onfocus=\"mtShowCaptcha()\" />\n
\n
\n \n \" onfocus=\"mtShowCaptcha()\" />\n
\n
\n \n \" onfocus=\"mtShowCaptcha()\" />\n
\n
\n\n
\n \" checked=\"checked\" onclick=\"mtSetCommentParentID()\" />\n \n
\n
\n
\n \n \n
\n
\n
\n \n \n \'\" />\n
\n
\n
\n
\n
\n
\n\n\n <$mt:Include module=\"サイドバー\"$>\n\n\n
\n
\n\n\n <$mt:Include module=\"バナーフッター\"$>\n\n\n
\n
\n\n\n','comment_preview',0),(4,1,0,0,1,1,'2009-11-25 19:32:57','search_results',NULL,NULL,NULL,NULL,'2009-11-25 19:32:57','検索結果',NULL,1,'\n\n\n \n <$mt:Include module=\"HTMLヘッダー\"$>\n <$mt:BlogName encode_html=\"1\"$>: 検索結果\n Below Javascript adds ajax search capability\n \n\n\" class=\"mt-search-results <$mt:Var name=\"page_layout\"$>\">\n
\n
\n\n\n <$mt:Include module=\"バナーヘッダー\"$>\n\n\n
\n
\n\n\n
\n
\n\n\n \n\n \n
\n <$mt:CurrentPage$>\n

\n \n 「<$mt:SearchString$>」と一致するもの\n \n \n タグ「<$mt:SearchString$>」が付けられているもの\n \n

\n
\n \n <$mt:Include module=\"ブログ記事の概要\" hide_counts=\"1\" display_blog_name=\"1\" local=\"1\"$>\n \n
\n\n \n \n
\n \n
\n
\n\n<$mt:Var name=\"search_results\"$>\n\n\n\n\n

\n \n 「<$mt:SearchString$>」と一致するもの\n \n \n タグ「<$mt:SearchString$>」が付けられているもの\n \n

\n

「<$mt:SearchString$>」と一致する結果は見つかりませんでした。

\n
\n\n\n\n\n

\n

すべての単語が順序に関係なく検索されます。フレーズで検索したいときは引用符で囲んでください。

\n
\n

\"movable type\"

\n
\n

AND、OR、NOTを入れることで論理検索を行うこともできます。

\n
\n

個人 OR 出版

\n

個人 NOT 出版

\n
\n
\n\n\n\n\n\n\n\n
\n
\n\n <$mt:Include module=\"サイドバー\"$>\n\n\n
\n
\n\n\n <$mt:Include module=\"バナーフッター\"$>\n\n\n
\n
\n\n\n','search_results',0),(5,1,0,0,1,1,'2009-11-25 19:32:57','recent_assets',NULL,NULL,NULL,NULL,'2009-11-25 19:32:57','アイテム',NULL,1,'\n \n \n\n \n \n\n','widget',0),(6,1,0,0,1,1,'2009-11-25 19:32:57','rsd',NULL,NULL,NULL,NULL,'2009-11-25 19:32:57','RSD','rsd.xml',1,'<$mt:HTTPContentType type=\"application/rsd+xml\"$>\n\n\n<$mt:ProductName version=\"1\"$>\nhttp://www.sixapart.com/movabletype/\n<$mt:BlogURL$>\n\n<$mt:XMLRPCScript$>\" blogID=\"<$mt:BlogID$>\" />\n<$mt:XMLRPCScript$>\" blogID=\"<$mt:BlogID$>\" />\n<$mt:XMLRPCScript$>\" blogID=\"<$mt:BlogID$>\" />\n<$mt:AtomScript$>/weblog\" blogID=\"<$mt:BlogID$>\" />\n\n\n\n','index',0),(7,1,0,0,1,1,'2009-11-25 19:32:57','styles',NULL,NULL,NULL,NULL,'2009-11-25 19:32:57','スタイルシート','styles.css',1,'@import url(<$mt:StaticWebPath$>themes-base/blog.css);\n@import url(<$mt:StaticWebPath$>themes/minimalist-red/screen.css);\n','index',0),(8,1,0,0,1,1,'2009-11-25 19:32:57','feed_recent',NULL,NULL,NULL,NULL,'2009-11-25 19:32:57','最新記事のフィード','atom.xml',1,'<$mt:HTTPContentType type=\"application/atom+xml\"$>\"?>\n\n <$mt:BlogName remove_html=\"1\" encode_xml=\"1\"$>\n \" />\n \" />\n tag:<$mt:BlogHost exclude_port=\"1\" encode_xml=\"1\"$>,<$mt:TemplateCreatedOn format=\"%Y-%m-%d\"$>:<$mt:BlogRelativeURL encode_xml=\"1\"$>/<$mt:BlogID$>\n <$mt:EntryModifiedDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$>\n <$mt:BlogDescription remove_html=\"1\" encode_xml=\"1\"$>\n <$mt:ProductName version=\"1\"$>\n\n\n <$mt:EntryTitle remove_html=\"1\" encode_xml=\"1\"$> - <$mt:EntryBlogName$>\n \" />\n <$mt:EntryAtomID$>\n\n <$mt:EntryDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$>\n <$mt:EntryModifiedDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$>\n\n <$mt:EntryExcerpt remove_html=\"1\" encode_xml=\"1\"$>\n \n <$mt:EntryAuthorDisplayName encode_xml=\"1\"$>\n <$mt:EntryAuthorURL encode_xml=\"1\"$>\n \n \n \" scheme=\"http://www.sixapart.com/ns/types#category\" />\n \n \" label=\"<$mt:TagName encode_xml=\"1\"$>\" scheme=\"http://www.sixapart.com/ns/types#tag\" />\n \n \" xml:base=\"<$mt:BlogURL encode_xml=\"1\"$>\">\n <$mt:EntryBody encode_xml=\"1\"$>\n <$mt:EntryMore encode_xml=\"1\"$>\n \n\n\n\n','index',0),(9,1,0,0,1,1,'2009-11-25 19:32:57','popup_image',NULL,NULL,NULL,NULL,'2009-11-25 19:32:57','ポップアップ画像',NULL,1,'\n\n<$mt:ImageURL$>\n\n \" width=\"<$mt:ImageWidth$>\" height=\"<$mt:ImageHeight$>\" alt=\"<$mt:ImageURL$>\" style=\"margin: 0;padding: 0;border: 0;\" />\n\n\n','popup_image',0),(10,1,0,0,1,1,'2009-11-25 19:32:57','tag_cloud',NULL,NULL,NULL,NULL,'2009-11-25 19:32:57','タグクラウド',NULL,1,'\n\n
\n

タグクラウド

\n \n
\n
\n
\n','widget',0),(11,1,0,0,1,1,'2009-11-25 19:32:57','banner_header',NULL,NULL,NULL,NULL,'2009-11-25 19:32:57','バナーヘッダー',NULL,1,'
\n
\n \n
\n
\n','custom',0),(12,1,0,0,1,1,'2009-11-25 19:32:57','technorati_search',NULL,NULL,NULL,NULL,'2009-11-25 19:32:57','Technorati Search',NULL,1,'
\n

Techonrati

\n
\n
\n
\n
\n Technorati search\n \n
\n \" />\n \n \n \n
\n
\n

\" id=\"ts_lh\">» リンクしているブログ

\n
\n
\n
\n','widget',0),(13,1,0,0,1,1,'2009-11-25 19:32:57','recent_entries',NULL,NULL,NULL,NULL,'2009-11-25 19:32:57','最近のブログ記事',NULL,1,'\n \n \n
\n

最近のブログ記事

\n \n
\n \n
\n
\n','widget',0),(14,1,0,0,1,1,'2009-11-25 19:32:57','powered_by',NULL,NULL,NULL,NULL,'2009-11-25 19:32:57','Powered By',NULL,1,'
\n
\n images/bug-pbmt-white.png\" alt=\"Powered by Movable Type <$mt:Version$>\" width=\"120\" height=\"75\" />\n
\n
\n','widget',0),(15,1,0,0,1,1,'2009-11-25 19:32:57','pages_list',NULL,NULL,NULL,NULL,'2009-11-25 19:32:57','ページ一覧',NULL,1,'\n
\n

ウェブページ

\n
\n \n
\n
\n
\n','widget',0),(16,1,0,0,1,1,'2009-11-25 19:32:57','comments',NULL,NULL,NULL,NULL,'2009-11-25 19:32:57','コメント',NULL,1,'\n\n\n\n\n
\n\n\n \n \n \n \n \n

<$mt:EntryCommentCount singular=\"コメント(1)\" plural=\"コメント(#)\" none=\"コメント(0)\"$>

\n \n \n \n
\n \n <$mt:Include module=\"コメント詳細\"$>\n \n
\n \n
\n \n ページネーションスクリプトによって変更されています。\n \n \n\n \n \n \n \n
\n

コメントする

\n
\n\n \n \n \n
\n\n
<$mt:CommentScript$>\" name=\"comments_form\" id=\"comments-form\" onsubmit=\"return mtCommentOnSubmit(this)\">\n \n \" />\n \" />\n \" id=\"comment-parent-id\" />\n \n \n \n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
\n
\n \n \n
\n
\n \n \n
\n
\n
\n \n \n
\n
\n\n\n
\n
\n \n
\n\n\n
\n
\n','custom',0),(17,1,0,0,1,1,'2009-11-25 19:32:57','page',NULL,NULL,NULL,NULL,'2009-11-25 19:32:57','ウェブページ',NULL,1,'\n\n\n <$mt:Include module=\"HTMLヘッダー\"$>\n <$mt:EntryTrackbackData$>\n <$mt:Var name=\"comments_per_page\" value=\"50\"$>\n \n \n \n <$mt:PageTitle encode_html=\"1\"$> - <$mt:BlogName encode_html=\"1\"$>\n\n\" class=\"mt-page-archive <$mt:Var name=\"page_layout\"$>\">\n
\n
\n\n\n <$mt:Include module=\"バナーヘッダー\"$>\n\n\n
\n
\n\n\n
\n
\n\n\n
\" class=\"page-asset asset\">\n
\n

<$mt:PageTitle$>

\n
\n
\n\n
\n <$mt:PageBody$>\n
\n
\n\n
\n <$mt:PageMore$>\n
\n
\n
\n
\n
\n\n\n <$mt:Include module=\"トラックバック\"$>\n <$mt:Include module=\"コメント\"$>\n\n\n
\n
\n\n\n <$mt:Include module=\"サイドバー\"$>\n\n\n
\n
\n\n\n <$mt:Include module=\"バナーフッター\"$>\n\n\n
\n
\n\n\n','page',0),(18,1,0,0,1,1,'2009-11-25 19:32:57','sidebar',NULL,NULL,NULL,NULL,'2009-11-25 19:32:57','サイドバー',NULL,1,'\n\n\n
\n
\n\n\n \n <$mt:WidgetSet name=\"2カラムのサイドバー\"$>\n\n \n <$mt:WidgetSet name=\"3カラムのサイドバー(メイン)\"$>\n\n\n
\n
\n\n\n\n \n
\n
\n <$mt:WidgetSet name=\"3カラムのサイドバー(サブ)\"$>\n
\n
\n
\n','custom',0),(19,1,0,0,1,1,'2009-11-25 19:32:57','comment_detail',NULL,NULL,NULL,NULL,'2009-11-25 19:32:57','コメント詳細',NULL,1,'
\" class=\"comment comment-reply entry-author-comment\">\n
\n
\n
\n \n <$mt:CommentAuthorIdentity$>\n\n <$mt:CommentAuthorLink$>から<$mt:CommentLink$>\"><$mt:CommentAuthor$>への返信\n\n <$mt:CommentAuthorLink$>\n\n | \">\"><$mt:CommentDate$>\n\n | <$mt:CommentReplyToLink$>\n\n \n
\n
\n
\n <$mt:CommentBody$>\n
\n
\n
','custom',0),(20,1,0,0,1,1,'2009-11-25 19:32:58','signin',NULL,NULL,NULL,NULL,'2009-11-25 19:32:58','サインイン',NULL,1,'\n
\n

サインイン

\n
\n
\n\n
\n','widget',0),(21,1,0,0,1,1,'2009-11-25 19:32:58','openid',NULL,NULL,NULL,NULL,'2009-11-25 19:32:58','OpenID対応',NULL,1,'\n
\n
\n OpenID対応しています\n OpenIDについて\n
\n
\n
\n','widget',0),(22,1,0,0,1,1,'2009-11-25 19:32:58','creative_commons',NULL,NULL,NULL,NULL,'2009-11-25 19:32:58','クリエイティブ・コモンズ',NULL,1,'\n
\n
\n \">\"Creative\" />
\n このブログは\">クリエイティブ・コモンズでライセンスされています。\n
\n
\n
\n','widget',0),(23,1,0,0,1,1,'2009-11-25 19:32:58','blogs',NULL,NULL,NULL,NULL,'2009-11-25 19:32:58','ブログ',NULL,1,'\n \n
\n

ブログ

\n
\n \n
\n
\n
\n
\n','widget',0),(24,1,0,0,1,1,'2009-11-25 19:32:58','banner_footer',NULL,NULL,NULL,NULL,'2009-11-25 19:32:58','バナーフッター',NULL,1,'
\n
\n
\n
\n
\n Powered by <$MTProductName$>\n
\n
\n\n
\n
\n このブログは\">クリエイティブ・コモンズでライセンスされています。\n
\n
\n
\n
\n
\n
\n','custom',0),(25,1,0,0,1,1,'2009-11-25 19:32:58','comment_response',NULL,NULL,NULL,NULL,'2009-11-25 19:32:58','コメント完了',NULL,1,'\n\n\n\n\n\n \n <$mt:Var name=\"page_title\" value=\"確認\"$>\n <$mt:Var name=\"message\" value=\"

コメントを投稿しました。

\"$>\n\n \n <$mt:Var name=\"page_title\" value=\"コメントありがとうございます。\"$>\n <$mt:Var name=\"message\" value=\"

コメントは現在承認されるまで公開を保留されています。

\"$>\n\n \n <$mt:Var name=\"page_title\" value=\"コメント投稿エラー\"$>\n

コメントを投稿できませんでした。エラー: <$mt:ErrorMessage$>

\n
\n\n\n <$mt:Include module=\"HTMLヘッダー\"$>\n <$mt:BlogName encode_html=\"1\"$>: <$mt:Var name=\"page_title\"$>\n\n\" class=\"<$mt:Var name=\"body_class\"$> <$mt:Var name=\"page_layout\"$>\">\n
\n
\n\n\n <$mt:Include module=\"バナーヘッダー\"$>\n\n\n
\n
\n\n\n
\n
\n

<$mt:Var name=\"page_title\"$>

\n <$mt:Var name=\"message\"$>\n

javascript:history.back()<$mt:EntryLink$>\">元の記事に戻る

\n
\n
\n\n\n <$mt:Include module=\"サイドバー\"$>\n\n\n
\n
\n\n\n <$mt:Include module=\"バナーフッター\"$>\n\n\n
\n
\n\n\n','comment_response',0),(26,1,0,0,1,1,'2009-11-25 19:32:58','syndication',NULL,NULL,NULL,NULL,'2009-11-25 19:32:58','購読',NULL,1,'
\n
\n \n
\n
\n','widget',0),(27,1,0,0,1,1,'2009-11-25 19:32:58','javascript',NULL,NULL,NULL,NULL,'2009-11-25 19:32:58','JavaScript','mt.js',1,'\n/* The following functions and variables are here to support legacy MT templates.\n If you have refreshed your JavaScript template but still use older MT comment\n templates, you may need to uncomment this block in order for those templates \n to work properly. To use, simply remove the \'mt:Ignore\' tags wrapping this\n block of code.\n*/\n function hideDocumentElement(id) { return mtHide(id) }\n function showDocumentElement(id) { return mtShow(id) }\n function individualArchivesOnLoad() { return mtEntryOnLoad() }\n function writeCommenterGreeting() { return mtShowGreeting() }\n function rememberMe(f) { return mtRememberMe(f) }\n function forgetMe(f) { return mtForgetMe(f) }\n var commenter_name;\n var commenter_id;\n var commenter_url;\n var commenter_blog_ids;\n var mtcmtmail;\n var mtcmtauth;\n var mtcmthome;\n var captcha_timer;\n\n\n// The cookie name to use for storing the blog-side comment session cookie.\nvar mtCookieName = \"<$mt:UserSessionCookieName$>\";\nvar mtCookieDomain = \"<$mt:UserSessionCookieDomain$>\";\nvar mtCookiePath = \"<$mt:UserSessionCookiePath$>\";\nvar mtCookieTimeout = <$mt:UserSessionCookieTimeout$>;\n\n\n/***\n * Simple routine for showing a DOM element (applying a CSS display\n * attribute of \'none\').\n */\n\nfunction mtHide(id) {\n var el = (typeof id == \"string\") ? document.getElementById(id) : id;\n if (el) el.style.display = \'none\';\n}\n\n\n/***\n * Simple routine for showing a DOM element (applying a CSS display\n * attribute of \'block\').\n */\n\nfunction mtShow(id) {\n var el = (typeof id == \"string\") ? document.getElementById(id) : id;\n if (el) el.style.display = \'block\';\n}\n\n\n/***\n * A utility function for assigning/adding handlers to window events.\n */\n\nfunction mtAttachEvent(eventName,func) {\n var onEventName = \'on\' + eventName;\n var old = window[onEventName];\n if( typeof old != \'function\' )\n window[onEventName] = func;\n else {\n window[onEventName] = function( evt ) {\n old( evt );\n return func( evt );\n };\n }\n}\n\n\n/***\n * Calls the event named, if there are handlers for it.\n */\n\nfunction mtFireEvent(eventName,param) {\n var fn = window[\'on\' + eventName];\n if (typeof fn == \'function\') return fn(param);\n return;\n}\n\nif(!this.JSON){JSON={};}(function(){function f(n){return n<10?\'0\'+n:n;}if(typeof Date.prototype.toJSON!==\'function\'){Date.prototype.toJSON=function(key){return this.getUTCFullYear()+\'-\'+f(this.getUTCMonth()+1)+\'-\'+f(this.getUTCDate())+\'T\'+f(this.getUTCHours())+\':\'+f(this.getUTCMinutes())+\':\'+f(this.getUTCSeconds())+\'Z\';};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf();};}var cx=/[\\u0000\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,escapable=/[\\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,gap,indent,meta={\'\\b\':\'\\\\b\',\'\\t\':\'\\\\t\',\'\\n\':\'\\\\n\',\'\\f\':\'\\\\f\',\'\\r\':\'\\\\r\',\'\"\':\'\\\\\"\',\'\\\\\':\'\\\\\\\\\'},rep;function quote(string){escapable.lastIndex=0;return escapable.test(string)?\'\"\'+string.replace(escapable,function(a){var c=meta[a];return typeof c===\'string\'?c:\'\\\\u\'+(\'0000\'+a.charCodeAt(0).toString(16)).slice(-4);})+\'\"\':\'\"\'+string+\'\"\';}function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];if(value&&typeof value===\'object\'&&typeof value.toJSON===\'function\'){value=value.toJSON(key);}if(typeof rep===\'function\'){value=rep.call(holder,key,value);}switch(typeof value){case\'string\':return quote(value);case\'number\':return isFinite(value)?String(value):\'null\';case\'boolean\':case\'null\':return String(value);case\'object\':if(!value){return\'null\';}gap+=indent;partial=[];if(Object.prototype.toString.apply(value)===\'[object Array]\'){length=value.length;for(i=0;i\n/**\n * Used for base functionality related to MT\n * \n * @package MT\n * @class core\n * @global\n * @param {Object} o optional configuration object\n * Options:\n */\n\nMT.core = function (o) {\n var _debug = false;\n \n return {\n \n /**\n * Makes remote call and handles response\n * \n * @param {String} url The URL endpoint\n * @param {String} respType The type of response expected\n * @param {Function} respHandler The function to handle the response\n * @return void\n */\n \n connect : function (url,respType,respHandler) {\n var xh = mtGetXmlHttp();\n if (!xh) return false;\n \n xh.onreadystatechange = function() {\n if ( xh.readyState == 4 ) {\n if ( xh.status && ( xh.status != 200 ) ) {\n // error - ignore\n } else {\n switch (respType) {\n case \'json\':\n respHandler(JSON.parse(xh.responseText));\n break;\n \n case \'xml\':\n break;\n \n case \'text\':\n break;\n }\n }\n }\n };\n \n xh.open(\'GET\',url);\n xh.send(null);\n },\n \n getEl : function (el) {\n return MT.util.checkNodeType(el)===\'element\' ? id : (document.getElementById(el) || false);\n },\n \n addEvent : function (el,type,func,obj) {\n if(!obj && document.addEventListener) {\n el.addEventListener(type,func,false);\n } else if(obj && document.addEventListener) {\n el.addEventListener(type,function () {\n func.call(obj,event);\n },false);\n } else {\n if(obj) {\n el.attachEvent(\'on\' + type,function () {\n func.call(obj,event);\n });\n } else {\n el.attachEvent(\'on\' + type,function () { \n func.call(el,event);\n });\n }\n }\n },\n \n \n /**\n * Basic logging function\n * \n * @param {String} level The log level (WARN|DEBUG|INFO|ERROR|LOG)\n * Specified by one of the MT constants\n * @param {String} msg The log message\n * @return void\n */\n \n log : function (level,msg) {\n if(_debug && window.console) {\n switch(level) {\n case \'warn\':\n case \'debug\':\n case \'info\':\n case \'error\':\n case \'log\':\n console[level](msg);\n break;\n \n default:\n return false; \n }\n } else {\n return false;\n }\n }\n }\n}();\n\n\n/**\n * Utilities class\n * \n * @package MT\n * @class util\n * @global\n * Options:\n */\n\nMT.util = function () {\n return {\n toggleVisibility : {\n show : function () {\n var i = arguments.length;\n \n while(i--) {\n if(MT.util.checkNodeType(arguments[i])===\'element\') {\n arguments[i].style.visibility = \'visible\';\n } else {\n MT.core.getEl(arguments[i]).style.visibility = \'visible\';\n }\n }\n },\n \n hide : function () {\n var i = arguments.length;\n while(i--) {\n if(MT.util.checkNodeType(arguments[i])===\'element\') {\n arguments[i].style.visibility = \'hidden\';\n } else {\n MT.core.getEl(arguments[i]).style.visibility = \'hidden\';\n }\n }\n }\n },\n \n toggleDisplay : {\n show : function () {\n var i = arguments.length;\n while(i--) {\n if(MT.util.checkNodeType(arguments[i])===\'element\') {\n arguments[i].style.display = \'\';\n } else {\n MT.core.getEl(arguments[i]).style.display = \'\';\n }\n }\n },\n \n hide : function () {\n var i = arguments.length;\n while(i--) {\n if(MT.util.checkNodeType(arguments[i])===\'element\') {\n arguments[i].style.display = \'none\';\n } else {\n MT.core.getEl(arguments[i]).style.display = \'none\';\n }\n }\n }\n },\n \n \n /**\n * Finds the nearest defining (i.e. with an id) parent to the given element\n * \n * @param {HTMLElement} origin the node from which to start the search\n * @return {HTMLElement|Boolean} The parent node with an id attribute or false\n */\n \n findDefiningParent : function (origin) {\n if(MT.util.checkNodeType(origin)===\'element\') {\n for(var node=origin.parentNode;node.parentNode;node=node.parentNode) {\n if((node.hasAttribute && node.hasAttribute(\'id\')) || node.getAttribute(\'id\')) {\n return node;\n }\n }\n }\n return false;\n },\n \n \n /**\n * Tests objects to verify if they are DOM nodes\n * \n * @param {Object} obj The object to be tested\n * @return {String} the values \'element\'|\'textnode\'|\'whitespace\'\n */\n \n checkNodeType : function (obj) {\n if (obj && obj.nodeName){\n switch (obj.nodeType) {\n case 1: return \'element\';\n case 3: return (/\\S/).test(obj.nodeValue) ? \'textnode\' : \'whitespace\';\n }\n }\n }\n }\n}();\n\n\n/**\n * mtPaginateComments takes the currently generated static page and either:\n * - Attempts to find an individual comment link in the query string\n * - If no link is found, the static page loads\n * In either case, the pagination event is set\n */\n\n(function () {\n var M = MT.core,\n c = MT.cons,\n u = MT.util,\n cache,\n isLoading,\n direction,\n currentComments,\n commentAnchor,\n commentArrId,\n commentsPerPage,\n commentsTotalPages,\n loadingIcon,\n pageNum,\n commentsOffset,\n totalComments,\n entryID,\n commentContentDiv,\n topNav,\n nav,\n currentCommentsSpan,\n topCurrentCommentsSpan;\n \n M.addEvent(window,\'load\',_init);\n \n /**\n * Initializes the class\n * \n * @return void\n */\n function _init () {\n if(!MT.entryCommentCount) {\n return;\n }\n \n _initializeVariables();\n _setCommentOffset(false);\n _checkForAnchor();\n _setCurrentComments();\n _toggleNavLinks();\n _initializeEvents();\n }\n \n \n /**\n * Initializes variables to their initial values\n * \n * @return void\n */\n \n function _initializeVariables() {\n cache = {};\n isLoading = false;\n commentAnchor = \'\';\n commentArrId = \'\';\n commentsPerPage = MT.commentsPerPage || 50;\n currentComments = \'\';\n direction = \'ascend\';\n entryID = MT.entryID;\n totalComments = MT.entryCommentCount;\n commentsTotalPages = Math.ceil(totalComments / commentsPerPage);\n pageNum = 1;\n \n loadingIcon = \"images/indicator.white.gif\' alt=\'Loading\' />\";\n \n commentContentDiv = M.getEl(\"comments-content\");\n topNav = M.getEl(\"top-comment-nav\");\n nav = M.getEl(\"comment-nav\");\n \n currentCommentsSpan = M.getEl(\"current-comments\");\n topCurrentCommentsSpan = M.getEl(\"top-current-comments\");\n }\n \n function _initializeEvents() {\n if (commentsPerPage < totalComments) {\n M.addEvent(nav,\'click\',_handleEvents);\n M.addEvent(topNav,\'click\',_handleEvents);\n }\n }\n \n \n /**\n * Checks for an existing anchor tag in the query string\n * If found, it looks for it on the current page\n * If that fails, it tries to find it in comment list and loads\n * the desired page\n * \n * @return void\n */\n \n function _checkForAnchor() {\n var found = String(window.location.hash).match( /comment-(\\d{1,6})/ );\n \n if (found) {\n M.log(c.DEBUG,found);\n if (!Object.prototype.hasOwnProperty.call(M.getEl(found[0]), \'className\')) {\n if (_findIdMatch(found[1])) {\n pageNum = Math.floor(commentArrId / commentsPerPage) + 1;\n M.log(c.DEBUG,\'Comment Array Id: \' + commentArrId);\n M.log(c.DEBUG,\'Comments Per Page: \' + commentsPerPage);\n M.log(c.DEBUG,\'Page Number: \' + pageNum);\n M.log(c.DEBUG,\'Comment Offset: \' + _getCommentOffset());\n _updateComments();\n }\n }\n }\n }\n \n \n /**\n * Sets commentsOffset (i.e. the offset number to the remote list)\n * \n * @return void\n */\n \n function _setCommentOffset() {\n commentsOffset = commentsPerPage * (pageNum-1);\n }\n \n \n /**\n * Gets the commentsOffset (i.e. the offset number to the remote list)\n * \n * @return void\n */\n \n function _getCommentOffset() {\n return commentsOffset;\n }\n \n \n /**\n * General event handler\n * \n * @param {Event} e The event object\n * @return void\n */\n \n function _handleEvents (e) {\n var origin = e.target || e.srcElement,\n parentId;\n \n // stupid IE\n origin = origin.id && M.getEl(origin.id) || false;\n\n if(origin) {\n parentId = u.checkNodeType(origin.parentNode)===\'element\' && origin.parentNode.getAttribute(\'id\') && origin.parentNode.id;\n } else {\n return false;\n }\n \n switch(origin.nodeName) {\n case \'A\':\n switch (parentId) {\n case \'prev-comments\':\n case \'top-prev-comments\':\n if(e.preventDefault) {\n e.preventDefault();\n } else {\n e.returnValue = false;\n }\n if(!isLoading) {\n _previousPage();\n }\n break;\n case \'next-comments\':\n case \'top-next-comments\':\n if(e.preventDefault) {\n e.preventDefault();\n } else {\n e.returnValue = false;\n }\n if(!isLoading) {\n _nextPage();\n }\n break;\n }\n break;\n }\n }\n \n \n /**\n * Toggles the visibility of the navigation links\n * \n * @return void\n */\n \n function _toggleNavLinks () {\n M.log(c.DEBUG,M.getEl(\'top-prev-comments\'));\n if(pageNum <= commentsTotalPages && pageNum !== 1) {\n u.toggleVisibility.show(\'prev-comments\');\n u.toggleVisibility.show(\'top-prev-comments\');\n }\n \n if(pageNum >= 1 && pageNum !== commentsTotalPages) {\n u.toggleVisibility.show(\'next-comments\');\n u.toggleVisibility.show(\'top-next-comments\');\n }\n \n if(pageNum===1 || nav.style.visibility===\'hidden\') {\n u.toggleVisibility.hide(\'prev-comments\');\n u.toggleVisibility.hide(\'top-prev-comments\');\n }\n \n if(pageNum===commentsTotalPages || nav.style.visibility===\'hidden\') {\n u.toggleVisibility.hide(\'next-comments\');\n u.toggleVisibility.hide(\'top-next-comments\');\n }\n }\n \n \n /**\n * Determines appropriate action based on the id of the parent\n * clicked link. Decrements pageNum based on id.\n * \n * @param {String} id the id of the parent of the clicked link\n * @return void\n */\n \n function _nextPage () {\n if(pageNum < commentsTotalPages) {\n pageNum++;\n _updateComments();\n }\n }\n \n \n /**\n * Determines appropriate action based on the id of the parent\n * clicked link. Increments/decrements pageNum based on id.\n * \n * @param {String} id the id of the parent of the clicked link\n * @return void\n */\n \n function _previousPage() {\n if(pageNum > 1) {\n pageNum--;\n _updateComments();\n }\n }\n \n \n /**\n * Searches for a particular comment in the list of ids\n * \n * @param {String} id The id for which to search\n * @return {Boolean} true, if found, false otherwise\n */\n \n function _findIdMatch (id) {\n var len = MT.commentIds.length;\n \n while (len--) {\n if (MT.commentIds[len] == id) {\n commentAnchor = \"comment-\" + id;\n commentArrId = len;\n return true;\n }\n }\n \n return false;\n }\n \n \n /**\n * Sets the current comment counts on the page\n *\n * @return void\n */\n \n function _setCurrentComments() {\n var commentsOnPage = pageNum != commentsTotalPages ? commentsOffset + commentsPerPage : totalComments;\n \n _setCurrentCommentsContent([commentsOffset+1,\" - \",commentsOnPage].join(\'\'));\n }\n \n \n /**\n * Sets the \"current-comments\" element with the HTML value\n * \n * @param {String|Element} currentCommentsHTML The content to be set\n * @return void\n */\n \n function _setCurrentCommentsContent(currentCommentsHTML) {\n currentCommentsSpan.innerHTML = currentCommentsHTML;\n topCurrentCommentsSpan.innerHTML = currentCommentsHTML;\n }\n \n \n /**\n * Sets the content of the comment list\n * \n * @param {String|Element} commentHTML The content to be set \n * @return void\n */\n \n function _setCommentContent(commentHTML) {\n commentContentDiv.innerHTML = commentHTML;\n }\n \n \n /**\n * Builds the appropriate URL to make a remote call to get the\n * next set of comments\n * \n * @return void\n */\n \n function _updateComments() {\n var comments, jsonUrl;\n isLoading = true;\n _setCurrentCommentsContent(loadingIcon);\n _setCommentOffset();\n \n jsonUrl = [\n \"<$mt:CGIPath$><$mt:CommentScript$>?__mode=comment_listing&direction=\",\n direction,\n \"&entry_id=\",\n entryID,\n \"&limit=\",\n commentsPerPage,\n \"&offset=\",\n _getCommentOffset()\n ].join(\'\');\n \n if (!commentAnchor) {\n commentAnchor = \"comments-content\";\n }\n \n if(cache.hasOwnProperty(jsonUrl)) {\n _refreshComments(cache[jsonUrl]);\n isLoading = false;\n } else {\n M.connect(jsonUrl,c.JSON,function (json) {\n cache[jsonUrl] = json.comments;\n _refreshComments(json.comments);\n isLoading = false;\n });\n }\n }\n \n \n /**\n * Refreshes the comment data with the current\n * \n * @param {String} commentData The data used to replace current comments\n * @return void\n */\n \n function _refreshComments(commentData) {\n _setCommentContent(commentData);\n _setCurrentComments();\n window.location.hash = \'reset\';\n window.location.hash = commentAnchor;\n _toggleNavLinks();\n }\n})();\n\n\n/***\n * Displays a relative date.\n * \'ts\' is a Date object, \'fds\' is a string of the date which\n * will be displayed if the given date is older than 1 week.\n */\n\nfunction mtRelativeDate(ts, fds) {\n var now = new Date();\n var ref = ts;\n var delta = Math.floor((now.getTime() - ref.getTime()) / 1000);\n\n var str;\n if (delta < 60) {\n str = \'直前\';\n } else if (delta <= 86400) {\n // less than 1 day\n var hours = Math.floor(delta / 3600);\n var min = Math.floor((delta % 3600) / 60);\n if (hours == 1)\n str = \'1 時間前\';\n else if (hours > 1)\n str = \'2 時間前\'.replace(/2/, hours);\n else if (min == 1)\n str = \'1 分前\';\n else\n str = \'2 分前\'.replace(/2/, min);\n } else if (delta <= 604800) {\n // less than 1 week\n var days = Math.floor(delta / 86400);\n var hours = Math.floor((delta % 86400) / 3600);\n if (days == 1)\n str = \'1 日前\';\n else if (days > 1)\n str = \'2 日前\'.replace(/2/, days);\n else if (hours == 1)\n str = \'1 時間前\';\n else\n str = \'2 時間前\'.replace(/2/, hours);\n }\n return str ? str : fds;\n}\n\n\n/***\n * Used to display an edit link for the given entry.\n */\n\nfunction mtEditLink(entry_id, author_id) {\n var u = mtGetUser();\n if (! u) return;\n if (! entry_id) return;\n if (! author_id) return;\n if (u.id != author_id) return;\n var link = \'?__mode=view&_type=entry&id=\' + entry_id + \'\">編集\';\n document.write(link);\n}\n\n\n/***\n * Called when an input field on the comment form receives focus.\n */\n\nfunction mtCommentFormOnFocus() {\n // if CAPTCHA is enabled, this causes the captcha image to be\n // displayed if it hasn\'t been already.\n mtShowCaptcha();\n}\n\n\n/***\n * Displays a captcha field for anonymous commenters.\n */\n\nvar mtCaptchaVisible = false;\nfunction mtShowCaptcha() {\n var u = mtGetUser();\n if ( u && u.is_authenticated ) return;\n if (mtCaptchaVisible) return;\n var div = document.getElementById(\'comments-open-captcha\');\n if (div) {\n div.innerHTML = \'<$mt:CaptchaFields$>\';\n mtCaptchaVisible = true;\n }\n}\n\n\n/* user object\n -- saved in user cookie --\n u.name (display name)\n u.url (link to home page)\n u.email (for anonymous only)\n u.userpic (url for commenter/author)\n u.profile (link to profile)\n u.is_trusted (boolean)\n u.is_author (user has posting rights)\n u.is_banned (banned status; neither post/comment perms)\n u.can_post (has permission to post)\n u.can_comment (has permission to comment)\n\n -- status fields --\n u.is_authenticated (boolean)\n u.is_anonymous (user is anonymous)\n*/\n\n\nvar is_preview;\nvar user;\n\n/***\n * Assigns a user object as the actively logged in user; also saves the\n * user information in a browser cookie.\n */\n\nfunction mtSetUser(u) {\n if (u) {\n // persist this\n user = u;\n mtSaveUser();\n // sync up user greeting\n mtFireEvent(\'usersignin\');\n }\n}\n\n\n/***\n * Simple function that escapes single quote characters for storing\n * in a cookie.\n */\n\nfunction mtEscapeJS(s) {\n s = s.replace(/\'/g, \"'\");\n return s;\n}\n\n\n/***\n * Simple function that unescapes single quote characters that were\n * stored in a cookie.\n */\n\nfunction mtUnescapeJS(s) {\n s = s.replace(/'/g, \"\'\");\n return s;\n}\n\n\n/***\n * Serializes a user object into a string, suitable for storing as a cookie.\n */\n\nfunction mtBakeUserCookie(u) {\n var str = \"\";\n if (u.name) str += \"name:\'\" + mtEscapeJS(u.name) + \"\';\";\n if (u.url) str += \"url:\'\" + mtEscapeJS(u.url) + \"\';\";\n if (u.email) str += \"email:\'\" + mtEscapeJS(u.email) + \"\';\";\n if (u.is_authenticated) str += \"is_authenticated:\'1\';\";\n if (u.profile) str += \"profile:\'\" + mtEscapeJS(u.profile) + \"\';\";\n if (u.userpic) str += \"userpic:\'\" + mtEscapeJS(u.userpic) + \"\';\";\n if (u.sid) str += \"sid:\'\" + mtEscapeJS(u.sid) + \"\';\";\n str += \"is_trusted:\'\" + (u.is_trusted ? \"1\" : \"0\") + \"\';\";\n str += \"is_author:\'\" + (u.is_author ? \"1\" : \"0\") + \"\';\";\n str += \"is_banned:\'\" + (u.is_banned ? \"1\" : \"0\") + \"\';\";\n str += \"can_post:\'\" + (u.can_post ? \"1\" : \"0\") + \"\';\";\n str += \"can_comment:\'\" + (u.can_comment ? \"1\" : \"0\") + \"\';\";\n str = str.replace(/;$/, \'\');\n return str;\n}\n\n\n/***\n * Unserializes a user cookie and returns a user object with the restored\n * state.\n */\n\nfunction mtUnbakeUserCookie(s) {\n if (!s) return;\n\n var u = {};\n var m;\n while (m = s.match(/^((name|url|email|is_authenticated|profile|userpic|sid|is_trusted|is_author|is_banned|can_post|can_comment):\'([^\']+?)\';?)/)) {\n s = s.substring(m[1].length);\n if (m[2].match(/^(is|can)_/)) // boolean fields\n u[m[2]] = m[3] == \'1\' ? true : false;\n else\n u[m[2]] = mtUnescapeJS(m[3]);\n }\n if (u.is_authenticated) {\n u.is_anonymous = false;\n } else {\n u.is_anonymous = true;\n u.can_post = false;\n u.is_author = false;\n u.is_banned = false;\n u.is_trusted = false;\n }\n return u;\n}\n\n\n/***\n * Retrieves an object of the currently logged in user\'s state.\n * If no user is logged in or cookied, this will return null.\n */\n\nfunction mtGetUser() {\n if (!user) {\n var cookie = mtGetCookie(mtCookieName);\n if (!cookie) return;\n user = mtUnbakeUserCookie(cookie);\n if (! user) {\n user = {};\n user.is_anonymous = true;\n user.can_post = false;\n user.is_author = false;\n user.is_banned = false;\n user.is_trusted = false;\n }\n }\n return user;\n}\n\n\n/***\n * Issues a request to the MT comment script to retrieve the currently\n * logged-in user (if any).\n */\n\nvar mtFetchedUser = false;\n\nfunction mtFetchUser(cb) {\n if (!cb) cb = \'mtSetUser\';\n if ( ( cb == \'mtSetUser\' ) && mtGetUser() ) {\n var url = document.URL;\n url = url.replace(/#.+$/, \'\');\n url += \'#comments-open\';\n location.href = url;\n } else {\n // we aren\'t using AJAX for this, since we may have to request\n // from a different domain. JSONP to the rescue.\n mtFetchedUser = true;\n var script = document.createElement(\'script\');\n var ts = new Date().getTime();\n script.src = \'<$mt:CGIPath$><$mt:CommentScript$>?__mode=session_js&blog_id=<$mt:BlogID$>&jsonp=\' + cb + \'&ts=\' + ts;\n (document.getElementsByTagName(\'head\'))[0].appendChild(script);\n }\n}\n\n\n\n/***\n * Called when the \'Remember me\' checkbox is changed. If the checkbox\n * is cleared, the cached user cookie is immediately cleared.\n */\n\nfunction mtRememberMeOnClick(b) {\n if (!b.checked)\n mtClearUser(b.form);\n return true;\n}\n\n\n/***\n * Called when comment form is sent.\n * Required parameter: Form DOM object of comment form.\n * If form has a \'bakecookie\' member, it will be used to signal\n * storing the anonymous commenter information to a cookie.\n * If form has a \'armor\' member, it will be used to store\n * a token that is checked by the comment script.\n */\n\n\nvar mtRequestSubmitted = false;\nfunction mtCommentOnSubmit(f) {\n if (!mtRequestSubmitted) {\n mtRequestSubmitted = true;\n\n if (f.armor)\n f.armor.value = \'<$mt:BlogSitePath encode_sha1=\"1\"$>\';\n if (f.bakecookie && f.bakecookie.checked)\n mtSaveUser(f);\n\n // disable submit buttons\n if (f.preview_button) f.preview_button.disabled = true;\n if (f.post) f.post.disabled = true;\n\n var u = mtGetUser();\n if ( !is_preview && ( u && u.is_authenticated ) ) {\n // validate session; then submit\n mtFetchedUser = false;\n mtFetchUser(\'mtCommentSessionVerify\');\n return false;\n }\n\n return true;\n }\n return false;\n}\n\nfunction mtCommentSessionVerify(app_user) {\n var u = mtGetUser();\n var f = document[\'comments_form\'];\n if ( u && app_user && app_user.sid && ( u.sid == app_user.sid ) ) {\n f.submit();\n } else {\n alert(\'セッションの有効期限が切れています。再度サインインしてください。\');\n mtClearUser();\n mtFireEvent(\'usersignin\');\n\n mtShow(\'comments-form\');\n mtHide(\'comments-open-footer\');\n\n }\n}\n\nfunction mtUserOnLoad() {\n var u = mtGetUser();\n\n // if the user is authenticated, hide the \'anonymous\' fields\n // and any captcha input if already shown\n if ( document.getElementById(\'comments-form\')) {\n if ( u && u.is_authenticated ) {\n mtShow(\'comments-form\');\n mtHide(\'comments-open-data\');\n if (mtCaptchaVisible)\n mtHide(\'comments-open-captcha\');\n } else {\n\n mtHide(\'comments-form\');\n\n }\n if ( u && u.is_banned )\n mtHide(\'comments-form\');\n\n // if we\'re previewing a comment, make sure the captcha\n // field is visible\n if (is_preview)\n mtShowCaptcha();\n else\n mtShowGreeting();\n\n // populate anonymous comment fields if user is cookied as anonymous\n var cf = document[\'comments_form\'];\n if (cf) {\n if (u && u.is_anonymous) {\n if (u.email) cf.email.value = u.email;\n if (u.name) cf.author.value = u.name;\n if (u.url) cf.url.value = u.url;\n if (cf.bakecookie)\n cf.bakecookie.checked = u.name || u.email;\n } else {\n if (u && u.sid && cf.sid)\n cf.sid.value = u.sid;\n }\n if (cf.post && cf.post.disabled)\n cf.post.disabled = false;\n if (cf.preview_button && cf.preview_button.disabled)\n cf.preview_button.disabled = false;\n mtRequestSubmitted = false;\n }\n }\n}\n\n\n\n/***\n * Called when an entry archive page is loaded.\n * This routine controls which elements of the comment form are shown\n * or hidden, depending on commenter type and blog configuration.\n */\n\n\nfunction mtEntryOnLoad() {\n var cf = document[\'comments_form\'];\n if (cf && cf.preview) cf.preview.value = \'\';\n mtHide(\'trackbacks-info\');\n mtHide(\'comments-open\');\n mtFireEvent(\'usersignin\');\n}\n\nfunction mtEntryOnUnload() {\n if (mtRequestSubmitted) {\n var cf = document[\'comments_form\'];\n if (cf) {\n if (cf.post && cf.post.disabled)\n cf.post.disabled = false;\n if (cf.preview_button && cf.preview_button.disabled)\n cf.preview_button.disabled = false;\n }\n mtRequestSubmitted = false;\n }\n return true;\n}\n\nmtAttachEvent(\'usersignin\', mtUserOnLoad);\n\n\n\n/***\n * Handles the action of the \"Sign in\" link. First clears any existing\n * user cookie, then directs to the MT comment script to sign the user in.\n */\n\nfunction mtSignIn() {\n var doc_url = document.URL;\n doc_url = doc_url.replace(/#.+/, \'\');\n var url = \'<$mt:SignInLink$>\';\n if (is_preview) {\n if ( document[\'comments_form\'] ) {\n var entry_id = document[\'comments_form\'].entry_id.value;\n url += \'&entry_id=\' + entry_id;\n } else {\n url += \'&return_url=<$mt:BlogURL encode_url=\"1\"$>\';\n }\n } else {\n url += \'&return_url=\' + encodeURIComponent(doc_url);\n }\n mtClearUser();\n location.href = url;\n}\n\nfunction mtSignInOnClick(sign_in_element) {\n var el;\n if (sign_in_element) {\n // display throbber\n el = document.getElementById(sign_in_element);\n if (!el) // legacy MT 4.x element id\n el = document.getElementById(\'comment-form-external-auth\');\n }\n if (el)\n el.innerHTML = \'サインインします...  \';\n\n mtClearUser(); // clear any \'anonymous\' user cookie to allow sign in\n mtFetchUser(\'mtSetUserOrLogin\');\n return false;\n}\n\nfunction mtSetUserOrLogin(u) {\n if (u && u.is_authenticated) {\n mtSetUser(u);\n } else {\n // user really isn\'t logged in; so let\'s do this!\n mtSignIn();\n }\n}\n\n\n/***\n * Handles sign out from the web site.\n * First clears any existing user cookie, then direts to the MT comment\n * script to sign the user out.\n */\n\nfunction mtSignOut(entry_id) {\n mtClearUser();\n var doc_url = document.URL;\n doc_url = doc_url.replace(/#.+/, \'\');\n var url = \'<$mt:SignOutLink$>\';\n if (is_preview) {\n if ( document[\'comments_form\'] ) {\n var entry_id = document[\'comments_form\'].entry_id.value;\n url += \'&entry_id=\' + entry_id;\n } else {\n url += \'&return_url=<$mt:BlogURL encode_url=\"1\"$>\';\n }\n } else {\n url += \'&return_url=\' + encodeURIComponent(doc_url);\n }\n location.href = url;\n}\n\n\n/***\n * Handles the action of the \"Sign out\" link.\n */\n\nfunction mtSignOutOnClick() {\n mtSignOut();\n return false;\n}\n\n\n/***\n * Handles the display of the greeting message, depending on what kind of\n * user is logged in and blog comment policy.\n */\n\n\nfunction mtShowGreeting() {\n\n var reg_reqd = truefalse;\n\n var cf = document[\'comments_form\'];\n if (!cf) return;\n\n var el = document.getElementById(\'comment-greeting\');\n if (!el) // legacy MT 4.x element id\n el = document.getElementById(\'comment-form-external-auth\');\n if (!el) return;\n\n var eid = cf.entry_id;\n var entry_id;\n if (eid) entry_id = eid.value;\n\n var phrase;\n var u = mtGetUser();\n\n if ( u && u.is_authenticated ) {\n if ( u.is_banned ) {\n phrase = \'このブログにコメントする権限を持っていません。(\\サインアウトする\\<\\/a\\>)\';\n } else {\n var user_link;\n if ( u.is_author ) {\n user_link = \'<$mt:CommentScript$>?__mode=edit_profile&return_url=\' + encodeURIComponent( location.href );\n user_link += \'\">\' + u.name + \'\';\n } else {\n // registered user, but not a user with posting rights\n if (u.url)\n user_link = \'\' + u.name + \'\';\n else\n user_link = u.name;\n }\n // TBD: supplement phrase with userpic if one is available.\n phrase = \'__NAME__としてサインインしています。(\\サインアウト\\<\\/a\\>)\';\n phrase = phrase.replace(/__NAME__/, user_link);\n }\n } else {\n if (reg_reqd) {\n phrase = \'コメントするにはまず\\サインイン\\<\\/a\\>してください。\';\n } else {\n phrase = \'コメントする前に\\サインイン\\<\\/a\\>することもできます。\';\n }\n }\n el.innerHTML = phrase;\n\n mtShowCaptcha();\n\n}\n\n\n\n/***\n * Handles the action of the \'Reply\' links.\n */\n\nfunction mtReplyCommentOnClick(parent_id, author) {\n mtShow(\'comment-form-reply\');\n\n var checkbox = document.getElementById(\'comment-reply\');\n var label = document.getElementById(\'comment-reply-label\');\n var text = document.getElementById(\'comment-text\');\n\n // Populate label with new values\n var reply_text = \'\\__AUTHOR__からのコメント\\<\\/a\\>に返信\';\n reply_text = reply_text.replace(/__PARENT__/, parent_id);\n reply_text = reply_text.replace(/__AUTHOR__/, author);\n label.innerHTML = reply_text;\n\n checkbox.value = parent_id; \n checkbox.checked = true;\n try {\n // text field may be hidden\n text.focus();\n } catch(e) {\n }\n\n mtSetCommentParentID();\n}\n\n\n/***\n * Sets the parent comment ID when replying to a comment.\n */\n\nfunction mtSetCommentParentID() {\n var checkbox = document.getElementById(\'comment-reply\');\n var parent_id_field = document.getElementById(\'comment-parent-id\');\n if (!checkbox || !parent_id_field) return;\n\n var pid = 0;\n if (checkbox.checked == true)\n pid = checkbox.value;\n parent_id_field.value = pid;\n}\n\n\n/***\n * Persists a copy of the current user cookie into the browser cookie stash.\n */\n\nfunction mtSaveUser(f) {\n // We can\'t reliably store the user cookie during a preview.\n if (is_preview) return;\n\n var u = mtGetUser();\n\n if (f && (!u || u.is_anonymous)) {\n if ( !u ) {\n u = {};\n u.is_authenticated = false;\n u.can_comment = true;\n u.is_author = false;\n u.is_banned = false;\n u.is_anonymous = true;\n u.is_trusted = false;\n }\n if (f.author != undefined) u.name = f.author.value;\n if (f.email != undefined) u.email = f.email.value;\n if (f.url != undefined) u.url = f.url.value;\n }\n\n if (!u) return;\n\n var cache_period = mtCookieTimeout * 1000;\n\n // cache anonymous user info for a long period if the\n // user has requested to be remembered\n if (u.is_anonymous && f && f.bakecookie && f.bakecookie.checked)\n cache_period = 365 * 24 * 60 * 60 * 1000;\n\n var now = new Date();\n mtFixDate(now);\n now.setTime(now.getTime() + cache_period);\n\n var cmtcookie = mtBakeUserCookie(u);\n mtSetCookie(mtCookieName, cmtcookie, now, mtCookiePath, mtCookieDomain,\n location.protocol == \'https:\');\n}\n\n\n/***\n * Clears the blog-side user cookie.\n */\n\nfunction mtClearUser() {\n user = null;\n mtDeleteCookie(mtCookieName, mtCookiePath, mtCookieDomain,\n location.protocol == \'https:\');\n}\n\n\n/***\n * Sets a browser cookie.\n */\n\nfunction mtSetCookie(name, value, expires, path, domain, secure) {\n if (domain && domain.match(/^\\.?localhost$/))\n domain = null;\n var curCookie = name + \"=\" + escape(value) +\n (expires ? \"; expires=\" + expires.toGMTString() : \"\") +\n (path ? \"; path=\" + path : \"\") +\n (domain ? \"; domain=\" + domain : \"\") +\n (secure ? \"; secure\" : \"\");\n document.cookie = curCookie;\n}\n\n\n/***\n * Retrieves a browser cookie.\n */\n\nfunction mtGetCookie(name) {\n var prefix = name + \'=\';\n var c = document.cookie;\n var cookieStartIndex = c.indexOf(prefix);\n if (cookieStartIndex == -1)\n return \'\';\n var cookieEndIndex = c.indexOf(\";\", cookieStartIndex + prefix.length);\n if (cookieEndIndex == -1)\n cookieEndIndex = c.length;\n return unescape(c.substring(cookieStartIndex + prefix.length, cookieEndIndex));\n}\n\n\n/***\n * Deletes a browser cookie.\n */\n\nfunction mtDeleteCookie(name, path, domain, secure) {\n if (mtGetCookie(name)) {\n if (domain && domain.match(/^\\.?localhost$/))\n domain = null;\n document.cookie = name + \"=\" +\n (path ? \"; path=\" + path : \"\") +\n (domain ? \"; domain=\" + domain : \"\") +\n (secure ? \"; secure\" : \"\") +\n \"; expires=Thu, 01-Jan-70 00:00:01 GMT\";\n }\n}\n\nfunction mtFixDate(date) {\n var skew = (new Date(0)).getTime();\n if (skew > 0)\n date.setTime(date.getTime() - skew);\n}\n\n\n/***\n * Returns a XMLHttpRequest object (for Ajax operations).\n */\n\nfunction mtGetXmlHttp() {\n if ( !window.XMLHttpRequest ) {\n window.XMLHttpRequest = function() {\n var types = [\n \"Microsoft.XMLHTTP\",\n \"MSXML2.XMLHTTP.5.0\",\n \"MSXML2.XMLHTTP.4.0\",\n \"MSXML2.XMLHTTP.3.0\",\n \"MSXML2.XMLHTTP\"\n ];\n\n for ( var i = 0; i < types.length; i++ ) {\n try {\n return new ActiveXObject( types[ i ] );\n } catch( e ) {}\n }\n\n return undefined;\n };\n }\n if ( window.XMLHttpRequest )\n return new XMLHttpRequest();\n}\n\n// BEGIN: fast browser onload init\n// Modifications by David Davis, DWD\n// Dean Edwards/Matthias Miller/John Resig\n// http://dean.edwards.name/weblog/2006/06/again/?full#comment5338\n\nfunction mtInit() {\n // quit if this function has already been called\n if (arguments.callee.done) return;\n\n // flag this function so we don\'t do the same thing twice\n arguments.callee.done = true;\n\n // kill the timer\n // DWD - check against window\n if ( window._timer ) clearInterval(window._timer);\n\n // DWD - fire the window onload now, and replace it\n if ( window.onload && ( window.onload !== window.mtInit ) ) {\n window.onload();\n window.onload = function() {};\n }\n}\n\n/* for Mozilla/Opera9 */\nif (document.addEventListener) {\n document.addEventListener(\"DOMContentLoaded\", mtInit, false);\n}\n\n/* for Internet Explorer */\n/*@cc_on @*/\n/*@if (@_win32)\ndocument.write(\"\n<$mt:CCLicenseRDF$>\n','custom',0),(33,1,0,0,1,1,'2009-11-25 19:32:58','recent_comments',NULL,NULL,NULL,NULL,'2009-11-25 19:32:58','最近のコメント',NULL,1,'\n \n \n
\n

最近のコメント

\n
\n
\n \n \n\n','widget',0),(34,1,0,0,1,1,'2009-11-25 19:32:58','main_index',NULL,NULL,NULL,NULL,'2009-11-25 19:32:58','メインページ','index.html',1,'\n\n\n <$mt:Include module=\"HTMLヘッダー\"$>\n \" />\n <$mt:BlogName encode_html=\"1\"$>\n\n\" class=\"mt-main-index <$mt:Var name=\"page_layout\"$>\">\n
\n
\n\n\n <$mt:Include module=\"バナーヘッダー\"$>\n\n\n
\n
\n\n\n
\n
\n\n \n <$mt:Include module=\"ブログ記事の概要\" display_blog_name=\"1\"$>\n\n\n
\n
\n\n\n <$mt:Include module=\"サイドバー\"$>\n\n\n
\n
\n\n\n <$mt:Include module=\"バナーフッター\"$>\n\n\n
\n
\n\n\n','index',0),(35,1,0,0,1,1,'2009-11-25 19:32:58','3column_layout_secondary_sidebar',NULL,NULL,NULL,NULL,'2009-11-25 19:32:58','3カラムのサイドバー(サブ)',NULL,1,'','widgetset',0),(36,1,0,0,1,1,'2009-11-25 19:32:58','3column_layout_primary_sidebar',NULL,NULL,NULL,NULL,'2009-11-25 19:32:58','3カラムのサイドバー(メイン)',NULL,1,'','widgetset',0),(37,1,0,0,1,1,'2009-11-25 19:32:58','2column_layout_sidebar',NULL,NULL,NULL,NULL,'2009-11-25 19:32:58','2カラムのサイドバー',NULL,1,'','widgetset',0),(38,0,0,0,1,1,'2009-11-25 10:32:58','profile_view',NULL,NULL,NULL,NULL,'2009-11-25 10:32:58','プロフィール',NULL,1,'\n<$mt:Var name=\"page_layout\" value=\"layout-wt\"$>\n\n <$mt:BlogName encode_html=\"1\"$>\n ユーザーのプロフィール\n <$mt:Var name=\"blog_name\"$>: <$mt:Var name=\"page_title\"$>: <$mt:AuthorDisplayName encode_html=\"1\"$>\n\n ブログ名\n ユーザーのプロフィール\n <$mt:Var name=\"blog_name\"$>: <$mt:Var name=\"page_title\"$>: <$mt:AuthorDisplayName encode_html=\"1\"$>\n\n<$mt:Var name=\"hide_signout_link\" value=\"1\"$>\n\nのアクション\" href=\"<$mt:CGIPath$><$mt:CommunityScript$>?__mode=feed&_type=actions&blog_id=<$mt:BlogID$>&id=<$mt:AuthorID$>\" />\nの最近のブログ記事\" href=\"<$mt:CGIPath$><$mt:CommunityScript$>?__mode=feed&_type=posts&blog_id=<$mt:BlogID$>&id=<$mt:AuthorID$>\" />\nからのコメント\" href=\"<$mt:CGIPath$><$mt:CommunityScript$>?__mode=feed&_type=comments&blog_id=<$mt:BlogID$>&id=<$mt:AuthorID$>\" />\nのコメントへの返信\" href=\"<$mt:CGIPath$><$mt:CommunityScript$>?__mode=feed&_type=replies&blog_id=<$mt:BlogID$>&id=<$mt:AuthorID$>\" />\n\n\n\n<$mt:Include module=\"ヘッダー\" body_class=\"mt-profile-view\"$>\n\n<$mt:Include module=\"プロフィール画像\" userpic_type=\"profile\" userpic_size=\"90\"$>\n\n

<$mt:AuthorDisplayName encode_html=\"1\"$>

\n\n\n

ユーザー情報の編集

\n\n

\n \n \n <$mt:AuthorDisplayName encode_html=\"1\"$>に注目しています。 <$mt:AuthorUnfollowLink text=\"注目をやめる\"$>\n \n <$mt:AuthorFollowLink text=\"注目する\"$>\n \n 

\n\n \n \n

<$mt:AuthorDisplayName encode_html=\"1\"$>に注目されています。

\n \n

<$mt:AuthorDisplayName encode_html=\"1\"$>は注目していません。

\n
\n
\n\n \n \n \n
\n\n\n\n\n\n
\n \n\n\n \n \n \n\n

最近アクションはありません

\n\n
\n\nimages/status_icons/feed.gif\" alt=\"購読する\" /> <$mt:CommunityScript$>?__mode=feed&_type=actions&blog_id=<$mt:BlogID$>&id=<$mt:AuthorID$>\">最近の<$mt:AuthorDisplayName encode_html=\"1\"$>のアクション

\n
\n\n
\n \n\n \n \n \n \n \n

コメントへの返信がありません。

\n
\nimages/status_icons/feed.gif\" alt=\"購読する\" /> <$mt:CommunityScript$>?__mode=feed&_type=replies&blog_id=<$mt:BlogID$>&id=<$mt:AuthorID$>\"><$mt:AuthorDisplayName encode_html=\"1\"$>のコメントへの返信

\n\n
\n\n\n
\n

注目

\n
\n\n \n \n \n\n

まだ誰にも注目していません。

\n
\n
\n
\n\n
\n

被注目

\n
\n \n \n \n \n \n

まだ注目されていないようです。

\n
\n
\n
\n
\n
\n\n\n<$mt:Include module=\"フッター\"$>\n\n<$mt:Include module=\"フッター\" hide_sidebar=\"1\"$>\n\n\n','profile_view',0),(39,0,0,0,1,1,'2009-11-25 10:32:58','notify-entry',NULL,NULL,NULL,NULL,'2009-11-25 10:32:58','ブログ記事の共有',NULL,1,'新しい<$mt:EntryClassLabel$>「<$mt:EntryTitle$>」を<$mt:BlogName$>で公開しました。\n\n表示する表示する <<$mt:EntryStatus$><$mt:EntryPermalink$><$mt:Var name=\"entry_editurl\"$>>\n\n------------------------------------------------------------------------\nタイトル: <$mt:EntryTitle$>\n日付: <$mt:EntryDate mail=\"1\"$>\n\n\n<$mt:EntryExcerpt wrap_text=\"72\"$>\n\n------------------------------------------------------------------------\n\nメッセージ: \n<$mt:Var name=\"message\"$>\n\n------------------------------------------------------------------------\n\n<$mt:EntryBody remove_html=\"1\" wrap_text=\"72\"$>\n\n------------------------------------------------------------------------\n\nこのメールは<$mt:BlogName$>で新規に作成されたコンテンツに関する通知を送るように設定されているか、またはコンテンツの著者が選択したユーザーに送信されています。このメールを受信したくない場合は、次のユーザーに連絡してください:\n\n<$mt:AuthorDisplayName$> <<$mt:AuthorEmail$>>\n','email',0),(40,0,0,0,1,1,'2009-11-25 10:32:58','recover-password',NULL,NULL,NULL,NULL,'2009-11-25 10:32:58','パスワードの再設定',NULL,1,'パスワードをリセットしようとしています。以下のリンクをクリックして、新しいパスワードを設定してください。\n\n\n\nこのメールに心当たりがないときは、何もせずに無視してください。\n\n\n','email',0),(41,0,0,0,1,1,'2009-11-25 10:32:58','profile_error',NULL,NULL,NULL,NULL,'2009-11-25 10:32:58','プロフィールエラー',NULL,1,'\n<$mt:Var name=\"body_class\" value=\"mt-profile-error\"$>\nプロフィールエラー\n<$mt:BlogName encode_html=\"1\"$>: <$mt:Var name=\"page_title\"$>\n\n<$mt:Include module=\"ヘッダー\"$>\n\n

<$mt:Var name=\"page_title\"$>

\n\n*エラーメッセージを記述してください*\n<$mt:Include module=\"ステータスメッセージ\" id=\"generic-error\" class=\"error\"$>\n\n

戻る

\n\n<$mt:Include module=\"フッター\"$>\n\n','profile_error',0),(42,0,0,0,1,1,'2009-11-25 10:32:58','status_message',NULL,NULL,NULL,NULL,'2009-11-25 10:32:58','ステータスメッセージ',NULL,1,'
\" class=\"<$mt:Var name=\"class\"$>\"><$mt:Var name=\"status-msg\"$>
\n','custom',0),(43,0,0,0,1,1,'2009-11-25 10:32:58','email_verification_email',NULL,NULL,NULL,NULL,'2009-11-25 10:32:58','メールアドレスの確認',NULL,1,'\n<$mt:BlogName$>にご登録いただきありがとうございます。 \n\nセキュリティおよび不正利用を防ぐ観点から、アカウントとメールアドレスの確認をお願いしています。確認され次第、<$mt:BlogName$>にサインインできるようになります。\n\nアカウントの確認のため、次のURLをクリックするか、コピーしてブラウザのアドレス欄に貼り付けてください。\n\n<$mt:Var name=\"confirm_url\"$>\n\nこのメールに覚えがない場合や、<$mt:BlogName$>に登録するのをやめたい場合は、何もする必要はありません。\n\nご協力ありがとうございます。\n\n \n<$mt:BlogName$>\n\n<$mt:Include module=\"メールフッター\"$>\n\n','email',0),(44,0,0,0,1,1,'2009-11-25 10:32:58','javascript',NULL,NULL,NULL,NULL,'2009-11-25 10:32:58','GlobalJavaScript',NULL,1,'\n\n/***\n * Movable Type Community Solution Functions\n */\n\n\nfunction conditional_block(cond, id) {\n var true_block = document.getElementById(id);\n var false_block = document.getElementById(id + \'_else\');\n if (cond) {\n if (true_block) {\n var display = true_block.getAttribute(\'mt:display_style\');\n if (!display && false_block)\n display = false_block.getAttribute(\'mt:display_style\');\n if (!display) display = \'\';\n true_block.style.display = display;\n DOM.removeClassName(true_block, \'hidden\');\n }\n if (false_block) {\n false_block.style.display = \'none\';\n DOM.addClassName(false_block, \'hidden\');\n }\n }\n else {\n if (true_block) {\n true_block.style.display = \'none\';\n DOM.addClassName(true_block, \'hidden\');\n }\n if (false_block) {\n var display = false_block.getAttribute(\'mt:display_style\');\n if (!display && true_block)\n display = false_block.getAttribute(\'mt:display_style\');\n if (!display) display = \'\';\n false_block.style.display = display;\n DOM.removeClassName(false_block, \'hidden\');\n }\n }\n}\n\nif(!this.JSON){JSON={};}(function(){function f(n){return n<10?\'0\'+n:n;}if(typeof Date.prototype.toJSON!==\'function\'){Date.prototype.toJSON=function(key){return this.getUTCFullYear()+\'-\'+f(this.getUTCMonth()+1)+\'-\'+f(this.getUTCDate())+\'T\'+f(this.getUTCHours())+\':\'+f(this.getUTCMinutes())+\':\'+f(this.getUTCSeconds())+\'Z\';};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf();};}var cx=/[\\u0000\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,escapable=/[\\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,gap,indent,meta={\'\\b\':\'\\\\b\',\'\\t\':\'\\\\t\',\'\\n\':\'\\\\n\',\'\\f\':\'\\\\f\',\'\\r\':\'\\\\r\',\'\"\':\'\\\\\"\',\'\\\\\':\'\\\\\\\\\'},rep;function quote(string){escapable.lastIndex=0;return escapable.test(string)?\'\"\'+string.replace(escapable,function(a){var c=meta[a];return typeof c===\'string\'?c:\'\\\\u\'+(\'0000\'+a.charCodeAt(0).toString(16)).slice(-4);})+\'\"\':\'\"\'+string+\'\"\';}function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];if(value&&typeof value===\'object\'&&typeof value.toJSON===\'function\'){value=value.toJSON(key);}if(typeof rep===\'function\'){value=rep.call(holder,key,value);}switch(typeof value){case\'string\':return quote(value);case\'number\':return isFinite(value)?String(value):\'null\';case\'boolean\':case\'null\':return String(value);case\'object\':if(!value){return\'null\';}gap+=indent;partial=[];if(Object.prototype.toString.apply(value)===\'[object Array]\'){length=value.length;for(i=0;i\n/**\n * Used for base functionality related to MT\n * \n * @package MT\n * @class core\n * @global\n * @param {Object} o optional configuration object\n * Options:\n */\n\nMT.core = function (o) {\n var _debug = false;\n \n return {\n \n /**\n * Makes remote call and handles response\n * \n * @param {String} url The URL endpoint\n * @param {String} respType The type of response expected\n * @param {Function} respHandler The function to handle the response\n * @return void\n */\n \n connect : function (url,respType,respHandler) {\n var xh = mtGetXmlHttp();\n if (!xh) return false;\n \n xh.onreadystatechange = function() {\n if ( xh.readyState == 4 ) {\n if ( xh.status && ( xh.status != 200 ) ) {\n // error - ignore\n } else {\n switch (respType) {\n case \'json\':\n respHandler(JSON.parse(xh.responseText));\n break;\n \n case \'xml\':\n break;\n \n case \'text\':\n break;\n }\n }\n }\n };\n \n xh.open(\'GET\',url);\n xh.send(null);\n },\n \n getEl : function (el) {\n return MT.util.checkNodeType(el)===\'element\' ? id : (document.getElementById(el) || false);\n },\n \n addEvent : function (el,type,func,obj) {\n if(!obj && document.addEventListener) {\n el.addEventListener(type,func,false);\n } else if(obj && document.addEventListener) {\n el.addEventListener(type,function () {\n func.call(obj,event);\n },false);\n } else {\n if(obj) {\n el.attachEvent(\'on\' + type,function () {\n func.call(obj,event);\n });\n } else {\n el.attachEvent(\'on\' + type,function () { \n func.call(el,event);\n });\n }\n }\n },\n \n \n /**\n * Basic logging function\n * \n * @param {String} level The log level (WARN|DEBUG|INFO|ERROR|LOG)\n * Specified by one of the MT constants\n * @param {String} msg The log message\n * @return void\n */\n \n log : function (level,msg) {\n if(_debug && window.console) {\n switch(level) {\n case \'warn\':\n case \'debug\':\n case \'info\':\n case \'error\':\n case \'log\':\n console[level](msg);\n break;\n \n default:\n return false; \n }\n } else {\n return false;\n }\n }\n }\n}();\n\n\n/**\n * Utilities class\n * \n * @package MT\n * @class util\n * @global\n * Options:\n */\n\nMT.util = function () {\n return {\n toggleVisibility : {\n show : function () {\n var i = arguments.length;\n \n while(i--) {\n if(MT.util.checkNodeType(arguments[i])===\'element\') {\n arguments[i].style.visibility = \'visible\';\n } else {\n MT.core.getEl(arguments[i]).style.visibility = \'visible\';\n }\n }\n },\n \n hide : function () {\n var i = arguments.length;\n while(i--) {\n if(MT.util.checkNodeType(arguments[i])===\'element\') {\n arguments[i].style.visibility = \'hidden\';\n } else {\n MT.core.getEl(arguments[i]).style.visibility = \'hidden\';\n }\n }\n }\n },\n \n toggleDisplay : {\n show : function () {\n var i = arguments.length;\n while(i--) {\n if(MT.util.checkNodeType(arguments[i])===\'element\') {\n arguments[i].style.display = \'\';\n } else {\n MT.core.getEl(arguments[i]).style.display = \'\';\n }\n }\n },\n \n hide : function () {\n var i = arguments.length;\n while(i--) {\n if(MT.util.checkNodeType(arguments[i])===\'element\') {\n arguments[i].style.display = \'none\';\n } else {\n MT.core.getEl(arguments[i]).style.display = \'none\';\n }\n }\n }\n },\n \n \n /**\n * Finds the nearest defining (i.e. with an id) parent to the given element\n * \n * @param {HTMLElement} origin the node from which to start the search\n * @return {HTMLElement|Boolean} The parent node with an id attribute or false\n */\n \n findDefiningParent : function (origin) {\n if(MT.util.checkNodeType(origin)===\'element\') {\n for(var node=origin.parentNode;node.parentNode;node=node.parentNode) {\n if((node.hasAttribute && node.hasAttribute(\'id\')) || node.getAttribute(\'id\')) {\n return node;\n }\n }\n }\n return false;\n },\n \n \n /**\n * Tests objects to verify if they are DOM nodes\n * \n * @param {Object} obj The object to be tested\n * @return {String} the values \'element\'|\'textnode\'|\'whitespace\'\n */\n \n checkNodeType : function (obj) {\n if (obj && obj.nodeName){\n switch (obj.nodeType) {\n case 1: return \'element\';\n case 3: return (/\\S/).test(obj.nodeValue) ? \'textnode\' : \'whitespace\';\n }\n }\n }\n }\n}();\n\n\n/**\n * mtPaginateComments takes the currently generated static page and either:\n * - Attempts to find an individual comment link in the query string\n * - If no link is found, the static page loads\n * In either case, the pagination event is set\n */\n\n(function () {\n var M = MT.core,\n c = MT.cons,\n u = MT.util,\n cache,\n isLoading,\n direction,\n currentComments,\n commentAnchor,\n commentArrId,\n commentsPerPage,\n commentsTotalPages,\n loadingIcon,\n pageNum,\n commentsOffset,\n totalComments,\n entryID,\n commentContentDiv,\n topNav,\n nav,\n currentCommentsSpan,\n topCurrentCommentsSpan;\n \n M.addEvent(window,\'load\',_init);\n \n /**\n * Initializes the class\n * \n * @return void\n */\n function _init () {\n if(!MT.entryCommentCount) {\n return;\n }\n \n _initializeVariables();\n _setCommentOffset(false);\n _checkForAnchor();\n _setCurrentComments();\n _toggleNavLinks();\n _initializeEvents();\n }\n \n \n /**\n * Initializes variables to their initial values\n * \n * @return void\n */\n \n function _initializeVariables() {\n cache = {};\n isLoading = false;\n commentAnchor = \'\';\n commentArrId = \'\';\n commentsPerPage = MT.commentsPerPage || 50;\n currentComments = \'\';\n direction = \'ascend\';\n entryID = MT.entryID;\n totalComments = MT.entryCommentCount;\n commentsTotalPages = Math.ceil(totalComments / commentsPerPage);\n pageNum = 1;\n \n loadingIcon = \"images/indicator.white.gif\' alt=\'Loading\' />\";\n \n commentContentDiv = M.getEl(\"comments-content\");\n topNav = M.getEl(\"top-comment-nav\");\n nav = M.getEl(\"comment-nav\");\n \n currentCommentsSpan = M.getEl(\"current-comments\");\n topCurrentCommentsSpan = M.getEl(\"top-current-comments\");\n }\n \n function _initializeEvents() {\n if (commentsPerPage < totalComments) {\n M.addEvent(nav,\'click\',_handleEvents);\n M.addEvent(topNav,\'click\',_handleEvents);\n }\n }\n \n \n /**\n * Checks for an existing anchor tag in the query string\n * If found, it looks for it on the current page\n * If that fails, it tries to find it in comment list and loads\n * the desired page\n * \n * @return void\n */\n \n function _checkForAnchor() {\n var found = String(window.location.hash).match( /comment-(\\d{1,6})/ );\n \n if (found) {\n M.log(c.DEBUG,found);\n if (!M.getEl(found[0]).hasOwnProperty(\'className\')) {\n if (_findIdMatch(found[1])) {\n pageNum = Math.floor(commentArrId / commentsPerPage) + 1;\n M.log(c.DEBUG,\'Comment Array Id: \' + commentArrId);\n M.log(c.DEBUG,\'Comments Per Page: \' + commentsPerPage);\n M.log(c.DEBUG,\'Page Number: \' + pageNum);\n M.log(c.DEBUG,\'Comment Offset: \' + _getCommentOffset());\n _updateComments();\n }\n }\n }\n }\n \n \n /**\n * Sets commentsOffset (i.e. the offset number to the remote list)\n * \n * @return void\n */\n \n function _setCommentOffset() {\n commentsOffset = commentsPerPage * (pageNum-1);\n }\n \n \n /**\n * Gets the commentsOffset (i.e. the offset number to the remote list)\n * \n * @return void\n */\n \n function _getCommentOffset() {\n return commentsOffset;\n }\n \n \n /**\n * General event handler\n * \n * @param {Event} e The event object\n * @return void\n */\n \n function _handleEvents (e) {\n var origin = e.target || e.srcElement,\n parentId;\n \n // stupid IE\n origin = origin.id && M.getEl(origin.id) || false;\n\n if(origin) {\n parentId = u.checkNodeType(origin.parentNode)===\'element\' && origin.parentNode.getAttribute(\'id\') && origin.parentNode.id;\n } else {\n return false;\n }\n \n switch(origin.nodeName) {\n case \'A\':\n switch (parentId) {\n case \'prev-comments\':\n case \'top-prev-comments\':\n if(e.preventDefault) {\n e.preventDefault();\n } else {\n e.returnValue = false;\n }\n if(!isLoading) {\n _previousPage();\n }\n break;\n case \'next-comments\':\n case \'top-next-comments\':\n if(e.preventDefault) {\n e.preventDefault();\n } else {\n e.returnValue = false;\n }\n if(!isLoading) {\n _nextPage();\n }\n break;\n }\n break;\n }\n }\n \n \n /**\n * Toggles the visibility of the navigation links\n * \n * @return void\n */\n \n function _toggleNavLinks () {\n M.log(c.DEBUG,M.getEl(\'top-prev-comments\'));\n if(pageNum <= commentsTotalPages && pageNum !== 1) {\n u.toggleVisibility.show(\'prev-comments\');\n u.toggleVisibility.show(\'top-prev-comments\');\n }\n \n if(pageNum >= 1 && pageNum !== commentsTotalPages) {\n u.toggleVisibility.show(\'next-comments\');\n u.toggleVisibility.show(\'top-next-comments\');\n }\n \n if(pageNum===1 || nav.style.visibility===\'hidden\') {\n u.toggleVisibility.hide(\'prev-comments\');\n u.toggleVisibility.hide(\'top-prev-comments\');\n }\n \n if(pageNum===commentsTotalPages || nav.style.visibility===\'hidden\') {\n u.toggleVisibility.hide(\'next-comments\');\n u.toggleVisibility.hide(\'top-next-comments\');\n }\n }\n \n \n /**\n * Determines appropriate action based on the id of the parent\n * clicked link. Decrements pageNum based on id.\n * \n * @param {String} id the id of the parent of the clicked link\n * @return void\n */\n \n function _nextPage () {\n if(pageNum < commentsTotalPages) {\n pageNum++;\n _updateComments();\n }\n }\n \n \n /**\n * Determines appropriate action based on the id of the parent\n * clicked link. Increments/decrements pageNum based on id.\n * \n * @param {String} id the id of the parent of the clicked link\n * @return void\n */\n \n function _previousPage() {\n if(pageNum > 1) {\n pageNum--;\n _updateComments();\n }\n }\n \n \n /**\n * Searches for a particular comment in the list of ids\n * \n * @param {String} id The id for which to search\n * @return {Boolean} true, if found, false otherwise\n */\n \n function _findIdMatch (id) {\n var len = MT.commentIds.length;\n \n while (len--) {\n if (MT.commentIds[len] == id) {\n commentAnchor = \"comment-\" + id;\n commentArrId = len;\n return true;\n }\n }\n \n return false;\n }\n \n \n /**\n * Sets the current comment counts on the page\n *\n * @return void\n */\n \n function _setCurrentComments() {\n var commentsOnPage = pageNum != commentsTotalPages ? commentsOffset + commentsPerPage : totalComments;\n \n _setCurrentCommentsContent([commentsOffset+1,\" - \",commentsOnPage].join(\'\'));\n }\n \n \n /**\n * Sets the \"current-comments\" element with the HTML value\n * \n * @param {String|Element} currentCommentsHTML The content to be set\n * @return void\n */\n \n function _setCurrentCommentsContent(currentCommentsHTML) {\n currentCommentsSpan.innerHTML = currentCommentsHTML;\n topCurrentCommentsSpan.innerHTML = currentCommentsHTML;\n }\n \n \n /**\n * Sets the content of the comment list\n * \n * @param {String|Element} commentHTML The content to be set \n * @return void\n */\n \n function _setCommentContent(commentHTML) {\n commentContentDiv.innerHTML = commentHTML;\n }\n \n \n /**\n * Builds the appropriate URL to make a remote call to get the\n * next set of comments\n * \n * @return void\n */\n \n function _updateComments() {\n var comments, jsonUrl;\n isLoading = true;\n _setCurrentCommentsContent(loadingIcon);\n _setCommentOffset();\n \n jsonUrl = [\n \"<$mt:CGIPath$><$mt:CommentScript$>?__mode=comment_listing&direction=\",\n direction,\n \"&entry_id=\",\n entryID,\n \"&limit=\",\n commentsPerPage,\n \"&offset=\",\n _getCommentOffset()\n ].join(\'\');\n \n if (!commentAnchor) {\n commentAnchor = \"comments-content\";\n }\n \n if(cache.hasOwnProperty(jsonUrl)) {\n _refreshComments(cache[jsonUrl]);\n isLoading = false;\n } else {\n M.connect(jsonUrl,c.JSON,function (json) {\n cache[jsonUrl] = json.comments;\n _refreshComments(json.comments);\n isLoading = false;\n });\n }\n }\n \n \n /**\n * Refreshes the comment data with the current\n * \n * @param {String} commentData The data used to replace current comments\n * @return void\n */\n \n function _refreshComments(commentData) {\n _setCommentContent(commentData);\n _setCurrentComments();\n window.location.hash = \'reset\';\n window.location.hash = commentAnchor;\n _toggleNavLinks();\n }\n})();\n\n\n/***\n * Functions for scoring entries\n * Scoring requires blog context, it is thus conditioned.\n */\n\n\nfunction mtScore(entry_id) {\n var span = DOM.getElement(\'scoring-id-\' + entry_id);\n if (!span) return false;\n if (DOM.hasClassName(span, \'scoring-pending\')) return false;\n if (DOM.hasClassName(span, \'scoring-scored\')) return false;\n if (!DOM.hasClassName(span, \'scoring-scorable\')) return false;\n\n var xh = mtGetXmlHttp();\n if (!xh) return false;\n\n DOM.addClassName( span, \'scoring-pending\' );\n var url = \'<$mt:CGIPath$><$mt:CommunityScript$>\';\n xh.open(\'POST\', url, true);\n xh.onreadystatechange = function() {\n if ( xh.readyState == 4 ) {\n if ( xh.status && ( xh.status != 200 ) ) {\n // error - ignore\n } else {\n eval(xh.responseText);\n }\n }\n };\n xh.setRequestHeader( \'Content-Type\', \'application/x-www-form-urlencoded\' );\n xh.send( \'__mode=vote&blog_id=<$mt:BlogID$>&f=scored,count&jsonp=mtScore_cb&id=\' + entry_id);\n return false;\n}\n\nfunction mtUpdateScores() {\n var u = mtGetUser();\n \n \n if (!u) return false;\n \n\n var entry_ids = \'\';\n var scores = DOM.getElementsByClassName(\"scoring\");\n for (var i = 0; i < scores.length; i++) {\n var id = scores[i].id;\n id = id.replace(/^scoring-id-/, \'\');\n if (entry_ids != \'\') entry_ids += \",\";\n entry_ids += id;\n }\n if (entry_ids == \'\') return false;\n\n var xh = mtGetXmlHttp();\n if (!xh) return false;\n\n var url = \'<$mt:CGIPath$><$mt:CommunityScript$>\';\n xh.open(\'POST\', url, true);\n xh.onreadystatechange = function() {\n if ( xh.readyState == 4 ) {\n if ( xh.status && ( xh.status != 200 ) ) {\n // error - ignore\n } else {\n eval(xh.responseText);\n }\n }\n };\n xh.setRequestHeader( \'Content-Type\', \'application/x-www-form-urlencoded\' );\n xh.send( \'__mode=score&blog_id=<$mt:BlogID$>&f=scored,count&jsonp=mtScore_cb&id=\' + entry_ids);\n return false;\n}\n\nfunction mtScore_cb(s_hash) {\n var u = mtGetUser();\n if (s_hash[\'error\']) {\n var els = DOM.getElementsByClassName(\'scoring-pending\');\n for (var i = 0; i < els.length; i++)\n DOM.removeClassName(els[i], \'scoring-pending\');\n // display error\n alert(s_hash[\'error\']);\n return;\n }\n for (var id in s_hash) {\n var span = DOM.getElement(\'scoring-id-\' + id);\n if ( span ) {\n DOM.removeClassName( span, \'scoring-pending\' );\n DOM.removeClassName( span, \'scoring-scorable\' );\n if ( s_hash[id].scored ) {\n DOM.addClassName( span, \'scoring-scored\' );\n } else {\n \n DOM.addClassName( span, \'scoring-scorable\' );\n \n if ( u && u.is_authenticated )\n DOM.addClassName( span, \'scoring-scorable\' );\n \n }\n }\n var score = DOM.getElement(\'scoring-score-\' + id);\n if ( score )\n score.innerHTML = s_hash[id].count ? s_hash[id].count : 0;\n var label = DOM.getElement(\'scoring-score-label-\' + id);\n if ( label ) {\n switch ( s_hash[id].count ) {\n case 1:\n label.innerHTML = \'票\';\n break;\n default:\n label.innerHTML = \'票\';\n break;\n }\n }\n }\n}\n\n\n\n/***\n * Functions to follow/leave feature\n */\n\nfunction script_follow(id) {\n var u = mtGetUser();\n if (!u || !u.name) return;\n var xh = mtGetXmlHttp();\n if (!xh) return false;\n xh.open(\'POST\', \'<$mt:CGIPath$><$mt:CommunityScript$>\', true);\n xh.onreadystatechange = function() {\n if ( xh.readyState == 4 ) {\n if (xh.status && ( xh.status != 200 ) ) {\n // error - ignore\n } else {\n eval( xh.responseText );\n }\n }\n };\n xh.setRequestHeader( \'Content-Type\', \'application/x-www-form-urlencoded\' );\n xh.send( \'__mode=follow&id=\' + id + \'&magic_token=\' + u.sid + \'&jsonp=follow\' );\n DOM.addClassName( \'following_\' + id + \'_else\', \'hidden\');\n var span = document.getElementById(\'following-status\');\n if (span) span.innerHTML = \'images/indicator.white.gif\" height=\"10\" width=\"10\" alt=\"Following...\" />\';\n}\n\nfunction script_leave(id) {\n var u = mtGetUser();\n if (!u || !u.name) return;\n var xh = mtGetXmlHttp();\n if (!xh) return false;\n xh.open(\'POST\', \'<$mt:CGIPath$><$mt:CommunityScript$>\', true);\n xh.onreadystatechange = function() {\n if ( xh.readyState == 4 ) {\n if (xh.status && ( xh.status != 200 ) ) {\n // error - ignore\n } else {\n eval( xh.responseText );\n }\n }\n };\n xh.setRequestHeader( \'Content-Type\', \'application/x-www-form-urlencoded\' );\n xh.send( \'__mode=leave&id=\' + id + \'&magic_token=\' + u.sid + \'&jsonp=leave\' );\n DOM.addClassName(\'following_\' + id, \"hidden\");\n var span = document.getElementById(\'following-status\');\n if (span) span.innerHTML = \'images/indicator.white.gif\" height=\"10\" width=\"10\" alt=\"Leaving...\" />\';\n}\n\nfunction follow(user_info) {\n conditional_block(true, \'following_\' + user_info[\'id\']);\n var span = document.getElementById(\'following-status\');\n if (span) span.innerHTML = \'\';\n}\n\nfunction leave(user_info) {\n conditional_block(false, \'following_\' + user_info[\'id\']);\n var span = document.getElementById(\'following-status\');\n if (span) span.innerHTML = \'\';\n}\n\n\n/***\n * Utility functions\n */\n\n\nreq = null;\nfunction getCommenterName() {\n var u = mtGetUser();\n if (u && u.name) return u.name;\n return \"\";\n}\n\nfunction trimString (str) {\n str = this != window? this : str;\n return str.replace(/^\\s+/g, \'\').replace(/\\s+$/g, \'\');\n}\n\ndefined = function( x ) { return x !== undefined; };\n\nif ( !window.Event )\n try { window.Event = {} } catch(e) { };\n\nEvent.prep = function( ev ) {\n ev = ev || window.event;\n if( !defined( ev.stop ) )\n ev.stop = this.stop;\n if( !defined( ev.target ) )\n ev.target = ev.srcElement;\n if( !defined( ev.relatedTarget ) ) {\n ev.relatedTarget = (event.type == \"mouseover\" || event.type == \"mouseenter\")\n ? ev.fromElement\n : ev.toElement;\n }\n return ev;\n };\n\nif ( !window.DOM )\n DOM = {\n\n getElement: function( e ) {\n return (typeof e == \"string\" || typeof e == \"number\") ? document.getElementById( e ) : e;\n },\n \n \n addEventListener: function( e, en, f, uc ) {\n try {\n if( e.addEventListener )\n e.addEventListener( en, f, uc );\n else if( e.attachEvent )\n e.attachEvent( \"on\" + en, f );\n else\n e[ \"on\" + en ] = f;\n } catch( e ) {}\n },\n\n \n getClassNames: function( e ) {\n if( !e || !e.className )\n return [];\n return e.className.split( /\\s+/g );\n },\n \n \n hasClassName: function( e, cn ) {\n e = DOM.getElement( e );\n if( !e || !e.className )\n return false;\n var cs = DOM.getClassNames( e );\n for( var i = 0; i < cs.length; i++ ) {\n if( cs[ i ] == cn )\n return true;\n }\n return false;\n },\n \n \n addClassName: function( e, cn ) {\n e = DOM.getElement( e );\n if( !e || !cn )\n return false;\n var cs = DOM.getClassNames( e );\n for( var i = 0; i < cs.length; i++ ) {\n if( cs[ i ] == cn )\n return true;\n }\n cs.push( cn );\n e.className = cs.join( \" \" );\n return false;\n },\n \n \n removeClassName: function( e, cn ) {\n var r = false;\n e = DOM.getElement( e );\n if( !e || !e.className || !cn )\n return r;\n var cs = (e.className && e.className.length)\n ? e.className.split( /\\s+/g )\n : [];\n var ncs = [];\n /* support regex */\n if( cn instanceof RegExp ) {\n for( var i = 0; i < cs.length; i++ ) {\n if ( cn.test( cs[ i ] ) ) {\n r = true;\n continue;\n }\n ncs.push( cs[ i ] );\n }\n } else {\n for( var i = 0; i < cs.length; i++ ) {\n if( cs[ i ] == cn ) {\n r = true;\n continue;\n }\n ncs.push( cs[ i ] );\n }\n }\n if( r )\n e.className = ncs.join( \" \" );\n return r;\n },\n\n\n getElementsByTagAndClassName: function( tagName, className, root ) {\n root = DOM.getElement( root );\n if( !root )\n root = document;\n var allElements = root.getElementsByTagName( tagName );\n var elements = [];\n for( var i = 0; i < allElements.length; i++ ) {\n var element = allElements[ i ];\n if( !element )\n continue;\n if( DOM.hasClassName( element, className ) )\n elements[ elements.length ] = element;\n }\n return elements;\n },\n\n\n getElementsByClassName: function( className, root ) {\n return DOM.getElementsByTagAndClassName( \"*\", className, root );\n }\n\n\n };\n\n\nfunction switchTabs( id, el ) {\n var hash = document.location.hash;\n if ( hash )\n hash = hash.replace( /^#/, \'\' );\n \n if ( el === undefined && hash )\n el = hash;\n else if ( el !== undefined )\n el = el.href.match( /#(.*)/ )[ 1 ];\n\n var tablist = DOM.getElement( id );\n var es = tablist.getElementsByTagName( \"*\" );\n var tabContent, tabId;\n for ( var i = 0, len = es.length; i < len; i++ ) {\n if ( es[ i ].href && es[ i ].href.match( /#.*/ ) ) {\n tabId = es[ i ].href.match( /#(.*)/ )[ 1 ];\n var tabContent = DOM.getElement( tabId );\n if ( tabContent === undefined )\n continue;\n\n if ( el ) {\n if ( tabId == el ) {\n DOM.addClassName( es[ i ], \"active\" );\n DOM.removeClassName( tabContent, \"hidden\" );\n } else {\n DOM.removeClassName( es[ i ], \"active\" );\n DOM.addClassName( tabContent, \"hidden\" );\n }\n }\n }\n }\n}\n\nfunction defaultInputFocus( event ) {\n try {\n event = Event.prep( event );\n } catch( e ) {};\n\n var el = event.target;\n if ( el.value == el.getAttribute( \"mt:default\" ) ) {\n el.value = \'\';\n DOM.removeClassName( el, \"input-default\" );\n }\n}\n\nfunction defaultInputBlur( event ) {\n try {\n event = Event.prep( event );\n } catch( e ) {};\n\n var el = event.target;\n if ( el.value == \'\' ) {\n el.value = el.getAttribute( \"mt:default\" );\n DOM.addClassName( el, \"input-default\" );\n }\n}\n\nfunction setupInputDefault() {\n var es = document.getElementsByTagName( \"INPUT\" );\n for ( var i = 0, len = es.length; i < len; i++ ) {\n if ( !es[ i ].getAttribute )\n continue;\n var val = es[ i ].getAttribute( \"mt:default\" );\n if ( !val )\n continue;\n\n if ( es[ i ].value == \'\' ) {\n DOM.addClassName( es[ i ], \'input-default\' );\n es[ i ].value = val;\n }\n DOM.addEventListener( es[ i ], \'focus\', defaultInputFocus );\n DOM.addEventListener( es[ i ], \'focusin\', defaultInputFocus );\n DOM.addEventListener( es[ i ], \'blur\', defaultInputBlur );\n }\n}\n\n\n\n/***\n * Movable Type Core Functions\n */\n\n\n\n/* The following functions are here to support legacy MT templates.\n If you have refreshed your JavaScript template but still use older\n MT comment templates, you may need to uncomment this block in order\n for those templates to work properly. Simply remove the wrapping\n \'mt:Ignore\' tag to do so. */\nfunction hideDocumentElement(id) { return mtHide(id) }\nfunction showDocumentElement(id) { return mtShow(id) }\nfunction individualArchivesOnLoad() { return mtEntryOnLoad() }\nfunction writeCommenterGreeting() { return mtShowGreeting() }\nfunction rememberMe(f) { return mtRememberMe(f) }\nfunction forgetMe(f) { return mtForgetMe(f) }\nfunction getXmlHttp() { return mtGetXmlHttp() }\n\n\n// The cookie name to use for storing the blog-side comment session cookie.\nvar mtCookieName = \"<$mt:UserSessionCookieName$>\";\nvar mtCookieDomain = \"<$mt:UserSessionCookieDomain$>\";\nvar mtCookiePath = \"<$mt:UserSessionCookiePath$>\";\nvar mtCookieTimeout = <$mt:UserSessionCookieTimeout$>;\n\n\n/***\n * Simple routine for showing a DOM element (applying a CSS display\n * attribute of \'none\').\n */\n\nfunction mtHide(id) {\n var el = (typeof id == \"string\") ? document.getElementById(id) : id;\n if (el) el.style.display = \'none\';\n}\n\n\n/***\n * Simple routine for showing a DOM element (applying a CSS display\n * attribute of \'block\').\n */\n\nfunction mtShow(id) {\n var el = (typeof id == \"string\") ? document.getElementById(id) : id;\n if (el) el.style.display = \'block\';\n}\n\n\n/***\n * A utility function for assigning/adding handlers to window events.\n */\n\nfunction mtAttachEvent(eventName,func) {\n var onEventName = \'on\' + eventName;\n var old = window[onEventName];\n if( typeof old != \'function\' )\n window[onEventName] = func;\n else {\n window[onEventName] = function( evt ) {\n old( evt );\n return func( evt );\n };\n }\n}\n\n\n/***\n * Calls the event named, if there are handlers for it.\n */\n\nfunction mtFireEvent(eventName,param) {\n var fn = window[\'on\' + eventName];\n if (typeof fn == \'function\') return fn(param);\n return;\n}\n\n\n/***\n * Displays a relative date.\n * \'ts\' is a Date object, \'fds\' is a string of the date which\n * will be displayed if the given date is older than 1 week.\n */\n\nfunction mtRelativeDate(ts, fds) {\n var now = new Date();\n var ref = ts;\n var delta = Math.floor((now.getTime() - ref.getTime()) / 1000);\n\n var str;\n if (delta < 60) {\n str = \'直前\';\n } else if (delta <= 86400) {\n // less than 1 day\n var hours = Math.floor(delta / 3600);\n var min = Math.floor((delta % 3600) / 60);\n if (hours == 1)\n str = \'1 時間前\';\n else if (hours > 1)\n str = \'2 時間前\'.replace(/2/, hours);\n else if (min == 1)\n str = \'1 分前\';\n else\n str = \'2 分前\'.replace(/2/, min);\n } else if (delta <= 604800) {\n // less than 1 week\n var days = Math.floor(delta / 86400);\n var hours = Math.floor((delta % 86400) / 3600);\n if (days == 1)\n str = \'1 日前\';\n else if (days > 1)\n str = \'2 日前\'.replace(/2/, days);\n else if (hours == 1)\n str = \'1 時間前\';\n else\n str = \'2 時間前\'.replace(/2/, hours);\n }\n return str ? str : fds;\n}\n\n\n/***\n * Used to display an edit link for the given entry.\n */\n\nfunction mtEditLink(entry_id, author_id) {\n var u = mtGetUser();\n if (! u) return;\n if (! entry_id) return;\n if (! author_id) return;\n if (u.id != author_id) return;\n var link = \'?__mode=view&_type=entry&id=\' + entry_id + \'\">編集\';\n document.write(link);\n}\n\n\n/***\n * Called when an input field on the comment form receives focus.\n */\n\nfunction mtCommentFormOnFocus() {\n // if CAPTCHA is enabled, this causes the captcha image to be\n // displayed if it hasn\'t been already.\n mtShowCaptcha();\n}\n\n\n/***\n * Displays a captcha field for anonymous commenters.\n */\n\nvar mtCaptchaVisible = false;\nfunction mtShowCaptcha() {\n var u = mtGetUser();\n if ( u && u.is_authenticated ) return;\n if (mtCaptchaVisible) return;\n var div = document.getElementById(\'comments-open-captcha\');\n if (div) {\n div.innerHTML = \'<$mt:CaptchaFields$>\';\n mtCaptchaVisible = true;\n }\n}\n\n\n/* user object\n -- saved in user cookie --\n u.name (display name)\n u.url (link to home page)\n u.email (for anonymous only)\n u.userpic (url for commenter/author)\n u.profile (link to profile)\n u.is_trusted (boolean)\n u.is_author (user has posting rights)\n u.is_banned (banned status; neither post/comment perms)\n u.can_post (has permission to post)\n u.can_comment (has permission to comment)\n\n -- status fields --\n u.is_authenticated (boolean)\n u.is_anonymous (user is anonymous)\n*/\n\n\nvar is_preview;\nvar user;\n\n/***\n * Assigns a user object as the actively logged in user; also saves the\n * user information in a browser cookie.\n */\n\nfunction mtSetUser(u) {\n if (u) {\n // persist this\n user = u;\n mtSaveUser();\n // sync up user greeting\n mtFireEvent(\'usersignin\');\n }\n}\n\n\n/***\n * Simple function that escapes single quote characters for storing\n * in a cookie.\n */\n\nfunction mtEscapeJS(s) {\n s = s.replace(/\'/g, \"'\");\n return s;\n}\n\n\n/***\n * Simple function that unescapes single quote characters that were\n * stored in a cookie.\n */\n\nfunction mtUnescapeJS(s) {\n s = s.replace(/'/g, \"\'\");\n return s;\n}\n\n\n/***\n * Serializes a user object into a string, suitable for storing as a cookie.\n */\n\nfunction mtBakeUserCookie(u) {\n var str = \"\";\n if (u.name) str += \"name:\'\" + mtEscapeJS(u.name) + \"\';\";\n if (u.url) str += \"url:\'\" + mtEscapeJS(u.url) + \"\';\";\n if (u.email) str += \"email:\'\" + mtEscapeJS(u.email) + \"\';\";\n if (u.is_authenticated) str += \"is_authenticated:\'1\';\";\n if (u.profile) str += \"profile:\'\" + mtEscapeJS(u.profile) + \"\';\";\n if (u.userpic) str += \"userpic:\'\" + mtEscapeJS(u.userpic) + \"\';\";\n if (u.sid) str += \"sid:\'\" + mtEscapeJS(u.sid) + \"\';\";\n str += \"is_trusted:\'\" + (u.is_trusted ? \"1\" : \"0\") + \"\';\";\n str += \"is_author:\'\" + (u.is_author ? \"1\" : \"0\") + \"\';\";\n str += \"is_banned:\'\" + (u.is_banned ? \"1\" : \"0\") + \"\';\";\n str += \"can_post:\'\" + (u.can_post ? \"1\" : \"0\") + \"\';\";\n str += \"can_comment:\'\" + (u.can_comment ? \"1\" : \"0\") + \"\';\";\n str = str.replace(/;$/, \'\');\n return str;\n}\n\n\n/***\n * Unserializes a user cookie and returns a user object with the restored\n * state.\n */\n\nfunction mtUnbakeUserCookie(s) {\n if (!s) return;\n\n var u = {};\n var m;\n while (m = s.match(/^((name|url|email|is_authenticated|profile|userpic|sid|is_trusted|is_author|is_banned|can_post|can_comment):\'([^\']+?)\';?)/)) {\n s = s.substring(m[1].length);\n if (m[2].match(/^(is|can)_/)) // boolean fields\n u[m[2]] = m[3] == \'1\' ? true : false;\n else\n u[m[2]] = mtUnescapeJS(m[3]);\n }\n if (u.is_authenticated) {\n u.is_anonymous = false;\n } else {\n u.is_anonymous = true;\n u.can_post = false;\n u.is_author = false;\n u.is_banned = false;\n u.is_trusted = false;\n }\n return u;\n}\n\n\n/***\n * Retrieves an object of the currently logged in user\'s state.\n * If no user is logged in or cookied, this will return null.\n */\n\nfunction mtGetUser() {\n if (!user) {\n var cookie = mtGetCookie(mtCookieName);\n if (!cookie) return;\n user = mtUnbakeUserCookie(cookie);\n if (! user) {\n user = {};\n user.is_anonymous = true;\n user.can_post = false;\n user.is_author = false;\n user.is_banned = false;\n user.is_trusted = false;\n }\n }\n return user;\n}\n\n\n/***\n * Issues a request to the MT comment script to retrieve the currently\n * logged-in user (if any).\n */\n\nvar mtFetchedUser = false;\n\nfunction mtFetchUser(cb) {\n if (!cb) cb = \'mtSetUser\';\n if ( ( cb == \'mtSetUser\' ) && mtGetUser() ) {\n var url = document.URL;\n url = url.replace(/#.+$/, \'\');\n url += \'#comments-open\';\n location.href = url;\n } else {\n // we aren\'t using AJAX for this, since we may have to request\n // from a different domain. JSONP to the rescue.\n mtFetchedUser = true;\n var script = document.createElement(\'script\');\n var ts = new Date().getTime();\n script.src = \'<$mt:CGIPath$><$mt:CommentScript$>?__mode=session_js&blog_id=<$mt:BlogID$>&jsonp=\' + cb + \'&ts=\' + ts;\n (document.getElementsByTagName(\'head\'))[0].appendChild(script);\n }\n}\n\n\n\n/***\n * Called when the \'Remember me\' checkbox is changed. If the checkbox\n * is cleared, the cached user cookie is immediately cleared.\n */\n\nfunction mtRememberMeOnClick(b) {\n if (!b.checked)\n mtClearUser(b.form);\n return true;\n}\n\n\n/***\n * Called when comment form is sent.\n * Required parameter: Form DOM object of comment form.\n * If form has a \'bakecookie\' member, it will be used to signal\n * storing the anonymous commenter information to a cookie.\n * If form has a \'armor\' member, it will be used to store\n * a token that is checked by the comment script.\n */\n\n\nvar mtRequestSubmitted = false;\nfunction mtCommentOnSubmit(f) {\n if (!mtRequestSubmitted) {\n mtRequestSubmitted = true;\n\n if (f.armor)\n f.armor.value = \'<$mt:BlogSitePath encode_sha1=\"1\"$>\';\n if (f.bakecookie && f.bakecookie.checked)\n mtSaveUser(f);\n\n // disable submit buttons\n if (f.preview_button) f.preview_button.disabled = true;\n if (f.post) f.post.disabled = true;\n\n var u = mtGetUser();\n if ( !is_preview && ( u && u.is_authenticated ) ) {\n // validate session; then submit\n mtFetchedUser = false;\n mtFetchUser(\'mtCommentSessionVerify\');\n return false;\n }\n\n return true;\n }\n return false;\n}\n\nfunction mtCommentSessionVerify(app_user) {\n var u = mtGetUser();\n var f = document[\'comments_form\'];\n if ( u && app_user && app_user.sid && ( u.sid == app_user.sid ) ) {\n f.submit();\n } else {\n alert(\'セッションの有効期限が切れています。再度サインインしてください。\');\n mtClearUser();\n mtFireEvent(\'usersignin\');\n\n mtShow(\'comments-form\');\n mtHide(\'comments-open-footer\');\n\n }\n}\n\nfunction mtUserOnLoad() {\n var u = mtGetUser();\n\n // if the user is authenticated, hide the \'anonymous\' fields\n // and any captcha input if already shown\n if ( document.getElementById(\'comments-form\')) {\n if ( u && u.is_authenticated ) {\n mtShow(\'comments-form\');\n mtHide(\'comments-open-data\');\n if (mtCaptchaVisible)\n mtHide(\'comments-open-captcha\');\n } else {\n\n mtHide(\'comments-form\');\n\n }\n if ( u && u.is_banned )\n mtHide(\'comments-form\');\n\n // if we\'re previewing a comment, make sure the captcha\n // field is visible\n if (is_preview)\n mtShowCaptcha();\n else\n mtShowGreeting();\n\n // populate anonymous comment fields if user is cookied as anonymous\n var cf = document[\'comments_form\'];\n if (cf) {\n if (u && u.is_anonymous) {\n if (u.email) cf.email.value = u.email;\n if (u.name) cf.author.value = u.name;\n if (u.url) cf.url.value = u.url;\n if (cf.bakecookie)\n cf.bakecookie.checked = u.name || u.email;\n } else {\n if (u && u.sid && cf.sid)\n cf.sid.value = u.sid;\n }\n if (cf.post && cf.post.disabled)\n cf.post.disabled = false;\n if (cf.preview_button && cf.preview_button.disabled)\n cf.preview_button.disabled = false;\n mtRequestSubmitted = false;\n }\n }\n}\n\n\n\n/***\n * Called when an entry archive page is loaded.\n * This routine controls which elements of the comment form are shown\n * or hidden, depending on commenter type and blog configuration.\n */\n\n\nfunction mtEntryOnLoad() {\n mtHide(\'trackbacks-info\');\n mtHide(\'comments-open\');\n mtFireEvent(\'usersignin\');\n}\n\nfunction mtEntryOnUnload() {\n if (mtRequestSubmitted) {\n var cf = document[\'comments_form\'];\n if (cf) {\n if (cf.post && cf.post.disabled)\n cf.post.disabled = false;\n if (cf.preview_button && cf.preview_button.disabled)\n cf.preview_button.disabled = false;\n }\n mtRequestSubmitted = false;\n }\n return true;\n}\n\nmtAttachEvent(\'usersignin\', mtUserOnLoad);\n\n\n\n/***\n * Handles the action of the \"Sign in\" link. First clears any existing\n * user cookie, then directs to the MT comment script to sign the user in.\n */\n\nfunction mtSignIn() {\n var doc_url = document.URL;\n doc_url = doc_url.replace(/#.+/, \'\');\n var url = \'<$mt:CGIPath$><$mt:CommunityScript>?__mode=login&blog_id=<$mt:BlogID$>\';\n if (is_preview) {\n if ( document[\'comments_form\'] ) {\n var entry_id = document[\'comments_form\'].entry_id.value;\n url += \'&entry_id=\' + entry_id;\n } else {\n url += \'&return_url=<$mt:BlogURL encode_url=\"1\"$>\';\n }\n } else {\n url += \'&return_url=\' + encodeURIComponent(doc_url);\n }\n mtClearUser();\n location.href = url;\n}\n\nfunction mtSignInOnClick(sign_in_element) {\n var el;\n if (sign_in_element) {\n // display throbber\n el = document.getElementById(sign_in_element);\n if (!el) // legacy MT 4.x element id\n el = document.getElementById(\'comment-form-external-auth\');\n }\n if (el)\n el.innerHTML = \'サインインします...  \';\n\n mtClearUser(); // clear any \'anonymous\' user cookie to allow sign in\n mtFetchUser(\'mtSetUserOrLogin\');\n return false;\n}\n\nfunction mtSetUserOrLogin(u) {\n if (u && u.is_authenticated) {\n mtSetUser(u);\n } else {\n // user really isn\'t logged in; so let\'s do this!\n mtSignIn();\n }\n}\n\n\n/***\n * Handles sign out from the web site.\n * First clears any existing user cookie, then direts to the MT comment\n * script to sign the user out.\n */\n\nfunction mtSignOut(entry_id) {\n mtClearUser();\n var doc_url = document.URL;\n doc_url = doc_url.replace(/#.+/, \'\');\n var url = \'<$mt:CGIPath$><$mt:CommunityScript$>?__mode=logout&blog_id=<$mt:BlogID$>\';\n if (is_preview) {\n if ( document[\'comments_form\'] ) {\n var entry_id = document[\'comments_form\'].entry_id.value;\n url += \'&entry_id=\' + entry_id;\n } else {\n url += \'&return_url=<$mt:BlogURL encode_url=\"1\"$>\';\n }\n } else {\n url += \'&return_url=\' + encodeURIComponent(doc_url);\n }\n location.href = url;\n}\n\n\n/***\n * Handles the action of the \"Sign out\" link.\n */\n\nfunction mtSignOutOnClick() {\n mtSignOut();\n return false;\n}\n\n\n/***\n * Handles the display of the greeting message, depending on what kind of\n * user is logged in and blog comment policy.\n */\n\n\nfunction mtShowGreeting() {\n\n var reg_reqd = truefalse;\n\n var cf = document[\'comments_form\'];\n if (!cf) return;\n\n var el = document.getElementById(\'comment-greeting\');\n if (!el) // legacy MT 4.x element id\n el = document.getElementById(\'comment-form-external-auth\');\n if (!el) return;\n\n var eid = cf.entry_id;\n var entry_id;\n if (eid) entry_id = eid.value;\n\n var phrase;\n var u = mtGetUser();\n\n if ( u && u.is_authenticated ) {\n if ( u.is_banned ) {\n phrase = \'このブログにコメントする権限を持っていません。(\\サインアウトする\\<\\/a\\>)\';\n } else {\n var user_link;\n if ( u.is_author ) {\n user_link = \'<$mt:CommunityScript$>?__mode=edit&return_to=\' + encodeURIComponent(document.URL) + \'&blog_id=<$mt:BlogID$>\';\n user_link += \'\">\' + u.name + \'\';\n } else {\n // registered user, but not a user with posting rights\n if (u.url)\n user_link = \'\' + u.name + \'\';\n else\n user_link = u.name;\n }\n // TBD: supplement phrase with userpic if one is available.\n phrase = \'__NAME__としてサインインしています。(\\サインアウト\\<\\/a\\>)\';\n phrase = phrase.replace(/__NAME__/, user_link);\n }\n } else {\n if (reg_reqd) {\n phrase = \'コメントするにはまず\\サインイン\\<\\/a\\>してください。\';\n } else {\n phrase = \'コメントする前に\\サインイン\\<\\/a\\>することもできます。\';\n }\n }\n el.innerHTML = phrase;\n\n mtShowCaptcha();\n\n}\n\n\n\n/***\n * Handles the action of the \'Reply\' links.\n */\n\nfunction mtReplyCommentOnClick(parent_id, author) {\n mtShow(\'comment-form-reply\');\n\n var checkbox = document.getElementById(\'comment-reply\');\n var label = document.getElementById(\'comment-reply-label\');\n var text = document.getElementById(\'comment-text\');\n\n // Populate label with new values\n var reply_text = \'\\__AUTHOR__からのコメント\\<\\/a\\>に返信\';\n reply_text = reply_text.replace(/__PARENT__/, parent_id);\n reply_text = reply_text.replace(/__AUTHOR__/, author);\n label.innerHTML = reply_text;\n\n checkbox.value = parent_id; \n checkbox.checked = true;\n try {\n // text field may be hidden\n text.focus();\n } catch(e) {\n }\n\n mtSetCommentParentID();\n}\n\n\n/***\n * Sets the parent comment ID when replying to a comment.\n */\n\nfunction mtSetCommentParentID() {\n var checkbox = document.getElementById(\'comment-reply\');\n var parent_id_field = document.getElementById(\'comment-parent-id\');\n if (!checkbox || !parent_id_field) return;\n\n var pid = 0;\n if (checkbox.checked == true)\n pid = checkbox.value;\n parent_id_field.value = pid;\n}\n\n\n/***\n * Persists a copy of the current user cookie into the browser cookie stash.\n */\n\nfunction mtSaveUser(f) {\n // We can\'t reliably store the user cookie during a preview.\n if (is_preview) return;\n\n var u = mtGetUser();\n\n if (f && (!u || u.is_anonymous)) {\n if ( !u ) {\n u = {};\n u.is_authenticated = false;\n u.can_comment = true;\n u.is_author = false;\n u.is_banned = false;\n u.is_anonymous = true;\n u.is_trusted = false;\n }\n if (f.author != undefined) u.name = f.author.value;\n if (f.email != undefined) u.email = f.email.value;\n if (f.url != undefined) u.url = f.url.value;\n }\n\n if (!u) return;\n\n var cache_period = mtCookieTimeout * 1000;\n\n // cache anonymous user info for a long period if the\n // user has requested to be remembered\n if (u.is_anonymous && f && f.bakecookie && f.bakecookie.checked)\n cache_period = 365 * 24 * 60 * 60 * 1000;\n\n var now = new Date();\n mtFixDate(now);\n now.setTime(now.getTime() + cache_period);\n\n var cmtcookie = mtBakeUserCookie(u);\n mtSetCookie(mtCookieName, cmtcookie, now, mtCookiePath, mtCookieDomain,\n location.protocol == \'https:\');\n}\n\n\n/***\n * Clears the blog-side user cookie.\n */\n\nfunction mtClearUser() {\n user = null;\n mtDeleteCookie(mtCookieName, mtCookiePath, mtCookieDomain,\n location.protocol == \'https:\');\n}\n\n\n/***\n * Sets a browser cookie.\n */\n\nfunction mtSetCookie(name, value, expires, path, domain, secure) {\n if (domain && domain.match(/^\\.?localhost$/))\n domain = null;\n var curCookie = name + \"=\" + escape(value) +\n (expires ? \"; expires=\" + expires.toGMTString() : \"\") +\n (path ? \"; path=\" + path : \"\") +\n (domain ? \"; domain=\" + domain : \"\") +\n (secure ? \"; secure\" : \"\");\n document.cookie = curCookie;\n}\n\n\n/***\n * Retrieves a browser cookie.\n */\n\nfunction mtGetCookie(name) {\n var prefix = name + \'=\';\n var c = document.cookie;\n var cookieStartIndex = c.indexOf(prefix);\n if (cookieStartIndex == -1)\n return \'\';\n var cookieEndIndex = c.indexOf(\";\", cookieStartIndex + prefix.length);\n if (cookieEndIndex == -1)\n cookieEndIndex = c.length;\n return unescape(c.substring(cookieStartIndex + prefix.length, cookieEndIndex));\n}\n\n\n/***\n * Deletes a browser cookie.\n */\n\nfunction mtDeleteCookie(name, path, domain, secure) {\n if (mtGetCookie(name)) {\n if (domain && domain.match(/^\\.?localhost$/))\n domain = null;\n document.cookie = name + \"=\" +\n (path ? \"; path=\" + path : \"\") +\n (domain ? \"; domain=\" + domain : \"\") +\n (secure ? \"; secure\" : \"\") +\n \"; expires=Thu, 01-Jan-70 00:00:01 GMT\";\n }\n}\n\nfunction mtFixDate(date) {\n var skew = (new Date(0)).getTime();\n if (skew > 0)\n date.setTime(date.getTime() - skew);\n}\n\n\n/***\n * Returns a XMLHttpRequest object (for Ajax operations).\n */\n\nfunction mtGetXmlHttp() {\n if ( !window.XMLHttpRequest ) {\n window.XMLHttpRequest = function() {\n var types = [\n \"Microsoft.XMLHTTP\",\n \"MSXML2.XMLHTTP.5.0\",\n \"MSXML2.XMLHTTP.4.0\",\n \"MSXML2.XMLHTTP.3.0\",\n \"MSXML2.XMLHTTP\"\n ];\n\n for ( var i = 0; i < types.length; i++ ) {\n try {\n return new ActiveXObject( types[ i ] );\n } catch( e ) {}\n }\n\n return undefined;\n };\n }\n if ( window.XMLHttpRequest )\n return new XMLHttpRequest();\n}\n\n// BEGIN: fast browser onload init\n// Modifications by David Davis, DWD\n// Dean Edwards/Matthias Miller/John Resig\n// http://dean.edwards.name/weblog/2006/06/again/?full#comment5338\n\nfunction mtInit() {\n // quit if this function has already been called\n if (arguments.callee.done) return;\n\n // flag this function so we don\'t do the same thing twice\n arguments.callee.done = true;\n\n // kill the timer\n // DWD - check against window\n if ( window._timer ) clearInterval(window._timer);\n\n // DWD - fire the window onload now, and replace it\n if ( window.onload && ( window.onload !== window.mtInit ) ) {\n window.onload();\n window.onload = function() {};\n }\n}\n\n/* for Mozilla/Opera9 */\nif (document.addEventListener) {\n document.addEventListener(\"DOMContentLoaded\", mtInit, false);\n}\n\n/* for Internet Explorer */\n/*@cc_on @*/\n/*@if (@_win32)\ndocument.write(\"\n\n','custom',0),(52,0,0,0,1,1,'2009-11-25 10:32:59','new_password',NULL,NULL,NULL,NULL,'2009-11-25 10:32:59','新しいパスワードの設定フォーム',NULL,1,'\n\n\nパスワードの変更\n\n<$mt:BlogName encode_html=\"1\"$>: <$mt:Var name=\"page_title\"$>\n\n<$mt:Include module=\"シンプルヘッダー\"$>\n\n\n \n \n \n\n\n
\">\n \n \" />\n \" />\n
\n\n\n \" class=\"ti\" />\n\n\n\n \" class=\"ti\" />\n\n\n
\n 変更\n
\n\n
\n
\n<$mt:Include module=\"シンプルフッター\"$>\n\n\n','new_password',0),(53,0,0,0,1,1,'2009-11-25 10:32:59','login_form',NULL,NULL,NULL,NULL,'2009-11-25 10:32:59','ログインフォーム',NULL,1,'<$mt:Var name=\"screen_id\" value=\"sign-in\"$>\n<$mt:Var name=\"body_class\" value=\"mt-profile-login\"$>\nサインイン\n<$mt:BlogName encode_html=\"1\"$>: <$mt:Var name=\"page_title\"$>\n\n\n\n<$mt:Include module=\"シンプルヘッダー\"$>\n\n\n\n \n\n\n\n\n \n <$mt:Var name=\"message\"$>\n \n\n\n \n <$mt:Var name=\"error\"$>\n \n\n\n
\n\n\n
\n\n
\n
\" style=\"display: none\">\n <$mt:Var name=\"login_form\"$>\n
\n
\n
\n
\n
\n\n\n<$mt:Include module=\"シンプルフッター\"$>\n\n','login_form',0),(54,0,0,0,1,1,'2009-11-25 10:32:59','verify-subscribe',NULL,NULL,NULL,NULL,'2009-11-25 10:32:59','購読の確認',NULL,1,'<$mt:BlogName$>のアップデート通知にご登録いただきありがとうございました。以下のリンクから登録を完了させてください。\n\n<$mt:Var name=\"script_path\"$>?__mode=confirm;email=<$mt:Var name=\"email\" escape=\"url\"$>;magic=<$mt:Var name=\"magic\" escape=\"url\"$>;blog_id=<$mt:BlogID$>;redirect=<$mt:Var name=\"redirect_url\" escape=\"url\"$>;entry_id=<$mt:EntryID$>\n\nリンクをクリックできない場合は、お使いのウェブブラウザに貼り付けてください。\n\n<$mt:Include module=\"メールフッター\"$>\n','email',0),(55,0,0,0,1,1,'2009-11-25 10:32:59','search',NULL,NULL,NULL,NULL,'2009-11-25 10:32:59','検索',NULL,1,'
\n
<$mt:SearchScript$>\">\n\n \" />\n\n \" />\n \n \" />\n \n
\n
\n','custom',0),(56,0,0,0,1,1,'2009-11-25 10:32:59','profile_edit_form',NULL,NULL,NULL,NULL,'2009-11-25 10:32:59','プロフィールの編集フォーム',NULL,1,'\n<$mt:Var name=\"body_class\" value=\"mt-profile-edit\"$>\nユーザー情報の編集\n<$mt:BlogName encode_html=\"1\"$>: <$mt:Var name=\"page_title\"$>\n\n\n\n \n ユーザー情報を更新しました。 \">元のページに戻る / <$mt:CommunityScript$>?__mode=view&blog_id=<$mt:Var name=\"blog_id\"$>\">プロフィールを表示する\n \n\n\n \n <$mt:Var name=\"error\"$>\n \n\n\n\n<$mt:Include module=\"シンプルヘッダー\"$>\n\n<$mt:Var name=\"content_header\"$>\n\n
\" enctype=\"multipart/form-data\">\n \n \n \" />\n \n \" />\n \" />\n \" />\n\n \" />\n\n\n<$mt:Var name=\"name\" escape=\"html\"$>\" />\n<$mt:Include module=\"フォームフィールド\" id=\"name\" class=\"\" required=\"1\" label=\"ユーザー名\"$>\n\n\" />\n<$mt:Include module=\"フォームフィールド\" id=\"nickname\" class=\"\" required=\"$auth_type_mt\" label=\"表示名\"$>\n\n\" />\n<$mt:Include module=\"フォームフィールド\" id=\"email\" class=\"\" required=\"$auth_type_mt\" label=\"電子メール\"$>\n\n\n\n \n \n <$mt:Include module=\"フォームフィールド\" id=\"pass\" class=\"\" label=\"新しいパスワード\"$>\n\n \n <$mt:Include module=\"フォームフィールド\" id=\"pass_verify\" class=\"\" label=\"パスワード確認\"$>\n \n\n\n \n\n\n\" />\n<$mt:Include module=\"フォームフィールド\" id=\"url\" class=\"\" label=\"ウェブサイトURL\"$>\n\n\n \n <$mt:Var name=\"userpic\"$>\n
\n \n
\n \n
\n \n
\n
\n
\n<$mt:Include module=\"フォームフィールド\" id=\"file\" class=\"\" label=\"プロフィール画像\"$>\n\n\n \n \n \n \n \n \n\n <$mt:Var name=\"field_html\"$>\n\n \n \n\n\n
\n 保存\n
\n\n
\n\n\n

\">元のページに戻る / <$mt:CommunityScript$>?__mode=view&blog_id=<$mt:Var name=\"blog_id\"$>\">プロフィールを表示する

\n
\n\n<$mt:Include module=\"シンプルフッター\"$>\n\n','profile_edit_form',0),(57,0,0,0,1,1,'2009-11-25 10:32:59','profile_feed',NULL,NULL,NULL,NULL,'2009-11-25 10:32:59','プロフィールフィード',NULL,1,'\"?>\n\n <$mt:Var name=\"feed_title\"$>\n <$mt:ProductName version=\"1\"$>\n \" />\n <$mt:CommunityScript$>?__mode=view&id=<$mt:AuthorID$>&blog_id=<$mt:Var name=\"blog_id\"$>\" title=\"<$mt:AuthorDisplayName encode_html=\"1\"$>\"/>\n <$mt:Var name=\"feed_updated\"$>\n <$mt:Var name=\"feed_self\"$>\n\n \n \n <$mt:EntryTitle remove_html=\"1\" encode_xml=\"1\"$>\n \" />\n <$mt:EntryAtomID$>\n\n <$mt:EntryDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$>\n <$mt:EntryModifiedDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$>\n\n <$mt:EntryExcerpt remove_html=\"1\" encode_xml=\"1\"$>\n \n <$mt:EntryAuthorDisplayName encode_xml=\"1\"$>\n <$mt:CGIPath encode_xml=\"1\"$><$mt:CommunityScript encode_xml=\"1\"$>?__mode=view&blog_id=<$mt:BlogID$>&id=<$mt:EntryAuthorID$>\n \n \n \" scheme=\"http://www.sixapart.com/ns/types#category\" />\n \n \" label=\"<$mt:TagName encode_xml=\"1\"$>\" scheme=\"http://www.sixapart.com/ns/types#tag\" />\n \" xml:base=\"<$mt:BlogURL encode_xml=\"1\"$>\">\n <$mt:EntryBody encode_xml=\"1\"$>\n <$mt:EntryMore encode_xml=\"1\"$>\n \n \n \n\n \n \n <$mt:CommentBody trim=\"20\" remove_html=\"1\" encode_xml=\"1\"$>\n \" />\n <$mt:EntryAtomID$>#<$mt:CommentID$>\n <$mt:CommentDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$>\n \n <$mt:CommentAuthor encode_xml=\"1\"$>\n <$mt:CommenterURL encode_xml=\"1\"$>\n \n \" xml:base=\"<$mt:BlogURL encode_xml=\"1\"$>\">\n <$mt:CommentBody encode_xml=\"1\"$>\n \n \n \n\n \n \n \n <$mt:EntryBlogName remove_html=\"1\" encode_xml=\"1\"$>に<$mt:EntryTitle remove_html=\"1\" encode_xml=\"1\"$>を作成しました。\n \" />\n <$mt:EntryAtomID$>\n <$mt:EntryDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$>\n <$mt:EntryModifiedDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$>\n <$mt:EntryExcerpt remove_html=\"1\" encode_xml=\"1\"$>\n \n <$mt:EntryAuthorDisplayName encode_xml=\"1\"$>\n <$mt:CGIPath encode_xml=\"1\"$><$mt:CommunityScript encode_xml=\"1\"$>?__mode=view&blog_id=<$mt:BlogID$>&id=<$mt:EntryAuthorID$>\n \n \" scheme=\"http://www.sixapart.com/ns/types#category\" />\n \" label=\"<$mt:TagName encode_xml=\"1\"$>\" scheme=\"http://www.sixapart.com/ns/types#tag\" />\n \" xml:base=\"<$mt:BlogURL encode_xml=\"1\"$>\">\n <$mt:EntryBody encode_xml=\"1\"$>\n <$mt:EntryMore encode_xml=\"1\"$>\n \n \n \n <mt:CommentEntry><$mt:EntryTitle remove_html=\"1\" encode_xml=\"1\"$>(<$mt:EntryBlogName remove_html=\"1\" encode_xml=\"1\"$></mt:CommentEntry>)へコメントしました。\n \" />\n <$mt:EntryAtomID$>#<$mt:CommentID$>\n <$mt:CommentDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$>\n \n <$mt:CommentAuthor encode_xml=\"1\"$>\n <$mt:CommenterURL encode_xml=\"1\"$>\n \n \" xml:base=\"<$mt:BlogURL encode_xml=\"1\"$>\">\n <$mt:CommentBody encode_xml=\"1\"$>\n \n \n \n <$mt:EntryTitle remove_html=\"1\" encode_xml=\"1\"$>(<$mt:EntryBlogName remove_html=\"1\" encode_xml=\"1\"$>)をお気に入りに追加しました。\n \" />\n <$mt:EntryAtomID$>\n <$mt:EntryDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$>\n <$mt:EntryModifiedDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$>\n \n <$mt:EntryAuthorDisplayName encode_xml=\"1\"$>\n <$mt:CGIPath encode_xml=\"1\"$><$mt:CommunityScript encode_xml=\"1\"$>?__mode=view&blog_id=<$mt:BlogID$>&id=<$mt:EntryAuthorID$>\n \n \" xml:base=\"<$mt:BlogURL encode_xml=\"1\"$>\">\n <$mt:EntryAuthorDisplayName remove_html=\"1\" encode_xml=\"1\"$>が\"><$mt:EntryTitle remove_html=\"1\" encode_xml=\"1\"$>(<$mt:EntryBlogName remove_html=\"1\" encode_xml=\"1\"$>)をお気に入りに追加しました。

]]>\n
\n
\n
\n
\n
\n
\n','profile_feed',0),(58,0,0,0,1,1,'2009-11-25 10:32:59','footer',NULL,NULL,NULL,NULL,'2009-11-25 10:32:59','フッター',NULL,1,' \n \n\n <$mt:Include module=\"サイドバー\"$>\n\n \n \n
\n
\n
\n
\n
\n Powered by <$MTProductName$>\n
\n
\n\n
\n
\n このブログは\">クリエイティブ・コモンズでライセンスされています。\n
\n
\n
\n
\n
\n
\n \n \n <$mt:Var name=\"html_body_footer\"$>\n\n\n','custom',0),(59,0,0,0,1,1,'2009-11-25 10:32:59','commenter_confirm',NULL,NULL,NULL,NULL,'2009-11-25 10:32:59','コメントの確認',NULL,1,'<$mt:BlogName$>にコメントするために登録していただきありがとうございます。 \n\nセキュリティ上の理由から、登録を完了する前にアカウントとメールアドレスの確認を行っています。確認を完了次第、<$mt:BlogName$>にコメントできるようになります。\n\nアカウントの確認のため、次のURLをクリックするか、コピーしてブラウザのアドレス欄に貼り付けてください。\n\n<$mt:Var name=\"confirm_url\"$>\n\nこのメールに覚えがない場合や、<$mt:BlogName$>に登録するのをやめたい場合は、何もする必要はありません。\n\nご協力ありがとうございます。\n\n \n<$mt:AuthorDisplayName encode_html=\"1\"$>Movable Type\n\n<$mt:Include module=\"メールフッター\"$>\n','email',0),(60,0,0,0,1,1,'2009-11-25 10:32:59','userpic',NULL,NULL,NULL,NULL,'2009-11-25 10:32:59','プロフィール画像',NULL,1,'\n','custom',0),(61,0,0,0,1,1,'2009-11-25 10:32:59','header',NULL,NULL,NULL,NULL,'2009-11-25 10:32:59','ヘッダー',NULL,1,'\n\n \n \n \n \n \n <$mt:BlogID$>\n <$mt:BlogName encode_html=\"1\"$>\n <$mt:BlogDescription$>\n <$mt:BlogURL$>\n <$mt:CGIPath$><$mt:CommunityScript$>?__mode=view&blog_id=<$mt:BlogID encode_html=\"1\"$>&id=\n \" type=\"text/css\" />\n \" />\n \" title=\"Home\" />\n \n <$mt:CCLicenseRDF$>\n \n \n \n \n \n ブログ名\n ブログの説明\n #\n <$mt:CGIPath$><$mt:CommunityScript$>?__mode=view&id=\n themes-base/blog.css\" type=\"text/css\" />\n themes-base/forum.css\" type=\"text/css\" />\n themes/tristan-blue-4.2/screen.css\" type=\"text/css\" />\n \n \n \n\n\n\n<$mt:Var name=\"page_layout\" value=\"layout-wm\"$>\n\n\n\" lang=\"<$mt:BlogLanguage$>\" id=\"sixapart-standard\">\n\n \" />\n \n \n \n <$mt:Var name=\"title\"$>\n \" />\n <$mt:Var name=\"html_head\"$>\n \n \n \n \n \n\n\" class=\"<$mt:Var name=\"body_class\"$> <$mt:Var name=\"page_layout\"$>\">\n
\n
\n
\n
\n
\n\n

\" accesskey=\"1\"><$mt:Var name=\"blog_name\"$>

\n \n

<$mt:Var name=\"blog_description\"$>

\n
\n\n \n \n
<$mt:Var name=\"blog_description\"$>
\n
\n
\n <$mt:Include module=\"ナビゲーション\"$>\n <$mt:Include module=\"サインイン\"$>\n <$mt:Include module=\"検索\"$>\n
\n
\n
\n
\n
\n
\n
\n\n','custom',0),(62,0,0,0,1,1,'2009-11-25 10:32:59','new-ping',NULL,NULL,NULL,NULL,'2009-11-25 10:32:59','新しいトラックバック',NULL,1,'ブログ<$mt:BlogName$>のブログ記事<$mt:EntryTitle$> (ID:<$mt:EntryID$>)に未公開のトラックバックがあります。公開するまでこのトラックバックはブログに表示されません。\">ブログ<$mt:BlogName$>のカテゴリ<$mt:CategoryLabel$>(ID:<$mt:CategoryID$>)に未公開のトラックバックがあります。公開するまでこのトラックバックはブログに表示されません。ブログ<$mt:BlogName$>のブログ記事<$mt:EntryTitle$>(ID:<$mt:EntryID$>)に新しいトラックバックがあります。ブログ<$mt:BlogName$>のカテゴリ<$mt:CategoryLabel$>(ID:<$mt:CategoryID$>)に新しいトラックバックがあります。\n\n概要: \n<$mt:PingExcerpt wrap_text=\"72\"$>\n\nURL: <$mt:PingURL$>\nタイトル: <$mt:PingTitle$>\nブログ: <$mt:PingBlogName$>\nIPアドレス: <$mt:PingIP$>\n\nトラックバックを承認する: \n <<$mt:Var name=\"approve_url\"$>>\n\nトラックバックを見る: \n <<$mt:EntryPermalink$>>\n\nトラックバックをスパムとして報告する: \n <<$mt:Var name=\"spam_url\"$>>\n\nトラックバックの編集: \n <<$mt:Var name=\"edit_url\"$>>\n\n<$mt:Include module=\"メールフッター\"$>\n','email',0),(63,0,0,0,1,1,'2009-11-25 10:32:59','new_entry_email',NULL,NULL,NULL,NULL,'2009-11-25 10:32:59','ブログ記事の投稿通知',NULL,1,'\nブログ「<$mt:BlogName$>」に新しいブログ記事「<$mt:EntryTitle$>」(ID: <$mt:EntryID$>)が投稿されました。\n\nユーザー: <$mt:EntryAuthor$> \nユーザーの表示名: <$mt:EntryAuthorDisplayName$> \n\nタイトル: <$mt:EntryTitle$>\n日付: <$mt:EntryDate mail=\"1\"$>\n\n<$mt:EntryExcerpt wrap_text=\"72\"$>\n\n\n表示する <<$mt:EntryPermalink$>>\n編集する <<$mt:Var name=\"edit_url\"$>>\n\n<$mt:Include module=\"メールフッター\"$>\n\n','email',0),(64,0,0,0,1,1,'2009-11-25 10:32:59','form_field',NULL,NULL,NULL,NULL,'2009-11-25 10:32:59','フォームフィールド',NULL,1,'
-field\" class=\"field-top-label field pkg <$mt:Var name=\"class\"$>\">\n
\n
\n \n
\n
\n <$mt:Var name=\"field-content\"$>\n
\n
\n
\n','custom',0),(65,0,0,0,1,1,'2009-11-25 10:32:59','new-comment',NULL,NULL,NULL,NULL,'2009-11-25 10:32:59','新しいコメント',NULL,1,'未公開のコメントがブログ<$mt:BlogName$>のブログ記事\'<$mt:EntryTitle$>\'(ID:<$mt:EntryID$>)に投稿されました。公開するまでこのコメントはブログに表示されません。ブログ<$mt:BlogName$>のブログ記事\'<$mt:EntryTitle$>\'(ID:<$mt:EntryID$>)に新しいコメントが投稿されました。\n\n<$mt:CommentBody remove_html=\"1\" wrap_text=\"72\"$>\n\nコメント投稿者: <$mt:CommentAuthor$> \nメールアドレス: <$mt:CommentEmail$>\nURL: <$mt:CommentURL$>\nIPアドレス: <$mt:CommentIP$>\n\nコメントを承認する:\n <<$mt:Var name=\"approve_url\"$>>\nコメントを見る:\n <<$mt:Var name=\"view_url\"$>>\nコメントを編集する:\n <<$mt:Var name=\"edit_url\"$>>\nコメントをスパムとして報告する:\n <<$mt:Var name=\"spam_url\"$>>\n\n<$mt:Include module=\"メールフッター\"$>\n','email',0),(66,0,0,0,1,1,'2009-11-25 10:32:59','simple_header',NULL,NULL,NULL,NULL,'2009-11-25 10:32:59','シンプルヘッダー',NULL,1,'\n\n\n \n <$mt:Var name=\"title\" encode_html=\"1\"$>\n\n\n css/reset.css?v=<$mt:Var name=\"mt_version\" escape=\"url\"$>\" type=\"text/css\" />\n css/utilities.css?v=<$mt:Var name=\"mt_version\" escape=\"url\"$>\" type=\"text/css\" />\n css/messaging.css?v=<$mt:Var name=\"mt_version\" escape=\"url\"$>\" type=\"text/css\" />\n css/chromeless.css?v=<$mt:Var name=\"mt_version\" escape=\"url\"$>\" type=\"text/css\" />\n\n css/simple.css?v=<$mt:Var name=\"mt_version\" escape=\"url\"$>\" type=\"text/css\" />\n\n addons/Commercial.pack/styles-customfields.css\" type=\"text/css\" media=\"screen\" title=\"CustomFields Stylesheet\" charset=\"utf-8\" />\n \n \n\n \n styles_<$mt:Var name=\"local_lang_id\"$>.css?v=<$mt:Var name=\"mt_version\" escape=\"url\"$>\" />\n \n\n \n \n \n\n<$mt:Var name=\"html_head\"$>\n\n\n<$mt:Var name=\"js_include\"$>\n\n\n\" class=\"chromeless dialog debug error-screen chromeless-wide chromeless-wide <$mt:Var name=\"body_class\" default=\"dialog\"$>\">\n
\n
\"Movableimages/chromeless/mt_logo.png\" />
\n
\n\n \n \n \n \n
_active\">
\n
\n
\n
\n
\n
\n
\n

<$mt:Var name=\"page_title\"$>

\n','custom',0),(67,0,0,0,1,1,'2009-11-25 10:32:59','register_notification_email',NULL,NULL,NULL,NULL,'2009-11-25 10:32:59','登録通知',NULL,1,'これは新しいユーザーがブログ「<$mt:BlogName$>」に登録を完了したことを通知するメールです。新しいユーザーの情報は以下に記載されています。\n\n新規登録ユーザー:\nユーザー名: <$mt:CommenterUsername$> \n名前: <$mt:CommenterName$>\nメール: <$mt:CommenterEmail$>\n\nこのユーザーの情報を見たり編集する場合には、下記のURLをクリックするか、URLをコピーしてブラウザのアドレス欄に貼り付けてください。\n<$mt:Var name=\"profile_url\"$>\n\n<$mt:Include module=\"メールフッター\"$>\n\n','email',0),(68,0,0,0,1,1,'2009-11-25 10:32:59','comment_throttle',NULL,NULL,NULL,NULL,'2009-11-25 10:32:59','コメントスロットル',NULL,1,'これが間違いである場合は、Movable Typeにログインして、ブログの設定画面に進み、禁止IPリストからIPアドレスを削除してください。\n<$mt:BlogName$>を禁止しました。<$mt:Var name=\"throttle_seconds\"$>秒の間に許可された以上のコメントを送信してきました。\n\nこれは悪意のスクリプトがブログをコメントで飽和させるのを阻止するための措置です。以下のIPアドレスを禁止しました。\n\n<$mt:Var name=\"throttled_ip\"$>\n\n<$mt:Var name=\"message\"$>\n','email',0),(69,0,0,0,1,1,'2009-11-25 10:32:59','simple_footer',NULL,NULL,NULL,NULL,'2009-11-25 10:32:59','シンプルフッター',NULL,1,'\n
\n\n\n\n\n\n','custom',0); /*!40000 ALTER TABLE `mt_template` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_template_meta` -- DROP TABLE IF EXISTS `mt_template_meta`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_template_meta` ( `template_meta_template_id` int(11) NOT NULL, `template_meta_type` varchar(75) NOT NULL, `template_meta_vchar` varchar(255) default NULL, `template_meta_vchar_idx` varchar(255) default NULL, `template_meta_vdatetime` datetime default NULL, `template_meta_vdatetime_idx` datetime default NULL, `template_meta_vinteger` int(11) default NULL, `template_meta_vinteger_idx` int(11) default NULL, `template_meta_vfloat` float default NULL, `template_meta_vfloat_idx` float default NULL, `template_meta_vblob` mediumblob, `template_meta_vclob` mediumtext, PRIMARY KEY (`template_meta_template_id`,`template_meta_type`), KEY `mt_template_meta_type_vint` (`template_meta_type`,`template_meta_vinteger_idx`), KEY `mt_template_meta_type_vflt` (`template_meta_type`,`template_meta_vfloat_idx`), KEY `mt_template_meta_type_vdt` (`template_meta_type`,`template_meta_vdatetime_idx`), KEY `mt_template_meta_type_vchar` (`template_meta_type`,`template_meta_vchar_idx`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_template_meta` -- LOCK TABLES `mt_template_meta` WRITE; /*!40000 ALTER TABLE `mt_template_meta` DISABLE KEYS */; INSERT INTO `mt_template_meta` (`template_meta_template_id`, `template_meta_type`, `template_meta_vchar`, `template_meta_vchar_idx`, `template_meta_vdatetime`, `template_meta_vdatetime_idx`, `template_meta_vinteger`, `template_meta_vinteger_idx`, `template_meta_vfloat`, `template_meta_vfloat_idx`, `template_meta_vblob`, `template_meta_vclob`) VALUES (35,'modulesets','31,30',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(36,'modulesets','23,15,26,21,14',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(37,'modulesets','31,23,30,15,26,21,14',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); /*!40000 ALTER TABLE `mt_template_meta` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_template_rev` -- DROP TABLE IF EXISTS `mt_template_rev`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_template_rev` ( `template_rev_id` int(11) NOT NULL auto_increment, `template_rev_changed` varchar(255) NOT NULL, `template_rev_created_by` int(11) default NULL, `template_rev_created_on` datetime default NULL, `template_rev_description` varchar(255) default NULL, `template_rev_label` varchar(255) default NULL, `template_rev_modified_by` int(11) default NULL, `template_rev_modified_on` datetime default NULL, `template_rev_rev_number` int(11) NOT NULL default '0', `template_rev_template` mediumblob NOT NULL, `template_rev_template_id` int(11) NOT NULL, PRIMARY KEY (`template_rev_id`), KEY `mt_template_rev_template_id` (`template_rev_template_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_template_rev` -- LOCK TABLES `mt_template_rev` WRITE; /*!40000 ALTER TABLE `mt_template_rev` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_template_rev` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_templatemap` -- DROP TABLE IF EXISTS `mt_templatemap`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_templatemap` ( `templatemap_id` int(11) NOT NULL auto_increment, `templatemap_archive_type` varchar(25) NOT NULL, `templatemap_blog_id` int(11) NOT NULL, `templatemap_build_interval` int(11) default NULL, `templatemap_build_type` smallint(6) default '1', `templatemap_file_template` varchar(255) default NULL, `templatemap_is_preferred` tinyint(4) default NULL, `templatemap_template_id` int(11) NOT NULL, PRIMARY KEY (`templatemap_id`), KEY `mt_templatemap_is_preferred` (`templatemap_is_preferred`), KEY `mt_templatemap_archive_type` (`templatemap_archive_type`), KEY `mt_templatemap_template_id` (`templatemap_template_id`), KEY `mt_templatemap_blog_id` (`templatemap_blog_id`) ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_templatemap` -- LOCK TABLES `mt_templatemap` WRITE; /*!40000 ALTER TABLE `mt_templatemap` DISABLE KEYS */; INSERT INTO `mt_templatemap` (`templatemap_id`, `templatemap_archive_type`, `templatemap_blog_id`, `templatemap_build_interval`, `templatemap_build_type`, `templatemap_file_template`, `templatemap_is_preferred`, `templatemap_template_id`) VALUES (1,'Page',1,NULL,1,NULL,1,17); /*!40000 ALTER TABLE `mt_templatemap` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_touch` -- DROP TABLE IF EXISTS `mt_touch`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_touch` ( `touch_id` int(11) NOT NULL auto_increment, `touch_blog_id` int(11) default NULL, `touch_modified_on` datetime default NULL, `touch_object_type` varchar(255) default NULL, PRIMARY KEY (`touch_id`), KEY `mt_touch_blog_type` (`touch_blog_id`,`touch_object_type`,`touch_modified_on`) ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_touch` -- LOCK TABLES `mt_touch` WRITE; /*!40000 ALTER TABLE `mt_touch` DISABLE KEYS */; INSERT INTO `mt_touch` (`touch_id`, `touch_blog_id`, `touch_modified_on`, `touch_object_type`) VALUES (1,0,'2009-11-25 10:32:58','author'),(2,1,'2009-11-25 10:32:59','template'); /*!40000 ALTER TABLE `mt_touch` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_trackback` -- DROP TABLE IF EXISTS `mt_trackback`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_trackback` ( `trackback_id` int(11) NOT NULL auto_increment, `trackback_blog_id` int(11) NOT NULL, `trackback_category_id` int(11) NOT NULL default '0', `trackback_created_by` int(11) default NULL, `trackback_created_on` datetime default NULL, `trackback_description` mediumtext, `trackback_entry_id` int(11) NOT NULL default '0', `trackback_is_disabled` tinyint(4) default '0', `trackback_modified_by` int(11) default NULL, `trackback_modified_on` datetime default NULL, `trackback_passphrase` varchar(30) default NULL, `trackback_rss_file` varchar(255) default NULL, `trackback_title` varchar(255) default NULL, `trackback_url` varchar(255) default NULL, PRIMARY KEY (`trackback_id`), KEY `mt_trackback_category_id` (`trackback_category_id`), KEY `mt_trackback_created_on` (`trackback_created_on`), KEY `mt_trackback_blog_id` (`trackback_blog_id`), KEY `mt_trackback_entry_id` (`trackback_entry_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_trackback` -- LOCK TABLES `mt_trackback` WRITE; /*!40000 ALTER TABLE `mt_trackback` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_trackback` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_ts_error` -- DROP TABLE IF EXISTS `mt_ts_error`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_ts_error` ( `ts_error_error_time` int(11) NOT NULL, `ts_error_funcid` int(11) NOT NULL default '0', `ts_error_jobid` int(11) NOT NULL, `ts_error_message` varchar(255) NOT NULL, KEY `mt_ts_error_funcid_time` (`ts_error_funcid`,`ts_error_error_time`), KEY `mt_ts_error_error_time` (`ts_error_error_time`), KEY `mt_ts_error_jobid` (`ts_error_jobid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_ts_error` -- LOCK TABLES `mt_ts_error` WRITE; /*!40000 ALTER TABLE `mt_ts_error` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_ts_error` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_ts_exitstatus` -- DROP TABLE IF EXISTS `mt_ts_exitstatus`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_ts_exitstatus` ( `ts_exitstatus_jobid` int(11) NOT NULL, `ts_exitstatus_completion_time` int(11) default NULL, `ts_exitstatus_delete_after` int(11) default NULL, `ts_exitstatus_funcid` int(11) NOT NULL, `ts_exitstatus_status` int(11) default NULL, PRIMARY KEY (`ts_exitstatus_jobid`), KEY `mt_ts_exitstatus_funcid` (`ts_exitstatus_funcid`), KEY `mt_ts_exitstatus_delete_after` (`ts_exitstatus_delete_after`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_ts_exitstatus` -- LOCK TABLES `mt_ts_exitstatus` WRITE; /*!40000 ALTER TABLE `mt_ts_exitstatus` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_ts_exitstatus` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_ts_funcmap` -- DROP TABLE IF EXISTS `mt_ts_funcmap`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_ts_funcmap` ( `ts_funcmap_funcid` int(11) NOT NULL auto_increment, `ts_funcmap_funcname` varchar(255) NOT NULL, PRIMARY KEY (`ts_funcmap_funcid`), UNIQUE KEY `mt_ts_funcmap_funcname` (`ts_funcmap_funcname`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_ts_funcmap` -- LOCK TABLES `mt_ts_funcmap` WRITE; /*!40000 ALTER TABLE `mt_ts_funcmap` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_ts_funcmap` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `mt_ts_job` -- DROP TABLE IF EXISTS `mt_ts_job`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `mt_ts_job` ( `ts_job_jobid` int(11) NOT NULL auto_increment, `ts_job_arg` mediumblob, `ts_job_coalesce` varchar(255) default NULL, `ts_job_funcid` int(11) NOT NULL, `ts_job_grabbed_until` int(11) NOT NULL, `ts_job_insert_time` int(11) default NULL, `ts_job_priority` int(11) default NULL, `ts_job_run_after` int(11) NOT NULL, `ts_job_uniqkey` varchar(255) default NULL, PRIMARY KEY (`ts_job_jobid`), UNIQUE KEY `mt_ts_job_uniqfunc` (`ts_job_funcid`,`ts_job_uniqkey`), KEY `mt_ts_job_funcpri` (`ts_job_funcid`,`ts_job_priority`), KEY `mt_ts_job_funccoal` (`ts_job_funcid`,`ts_job_coalesce`), KEY `mt_ts_job_funcrun` (`ts_job_funcid`,`ts_job_run_after`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `mt_ts_job` -- LOCK TABLES `mt_ts_job` WRITE; /*!40000 ALTER TABLE `mt_ts_job` DISABLE KEYS */; /*!40000 ALTER TABLE `mt_ts_job` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2009-11-25 10:39:21 update mt_blog set blog_site_url='http://re-schedule.jp/mt/' where blog_id = 1; update mt_author set author_email='resch742@re-schedule.jp' where author_id = 1; update mt_entry set entry_atom_id='tag:re-schedule.jp,2008:/mt//1.1' where entry_id = 1;