acts_as_mt_object 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. data/.gitignore +8 -0
  2. data/Gemfile +19 -0
  3. data/MIT-LICENSE +20 -0
  4. data/README.rdoc +56 -0
  5. data/Rakefile +49 -0
  6. data/acts_as_mt_object.gemspec +25 -0
  7. data/db/mysql.dump +2238 -0
  8. data/lib/acts_as_mt_object.rb +145 -0
  9. data/lib/acts_as_mt_object/version.rb +3 -0
  10. data/lib/tasks/acts_as_mt_object_tasks.rake +4 -0
  11. data/test/acts_as_mt_object_test.rb +38 -0
  12. data/test/dummy/Rakefile +7 -0
  13. data/test/dummy/app/assets/javascripts/application.js +9 -0
  14. data/test/dummy/app/assets/stylesheets/application.css +7 -0
  15. data/test/dummy/app/controllers/application_controller.rb +3 -0
  16. data/test/dummy/app/helpers/application_helper.rb +2 -0
  17. data/test/dummy/app/mailers/.gitkeep +0 -0
  18. data/test/dummy/app/models/.gitkeep +0 -0
  19. data/test/dummy/app/models/mt/entry.rb +6 -0
  20. data/test/dummy/app/models/plan.rb +4 -0
  21. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  22. data/test/dummy/config.ru +4 -0
  23. data/test/dummy/config/application.rb +45 -0
  24. data/test/dummy/config/boot.rb +10 -0
  25. data/test/dummy/config/database.yml +52 -0
  26. data/test/dummy/config/environment.rb +5 -0
  27. data/test/dummy/config/environments/development.rb +30 -0
  28. data/test/dummy/config/environments/production.rb +60 -0
  29. data/test/dummy/config/environments/test.rb +39 -0
  30. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  31. data/test/dummy/config/initializers/inflections.rb +10 -0
  32. data/test/dummy/config/initializers/mime_types.rb +5 -0
  33. data/test/dummy/config/initializers/secret_token.rb +7 -0
  34. data/test/dummy/config/initializers/session_store.rb +8 -0
  35. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  36. data/test/dummy/config/locales/en.yml +5 -0
  37. data/test/dummy/config/routes.rb +58 -0
  38. data/test/dummy/lib/assets/.gitkeep +0 -0
  39. data/test/dummy/lib/tasks/mt.rake +49 -0
  40. data/test/dummy/log/.gitkeep +0 -0
  41. data/test/dummy/public/404.html +26 -0
  42. data/test/dummy/public/422.html +26 -0
  43. data/test/dummy/public/500.html +26 -0
  44. data/test/dummy/public/favicon.ico +0 -0
  45. data/test/dummy/script/rails +6 -0
  46. data/test/test_helper.rb +10 -0
  47. metadata +161 -0
@@ -0,0 +1,8 @@
1
+ .bundle/
2
+ log/*.log
3
+ pkg/
4
+ test/dummy/db/*.sqlite3
5
+ test/dummy/log/*.log
6
+ test/dummy/tmp/
7
+
8
+ Gemfile.lock
data/Gemfile ADDED
@@ -0,0 +1,19 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Declare your gem's dependencies in acts_as_mt_object.gemspec.
4
+ # Bundler will treat runtime dependencies like base dependencies, and
5
+ # development dependencies will be added by default to the :development group.
6
+ gemspec
7
+
8
+ # jquery-rails is used by the dummy application
9
+ gem "jquery-rails"
10
+
11
+ # Declare any dependencies that are still in development here instead of in
12
+ # your gemspec. These might include edge Rails or gems from your path or
13
+ # Git. Remember to move these dependencies to your gemspec before releasing
14
+ # your gem to rubygems.org.
15
+
16
+ # To use debugger
17
+ # gem 'ruby-debug19', :require => 'ruby-debug'
18
+
19
+ gem "mysql2"
@@ -0,0 +1,20 @@
1
+ Copyright 2011-2012 ToI Inc.
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,56 @@
1
+ =ActsAsMtObject
2
+
3
+ Acts as Movable Type's object.
4
+
5
+
6
+ == Features
7
+
8
+ * Setup aliases. (e.g. "title" to "entry_title")
9
+ * Can access meta table data.
10
+ * Can access custom fields data.
11
+ * Only "mysql2" adapter is supported.
12
+
13
+
14
+ == Problems
15
+
16
+ * Can't save meta table data.
17
+ * Can't save custom fields data.
18
+
19
+
20
+ == Install
21
+
22
+ Put this line in your Gemfile:
23
+ gem 'acts_as_mt_object'
24
+
25
+ Then bundle:
26
+ $ bundle
27
+
28
+
29
+ == Example
30
+
31
+ === Include
32
+
33
+ class MT::Entry < ActiveRecord::Base
34
+ acts_as_mt_object
35
+ end
36
+
37
+ or
38
+
39
+ class Plan < ActiveRecord::Base
40
+ acts_as_mt_object :mt_class => :Entry
41
+ end
42
+
43
+
44
+ === Usage
45
+
46
+ > entry = MT::Entry.find(343) # find by entry_id
47
+ => #<MT::Entry entry_id: 343 ...
48
+ > entry.title # column data
49
+ => "Title"
50
+ > entry.current_revision # meta data
51
+ => 1
52
+ > entry.price # custom field's data
53
+ => 30000
54
+
55
+
56
+ Copyright 2011-2012 ToI Inc., released under the MIT license
@@ -0,0 +1,49 @@
1
+ #!/usr/bin/env rake
2
+
3
+ desc "Create Movable Type Database"
4
+ task 'db:create' do
5
+ system "rake -f test/dummy/Rakefile mt:db:create"
6
+ end
7
+
8
+
9
+ begin
10
+ require 'bundler/setup'
11
+ rescue LoadError
12
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
13
+ end
14
+ begin
15
+ require 'rdoc/task'
16
+ rescue LoadError
17
+ require 'rdoc/rdoc'
18
+ require 'rake/rdoctask'
19
+ RDoc::Task = Rake::RDocTask
20
+ end
21
+
22
+ RDoc::Task.new(:rdoc) do |rdoc|
23
+ rdoc.rdoc_dir = 'rdoc'
24
+ rdoc.title = 'ActsAsMtObject'
25
+ rdoc.options << '--line-numbers'
26
+ rdoc.rdoc_files.include('README.rdoc')
27
+ rdoc.rdoc_files.include('lib/**/*.rb')
28
+ end
29
+
30
+
31
+
32
+ Bundler::GemHelper.install_tasks
33
+
34
+ require 'rake/testtask'
35
+
36
+ Rake::TestTask.new(:test) do |t|
37
+ system "rake -f test/dummy/Rakefile mt:db:reload DUMP_FILE=db/mysql.dump"
38
+ if $?.to_i != 0
39
+ $stderr.puts 'Please try to invoke db:create first.'
40
+ exit
41
+ end
42
+
43
+ t.libs << 'lib'
44
+ t.libs << 'test'
45
+ t.pattern = 'test/**/*_test.rb'
46
+ t.verbose = false
47
+ end
48
+
49
+ task :default => :test
@@ -0,0 +1,25 @@
1
+ $:.push File.expand_path("../lib", __FILE__)
2
+
3
+ # Maintain your gem's version:
4
+ require "acts_as_mt_object/version"
5
+
6
+ # Describe your gem and declare its dependencies:
7
+ Gem::Specification.new do |s|
8
+ s.name = "acts_as_mt_object"
9
+ s.version = ActsAsMtObject::VERSION
10
+ s.authors = ["Taku AMANO"]
11
+ s.email = ["taku@toi-planning.net"]
12
+ s.homepage = "https://github.com/usualoma/acts_as_mt_object"
13
+ s.summary = "Acts as Movable Type's object."
14
+ s.description = "The active record's adapter to the database created by Movable Type"
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
+ s.extra_rdoc_files = ['README.rdoc']
19
+ s.require_paths = ['lib']
20
+
21
+ s.test_files = Dir["test/**/*"]
22
+
23
+ s.add_development_dependency "rails", "~> 3.1.3"
24
+ s.add_dependency "mysql2"
25
+ end
@@ -0,0 +1,2238 @@
1
+ -- MySQL dump 10.13 Distrib 5.1.59, for apple-darwin11.2.0 (i386)
2
+ --
3
+ -- Host: localhost Database: mt_aamo
4
+ -- ------------------------------------------------------
5
+ -- Server version 5.1.59-log
6
+
7
+ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
8
+ /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
9
+ /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
10
+ /*!40101 SET NAMES utf8 */;
11
+ /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
12
+ /*!40103 SET TIME_ZONE='+00:00' */;
13
+ /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
14
+ /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
15
+ /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
16
+ /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
17
+
18
+ --
19
+ -- Table structure for table `mt_aform`
20
+ --
21
+
22
+ DROP TABLE IF EXISTS `mt_aform`;
23
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
24
+ /*!40101 SET character_set_client = utf8 */;
25
+ CREATE TABLE `mt_aform` (
26
+ `aform_id` int(11) NOT NULL AUTO_INCREMENT,
27
+ `aform_action_url` varchar(255) DEFAULT NULL,
28
+ `aform_amember_edit_form_thanks_url` varchar(255) DEFAULT NULL,
29
+ `aform_amember_edit_form_title` varchar(255) DEFAULT NULL,
30
+ `aform_auto_status` int(11) DEFAULT NULL,
31
+ `aform_blog_id` int(11) DEFAULT '0',
32
+ `aform_check_immediate` int(11) DEFAULT '1',
33
+ `aform_created_by` int(11) DEFAULT NULL,
34
+ `aform_created_on` datetime DEFAULT NULL,
35
+ `aform_data_id` int(11) DEFAULT '0',
36
+ `aform_data_id_offset` int(11) DEFAULT '0',
37
+ `aform_data_status_options` mediumtext,
38
+ `aform_disable_preload` int(11) NOT NULL DEFAULT '0',
39
+ `aform_end_at` datetime DEFAULT NULL,
40
+ `aform_is_replyed_to_customer` tinyint(4) NOT NULL DEFAULT '0',
41
+ `aform_lang` varchar(10) NOT NULL DEFAULT 'ja',
42
+ `aform_mail_admin_subject` varchar(255) DEFAULT NULL,
43
+ `aform_mail_bcc` varchar(100) DEFAULT NULL,
44
+ `aform_mail_cc` varchar(100) DEFAULT NULL,
45
+ `aform_mail_footer` mediumtext,
46
+ `aform_mail_from` varchar(100) DEFAULT NULL,
47
+ `aform_mail_header` mediumtext,
48
+ `aform_mail_subject` varchar(255) DEFAULT NULL,
49
+ `aform_mail_to` varchar(100) DEFAULT NULL,
50
+ `aform_member_already_send_redirect_url` varchar(255) DEFAULT NULL,
51
+ `aform_modified_by` int(11) DEFAULT NULL,
52
+ `aform_modified_on` datetime DEFAULT NULL,
53
+ `aform_msg_after_end` mediumtext,
54
+ `aform_msg_before_start` mediumtext,
55
+ `aform_msg_limit_over` mediumtext,
56
+ `aform_receive_limit` int(11) DEFAULT NULL,
57
+ `aform_start_at` datetime DEFAULT NULL,
58
+ `aform_status` varchar(20) NOT NULL,
59
+ `aform_thanks_url` varchar(255) DEFAULT NULL,
60
+ `aform_title` varchar(255) NOT NULL,
61
+ PRIMARY KEY (`aform_id`),
62
+ KEY `mt_aform_auto_status` (`aform_auto_status`),
63
+ KEY `mt_aform_status` (`aform_status`),
64
+ KEY `mt_aform_blog_id` (`aform_blog_id`),
65
+ KEY `mt_aform_end_at` (`aform_end_at`),
66
+ KEY `mt_aform_title` (`aform_title`),
67
+ KEY `mt_aform_start_at` (`aform_start_at`)
68
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
69
+ /*!40101 SET character_set_client = @saved_cs_client */;
70
+
71
+ --
72
+ -- Dumping data for table `mt_aform`
73
+ --
74
+ -- ORDER BY: `aform_id`
75
+
76
+ LOCK TABLES `mt_aform` WRITE;
77
+ /*!40000 ALTER TABLE `mt_aform` DISABLE KEYS */;
78
+ /*!40000 ALTER TABLE `mt_aform` ENABLE KEYS */;
79
+ UNLOCK TABLES;
80
+
81
+ --
82
+ -- Table structure for table `mt_aform_access`
83
+ --
84
+
85
+ DROP TABLE IF EXISTS `mt_aform_access`;
86
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
87
+ /*!40101 SET character_set_client = utf8 */;
88
+ CREATE TABLE `mt_aform_access` (
89
+ `aform_access_id` int(11) NOT NULL AUTO_INCREMENT,
90
+ `aform_access_aform_id` int(11) NOT NULL,
91
+ `aform_access_aform_url` varchar(255) NOT NULL,
92
+ `aform_access_created_by` int(11) DEFAULT NULL,
93
+ `aform_access_created_on` datetime DEFAULT NULL,
94
+ `aform_access_cv` int(11) NOT NULL DEFAULT '0',
95
+ `aform_access_modified_by` int(11) DEFAULT NULL,
96
+ `aform_access_modified_on` datetime DEFAULT NULL,
97
+ `aform_access_pv` int(11) NOT NULL DEFAULT '0',
98
+ `aform_access_session` int(11) NOT NULL DEFAULT '0',
99
+ PRIMARY KEY (`aform_access_id`),
100
+ KEY `mt_aform_access_aform_id` (`aform_access_aform_id`),
101
+ KEY `mt_aform_access_aform_url` (`aform_access_aform_url`)
102
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
103
+ /*!40101 SET character_set_client = @saved_cs_client */;
104
+
105
+ --
106
+ -- Dumping data for table `mt_aform_access`
107
+ --
108
+ -- ORDER BY: `aform_access_id`
109
+
110
+ LOCK TABLES `mt_aform_access` WRITE;
111
+ /*!40000 ALTER TABLE `mt_aform_access` DISABLE KEYS */;
112
+ /*!40000 ALTER TABLE `mt_aform_access` ENABLE KEYS */;
113
+ UNLOCK TABLES;
114
+
115
+ --
116
+ -- Table structure for table `mt_aform_counter`
117
+ --
118
+
119
+ DROP TABLE IF EXISTS `mt_aform_counter`;
120
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
121
+ /*!40101 SET character_set_client = utf8 */;
122
+ CREATE TABLE `mt_aform_counter` (
123
+ `aform_counter_id` int(11) NOT NULL AUTO_INCREMENT,
124
+ `aform_counter_aform_id` int(11) NOT NULL,
125
+ `aform_counter_aform_url` varchar(255) NOT NULL,
126
+ `aform_counter_complete_pv` int(11) NOT NULL DEFAULT '0',
127
+ `aform_counter_confirm_pv` int(11) NOT NULL DEFAULT '0',
128
+ `aform_counter_created_by` int(11) DEFAULT NULL,
129
+ `aform_counter_created_on` datetime DEFAULT NULL,
130
+ `aform_counter_modified_by` int(11) DEFAULT NULL,
131
+ `aform_counter_modified_on` datetime DEFAULT NULL,
132
+ PRIMARY KEY (`aform_counter_id`),
133
+ KEY `mt_aform_counter_aform_id` (`aform_counter_aform_id`),
134
+ KEY `mt_aform_counter_aform_url` (`aform_counter_aform_url`)
135
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
136
+ /*!40101 SET character_set_client = @saved_cs_client */;
137
+
138
+ --
139
+ -- Dumping data for table `mt_aform_counter`
140
+ --
141
+ -- ORDER BY: `aform_counter_id`
142
+
143
+ LOCK TABLES `mt_aform_counter` WRITE;
144
+ /*!40000 ALTER TABLE `mt_aform_counter` DISABLE KEYS */;
145
+ /*!40000 ALTER TABLE `mt_aform_counter` ENABLE KEYS */;
146
+ UNLOCK TABLES;
147
+
148
+ --
149
+ -- Table structure for table `mt_aform_data`
150
+ --
151
+
152
+ DROP TABLE IF EXISTS `mt_aform_data`;
153
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
154
+ /*!40101 SET character_set_client = utf8 */;
155
+ CREATE TABLE `mt_aform_data` (
156
+ `aform_data_id` int(11) NOT NULL AUTO_INCREMENT,
157
+ `aform_data_aform_id` int(11) NOT NULL,
158
+ `aform_data_aform_url` varchar(255) NOT NULL,
159
+ `aform_data_comment` mediumtext,
160
+ `aform_data_created_by` int(11) DEFAULT NULL,
161
+ `aform_data_created_on` datetime DEFAULT NULL,
162
+ `aform_data_member_id` int(11) DEFAULT NULL,
163
+ `aform_data_modified_by` int(11) DEFAULT NULL,
164
+ `aform_data_modified_on` datetime DEFAULT NULL,
165
+ `aform_data_status` varchar(255) DEFAULT NULL,
166
+ `aform_data_values` mediumtext,
167
+ PRIMARY KEY (`aform_data_id`),
168
+ KEY `mt_aform_data_aform_id` (`aform_data_aform_id`),
169
+ KEY `mt_aform_data_member_id` (`aform_data_member_id`),
170
+ KEY `mt_aform_data_aform_url` (`aform_data_aform_url`)
171
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
172
+ /*!40101 SET character_set_client = @saved_cs_client */;
173
+
174
+ --
175
+ -- Dumping data for table `mt_aform_data`
176
+ --
177
+ -- ORDER BY: `aform_data_id`
178
+
179
+ LOCK TABLES `mt_aform_data` WRITE;
180
+ /*!40000 ALTER TABLE `mt_aform_data` DISABLE KEYS */;
181
+ /*!40000 ALTER TABLE `mt_aform_data` ENABLE KEYS */;
182
+ UNLOCK TABLES;
183
+
184
+ --
185
+ -- Table structure for table `mt_aform_entry`
186
+ --
187
+
188
+ DROP TABLE IF EXISTS `mt_aform_entry`;
189
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
190
+ /*!40101 SET character_set_client = utf8 */;
191
+ CREATE TABLE `mt_aform_entry` (
192
+ `aform_entry_id` int(11) NOT NULL AUTO_INCREMENT,
193
+ `aform_entry_aform_id` int(11) NOT NULL,
194
+ `aform_entry_blog_id` int(11) NOT NULL,
195
+ `aform_entry_created_by` int(11) DEFAULT NULL,
196
+ `aform_entry_created_on` datetime DEFAULT NULL,
197
+ `aform_entry_entry_id` int(11) NOT NULL,
198
+ `aform_entry_modified_by` int(11) DEFAULT NULL,
199
+ `aform_entry_modified_on` datetime DEFAULT NULL,
200
+ PRIMARY KEY (`aform_entry_id`),
201
+ KEY `mt_aform_entry_aform_id` (`aform_entry_aform_id`),
202
+ KEY `mt_aform_entry_blog_id` (`aform_entry_blog_id`),
203
+ KEY `mt_aform_entry_entry_id` (`aform_entry_entry_id`)
204
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
205
+ /*!40101 SET character_set_client = @saved_cs_client */;
206
+
207
+ --
208
+ -- Dumping data for table `mt_aform_entry`
209
+ --
210
+ -- ORDER BY: `aform_entry_id`
211
+
212
+ LOCK TABLES `mt_aform_entry` WRITE;
213
+ /*!40000 ALTER TABLE `mt_aform_entry` DISABLE KEYS */;
214
+ /*!40000 ALTER TABLE `mt_aform_entry` ENABLE KEYS */;
215
+ UNLOCK TABLES;
216
+
217
+ --
218
+ -- Table structure for table `mt_aform_field`
219
+ --
220
+
221
+ DROP TABLE IF EXISTS `mt_aform_field`;
222
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
223
+ /*!40101 SET character_set_client = utf8 */;
224
+ CREATE TABLE `mt_aform_field` (
225
+ `aform_field_id` int(11) NOT NULL AUTO_INCREMENT,
226
+ `aform_field_aform_id` int(11) NOT NULL,
227
+ `aform_field_created_by` int(11) DEFAULT NULL,
228
+ `aform_field_created_on` datetime DEFAULT NULL,
229
+ `aform_field_is_necessary` tinyint(4) DEFAULT NULL,
230
+ `aform_field_label` mediumtext,
231
+ `aform_field_modified_by` int(11) DEFAULT NULL,
232
+ `aform_field_modified_on` datetime DEFAULT NULL,
233
+ `aform_field_parts_id` varchar(100) DEFAULT NULL,
234
+ `aform_field_property` mediumtext,
235
+ `aform_field_sort_order` int(11) DEFAULT NULL,
236
+ `aform_field_type` varchar(10) NOT NULL,
237
+ PRIMARY KEY (`aform_field_id`),
238
+ KEY `mt_aform_field_aform_id` (`aform_field_aform_id`),
239
+ KEY `mt_aform_field_sort_order` (`aform_field_sort_order`),
240
+ KEY `mt_aform_field_type` (`aform_field_type`),
241
+ KEY `mt_aform_field_parts_id` (`aform_field_parts_id`)
242
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
243
+ /*!40101 SET character_set_client = @saved_cs_client */;
244
+
245
+ --
246
+ -- Dumping data for table `mt_aform_field`
247
+ --
248
+ -- ORDER BY: `aform_field_id`
249
+
250
+ LOCK TABLES `mt_aform_field` WRITE;
251
+ /*!40000 ALTER TABLE `mt_aform_field` DISABLE KEYS */;
252
+ /*!40000 ALTER TABLE `mt_aform_field` ENABLE KEYS */;
253
+ UNLOCK TABLES;
254
+
255
+ --
256
+ -- Table structure for table `mt_aform_file`
257
+ --
258
+
259
+ DROP TABLE IF EXISTS `mt_aform_file`;
260
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
261
+ /*!40101 SET character_set_client = utf8 */;
262
+ CREATE TABLE `mt_aform_file` (
263
+ `aform_file_id` int(11) NOT NULL AUTO_INCREMENT,
264
+ `aform_file_aform_data_id` int(11) NOT NULL,
265
+ `aform_file_aform_id` int(11) NOT NULL,
266
+ `aform_file_created_by` int(11) DEFAULT NULL,
267
+ `aform_file_created_on` datetime DEFAULT NULL,
268
+ `aform_file_ext` varchar(255) DEFAULT NULL,
269
+ `aform_file_field_id` int(11) NOT NULL,
270
+ `aform_file_modified_by` int(11) DEFAULT NULL,
271
+ `aform_file_modified_on` datetime DEFAULT NULL,
272
+ `aform_file_orig_name` varchar(255) NOT NULL,
273
+ `aform_file_size` int(11) NOT NULL,
274
+ `aform_file_size_text` varchar(255) NOT NULL,
275
+ `aform_file_upload_id` varchar(255) NOT NULL,
276
+ PRIMARY KEY (`aform_file_id`),
277
+ KEY `mt_aform_file_orig_name` (`aform_file_orig_name`),
278
+ KEY `mt_aform_file_aform_id` (`aform_file_aform_id`),
279
+ KEY `mt_aform_file_aform_data_id` (`aform_file_aform_data_id`),
280
+ KEY `mt_aform_file_field_id` (`aform_file_field_id`),
281
+ KEY `mt_aform_file_ext` (`aform_file_ext`),
282
+ KEY `mt_aform_file_upload_id` (`aform_file_upload_id`)
283
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
284
+ /*!40101 SET character_set_client = @saved_cs_client */;
285
+
286
+ --
287
+ -- Dumping data for table `mt_aform_file`
288
+ --
289
+ -- ORDER BY: `aform_file_id`
290
+
291
+ LOCK TABLES `mt_aform_file` WRITE;
292
+ /*!40000 ALTER TABLE `mt_aform_file` DISABLE KEYS */;
293
+ /*!40000 ALTER TABLE `mt_aform_file` ENABLE KEYS */;
294
+ UNLOCK TABLES;
295
+
296
+ --
297
+ -- Table structure for table `mt_aform_input_error`
298
+ --
299
+
300
+ DROP TABLE IF EXISTS `mt_aform_input_error`;
301
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
302
+ /*!40101 SET character_set_client = utf8 */;
303
+ CREATE TABLE `mt_aform_input_error` (
304
+ `aform_input_error_id` int(11) NOT NULL AUTO_INCREMENT,
305
+ `aform_input_error_aform_id` int(11) NOT NULL,
306
+ `aform_input_error_aform_url` varchar(255) NOT NULL,
307
+ `aform_input_error_created_by` int(11) DEFAULT NULL,
308
+ `aform_input_error_created_on` datetime DEFAULT NULL,
309
+ `aform_input_error_error_ip` varchar(30) DEFAULT NULL,
310
+ `aform_input_error_error_value` mediumtext,
311
+ `aform_input_error_field_id` int(11) NOT NULL,
312
+ `aform_input_error_field_label` mediumtext,
313
+ `aform_input_error_modified_by` int(11) DEFAULT NULL,
314
+ `aform_input_error_modified_on` datetime DEFAULT NULL,
315
+ `aform_input_error_type` varchar(20) NOT NULL,
316
+ PRIMARY KEY (`aform_input_error_id`),
317
+ KEY `mt_aform_input_error_aform_id` (`aform_input_error_aform_id`),
318
+ KEY `mt_aform_input_error_type` (`aform_input_error_type`),
319
+ KEY `mt_aform_input_error_aform_url` (`aform_input_error_aform_url`)
320
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
321
+ /*!40101 SET character_set_client = @saved_cs_client */;
322
+
323
+ --
324
+ -- Dumping data for table `mt_aform_input_error`
325
+ --
326
+ -- ORDER BY: `aform_input_error_id`
327
+
328
+ LOCK TABLES `mt_aform_input_error` WRITE;
329
+ /*!40000 ALTER TABLE `mt_aform_input_error` DISABLE KEYS */;
330
+ /*!40000 ALTER TABLE `mt_aform_input_error` ENABLE KEYS */;
331
+ UNLOCK TABLES;
332
+
333
+ --
334
+ -- Table structure for table `mt_asset`
335
+ --
336
+
337
+ DROP TABLE IF EXISTS `mt_asset`;
338
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
339
+ /*!40101 SET character_set_client = utf8 */;
340
+ CREATE TABLE `mt_asset` (
341
+ `asset_id` int(11) NOT NULL AUTO_INCREMENT,
342
+ `asset_blog_id` int(11) NOT NULL,
343
+ `asset_class` varchar(255) DEFAULT 'file',
344
+ `asset_created_by` int(11) DEFAULT NULL,
345
+ `asset_created_on` datetime DEFAULT NULL,
346
+ `asset_description` mediumtext,
347
+ `asset_file_ext` varchar(20) DEFAULT NULL,
348
+ `asset_file_name` varchar(255) DEFAULT NULL,
349
+ `asset_file_path` varchar(255) DEFAULT NULL,
350
+ `asset_label` varchar(255) DEFAULT NULL,
351
+ `asset_mime_type` varchar(255) DEFAULT NULL,
352
+ `asset_modified_by` int(11) DEFAULT NULL,
353
+ `asset_modified_on` datetime DEFAULT NULL,
354
+ `asset_parent` int(11) DEFAULT NULL,
355
+ `asset_url` varchar(255) DEFAULT NULL,
356
+ PRIMARY KEY (`asset_id`),
357
+ KEY `mt_asset_blog_class_date` (`asset_blog_id`,`asset_class`,`asset_created_on`),
358
+ KEY `mt_asset_parent` (`asset_parent`),
359
+ KEY `mt_asset_file_ext` (`asset_file_ext`),
360
+ KEY `mt_asset_created_on` (`asset_created_on`),
361
+ KEY `mt_asset_class` (`asset_class`),
362
+ KEY `mt_asset_label` (`asset_label`),
363
+ KEY `mt_asset_created_by` (`asset_created_by`)
364
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
365
+ /*!40101 SET character_set_client = @saved_cs_client */;
366
+
367
+ --
368
+ -- Dumping data for table `mt_asset`
369
+ --
370
+ -- ORDER BY: `asset_id`
371
+
372
+ LOCK TABLES `mt_asset` WRITE;
373
+ /*!40000 ALTER TABLE `mt_asset` DISABLE KEYS */;
374
+ /*!40000 ALTER TABLE `mt_asset` ENABLE KEYS */;
375
+ UNLOCK TABLES;
376
+
377
+ --
378
+ -- Table structure for table `mt_asset_meta`
379
+ --
380
+
381
+ DROP TABLE IF EXISTS `mt_asset_meta`;
382
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
383
+ /*!40101 SET character_set_client = utf8 */;
384
+ CREATE TABLE `mt_asset_meta` (
385
+ `asset_meta_asset_id` int(11) NOT NULL,
386
+ `asset_meta_type` varchar(75) NOT NULL,
387
+ `asset_meta_vchar` varchar(255) DEFAULT NULL,
388
+ `asset_meta_vchar_idx` varchar(255) DEFAULT NULL,
389
+ `asset_meta_vdatetime` datetime DEFAULT NULL,
390
+ `asset_meta_vdatetime_idx` datetime DEFAULT NULL,
391
+ `asset_meta_vinteger` int(11) DEFAULT NULL,
392
+ `asset_meta_vinteger_idx` int(11) DEFAULT NULL,
393
+ `asset_meta_vfloat` float DEFAULT NULL,
394
+ `asset_meta_vfloat_idx` float DEFAULT NULL,
395
+ `asset_meta_vblob` mediumblob,
396
+ `asset_meta_vclob` mediumtext,
397
+ PRIMARY KEY (`asset_meta_asset_id`,`asset_meta_type`),
398
+ KEY `mt_asset_meta_type_vint` (`asset_meta_type`,`asset_meta_vinteger_idx`),
399
+ KEY `mt_asset_meta_type_vflt` (`asset_meta_type`,`asset_meta_vfloat_idx`),
400
+ KEY `mt_asset_meta_type_vdt` (`asset_meta_type`,`asset_meta_vdatetime_idx`),
401
+ KEY `mt_asset_meta_type_vchar` (`asset_meta_type`,`asset_meta_vchar_idx`)
402
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
403
+ /*!40101 SET character_set_client = @saved_cs_client */;
404
+
405
+ --
406
+ -- Dumping data for table `mt_asset_meta`
407
+ --
408
+ -- ORDER BY: `asset_meta_asset_id`,`asset_meta_type`
409
+
410
+ LOCK TABLES `mt_asset_meta` WRITE;
411
+ /*!40000 ALTER TABLE `mt_asset_meta` DISABLE KEYS */;
412
+ /*!40000 ALTER TABLE `mt_asset_meta` ENABLE KEYS */;
413
+ UNLOCK TABLES;
414
+
415
+ --
416
+ -- Table structure for table `mt_association`
417
+ --
418
+
419
+ DROP TABLE IF EXISTS `mt_association`;
420
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
421
+ /*!40101 SET character_set_client = utf8 */;
422
+ CREATE TABLE `mt_association` (
423
+ `association_id` int(11) NOT NULL AUTO_INCREMENT,
424
+ `association_author_id` int(11) DEFAULT '0',
425
+ `association_blog_id` int(11) DEFAULT '0',
426
+ `association_created_by` int(11) DEFAULT NULL,
427
+ `association_created_on` datetime DEFAULT NULL,
428
+ `association_group_id` int(11) DEFAULT '0',
429
+ `association_modified_by` int(11) DEFAULT NULL,
430
+ `association_modified_on` datetime DEFAULT NULL,
431
+ `association_role_id` int(11) DEFAULT '0',
432
+ `association_type` int(11) NOT NULL,
433
+ PRIMARY KEY (`association_id`),
434
+ KEY `mt_association_author_id` (`association_author_id`),
435
+ KEY `mt_association_group_id` (`association_group_id`),
436
+ KEY `mt_association_created_on` (`association_created_on`),
437
+ KEY `mt_association_type` (`association_type`),
438
+ KEY `mt_association_blog_id` (`association_blog_id`),
439
+ KEY `mt_association_role_id` (`association_role_id`)
440
+ ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
441
+ /*!40101 SET character_set_client = @saved_cs_client */;
442
+
443
+ --
444
+ -- Dumping data for table `mt_association`
445
+ --
446
+ -- ORDER BY: `association_id`
447
+
448
+ LOCK TABLES `mt_association` WRITE;
449
+ /*!40000 ALTER TABLE `mt_association` DISABLE KEYS */;
450
+ INSERT INTO `mt_association` VALUES (1,1,1,1,'2012-02-07 20:45:55',0,NULL,'2012-02-07 20:45:55',1,1);
451
+ INSERT INTO `mt_association` VALUES (2,1,2,1,'2012-02-08 05:46:18',0,NULL,'2012-02-08 05:46:18',2,1);
452
+ /*!40000 ALTER TABLE `mt_association` ENABLE KEYS */;
453
+ UNLOCK TABLES;
454
+
455
+ --
456
+ -- Table structure for table `mt_author`
457
+ --
458
+
459
+ DROP TABLE IF EXISTS `mt_author`;
460
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
461
+ /*!40101 SET character_set_client = utf8 */;
462
+ CREATE TABLE `mt_author` (
463
+ `author_id` int(11) NOT NULL AUTO_INCREMENT,
464
+ `author_api_password` varchar(60) DEFAULT NULL,
465
+ `author_auth_type` varchar(50) DEFAULT NULL,
466
+ `author_basename` varchar(255) DEFAULT NULL,
467
+ `author_can_create_blog` tinyint(4) DEFAULT NULL,
468
+ `author_can_view_log` tinyint(4) DEFAULT NULL,
469
+ `author_created_by` int(11) DEFAULT NULL,
470
+ `author_created_on` datetime DEFAULT NULL,
471
+ `author_email` varchar(127) DEFAULT NULL,
472
+ `author_entry_prefs` varchar(255) DEFAULT NULL,
473
+ `author_external_id` varchar(255) DEFAULT NULL,
474
+ `author_hint` varchar(75) DEFAULT NULL,
475
+ `author_is_superuser` tinyint(4) DEFAULT NULL,
476
+ `author_modified_by` int(11) DEFAULT NULL,
477
+ `author_modified_on` datetime DEFAULT NULL,
478
+ `author_name` varchar(255) NOT NULL,
479
+ `author_nickname` varchar(255) DEFAULT NULL,
480
+ `author_password` varchar(60) NOT NULL,
481
+ `author_preferred_language` varchar(50) DEFAULT NULL,
482
+ `author_public_key` mediumtext,
483
+ `author_remote_auth_token` varchar(50) DEFAULT NULL,
484
+ `author_remote_auth_username` varchar(50) DEFAULT NULL,
485
+ `author_status` int(11) DEFAULT '1',
486
+ `author_text_format` varchar(30) DEFAULT NULL,
487
+ `author_type` smallint(6) NOT NULL DEFAULT '1',
488
+ `author_url` varchar(255) DEFAULT NULL,
489
+ `author_userpic_asset_id` int(11) DEFAULT NULL,
490
+ PRIMARY KEY (`author_id`),
491
+ KEY `mt_author_auth_type_name` (`author_auth_type`,`author_name`,`author_type`),
492
+ KEY `mt_author_status` (`author_status`),
493
+ KEY `mt_author_name` (`author_name`),
494
+ KEY `mt_author_email` (`author_email`),
495
+ KEY `mt_author_basename` (`author_basename`),
496
+ KEY `mt_author_external_id` (`author_external_id`),
497
+ KEY `mt_author_created_on` (`author_created_on`),
498
+ KEY `mt_author_type` (`author_type`)
499
+ ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
500
+ /*!40101 SET character_set_client = @saved_cs_client */;
501
+
502
+ --
503
+ -- Dumping data for table `mt_author`
504
+ --
505
+ -- ORDER BY: `author_id`
506
+
507
+ LOCK TABLES `mt_author` WRITE;
508
+ /*!40000 ALTER TABLE `mt_author` DISABLE KEYS */;
509
+ INSERT INTO `mt_author` VALUES (1,'f8tqtgqj','MT','melody',NULL,NULL,NULL,'2012-02-08 05:45:54','test@example.com',NULL,'',NULL,NULL,NULL,'2012-02-08 05:45:54','Melody','Melody','ePLUSMWd8EiGo','en-us',NULL,NULL,NULL,1,NULL,1,NULL,NULL);
510
+ /*!40000 ALTER TABLE `mt_author` ENABLE KEYS */;
511
+ UNLOCK TABLES;
512
+
513
+ --
514
+ -- Table structure for table `mt_author_meta`
515
+ --
516
+
517
+ DROP TABLE IF EXISTS `mt_author_meta`;
518
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
519
+ /*!40101 SET character_set_client = utf8 */;
520
+ CREATE TABLE `mt_author_meta` (
521
+ `author_meta_author_id` int(11) NOT NULL,
522
+ `author_meta_type` varchar(75) NOT NULL,
523
+ `author_meta_vchar` varchar(255) DEFAULT NULL,
524
+ `author_meta_vchar_idx` varchar(255) DEFAULT NULL,
525
+ `author_meta_vdatetime` datetime DEFAULT NULL,
526
+ `author_meta_vdatetime_idx` datetime DEFAULT NULL,
527
+ `author_meta_vinteger` int(11) DEFAULT NULL,
528
+ `author_meta_vinteger_idx` int(11) DEFAULT NULL,
529
+ `author_meta_vfloat` float DEFAULT NULL,
530
+ `author_meta_vfloat_idx` float DEFAULT NULL,
531
+ `author_meta_vblob` mediumblob,
532
+ `author_meta_vclob` mediumtext,
533
+ PRIMARY KEY (`author_meta_author_id`,`author_meta_type`),
534
+ KEY `mt_author_meta_type_vint` (`author_meta_type`,`author_meta_vinteger_idx`),
535
+ KEY `mt_author_meta_type_vflt` (`author_meta_type`,`author_meta_vfloat_idx`),
536
+ KEY `mt_author_meta_type_vdt` (`author_meta_type`,`author_meta_vdatetime_idx`),
537
+ KEY `mt_author_meta_type_vchar` (`author_meta_type`,`author_meta_vchar_idx`)
538
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
539
+ /*!40101 SET character_set_client = @saved_cs_client */;
540
+
541
+ --
542
+ -- Dumping data for table `mt_author_meta`
543
+ --
544
+ -- ORDER BY: `author_meta_author_id`,`author_meta_type`
545
+
546
+ LOCK TABLES `mt_author_meta` WRITE;
547
+ /*!40000 ALTER TABLE `mt_author_meta` DISABLE KEYS */;
548
+ INSERT INTO `mt_author_meta` VALUES (1,'favorite_blogs',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'BIN:SERG\0\0\0\0\0\0\0A\0\0\0-\0\0\02',NULL);
549
+ INSERT INTO `mt_author_meta` VALUES (1,'favorite_websites',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'BIN:SERG\0\0\0\0\0\0\0A\0\0\0-\0\0\01',NULL);
550
+ INSERT INTO `mt_author_meta` VALUES (1,'widgets',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'BIN:SERG\0\0\0\0\0\0\0H\0\0\0\0\0\0dashboard:blog:1H\0\0\0\0\0\0 recent_blogsH\0\0\0\0\0\0order-\0\0\01\0\0\0set-\0\0\0main\0\0\0dashboard:user:1H\0\0\0\0\0\0\rthis_is_you-1H\0\0\0\0\0\0order-\0\0\01\0\0\0set-\0\0\0main\0\0\0favorite_blogsH\0\0\0\0\0\0order-\0\0\02\0\0\0paramH\0\0\0\0\0\0tab-\0\0\0website\0\0\0set-\0\0\0main\0\0\0mt_newsH\0\0\0\0\0\0order-\0\0\03\0\0\0set-\0\0\0sidebar\0\0\0 new_installH\0\0\0\0\0\0order-\0\0\0-2\0\0\0set-\0\0\0main',NULL);
551
+ /*!40000 ALTER TABLE `mt_author_meta` ENABLE KEYS */;
552
+ UNLOCK TABLES;
553
+
554
+ --
555
+ -- Table structure for table `mt_author_summary`
556
+ --
557
+
558
+ DROP TABLE IF EXISTS `mt_author_summary`;
559
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
560
+ /*!40101 SET character_set_client = utf8 */;
561
+ CREATE TABLE `mt_author_summary` (
562
+ `author_summary_author_id` int(11) NOT NULL,
563
+ `author_summary_type` varchar(75) NOT NULL,
564
+ `author_summary_class` varchar(75) NOT NULL,
565
+ `author_summary_vchar_idx` varchar(255) DEFAULT NULL,
566
+ `author_summary_vinteger_idx` int(11) DEFAULT NULL,
567
+ `author_summary_vblob` mediumblob,
568
+ `author_summary_vclob` mediumtext,
569
+ `author_summary_expired` smallint(6) DEFAULT NULL,
570
+ PRIMARY KEY (`author_summary_author_id`,`author_summary_type`),
571
+ KEY `mt_author_summary_class_vint` (`author_summary_class`,`author_summary_vinteger_idx`),
572
+ KEY `mt_author_summary_id_class` (`author_summary_author_id`,`author_summary_class`),
573
+ KEY `mt_author_summary_class_vchar` (`author_summary_class`,`author_summary_vchar_idx`)
574
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
575
+ /*!40101 SET character_set_client = @saved_cs_client */;
576
+
577
+ --
578
+ -- Dumping data for table `mt_author_summary`
579
+ --
580
+ -- ORDER BY: `author_summary_author_id`,`author_summary_type`
581
+
582
+ LOCK TABLES `mt_author_summary` WRITE;
583
+ /*!40000 ALTER TABLE `mt_author_summary` DISABLE KEYS */;
584
+ /*!40000 ALTER TABLE `mt_author_summary` ENABLE KEYS */;
585
+ UNLOCK TABLES;
586
+
587
+ --
588
+ -- Table structure for table `mt_blog`
589
+ --
590
+
591
+ DROP TABLE IF EXISTS `mt_blog`;
592
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
593
+ /*!40101 SET character_set_client = utf8 */;
594
+ CREATE TABLE `mt_blog` (
595
+ `blog_id` int(11) NOT NULL AUTO_INCREMENT,
596
+ `blog_allow_anon_comments` tinyint(4) DEFAULT NULL,
597
+ `blog_allow_comment_html` tinyint(4) DEFAULT NULL,
598
+ `blog_allow_commenter_regist` tinyint(4) DEFAULT NULL,
599
+ `blog_allow_comments_default` tinyint(4) DEFAULT NULL,
600
+ `blog_allow_pings` tinyint(4) DEFAULT NULL,
601
+ `blog_allow_pings_default` tinyint(4) DEFAULT NULL,
602
+ `blog_allow_reg_comments` tinyint(4) DEFAULT NULL,
603
+ `blog_allow_unreg_comments` tinyint(4) DEFAULT NULL,
604
+ `blog_archive_path` varchar(255) DEFAULT NULL,
605
+ `blog_archive_tmpl_category` varchar(255) DEFAULT NULL,
606
+ `blog_archive_tmpl_daily` varchar(255) DEFAULT NULL,
607
+ `blog_archive_tmpl_individual` varchar(255) DEFAULT NULL,
608
+ `blog_archive_tmpl_monthly` varchar(255) DEFAULT NULL,
609
+ `blog_archive_tmpl_weekly` varchar(255) DEFAULT NULL,
610
+ `blog_archive_type` varchar(255) DEFAULT NULL,
611
+ `blog_archive_type_preferred` varchar(25) DEFAULT NULL,
612
+ `blog_archive_url` varchar(255) DEFAULT NULL,
613
+ `blog_autodiscover_links` tinyint(4) DEFAULT NULL,
614
+ `blog_autolink_urls` tinyint(4) DEFAULT NULL,
615
+ `blog_basename_limit` smallint(6) DEFAULT NULL,
616
+ `blog_cc_license` varchar(255) DEFAULT NULL,
617
+ `blog_children_modified_on` datetime DEFAULT NULL,
618
+ `blog_class` varchar(255) DEFAULT 'blog',
619
+ `blog_convert_paras` varchar(30) DEFAULT NULL,
620
+ `blog_convert_paras_comments` varchar(30) DEFAULT NULL,
621
+ `blog_created_by` int(11) DEFAULT NULL,
622
+ `blog_created_on` datetime DEFAULT NULL,
623
+ `blog_custom_dynamic_templates` varchar(25) DEFAULT 'none',
624
+ `blog_days_on_index` int(11) DEFAULT NULL,
625
+ `blog_description` mediumtext,
626
+ `blog_email_new_comments` tinyint(4) DEFAULT NULL,
627
+ `blog_email_new_pings` tinyint(4) DEFAULT NULL,
628
+ `blog_entries_on_index` int(11) DEFAULT NULL,
629
+ `blog_file_extension` varchar(10) DEFAULT NULL,
630
+ `blog_google_api_key` varchar(32) DEFAULT NULL,
631
+ `blog_internal_autodiscovery` tinyint(4) DEFAULT NULL,
632
+ `blog_is_dynamic` tinyint(4) DEFAULT NULL,
633
+ `blog_junk_folder_expiry` int(11) DEFAULT NULL,
634
+ `blog_junk_score_threshold` float DEFAULT NULL,
635
+ `blog_language` varchar(5) DEFAULT NULL,
636
+ `blog_manual_approve_commenters` tinyint(4) DEFAULT NULL,
637
+ `blog_moderate_pings` tinyint(4) DEFAULT NULL,
638
+ `blog_moderate_unreg_comments` tinyint(4) DEFAULT NULL,
639
+ `blog_modified_by` int(11) DEFAULT NULL,
640
+ `blog_modified_on` datetime DEFAULT NULL,
641
+ `blog_mt_update_key` varchar(30) DEFAULT NULL,
642
+ `blog_name` varchar(255) NOT NULL,
643
+ `blog_old_style_archive_links` tinyint(4) DEFAULT NULL,
644
+ `blog_parent_id` int(11) DEFAULT NULL,
645
+ `blog_ping_blogs` tinyint(4) DEFAULT NULL,
646
+ `blog_ping_google` tinyint(4) DEFAULT NULL,
647
+ `blog_ping_others` mediumtext,
648
+ `blog_ping_technorati` tinyint(4) DEFAULT NULL,
649
+ `blog_ping_weblogs` tinyint(4) DEFAULT NULL,
650
+ `blog_remote_auth_token` varchar(50) DEFAULT NULL,
651
+ `blog_require_comment_emails` tinyint(4) DEFAULT NULL,
652
+ `blog_sanitize_spec` varchar(255) DEFAULT NULL,
653
+ `blog_server_offset` float DEFAULT NULL,
654
+ `blog_site_path` varchar(255) DEFAULT NULL,
655
+ `blog_site_url` varchar(255) DEFAULT NULL,
656
+ `blog_sort_order_comments` varchar(8) DEFAULT NULL,
657
+ `blog_sort_order_posts` varchar(8) DEFAULT NULL,
658
+ `blog_status_default` smallint(6) DEFAULT NULL,
659
+ `blog_theme_id` varchar(255) DEFAULT NULL,
660
+ `blog_use_comment_confirmation` tinyint(4) DEFAULT NULL,
661
+ `blog_use_revision` tinyint(4) DEFAULT NULL,
662
+ `blog_welcome_msg` mediumtext,
663
+ `blog_words_in_excerpt` smallint(6) DEFAULT NULL,
664
+ PRIMARY KEY (`blog_id`),
665
+ KEY `mt_blog_name` (`blog_name`),
666
+ KEY `mt_blog_class` (`blog_class`),
667
+ KEY `mt_blog_parent_id` (`blog_parent_id`)
668
+ ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
669
+ /*!40101 SET character_set_client = @saved_cs_client */;
670
+
671
+ --
672
+ -- Dumping data for table `mt_blog`
673
+ --
674
+ -- ORDER BY: `blog_id`
675
+
676
+ LOCK TABLES `mt_blog` WRITE;
677
+ /*!40000 ALTER TABLE `mt_blog` DISABLE KEYS */;
678
+ INSERT INTO `mt_blog` VALUES (1,NULL,1,1,1,1,1,1,0,NULL,NULL,NULL,NULL,NULL,NULL,'Page','',NULL,NULL,1,100,NULL,'2012-02-08 05:45:55','website','richtext','1',1,'2012-02-08 05:45:54','none',0,NULL,1,1,10,'html',NULL,0,NULL,14,0,'ja',NULL,1,2,NULL,'2012-02-08 05:45:54',NULL,'First Website',NULL,NULL,0,0,NULL,0,0,NULL,0,'0',0,'/var/www','http://example.com/first_website/','ascend','descend',2,'professional_website',1,1,NULL,40);
679
+ INSERT INTO `mt_blog` VALUES (2,NULL,1,1,1,1,1,1,0,NULL,NULL,NULL,NULL,NULL,NULL,'Monthly,Individual,Category,Page','Individual',NULL,NULL,1,100,NULL,'2012-02-08 06:17:56','blog','richtext','1',1,'2012-02-08 05:46:18','none',0,NULL,1,1,10,'html',NULL,0,NULL,14,0,'ja',NULL,1,2,NULL,'2012-02-08 05:46:18',NULL,'First Blog',NULL,1,0,0,NULL,0,0,NULL,0,'0',9,'first_blog','/::/first_blog/','ascend','descend',2,'professional_blog',1,1,NULL,40);
680
+ /*!40000 ALTER TABLE `mt_blog` ENABLE KEYS */;
681
+ UNLOCK TABLES;
682
+
683
+ --
684
+ -- Table structure for table `mt_blog_meta`
685
+ --
686
+
687
+ DROP TABLE IF EXISTS `mt_blog_meta`;
688
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
689
+ /*!40101 SET character_set_client = utf8 */;
690
+ CREATE TABLE `mt_blog_meta` (
691
+ `blog_meta_blog_id` int(11) NOT NULL,
692
+ `blog_meta_type` varchar(75) NOT NULL,
693
+ `blog_meta_vchar` varchar(255) DEFAULT NULL,
694
+ `blog_meta_vchar_idx` varchar(255) DEFAULT NULL,
695
+ `blog_meta_vdatetime` datetime DEFAULT NULL,
696
+ `blog_meta_vdatetime_idx` datetime DEFAULT NULL,
697
+ `blog_meta_vinteger` int(11) DEFAULT NULL,
698
+ `blog_meta_vinteger_idx` int(11) DEFAULT NULL,
699
+ `blog_meta_vfloat` float DEFAULT NULL,
700
+ `blog_meta_vfloat_idx` float DEFAULT NULL,
701
+ `blog_meta_vblob` mediumblob,
702
+ `blog_meta_vclob` mediumtext,
703
+ PRIMARY KEY (`blog_meta_blog_id`,`blog_meta_type`),
704
+ KEY `mt_blog_meta_type_vint` (`blog_meta_type`,`blog_meta_vinteger_idx`),
705
+ KEY `mt_blog_meta_type_vflt` (`blog_meta_type`,`blog_meta_vfloat_idx`),
706
+ KEY `mt_blog_meta_type_vdt` (`blog_meta_type`,`blog_meta_vdatetime_idx`),
707
+ KEY `mt_blog_meta_type_vchar` (`blog_meta_type`,`blog_meta_vchar_idx`)
708
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
709
+ /*!40101 SET character_set_client = @saved_cs_client */;
710
+
711
+ --
712
+ -- Dumping data for table `mt_blog_meta`
713
+ --
714
+ -- ORDER BY: `blog_meta_blog_id`,`blog_meta_type`
715
+
716
+ LOCK TABLES `mt_blog_meta` WRITE;
717
+ /*!40000 ALTER TABLE `mt_blog_meta` DISABLE KEYS */;
718
+ INSERT INTO `mt_blog_meta` VALUES (1,'commenter_authenticators','MovableType,LiveJournal,Vox',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
719
+ INSERT INTO `mt_blog_meta` VALUES (1,'follow_auth_links',NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL);
720
+ INSERT INTO `mt_blog_meta` VALUES (1,'nofollow_urls',NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL);
721
+ INSERT INTO `mt_blog_meta` VALUES (1,'page_layout','layout-wtt',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
722
+ INSERT INTO `mt_blog_meta` VALUES (2,'commenter_authenticators','MovableType,LiveJournal,Vox',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
723
+ INSERT INTO `mt_blog_meta` VALUES (2,'follow_auth_links',NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL);
724
+ INSERT INTO `mt_blog_meta` VALUES (2,'nofollow_urls',NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL);
725
+ INSERT INTO `mt_blog_meta` VALUES (2,'page_layout','layout-wtt',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
726
+ /*!40000 ALTER TABLE `mt_blog_meta` ENABLE KEYS */;
727
+ UNLOCK TABLES;
728
+
729
+ --
730
+ -- Table structure for table `mt_category`
731
+ --
732
+
733
+ DROP TABLE IF EXISTS `mt_category`;
734
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
735
+ /*!40101 SET character_set_client = utf8 */;
736
+ CREATE TABLE `mt_category` (
737
+ `category_id` int(11) NOT NULL AUTO_INCREMENT,
738
+ `category_allow_pings` tinyint(4) DEFAULT '0',
739
+ `category_author_id` int(11) DEFAULT NULL,
740
+ `category_basename` varchar(255) DEFAULT NULL,
741
+ `category_blog_id` int(11) NOT NULL,
742
+ `category_class` varchar(255) DEFAULT 'category',
743
+ `category_created_by` int(11) DEFAULT NULL,
744
+ `category_created_on` datetime DEFAULT NULL,
745
+ `category_description` mediumtext,
746
+ `category_label` varchar(100) NOT NULL,
747
+ `category_modified_by` int(11) DEFAULT NULL,
748
+ `category_modified_on` datetime DEFAULT NULL,
749
+ `category_parent` int(11) DEFAULT '0',
750
+ `category_ping_urls` mediumtext,
751
+ PRIMARY KEY (`category_id`),
752
+ KEY `mt_category_blog_basename` (`category_blog_id`,`category_basename`),
753
+ KEY `mt_category_parent` (`category_parent`),
754
+ KEY `mt_category_class` (`category_class`),
755
+ KEY `mt_category_blog_class` (`category_blog_id`,`category_class`),
756
+ KEY `mt_category_label` (`category_label`),
757
+ KEY `mt_category_blog_id` (`category_blog_id`)
758
+ ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
759
+ /*!40101 SET character_set_client = @saved_cs_client */;
760
+
761
+ --
762
+ -- Dumping data for table `mt_category`
763
+ --
764
+ -- ORDER BY: `category_id`
765
+
766
+ LOCK TABLES `mt_category` WRITE;
767
+ /*!40000 ALTER TABLE `mt_category` DISABLE KEYS */;
768
+ INSERT INTO `mt_category` VALUES (1,0,1,'contact',1,'folder',1,'2012-02-08 05:45:54',NULL,'contact',NULL,'2012-02-08 05:45:54',0,NULL);
769
+ INSERT INTO `mt_category` VALUES (2,0,1,'about',1,'folder',1,'2012-02-08 05:45:54',NULL,'about',NULL,'2012-02-08 05:45:54',0,NULL);
770
+ /*!40000 ALTER TABLE `mt_category` ENABLE KEYS */;
771
+ UNLOCK TABLES;
772
+
773
+ --
774
+ -- Table structure for table `mt_category_meta`
775
+ --
776
+
777
+ DROP TABLE IF EXISTS `mt_category_meta`;
778
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
779
+ /*!40101 SET character_set_client = utf8 */;
780
+ CREATE TABLE `mt_category_meta` (
781
+ `category_meta_category_id` int(11) NOT NULL,
782
+ `category_meta_type` varchar(75) NOT NULL,
783
+ `category_meta_vchar` varchar(255) DEFAULT NULL,
784
+ `category_meta_vchar_idx` varchar(255) DEFAULT NULL,
785
+ `category_meta_vdatetime` datetime DEFAULT NULL,
786
+ `category_meta_vdatetime_idx` datetime DEFAULT NULL,
787
+ `category_meta_vinteger` int(11) DEFAULT NULL,
788
+ `category_meta_vinteger_idx` int(11) DEFAULT NULL,
789
+ `category_meta_vfloat` float DEFAULT NULL,
790
+ `category_meta_vfloat_idx` float DEFAULT NULL,
791
+ `category_meta_vblob` mediumblob,
792
+ `category_meta_vclob` mediumtext,
793
+ PRIMARY KEY (`category_meta_category_id`,`category_meta_type`),
794
+ KEY `mt_category_meta_type_vint` (`category_meta_type`,`category_meta_vinteger_idx`),
795
+ KEY `mt_category_meta_type_vflt` (`category_meta_type`,`category_meta_vfloat_idx`),
796
+ KEY `mt_category_meta_type_vdt` (`category_meta_type`,`category_meta_vdatetime_idx`),
797
+ KEY `mt_category_meta_type_vchar` (`category_meta_type`,`category_meta_vchar_idx`)
798
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
799
+ /*!40101 SET character_set_client = @saved_cs_client */;
800
+
801
+ --
802
+ -- Dumping data for table `mt_category_meta`
803
+ --
804
+ -- ORDER BY: `category_meta_category_id`,`category_meta_type`
805
+
806
+ LOCK TABLES `mt_category_meta` WRITE;
807
+ /*!40000 ALTER TABLE `mt_category_meta` DISABLE KEYS */;
808
+ /*!40000 ALTER TABLE `mt_category_meta` ENABLE KEYS */;
809
+ UNLOCK TABLES;
810
+
811
+ --
812
+ -- Table structure for table `mt_comment`
813
+ --
814
+
815
+ DROP TABLE IF EXISTS `mt_comment`;
816
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
817
+ /*!40101 SET character_set_client = utf8 */;
818
+ CREATE TABLE `mt_comment` (
819
+ `comment_id` int(11) NOT NULL AUTO_INCREMENT,
820
+ `comment_author` varchar(100) DEFAULT NULL,
821
+ `comment_blog_id` int(11) NOT NULL,
822
+ `comment_commenter_id` int(11) DEFAULT NULL,
823
+ `comment_created_by` int(11) DEFAULT NULL,
824
+ `comment_created_on` datetime DEFAULT NULL,
825
+ `comment_email` varchar(127) DEFAULT NULL,
826
+ `comment_entry_id` int(11) NOT NULL,
827
+ `comment_ip` varchar(50) DEFAULT NULL,
828
+ `comment_junk_log` mediumtext,
829
+ `comment_junk_score` float DEFAULT NULL,
830
+ `comment_junk_status` smallint(6) DEFAULT '1',
831
+ `comment_last_moved_on` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
832
+ `comment_modified_by` int(11) DEFAULT NULL,
833
+ `comment_modified_on` datetime DEFAULT NULL,
834
+ `comment_parent_id` int(11) DEFAULT NULL,
835
+ `comment_text` mediumtext,
836
+ `comment_url` varchar(255) DEFAULT NULL,
837
+ `comment_visible` tinyint(4) DEFAULT NULL,
838
+ PRIMARY KEY (`comment_id`),
839
+ KEY `mt_comment_blog_stat` (`comment_blog_id`,`comment_junk_status`,`comment_created_on`),
840
+ KEY `mt_comment_commenter_id` (`comment_commenter_id`),
841
+ KEY `mt_comment_dd_coment_vis_mod` (`comment_visible`,`comment_modified_on`),
842
+ KEY `mt_comment_visible_date` (`comment_visible`,`comment_created_on`),
843
+ KEY `mt_comment_author` (`comment_author`),
844
+ KEY `mt_comment_entry_visible` (`comment_entry_id`,`comment_visible`,`comment_created_on`),
845
+ KEY `mt_comment_email` (`comment_email`),
846
+ KEY `mt_comment_last_moved_on` (`comment_last_moved_on`),
847
+ KEY `mt_comment_blog_visible` (`comment_blog_id`,`comment_visible`,`comment_created_on`,`comment_id`),
848
+ KEY `mt_comment_blog_ip_date` (`comment_blog_id`,`comment_ip`,`comment_created_on`),
849
+ KEY `mt_comment_blog_url` (`comment_blog_id`,`comment_visible`,`comment_url`)
850
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
851
+ /*!40101 SET character_set_client = @saved_cs_client */;
852
+
853
+ --
854
+ -- Dumping data for table `mt_comment`
855
+ --
856
+ -- ORDER BY: `comment_id`
857
+
858
+ LOCK TABLES `mt_comment` WRITE;
859
+ /*!40000 ALTER TABLE `mt_comment` DISABLE KEYS */;
860
+ /*!40000 ALTER TABLE `mt_comment` ENABLE KEYS */;
861
+ UNLOCK TABLES;
862
+
863
+ --
864
+ -- Table structure for table `mt_comment_meta`
865
+ --
866
+
867
+ DROP TABLE IF EXISTS `mt_comment_meta`;
868
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
869
+ /*!40101 SET character_set_client = utf8 */;
870
+ CREATE TABLE `mt_comment_meta` (
871
+ `comment_meta_comment_id` int(11) NOT NULL,
872
+ `comment_meta_type` varchar(75) NOT NULL,
873
+ `comment_meta_vchar` varchar(255) DEFAULT NULL,
874
+ `comment_meta_vchar_idx` varchar(255) DEFAULT NULL,
875
+ `comment_meta_vdatetime` datetime DEFAULT NULL,
876
+ `comment_meta_vdatetime_idx` datetime DEFAULT NULL,
877
+ `comment_meta_vinteger` int(11) DEFAULT NULL,
878
+ `comment_meta_vinteger_idx` int(11) DEFAULT NULL,
879
+ `comment_meta_vfloat` float DEFAULT NULL,
880
+ `comment_meta_vfloat_idx` float DEFAULT NULL,
881
+ `comment_meta_vblob` mediumblob,
882
+ `comment_meta_vclob` mediumtext,
883
+ PRIMARY KEY (`comment_meta_comment_id`,`comment_meta_type`),
884
+ KEY `mt_comment_meta_type_vint` (`comment_meta_type`,`comment_meta_vinteger_idx`),
885
+ KEY `mt_comment_meta_type_vflt` (`comment_meta_type`,`comment_meta_vfloat_idx`),
886
+ KEY `mt_comment_meta_type_vdt` (`comment_meta_type`,`comment_meta_vdatetime_idx`),
887
+ KEY `mt_comment_meta_type_vchar` (`comment_meta_type`,`comment_meta_vchar_idx`)
888
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
889
+ /*!40101 SET character_set_client = @saved_cs_client */;
890
+
891
+ --
892
+ -- Dumping data for table `mt_comment_meta`
893
+ --
894
+ -- ORDER BY: `comment_meta_comment_id`,`comment_meta_type`
895
+
896
+ LOCK TABLES `mt_comment_meta` WRITE;
897
+ /*!40000 ALTER TABLE `mt_comment_meta` DISABLE KEYS */;
898
+ /*!40000 ALTER TABLE `mt_comment_meta` ENABLE KEYS */;
899
+ UNLOCK TABLES;
900
+
901
+ --
902
+ -- Table structure for table `mt_config`
903
+ --
904
+
905
+ DROP TABLE IF EXISTS `mt_config`;
906
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
907
+ /*!40101 SET character_set_client = utf8 */;
908
+ CREATE TABLE `mt_config` (
909
+ `config_id` int(11) NOT NULL AUTO_INCREMENT,
910
+ `config_data` mediumtext,
911
+ PRIMARY KEY (`config_id`)
912
+ ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
913
+ /*!40101 SET character_set_client = @saved_cs_client */;
914
+
915
+ --
916
+ -- Dumping data for table `mt_config`
917
+ --
918
+ -- ORDER BY: `config_id`
919
+
920
+ LOCK TABLES `mt_config` WRITE;
921
+ /*!40000 ALTER TABLE `mt_config` DISABLE KEYS */;
922
+ INSERT INTO `mt_config` VALUES (1,'CategoryNameNodash 1\nDefaultTimezone 9\nEmailAddressMain test@example.com\nExportEncoding Shift_JIS\nLearningNewsURL http://www.movabletype.jp/newsbox.html\nLogExportEncoding Shift_JIS\nMailEncoding ISO-2022-JP\nMTVersion 5.06\nNewsboxURL http://www.sixapart.jp/movabletype/news/newsbox.html\nNewsURL http://www.sixapart.jp/movabletype/\nPluginSchemaVersion community=1.62\nPluginSchemaVersion enterprise=1.1\nPluginSchemaVersion WidgetManager=1.1\nPluginSchemaVersion AForm=1.31030\nPluginSchemaVersion commercial=1.52\nPublishCharset UTF-8\nSchemaVersion 5.0019\nSupportURL http://www.sixapart.jp/movabletype/support/\nTimeOffset 9\n');
923
+ /*!40000 ALTER TABLE `mt_config` ENABLE KEYS */;
924
+ UNLOCK TABLES;
925
+
926
+ --
927
+ -- Table structure for table `mt_entry`
928
+ --
929
+
930
+ DROP TABLE IF EXISTS `mt_entry`;
931
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
932
+ /*!40101 SET character_set_client = utf8 */;
933
+ CREATE TABLE `mt_entry` (
934
+ `entry_id` int(11) NOT NULL AUTO_INCREMENT,
935
+ `entry_allow_comments` tinyint(4) DEFAULT NULL,
936
+ `entry_allow_pings` tinyint(4) DEFAULT NULL,
937
+ `entry_atom_id` varchar(255) DEFAULT NULL,
938
+ `entry_author_id` int(11) NOT NULL,
939
+ `entry_authored_on` datetime DEFAULT NULL,
940
+ `entry_basename` varchar(255) DEFAULT NULL,
941
+ `entry_blog_id` int(11) NOT NULL,
942
+ `entry_category_id` int(11) DEFAULT NULL,
943
+ `entry_class` varchar(255) DEFAULT 'entry',
944
+ `entry_comment_count` int(11) DEFAULT '0',
945
+ `entry_convert_breaks` varchar(30) DEFAULT NULL,
946
+ `entry_created_by` int(11) DEFAULT NULL,
947
+ `entry_created_on` datetime DEFAULT NULL,
948
+ `entry_excerpt` mediumtext,
949
+ `entry_keywords` mediumtext,
950
+ `entry_modified_by` int(11) DEFAULT NULL,
951
+ `entry_modified_on` datetime DEFAULT NULL,
952
+ `entry_ping_count` int(11) DEFAULT '0',
953
+ `entry_pinged_urls` mediumtext,
954
+ `entry_status` smallint(6) NOT NULL,
955
+ `entry_tangent_cache` mediumtext,
956
+ `entry_template_id` int(11) DEFAULT NULL,
957
+ `entry_text` mediumtext,
958
+ `entry_text_more` mediumtext,
959
+ `entry_title` varchar(255) DEFAULT NULL,
960
+ `entry_to_ping_urls` mediumtext,
961
+ `entry_week_number` int(11) DEFAULT NULL,
962
+ `entry_current_revision` int(11) NOT NULL DEFAULT '0',
963
+ PRIMARY KEY (`entry_id`),
964
+ KEY `mt_entry_author_id` (`entry_author_id`),
965
+ KEY `mt_entry_tag_count` (`entry_status`,`entry_class`,`entry_blog_id`,`entry_id`),
966
+ KEY `mt_entry_status` (`entry_status`),
967
+ KEY `mt_entry_blog_stat_date` (`entry_blog_id`,`entry_class`,`entry_status`,`entry_authored_on`,`entry_id`),
968
+ KEY `mt_entry_blog_author` (`entry_blog_id`,`entry_class`,`entry_author_id`,`entry_authored_on`),
969
+ KEY `mt_entry_blog_basename` (`entry_blog_id`,`entry_basename`),
970
+ KEY `mt_entry_comment_count` (`entry_comment_count`),
971
+ KEY `mt_entry_created_on` (`entry_created_on`),
972
+ KEY `mt_entry_dd_entry_tag_count` (`entry_blog_id`,`entry_status`,`entry_class`,`entry_id`),
973
+ KEY `mt_entry_auth_stat_class` (`entry_author_id`,`entry_status`,`entry_class`),
974
+ KEY `mt_entry_blog_authored` (`entry_blog_id`,`entry_class`,`entry_authored_on`),
975
+ KEY `mt_entry_blog_week` (`entry_blog_id`,`entry_class`,`entry_status`,`entry_week_number`),
976
+ KEY `mt_entry_modified_on` (`entry_modified_on`),
977
+ KEY `mt_entry_title` (`entry_title`),
978
+ KEY `mt_entry_class` (`entry_class`),
979
+ KEY `mt_entry_class_authored` (`entry_class`,`entry_authored_on`)
980
+ ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
981
+ /*!40101 SET character_set_client = @saved_cs_client */;
982
+
983
+ --
984
+ -- Dumping data for table `mt_entry`
985
+ --
986
+ -- ORDER BY: `entry_id`
987
+
988
+ LOCK TABLES `mt_entry` WRITE;
989
+ /*!40000 ALTER TABLE `mt_entry` DISABLE KEYS */;
990
+ INSERT INTO `mt_entry` VALUES (1,NULL,NULL,NULL,1,'2012-02-08 05:45:54','contact',1,NULL,'page',0,NULL,1,'2012-02-08 05:45:54',NULL,NULL,NULL,'2012-02-08 05:45:54',0,NULL,2,NULL,NULL,'\n<p><strong>以下の文章はサンプルです。内容を適切に書き換えてください。</strong></p>\n<p>お問い合わせはメールで: email (at) domainname.com</p>\n<!-- 以下のリンクは削除してください。 -->\n<p class=\"admin-edit-link\">\n<a href=\"#\" onclick=\"location.href=adminurl + \'?__mode=view&_type=page&id=\' + page_id + \'&blog_id=\' + blog_id; return false\">コンテンツを編集</a>\n</p>\n',NULL,'連絡先',NULL,201206,0);
991
+ INSERT INTO `mt_entry` VALUES (2,NULL,NULL,NULL,1,'2012-02-08 05:45:54','about',1,NULL,'page',0,NULL,1,'2012-02-08 05:45:54',NULL,NULL,NULL,'2012-02-08 05:45:54',0,NULL,2,NULL,NULL,'\n<p><strong>以下の文章はサンプルです。内容を適切に書き換えてください。</strong></p>\n<p>いろはにほへと ちりぬるを わかよたれそ つねならむ うゐのおくやま けふこえて あさきゆめみし ゑひもせす</p>\n<p>色は匂へど 散りぬるを 我が世誰ぞ 常ならむ 有為の奥山 今日越えて 浅き夢見じ 酔ひもせず</p>\n<!-- 以下のリンクは削除してください。 -->\n<p class=\"admin-edit-link\">\n<a href=\"#\" onclick=\"location.href=adminurl + \'?__mode=view&_type=page&id=\' + page_id + \'&blog_id=\' + blog_id; return false\">コンテンツを編集</a>\n</p>\n',NULL,'About',NULL,201206,0);
992
+ INSERT INTO `mt_entry` VALUES (3,NULL,NULL,NULL,1,'2012-02-08 05:45:54','home',1,NULL,'page',0,NULL,1,'2012-02-08 05:45:54',NULL,NULL,NULL,'2012-02-08 05:45:54',0,NULL,2,NULL,NULL,'\n<p><strong>以下の文章はサンプルです。内容を適切に書き換えてください。</strong></p>\n<p>いろはにほへと ちりぬるを わかよたれそ つねならむ うゐのおくやま けふこえて あさきゆめみし ゑひもせす</p>\n<p>色は匂へど 散りぬるを 我が世誰ぞ 常ならむ 有為の奥山 今日越えて 浅き夢見じ 酔ひもせず</p>\n<p>あめ つち ほし そら やま かは みね たに くも きり むろ こけ ひと いぬ うへ すゑ ゆわ さる おふ せよ えのえを なれ ゐて</p>\n<!-- 以下のリンクは削除してください。 -->\n<p class=\"admin-edit-link\">\n<a href=\"#\" onclick=\"location.href=adminurl + \'?__mode=view&_type=page&id=\' + page_id + \'&blog_id=\' + blog_id; return false\">コンテンツを編集</a>\n</p>\n',NULL,'新しいウェブサイトへようこそ!',NULL,201206,0);
993
+ INSERT INTO `mt_entry` VALUES (4,1,1,NULL,1,'2012-02-08 05:46:40','1st_entry_title',2,NULL,'entry',0,'0',1,'2012-02-08 05:47:53','','',NULL,'2012-02-08 05:47:53',0,NULL,1,NULL,NULL,'1st entry body','1st entry extended','1st entry title','',201206,1);
994
+ INSERT INTO `mt_entry` VALUES (5,1,1,NULL,1,'2012-02-08 05:51:27','2nd_entry_title',2,NULL,'entry',0,'0',1,'2012-02-08 05:52:25','','',NULL,'2012-02-08 05:52:25',0,NULL,1,NULL,NULL,'2nd entry body','2nd entry extended','2nd entry title','',201206,1);
995
+ /*!40000 ALTER TABLE `mt_entry` ENABLE KEYS */;
996
+ UNLOCK TABLES;
997
+
998
+ --
999
+ -- Table structure for table `mt_entry_meta`
1000
+ --
1001
+
1002
+ DROP TABLE IF EXISTS `mt_entry_meta`;
1003
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
1004
+ /*!40101 SET character_set_client = utf8 */;
1005
+ CREATE TABLE `mt_entry_meta` (
1006
+ `entry_meta_entry_id` int(11) NOT NULL,
1007
+ `entry_meta_type` varchar(75) NOT NULL,
1008
+ `entry_meta_vchar` varchar(255) DEFAULT NULL,
1009
+ `entry_meta_vchar_idx` varchar(255) DEFAULT NULL,
1010
+ `entry_meta_vdatetime` datetime DEFAULT NULL,
1011
+ `entry_meta_vdatetime_idx` datetime DEFAULT NULL,
1012
+ `entry_meta_vinteger` int(11) DEFAULT NULL,
1013
+ `entry_meta_vinteger_idx` int(11) DEFAULT NULL,
1014
+ `entry_meta_vfloat` float DEFAULT NULL,
1015
+ `entry_meta_vfloat_idx` float DEFAULT NULL,
1016
+ `entry_meta_vblob` mediumblob,
1017
+ `entry_meta_vclob` mediumtext,
1018
+ PRIMARY KEY (`entry_meta_entry_id`,`entry_meta_type`),
1019
+ KEY `mt_entry_meta_type_vint` (`entry_meta_type`,`entry_meta_vinteger_idx`),
1020
+ KEY `mt_entry_meta_type_vflt` (`entry_meta_type`,`entry_meta_vfloat_idx`),
1021
+ KEY `mt_entry_meta_type_vdt` (`entry_meta_type`,`entry_meta_vdatetime_idx`),
1022
+ KEY `mt_entry_meta_type_vchar` (`entry_meta_type`,`entry_meta_vchar_idx`)
1023
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
1024
+ /*!40101 SET character_set_client = @saved_cs_client */;
1025
+
1026
+ --
1027
+ -- Dumping data for table `mt_entry_meta`
1028
+ --
1029
+ -- ORDER BY: `entry_meta_entry_id`,`entry_meta_type`
1030
+
1031
+ LOCK TABLES `mt_entry_meta` WRITE;
1032
+ /*!40000 ALTER TABLE `mt_entry_meta` DISABLE KEYS */;
1033
+ INSERT INTO `mt_entry_meta` VALUES (4,'revision',NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL);
1034
+ INSERT INTO `mt_entry_meta` VALUES (5,'field.deadline_date',NULL,NULL,NULL,'2012-02-01 10:10:00',NULL,NULL,NULL,NULL,NULL,NULL);
1035
+ INSERT INTO `mt_entry_meta` VALUES (5,'field.price',NULL,'30000',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
1036
+ INSERT INTO `mt_entry_meta` VALUES (5,'revision',NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL);
1037
+ /*!40000 ALTER TABLE `mt_entry_meta` ENABLE KEYS */;
1038
+ UNLOCK TABLES;
1039
+
1040
+ --
1041
+ -- Table structure for table `mt_entry_rev`
1042
+ --
1043
+
1044
+ DROP TABLE IF EXISTS `mt_entry_rev`;
1045
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
1046
+ /*!40101 SET character_set_client = utf8 */;
1047
+ CREATE TABLE `mt_entry_rev` (
1048
+ `entry_rev_id` int(11) NOT NULL AUTO_INCREMENT,
1049
+ `entry_rev_changed` varchar(255) NOT NULL,
1050
+ `entry_rev_created_by` int(11) DEFAULT NULL,
1051
+ `entry_rev_created_on` datetime DEFAULT NULL,
1052
+ `entry_rev_description` varchar(255) DEFAULT NULL,
1053
+ `entry_rev_entry` mediumblob NOT NULL,
1054
+ `entry_rev_entry_id` int(11) NOT NULL,
1055
+ `entry_rev_label` varchar(255) DEFAULT NULL,
1056
+ `entry_rev_modified_by` int(11) DEFAULT NULL,
1057
+ `entry_rev_modified_on` datetime DEFAULT NULL,
1058
+ `entry_rev_rev_number` int(11) NOT NULL DEFAULT '0',
1059
+ PRIMARY KEY (`entry_rev_id`),
1060
+ KEY `mt_entry_rev_entry_id` (`entry_rev_entry_id`)
1061
+ ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
1062
+ /*!40101 SET character_set_client = @saved_cs_client */;
1063
+
1064
+ --
1065
+ -- Dumping data for table `mt_entry_rev`
1066
+ --
1067
+ -- ORDER BY: `entry_rev_id`
1068
+
1069
+ LOCK TABLES `mt_entry_rev` WRITE;
1070
+ /*!40000 ALTER TABLE `mt_entry_rev` DISABLE KEYS */;
1071
+ INSERT INTO `mt_entry_rev` VALUES (1,'author_id,excerpt,status,keywords,convert_breaks,text_more,text,authored_on,allow_pings,allow_comments,basename,title',1,'2012-02-08 05:47:53','','SERG\0\0\0\0\0\0\0H\0\0\0\0\0\0 author_id-\0\0\01\0\0\0excerpt-\0\0\0\0\0\0\0\nping_count-\0\0\00\0\0\0status-\0\0\01\0\0\0keywords-\0\0\0\0\0\0\0convert_breaks-\0\0\00\0\0\0\rcomment_count-\0\0\00\0\0\0current_revision-\0\0\00\0\0\0\ncreated_on-\0\0\020120208054753\0\0\0text-\0\0\01st entry body\0\0\0 text_more-\0\0\01st entry extended\0\0\0 authored_on-\0\0\020120208054640\0\0\0 allow_pings-\0\0\01\0\0\0id-\0\0\04\0\0\0blog_id-\0\0\02\0\0\0\n__rev_tagsA\0\0\0\0\0\0\0 to_ping_urls-\0\0\0\0\0\0\0allow_comments-\0\0\01\0\0\0\n__rev_catsA\0\0\0\0\0\0\0basename-\0\0\01st_entry_title\0\0\0 modified_on-\0\0\020120208054753\0\0\0title-\0\0\01st entry title\0\0\0class-\0\0\0entry\0\0\0 week_number-\0\0\0201206\0\0\0\ncreated_by-\0\0\01',4,NULL,NULL,'2012-02-08 05:47:53',1);
1072
+ INSERT INTO `mt_entry_rev` VALUES (2,'author_id,excerpt,status,keywords,convert_breaks,text_more,text,authored_on,allow_pings,allow_comments,basename,title',1,'2012-02-08 05:52:25','','SERG\0\0\0\0\0\0\0H\0\0\0\0\0\0 author_id-\0\0\01\0\0\0excerpt-\0\0\0\0\0\0\0\nping_count-\0\0\00\0\0\0status-\0\0\01\0\0\0keywords-\0\0\0\0\0\0\0convert_breaks-\0\0\00\0\0\0\rcomment_count-\0\0\00\0\0\0current_revision-\0\0\00\0\0\0field.deadline_date-\0\0\02012-02-01 10:10:00\0\0\0\ncreated_on-\0\0\020120208055225\0\0\0text-\0\0\02nd entry body\0\0\0 text_more-\0\0\02nd entry extended\0\0\0 authored_on-\0\0\020120208055127\0\0\0 allow_pings-\0\0\01\0\0\0id-\0\0\05\0\0\0blog_id-\0\0\02\0\0\0\n__rev_tagsA\0\0\0\0\0\0\0 to_ping_urls-\0\0\0\0\0\0\0allow_comments-\0\0\01\0\0\0\n__rev_catsA\0\0\0\0\0\0\0basename-\0\0\02nd_entry_title\0\0\0 field.price-\0\0\030000\0\0\0 modified_on-\0\0\020120208055225\0\0\0title-\0\0\02nd entry title\0\0\0class-\0\0\0entry\0\0\0 week_number-\0\0\0201206\0\0\0\ncreated_by-\0\0\01',5,NULL,NULL,'2012-02-08 05:52:25',1);
1073
+ /*!40000 ALTER TABLE `mt_entry_rev` ENABLE KEYS */;
1074
+ UNLOCK TABLES;
1075
+
1076
+ --
1077
+ -- Table structure for table `mt_entry_summary`
1078
+ --
1079
+
1080
+ DROP TABLE IF EXISTS `mt_entry_summary`;
1081
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
1082
+ /*!40101 SET character_set_client = utf8 */;
1083
+ CREATE TABLE `mt_entry_summary` (
1084
+ `entry_summary_entry_id` int(11) NOT NULL,
1085
+ `entry_summary_type` varchar(75) NOT NULL,
1086
+ `entry_summary_class` varchar(75) NOT NULL,
1087
+ `entry_summary_vchar_idx` varchar(255) DEFAULT NULL,
1088
+ `entry_summary_vinteger_idx` int(11) DEFAULT NULL,
1089
+ `entry_summary_vblob` mediumblob,
1090
+ `entry_summary_vclob` mediumtext,
1091
+ `entry_summary_expired` smallint(6) DEFAULT NULL,
1092
+ PRIMARY KEY (`entry_summary_entry_id`,`entry_summary_type`),
1093
+ KEY `mt_entry_summary_class_vint` (`entry_summary_class`,`entry_summary_vinteger_idx`),
1094
+ KEY `mt_entry_summary_id_class` (`entry_summary_entry_id`,`entry_summary_class`),
1095
+ KEY `mt_entry_summary_class_vchar` (`entry_summary_class`,`entry_summary_vchar_idx`)
1096
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
1097
+ /*!40101 SET character_set_client = @saved_cs_client */;
1098
+
1099
+ --
1100
+ -- Dumping data for table `mt_entry_summary`
1101
+ --
1102
+ -- ORDER BY: `entry_summary_entry_id`,`entry_summary_type`
1103
+
1104
+ LOCK TABLES `mt_entry_summary` WRITE;
1105
+ /*!40000 ALTER TABLE `mt_entry_summary` DISABLE KEYS */;
1106
+ /*!40000 ALTER TABLE `mt_entry_summary` ENABLE KEYS */;
1107
+ UNLOCK TABLES;
1108
+
1109
+ --
1110
+ -- Table structure for table `mt_field`
1111
+ --
1112
+
1113
+ DROP TABLE IF EXISTS `mt_field`;
1114
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
1115
+ /*!40101 SET character_set_client = utf8 */;
1116
+ CREATE TABLE `mt_field` (
1117
+ `field_id` int(11) NOT NULL AUTO_INCREMENT,
1118
+ `field_basename` varchar(255) DEFAULT NULL,
1119
+ `field_blog_id` int(11) DEFAULT NULL,
1120
+ `field_default` mediumtext,
1121
+ `field_description` mediumtext,
1122
+ `field_name` varchar(255) NOT NULL,
1123
+ `field_obj_type` varchar(50) NOT NULL,
1124
+ `field_options` mediumtext,
1125
+ `field_required` tinyint(4) DEFAULT NULL,
1126
+ `field_tag` varchar(255) NOT NULL,
1127
+ `field_type` varchar(50) NOT NULL,
1128
+ PRIMARY KEY (`field_id`),
1129
+ KEY `mt_field_basename` (`field_basename`),
1130
+ KEY `mt_field_name` (`field_name`),
1131
+ KEY `mt_field_blog_tag` (`field_blog_id`,`field_tag`),
1132
+ KEY `mt_field_type` (`field_type`),
1133
+ KEY `mt_field_blog_id` (`field_blog_id`),
1134
+ KEY `mt_field_obj_type` (`field_obj_type`)
1135
+ ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
1136
+ /*!40101 SET character_set_client = @saved_cs_client */;
1137
+
1138
+ --
1139
+ -- Dumping data for table `mt_field`
1140
+ --
1141
+ -- ORDER BY: `field_id`
1142
+
1143
+ LOCK TABLES `mt_field` WRITE;
1144
+ /*!40000 ALTER TABLE `mt_field` DISABLE KEYS */;
1145
+ INSERT INTO `mt_field` VALUES (1,'price',2,'unknown','','Price','entry',NULL,0,'EntryDataPrice','text');
1146
+ INSERT INTO `mt_field` VALUES (2,'deadline_date',2,'','','Deadline date','entry','datetime',0,'EntryDataDeadline_date','datetime');
1147
+ /*!40000 ALTER TABLE `mt_field` ENABLE KEYS */;
1148
+ UNLOCK TABLES;
1149
+
1150
+ --
1151
+ -- Table structure for table `mt_fileinfo`
1152
+ --
1153
+
1154
+ DROP TABLE IF EXISTS `mt_fileinfo`;
1155
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
1156
+ /*!40101 SET character_set_client = utf8 */;
1157
+ CREATE TABLE `mt_fileinfo` (
1158
+ `fileinfo_id` int(11) NOT NULL AUTO_INCREMENT,
1159
+ `fileinfo_archive_type` varchar(255) DEFAULT NULL,
1160
+ `fileinfo_author_id` int(11) DEFAULT NULL,
1161
+ `fileinfo_blog_id` int(11) NOT NULL,
1162
+ `fileinfo_category_id` int(11) DEFAULT NULL,
1163
+ `fileinfo_entry_id` int(11) DEFAULT NULL,
1164
+ `fileinfo_file_path` mediumtext,
1165
+ `fileinfo_startdate` varchar(80) DEFAULT NULL,
1166
+ `fileinfo_template_id` int(11) DEFAULT NULL,
1167
+ `fileinfo_templatemap_id` int(11) DEFAULT NULL,
1168
+ `fileinfo_url` varchar(255) DEFAULT NULL,
1169
+ `fileinfo_virtual` tinyint(4) DEFAULT NULL,
1170
+ PRIMARY KEY (`fileinfo_id`),
1171
+ KEY `mt_fileinfo_author_id` (`fileinfo_author_id`),
1172
+ KEY `mt_fileinfo_archive_type` (`fileinfo_archive_type`),
1173
+ KEY `mt_fileinfo_template_id` (`fileinfo_template_id`),
1174
+ KEY `mt_fileinfo_startdate` (`fileinfo_startdate`),
1175
+ KEY `mt_fileinfo_entry_id` (`fileinfo_entry_id`),
1176
+ KEY `mt_fileinfo_category_id` (`fileinfo_category_id`),
1177
+ KEY `mt_fileinfo_url` (`fileinfo_url`),
1178
+ KEY `mt_fileinfo_blog_id` (`fileinfo_blog_id`),
1179
+ KEY `mt_fileinfo_templatemap_id` (`fileinfo_templatemap_id`)
1180
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
1181
+ /*!40101 SET character_set_client = @saved_cs_client */;
1182
+
1183
+ --
1184
+ -- Dumping data for table `mt_fileinfo`
1185
+ --
1186
+ -- ORDER BY: `fileinfo_id`
1187
+
1188
+ LOCK TABLES `mt_fileinfo` WRITE;
1189
+ /*!40000 ALTER TABLE `mt_fileinfo` DISABLE KEYS */;
1190
+ /*!40000 ALTER TABLE `mt_fileinfo` ENABLE KEYS */;
1191
+ UNLOCK TABLES;
1192
+
1193
+ --
1194
+ -- Table structure for table `mt_group`
1195
+ --
1196
+
1197
+ DROP TABLE IF EXISTS `mt_group`;
1198
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
1199
+ /*!40101 SET character_set_client = utf8 */;
1200
+ CREATE TABLE `mt_group` (
1201
+ `group_id` int(11) NOT NULL AUTO_INCREMENT,
1202
+ `group_created_by` int(11) DEFAULT NULL,
1203
+ `group_created_on` datetime DEFAULT NULL,
1204
+ `group_description` mediumtext,
1205
+ `group_display_name` varchar(255) DEFAULT NULL,
1206
+ `group_external_id` varchar(255) DEFAULT NULL,
1207
+ `group_modified_by` int(11) DEFAULT NULL,
1208
+ `group_modified_on` datetime DEFAULT NULL,
1209
+ `group_name` varchar(255) NOT NULL,
1210
+ `group_status` int(11) DEFAULT '1',
1211
+ PRIMARY KEY (`group_id`),
1212
+ KEY `mt_group_external_id` (`group_external_id`),
1213
+ KEY `mt_group_status` (`group_status`),
1214
+ KEY `mt_group_created_on` (`group_created_on`),
1215
+ KEY `mt_group_name` (`group_name`)
1216
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
1217
+ /*!40101 SET character_set_client = @saved_cs_client */;
1218
+
1219
+ --
1220
+ -- Dumping data for table `mt_group`
1221
+ --
1222
+ -- ORDER BY: `group_id`
1223
+
1224
+ LOCK TABLES `mt_group` WRITE;
1225
+ /*!40000 ALTER TABLE `mt_group` DISABLE KEYS */;
1226
+ /*!40000 ALTER TABLE `mt_group` ENABLE KEYS */;
1227
+ UNLOCK TABLES;
1228
+
1229
+ --
1230
+ -- Table structure for table `mt_ipbanlist`
1231
+ --
1232
+
1233
+ DROP TABLE IF EXISTS `mt_ipbanlist`;
1234
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
1235
+ /*!40101 SET character_set_client = utf8 */;
1236
+ CREATE TABLE `mt_ipbanlist` (
1237
+ `ipbanlist_id` int(11) NOT NULL AUTO_INCREMENT,
1238
+ `ipbanlist_blog_id` int(11) NOT NULL,
1239
+ `ipbanlist_created_by` int(11) DEFAULT NULL,
1240
+ `ipbanlist_created_on` datetime DEFAULT NULL,
1241
+ `ipbanlist_ip` varchar(50) NOT NULL,
1242
+ `ipbanlist_modified_by` int(11) DEFAULT NULL,
1243
+ `ipbanlist_modified_on` datetime DEFAULT NULL,
1244
+ PRIMARY KEY (`ipbanlist_id`),
1245
+ KEY `mt_ipbanlist_ip` (`ipbanlist_ip`),
1246
+ KEY `mt_ipbanlist_blog_id` (`ipbanlist_blog_id`)
1247
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
1248
+ /*!40101 SET character_set_client = @saved_cs_client */;
1249
+
1250
+ --
1251
+ -- Dumping data for table `mt_ipbanlist`
1252
+ --
1253
+ -- ORDER BY: `ipbanlist_id`
1254
+
1255
+ LOCK TABLES `mt_ipbanlist` WRITE;
1256
+ /*!40000 ALTER TABLE `mt_ipbanlist` DISABLE KEYS */;
1257
+ /*!40000 ALTER TABLE `mt_ipbanlist` ENABLE KEYS */;
1258
+ UNLOCK TABLES;
1259
+
1260
+ --
1261
+ -- Table structure for table `mt_log`
1262
+ --
1263
+
1264
+ DROP TABLE IF EXISTS `mt_log`;
1265
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
1266
+ /*!40101 SET character_set_client = utf8 */;
1267
+ CREATE TABLE `mt_log` (
1268
+ `log_id` int(11) NOT NULL AUTO_INCREMENT,
1269
+ `log_author_id` int(11) DEFAULT '0',
1270
+ `log_blog_id` int(11) DEFAULT '0',
1271
+ `log_category` varchar(255) DEFAULT NULL,
1272
+ `log_class` varchar(255) DEFAULT 'system',
1273
+ `log_created_by` int(11) DEFAULT NULL,
1274
+ `log_created_on` datetime DEFAULT NULL,
1275
+ `log_ip` varchar(50) DEFAULT NULL,
1276
+ `log_level` int(11) DEFAULT '1',
1277
+ `log_message` mediumtext,
1278
+ `log_metadata` varchar(255) DEFAULT NULL,
1279
+ `log_modified_by` int(11) DEFAULT NULL,
1280
+ `log_modified_on` datetime DEFAULT NULL,
1281
+ PRIMARY KEY (`log_id`),
1282
+ KEY `mt_log_level` (`log_level`),
1283
+ KEY `mt_log_created_on` (`log_created_on`),
1284
+ KEY `mt_log_blog_id` (`log_blog_id`),
1285
+ KEY `mt_log_class` (`log_class`)
1286
+ ) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
1287
+ /*!40101 SET character_set_client = @saved_cs_client */;
1288
+
1289
+ --
1290
+ -- Dumping data for table `mt_log`
1291
+ --
1292
+ -- ORDER BY: `log_id`
1293
+
1294
+ LOCK TABLES `mt_log` WRITE;
1295
+ /*!40000 ALTER TABLE `mt_log` DISABLE KEYS */;
1296
+ INSERT INTO `mt_log` VALUES (1,0,0,NULL,'system',NULL,'2012-02-07 20:45:55',NULL,1,'\'Melody\'がデータベースをバージョン5.0019にアップグレードしました。',NULL,NULL,'2012-02-07 20:45:55');
1297
+ INSERT INTO `mt_log` VALUES (2,0,0,NULL,'system',NULL,'2012-02-07 20:45:55',NULL,1,'\'Melody\'がプラグイン(Professional Pack、バージョン1.531、スキーマバージョン1.52)をインストールしました。',NULL,NULL,'2012-02-07 20:45:55');
1298
+ INSERT INTO `mt_log` VALUES (3,0,0,NULL,'system',NULL,'2012-02-07 20:45:55',NULL,1,'\'Melody\'がプラグイン(Community Pack、バージョン1.722、スキーマバージョン1.62)をインストールしました。',NULL,NULL,'2012-02-07 20:45:55');
1299
+ INSERT INTO `mt_log` VALUES (4,0,0,NULL,'system',NULL,'2012-02-07 20:45:55',NULL,1,'\'Melody\'がプラグイン(Advanced Pack、バージョン2.011、スキーマバージョン1.1)をインストールしました。',NULL,NULL,'2012-02-07 20:45:55');
1300
+ INSERT INTO `mt_log` VALUES (5,0,0,NULL,'system',NULL,'2012-02-07 20:45:55',NULL,1,'\'Melody\'がプラグイン(A-Form、バージョン3.2、スキーマバージョン1.31030)をインストールしました。',NULL,NULL,'2012-02-07 20:45:55');
1301
+ INSERT INTO `mt_log` VALUES (6,0,0,NULL,'system',NULL,'2012-02-07 20:45:55',NULL,1,'\'Melody\'がプラグイン(Widget Manager Upgrade Assistant、バージョン1.1、スキーマバージョン1.1)をインストールしました。',NULL,NULL,'2012-02-07 20:45:55');
1302
+ INSERT INTO `mt_log` VALUES (7,1,1,NULL,'blog',NULL,'2012-02-07 20:46:18','192.168.200.14',1,'Saved Blog Changes','name changed from none to First Blog, archive_path changed from none to first_blog, site_path changed from none to first_blog, site_url changed from none to /::/first_blog/, archive_url changed from none to /::/first_blog/, archive_path changed from none ',NULL,'2012-02-07 20:46:18');
1303
+ INSERT INTO `mt_log` VALUES (8,1,1,'new','blog',NULL,'2012-02-07 20:46:18','192.168.200.14',1,'Blog \'First Blog\' (ID:2) created by \'Melody\'',NULL,NULL,'2012-02-07 20:46:18');
1304
+ INSERT INTO `mt_log` VALUES (9,1,2,'new','entry',NULL,'2012-02-07 20:47:53','192.168.200.14',1,'Entry \'1st entry title\' (ID:4) added by user \'Melody\'','4',NULL,'2012-02-07 20:47:53');
1305
+ INSERT INTO `mt_log` VALUES (10,1,2,'new','entry',NULL,'2012-02-07 20:52:25','192.168.200.14',1,'Entry \'2nd entry title\' (ID:5) added by user \'Melody\'','5',NULL,'2012-02-07 20:52:25');
1306
+ /*!40000 ALTER TABLE `mt_log` ENABLE KEYS */;
1307
+ UNLOCK TABLES;
1308
+
1309
+ --
1310
+ -- Table structure for table `mt_notification`
1311
+ --
1312
+
1313
+ DROP TABLE IF EXISTS `mt_notification`;
1314
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
1315
+ /*!40101 SET character_set_client = utf8 */;
1316
+ CREATE TABLE `mt_notification` (
1317
+ `notification_id` int(11) NOT NULL AUTO_INCREMENT,
1318
+ `notification_blog_id` int(11) NOT NULL,
1319
+ `notification_created_by` int(11) DEFAULT NULL,
1320
+ `notification_created_on` datetime DEFAULT NULL,
1321
+ `notification_email` varchar(75) DEFAULT NULL,
1322
+ `notification_modified_by` int(11) DEFAULT NULL,
1323
+ `notification_modified_on` datetime DEFAULT NULL,
1324
+ `notification_name` varchar(50) DEFAULT NULL,
1325
+ `notification_url` varchar(255) DEFAULT NULL,
1326
+ PRIMARY KEY (`notification_id`),
1327
+ KEY `mt_notification_email` (`notification_email`),
1328
+ KEY `mt_notification_blog_id` (`notification_blog_id`)
1329
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
1330
+ /*!40101 SET character_set_client = @saved_cs_client */;
1331
+
1332
+ --
1333
+ -- Dumping data for table `mt_notification`
1334
+ --
1335
+ -- ORDER BY: `notification_id`
1336
+
1337
+ LOCK TABLES `mt_notification` WRITE;
1338
+ /*!40000 ALTER TABLE `mt_notification` DISABLE KEYS */;
1339
+ /*!40000 ALTER TABLE `mt_notification` ENABLE KEYS */;
1340
+ UNLOCK TABLES;
1341
+
1342
+ --
1343
+ -- Table structure for table `mt_objectasset`
1344
+ --
1345
+
1346
+ DROP TABLE IF EXISTS `mt_objectasset`;
1347
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
1348
+ /*!40101 SET character_set_client = utf8 */;
1349
+ CREATE TABLE `mt_objectasset` (
1350
+ `objectasset_id` int(11) NOT NULL AUTO_INCREMENT,
1351
+ `objectasset_asset_id` int(11) NOT NULL,
1352
+ `objectasset_blog_id` int(11) DEFAULT NULL,
1353
+ `objectasset_embedded` tinyint(4) DEFAULT '0',
1354
+ `objectasset_object_ds` varchar(50) NOT NULL,
1355
+ `objectasset_object_id` int(11) NOT NULL,
1356
+ PRIMARY KEY (`objectasset_id`),
1357
+ KEY `mt_objectasset_blog_obj` (`objectasset_blog_id`,`objectasset_object_ds`,`objectasset_object_id`),
1358
+ KEY `mt_objectasset_asset_id` (`objectasset_asset_id`),
1359
+ KEY `mt_objectasset_id_ds` (`objectasset_object_id`,`objectasset_object_ds`)
1360
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
1361
+ /*!40101 SET character_set_client = @saved_cs_client */;
1362
+
1363
+ --
1364
+ -- Dumping data for table `mt_objectasset`
1365
+ --
1366
+ -- ORDER BY: `objectasset_id`
1367
+
1368
+ LOCK TABLES `mt_objectasset` WRITE;
1369
+ /*!40000 ALTER TABLE `mt_objectasset` DISABLE KEYS */;
1370
+ /*!40000 ALTER TABLE `mt_objectasset` ENABLE KEYS */;
1371
+ UNLOCK TABLES;
1372
+
1373
+ --
1374
+ -- Table structure for table `mt_objectscore`
1375
+ --
1376
+
1377
+ DROP TABLE IF EXISTS `mt_objectscore`;
1378
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
1379
+ /*!40101 SET character_set_client = utf8 */;
1380
+ CREATE TABLE `mt_objectscore` (
1381
+ `objectscore_id` int(11) NOT NULL AUTO_INCREMENT,
1382
+ `objectscore_author_id` int(11) DEFAULT '0',
1383
+ `objectscore_created_by` int(11) DEFAULT NULL,
1384
+ `objectscore_created_on` datetime DEFAULT NULL,
1385
+ `objectscore_ip` varchar(50) DEFAULT NULL,
1386
+ `objectscore_modified_by` int(11) DEFAULT NULL,
1387
+ `objectscore_modified_on` datetime DEFAULT NULL,
1388
+ `objectscore_namespace` varchar(100) NOT NULL,
1389
+ `objectscore_object_ds` varchar(50) NOT NULL,
1390
+ `objectscore_object_id` int(11) DEFAULT '0',
1391
+ `objectscore_score` float DEFAULT NULL,
1392
+ PRIMARY KEY (`objectscore_id`),
1393
+ KEY `mt_objectscore_ns_ip_ds_obj` (`objectscore_namespace`,`objectscore_ip`,`objectscore_object_ds`,`objectscore_object_id`),
1394
+ KEY `mt_objectscore_ds_obj` (`objectscore_object_ds`,`objectscore_object_id`),
1395
+ KEY `mt_objectscore_ns_user_ds_obj` (`objectscore_namespace`,`objectscore_author_id`,`objectscore_object_ds`,`objectscore_object_id`),
1396
+ KEY `mt_objectscore_user_ns` (`objectscore_author_id`,`objectscore_namespace`)
1397
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
1398
+ /*!40101 SET character_set_client = @saved_cs_client */;
1399
+
1400
+ --
1401
+ -- Dumping data for table `mt_objectscore`
1402
+ --
1403
+ -- ORDER BY: `objectscore_id`
1404
+
1405
+ LOCK TABLES `mt_objectscore` WRITE;
1406
+ /*!40000 ALTER TABLE `mt_objectscore` DISABLE KEYS */;
1407
+ /*!40000 ALTER TABLE `mt_objectscore` ENABLE KEYS */;
1408
+ UNLOCK TABLES;
1409
+
1410
+ --
1411
+ -- Table structure for table `mt_objecttag`
1412
+ --
1413
+
1414
+ DROP TABLE IF EXISTS `mt_objecttag`;
1415
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
1416
+ /*!40101 SET character_set_client = utf8 */;
1417
+ CREATE TABLE `mt_objecttag` (
1418
+ `objecttag_id` int(11) NOT NULL AUTO_INCREMENT,
1419
+ `objecttag_blog_id` int(11) DEFAULT NULL,
1420
+ `objecttag_object_datasource` varchar(50) NOT NULL,
1421
+ `objecttag_object_id` int(11) NOT NULL,
1422
+ `objecttag_tag_id` int(11) NOT NULL,
1423
+ PRIMARY KEY (`objecttag_id`),
1424
+ KEY `mt_objecttag_blog_ds_tag` (`objecttag_blog_id`,`objecttag_object_datasource`,`objecttag_tag_id`),
1425
+ KEY `mt_objecttag_object_id` (`objecttag_object_id`),
1426
+ KEY `mt_objecttag_tag_id` (`objecttag_tag_id`),
1427
+ KEY `mt_objecttag_blog_ds_obj_tag` (`objecttag_blog_id`,`objecttag_object_datasource`,`objecttag_object_id`,`objecttag_tag_id`),
1428
+ KEY `mt_objecttag_object_datasource` (`objecttag_object_datasource`)
1429
+ ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
1430
+ /*!40101 SET character_set_client = @saved_cs_client */;
1431
+
1432
+ --
1433
+ -- Dumping data for table `mt_objecttag`
1434
+ --
1435
+ -- ORDER BY: `objecttag_id`
1436
+
1437
+ LOCK TABLES `mt_objecttag` WRITE;
1438
+ /*!40000 ALTER TABLE `mt_objecttag` DISABLE KEYS */;
1439
+ INSERT INTO `mt_objecttag` VALUES (1,1,'entry',1,1);
1440
+ INSERT INTO `mt_objecttag` VALUES (2,1,'entry',2,2);
1441
+ INSERT INTO `mt_objecttag` VALUES (3,1,'entry',3,3);
1442
+ /*!40000 ALTER TABLE `mt_objecttag` ENABLE KEYS */;
1443
+ UNLOCK TABLES;
1444
+
1445
+ --
1446
+ -- Table structure for table `mt_permission`
1447
+ --
1448
+
1449
+ DROP TABLE IF EXISTS `mt_permission`;
1450
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
1451
+ /*!40101 SET character_set_client = utf8 */;
1452
+ CREATE TABLE `mt_permission` (
1453
+ `permission_id` int(11) NOT NULL AUTO_INCREMENT,
1454
+ `permission_author_id` int(11) NOT NULL DEFAULT '0',
1455
+ `permission_blog_id` int(11) NOT NULL DEFAULT '0',
1456
+ `permission_blog_prefs` varchar(255) DEFAULT NULL,
1457
+ `permission_created_by` int(11) DEFAULT NULL,
1458
+ `permission_created_on` datetime DEFAULT NULL,
1459
+ `permission_entry_prefs` mediumtext,
1460
+ `permission_modified_by` int(11) DEFAULT NULL,
1461
+ `permission_modified_on` datetime DEFAULT NULL,
1462
+ `permission_page_prefs` mediumtext,
1463
+ `permission_permissions` mediumtext,
1464
+ `permission_restrictions` mediumtext,
1465
+ `permission_role_mask` int(11) DEFAULT '0',
1466
+ `permission_template_prefs` varchar(255) DEFAULT NULL,
1467
+ PRIMARY KEY (`permission_id`),
1468
+ KEY `mt_permission_author_id` (`permission_author_id`),
1469
+ KEY `mt_permission_role_mask` (`permission_role_mask`),
1470
+ KEY `mt_permission_blog_id` (`permission_blog_id`)
1471
+ ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
1472
+ /*!40101 SET character_set_client = @saved_cs_client */;
1473
+
1474
+ --
1475
+ -- Dumping data for table `mt_permission`
1476
+ --
1477
+ -- ORDER BY: `permission_id`
1478
+
1479
+ LOCK TABLES `mt_permission` WRITE;
1480
+ /*!40000 ALTER TABLE `mt_permission` DISABLE KEYS */;
1481
+ INSERT INTO `mt_permission` VALUES (1,1,0,NULL,NULL,'2012-02-08 05:45:54',NULL,NULL,'2012-02-08 05:45:54',NULL,'\'administer\',\'create_blog\',\'create_website\',\'edit_templates\',\'manage_plugins\',\'view_log\'',NULL,0,NULL);
1482
+ INSERT INTO `mt_permission` VALUES (2,1,1,NULL,1,'2012-02-07 20:45:55',NULL,NULL,'2012-02-07 20:45:55',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);
1483
+ INSERT INTO `mt_permission` VALUES (3,1,2,NULL,1,'2012-02-08 05:46:18','title,text,tags,customfield_price,customfield_deadline_date,category,feedback,assets,zemanta,title,text,tags,customfield_price,customfield_deadline_date,category,feedback,assets,zemanta|',NULL,'2012-02-08 05:46:18',NULL,'\'administer_blog\',\'send_notifications\',\'edit_notifications\',\'manage_pages\',\'edit_categories\',\'manage_users\',\'manage_feedback\',\'edit_assets\',\'edit_tags\',\'upload\',\'manage_themes\',\'create_post\',\'publish_post\',\'rebuild\',\'save_image_defaults\',\'edit_templates\',\'set_publish_paths\',\'edit_all_posts\',\'comment\',\'edit_config\',\'view_blog_log\',\'administer\',\'create_blog\',\'create_website\',\'manage_plugins\',\'view_log\'',NULL,0,NULL);
1484
+ INSERT INTO `mt_permission` VALUES (4,0,2,NULL,1,'2012-02-08 05:46:41','zemanta,basic',NULL,'2012-02-08 05:46:41','zemanta,basic',NULL,NULL,0,NULL);
1485
+ /*!40000 ALTER TABLE `mt_permission` ENABLE KEYS */;
1486
+ UNLOCK TABLES;
1487
+
1488
+ --
1489
+ -- Table structure for table `mt_placement`
1490
+ --
1491
+
1492
+ DROP TABLE IF EXISTS `mt_placement`;
1493
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
1494
+ /*!40101 SET character_set_client = utf8 */;
1495
+ CREATE TABLE `mt_placement` (
1496
+ `placement_id` int(11) NOT NULL AUTO_INCREMENT,
1497
+ `placement_blog_id` int(11) NOT NULL,
1498
+ `placement_category_id` int(11) NOT NULL,
1499
+ `placement_entry_id` int(11) NOT NULL,
1500
+ `placement_is_primary` tinyint(4) NOT NULL,
1501
+ PRIMARY KEY (`placement_id`),
1502
+ KEY `mt_placement_category_id` (`placement_category_id`),
1503
+ KEY `mt_placement_blog_cat` (`placement_blog_id`,`placement_category_id`),
1504
+ KEY `mt_placement_blog_id` (`placement_blog_id`),
1505
+ KEY `mt_placement_is_primary` (`placement_is_primary`),
1506
+ KEY `mt_placement_entry_id` (`placement_entry_id`)
1507
+ ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
1508
+ /*!40101 SET character_set_client = @saved_cs_client */;
1509
+
1510
+ --
1511
+ -- Dumping data for table `mt_placement`
1512
+ --
1513
+ -- ORDER BY: `placement_id`
1514
+
1515
+ LOCK TABLES `mt_placement` WRITE;
1516
+ /*!40000 ALTER TABLE `mt_placement` DISABLE KEYS */;
1517
+ INSERT INTO `mt_placement` VALUES (1,1,1,1,1);
1518
+ INSERT INTO `mt_placement` VALUES (2,1,2,2,1);
1519
+ /*!40000 ALTER TABLE `mt_placement` ENABLE KEYS */;
1520
+ UNLOCK TABLES;
1521
+
1522
+ --
1523
+ -- Table structure for table `mt_plugindata`
1524
+ --
1525
+
1526
+ DROP TABLE IF EXISTS `mt_plugindata`;
1527
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
1528
+ /*!40101 SET character_set_client = utf8 */;
1529
+ CREATE TABLE `mt_plugindata` (
1530
+ `plugindata_id` int(11) NOT NULL AUTO_INCREMENT,
1531
+ `plugindata_data` mediumblob,
1532
+ `plugindata_key` varchar(255) NOT NULL,
1533
+ `plugindata_plugin` varchar(50) NOT NULL,
1534
+ PRIMARY KEY (`plugindata_id`),
1535
+ KEY `mt_plugindata_plugin` (`plugindata_plugin`),
1536
+ KEY `mt_plugindata_key` (`plugindata_key`)
1537
+ ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
1538
+ /*!40101 SET character_set_client = @saved_cs_client */;
1539
+
1540
+ --
1541
+ -- Dumping data for table `mt_plugindata`
1542
+ --
1543
+ -- ORDER BY: `plugindata_id`
1544
+
1545
+ LOCK TABLES `mt_plugindata` WRITE;
1546
+ /*!40000 ALTER TABLE `mt_plugindata` DISABLE KEYS */;
1547
+ INSERT INTO `mt_plugindata` VALUES (1,'SERG\0\0\0\0\0\0\0H\0\0\0\0\0\0default_api_key-\0\0\0aejpz2zzqszx8etbcyhjchqc\0\0\0 first_run-\0\0\0\0\0\0\0api_key-\0\0\0aejpz2zzqszx8etbcyhjchqc','configuration:blog:2','Zemanta');
1548
+ /*!40000 ALTER TABLE `mt_plugindata` ENABLE KEYS */;
1549
+ UNLOCK TABLES;
1550
+
1551
+ --
1552
+ -- Table structure for table `mt_role`
1553
+ --
1554
+
1555
+ DROP TABLE IF EXISTS `mt_role`;
1556
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
1557
+ /*!40101 SET character_set_client = utf8 */;
1558
+ CREATE TABLE `mt_role` (
1559
+ `role_id` int(11) NOT NULL AUTO_INCREMENT,
1560
+ `role_created_by` int(11) DEFAULT NULL,
1561
+ `role_created_on` datetime DEFAULT NULL,
1562
+ `role_description` mediumtext,
1563
+ `role_is_system` tinyint(4) DEFAULT '0',
1564
+ `role_modified_by` int(11) DEFAULT NULL,
1565
+ `role_modified_on` datetime DEFAULT NULL,
1566
+ `role_name` varchar(255) NOT NULL,
1567
+ `role_permissions` mediumtext,
1568
+ `role_role_mask` int(11) DEFAULT NULL,
1569
+ `role_role_mask2` int(11) DEFAULT NULL,
1570
+ `role_role_mask3` int(11) DEFAULT NULL,
1571
+ `role_role_mask4` int(11) DEFAULT NULL,
1572
+ PRIMARY KEY (`role_id`),
1573
+ KEY `mt_role_created_on` (`role_created_on`),
1574
+ KEY `mt_role_is_system` (`role_is_system`),
1575
+ KEY `mt_role_name` (`role_name`)
1576
+ ) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
1577
+ /*!40101 SET character_set_client = @saved_cs_client */;
1578
+
1579
+ --
1580
+ -- Dumping data for table `mt_role`
1581
+ --
1582
+ -- ORDER BY: `role_id`
1583
+
1584
+ LOCK TABLES `mt_role` WRITE;
1585
+ /*!40000 ALTER TABLE `mt_role` DISABLE KEYS */;
1586
+ INSERT INTO `mt_role` VALUES (1,1,'2012-02-08 05:45:54','ウェブサイトを管理できます。',0,NULL,'2012-02-08 05:45:54','ウェブサイト管理者','\'administer_website\',\'manage_member_blogs\'',NULL,NULL,NULL,NULL);
1587
+ INSERT INTO `mt_role` VALUES (2,1,'2012-02-08 05:45:54','ブログの管理者です。',0,NULL,'2012-02-08 05:45:54','ブログ管理者','\'administer_blog\'',4096,NULL,NULL,NULL);
1588
+ INSERT INTO `mt_role` VALUES (3,1,'2012-02-08 05:45:54','ファイルをアップロードし、ブログ記事(カテゴリ)、ウェブページ(フォルダ)、タグを編集して公開できます。',0,NULL,'2012-02-08 05:45:54','編集者','\'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);
1589
+ INSERT INTO `mt_role` VALUES (4,1,'2012-02-08 05:45:54','記事を作成し、各自の記事の編集とファイルのアップロード、およびそれらを公開できます。',0,NULL,'2012-02-08 05:45:54','ユーザー','\'comment\',\'create_post\',\'publish_post\',\'upload\',\'send_notifications\'',NULL,NULL,NULL,NULL);
1590
+ INSERT INTO `mt_role` VALUES (5,1,'2012-02-08 05:45:54','テンプレートとテーマの編集し、管理し、それらを公開できます。',0,NULL,'2012-02-08 05:45:54','デザイナ','\'manage_themes\',\'edit_templates\',\'rebuild\'',144,NULL,NULL,NULL);
1591
+ INSERT INTO `mt_role` VALUES (6,1,'2012-02-08 05:45:54','ページを管理し、ファイルをアップロードし、ブログテンプレートを公開できます。',0,NULL,'2012-02-08 05:45:54','ウェブマスター','\'manage_pages\',\'rebuild\',\'upload\'',NULL,NULL,NULL,NULL);
1592
+ INSERT INTO `mt_role` VALUES (7,1,'2012-02-08 05:45:54','記事の作成、各自の記事とコメントを編集できます。',0,NULL,'2012-02-08 05:45:54','ライター','\'comment\',\'create_post\'',NULL,NULL,NULL,NULL);
1593
+ INSERT INTO `mt_role` VALUES (8,1,'2012-02-08 05:45:54','コメントを投稿し、コメントやトラックバックを管理できます。',0,NULL,'2012-02-08 05:45:54','モデレータ','\'comment\',\'manage_feedback\'',NULL,NULL,NULL,NULL);
1594
+ INSERT INTO `mt_role` VALUES (9,1,'2012-02-08 05:45:54','コメントを投稿できます。',0,NULL,'2012-02-08 05:45:54','コメント投稿者','\'comment\'',1,NULL,NULL,NULL);
1595
+ /*!40000 ALTER TABLE `mt_role` ENABLE KEYS */;
1596
+ UNLOCK TABLES;
1597
+
1598
+ --
1599
+ -- Table structure for table `mt_session`
1600
+ --
1601
+
1602
+ DROP TABLE IF EXISTS `mt_session`;
1603
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
1604
+ /*!40101 SET character_set_client = utf8 */;
1605
+ CREATE TABLE `mt_session` (
1606
+ `session_id` varchar(80) NOT NULL,
1607
+ `session_data` mediumblob,
1608
+ `session_duration` int(11) DEFAULT NULL,
1609
+ `session_email` varchar(255) DEFAULT NULL,
1610
+ `session_kind` varchar(2) DEFAULT NULL,
1611
+ `session_name` varchar(255) DEFAULT NULL,
1612
+ `session_start` int(11) NOT NULL,
1613
+ PRIMARY KEY (`session_id`),
1614
+ KEY `mt_session_kind` (`session_kind`),
1615
+ KEY `mt_session_name` (`session_name`),
1616
+ KEY `mt_session_duration` (`session_duration`),
1617
+ KEY `mt_session_start` (`session_start`)
1618
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
1619
+ /*!40101 SET character_set_client = @saved_cs_client */;
1620
+
1621
+ --
1622
+ -- Dumping data for table `mt_session`
1623
+ --
1624
+ -- ORDER BY: `session_id`
1625
+
1626
+ LOCK TABLES `mt_session` WRITE;
1627
+ /*!40000 ALTER TABLE `mt_session` DISABLE KEYS */;
1628
+ INSERT INTO `mt_session` VALUES ('2QtGt7nScDLATItnfXT4KXXr8x3XJRL3JO9gNJ15','SERG\0\0\0\0\0\0\0H\0\0\0\0\0\0 author_id-\0\0\01',NULL,NULL,'US',NULL,1328647555);
1629
+ INSERT INTO `mt_session` VALUES ('LW','<ul>\n <li><a href=\"http://www.sixapart.jp/movabletype/feedback.html\">Movable Type へのフィードバック</a></li>\n\n <li>2012.01.27 <a href=\"http://www.movabletype.jp/blog/canonical.html\">テーマ「Smart Blog」でcanonical属性を設定する</a></li>\n\n\n\n <li>2011.11.16 <a href=\"http://www.movabletype.jp/blog/smartphone-option.html\">スマートフォンオプションを公開</a></li>\n\n\n\n <li>2011.10.08 <a href=\"http://www.movabletype.jp/blog/movable_type_10th_anniversary.html\">Movable Type 10周年</a></li>\n\n\n\n <li>2011.08.15 <a href=\"http://www.movabletype.jp/blog/mtddc2011_special_06.html\">FacebookのOGPといいね!ボタンでPV向上(寄稿)</a></li>\n\n\n\n <li>2011.08.10 <a href=\"http://www.movabletype.jp/blog/mtddc2011_special_05.html\">更新履歴管理(リビジョン管理)の詳説(寄稿)</a></li>\n\n</ul>\n\n',NULL,NULL,'LW',NULL,1328647558);
1630
+ INSERT INTO `mt_session` VALUES ('NW','<ul>\n<li><a href=\"http://www.sixapart.jp/movabletype/feedback.html\">Movable Type へのフィードバック</a></li>\n\n<li>2011.12.07 <a href=\"http://www.sixapart.jp/movabletype/news/2011/12/07-1502.html\">年末年始の Movable Type ユーザーサポートについてのお知らせ</a></li>\n\n<li>2011.12.06 <a href=\"http://www.sixapart.jp/movabletype/news/2011/12/06-1100.html\">さらにお得に。「Movable Type 5 モバイルパック」販売開始</a></li>\n\n<li>2011.11.16 <a href=\"http://www.sixapart.jp/movabletype/news/2011/11/16-1300.html\">「スマートフォンオプション for Movable Type」を本日提供開始</a></li>\n\n<li>2011.08.01 <a href=\"http://www.sixapart.jp/movabletype/news/2011/08/01-1820.html\">8月9日(火)セミナー開催「Movable Typeのスマートフォン対応と各種プラグイン・ソリューションのご紹介」</a></li>\n\n<li>2011.08.01 <a href=\"http://www.sixapart.jp/movabletype/news/2011/08/01-1530.html\">夏期休業中のユーザーサポートについて</a></li>\n\n</ul>',NULL,NULL,'NW',NULL,1328647558);
1631
+ INSERT INTO `mt_session` VALUES ('S2GiqBiaanzWlFWwrYy3z2VK4wj0SQ1twfmAJqYq','SERG\0\0\0\0\0\0\0H\0\0\0\0\0\0 author_id-\0\0\01',NULL,'test@example.com','SI','Melody',1328647578);
1632
+ /*!40000 ALTER TABLE `mt_session` ENABLE KEYS */;
1633
+ UNLOCK TABLES;
1634
+
1635
+ --
1636
+ -- Table structure for table `mt_tag`
1637
+ --
1638
+
1639
+ DROP TABLE IF EXISTS `mt_tag`;
1640
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
1641
+ /*!40101 SET character_set_client = utf8 */;
1642
+ CREATE TABLE `mt_tag` (
1643
+ `tag_id` int(11) NOT NULL AUTO_INCREMENT,
1644
+ `tag_is_private` tinyint(4) DEFAULT '0',
1645
+ `tag_n8d_id` int(11) DEFAULT '0',
1646
+ `tag_name` varchar(255) NOT NULL,
1647
+ PRIMARY KEY (`tag_id`),
1648
+ KEY `mt_tag_n8d_id` (`tag_n8d_id`),
1649
+ KEY `mt_tag_name_id` (`tag_name`,`tag_id`),
1650
+ KEY `mt_tag_name` (`tag_name`),
1651
+ KEY `mt_tag_private_id_name` (`tag_is_private`,`tag_id`,`tag_name`)
1652
+ ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
1653
+ /*!40101 SET character_set_client = @saved_cs_client */;
1654
+
1655
+ --
1656
+ -- Dumping data for table `mt_tag`
1657
+ --
1658
+ -- ORDER BY: `tag_id`
1659
+
1660
+ LOCK TABLES `mt_tag` WRITE;
1661
+ /*!40000 ALTER TABLE `mt_tag` DISABLE KEYS */;
1662
+ INSERT INTO `mt_tag` VALUES (1,1,0,'@contact');
1663
+ INSERT INTO `mt_tag` VALUES (2,1,0,'@about');
1664
+ INSERT INTO `mt_tag` VALUES (3,1,0,'@home');
1665
+ /*!40000 ALTER TABLE `mt_tag` ENABLE KEYS */;
1666
+ UNLOCK TABLES;
1667
+
1668
+ --
1669
+ -- Table structure for table `mt_tbping`
1670
+ --
1671
+
1672
+ DROP TABLE IF EXISTS `mt_tbping`;
1673
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
1674
+ /*!40101 SET character_set_client = utf8 */;
1675
+ CREATE TABLE `mt_tbping` (
1676
+ `tbping_id` int(11) NOT NULL AUTO_INCREMENT,
1677
+ `tbping_blog_id` int(11) NOT NULL,
1678
+ `tbping_blog_name` varchar(255) DEFAULT NULL,
1679
+ `tbping_created_by` int(11) DEFAULT NULL,
1680
+ `tbping_created_on` datetime DEFAULT NULL,
1681
+ `tbping_excerpt` mediumtext,
1682
+ `tbping_ip` varchar(50) NOT NULL,
1683
+ `tbping_junk_log` mediumtext,
1684
+ `tbping_junk_score` float DEFAULT NULL,
1685
+ `tbping_junk_status` smallint(6) NOT NULL DEFAULT '1',
1686
+ `tbping_last_moved_on` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
1687
+ `tbping_modified_by` int(11) DEFAULT NULL,
1688
+ `tbping_modified_on` datetime DEFAULT NULL,
1689
+ `tbping_source_url` varchar(255) DEFAULT NULL,
1690
+ `tbping_tb_id` int(11) NOT NULL,
1691
+ `tbping_title` varchar(255) DEFAULT NULL,
1692
+ `tbping_visible` tinyint(4) DEFAULT NULL,
1693
+ PRIMARY KEY (`tbping_id`),
1694
+ KEY `mt_tbping_blog_stat` (`tbping_blog_id`,`tbping_junk_status`,`tbping_created_on`),
1695
+ KEY `mt_tbping_ip` (`tbping_ip`),
1696
+ KEY `mt_tbping_visible_date` (`tbping_visible`,`tbping_created_on`),
1697
+ KEY `mt_tbping_last_moved_on` (`tbping_last_moved_on`),
1698
+ KEY `mt_tbping_blog_visible` (`tbping_blog_id`,`tbping_visible`,`tbping_created_on`,`tbping_id`),
1699
+ KEY `mt_tbping_tb_visible` (`tbping_tb_id`,`tbping_visible`,`tbping_created_on`),
1700
+ KEY `mt_tbping_created_on` (`tbping_created_on`),
1701
+ KEY `mt_tbping_junk_date` (`tbping_junk_status`,`tbping_created_on`),
1702
+ KEY `mt_tbping_blog_url` (`tbping_blog_id`,`tbping_visible`,`tbping_source_url`)
1703
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
1704
+ /*!40101 SET character_set_client = @saved_cs_client */;
1705
+
1706
+ --
1707
+ -- Dumping data for table `mt_tbping`
1708
+ --
1709
+ -- ORDER BY: `tbping_id`
1710
+
1711
+ LOCK TABLES `mt_tbping` WRITE;
1712
+ /*!40000 ALTER TABLE `mt_tbping` DISABLE KEYS */;
1713
+ /*!40000 ALTER TABLE `mt_tbping` ENABLE KEYS */;
1714
+ UNLOCK TABLES;
1715
+
1716
+ --
1717
+ -- Table structure for table `mt_tbping_meta`
1718
+ --
1719
+
1720
+ DROP TABLE IF EXISTS `mt_tbping_meta`;
1721
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
1722
+ /*!40101 SET character_set_client = utf8 */;
1723
+ CREATE TABLE `mt_tbping_meta` (
1724
+ `tbping_meta_tbping_id` int(11) NOT NULL,
1725
+ `tbping_meta_type` varchar(75) NOT NULL,
1726
+ `tbping_meta_vchar` varchar(255) DEFAULT NULL,
1727
+ `tbping_meta_vchar_idx` varchar(255) DEFAULT NULL,
1728
+ `tbping_meta_vdatetime` datetime DEFAULT NULL,
1729
+ `tbping_meta_vdatetime_idx` datetime DEFAULT NULL,
1730
+ `tbping_meta_vinteger` int(11) DEFAULT NULL,
1731
+ `tbping_meta_vinteger_idx` int(11) DEFAULT NULL,
1732
+ `tbping_meta_vfloat` float DEFAULT NULL,
1733
+ `tbping_meta_vfloat_idx` float DEFAULT NULL,
1734
+ `tbping_meta_vblob` mediumblob,
1735
+ `tbping_meta_vclob` mediumtext,
1736
+ PRIMARY KEY (`tbping_meta_tbping_id`,`tbping_meta_type`),
1737
+ KEY `mt_tbping_meta_type_vint` (`tbping_meta_type`,`tbping_meta_vinteger_idx`),
1738
+ KEY `mt_tbping_meta_type_vflt` (`tbping_meta_type`,`tbping_meta_vfloat_idx`),
1739
+ KEY `mt_tbping_meta_type_vdt` (`tbping_meta_type`,`tbping_meta_vdatetime_idx`),
1740
+ KEY `mt_tbping_meta_type_vchar` (`tbping_meta_type`,`tbping_meta_vchar_idx`)
1741
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
1742
+ /*!40101 SET character_set_client = @saved_cs_client */;
1743
+
1744
+ --
1745
+ -- Dumping data for table `mt_tbping_meta`
1746
+ --
1747
+ -- ORDER BY: `tbping_meta_tbping_id`,`tbping_meta_type`
1748
+
1749
+ LOCK TABLES `mt_tbping_meta` WRITE;
1750
+ /*!40000 ALTER TABLE `mt_tbping_meta` DISABLE KEYS */;
1751
+ /*!40000 ALTER TABLE `mt_tbping_meta` ENABLE KEYS */;
1752
+ UNLOCK TABLES;
1753
+
1754
+ --
1755
+ -- Table structure for table `mt_template`
1756
+ --
1757
+
1758
+ DROP TABLE IF EXISTS `mt_template`;
1759
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
1760
+ /*!40101 SET character_set_client = utf8 */;
1761
+ CREATE TABLE `mt_template` (
1762
+ `template_id` int(11) NOT NULL AUTO_INCREMENT,
1763
+ `template_blog_id` int(11) NOT NULL,
1764
+ `template_build_dynamic` tinyint(4) DEFAULT NULL,
1765
+ `template_build_interval` int(11) DEFAULT NULL,
1766
+ `template_build_type` smallint(6) DEFAULT NULL,
1767
+ `template_created_by` int(11) DEFAULT NULL,
1768
+ `template_created_on` datetime DEFAULT NULL,
1769
+ `template_identifier` varchar(50) DEFAULT NULL,
1770
+ `template_linked_file` varchar(255) DEFAULT NULL,
1771
+ `template_linked_file_mtime` varchar(10) DEFAULT NULL,
1772
+ `template_linked_file_size` int(11) DEFAULT NULL,
1773
+ `template_modified_by` int(11) DEFAULT NULL,
1774
+ `template_modified_on` datetime DEFAULT NULL,
1775
+ `template_name` varchar(255) NOT NULL,
1776
+ `template_outfile` varchar(255) DEFAULT NULL,
1777
+ `template_rebuild_me` tinyint(4) DEFAULT NULL,
1778
+ `template_text` mediumtext,
1779
+ `template_type` varchar(25) NOT NULL,
1780
+ `template_current_revision` int(11) NOT NULL DEFAULT '0',
1781
+ PRIMARY KEY (`template_id`),
1782
+ KEY `mt_template_identifier` (`template_identifier`),
1783
+ KEY `mt_template_outfile` (`template_outfile`),
1784
+ KEY `mt_template_name` (`template_name`),
1785
+ KEY `mt_template_type` (`template_type`),
1786
+ KEY `mt_template_blog_id` (`template_blog_id`)
1787
+ ) ENGINE=MyISAM AUTO_INCREMENT=125 DEFAULT CHARSET=utf8;
1788
+ /*!40101 SET character_set_client = @saved_cs_client */;
1789
+
1790
+ --
1791
+ -- Dumping data for table `mt_template`
1792
+ --
1793
+ -- ORDER BY: `template_id`
1794
+
1795
+ LOCK TABLES `mt_template` WRITE;
1796
+ /*!40000 ALTER TABLE `mt_template` DISABLE KEYS */;
1797
+ INSERT INTO `mt_template` VALUES (1,1,0,0,1,1,'2012-02-08 05:45:55','trackbacks',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','トラックバック',NULL,1,'\n<mt:IfPingsActive>\n<div id=\"trackbacks\" class=\"trackbacks\">\n <h2 class=\"trackbacks-header\"><$mt:EntryTrackbackCount singular=\"トラックバック(1)\" plural=\"トラックバック(#)\" none=\"トラックバック(0)\"$></h2>\n <mt:IfPingsAccepted>\n <div class=\"trackbacks-info\">\n <p>トラックバックURL: <$mt:EntryTrackbackLink$></p>\n </div>\n </mt:IfPingsAccepted>\n <mt:Pings>\n <mt:PingsHeader>\n <div class=\"trackbacks-content\">\n </mt:PingsHeader>\n <div class=\"trackback\" id=\"ping-<$mt:PingID$>\">\n <div class=\"inner\">\n <div class=\"trackback-header\">\n <div class=\"asset-meta\">\n <$mt:PingBlogName$> - <a href=\"<$mt:PingURL$>\"><$mt:PingTitle$></a> (<a href=\"#ping-<$mt:PingID$>\"><$mt:PingDate$></a>)\n </div>\n </div>\n <div class=\"trackback-content\">\n <p>\n <$mt:PingExcerpt$> <a href=\"<$mt:PingURL$>\">続きを読む</a>\n </p>\n </div>\n </div>\n </div>\n <mt:PingsFooter>\n </div>\n </mt:PingsFooter>\n </mt:Pings>\n</div>\n</mt:IfPingsActive>\n\n\n','custom',0);
1798
+ INSERT INTO `mt_template` VALUES (2,1,0,0,1,1,'2012-02-08 05:45:55','entry_summary',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','ブログ記事の概要',NULL,1,'\n<$mt:EntryTrackbackData$>\n<div id=\"entry-<$mt:EntryID$>\" class=\"entry-asset asset hentry\">\n <div class=\"asset-header\">\n <h2 class=\"asset-name entry-title\"><a href=\"<$mt:EntryPermalink$>\" rel=\"bookmark\"><$mt:EntryTitle$></a> - <a href=\"<$mt:EntryBlogURL$>\"><$mt:EntryBlogName$></a></h2>\n <$mt:Include module=\"ブログ記事のメタデータ\" blog_id=\"$website_id\"$>\n </div>\n <div class=\"asset-content entry-content\">\n<mt:If tag=\"EntryBody\">\n <div class=\"asset-body\">\n <$mt:EntryBody$>\n </div>\n</mt:If>\n<mt:IfTagSearch>\n <$mt:Include module=\"タグ\"$>\n</mt:IfTagSearch>\n<mt:If tag=\"EntryMore\" convert_breaks=\"0\">\n <div class=\"asset-more-link\">\n 続きを読む: <a href=\"<$mt:EntryPermalink$>#more\" rel=\"bookmark\"><$mt:EntryTitle$></a>\n </div>\n</mt:If>\n </div>\n <div class=\"asset-footer\"></div>\n</div>\n\n','custom',0);
1799
+ INSERT INTO `mt_template` VALUES (3,1,0,0,1,1,'2012-02-08 05:45:55','comment_preview',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','コメントプレビュー',NULL,1,'\n<$mt:Var name=\"page_layout\" value=\"layout-wm\"$>\n<mt:SetVarBlock name=\"page_title\">コメントのプレビュー</mt:SetVarBlock>\n<mt:SetVarBlock name=\"title\"><$mt:BlogName encode_html=\"1\"$>: <$mt:Var name=\"page_title\"$></mt:SetVarBlock>\n<mt:SetVarBlock name=\"html_head\">\n <script type=\"text/javascript\">\n /* <![CDATA[ */\n var user = <$mt:UserSessionState$>;\n var is_preview = true;\n /* ]]> */\n </script>\n</mt:SetVarBlock>\n<$mt:Include module=\"ヘッダー\" body_class=\"mt-comment-preview\"$>\n\n<h1 id=\"page-title\"><$mt:Var name=\"page_title\"$></h1>\n\n<$mt:Include module=\"コメント詳細\"$>\n\n<$mt:Include module=\"コメント入力フォーム\"$>\n\n<$mt:Include module=\"フッター\"$>\n\n\n','comment_preview',0);
1800
+ INSERT INTO `mt_template` VALUES (4,1,0,0,1,1,'2012-02-08 05:45:55','powered_by_footer',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','Powered By (フッター)',NULL,1,'<div class=\"widget-powered widget\">\n <div class=\"widget-content\">\n <span>Powered by <a href=\"http://www.sixapart.jp/movabletype/\"><$MTProductName$></a></span>\n </div>\n</div>\n','custom',0);
1801
+ INSERT INTO `mt_template` VALUES (5,1,0,0,1,1,'2012-02-08 05:45:55','search_results',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','検索結果',NULL,1,'\n<$mt:Var name=\"page_layout\" value=\"layout-wm\"$>\n<mt:SetVarBlock name=\"page_title\">検索結果</mt:SetVarBlock>\n<mt:SetVarBlock name=\"title\"><$mt:BlogName encode_html=\"1\"$>: <$mt:Var name=\"page_title\"$></mt:SetVarBlock>\n\n<mt:Ignore><!-- Below Javascript adds ajax search capability --></mt:Ignore>\n<mt:SetVarBlock name=\"html_head\" append=\"1\">\n<script type=\"text/javascript\">\n/* <![CDATA[ */\nvar user = <$mt:UserSessionState$>;\n<mt:IfMoreResults>\nfunction getResults(page) {\n page = parseInt(page);\n if (timer) window.clearTimeout(timer);\n var xh = mtGetXmlHttp();\n if (!xh) return false;\n var res = results[page];\n if (!res) return;\n var url = res[\'next_url\'];\n if (!url) return;\n\n xh.open(\'GET\', url + \'&format=js\', true);\n xh.onreadystatechange = function() {\n if ( xh.readyState == 4 ) {\n if ( xh.status && ( xh.status != 200 ) ) {\n // error - ignore\n } else {\n try {\n var page_results = eval(\"(\" + xh.responseText + \")\");\n if ( page_results[\'error\'] == null )\n results[page + 1] = page_results[\'result\'];\n } catch (e) {\n }\n }\n }\n };\n xh.send(null);\n}\n\nfunction swapContent(direction) {\n if ( direction == undefined ) direction = 1;\n var page_span = document.getElementById(\'current-page\');\n if (!page_span) return true;\n var next_page = direction + parseInt(page_span.innerHTML);\n var res = results[next_page];\n if (!res) return true;\n var content = res[\'content\'];\n if (!content) return true;\n var div = document.getElementById(\'search-results\');\n if (!div) return true;\n div.innerHTML = content;\n timer = window.setTimeout(\"getResults(\" + next_page + \")\", 1*1000);\n window.scroll(0, 0);\n return false;\n}\n<mt:Else><mt:IfPreviousResults>\nfunction swapContent(direction) {\n return true;\n}</mt:IfPreviousResults>\n</mt:IfMoreResults>\n/* ]]> */\n</script>\n</mt:SetVarBlock>\n\n<$mt:Include module=\"ヘッダー\" body_class=\"mt-search-results\"$>\n\n<mt:SetVarTemplate id=\"search_results\" name=\"search_results\"> \n <mt:SearchResults>\n <mt:SearchResultsHeader>\n<div id=\"search-results\">\n <span id=\"current-page\" class=\"hidden\"><$mt:CurrentPage$></span>\n <h1 id=\"page-title\" class=\"search-results-header\">\n <mt:IfStraightSearch>\n 「<$mt:SearchString$>」と一致するもの\n </mt:IfStraightSearch>\n <mt:IfTagSearch>\n タグ「<$mt:SearchString$>」が付けられているもの\n </mt:IfTagSearch>\n </h1>\n <div class=\"search-results-container autopagerize_page_element\">\n </mt:SearchResultsHeader>\n <$mt:Include module=\"ブログ記事の概要\" hide_counts=\"1\" local=\"1\"$>\n <mt:SearchResultsFooter>\n </div><div class=\"autopagerize_insert_before\"></div>\n <mt:Ignore>Used with the ajax search capability of the new search class</mt:Ignore>\n <div class=\"content-nav\">\n <mt:IfPreviousResults><a href=\"<$mt:PreviousLink$>\" rel=\"prev\" onclick=\"return swapContent(-1);\">&lt; 前</a>&nbsp;&nbsp;</mt:IfPreviousResults><mt:PagerBlock><mt:IfCurrentPage><$mt:Var name=\"__value__\"$><mt:Else><a href=\"<$mt:PagerLink$>\"><$mt:Var name=\"__value__\"$></a></mt:IfCurrentPage><mt:Unless name=\"__last__\">&nbsp;</mt:Unless></mt:PagerBlock><mt:IfMoreResults>&nbsp;&nbsp;<a href=\"<$mt:NextLink$>\" rel=\"next\" onclick=\"return swapContent();\">次 &gt;</a></mt:IfMoreResults>\n </div>\n</div>\n </mt:SearchResultsFooter>\n </mt:SearchResults>\n</mt:SetVarTemplate>\n<$mt:Var name=\"search_results\"$>\n\n<mt:NoSearchResults>\n<h1 id=\"page-title\" class=\"search-results-header\">\n <mt:IfStraightSearch>\n 「<$mt:SearchString$>」と一致するもの\n </mt:IfStraightSearch>\n <mt:IfTagSearch>\n タグ「<$mt:SearchString$>」が付けられているもの\n </mt:IfTagSearch>\n</h1>\n<p>「<$mt:SearchString$>」と一致する結果は見つかりませんでした。</p>\n</mt:NoSearchResults>\n\n<mt:NoSearch>\n<h1 id=\"page-title\" class=\"search-results-header\">例</h1>\n<p>すべての単語が順序に関係なく検索されます。フレーズで検索したいときは引用符で囲んでください。</p>\n<blockquote>\n <p><code>\"movable type\"</code></p>\n</blockquote>\n<p>AND、OR、NOTを入れることで論理検索を行うこともできます。</p>\n<blockquote>\n <p><code>個人 OR 出版</code></p>\n <p><code>個人 NOT 出版</code></p>\n</blockquote>\n</mt:NoSearch>\n\n<mt:Ignore>Used with the ajax search capability of the new search class</mt:Ignore>\n<mt:IfMoreResults>\n<script type=\"text/javascript\">\n<!--\nvar div = document.getElementById(\'search-results\');\nvar results = {\n \'<$mt:CurrentPage$>\': {\n \'content\': div.innerHTML,\n \'next_url\': \'<$mt:NextLink$>\'\n }\n};\nvar timer = window.setTimeout(\"getResults(\" + <$mt:CurrentPage$> + \")\", 1*1000);\n//-->\n</script>\n</mt:IfMoreResults>\n<$mt:Include module=\"フッター\"$>\n\n','search_results',0);
1802
+ INSERT INTO `mt_template` VALUES (6,1,0,0,1,1,'2012-02-08 05:45:55','rsd',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','RSD','rsd.xml',1,'<$mt:HTTPContentType type=\"application/rsd+xml\"$><?xml version=\"1.0\"?>\n<rsd version=\"1.0\" xmlns=\"http://archipelago.phrasewise.com/rsd\">\n<service>\n<engineName><$mt:ProductName version=\"1\"$></engineName>\n<engineLink>http://www.sixapart.com/movabletype/</engineLink>\n<homePageLink><$mt:BlogURL$></homePageLink>\n<apis>\n<api name=\"MetaWeblog\" preferred=\"true\" apiLink=\"<$mt:CGIPath$><$mt:XMLRPCScript$>\" blogID=\"<$mt:BlogID$>\" />\n<api name=\"MovableType\" preferred=\"false\" apiLink=\"<$mt:CGIPath$><$mt:XMLRPCScript$>\" blogID=\"<$mt:BlogID$>\" />\n<api name=\"Blogger\" preferred=\"false\" apiLink=\"<$mt:CGIPath$><$mt:XMLRPCScript$>\" blogID=\"<$mt:BlogID$>\" />\n<api name=\"Atom\" preferred=\"false\" apiLink=\"<$mt:CGIPath$><$mt:AtomScript$>/weblog\" blogID=\"<$mt:BlogID$>\" />\n</apis>\n</service>\n</rsd>\n','index',0);
1803
+ INSERT INTO `mt_template` VALUES (7,1,0,0,1,1,'2012-02-08 05:45:55','styles',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','スタイルシート','styles.css',1,'@import url(<$mt:StaticWebPath$>themes-base/blog.css);\n@import url(<$mt:StaticWebPath$>addons/Commercial.pack/themes/professional-black/screen.css);\n','index',0);
1804
+ INSERT INTO `mt_template` VALUES (8,1,0,0,1,1,'2012-02-08 05:45:55','tags',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','タグ',NULL,1,'<mt:EntryIfTagged>\n<div class=\"entry-tags\">\n <h4>タグ<span class=\"delimiter\">:</span></h4>\n <ul>\n <li><mt:EntryTags glue=\'<span class=\"delimiter\">,</span></li> <li>\'><a href=\"javascript:void(0)\" onclick=\"location.href=\'<$mt:TagSearchLink encode_js=\"1\"$>\';return false;\" rel=\"tag\"><$mt:TagName$></a></mt:EntryTags></li>\n </ul>\n</div>\n</mt:EntryIfTagged>\n','custom',0);
1805
+ INSERT INTO `mt_template` VALUES (9,1,0,0,1,1,'2012-02-08 05:45:55','feed_recent',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','最新記事のフィード','atom.xml',1,'<$mt:HTTPContentType type=\"application/atom+xml\"$><?xml version=\"1.0\" encoding=\"<$mt:PublishCharset$>\"?>\n<feed xmlns=\"http://www.w3.org/2005/Atom\">\n <title><$mt:BlogName remove_html=\"1\" encode_xml=\"1\"$></title>\n <link rel=\"alternate\" type=\"text/html\" href=\"<$mt:BlogURL encode_xml=\"1\"$>\" />\n <link rel=\"self\" type=\"application/atom+xml\" href=\"<$mt:Link template=\"feed_recent\"$>\" />\n <id>tag:<$mt:BlogHost exclude_port=\"1\" encode_xml=\"1\"$>,<$mt:TemplateCreatedOn format=\"%Y-%m-%d\"$>:<$mt:BlogRelativeURL encode_xml=\"1\"$>/<$mt:BlogID$></id>\n <updated><mt:Entries lastn=\"1\"><$mt:EntryModifiedDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$></mt:Entries></updated>\n <mt:If tag=\"BlogDescription\"><subtitle><$mt:BlogDescription remove_html=\"1\" encode_xml=\"1\"$></subtitle></mt:If>\n <generator uri=\"http://www.sixapart.com/movabletype/\"><$mt:ProductName version=\"1\"$></generator>\n<mt:Entries include_blogs=\"children\" lastn=\"15\">\n<entry>\n <title><$mt:EntryTitle remove_html=\"1\" encode_xml=\"1\"$> - <$mt:EntryBlogName$></title>\n <link rel=\"alternate\" type=\"text/html\" href=\"<$mt:EntryPermalink encode_xml=\"1\"$>\" />\n <id><$mt:EntryAtomID$></id>\n\n <published><$mt:EntryDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$></published>\n <updated><$mt:EntryModifiedDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$></updated>\n\n <summary><$mt:EntryExcerpt remove_html=\"1\" encode_xml=\"1\"$></summary>\n <author>\n <name><$mt:EntryAuthorDisplayName encode_xml=\"1\"$></name>\n <mt:If tag=\"EntryAuthorURL\"><uri><$mt:EntryAuthorURL encode_xml=\"1\"$></uri></mt:If>\n </author>\n <mt:EntryCategories>\n <category term=\"<$mt:CategoryLabel encode_xml=\"1\"$>\" scheme=\"http://www.sixapart.com/ns/types#category\" />\n </mt:EntryCategories>\n <mt:EntryIfTagged><mt:EntryTags><category term=\"<$mt:TagName normalize=\"1\" encode_xml=\"1\"$>\" label=\"<$mt:TagName encode_xml=\"1\"$>\" scheme=\"http://www.sixapart.com/ns/types#tag\" />\n </mt:EntryTags></mt:EntryIfTagged>\n <content type=\"html\" xml:lang=\"<$mt:BlogLanguage ietf=\"1\"$>\" xml:base=\"<$mt:BlogURL encode_xml=\"1\"$>\">\n <$mt:EntryBody encode_xml=\"1\"$>\n <$mt:EntryMore encode_xml=\"1\"$>\n </content>\n</entry>\n</mt:Entries>\n</feed>\n','index',0);
1806
+ INSERT INTO `mt_template` VALUES (10,1,0,0,1,1,'2012-02-08 05:45:55','signin',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','サインイン',NULL,1,'<div class=\"widget-sign-in widget\">\n <h3 class=\"widget-header\">サインイン</h3>\n <div id=\"signin-widget-content\" class=\"widget-content\"></div>\n</div>\n<script type=\"text/javascript\">\n/* <![CDATA[ */\nfunction mtUpdateSignInWidget(u) {\n var el = document.getElementById(\'signin-widget-content\');\n var content = \'\';\n if (!el) return;\n if (u) {\n if (u && u.is_authenticated) {\n user = u;\n mtSaveUser();\n } else {\n // user really isn\'t logged in; so let\'s do this!\n return mtSignIn();\n }\n } else {\n u = mtGetUser();\n }\n if (u && u.name) {\n var url;\n if (u.is_authenticated) {\n if (u.is_author) {\n url = \'<$mt:CGIPath$><$mt:CommentScript$>?__mode=edit_profile&blog_id=<$mt:BlogID$>\';\n url += \'&static=\' + encodeURIComponent( location.href );\n } else {\n url = u.url;\n }\n } else if (u.url) {\n url = u.url;\n } else {\n url = null;\n }\n var content = \'ユーザー名:\';\n if (url)\n content += \'<a href=\"\' + url + \'\">\' + u.name + \'</a>\';\n else\n content += u.name;\n content += \'. (<a href=\"javascript:void(0)\" onclick=\"return mtSignOutOnClick()\">サインアウト</a>)\';\n } else if (u && u.is_banned) {\n content = \'このブログにサインインする権限がありません。\';\n } else {\n content = \'<a href=\"javascript:void(0)\" onclick=\"return mtSignInOnClick(\\\'signin-widget-content\\\')\">サインイン</a>\';\n }\n el.innerHTML = content;\n}\nmtAttachEvent(\'usersignin\', mtUpdateSignInWidget);\nmtUpdateSignInWidget();\n/* ]]> */\n</script>\n','custom',0);
1807
+ INSERT INTO `mt_template` VALUES (11,1,0,0,1,1,'2012-02-08 05:45:55','popup_image',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','ポップアップ画像',NULL,1,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" id=\"sixapart-standard\">\n<head><title><$mt:ImageURL$></title></head>\n<body id=\"uploaded-image-popup\" class=\"popup\" style=\"margin: 0;padding: 0;\">\n <img src=\"<$mt:ImageURL$>\" width=\"<$mt:ImageWidth$>\" height=\"<$mt:ImageHeight$>\" alt=\"<$mt:ImageURL$>\" style=\"margin: 0;padding: 0;border: 0;\" />\n</body>\n</html>\n','popup_image',0);
1808
+ INSERT INTO `mt_template` VALUES (12,1,0,0,1,1,'2012-02-08 05:45:55','search',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','検索',NULL,1,'<div class=\"widget-search widget\">\n <h3 class=\"widget-header\">検索</h3>\n <div class=\"widget-content\">\n <form method=\"get\" action=\"<$mt:CGIPath$><$mt:SearchScript$>\">\n <input type=\"text\" id=\"search\" class=\"ti\" name=\"search\" value=\"<$mt:SearchString$>\" />\n<mt:If name=\"search_results\">\n <input type=\"hidden\" name=\"IncludeBlogs\" value=\"<$mt:SearchIncludeBlogs$>\" />\n <mt:Ignore>\n <!-- use these options only with MT::App::Search::Legacy -->\n <ul class=\"search-options\">\n <li><input type=\"checkbox\" name=\"CaseSearch\" /> 大文字/小文字を区別する</li>\n <li><input type=\"checkbox\" name=\"RegexSearch\" /> 正規表現</li>\n </ul>\n </mt:Ignore>\n<mt:Else>\n <input type=\"hidden\" name=\"IncludeBlogs\" value=\"<$mt:WebsiteID$><mt:WebsiteHasBlog><mt:Blogs include_blogs=\"children\">,<mt:BlogID></mt:Blogs></mt:WebsiteHasBlog>\" />\n</mt:If>\n <input type=\"hidden\" name=\"limit\" value=\"<$mt:SearchMaxResults$>\" />\n <input type=\"submit\" accesskey=\"4\" value=\"検索\" />\n </form>\n </div>\n</div>\n','custom',0);
1809
+ INSERT INTO `mt_template` VALUES (13,1,0,0,1,1,'2012-02-08 05:45:55','tag_cloud',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','タグクラウド',NULL,1,'<mt:Tags include_blogs=\"children\" top=\"20\">\n<mt:if name=\"__first__\">\n<div class=\"widget-tag-cloud widget\">\n <h3 class=\"widget-header\">タグクラウド</h3>\n <div class=\"widget-content\">\n <ul>\n</mt:if>\n <li class=\"rank-<$mt:TagRank max=\"10\"$>\"><a href=\"javascript:void(0)\" onclick=\"location.href=\'<$mt:TagSearchLink include_blogs=\"children\" encode_js=\"1\"$>\';return false;\" rel=\"tag\"><$mt:TagName$></a></li>\n<mt:if name=\"__last__\">\n </ul>\n </div>\n</div>\n</mt:if>\n</mt:Tags>\n','widget',0);
1810
+ INSERT INTO `mt_template` VALUES (14,1,0,0,1,1,'2012-02-08 05:45:55','footer',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','フッター',NULL,1,'\n </div>\n </div>\n <$mt:Include module=\"サイドバー\"$>\n </div>\n </div>\n <div id=\"footer\">\n <div id=\"footer-inner\">\n <div id=\"footer-content\">\n <$mt:Include module=\"Powered By (フッター)\"$>\n <$mt:Include module=\"フッターのリンク\"$>\n\n<mt:BlogIfCCLicense>\n <div class=\"widget-creative-commons widget\">\n <div class=\"widget-content\">\n このブログは<a href=\"<$mt:BlogCCLicenseURL$>\">クリエイティブ・コモンズ</a>でライセンスされています。\n </div>\n </div>\n</mt:BlogIfCCLicense>\n </div>\n </div>\n </div>\n </div>\n </div>\n</body>\n</html>\n\n','custom',0);
1811
+ INSERT INTO `mt_template` VALUES (15,1,0,0,1,1,'2012-02-08 05:45:55','pages_list',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','ページ一覧',NULL,1,'<mt:IfArchiveTypeEnabled archive_type=\"Page\">\n<mt:If tag=\"BlogPageCount\">\n<div class=\"widget-pages widget\">\n <h3 class=\"widget-header\">ウェブページ</h3>\n <div class=\"widget-content\">\n <ul>\n <mt:Pages no_folder=\"1\" sort_by=\"title\" sort_order=\"ascend\">\n <li class=\"page page-<$mt:PageID$>\"><a href=\"<$mt:PagePermalink$>\"><$mt:PageTitle$></a></li>\n </mt:Pages>\n <mt:TopLevelFolders>\n <li class=\"folder folder-<$mt:FolderID$>\"><strong><$mt:FolderLabel$></strong>\n <mt:Pages sort_by=\"title\" sort_order=\"ascend\">\n <mt:PagesHeader>\n <ul>\n </mt:PagesHeader>\n <li class=\"page page-<$mt:PageID$>\"><a href=\"<$mt:PagePermalink$>\"><$mt:PageTitle$></a></li>\n <mt:PagesFooter>\n </ul>\n </mt:PagesFooter>\n </mt:Pages>\n </li>\n <$mt:SubFolderRecurse$>\n </mt:TopLevelFolders>\n </ul>\n </div>\n</div>\n</mt:If>\n</mt:IfArchiveTypeEnabled>\n','widget',0);
1812
+ INSERT INTO `mt_template` VALUES (16,1,0,0,1,1,'2012-02-08 05:45:55','page',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','ウェブページ',NULL,1,'\n<$mt:Var name=\"page_layout\" value=\"layout-wm\"$>\n<mt:SetVarBlock name=\"nav_on\"><$mt:PageID$></mt:SetVarBlock>\n\n<mt:SetVarBlock name=\"title\"><$mt:PageTitle encode_html=\"1\"$> - <$mt:BlogName encode_html=\"1\"$></mt:SetVarBlock>\n<mt:SetVarBlock name=\"html_head\">\n<$mt:Var name=\"comments_per_page\" value=\"50\"$>\n<mt:If tag=\"EntryCommentCount\" gt=\"$comments_per_page\">\n <script type=\"text/javascript\">\n MT.entryID = <$mt:PageID$>;\n MT.commentsPerPage = <$mt:Var name=\"comments_per_page\"$>;\n MT.entryCommentCount = <$mt:EntryCommentCount$>;\n MT.commentIds = [<mt:Comments sort_order=\"ascend\" glue=\",\"><mt:CommentID></mt:Comments>];\n </script>\n</mt:If>\n <$mt:EntryTrackbackData$>\n</mt:SetVarBlock>\n\n<$mt:Include module=\"ヘッダー\" body_class=\"mt-page-archive\"$>\n\n<$mt:Include module=\"ウェブページの詳細\"$>\n\n<$mt:Include module=\"トラックバック\"$>\n\n<$mt:Include module=\"コメント\"$>\n\n<$mt:Include module=\"フッター\"$>\n\n','page',0);
1813
+ INSERT INTO `mt_template` VALUES (17,1,0,0,1,1,'2012-02-08 05:45:55','comments',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','コメント',NULL,1,'<mt:Ignore>\n<!-- Display comments for the entry/page or commenting form if entry/page is accepting comments -->\n</mt:Ignore>\n<mt:IfCommentsActive>\n\n<div id=\"comments\" class=\"comments\">\n <mt:If name=\"comment_preview\">\n <$mt:Include module=\"コメント入力フォーム\"$>\n </mt:If>\n <mt:Ignore>\n <!-- Display comments -->\n </mt:Ignore>\n <mt:Comments lastn=\"$comments_per_page\">\n <mt:CommentsHeader>\n <h2 class=\"comments-header\"><$mt:EntryCommentCount singular=\"コメント(1)\" plural=\"コメント(#)\" none=\"コメント(0)\"$></h2>\n <mt:If tag=\"EntryCommentCount\" gt=\"$comments_per_page\">\n <ul id=\"top-comment-nav\">\n <li id=\"top-prev-comments\">\n <a href=\"javascript://\" id=\"top-prev-comments-link\" title=\"前\">&lt;&lt;&nbsp;前</a>\n </li>\n <li id=\"top-num-comments\"><span id=\"top-current-comments\"></span></li>\n <li id=\"top-next-comments\">\n <a href=\"javascript://\" id=\"top-next-comments-link\" title=\"次\">次&nbsp;&gt;&gt;</a>\n </li>\n </ul>\n </mt:If>\n <div id=\"comments-content\" class=\"comments-content\" style=\"clear: left;\">\n </mt:CommentsHeader>\n <$mt:Include module=\"コメント詳細\"$>\n <mt:CommentsFooter>\n </div>\n </mt:CommentsFooter>\n </mt:Comments>\n <mt:If tag=\"EntryCommentCount\" gt=\"$comments_per_page\">\n <mt:Ignore>ページネーションスクリプトによって変更されています。</mt:Ignore>\n <ul id=\"comment-nav\">\n <li id=\"prev-comments\">\n <a href=\"javascript://\" id=\"prev-comments-link\" title=\"前\">&lt;&lt;&nbsp;前</a>\n </li>\n <li id=\"num-comments\"><span id=\"current-comments\"></span></li>\n <li id=\"next-comments\">\n <a href=\"javascript://\" id=\"next-comments-link\" title=\"次\">次&nbsp;&gt;&gt;</a>\n </li>\n </ul>\n </mt:If>\n <mt:Unless name=\"comment_preview\">\n <$mt:Include module=\"コメント入力フォーム\"$>\n </mt:Unless>\n</div>\n</mt:IfCommentsActive>\n','custom',0);
1814
+ INSERT INTO `mt_template` VALUES (18,1,0,0,1,1,'2012-02-08 05:45:55','sidebar',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','サイドバー',NULL,1,'\n<div id=\"beta\">\n <div id=\"beta-inner\">\n <$mt:WidgetSet name=\"メインサイドバー\"$>\n <$mt:WidgetSet name=\"アクティビティ\"$>\n </div>\n</div>\n\n','custom',0);
1815
+ INSERT INTO `mt_template` VALUES (19,1,0,0,1,1,'2012-02-08 05:45:55','comment_detail',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','コメント詳細',NULL,1,'\n<div class=\"comment<mt:If name=\"__odd__\"> odd<mt:Else> even</mt:If>\"<mt:IfArchiveTypeEnabled archive_type=\"Individual\"> id=\"comment-<$mt:CommentID$>\"</mt:IfArchiveTypeEnabled>>\n <div class=\"inner\">\n <div class=\"comment-header\">\n <div class=\"asset-meta\">\n <span class=\"byline\">\n <$mt:CommentAuthorIdentity$>\n<mt:IfCommentParent>\n <span class=\"vcard author\"><$mt:CommentAuthorLink$></span>から<a href=\"<mt:CommentParent><$mt:CommentLink$></mt:CommentParent>\"><mt:CommentParent><$mt:CommentAuthor$></mt:CommentParent></a>への返信\n<mt:Else>\n <span class=\"vcard author\"><$mt:CommentAuthorLink$></span>\n</mt:IfCommentParent>\n | <a href=\"<$mt:CommentLink$>\"><abbr class=\"published\" title=\"<$mt:CommentDate format_name=\"iso8601\"$>\"><$mt:CommentDate$></abbr></a>\n<mt:Unless name=\"comment_preview\">\n <mt:IfCommentsAccepted>\n | <$mt:CommentReplyToLink$>\n </mt:IfCommentsAccepted>\n</mt:Unless>\n </span>\n </div>\n </div>\n <div class=\"comment-content\">\n <$mt:CommentBody$>\n </div>\n </div>\n</div>\n\n','custom',0);
1816
+ INSERT INTO `mt_template` VALUES (20,1,0,0,1,1,'2012-02-08 05:45:55','openid',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','OpenID対応',NULL,1,'<mt:IfRegistrationAllowed type=\"OpenID\">\n<div class=\"widget-openid widget\">\n <div class=\"widget-content\">\n <em><strong>OpenID</strong>対応しています</em>\n <a href=\"http://www.movabletype.jp/openid/\">OpenIDについて</a>\n </div>\n</div>\n</mt:IfRegistrationAllowed>\n','widget',0);
1817
+ INSERT INTO `mt_template` VALUES (21,1,0,0,1,1,'2012-02-08 05:45:55','blogs',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','ブログ',NULL,1,'\n<mt:WebsiteHasblog>\n <mt:Blogs lastn=\"3\" include_blogs=\"children\" unique=\"1\">\n <mt:if name=\"__first__\">\n<div class=\"widget-recent-blogs widget-archives widget\">\n <h3 class=\"widget-header\">ブログ</h3>\n <div class=\"widget-content\">\n <dl>\n </mt:if>\n <dt><a href=\"<$mt:BlogURL$>\"><$mt:BlogName$></a></dt>\n <dd class=\"entry-meta\">記事(<mt:blogEntryCount>) コメント(<$mt:BlogCommentCount$>)</dd>\n <mt:If name=\"__last__\">\n </dl>\n </div>\n</div>\n </mt:if>\n </mt:Blogs>\n</mt:WebsiteHasBlog>\n\n\n','widget',0);
1818
+ INSERT INTO `mt_template` VALUES (22,1,0,0,1,1,'2012-02-08 05:45:55','comment_form',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','コメント入力フォーム',NULL,1,'<mt:IfCommentsAccepted>\n<div class=\"comments-open\" id=\"comments-open\">\n <h2 class=\"comments-open-header\">コメントする</h2>\n <div class=\"comments-open-content\">\n <div id=\"comment-greeting\"></div>\n <form method=\"post\" action=\"<$mt:CGIPath$><$mt:CommentScript$>\" name=\"comments_form\" id=\"comments-form\" onsubmit=\"return mtCommentOnSubmit(this)\">\n <input type=\"hidden\" name=\"static\" value=\"1\" />\n <input type=\"hidden\" name=\"entry_id\" value=\"<$mt:EntryID$>\" />\n <input type=\"hidden\" name=\"__lang\" value=\"<$mt:BlogLanguage$>\" />\n <input type=\"hidden\" name=\"parent_id\" value=\"<$mt:CommentParentID$>\" id=\"comment-parent-id\" />\n <input type=\"hidden\" name=\"armor\" value=\"1\" />\n <input type=\"hidden\" name=\"preview\" value=\"\" />\n <input type=\"hidden\" name=\"sid\" value=\"\" />\n <div id=\"comments-open-data\">\n <div id=\"comment-form-name\">\n <label for=\"comment-author\">名前</label>\n <input id=\"comment-author\" name=\"author\" size=\"30\" value=\"<mt:If name=\"comment_preview\"><$mt:CommentAuthor encode_html=\"1\"$></mt:If>\" onfocus=\"mtCommentFormOnFocus()\" />\n </div>\n <div id=\"comment-form-email\">\n <label for=\"comment-email\">電子メール</label>\n <input id=\"comment-email\" name=\"email\" size=\"30\" value=\"<mt:If name=\"comment_preview\"><$mt:CommentEmail encode_html=\"1\"$></mt:If>\" onfocus=\"mtCommentFormOnFocus()\" />\n </div>\n <div id=\"comment-form-url\">\n <label for=\"comment-url\">URL</label>\n <input id=\"comment-url\" name=\"url\" size=\"30\" value=\"<mt:If name=\"comment_preview\"><$mt:CommentURL encode_html=\"1\"$></mt:If>\" onfocus=\"mtCommentFormOnFocus()\" />\n </div>\n<mt:Unless name=\"comment_preview\">\n <div id=\"comment-form-remember-me\">\n <input type=\"checkbox\" id=\"comment-bake-cookie\" name=\"bakecookie\" onclick=\"mtRememberMeOnClick(this)\" value=\"1\" accesskey=\"r\" />\n <label for=\"comment-bake-cookie\">ログイン情報を記憶</label>\n </div>\n</mt:Unless>\n </div>\n <div id=\"comment-form-reply\"<mt:IfCommentParent><mt:Else> style=\"display:none\"</mt:IfCommentParent>>\n <input type=\"checkbox\" id=\"comment-reply\" name=\"comment_reply\" value=\"<$mt:CommentParentID$>\"<mt:IfCommentParent> checked=\"checked\"</mt:IfCommentParent> onclick=\"mtSetCommentParentID()\" />\n <label for=\"comment-reply\" id=\"comment-reply-label\"><mt:IfCommentParent><mt:CommentParent><$mt:CommentAuthor$></mt:CommentParent>からのコメントに返信</mt:IfCommentParent></label>\n </div>\n <div id=\"comments-open-text\">\n <label for=\"comment-text\">コメント\n <mt:IfAllowCommentHTML>(スタイル用のHTMLタグを使えます)</mt:IfAllowCommentHTML></label>\n <textarea id=\"comment-text\" name=\"text\" rows=\"15\" cols=\"50\" onfocus=\"mtCommentFormOnFocus()\"><mt:If name=\"comment_preview\"><$mt:CommentBody autolink=\"0\" sanitize=\"0\" convert_breaks=\"0\" encode_html=\"1\"$></mt:If></textarea>\n </div>\n <div id=\"comments-open-captcha\"></div>\n <div id=\"comments-open-footer\">\n <input type=\"submit\" accesskey=\"v\" name=\"preview_button\" id=\"comment-preview\" value=\"プレビュー\" onclick=\"this.form.preview.value=\'1\';\" />\n <input type=\"submit\" accesskey=\"s\" name=\"post\" id=\"comment-submit\" value=\"投稿\" />\n <mt:If name=\"comment_preview\">\n <input type=\"button\" name=\"cancel\" id=\"comment-cancel\" value=\"キャンセル\" onclick=\"window.location=\'<$mt:EntryPermalink$>\'\" />\n </mt:If>\n </div>\n </form>\n </div>\n</div>\n<script type=\"text/javascript\">\n<!--\nmtAttachEvent(\"load\", mtEntryOnLoad);\nmtAttachEvent(\"unload\", mtEntryOnUnload);\n//-->\n</script>\n</mt:IfCommentsAccepted>\n','custom',0);
1819
+ INSERT INTO `mt_template` VALUES (23,1,0,0,1,1,'2012-02-08 05:45:55','blog_index',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','ブログのメインページ','blogs/index.html',1,'\n<$mt:Var name=\"page_layout\" value=\"layout-wm\"$>\n<$mt:Var name=\"page_title\" value=\"ブログ\"$>\n<mt:SetVarBlock name=\"title\"><$mt:WebsiteName encode_html=\"1\"$></mt:SetVarBlock>\n\n<$mt:Include module=\"ヘッダー\"$>\n\n<h1 id=\"page-title\" class=\"archive-title\"><$mt:Var name=\"page_title\"$></h1>\n\n<mt:Entries include_blogs=\"children\">\n <$mt:Include module=\"ブログ記事の概要\"$>\n</mt:Entries>\n\n<$mt:Include module=\"フッター\"$>\n\n','index',0);
1820
+ INSERT INTO `mt_template` VALUES (24,1,0,0,1,1,'2012-02-08 05:45:55','footer_links',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','フッターのリンク',NULL,1,'\n<div class=\"widget-footer-links widget\">\n <h3 class=\"widget-header\">リンク</h3>\n <div class=\"widget-content\">\n <ul>\n <li><a href=\"<$mt:Link template=\"メインページ\"$>\">ホーム</a></li>\n<mt:Pages tag=\"@footer\">\n <li>&nbsp;&nbsp;|&nbsp;&nbsp;<a href=\"<$mt:PagePermalink$>\"><$mt:PageTitle$></a></li>\n</mt:Pages>\n </ul>\n </div>\n</div>\n\n','custom',0);
1821
+ INSERT INTO `mt_template` VALUES (25,1,0,0,1,1,'2012-02-08 05:45:55','navigation',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','ナビゲーション',NULL,1,'\n<ul>\n <li class=\"first<mt:If name=\"main_index\"> on</mt:If>\"><a href=\"<$mt:Link template=\"メインページ\"$>\">ホーム</a></li>\n\n<mt:WebsiteHasBlog>\n <li class=\"<mt:If name=\"blog_index\"> on</mt:If>\"><a href=\"<$mt:BlogURL$>blogs/\">ブログ</a></li>\n</mt:WebsiteHasBlog>\n\n <mt:Pages tag=\"@topnav\">\n <mt:SetVarBlock name=\"this_page_id\"><$mt:PageID$></mt:SetVarBlock>\n <li class=\"<mt:If name=\"nav_on\" eq=\"$this_page_id\"> on</mt:If>\"><a href=\"<$mt:PagePermalink$>\"><$mt:PageTitle$></a></li>\n </mt:Pages>\n\n <mt:Pages tags=\"@about\" limit=\"1\">\n <mt:SetVarBlock name=\"this_page_id\"><$mt:PageID$></mt:SetVarBlock>\n <li class=\"<mt:If name=\"nav_on\" eq=\"$this_page_id\"> on</mt:If>\"><a href=\"<$mt:PagePermalink$>\"><$mt:PageTitle$></a></li>\n </mt:Pages>\n\n <mt:Pages tags=\"@contact\" limit=\"1\">\n <mt:SetVarBlock name=\"this_page_id\"><$mt:PageID$></mt:SetVarBlock>\n <li class=\"last<mt:If name=\"nav_on\" eq=\"$this_page_id\"> on</mt:If>\"><a href=\"<$mt:PagePermalink$>\"><$mt:PageTitle$></a></li>\n </mt:Pages>\n</ul>\n\n','custom',0);
1822
+ INSERT INTO `mt_template` VALUES (26,1,0,0,1,1,'2012-02-08 05:45:55','comment_response',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','コメント完了',NULL,1,'\n<$mt:Var name=\"page_layout\" value=\"layout-wm\"$>\n<mt:If name=\"comment_confirmation\">\n <$mt:Var name=\"page_title\" value=\"確認\"$>\n <$mt:Var name=\"message\" value=\"<p>コメントを投稿しました。</p>\"$>\n<mt:Else name=\"comment_pending\">\n <$mt:Var name=\"page_title\" value=\"コメントありがとうございます。\"$>\n <$mt:Var name=\"message\" value=\"<p>コメントは現在承認されるまで公開を保留されています。</p>\"$>\n<mt:Else name=\"comment_error\">\n <$mt:Var name=\"page_title\" value=\"コメント投稿エラー\"$>\n <mt:SetVarBlock name=\"message\"><p>コメントを投稿できませんでした。エラー: <$mt:ErrorMessage$></p></mt:SetVarBlock>\n</mt:If>\n<mt:SetVarBlock name=\"title\"><$mt:BlogName encode_html=\"1\"$>: <$mt:Var name=\"page_title\"$></mt:SetVarBlock>\n<mt:SetVarBlock name=\"html_head\">\n <script type=\"text/javascript\">\n /* <![CDATA[ */\n var user = <$mt:UserSessionState$>;\n var is_preview = true;\n /* ]]> */\n </script>\n</mt:SetVarBlock>\n\n<$mt:Include module=\"ヘッダー\"$>\n\n<h1 id=\"page-title\"><$mt:Var name=\"page_title\"$></h1>\n<$mt:Var name=\"message\"$>\n<p><a href=\"<mt:If name=\"comment_error\">javascript:history.back()<mt:Else><$mt:EntryLink$></mt:If>\">元の記事</a>に戻る</p>\n\n<$mt:Include module=\"フッター\"$>\n\n','comment_response',0);
1823
+ INSERT INTO `mt_template` VALUES (27,1,0,0,1,1,'2012-02-08 05:45:55','entry_metadata',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','ブログ記事のメタデータ',NULL,1,'<div class=\"asset-meta\">\n <span class=\"byline\">\n<mt:If tag=\"EntryAuthorDisplayName\">\n <span class=\"vcard author\"><$mt:EntryAuthorLink show_hcard=\"1\"$></span> (<abbr class=\"published\" title=\"<$mt:EntryDate format_name=\"iso8601\"$>\"><$mt:EntryDate format=\"%x %X\"$></abbr>)\n<mt:Else>\n <abbr class=\"published\" title=\"<$mt:EntryDate format_name=\"iso8601\"$>\"><$mt:EntryDate format=\"%x %X\"$></abbr>\n</mt:If>\n </span>\n<mt:Unless name=\"hide_counts\" eq=\"1\">\n <mt:IfCommentsActive><span class=\"separator\">|</span> <a href=\"<$mt:EntryPermalink$>#comments\"><$mt:EntryCommentCount singular=\"コメント(1)\" plural=\"コメント(#)\"$></a></mt:IfCommentsActive>\n <mt:IfPingsActive><span class=\"separator\">|</span> <a href=\"<$mt:EntryPermalink$>#trackbacks\"><$mt:EntryTrackbackCount singular=\"トラックバック(1)\" plural=\"トラックバック(#)\"$></a></mt:IfPingsActive>\n</mt:Unless>\n</div>\n','custom',0);
1824
+ INSERT INTO `mt_template` VALUES (28,1,0,0,1,1,'2012-02-08 05:45:55','syndication',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','購読',NULL,1,'<div class=\"widget-syndication widget\">\n <div class=\"widget-content\">\n <ul>\n <li><img src=\"<$mt:StaticWebPath$>images/status_icons/feed.gif\" alt=\"購読する\" width=\"9\" height=\"9\" /> <a href=\"<$mt:Link template=\"feed_recent\"$>\">ウェブサイトを購読</a></li>\n<mt:If name=\"search_results\">\n <mt:If tag=\"SearchString\">\n <li class=\"search-results-feed\"><img src=\"<$mt:StaticWebPath$>images/status_icons/feed.gif\" alt=\"購読する\" width=\"9\" height=\"9\" /> <a href=\"<$mt:CGIPath$><$mt:SearchScript$>?<mt:IfTagSearch>tag<mt:else>search</mt:IfTagSearch>=<$mt:SearchString encode_url=\"1\"$>&amp;Template=feed&amp;IncludeBlogs=<$mt:SearchIncludeBlogs$>&amp;limit=<$mt:SearchMaxResults$>\" title=\"<mt:IfTagSearch>「<$mt:SearchString$>」の検索結果を購読<mt:Else>タグ「<$mt:SearchString$>」を購読</mt:IfTagSearch>\"><mt:IfTagSearch>タグ「<$mt:SearchString$>」のフィード<mt:Else>「<$mt:SearchString$>」を検索した結果のフィード</mt:IfTagSearch></a></li>\n </mt:If>\n</mt:If>\n </ul>\n </div>\n</div>\n','widget',0);
1825
+ INSERT INTO `mt_template` VALUES (29,1,0,0,1,1,'2012-02-08 05:45:55','dynamic_error',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','ダイナミックパブリッシングエラー',NULL,1,'\n<mt:SetVarBlock name=\"page_title\">ページが見つかりません。</mt:SetVarBlock>\n<mt:SetVarBlock name=\"title\"><$mt:BlogName encode_html=\"1\"$>: <$mt:Var name=\"page_title\"$></mt:SetVarBlock>\n\n<$mt:Include module=\"ヘッダー\" body_class=\"mt-dynamic-error\"$>\n\n<h1 id=\"page-title\"><$mt:Var name=\"page_title\"$></h1>\n<blockquote>\n <strong><$mt:ErrorMessage$></strong>\n</blockquote>\n\n<$mt:Include module=\"フッター\"$>\n\n','dynamic_error',0);
1826
+ INSERT INTO `mt_template` VALUES (30,1,0,0,1,1,'2012-02-08 05:45:55','javascript',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','JavaScript','mt.js',1,'<mt:Ignore>\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</mt:Ignore>\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<mt:Ignore>\n/***\n * Simple routine for showing a DOM element (applying a CSS display\n * attribute of \'none\').\n */\n</mt:Ignore>\nfunction mtHide(id) {\n var el = (typeof id == \"string\") ? document.getElementById(id) : id;\n if (el) el.style.display = \'none\';\n}\n\n<mt:Ignore>\n/***\n * Simple routine for showing a DOM element (applying a CSS display\n * attribute of \'block\').\n */\n</mt:Ignore>\nfunction mtShow(id) {\n var el = (typeof id == \"string\") ? document.getElementById(id) : id;\n if (el) el.style.display = \'block\';\n}\n\n<mt:Ignore>\n/***\n * A utility function for assigning/adding handlers to window events.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Calls the event named, if there are handlers for it.\n */\n</mt:Ignore>\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<length;i+=1){partial[i]=str(i,value)||\'null\';}v=partial.length===0?\'[]\':gap?\'[\\n\'+gap+partial.join(\',\\n\'+gap)+\'\\n\'+mind+\']\':\'[\'+partial.join(\',\')+\']\';gap=mind;return v;}if(rep&&typeof rep===\'object\'){length=rep.length;for(i=0;i<length;i+=1){k=rep[i];if(typeof k===\'string\'){v=str(k,value);if(v){partial.push(quote(k)+(gap?\': \':\':\')+v);}}}}else{for(k in value){if(Object.hasOwnProperty.call(value,k)){v=str(k,value);if(v){partial.push(quote(k)+(gap?\': \':\':\')+v);}}}}v=partial.length===0?\'{}\':gap?\'{\\n\'+gap+partial.join(\',\\n\'+gap)+\'\\n\'+mind+\'}\':\'{\'+partial.join(\',\')+\'}\';gap=mind;return v;}}if(typeof JSON.stringify!==\'function\'){JSON.stringify=function(value,replacer,space){var i;gap=\'\';indent=\'\';if(typeof space===\'number\'){for(i=0;i<space;i+=1){indent+=\' \';}}else if(typeof space===\'string\'){indent=space;}rep=replacer;if(replacer&&typeof replacer!==\'function\'&&(typeof replacer!==\'object\'||typeof replacer.length!==\'number\')){throw new Error(\'JSON.stringify\');}return str(\'\',{\'\':value});};}if(typeof JSON.parse!==\'function\'){JSON.parse=function(text,reviver){var j;function walk(holder,key){var k,v,value=holder[key];if(value&&typeof value===\'object\'){for(k in value){if(Object.hasOwnProperty.call(value,k)){v=walk(value,k);if(v!==undefined){value[k]=v;}else{delete value[k];}}}}return reviver.call(holder,key,value);}cx.lastIndex=0;if(cx.test(text)){text=text.replace(cx,function(a){return\'\\\\u\'+(\'0000\'+a.charCodeAt(0).toString(16)).slice(-4);});}if(/^[\\],:{}\\s]*$/.test(text.replace(/\\\\(?:[\"\\\\\\/bfnrt]|u[0-9a-fA-F]{4})/g,\'@\').replace(/\"[^\"\\\\\\n\\r]*\"|true|false|null|-?\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d+)?/g,\']\').replace(/(?:^|:|,)(?:\\s*\\[)+/g,\'\'))){j=eval(\'(\'+text+\')\');return typeof reviver===\'function\'?walk({\'\':j},\'\'):j;}throw new SyntaxError(\'JSON.parse\');};}}());\n\nvar MT = window.MT || {};\n\nMT.cons = function () {\n return {\n LOG : \'log\',\n WARN : \'warn\',\n DEBUG : \'debug\',\n INFO : \'info\',\n ERR : \'error\',\n JSON : \'json\'\n };\n}();\n\n<mt:Ignore>\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</mt:Ignore>\nMT.core = function (o) {\n var _debug = false;\n \n return {\n <mt:Ignore>\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 </mt:Ignore>\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 <mt:Ignore>\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 </mt:Ignore>\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<mt:Ignore>\n/**\n * Utilities class\n * \n * @package MT\n * @class util\n * @global\n * Options:\n */\n</mt:Ignore>\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 <mt:Ignore>\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 </mt:Ignore>\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 <mt:Ignore>\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 </mt:Ignore>\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<mt:Ignore>\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</mt:Ignore>\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 <mt:Ignore>\n /**\n * Initializes variables to their initial values\n * \n * @return void\n */\n </mt:Ignore>\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 = \"<img title=\'Loading...\' src=\'<$MTStaticWebPath$>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 <mt:Ignore>\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 </mt:Ignore>\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 <mt:Ignore>\n /**\n * Sets commentsOffset (i.e. the offset number to the remote list)\n * \n * @return void\n */\n </mt:Ignore>\n function _setCommentOffset() {\n commentsOffset = commentsPerPage * (pageNum-1);\n }\n \n <mt:Ignore>\n /**\n * Gets the commentsOffset (i.e. the offset number to the remote list)\n * \n * @return void\n */\n </mt:Ignore>\n function _getCommentOffset() {\n return commentsOffset;\n }\n \n <mt:Ignore>\n /**\n * General event handler\n * \n * @param {Event} e The event object\n * @return void\n */\n </mt:Ignore>\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 <mt:Ignore>\n /**\n * Toggles the visibility of the navigation links\n * \n * @return void\n */\n </mt:Ignore>\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 <mt:Ignore>\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 </mt:Ignore>\n function _nextPage () {\n if(pageNum < commentsTotalPages) {\n pageNum++;\n _updateComments();\n }\n }\n \n <mt:Ignore>\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 </mt:Ignore>\n function _previousPage() {\n if(pageNum > 1) {\n pageNum--;\n _updateComments();\n }\n }\n \n <mt:Ignore>\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 </mt:Ignore>\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 <mt:Ignore>\n /**\n * Sets the current comment counts on the page\n *\n * @return void\n */\n </mt:Ignore>\n function _setCurrentComments() {\n var commentsOnPage = pageNum != commentsTotalPages ? commentsOffset + commentsPerPage : totalComments;\n \n _setCurrentCommentsContent([commentsOffset+1,\" - \",commentsOnPage].join(\'\'));\n }\n \n <mt:Ignore>\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 </mt:Ignore>\n function _setCurrentCommentsContent(currentCommentsHTML) {\n currentCommentsSpan.innerHTML = currentCommentsHTML;\n topCurrentCommentsSpan.innerHTML = currentCommentsHTML;\n }\n \n <mt:Ignore>\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 </mt:Ignore>\n function _setCommentContent(commentHTML) {\n commentContentDiv.innerHTML = commentHTML;\n }\n \n <mt:Ignore>\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 </mt:Ignore>\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 <mt:Ignore>\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 </mt:Ignore>\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<mt:Ignore>\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</mt:Ignore>\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<mt:Ignore>\n/***\n * Used to display an edit link for the given entry.\n */\n</mt:Ignore>\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 = \'<a href=\"<$mt:AdminScript$>?__mode=view&amp;_type=entry&amp;id=\' + entry_id + \'\">編集</a>\';\n document.write(link);\n}\n\n<mt:Ignore>\n/***\n * Called when an input field on the comment form receives focus.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Displays a captcha field for anonymous commenters.\n */\n</mt:Ignore>\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<mt:Ignore>\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</mt:Ignore>\n\nvar is_preview;\nvar user;\n<mt:Ignore>\n/***\n * Assigns a user object as the actively logged in user; also saves the\n * user information in a browser cookie.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Simple function that escapes single quote characters for storing\n * in a cookie.\n */\n</mt:Ignore>\nfunction mtEscapeJS(s) {\n s = s.replace(/\'/g, \"&apos;\");\n return s;\n}\n\n<mt:Ignore>\n/***\n * Simple function that unescapes single quote characters that were\n * stored in a cookie.\n */\n</mt:Ignore>\nfunction mtUnescapeJS(s) {\n s = s.replace(/&apos;/g, \"\'\");\n return s;\n}\n\n<mt:Ignore>\n/***\n * Serializes a user object into a string, suitable for storing as a cookie.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Unserializes a user cookie and returns a user object with the restored\n * state.\n */\n</mt:Ignore>\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<mt:Ignore>\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</mt:Ignore>\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<mt:Ignore>\n/***\n * Issues a request to the MT comment script to retrieve the currently\n * logged-in user (if any).\n */\n</mt:Ignore>\nvar mtFetchedUser = false;\n<mt:IfWebsite>\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</mt:IfWebsite>\n\n<mt:Ignore>\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</mt:Ignore>\nfunction mtRememberMeOnClick(b) {\n if (!b.checked)\n mtClearUser(b.form);\n return true;\n}\n\n<mt:Ignore>\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</mt:Ignore>\n<mt:IfWebsite>\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<mt:IfRegistrationRequired>\n mtShow(\'comments-form\');\n mtHide(\'comments-open-footer\');\n</mt:IfRegistrationRequired>\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<mt:IfRegistrationRequired>\n mtHide(\'comments-form\');\n</mt:IfRegistrationRequired>\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</mt:IfWebsite>\n\n<mt:Ignore>\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</mt:Ignore>\n<mt:IfWebsite>\nfunction mtEntryOnLoad() {\n var cf = document[\'comments_form\'];\n if (cf && cf.preview) cf.preview.value = \'\';\n <mt:Unless tag=\"IfPingsAccepted\">mtHide(\'trackbacks-info\');</mt:Unless>\n <mt:Unless tag=\"IfCommentsAccepted\">mtHide(\'comments-open\');</mt:Unless>\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</mt:IfWebsite>\n\n<mt:Ignore>\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</mt:Ignore>\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 = \'サインインします... <span class=\"status-indicator\">&nbsp;</span>\';\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<mt:Ignore>\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</mt:Ignore>\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<mt:Ignore>\n/***\n * Handles the action of the \"Sign out\" link.\n */\n</mt:Ignore>\nfunction mtSignOutOnClick() {\n mtSignOut();\n return false;\n}\n\n<mt:Ignore>\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</mt:Ignore>\n<mt:IfWebsite>\nfunction mtShowGreeting() {\n<mt:IfRegistrationAllowed>\n var reg_reqd = <mt:IfRegistrationRequired>true<mt:Else>false</mt:IfRegistrationRequired>;\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 href=\\\"javas\\cript:void(0);\\\" onclick=\\\"return mtSignOutOnClick();\\\"\\>サインアウトする\\<\\/a\\>)\';\n } else {\n var user_link;\n if ( u.is_author ) {\n user_link = \'<a href=\"<$mt:CGIPath$><$mt:CommentScript$>?__mode=edit_profile&return_url=\' + encodeURIComponent( location.href );\n user_link += \'\">\' + u.name + \'</a>\';\n } else {\n // registered user, but not a user with posting rights\n if (u.url)\n user_link = \'<a href=\"\' + u.url + \'\">\' + u.name + \'</a>\';\n else\n user_link = u.name;\n }\n // TBD: supplement phrase with userpic if one is available.\n phrase = \'__NAME__としてサインインしています。(\\<a href=\\\"javas\\cript:void(0)\\\" onclick=\\\"return mtSignOutOnClick();\\\"\\>サインアウト\\<\\/a\\>)\';\n phrase = phrase.replace(/__NAME__/, user_link);\n }\n } else {\n if (reg_reqd) {\n phrase = \'コメントするにはまず\\<a href=\\\"javas\\cript:void(0)\\\" onclick=\\\"return mtSignInOnClick(\\\'comment-greeting\\\')\\\"\\>サインイン\\<\\/a\\>してください。\';\n } else {\n phrase = \'コメントする前に\\<a href=\\\"javas\\cript:void(0)\\\" onclick=\\\"return mtSignInOnClick(\\\'comment-greeting\\\')\\\"\\>サインイン\\<\\/a\\>することもできます。\';\n }\n }\n el.innerHTML = phrase;\n<mt:Else>\n mtShowCaptcha();\n</mt:IfRegistrationAllowed>\n}\n</mt:IfWebsite>\n\n<mt:Ignore>\n/***\n * Handles the action of the \'Reply\' links.\n */\n</mt:Ignore>\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 = \'\\<a href=\\\"#comment-__PARENT__\\\" onclick=\\\"location.href=this.href; return false\\\"\\>__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<mt:Ignore>\n/***\n * Sets the parent comment ID when replying to a comment.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Persists a copy of the current user cookie into the browser cookie stash.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Clears the blog-side user cookie.\n */\n</mt:Ignore>\nfunction mtClearUser() {\n user = null;\n mtDeleteCookie(mtCookieName, mtCookiePath, mtCookieDomain,\n location.protocol == \'https:\');\n}\n\n<mt:Ignore>\n/***\n * Sets a browser cookie.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Retrieves a browser cookie.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Deletes a browser cookie.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Returns a XMLHttpRequest object (for Ajax operations).\n */\n</mt:Ignore>\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(\"<script id=__ie_onload defer src=javascript:void(0)><\\/script>\");\nvar script = document.getElementById(\"__ie_onload\");\nscript.onreadystatechange = function() {\n if (this.readyState == \"complete\") {\n mtInit(); // call the onload handler\n }\n};\n/*@end @*/\n\n/* for Safari */\nif (/WebKit/i.test(navigator.userAgent)) { // sniff\n _timer = setInterval(function() {\n if (/loaded|complete/.test(document.readyState)) {\n mtInit(); // call the onload handler\n }\n }, 10);\n}\n\n/* for other browsers */\nwindow.onload = mtInit;\n\n// END: fast browser onload init\n\n<mt:IfWebsite>\n<mt:IfRegistrationAllowed>\n/***\n * If request contains a \'#_login\' or \'#_logout\' hash, use this to\n * also delete the blog-side user cookie, since we\'re coming back from\n * a login, logout or edit profile operation.\n */\nvar clearCookie = ( window.location.hash && window.location.hash.match( /^#_log(in|out)/ ) ) ? true : false;\nif (clearCookie) {\n // clear any logged in state\n mtClearUser();\n if (RegExp.$1 == \'in\')\n mtFetchUser();\n} else {\n <mt:Ignore>\n /***\n * Uncondition this call to fetch the current user state (if available)\n * from MT upon page load if no user cookie is already present.\n * This is okay if you have a private install, such as an Intranet;\n * not recommended for public web sites!\n */\n </mt:Ignore>\n if ( is_preview && !user )\n mtFetchUser();\n}\n</mt:IfRegistrationAllowed>\n</mt:IfWebsite>\n','index',0);
1827
+ INSERT INTO `mt_template` VALUES (31,1,0,0,1,1,'2012-02-08 05:45:55','recent_entries_expanded',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','最近のブログ記事 (拡張)',NULL,1,'\n<mt:IfNonZero tag=\"BlogEntryCount\" include_blogs=\"children\">\n <mt:Entries lastn=\"3\" include_blogs=\"children\" unique=\"1\">\n <mt:EntriesHeader>\n<div class=\"widget-recent-entries widget-archives widget\">\n <h3 class=\"widget-header\">最近のブログ記事</h3>\n <div class=\"widget-content\">\n <dl>\n </mt:EntriesHeader>\n <dt><a href=\"<$mt:EntryPermalink$>\"><$mt:EntryTitle$></a></dt>\n <mt:if name=\"main_index\">\n <dd><$mt:EntryBody words=\"20\" convert_breaks=\"1\"$>&hellip;</dd>\n </mt:if>\n <dd class=\"entry-blog\"><a href=\"<$mt:EntryBlogURL$>\"><$mt:EntryBlogName$></a>ブログ上</dd>\n <dd class=\"entry-meta\"><mt:If tag=\"EntryAuthorDisplayName\"><$mt:EntryAuthorDisplayName encode_html=\"1\"$><mt:Else><$mt:EntryAuthorUsername encode_html=\"1\"$></mt:If> | コメント(<$mt:EntryCommentCount$>)</dd>\n <mt:EntriesFooter>\n </dl>\n </div>\n</div>\n </mt:EntriesFooter>\n </mt:Entries>\n</mt:IfNonZero>\n\n','widget',0);
1828
+ INSERT INTO `mt_template` VALUES (32,1,0,0,1,1,'2012-02-08 05:45:55','page_detail',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','ウェブページの詳細',NULL,1,'<div id=\"page-<$mt:PageID$>\" class=\"page-asset asset\">\n <div class=\"asset-header\">\n <h1 id=\"page-title\" class=\"asset-name\"><$mt:PageTitle$></h1>\n </div>\n <div class=\"asset-content\">\n<mt:If tag=\"PageBody\">\n <div class=\"asset-body\">\n <$mt:PageBody$>\n </div>\n</mt:If>\n<mt:If tag=\"PageMore\" convert_breaks=\"0\">\n <div id=\"more\" class=\"asset-more\">\n <$mt:PageMore$>\n </div>\n</mt:If>\n </div>\n <div class=\"asset-footer\"></div>\n</div>\n','custom',0);
1829
+ INSERT INTO `mt_template` VALUES (33,1,0,0,1,1,'2012-02-08 05:45:55','comment_listing',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','コメント一覧',NULL,1,'{\n \"direction\": \"<mt:Var name=\"commentDirection\">\",\n \"comments\": \"<mt:Comments sort_order=\"$commentDirection\"><$mt:Include module=\"コメント詳細\" replace=\"\\\",\"\\\\\" replace=\'\"\',\'\\\"\' strip_linefeeds=\"1\"$></mt:Comments>\"\n}','comment_listing',0);
1830
+ INSERT INTO `mt_template` VALUES (34,1,0,0,1,1,'2012-02-08 05:45:55','header',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','ヘッダー',NULL,1,'<$mt:WebsiteID setvar=\"website_id\"$>\n\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" id=\"sixapart-standard\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=<$mt:PublishCharset$>\" />\n <meta name=\"generator\" content=\"<$mt:ProductName version=\"1\"$>\" />\n <link rel=\"stylesheet\" href=\"<$mt:Link template=\"styles\"$>\" type=\"text/css\" />\n <link rel=\"start\" href=\"<$mt:WebsiteURL$>\" title=\"ホーム\" />\n <link rel=\"alternate\" type=\"application/atom+xml\" title=\"Recent Entries\" href=\"<$mt:Link template=\"feed_recent\"$>\" />\n <script type=\"text/javascript\" src=\"<$mt:Link template=\"javascript\"$>\"></script>\n <$mt:Var name=\"html_head\"$>\n <script type=\"text/javascript\">\n var adminurl = \'<$mt:CGIPath$>\' + \'<$mt:AdminScript$>\';\n var blog_id = \'<$mt:WebsiteID$>\';\n var page_id = \'<mt:IfArchiveType archive_type=\"Page\"><$mt:PageID$><mt:Else><mt:Pages tag=\"@home\"><$mt:PageID$></mt:Pages></mt:IfArchiveType>\';\n </script>\n <$mt:CCLicenseRDF$>\n <title><$mt:Var name=\"title\"$></title>\n</head>\n<body id=\"<$mt:BlogTemplateSetID$>\" class=\"<$mt:Var name=\"body_class\"$> <$mt:Var name=\"page_layout\"$>\">\n <div id=\"container\">\n <div id=\"container-inner\">\n <div id=\"header\">\n <div id=\"header-inner\">\n <div id=\"header-content\">\n<mt:If name=\"main_index\">\n <h1 id=\"header-name\"><a href=\"<$mt:WebsiteURL$>\" accesskey=\"1\"><$mt:WebsiteName encode_html=\"1\"$></a></h1>\n <h2 id=\"header-description\"><$mt:WebsiteDescription$></h2>\n<mt:Else>\n <div id=\"header-name\"><a href=\"<$mt:WebsiteURL$>\" accesskey=\"1\"><$mt:WebsiteName encode_html=\"1\"$></a></div>\n <div id=\"header-description\"><$mt:WebsiteDescription$></div>\n</mt:If>\n <$mt:Include module=\"サインイン\" $>\n </div>\n </div>\n </div>\n <div id=\"main-navigation\">\n <div id=\"main-navigation-inner\">\n <$mt:Include module=\"ナビゲーション\" $>\n <$mt:Include module=\"検索\" $>\n </div>\n </div>\n<mt:Unless name=\"main_index\">\n <div id=\"breadcrumbs\">\n <div id=\"breadcrumbs-inner\">\n <p id=\"breadcrumbs-content\">\n <a href=\"<$mt:WebsiteURL$>\"><$mt:WebsiteName encode_html=\"1\"$></a> &gt; \n <mt:if name=\"page_archive\">\n <a href=\"<$mt:PagePermalink$>\" class=\"current\"><$mt:PageTitle$></a>\n <mt:Else>\n <$mt:Var name=\"page_title\"$>\n </mt:if>\n </p>\n </div>\n </div>\n</mt:Unless>\n <div id=\"content\">\n <div id=\"content-inner\">\n<mt:If name=\"main_index\">\n <div id=\"homepage-image\">&nbsp;</div>\n</mt:If>\n <div id=\"alpha\">\n <div id=\"alpha-inner\">\n\n','custom',0);
1831
+ INSERT INTO `mt_template` VALUES (35,1,0,0,1,1,'2012-02-08 05:45:55','main_index',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','メインページ','index.html',1,'\n<$mt:Var name=\"page_layout\" value=\"layout-wm\"$>\n\n<mt:SetVarBlock name=\"html_head\">\n <link rel=\"EditURI\" type=\"application/rsd+xml\" title=\"RSD\" href=\"<$mt:Link template=\"rsd\"$>\" />\n</mt:SetVarBlock>\n<mt:SetVarBlock name=\"title\"><$mt:BlogName encode_html=\"1\"$></mt:SetVarBlock>\n\n<$mt:Include module=\"ヘッダー\" body_class=\"mt-main-index\"$>\n\n<mt:Pages tag=\"@home\" lastn=\"1\">\n<h1 id=\"page-title\" class=\"asset-name\"><$mt:PageTitle$></h1>\n<$mt:PageBody$>\n</mt:Pages>\n\n<$mt:Include module=\"フッター\"$>\n','index',0);
1832
+ INSERT INTO `mt_template` VALUES (36,1,0,0,1,1,'2012-02-08 05:45:55','main_sidebar',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','メインサイドバー',NULL,1,'<mt:include widget=\"ブログ\"><mt:include widget=\"タグクラウド\">','widgetset',0);
1833
+ INSERT INTO `mt_template` VALUES (37,1,0,0,1,1,'2012-02-08 05:45:55','blog_activity',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','アクティビティ',NULL,1,'<mt:include widget=\"最近のブログ記事 (拡張)\"><mt:include widget=\"OpenID対応\"><mt:include widget=\"購読\">','widgetset',0);
1834
+ INSERT INTO `mt_template` VALUES (38,0,0,0,1,1,'2012-02-08 05:45:55','profile_view',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','プロフィール',NULL,1,'\n<$mt:Var name=\"page_layout\" value=\"layout-wt\"$>\n<mt:IfBlog>\n <mt:SetVarBlock name=\"blog_name\"><$mt:BlogName encode_html=\"1\"$></mt:SetVarBlock>\n <mt:SetVarBlock name=\"page_title\">ユーザーのプロフィール</mt:SetVarBlock>\n <mt:SetVarBlock name=\"title\"><mt:If name=\"blog_id\"><$mt:Var name=\"blog_name\"$>: </mt:If><$mt:Var name=\"page_title\"$>: <$mt:AuthorDisplayName encode_html=\"1\"$></mt:SetVarBlock>\n<mt:Else>\n <mt:SetVarBlock name=\"blog_name\">ブログ名</mt:SetVarBlock>\n <mt:SetVarBlock name=\"page_title\">ユーザーのプロフィール</mt:SetVarBlock>\n <mt:SetVarBlock name=\"title\"><mt:If name=\"blog_id\"><$mt:Var name=\"blog_name\"$>: </mt:If><$mt:Var name=\"page_title\"$>: <$mt:AuthorDisplayName encode_html=\"1\"$></mt:SetVarBlock>\n</mt:IfBlog>\n<$mt:Var name=\"hide_signout_link\" value=\"1\"$>\n<mt:SetVarBlock name=\"html_head\">\n<link type=\"application/atom+xml\" rel=\"alternate\" title=\"最近の<$mt:AuthorDisplayName encode_html=\"1\"$>のアクション\" href=\"<$mt:CGIPath$><$mt:CommunityScript$>?__mode=feed&amp;_type=actions&amp;blog_id=<$mt:BlogID$>&amp;id=<$mt:AuthorID$>\" />\n<link type=\"application/atom+xml\" rel=\"alternate\" title=\"<$mt:AuthorDisplayName encode_html=\"1\"$>の最近のブログ記事\" href=\"<$mt:CGIPath$><$mt:CommunityScript$>?__mode=feed&amp;_type=posts&amp;blog_id=<$mt:BlogID$>&amp;id=<$mt:AuthorID$>\" />\n<link type=\"application/atom+xml\" rel=\"alternate\" title=\"<$mt:AuthorDisplayName encode_html=\"1\"$>からのコメント\" href=\"<$mt:CGIPath$><$mt:CommunityScript$>?__mode=feed&amp;_type=comments&amp;blog_id=<$mt:BlogID$>&amp;id=<$mt:AuthorID$>\" />\n<link type=\"application/atom+xml\" rel=\"alternate\" title=\"<$mt:AuthorDisplayName encode_html=\"1\"$>のコメントへの返信\" href=\"<$mt:CGIPath$><$mt:CommunityScript$>?__mode=feed&amp;_type=replies&amp;blog_id=<$mt:BlogID$>&amp;id=<$mt:AuthorID$>\" />\n<script type=\"text/javascript\">\n<!--\nfunction relations(following, followed, u) {\n mtSetUser(u);\n if ( u && u.name )\n conditional_block(<mt:If name=\"profile_self\">true<mt:Else>false</mt:If>, \'edit_profile\');\n<mt:If name=\"profile_self\">\n var a = document.getElementById(\'edit_profile_link\');\n a.href = \'<$mt:CGIPath$><$mt:CommunityScript$>?__mode=edit&blog_id=<$mt:BlogID$>&return_to=\' + encodeURIComponent(document.URL);\n</mt:If>\n conditional_block(followed, \'followed_<$mt:AuthorID$>\');\n conditional_block(following, \'following_<$mt:AuthorID$>\');\n}\n//-->\n</script>\n</mt:SetVarBlock>\n\n<$mt:Include module=\"ヘッダー\" body_class=\"mt-profile-view\"$>\n\n<$mt:Include module=\"プロフィール画像\" userpic_type=\"profile\" userpic_size=\"90\"$>\n\n<h1 id=\"page-title\"><$mt:AuthorDisplayName encode_html=\"1\"$></h1>\n\n<mt:IfLoggedIn element_id=\"edit_profile\">\n<p><a id=\"edit_profile_link\" href=\"#\">ユーザー情報の編集</a></p>\n<mt:Else>\n<p class=\"edit-relation\">\n <span id=\"following-status\"></span>\n <mt:AuthorIfFollowing script=\"0\">\n <$mt:AuthorDisplayName encode_html=\"1\"$>に注目しています。 <$mt:AuthorUnfollowLink text=\"注目をやめる\"$>\n <mt:Else>\n <$mt:AuthorFollowLink text=\"注目する\"$>\n </mt:AuthorIfFollowing>\n&nbsp;</p>\n\n <mt:Ignore>\n <mt:AuthorIfFollowed script=\"0\">\n<p><$mt:AuthorDisplayName encode_html=\"1\"$>に注目されています。</p>\n <mt:Else>\n<p><$mt:AuthorDisplayName encode_html=\"1\"$>は注目していません。</p>\n </mt:AuthorIfFollowed>\n </mt:Ignore>\n\n <mt:SetVarBlock name=\"html_body_footer\" append=\"1\">\n <script type=\"text/javascript\" src=\"<$mt:CGIPath$><$mt:CommunityScript$>?__mode=relations_js&author_id=<$mt:AuthorID$><mt:If name=\"blog_id\">&blog_id=<$mt:Var name=\"blog_id\"$></mt:If>\"></script>\n </mt:SetVarBlock>\n</mt:IfLoggedIn>\n\n<ul id=\"profile-data\">\n<mt:If tag=\"AuthorURL\">\n <li><strong>ウェブサイト</strong> <a href=\"<$mt:AuthorURL encode_html=\"1\"$>\" target=\"_blank\"><$mt:AuthorURL regex_replace=\"/^\\w+:\\/\\//\",\"\" encode_html=\"1\"$></a></li>\n</mt:If>\n<mt:Loop name=\"field_loop\">\n <mt:If name=\"value\">\n <li><strong><$mt:Var name=\"name\" escape=\"html\"$>:</strong><mt:If name=\"type\" eq=\"datetime\"><$mt:Var name=\"field_value\"$><mt:Else><$mt:Var name=\"field_value\" sanitize=\"1\"$></mt:If></li>\n </mt:If>\n</mt:Loop>\n</ul>\n\n<ul id=\"tabs\"> \n <li><a href=\"#profile-recent-actions\" class=\"active\" onclick=\"switchTabs(\'tabs\',this)\">最近のアクション</a></li> \n <li><a href=\"#profile-comment-threads\" class=\"\" onclick=\"switchTabs(\'tabs\',this)\">コメントスレッド</a></li> \n</ul>\n\n<div id=\"profile-recent-actions\" class=\"tab_content\"> \n <h3 class=\"tab_content_label\">最近のアクション</h3>\n\n<mt:Actions namespace=\"community_pack_recommend\" include_blogs=\"all\" sort_order=\"descend\" lastn=\"30\">\n <mt:ActionsHeader>\n <ul class=\"recent-actions\">\n </mt:ActionsHeader>\n <mt:ActionsEntry>\n <li class=\"entry icon-entry\">\n <a href=\"<$mt:EntryBlogURL$>\" class=\"icon-blog\"><$mt:EntryBlogName$></a>に<a href=\"<$mt:EntryLink$>\"><$mt:EntryTitle encode_html=\"1\"$></a>を作成しました。\n <div class=\"excerpt\"><$mt:EntryExcerpt$></div>\n </li>\n </mt:ActionsEntry>\n <mt:ActionsComment>\n <li class=\"comment icon-comment\">\n <mt:CommentEntry><a href=\"<$mt:CommentLink$>\"><$mt:EntryTitle encode_html=\"1\"$></a></mt:CommentEntry>にコメントしました。\n <div class=\"excerpt\"><$mt:CommentBody words=\"40\"$>...</div>\n </li>\n </mt:ActionsComment>\n <mt:ActionsFavorite>\n <li class=\"score icon-score\">\n <a href=\"<$mt:EntryBlogURL$>\" class=\"icon-blog\"><$mt:EntryBlogName$></a>の<a href=\"<$mt:EntryLink$>\"><$mt:EntryTitle encode_html=\"1\"$></a>をお気に入りに追加しました。\n </li>\n </mt:ActionsFavorite>\n <mt:ActionsFooter>\n </ul>\n </mt:ActionsFooter>\n<mt:Else>\n <p class=\"note\">最近アクションはありません</p>\n\n</mt:Actions>\n\n<img src=\"<$mt:StaticWebPath$>images/status_icons/feed.gif\" alt=\"購読する\" /> <a href=\"<$mt:CGIPath$><$mt:CommunityScript$>?__mode=feed&amp;_type=actions&amp;blog_id=<$mt:BlogID$>&amp;id=<$mt:AuthorID$>\">最近の<$mt:AuthorDisplayName encode_html=\"1\"$>のアクション</a>\n</div>\n\n<div id=\"profile-comment-threads\" class=\"tab_content hidden\"> \n <h3 class=\"tab_content_label\">コメントスレッド</h3>\n\n<mt:AuthorCommentResponses lastn=\"5\"> \n <mt:CommentsHeader> \n <ul class=\"recent-actions\"> \n </mt:CommentsHeader> \n <li class=\"comment icon-comment\">\n <a href=\"<$mt:Var name=\"profile_view_url\" encode_html=\"1\"$><$mt:CommenterID$>\"><$mt:CommenterName encode_html=\"1\"$></a>のコメント: \n <mt:CommentEntry><a href=\"<$mt:CommentLink$>\"><$mt:EntryTitle encode_html=\"1\"$></a></mt:CommentEntry>\n <div class=\"excerpt\"><$mt:CommentBody words=\"100\"$>...</div>\n <mt:CommentsFooter> \n </ul> \n </mt:CommentsFooter> \n<mt:Else> \n <p class=\"note\">コメントへの返信がありません。</p> \n</mt:AuthorCommentResponses> \n<img src=\"<$mt:StaticWebPath$>images/status_icons/feed.gif\" alt=\"購読する\" /> <a href=\"<$mt:CGIPath$><$mt:CommunityScript$>?__mode=feed&_type=replies&blog_id=<$mt:BlogID$>&id=<$mt:AuthorID$>\"><$mt:AuthorDisplayName encode_html=\"1\"$>のコメントへの返信</a>\n\n</div>\n\n<mt:SetVarBlock name=\"profile_widgets\">\n<div class=\"widget-following widget\">\n <h3 class=\"widget-header\">注目</h3>\n <div class=\"widget-content\">\n<mt:AuthorFollowing>\n <mt:If name=\"__first__\">\n <ul class=\"user-listing\">\n </mt:If>\n <li class=\"pkg\">\n <$mt:Include module=\"プロフィール画像\" userpic_size=\"36\" userpic_type=\"userlist\"$>\n <a href=\"<$mt:Var name=\"profile_view_url\" encode_html=\"1\"$><$mt:AuthorID$>\" class=\"user-name\"><$mt:AuthorDisplayName encode_html=\"1\"$></a>\n <a href=\"<$mt:AuthorURL$>\" class=\"user-url\"><$mt:AuthorURL regex_replace=\"/^\\w+:\\/\\//\",\"\" $></a>\n </li>\n <mt:If name=\"__last__\">\n </ul>\n </mt:If>\n<mt:Else>\n <p class=\"note\">まだ誰にも注目していません。</p>\n</mt:AuthorFollowing>\n </div>\n</div>\n<mt:if name=\"profile_self\">\n <div class=\"widget-followers widget\">\n <h3 class=\"widget-header\">被注目</h3>\n <div class=\"widget-content\">\n <mt:AuthorFollowers>\n <mt:If name=\"__first__\">\n <ul class=\"user-listing\">\n </mt:If>\n <li class=\"pkg\">\n <$mt:Include module=\"プロフィール画像\" userpic_size=\"36\" userpic_type=\"userlist\"$>\n <a href=\"<$mt:Var name=\"profile_view_url\" encode_html=\"1\"$><$mt:AuthorID$>\" class=\"user-name\"><$mt:AuthorDisplayName encode_html=\"1\"$></a>\n <a href=\"<$mt:AuthorURL$>\" class=\"user-url\"><$mt:AuthorURL regex_replace=\"/^\\w+:\\/\\//\",\"\" $></a>\n </li>\n <mt:If name=\"__last__\">\n </ul>\n </mt:If>\n <mt:Else>\n <p class=\"note\">まだ注目されていないようです。</p>\n </mt:AuthorFollowers>\n </div>\n </div>\n</mt:if>\n</mt:SetVarBlock>\n\n<mt:IfBlog>\n<$mt:Include module=\"フッター\"$>\n<mt:Else>\n<$mt:Include module=\"フッター\" hide_sidebar=\"1\"$>\n</mt:IfBlog>\n\n','profile_view',0);
1835
+ INSERT INTO `mt_template` VALUES (39,0,0,0,1,1,'2012-02-08 05:45:55','notify-entry',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','ブログ記事の共有',NULL,1,'新しい<$mt:EntryClassLabel$>「<$mt:EntryTitle$>」を<$mt:BlogName$>で公開しました。\n\n<mt:If name=\"object_type\" eq=\"entry\">表示する<mt:Else>表示する</mt:If> <<mt:SetVarBlock name=\"entry_status\"><$mt:EntryStatus$></mt:SetVarBlock><mt:If name=\"entry_status\" eq=\"Publish\"><$mt:EntryPermalink$><mt:Else><$mt:Var name=\"entry_editurl\"$></mt:If>>\n\n------------------------------------------------------------------------\nタイトル: <$mt:EntryTitle$>\n日付: <$mt:EntryDate mail=\"1\"$>\n<mt:If name=\"send_excerpt\">\n\n<$mt:EntryExcerpt wrap_text=\"72\"$>\n</mt:If>\n------------------------------------------------------------------------\n\n<mt:If name=\"message\">メッセージ: \n<$mt:Var name=\"message\"$></mt:If>\n<mt:If name=\"send_body\">\n------------------------------------------------------------------------\n\n<$mt:EntryBody remove_html=\"1\" wrap_text=\"72\"$>\n\n------------------------------------------------------------------------</mt:If>\n\nこのメールは<$mt:BlogName$>で新規に作成されたコンテンツに関する通知を送るように設定されているか、またはコンテンツの著者が選択したユーザーに送信されています。このメールを受信したくない場合は、次のユーザーに連絡してください:\n\n<$mt:AuthorDisplayName$> <<$mt:AuthorEmail$>>\n','email',0);
1836
+ INSERT INTO `mt_template` VALUES (40,0,0,0,1,1,'2012-02-08 05:45:55','recover-password',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','パスワードの再設定',NULL,1,'パスワードをリセットしようとしています。以下のリンクをクリックして、新しいパスワードを設定してください。\n\n<mt:var name=\"link_to_login\">\n\nこのメールに心当たりがないときは、何もせずに無視してください。\n\n<mt:include module=\"メールフッター\">\n','email',0);
1837
+ INSERT INTO `mt_template` VALUES (41,0,0,0,1,1,'2012-02-08 05:45:55','profile_error',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','プロフィールエラー',NULL,1,'\n<$mt:Var name=\"body_class\" value=\"mt-profile-error\"$>\n<mt:SetVarBlock name=\"page_title\">プロフィールエラー</mt:SetVarBlock>\n<mt:SetVarBlock name=\"title\"><mt:If name=\"blog_id\"><$mt:BlogName encode_html=\"1\"$>: </mt:If><$mt:Var name=\"page_title\"$></mt:SetVarBlock>\n\n<$mt:Include module=\"ヘッダー\"$>\n\n<h1 id=\"page-title\" class=\"asset-name\"><$mt:Var name=\"page_title\"$></h1>\n\n<mt:SetVarBlock name=\"status-msg\">*エラーメッセージを記述してください*</mt:SetVarBlock>\n<$mt:Include module=\"ステータスメッセージ\" id=\"generic-error\" class=\"error\"$>\n\n<p><a href=\"javascript:void(0)\" onclick=\"history.back()\">戻る</a></p>\n\n<$mt:Include module=\"フッター\"$>\n\n','profile_error',0);
1838
+ INSERT INTO `mt_template` VALUES (42,0,0,0,1,1,'2012-02-08 05:45:55','status_message',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','ステータスメッセージ',NULL,1,'<div id=\"<$mt:Var name=\"id\"$>\" class=\"<$mt:Var name=\"class\"$>\"><$mt:Var name=\"status-msg\"$></div>\n','custom',0);
1839
+ INSERT INTO `mt_template` VALUES (43,0,0,0,1,1,'2012-02-08 05:45:55','email_verification_email',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','メールアドレスの確認',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);
1840
+ INSERT INTO `mt_template` VALUES (44,0,0,0,1,1,'2012-02-08 05:45:55','javascript',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','GlobalJavaScript',NULL,1,'\n<mt:Ignore>\n/***\n * Movable Type Community Solution Functions\n */\n</mt:Ignore>\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<length;i+=1){partial[i]=str(i,value)||\'null\';}v=partial.length===0?\'[]\':gap?\'[\\n\'+gap+partial.join(\',\\n\'+gap)+\'\\n\'+mind+\']\':\'[\'+partial.join(\',\')+\']\';gap=mind;return v;}if(rep&&typeof rep===\'object\'){length=rep.length;for(i=0;i<length;i+=1){k=rep[i];if(typeof k===\'string\'){v=str(k,value);if(v){partial.push(quote(k)+(gap?\': \':\':\')+v);}}}}else{for(k in value){if(Object.hasOwnProperty.call(value,k)){v=str(k,value);if(v){partial.push(quote(k)+(gap?\': \':\':\')+v);}}}}v=partial.length===0?\'{}\':gap?\'{\\n\'+gap+partial.join(\',\\n\'+gap)+\'\\n\'+mind+\'}\':\'{\'+partial.join(\',\')+\'}\';gap=mind;return v;}}if(typeof JSON.stringify!==\'function\'){JSON.stringify=function(value,replacer,space){var i;gap=\'\';indent=\'\';if(typeof space===\'number\'){for(i=0;i<space;i+=1){indent+=\' \';}}else if(typeof space===\'string\'){indent=space;}rep=replacer;if(replacer&&typeof replacer!==\'function\'&&(typeof replacer!==\'object\'||typeof replacer.length!==\'number\')){throw new Error(\'JSON.stringify\');}return str(\'\',{\'\':value});};}if(typeof JSON.parse!==\'function\'){JSON.parse=function(text,reviver){var j;function walk(holder,key){var k,v,value=holder[key];if(value&&typeof value===\'object\'){for(k in value){if(Object.hasOwnProperty.call(value,k)){v=walk(value,k);if(v!==undefined){value[k]=v;}else{delete value[k];}}}}return reviver.call(holder,key,value);}cx.lastIndex=0;if(cx.test(text)){text=text.replace(cx,function(a){return\'\\\\u\'+(\'0000\'+a.charCodeAt(0).toString(16)).slice(-4);});}if(/^[\\],:{}\\s]*$/.test(text.replace(/\\\\(?:[\"\\\\\\/bfnrt]|u[0-9a-fA-F]{4})/g,\'@\').replace(/\"[^\"\\\\\\n\\r]*\"|true|false|null|-?\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d+)?/g,\']\').replace(/(?:^|:|,)(?:\\s*\\[)+/g,\'\'))){j=eval(\'(\'+text+\')\');return typeof reviver===\'function\'?walk({\'\':j},\'\'):j;}throw new SyntaxError(\'JSON.parse\');};}}());\n\nvar MT = window.MT || {};\n\nMT.cons = function () {\n return {\n LOG : \'log\',\n WARN : \'warn\',\n DEBUG : \'debug\',\n INFO : \'info\',\n ERR : \'error\',\n JSON : \'json\'\n };\n}();\n\n<mt:Ignore>\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</mt:Ignore>\nMT.core = function (o) {\n var _debug = false;\n \n return {\n <mt:Ignore>\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 </mt:Ignore>\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 <mt:Ignore>\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 </mt:Ignore>\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<mt:Ignore>\n/**\n * Utilities class\n * \n * @package MT\n * @class util\n * @global\n * Options:\n */\n</mt:Ignore>\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 <mt:Ignore>\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 </mt:Ignore>\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 <mt:Ignore>\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 </mt:Ignore>\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<mt:Ignore>\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</mt:Ignore>\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 <mt:Ignore>\n /**\n * Initializes variables to their initial values\n * \n * @return void\n */\n </mt:Ignore>\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 = \"<img title=\'Loading...\' src=\'<$MTStaticWebPath$>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 <mt:Ignore>\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 </mt:Ignore>\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 <mt:Ignore>\n /**\n * Sets commentsOffset (i.e. the offset number to the remote list)\n * \n * @return void\n */\n </mt:Ignore>\n function _setCommentOffset() {\n commentsOffset = commentsPerPage * (pageNum-1);\n }\n \n <mt:Ignore>\n /**\n * Gets the commentsOffset (i.e. the offset number to the remote list)\n * \n * @return void\n */\n </mt:Ignore>\n function _getCommentOffset() {\n return commentsOffset;\n }\n \n <mt:Ignore>\n /**\n * General event handler\n * \n * @param {Event} e The event object\n * @return void\n */\n </mt:Ignore>\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 <mt:Ignore>\n /**\n * Toggles the visibility of the navigation links\n * \n * @return void\n */\n </mt:Ignore>\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 <mt:Ignore>\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 </mt:Ignore>\n function _nextPage () {\n if(pageNum < commentsTotalPages) {\n pageNum++;\n _updateComments();\n }\n }\n \n <mt:Ignore>\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 </mt:Ignore>\n function _previousPage() {\n if(pageNum > 1) {\n pageNum--;\n _updateComments();\n }\n }\n \n <mt:Ignore>\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 </mt:Ignore>\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 <mt:Ignore>\n /**\n * Sets the current comment counts on the page\n *\n * @return void\n */\n </mt:Ignore>\n function _setCurrentComments() {\n var commentsOnPage = pageNum != commentsTotalPages ? commentsOffset + commentsPerPage : totalComments;\n \n _setCurrentCommentsContent([commentsOffset+1,\" - \",commentsOnPage].join(\'\'));\n }\n \n <mt:Ignore>\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 </mt:Ignore>\n function _setCurrentCommentsContent(currentCommentsHTML) {\n currentCommentsSpan.innerHTML = currentCommentsHTML;\n topCurrentCommentsSpan.innerHTML = currentCommentsHTML;\n }\n \n <mt:Ignore>\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 </mt:Ignore>\n function _setCommentContent(commentHTML) {\n commentContentDiv.innerHTML = commentHTML;\n }\n \n <mt:Ignore>\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 </mt:Ignore>\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 <mt:Ignore>\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 </mt:Ignore>\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<mt:Ignore>\n/***\n * Functions for scoring entries\n * Scoring requires blog context, it is thus conditioned.\n */\n</mt:Ignore>\n<mt:IfBlog>\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 var u = mtGetUser();\n var p = \'&ow=1\';\n if (DOM.hasClassName(span, \'scoring-scored\')) {\n if ( u && u.is_authenticated ) {\n DOM.removeClassName( span, \'scoring-scored\' );\n p += \'&score=0\';\n } else {\n return false;\n }\n }\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 + p );\n return false;\n}\n\nfunction mtUpdateScores() {\n var u = mtGetUser();\n <mt:IfAnonymousRecommendAllowed>\n <mt:Else>\n if (!u) return false;\n </mt:IfAnonymousRecommendAllowed>\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 DOM.removeClassName( span, \'scoring-scored\' );\n if ( parseInt(s_hash[id].scored) ) {\n DOM.addClassName( span, \'scoring-scored\' );\n if ( u && u.is_authenticated ) {\n DOM.addClassName( span, \'scoring-scorable\' );\n }\n } else {\n <mt:IfAnonymousRecommendAllowed>\n DOM.addClassName( span, \'scoring-scorable\' );\n <mt:Else>\n if ( u && u.is_authenticated )\n DOM.addClassName( span, \'scoring-scorable\' );\n </mt:IfAnonymousRecommendAllowed>\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</mt:IfBlog>\n\n<mt:Ignore>\n/***\n * Functions to follow/leave feature\n */\n</mt:Ignore>\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 = \'<img src=\"<$mt:StaticWebPath$>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 = \'<img src=\"<$mt:StaticWebPath$>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<mt:Ignore>\n/***\n * Utility functions\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Movable Type Core Functions\n */\n</mt:Ignore>\n\n<mt:Ignore>\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</mt:Ignore>\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<mt:Ignore>\n/***\n * Simple routine for showing a DOM element (applying a CSS display\n * attribute of \'none\').\n */\n</mt:Ignore>\nfunction mtHide(id) {\n var el = (typeof id == \"string\") ? document.getElementById(id) : id;\n if (el) el.style.display = \'none\';\n}\n\n<mt:Ignore>\n/***\n * Simple routine for showing a DOM element (applying a CSS display\n * attribute of \'block\').\n */\n</mt:Ignore>\nfunction mtShow(id) {\n var el = (typeof id == \"string\") ? document.getElementById(id) : id;\n if (el) el.style.display = \'block\';\n}\n\n<mt:Ignore>\n/***\n * A utility function for assigning/adding handlers to window events.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Calls the event named, if there are handlers for it.\n */\n</mt:Ignore>\nfunction mtFireEvent(eventName,param) {\n var fn = window[\'on\' + eventName];\n if (typeof fn == \'function\') return fn(param);\n return;\n}\n\n<mt:Ignore>\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</mt:Ignore>\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<mt:Ignore>\n/***\n * Used to display an edit link for the given entry.\n */\n</mt:Ignore>\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 = \'<a href=\"<$mt:AdminScript$>?__mode=view&amp;_type=entry&amp;id=\' + entry_id + \'\">編集</a>\';\n document.write(link);\n}\n\n<mt:Ignore>\n/***\n * Called when an input field on the comment form receives focus.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Displays a captcha field for anonymous commenters.\n */\n</mt:Ignore>\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<mt:Ignore>\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</mt:Ignore>\n\nvar is_preview;\nvar user;\n<mt:Ignore>\n/***\n * Assigns a user object as the actively logged in user; also saves the\n * user information in a browser cookie.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Simple function that escapes single quote characters for storing\n * in a cookie.\n */\n</mt:Ignore>\nfunction mtEscapeJS(s) {\n s = s.replace(/\'/g, \"&apos;\");\n return s;\n}\n\n<mt:Ignore>\n/***\n * Simple function that unescapes single quote characters that were\n * stored in a cookie.\n */\n</mt:Ignore>\nfunction mtUnescapeJS(s) {\n s = s.replace(/&apos;/g, \"\'\");\n return s;\n}\n\n<mt:Ignore>\n/***\n * Serializes a user object into a string, suitable for storing as a cookie.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Unserializes a user cookie and returns a user object with the restored\n * state.\n */\n</mt:Ignore>\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<mt:Ignore>\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</mt:Ignore>\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<mt:Ignore>\n/***\n * Issues a request to the MT comment script to retrieve the currently\n * logged-in user (if any).\n */\n</mt:Ignore>\nvar mtFetchedUser = false;\n<mt:IfBlog>\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</mt:IfBlog>\n\n<mt:Ignore>\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</mt:Ignore>\nfunction mtRememberMeOnClick(b) {\n if (!b.checked)\n mtClearUser(b.form);\n return true;\n}\n\n<mt:Ignore>\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</mt:Ignore>\n<mt:IfBlog>\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<mt:IfRegistrationRequired>\n mtShow(\'comments-form\');\n mtHide(\'comments-open-footer\');\n</mt:IfRegistrationRequired>\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<mt:IfRegistrationRequired>\n mtHide(\'comments-form\');\n</mt:IfRegistrationRequired>\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</mt:IfBlog>\n\n<mt:Ignore>\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</mt:Ignore>\n<mt:IfBlog>\nfunction mtEntryOnLoad() {\n <mt:Unless tag=\"IfPingsAccepted\">mtHide(\'trackbacks-info\');</mt:Unless>\n <mt:Unless tag=\"IfCommentsAccepted\">mtHide(\'comments-open\');</mt:Unless>\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</mt:IfBlog>\n\n<mt:Ignore>\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</mt:Ignore>\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 = \'サインインします... <span class=\"status-indicator\">&nbsp;</span>\';\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<mt:Ignore>\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</mt:Ignore>\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<mt:Ignore>\n/***\n * Handles the action of the \"Sign out\" link.\n */\n</mt:Ignore>\nfunction mtSignOutOnClick() {\n mtSignOut();\n return false;\n}\n\n<mt:Ignore>\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</mt:Ignore>\n<mt:IfBlog>\nfunction mtShowGreeting() {\n<mt:IfRegistrationAllowed>\n var reg_reqd = <mt:IfRegistrationRequired>true<mt:Else>false</mt:IfRegistrationRequired>;\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 href=\\\"javas\\cript:void(0);\\\" onclick=\\\"return mtSignOutOnClick();\\\"\\>サインアウトする\\<\\/a\\>)\';\n } else {\n var user_link;\n if ( u.is_author ) {\n user_link = \'<a href=\"<$mt:CGIPath$><$mt:CommunityScript$>?__mode=edit&amp;return_to=\' + encodeURIComponent(document.URL) + \'&amp;blog_id=<$mt:BlogID$>\';\n user_link += \'\">\' + u.name + \'</a>\';\n } else {\n // registered user, but not a user with posting rights\n if (u.url)\n user_link = \'<a href=\"\' + u.url + \'\">\' + u.name + \'</a>\';\n else\n user_link = u.name;\n }\n // TBD: supplement phrase with userpic if one is available.\n phrase = \'__NAME__としてサインインしています。(\\<a href=\\\"javas\\cript:void(0)\\\" onclick=\\\"return mtSignOutOnClick();\\\"\\>サインアウト\\<\\/a\\>)\';\n phrase = phrase.replace(/__NAME__/, user_link);\n }\n } else {\n if (reg_reqd) {\n phrase = \'コメントするにはまず\\<a href=\\\"javas\\cript:void(0)\\\" onclick=\\\"return mtSignInOnClick(\\\'comment-greeting\\\')\\\"\\>サインイン\\<\\/a\\>してください。\';\n } else {\n phrase = \'コメントする前に\\<a href=\\\"javas\\cript:void(0)\\\" onclick=\\\"return mtSignInOnClick(\\\'comment-greeting\\\')\\\"\\>サインイン\\<\\/a\\>することもできます。\';\n }\n }\n el.innerHTML = phrase;\n<mt:Else>\n mtShowCaptcha();\n</mt:IfRegistrationAllowed>\n}\n</mt:IfBlog>\n\n<mt:Ignore>\n/***\n * Handles the action of the \'Reply\' links.\n */\n</mt:Ignore>\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 = \'\\<a href=\\\"#comment-__PARENT__\\\" onclick=\\\"location.href=this.href; return false\\\"\\>__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<mt:Ignore>\n/***\n * Sets the parent comment ID when replying to a comment.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Persists a copy of the current user cookie into the browser cookie stash.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Clears the blog-side user cookie.\n */\n</mt:Ignore>\nfunction mtClearUser() {\n user = null;\n mtDeleteCookie(mtCookieName, mtCookiePath, mtCookieDomain,\n location.protocol == \'https:\');\n}\n\n<mt:Ignore>\n/***\n * Sets a browser cookie.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Retrieves a browser cookie.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Deletes a browser cookie.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Returns a XMLHttpRequest object (for Ajax operations).\n */\n</mt:Ignore>\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(\"<script id=__ie_onload defer src=javascript:void(0)><\\/script>\");\nvar script = document.getElementById(\"__ie_onload\");\nscript.onreadystatechange = function() {\n if (this.readyState == \"complete\") {\n mtInit(); // call the onload handler\n }\n};\n/*@end @*/\n\n/* for Safari */\nif (/WebKit/i.test(navigator.userAgent)) { // sniff\n _timer = setInterval(function() {\n if (/loaded|complete/.test(document.readyState)) {\n mtInit(); // call the onload handler\n }\n }, 10);\n}\n\n/* for other browsers */\nwindow.onload = mtInit;\n\n// END: fast browser onload init\n\n<mt:IfBlog>\n<mt:IfRegistrationAllowed>\n/***\n * If request contains a \'#_login\' or \'#_logout\' hash, use this to\n * also delete the blog-side user cookie, since we\'re coming back from\n * a login, logout or edit profile operation.\n */\nvar clearCookie = ( window.location.hash && window.location.hash.match( /^#_log(in|out)/ ) ) ? true : false;\nif (clearCookie) {\n // clear any logged in state\n mtClearUser();\n if (RegExp.$1 == \'in\')\n mtFetchUser();\n} else {\n <mt:Ignore>\n /***\n * Uncondition this call to fetch the current user state (if available)\n * from MT upon page load if no user cookie is already present.\n * This is okay if you have a private install, such as an Intranet;\n * not recommended for public web sites!\n */\n </mt:Ignore>\n if ( is_preview && !user )\n mtFetchUser();\n}\n</mt:IfRegistrationAllowed>\n</mt:IfBlog>\n\n','custom',0);
1841
+ INSERT INTO `mt_template` VALUES (45,0,0,0,1,1,'2012-02-08 05:45:55','new_password_reset_form',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','新しいパスワード再設定フォーム',NULL,1,'\n<$mt:Var name=\"screen_id\" value=\"reset-password\"$>\n<$mt:Var name=\"body_class\" value=\"mt-profile-reset\"$>\n<mt:SetVarBlock name=\"page_title\">パスワードの再設定</mt:SetVarBlock>\n<mt:SetVarBlock name=\"title\"><mt:If name=\"blog_id\"><$mt:BlogName encode_html=\"1\"$>: </mt:If><$mt:Var name=\"page_title\"$></mt:SetVarBlock>\n\n<$mt:Include module=\"シンプルヘッダー\"$>\n\n<mt:if name=\"error\">\n <mtapp:statusmsg\n id=\"error\"\n class=\"error\">\n <mt:var name=\"error\">\n </mtapp:statusmsg>\n</mt:if>\n\n<mt:If name=\"not_unique_email\">\n <mtapp:statusmsg\n id=\"not-unique-email\"\n class=\"alert\">\n 同じメールアドレスを持っているユーザーがいます。ユーザー名を入力してください。\n </mtapp:statusmsg>\n</mt:if>\n\n<mt:if name=\"recovered\">\n<p>「<mt:var name=\"email\" escape=\"html\">」にパスワードをリセットするためのリンクを含むメールを送信しました。</p>\n\n<div class=\"actions-bar\">\n <mt:If name=\"return_to\">\n <a\n href=\"<$mt:var name=\"return_to\" escape=\"html\" $>\"\n accesskey=\"x\"\n title=\"戻る (x)\"\n class=\"action button primary-button\"\n >戻る</a>\n <mt:ElseIf name=\"can_signin\">\n <a\n href=\"<$mt:var name=\"script_url\"$>\"\n accesskey=\"s\"\n title=\"Movable Type にサインイン (s)\"\n class=\"action button primary-button\"\n >Movable Type にサインイン</a>\n </a>\n </mt:If>\n</div>\n\n\n<mt:else>\n <form method=\"post\" action=\"<$mt:Var name=\"script_url\"$>\">\n <input type=\"hidden\" name=\"__mode\" value=\"recover\" />\n <input type=\"hidden\" name=\"return_to\" value=\"<mt:Var name=\"return_to\" escape=\"html\">\" />\n<fieldset>\n\n<mtapp:setting\n id=\"email\"\n label=\"電子メール\"\n label_class=\"top-label\">\n <input type=\"text\" name=\"email\" id=\"email\" class=\"ti\" value=\"<mt:var name=\"email\" escape=\"html\">\" />\n</mtapp:setting>\n\n<mt:If name=\"not_unique_email\">\n<mtapp:setting\n id=\"name\"\n label=\"ユーザー名\"\n label_class=\"top-label\">\n <input type=\"text\" name=\"name\" id=\"name\" class=\"ti\" value=\"<mt:var name=\"name\" escape=\"html\">\" />\n</mtapp:setting>\n</mt:If>\n\n<div class=\"actions-bar\">\n <button\n type=\"submit\"\n accesskey=\"s\"\n title=\"再設定 (s)\"\n class=\"recover action primary-button\"\n >再設定</button>\n <button\n onclick=\"history.back(); return false;\"\n type=\"submit\"\n accesskey=\"x\"\n title=\"戻る (x)\"\n class=\"action\"\n >戻る</button>\n</div>\n\n</fieldset>\n</form>\n</mt:if>\n\n<$mt:Include module=\"シンプルフッター\"$>\n\n','new_password_reset_form',0);
1842
+ INSERT INTO `mt_template` VALUES (46,0,0,0,1,1,'2012-02-08 05:45:55','register_form',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','登録フォーム',NULL,1,'\n<$mt:Var name=\"body_class\" value=\"mt-profile-register\"$>\n<mt:SetVarBlock name=\"page_title\">サインアップ</mt:SetVarBlock>\n<mt:SetVarBlock name=\"title\"><mt:If name=\"blog_id\"><$mt:BlogName encode_html=\"1\"$>: </mt:If><$mt:Var name=\"page_title\"$></mt:SetVarBlock>\n\n<$mt:Include module=\"シンプルヘッダー\"$>\n\n<mt:If name=\"error\">\n <mt:App:StatusMsg\n id=\"generic-error\"\n class=\"error\">\n <$mt:Var name=\"error\"$>\n </mt:App:StatusMsg>\n</mt:If>\n<mt:If name=\"message\">\n <mt:App:StatusMsg\n id=\"message\"\n class=\"alert\">\n <$mt:Var name=\"message\"$>\n </mt:App:StatusMsg>\n</mt:If>\n\n<mt:SetVarBlock name=\"common_fields\" id=\"common_fields\">\n <mt:App:Setting\n id=\"nickname\"\n label=\"表示名\"\n label_class=\"top-label\"\n required=\"1\"\n hint=\"あなたのコメントに表示される名前です。\">\n <input type=\"text\" name=\"nickname\" id=\"nickname\" class=\"ti\" value=\"<$mt:Var name=\"nickname\" escape=\"html\"$>\" />\n </mt:App:Setting>\n\n <mt:App:Setting\n id=\"email\"\n label=\"電子メール\"\n label_class=\"top-label\"\n required=\"1\"\n hint=\"あなたのメールアドレスです。\">\n <input type=\"text\" name=\"email\" id=\"email\" class=\"ti\" value=\"<$mt:Var name=\"email\" escape=\"html\"$>\" />\n </mt:App:Setting>\n</mt:SetVarBlock>\n\n<form method=\"post\" action=\"<$mt:Var name=\"script_url\"$>\">\n<input type=\"hidden\" name=\"blog_id\" value=\"<$mt:Var name=\"blog_id\" escape=\"html\"$>\" />\n<input type=\"hidden\" name=\"return_to\" value=\"<$mt:Var name=\"return_to\" escape=\"html\"$>\" />\n<mt:If name=\"auth_mode_mt\">\n<input type=\"hidden\" name=\"__mode\" value=\"do_register\" />\n\n <mt:App:Setting\n id=\"username\"\n label=\"ユーザー名\"\n label_class=\"top-label\"\n required=\"1\"\n hint=\"あなたのログイン名です。\">\n <input type=\"text\" name=\"username\" id=\"username\" class=\"ti\" value=\"<$mt:Var name=\"username\" escape=\"html\"$>\" />\n </mt:App:Setting>\n\n <$mt:Var name=\"common_fields\"$>\n\n <mt:App:Setting\n id=\"password\"\n label=\"初期パスワード\"\n label_class=\"top-label\"\n required=\"1\"\n hint=\"パスワード選択してください。\">\n <input type=\"password\" name=\"password\" id=\"password\" class=\"pw\" value=\"\" />\n </mt:App:Setting>\n\n <mt:App:Setting\n id=\"pass_verify\"\n label=\"パスワード再入力\"\n label_class=\"top-label\"\n required=\"1\"\n hint=\"確認のため、パスワードを再入力してください。\">\n <input type=\"password\" name=\"pass_verify\" id=\"pass_verify\" class=\"pw\" value=\"\" />\n </mt:App:Setting>\n\n <mt:App:Setting\n id=\"url\"\n label=\"ウェブサイトURL\"\n label_class=\"top-label\"\n hint=\"あなたのウェブサイトのURLです。(オプション)\">\n <input type=\"text\" name=\"url\" id=\"url\" class=\"ti\" value=\"<$mt:Var name=\"url\" escape=\"html\"$>\" />\n </mt:App:Setting>\n\n<mt:If name=\"captcha_fields\"><div class=\"setting\">\n<$mt:Var name=\"captcha_fields\"$>\n</div></mt:If>\n\n<mt:Else>\n<input type=\"hidden\" name=\"__mode\" value=\"do_register\" />\n<input type=\"hidden\" name=\"external_auth\" value=\"1\" />\n <mt:App:Setting\n id=\"external_username\"\n label=\"ユーザー名\"\n required=\"1\"\n hint=\"あなたのログイン名です。\">\n <input type=\"text\" name=\"username\" id=\"username\" class=\"ti\" value=\"<$mt:Var name=\"username\" escape=\"html\"$>\" />\n </mt:App:Setting>\n</mt:If>\n\n<mt:Loop name=\"field_loop\">\n <mt:If name=\"__first__\">\n <input type=\"hidden\" name=\"_type\" value=\"author\" id=\"obj_type\" />\n <input type=\"hidden\" name=\"customfield_beacon\" value=\"1\" id=\"customfield_beacon\" />\n </mt:If>\n <!-- start-customfield_<$mt:Var name=\"basename\"$> -->\n <mt:App:Setting\n id=\"$field_id\"\n label=\"$name\"\n hint=\"$description\"\n shown=\"$show_field\"\n show_hint=\"$show_hint\"\n required=\"$required\">\n\n <$mt:Var name=\"field_html\"$>\n\n </mt:App:Setting>\n <!-- end-customfield_<$mt:Var name=\"basename\"$> -->\n</mt:Loop>\n\n <div class=\"actions-bar\">\n <button\n type=\"submit\"\n class=\"sign-up action primary-button\"\n accesskey=\"s\"\n >サインアップ</button>\n </div>\n\n</form>\n\n<$mt:Include module=\"シンプルフッター\"$>\n\n','register_form',0);
1843
+ INSERT INTO `mt_template` VALUES (47,0,0,0,1,1,'2012-02-08 05:45:55','register_confirmation',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','登録の確認',NULL,1,'\n<$mt:Var name=\"body_class\" value=\"mt-profile-register\"$>\n<mt:If name=\"resend\">\n <mt:SetVarBlock name=\"page_title\">確認メール送信完了</mt:SetVarBlock>\n<mt:Else>\n <mt:SetVarBlock name=\"page_title\">プロフィールを作成しました。</mt:SetVarBlock>\n</mt:If>\n<mt:SetVarBlock name=\"title\"><mt:If name=\"blog_id\"><$mt:BlogName encode_html=\"1\"$>: </mt:If><$mt:Var name=\"page_title\"$></mt:SetVarBlock>\n\n<$mt:Include module=\"シンプルヘッダー\"$>\n\n<p>登録を完了するためにまずアカウントを確認する必要があります。<$mt:Var name=\"email\" escape=\"html\"$>にメールを送信しました。</p>\n\n<p>メールを確認して、メールに書かれたリンクをクリックすることで、アカウントを確認して有効化できます。</p>\n\n<mt:if name=\"return_to\">\n<p><a href=\"<$mt:Var name=\"return_to\"$>\">元のページに戻る</a></p>\n</mt:if>\n\n<$mt:Include module=\"シンプルフッター\"$>\n\n','register_confirmation',0);
1844
+ INSERT INTO `mt_template` VALUES (48,0,0,0,1,1,'2012-02-08 05:45:55','navigation',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','ナビゲーション',NULL,1,'\n<div id=\"header-menu\">\n <ul>\n<mt:IfBlog>\n <li><a href=\"<$mt:Link template=\"main_index\"$>\">ホーム</a></li>\n <li><a href=\"<$mt:Link template=\"archive_index\"$>\">アーカイブ</a></li>\n<mt:Else>\n <li><a href=\"<$mt:Var name=\"blog_url\"$>\">ホーム</a></li>\n</mt:IfBlog>\n </ul>\n</div>\n\n','custom',0);
1845
+ INSERT INTO `mt_template` VALUES (49,0,0,0,1,1,'2012-02-08 05:45:55','footer-email',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','メールフッター',NULL,1,'\n-- \nPowered by Movable Type <$mt:Version$>\n<$mt:Var name=\"portal_url\"$>\n','custom',0);
1846
+ INSERT INTO `mt_template` VALUES (50,0,0,0,1,1,'2012-02-08 05:45:55','commenter_notify',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','コメントの通知',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','email',0);
1847
+ INSERT INTO `mt_template` VALUES (51,0,0,0,1,1,'2012-02-08 05:45:55','signin',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','サインイン',NULL,1,'\n<div class=\"widget-sign-in widget\">\n <h3 class=\"widget-header\">サインイン</h3>\n <div id=\"signin-widget-content\" class=\"widget-content\"></div>\n</div>\n<script type=\"text/javascript\">\n/* <![CDATA[ */\nfunction mtUpdateSignInWidget(u) {\n var separator = \'&nbsp;&nbsp;|&nbsp;&nbsp;\';\n var el = document.getElementById(\'signin-widget-content\');\n var content = \'\';\n if (!el) return;\n if (u) {\n if (u && u.is_authenticated) {\n user = u;\n mtSaveUser();\n } else {\n // user really isn\'t logged in; so let\'s do this!\n return mtSignIn();\n }\n } else {\n u = mtGetUser();\n }\n if (u && u.name) {\n var url;\n if (u.is_authenticated) {\n url = \'<$mt:CGIPath$><$mt:CommunityScript$>?__mode=view&blog_id=<$mt:BlogID$>\';\n url += \'&static=\' + encodeURIComponent( location.href );\n } else if (u.url) {\n url = u.url;\n } else {\n url = null;\n }\n if (url)\n content += \'<a href=\"\' + url + \'\">\' + u.name + \'</a>\';\n else\n content += \'\' + u.name + \'\';\n if (u.is_author)\n content += separator + \'<a href=\"<$mt:CGIPath$><$mt:CommunityScript$>?__mode=edit&blog_id=<$mt:BlogID$>&return_to=\' + encodeURIComponent(document.URL) + \'\">ユーザー情報の編集</a>\';\n <mt:Unless name=\"hide_signout_link\">\n content += separator + \'<a href=\"javascript:void(0)\" onclick=\"return mtSignOutOnClick()\">サインアウト</a>\';\n </mt:Unless>\n } else if (u && u.is_banned) {\n content = \'このブログにサインインする権限がありません。\';\n } else {\n content = \'<a href=\"javascript:void(0)\" onclick=\"return mtSignInOnClick(\\\'signin-widget-content\\\')\">サインイン</a>\';\n <mt:IfExternalUserManagement>\n <mt:Else>\n <mt:IfCommenterRegistrationAllowed>\n content += separator + \'<a href=\"<$mt:CGIPath$><$mt:CommunityScript$>?__mode=register&blog_id=<$mt:BlogID$>&return_to=\' + encodeURIComponent(document.URL) + \'\">登録</a>\';\n </mt:IfCommenterRegistrationAllowed>\n </mt:IfExternalUserManagement>\n }\n el.innerHTML = content;\n}\nmtAttachEvent(\'usersignin\', mtUpdateSignInWidget);\nmtUpdateSignInWidget();\n/* ]]> */\n</script>\n\n','custom',0);
1848
+ INSERT INTO `mt_template` VALUES (52,0,0,0,1,1,'2012-02-08 05:45:55','new_password',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','新しいパスワードの設定フォーム',NULL,1,'\n<mt:var name=\"screen_id\" value=\"change-password\">\n<mt:var name=\"body_class\" value=\"mt-profile-reset\">\n<mt:setvarblock name=\"page_title\">パスワードの変更</mt:setvarblock>\n<mt:setvar name=\"complete\" value=\"1\">\n<mt:SetVarBlock name=\"title\"><mt:If name=\"blog_id\"><$mt:BlogName encode_html=\"1\"$>: </mt:If><$mt:Var name=\"page_title\"$></mt:SetVarBlock>\n\n<$mt:Include module=\"シンプルヘッダー\"$>\n\n<mt:if name=\"error\">\n <mtapp:statusmsg\n id=\"error\"\n class=\"error\">\n <mt:var name=\"error\">\n </mtapp:statusmsg>\n</mt:if>\n\n <form method=\"post\" action=\"<mt:var name=\"script_url\">\">\n <input type=\"hidden\" name=\"__mode\" value=\"new_pw\" />\n <input type=\"hidden\" name=\"token\" value=\"<mt:var name=\"token\" escape=\"html\">\" />\n <input type=\"hidden\" name=\"email\" value=\"<mt:var name=\"email\" escape=\"html\">\" />\n<fieldset>\n\n<mtapp:setting\n id=\"name\"\n label=\"新しいパスワード\"\n label_class=\"top-label\">\n <input type=\"password\" name=\"password\" id=\"password\" value=\"<mt:var name=\"password\">\" class=\"ti\" />\n</mtapp:setting>\n\n<mtapp:setting\n id=\"name\"\n label=\"新しいパスワード確認\"\n label_class=\"top-label\">\n <input type=\"password\" name=\"password_again\" id=\"password_again\" value=\"<mt:var name=\"password_again\">\" class=\"ti\" />\n</mtapp:setting>\n\n<div class=\"actions-bar\">\n <button\n type=\"submit\"\n accesskey=\"s\"\n title=\"変更\"\n class=\"action primary-button\"\n >変更</button>\n</div>\n\n</fieldset>\n</form>\n<$mt:Include module=\"シンプルフッター\"$>\n\n\n','new_password',0);
1849
+ INSERT INTO `mt_template` VALUES (53,0,0,0,1,1,'2012-02-08 05:45:55','login_form',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','ログインフォーム',NULL,1,'<$mt:Var name=\"screen_id\" value=\"sign-in\"$>\n<$mt:Var name=\"body_class\" value=\"mt-profile-login\"$>\n<mt:SetVarBlock name=\"page_title\">サインイン</mt:SetVarBlock>\n<mt:SetVarBlock name=\"title\"><mt:If name=\"blog_id\"><$mt:BlogName encode_html=\"1\"$>: </mt:If><$mt:Var name=\"page_title\"$></mt:SetVarBlock>\n\n\n\n<$mt:Include module=\"シンプルヘッダー\"$>\n\n<mt:If name=\"auth_loop\">\n<mtapp:setting\n id=\"comment_signin_options\"\n label=\"サインイン...\">\n <select name=\"auth_options\" id=\"auth_options\">\n <option value=\"<mt:var name=\"default_id\" escape=\"html\">\"><mt:var name=\"default_signin\" escape=\"html\"></option>\n <mt:loop name=\"auth_loop\">\n <option value=\"<mt:var name=\"id\" escape=\"html\">\"><mt:var name=\"name\" escape=\"html\"></option>\n </mt:loop>\n </select>\n</mtapp:setting>\n</mt:If>\n\n<mt:If name=\"message\">\n <mtapp:statusmsg\n id=\"message\"\n class=\"alert\">\n <$mt:Var name=\"message\"$>\n </mt:App:StatusMsg>\n</mt:If>\n<mt:If name=\"error\">\n <mtapp:statusmsg\n id=\"generic-error\"\n class=\"error\">\n <$mt:Var name=\"error\"$>\n </mt:App:StatusMsg>\n</mt:If>\n\n<div id=\"signin_with_<mt:var name=\"default_id\" escape=\"html\">\"<mt:Unless name=\"enabled_MovableType\"> style=\"display: none\"</mt:Unless>>\n <form method=\"post\" action=\"<$mt:Var name=\"script_url\"$>\">\n <input type=\"hidden\" name=\"__mode\" value=\"do_login\" />\n <input type=\"hidden\" name=\"blog_id\" value=\"<$mt:Var name=\"blog_id\"$>\" />\n <input type=\"hidden\" name=\"return_to\" value=\"<$mt:Var name=\"return_to\"$>\" />\n <mt:Unless name=\"auth_mode_mt\">\n <input type=\"hidden\" name=\"external_auth\" value=\"1\" />\n </mt:Unless>\n\n <mtapp:setting\n id=\"username\"\n label=\"ユーザー名\"\n label_class=\"top-label\">\n <input type=\"text\" name=\"username\" id=\"username\" class=\"ti\" />\n </mt:App:Setting>\n\n <mtapp:setting\n id=\"password\"\n label=\"パスワード\"\n label_class=\"top-label\">\n <input type=\"password\" name=\"password\" id=\"password\" class=\"pw\" />\n </mt:App:Setting>\n\n <p><label>ログイン情報を記憶する</label> <input type=\"checkbox\" name=\"remember\" value=\"1\" accesskey=\"r\" /></p>\n\n <div class=\"actions-bar actions-bar-buttom\">\n <button\n type=\"submit\"\n class=\"sign-in action primary-button\"\n accesskey=\"s\"\n >サインイン</button>\n <mt:If name=\"can_recover_password\">\n <p id=\"forget-password\"><a href=\"<$mt:Var name=\"script_url\"$>?__mode=start_recover&amp;return_to=<$mt:Var name=\"return_to\" escape=\"url\"$>\">パスワードをお忘れですか?</a></p>\n </mt:If>\n </div>\n <mt:IfCommenterRegistrationAllowed>\n <mt:IfExternalUserManagement>\n <mt:else>\n <mt:If name=\"blog_id\">\n <p id=\"sign-up\">アカウントがないときは<a href=\"<$mt:Var name=\"script_url\"$>?__mode=register&blog_id=<$mt:Var name=\"blog_id\"$>&return_to=<$mt:Var name=\"return_to\" escape=\"url\"$>\">サインアップ</a>してください。</p>\n </mt:If>\n </mt:IfExternalUserManagement>\n </mt:IfCommenterRegistrationAllowed>\n\n </form>\n</div>\n\n<mt:If name=\"auth_loop\">\n<dl>\n<mt:Loop name=\"auth_loop\">\n <dd>\n <div id=\"signin_with_<mt:var name=\"id\" escape=\"html\">\"<mt:If name=\"name\" ne=\"$default_signin\"> style=\"display: none\"</mt:If>>\n <$mt:Var name=\"login_form\"$>\n </div>\n </dd>\n</mt:Loop>\n</dl>\n</mt:If>\n\n<script type=\"text/javascript\">\n/* <![CDATA[ */\njQuery(function() {\n jQuery(\'#auth_options\').change(function() {\n jQuery(\'div[id^=signin_with_]\').hide();\n jQuery(\'#signin_with_\'+jQuery(this).val()).show();\n });\n});\n/* ]]> */\n</script>\n<$mt:Include module=\"シンプルフッター\"$>\n\n','login_form',0);
1850
+ INSERT INTO `mt_template` VALUES (54,0,0,0,1,1,'2012-02-08 05:45:55','verify-subscribe',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','購読の確認',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$><mt:If name=\"redirect_url\">;redirect=<$mt:Var name=\"redirect_url\" escape=\"url\"$><mt:Else><mt:If name=\"entry\">;entry_id=<$mt:EntryID$></mt:If></mt:If>\n\nリンクをクリックできない場合は、お使いのウェブブラウザに貼り付けてください。\n\n<$mt:Include module=\"メールフッター\"$>\n','email',0);
1851
+ INSERT INTO `mt_template` VALUES (55,0,0,0,1,1,'2012-02-08 05:45:55','search',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','検索',NULL,1,'<div class=\"header-search\">\n <form method=\"get\" action=\"<$mt:CGIPath$><$mt:SearchScript$>\">\n<mt:IfBlog>\n <input type=\"hidden\" name=\"IncludeBlogs\" value=\"<$mt:BlogID$>\" />\n</mt:IfBlog>\n <input type=\"hidden\" name=\"limit\" value=\"<$mt:SearchMaxResults$>\" />\n <label for=\"search\">検索</label>\n <input id=\"search\" class=\"query\" name=\"search\" value=\"<$mt:SearchString$>\" />\n <input class=\"submit\" type=\"submit\" value=\"Go\" />\n </form>\n</div>\n','custom',0);
1852
+ INSERT INTO `mt_template` VALUES (56,0,0,0,1,1,'2012-02-08 05:45:55','profile_edit_form',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','プロフィールの編集フォーム',NULL,1,'\n<$mt:Var name=\"body_class\" value=\"mt-profile-edit\"$>\n<mt:SetVarBlock name=\"page_title\">ユーザー情報の編集</mt:SetVarBlock>\n<mt:SetVarBlock name=\"title\"><mt:If name=\"blog_id\"><$mt:BlogName encode_html=\"1\"$>: </mt:If><$mt:Var name=\"page_title\"$></mt:SetVarBlock>\n\n<mt:SetVarBlock name=\"content_header\" id=\"content_header\">\n<mt:If name=\"saved\">\n <mtapp:statusmsg\n id=\"saved\"\n class=\"success\">\n ユーザー情報を更新しました。<mt:If name=\"blog_id\"> <a href=\"<$mt:Var name=\"return_to\" escape=\"html\"$>\">元のページに戻る</a> / <a href=\"<$mt:CGIPath$><$mt:CommunityScript$>?__mode=view<mt:If name=\"blog_id\">&blog_id=<$mt:Var name=\"blog_id\"$></mt:If>\">プロフィールを表示する</a></mt:If>\n </mt:App:StatusMsg>\n</mt:If>\n<mt:If name=\"error\">\n <mtapp:statusmsg\n id=\"generic-error\"\n class=\"error\">\n <$mt:Var name=\"error\"$>\n </mt:App:StatusMsg>\n</mt:If>\n</mt:SetVarBlock>\n\n<$mt:Include module=\"シンプルヘッダー\"$>\n\n<$mt:Var name=\"content_header\"$>\n\n<form name=\"profile\" id=\"profile\" method=\"post\" action=\"<$mt:Var name=\"script_url\"$>\" enctype=\"multipart/form-data\">\n <input type=\"hidden\" name=\"__mode\" value=\"save\" />\n <mt:If name=\"blog_id\">\n <input type=\"hidden\" name=\"blog_id\" value=\"<$mt:Var name=\"blog_id\" escape=\"html\"$>\" />\n </mt:If>\n <input type=\"hidden\" name=\"magic_token\" value=\"<$mt:Var name=\"magic_token\"$>\" />\n <input type=\"hidden\" name=\"return_args\" value=\"<$mt:Var name=\"return_args\" escape=\"html\"$>\" />\n <input type=\"hidden\" name=\"return_to\" value=\"<$mt:Var name=\"return_to\" escape=\"html\"$>\" />\n<mt:If name=\"id\">\n <input type=\"hidden\" name=\"id\" value=\"<$mt:Var name=\"id\" escape=\"html\"$>\" />\n</mt:If>\n\n<mt:SetVarBlock name=\"field-content\"><span id=\"name\"><$mt:Var name=\"name\" escape=\"html\"$></span><input type=\"hidden\" name=\"name\" class=\"ti\" value=\"<$mt:Var name=\"name\" escape=\"html\"$>\" /></mt:SetVarBlock>\n<$mt:Include module=\"フォームフィールド\" id=\"name\" class=\"\" required=\"1\" label=\"ユーザー名\"$>\n\n<mt:SetVarBlock name=\"field-content\"><input type=\"text\" name=\"nickname\" id=\"nickname\" class=\"ti\" value=\"<$mt:Var name=\"nickname\" escape=\"html\"$>\" /></mt:SetVarBlock>\n<$mt:Include module=\"フォームフィールド\" id=\"nickname\" class=\"\" required=\"$auth_type_mt\" label=\"表示名\"$>\n\n<mt:SetVarBlock name=\"field-content\"><input type=\"text\" name=\"email\" id=\"email\" class=\"ti\" value=\"<$mt:Var name=\"email\" escape=\"html\"$>\" /></mt:SetVarBlock>\n<$mt:Include module=\"フォームフィールド\" id=\"email\" class=\"\" required=\"$auth_type_mt\" label=\"電子メール\"$>\n\n<mt:If name=\"auth_mode_mt\">\n\n <mt:If name=\"can_modify_password\">\n <mt:SetVarBlock name=\"field-content\"><input type=\"password\" name=\"pass\" id=\"pass\" class=\"pw\" /></mt:SetVarBlock>\n <$mt:Include module=\"フォームフィールド\" id=\"pass\" class=\"\" label=\"新しいパスワード\"$>\n\n <mt:SetVarBlock name=\"field-content\"><input type=\"password\" name=\"pass_verify\" id=\"pass_verify\" class=\"pw\" /></mt:SetVarBlock>\n <$mt:Include module=\"フォームフィールド\" id=\"pass_verify\" class=\"\" label=\"パスワード確認\"$>\n </mt:If>\n\n<mt:Else>\n <input type=\"hidden\" name=\"external_auth\" value=\"1\" />\n</mt:If>\n\n<mt:SetVarBlock name=\"field-content\"><input type=\"text\" name=\"url\" id=\"url\" class=\"ti\" value=\"<$mt:Var name=\"url\" escape=\"html\"$>\" /></mt:SetVarBlock>\n<$mt:Include module=\"フォームフィールド\" id=\"url\" class=\"\" label=\"ウェブサイトURL\"$>\n\n<mt:SetVarBlock name=\"field-content\">\n <mt:If name=\"userpic\">\n <$mt:Var name=\"userpic\"$>\n <div>\n <input type=\"file\" name=\"file\" id=\"file\" class=\"fi\" />\n </div>\n <mt:else>\n <div>\n <input type=\"file\" name=\"file\" id=\"file\" class=\"fi\" />\n </div>\n </mt:If>\n</mt:SetVarBlock>\n<$mt:Include module=\"フォームフィールド\" id=\"file\" class=\"\" label=\"プロフィール画像\"$>\n\n<mt:Loop name=\"field_loop\">\n <mt:If name=\"__first__\">\n <input type=\"hidden\" name=\"_type\" value=\"author\" id=\"obj_type\" />\n <input type=\"hidden\" name=\"customfield_beacon\" value=\"1\" id=\"customfield_beacon\" />\n </mt:If>\n <!-- start-customfield_<$mt:Var name=\"basename\"$> -->\n <mtapp:setting\n id=\"$field_id\"\n label=\"$name\"\n hint=\"$description\"\n shown=\"$show_field\"\n show_hint=\"$show_hint\"\n required=\"$required\"\n content_class=\"$content_class\">\n\n <$mt:Var name=\"field_html\"$>\n\n </mtapp:setting>\n <!-- end-customfield_<$mt:Var name=\"basename\"$> -->\n</mt:Loop>\n\n<div class=\"actions-bar actions-bar-login\">\n <button\n type=\"submit\"\n accesskey=\"s\"\n title=\"保存\"\n class=\"save action primary-button\"\n >保存</button>\n</div>\n\n</form>\n\n<mt:If name=\"blog_id\">\n<p><a href=\"<$mt:Var name=\"return_to\" escape=\"html\"$>\">元のページに戻る</a> / <a href=\"<$mt:CGIPath$><$mt:CommunityScript$>?__mode=view<mt:If name=\"blog_id\">&blog_id=<$mt:Var name=\"blog_id\"$></mt:If>\">プロフィールを表示する</a></p>\n</mt:If>\n\n<$mt:Include module=\"シンプルフッター\"$>\n\n','profile_edit_form',0);
1853
+ INSERT INTO `mt_template` VALUES (57,0,0,0,1,1,'2012-02-08 05:45:55','profile_feed',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','プロフィールフィード',NULL,1,'<?xml version=\"1.0\" encoding=\"<$mt:PublishCharset$>\"?>\n<feed xmlns=\"http://www.w3.org/2005/Atom\">\n <title><$mt:Var name=\"feed_title\"$></title>\n <generator uri=\"http://www.sixapart.com/movabletype/\"><$mt:ProductName version=\"1\"$></generator>\n <link rel=\"self\" href=\"<$mt:Var name=\"feed_self\"$>\" />\n <link type=\"text/html\" rel=\"alternate\" href=\"<$mt:CGIPath$><$mt:CommunityScript$>?__mode=view&amp;id=<$mt:AuthorID$><mt:If name=\"blog_id\">&amp;blog_id=<$mt:Var name=\"blog_id\"$></mt:If>\" title=\"<$mt:AuthorDisplayName encode_html=\"1\"$>\"/>\n <mt:If name=\"feed_updated\"><updated><$mt:Var name=\"feed_updated\"$></updated></mt:If>\n <id><$mt:Var name=\"feed_self\"$></id>\n<mt:If name=\"entry\">\n <mt:Entries lastn=\"15\">\n <entry>\n <title><$mt:EntryTitle remove_html=\"1\" encode_xml=\"1\"$></title>\n <link rel=\"alternate\" type=\"text/html\" href=\"<$mt:EntryPermalink encode_xml=\"1\"$>\" />\n <id><$mt:EntryAtomID$></id>\n\n <published><$mt:EntryDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$></published>\n <updated><$mt:EntryModifiedDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$></updated>\n\n <summary><$mt:EntryExcerpt remove_html=\"1\" encode_xml=\"1\"$></summary>\n <author>\n <name><$mt:EntryAuthorDisplayName encode_xml=\"1\"$></name>\n <uri><$mt:CGIPath encode_xml=\"1\"$><$mt:CommunityScript encode_xml=\"1\"$>?__mode=view&amp;blog_id=<$mt:BlogID$>&amp;id=<$mt:EntryAuthorID$></uri>\n </author>\n <mt:EntryCategories>\n <category term=\"<$mt:CategoryLabel encode_xml=\"1\"$>\" scheme=\"http://www.sixapart.com/ns/types#category\" />\n </mt:EntryCategories>\n <mt:EntryTags><category term=\"<$mt:TagName normalize=\"1\" encode_xml=\"1\"$>\" label=\"<$mt:TagName encode_xml=\"1\"$>\" scheme=\"http://www.sixapart.com/ns/types#tag\" /></mt:EntryTags>\n <content type=\"html\" xml:lang=\"<$mt:BlogLanguage ietf=\"1\"$>\" xml:base=\"<$mt:BlogURL encode_xml=\"1\"$>\">\n <$mt:EntryBody encode_xml=\"1\"$>\n <$mt:EntryMore encode_xml=\"1\"$>\n </content>\n </entry>\n </mt:Entries>\n<mt:ElseIf name=\"comment\">\n <mt:Comments lastn=\"15\">\n <entry>\n <title><$mt:CommentBody trim=\"20\" remove_html=\"1\" encode_xml=\"1\"$></title>\n <link rel=\"alternate\" type=\"text/html\" href=\"<$mt:CommentLink encode_xml=\"1\"$>\" />\n <id><mt:CommentEntry><$mt:EntryAtomID$></mt:CommentEntry>#<$mt:CommentID$></id>\n <updated><$mt:CommentDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$></updated>\n <author>\n <name><$mt:CommentAuthor encode_xml=\"1\"$></name>\n <mt:If tag=\"CommenterURL\"><uri><$mt:CommenterURL encode_xml=\"1\"$></uri></mt:If>\n </author>\n <content type=\"html\" xml:lang=\"<$mt:BlogLanguage ietf=\"1\"$>\" xml:base=\"<$mt:BlogURL encode_xml=\"1\"$>\">\n <$mt:CommentBody encode_xml=\"1\"$>\n </content>\n </entry>\n </mt:Comments>\n<mt:ElseIf name=\"action\">\n <mt:Actions>\n <entry>\n <mt:ActionsEntry>\n <title><$mt:EntryBlogName remove_html=\"1\" encode_xml=\"1\"$>に<$mt:EntryTitle remove_html=\"1\" encode_xml=\"1\"$>を作成しました。</title>\n <link rel=\"alternate\" type=\"text/html\" href=\"<$mt:EntryPermalink encode_xml=\"1\"$>\" />\n <id><$mt:EntryAtomID$></id>\n <published><$mt:EntryDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$></published>\n <updated><$mt:EntryModifiedDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$></updated>\n <summary><$mt:EntryExcerpt remove_html=\"1\" encode_xml=\"1\"$></summary>\n <author>\n <name><$mt:EntryAuthorDisplayName encode_xml=\"1\"$></name>\n <uri><$mt:CGIPath encode_xml=\"1\"$><$mt:CommunityScript encode_xml=\"1\"$>?__mode=view&amp;blog_id=<$mt:BlogID$>&amp;id=<$mt:EntryAuthorID$></uri>\n </author>\n <mt:EntryCategories><category term=\"<$mt:CategoryLabel encode_xml=\"1\"$>\" scheme=\"http://www.sixapart.com/ns/types#category\" /></mt:EntryCategories>\n <mt:EntryTags><category term=\"<$mt:TagName normalize=\"1\" encode_xml=\"1\"$>\" label=\"<$mt:TagName encode_xml=\"1\"$>\" scheme=\"http://www.sixapart.com/ns/types#tag\" /></mt:EntryTags>\n <content type=\"html\" xml:lang=\"<$mt:BlogLanguage ietf=\"1\"$>\" xml:base=\"<$mt:BlogURL encode_xml=\"1\"$>\">\n <$mt:EntryBody encode_xml=\"1\"$>\n <$mt:EntryMore encode_xml=\"1\"$>\n </content>\n </mt:ActionsEntry>\n <mt:ActionsComment>\n <title><mt:CommentEntry><$mt:EntryTitle remove_html=\"1\" encode_xml=\"1\"$>(<$mt:EntryBlogName remove_html=\"1\" encode_xml=\"1\"$></mt:CommentEntry>)へコメントしました。</title>\n <link rel=\"alternate\" type=\"text/html\" href=\"<$mt:CommentLink encode_xml=\"1\"$>\" />\n <id><mt:CommentEntry><$mt:EntryAtomID$></mt:CommentEntry>#<$mt:CommentID$></id>\n <updated><$mt:CommentDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$></updated>\n <author>\n <name><$mt:CommentAuthor encode_xml=\"1\"$></name>\n <mt:If tag=\"CommenterURL\"><uri><$mt:CommenterURL encode_xml=\"1\"$></uri></mt:If>\n </author>\n <content type=\"html\" xml:lang=\"<$mt:BlogLanguage ietf=\"1\"$>\" xml:base=\"<$mt:BlogURL encode_xml=\"1\"$>\">\n <$mt:CommentBody encode_xml=\"1\"$>\n </content>\n </mt:ActionsComment>\n <mt:ActionsFavorite>\n <title><$mt:EntryTitle remove_html=\"1\" encode_xml=\"1\"$>(<$mt:EntryBlogName remove_html=\"1\" encode_xml=\"1\"$>)をお気に入りに追加しました。</title>\n <link rel=\"alternate\" type=\"text/html\" href=\"<$mt:EntryPermalink encode_xml=\"1\"$>\" />\n <id><$mt:EntryAtomID$></id>\n <published><$mt:EntryDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$></published>\n <updated><$mt:EntryModifiedDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$></updated>\n <author>\n <name><$mt:EntryAuthorDisplayName encode_xml=\"1\"$></name>\n <uri><$mt:CGIPath encode_xml=\"1\"$><$mt:CommunityScript encode_xml=\"1\"$>?__mode=view&amp;blog_id=<$mt:BlogID$>&amp;id=<$mt:EntryAuthorID$></uri>\n </author>\n <content type=\"html\" xml:lang=\"<$mt:BlogLanguage ietf=\"1\"$>\" xml:base=\"<$mt:BlogURL encode_xml=\"1\"$>\">\n <![CDATA[<p><$mt:EntryAuthorDisplayName remove_html=\"1\" encode_xml=\"1\"$>が<a href=\"<$mt:EntryPermalink encode_xml=\"1\"$>\"><$mt:EntryTitle remove_html=\"1\" encode_xml=\"1\"$></a>(<$mt:EntryBlogName remove_html=\"1\" encode_xml=\"1\"$>)をお気に入りに追加しました。</p>]]>\n </content>\n </mt:ActionsFavorite>\n </entry>\n </mt:Actions>\n</mt:If>\n</feed>\n','profile_feed',0);
1854
+ INSERT INTO `mt_template` VALUES (58,0,0,0,1,1,'2012-02-08 05:45:55','footer',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','フッター',NULL,1,' </div>\n </div>\n<mt:Unless name=\"hide_sidebar\">\n <$mt:Include module=\"サイドバー\"$>\n</mt:Unless>\n </div>\n </div>\n <div id=\"footer\">\n <div id=\"footer-inner\">\n <div id=\"footer-content\">\n <div class=\"widget-powered widget\">\n <div class=\"widget-content\">\n <span>Powered by <a href=\"http://www.sixapart.jp/movabletype/\"><$MTProductName$></a></span>\n </div>\n </div>\n<mt:BlogIfCCLicense>\n <div class=\"widget-creative-commons widget\">\n <div class=\"widget-content\">\n このブログは<a href=\"<$mt:BlogCCLicenseURL$>\">クリエイティブ・コモンズ</a>でライセンスされています。\n </div>\n </div>\n</mt:BlogIfCCLicense>\n </div>\n </div>\n </div>\n </div>\n </div>\n <$mt:Var name=\"html_body_footer\"$>\n</body>\n</html>\n','custom',0);
1855
+ INSERT INTO `mt_template` VALUES (59,0,0,0,1,1,'2012-02-08 05:45:55','commenter_confirm',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','コメントの確認',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:If tag=\"AuthorDisplayName\"><$mt:AuthorDisplayName encode_html=\"1\"$><mt:Else>Movable Type</mt:If>\n\n<$mt:Include module=\"メールフッター\"$>\n','email',0);
1856
+ INSERT INTO `mt_template` VALUES (60,0,0,0,1,1,'2012-02-08 05:45:55','userpic',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','プロフィール画像',NULL,1,'<div class=\"user-pic\">\n<mt:If name=\"userpic_type\" eq=\"profile\">\n <img src=\"<mt:If tag=\"AuthorUserpicURL\"><$mt:AuthorUserpicURL$><mt:Else><$mt:StaticWebPath$>images/default-userpic-90.jpg</mt:If>\"\n width=\"<$mt:Var name=\"userpic_size\"$>\" height=\"<$mt:Var name=\"userpic_size\"$>\" alt=\"<$mt:AuthorDisplayName encode_html=\"1\"$>\" />\n <mt:If tag=\"AuthorAuthType\" ne=\"MT\"><mt:If tag=\"AuthorAuthIconURL\"><span class=\"auth-icon\"><img src=\"<$mt:AuthorAuthIconURL size=\"logo_small\"$>\" alt=\"\"/></span></mt:If></mt:If>\n<mt:Else name=\"userpic_type\" eq=\"commenter\">\n <mt:IfCommenterIsAuthor><mt:Ignore><!-- If native MTCS user --></mt:Ignore>\n <a href=\"<$mt:CGIPath$><$mt:CommunityScript$>?__mode=view&amp;blog_id=<$mt:BlogID encode_html=\"1\"$>&amp;id=<$mt:CommenterID$>\"><img\n src=\"<mt:If tag=\"CommenterUserpic\"><$mt:CommenterUserpicURL$><mt:Else><$mt:StaticWebPath$>images/default-userpic-90.jpg</mt:If>\"\n width=\"<$mt:Var name=\"userpic_size\"$>\" height=\"<$mt:Var name=\"userpic_size\"$>\" alt=\"<$mt:CommenterName encode_html=\"1\"$>\" /></a>\n <mt:Else>\n <mt:If tag=\"CommenterID\"><mt:Ignore><!-- If authenticated user (OpenID, Vox, LJ, etc) --></mt:Ignore>\n <a href=\"<$mt:CGIPath$><$mt:CommunityScript$>?__mode=view&amp;blog_id=<$mt:BlogID encode_html=\"1\"$>&amp;id=<$mt:CommenterID$>\">\n <img src=\"<mt:If tag=\"CommenterUserpic\"><$mt:CommenterUserpicURL$><mt:Else><$mt:StaticWebPath$>images/default-userpic-90.jpg</mt:If>\" \n width=\"<$mt:Var name=\"userpic_size\"$>\" height=\"<$mt:Var name=\"userpic_size\"$>\" alt=\"<$mt:CommenterName encode_html=\"1\"$>\" />\n <mt:If tag=\"CommenterAuthIconURL\"><span class=\"auth-icon\"><img src=\"<$mt:CommenterAuthIconURL size=\"logo_small\"$>\" alt=\"\"/></span></mt:If>\n </a>\n <mt:Else><mt:Ignore><!-- Else anonymous commenter --></mt:Ignore>\n <a href=\"<$mt:CommentURL$>\"><img src=\"<mt:If tag=\"CommenterUserpic\"><$mt:CommenterUserpicURL$><mt:Else><$mt:StaticWebPath$>images/default-userpic-90.jpg</mt:If>\" \n width=\"<$mt:Var name=\"userpic_size\"$>\" height=\"<$mt:Var name=\"userpic_size\"$>\" alt=\"\" /></a>\n </mt:If>\n </mt:IfCommenterIsAuthor>\n<mt:Else name=\"userpic_type\" eq=\"userlist\">\n <a href=\"<$mt:CGIPath$><$mt:CommunityScript$>?__mode=view&amp;blog_id=<$mt:BlogID encode_html=\"1\"$>&amp;id=<$mt:AuthorID$>\"><img\n src=\"<mt:If tag=\"AuthorUserpicURL\"><$mt:AuthorUserpicURL$><mt:Else><$mt:StaticWebPath$>images/default-userpic-90.jpg</mt:If>\"\n width=\"<$mt:Var name=\"userpic_size\"$>\" height=\"<$mt:Var name=\"userpic_size\"$>\" alt=\"<$mt:AuthorDisplayName encode_html=\"1\"$>\" /></a>\n<mt:Else>\n <a href=\"<$mt:CGIPath$><$mt:CommunityScript$>?__mode=view&amp;blog_id=<$mt:BlogID encode_html=\"1\"$>&amp;id=<$mt:EntryAuthorID$>\"><img\n src=\"<mt:If tag=\"EntryAuthorUserpicURL\"><$mt:EntryAuthorUserpicURL$><mt:Else><$mt:StaticWebPath$>images/default-userpic-90.jpg</mt:If>\"\n width=\"<$mt:Var name=\"userpic_size\"$>\" height=\"<$mt:Var name=\"userpic_size\"$>\" alt=\"<$mt:EntryAuthorDisplayName encode_html=\"1\"$>\" /></a>\n</mt:If>\n</div>\n','custom',0);
1857
+ INSERT INTO `mt_template` VALUES (61,0,0,0,1,1,'2012-02-08 05:45:55','header',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','ヘッダー',NULL,1,'<mt:SetVarBlock name=\"html_head\" prepend=\"1\">\n\n <mt:IfBlog>\n <mt:Ignore>\n <!-- Community Solution Blog variables -->\n <!-- The below variables are used when there a blog is in context. -->\n </mt:Ignore>\n <mt:SetVarBlock name=\"blog_id\"><$mt:BlogID$></mt:SetVarBlock>\n <mt:SetVarBlock name=\"blog_name\"><$mt:BlogName encode_html=\"1\"$></mt:SetVarBlock>\n <mt:SetVarBlock name=\"blog_description\"><$mt:BlogDescription$></mt:SetVarBlock>\n <mt:SetVarBlock name=\"blog_url\"><$mt:BlogURL$></mt:SetVarBlock>\n <mt:SetVarBlock name=\"profile_view_url\"><$mt:CGIPath$><$mt:CommunityScript$>?__mode=view&amp;blog_id=<$mt:BlogID encode_html=\"1\"$>&amp;id=</mt:SetVarBlock>\n <link rel=\"stylesheet\" href=\"<$mt:Link template=\"styles\"$>\" type=\"text/css\" />\n <link rel=\"alternate\" type=\"application/atom+xml\" title=\"Atom\" href=\"<$mt:Link template=\"feed_recent\"$>\" />\n <link rel=\"start\" href=\"<$mt:BlogURL$>\" title=\"Home\" />\n <script type=\"text/javascript\" src=\"<$mt:Link template=\"javascript\"$>\"></script>\n <$mt:CCLicenseRDF$>\n <mt:Else>\n <mt:Ignore>\n <!-- Community Solution Static variables -->\n <!-- The below variables are used when there is no blog in context. Set them to defaults in the case that they are used w/o a blog context -->\n </mt:Ignore>\n <mt:SetVarBlock name=\"blog_name\">ブログ名</mt:SetVarBlock>\n <mt:SetVarBlock name=\"blog_description\">ブログの説明</mt:SetVarBlock>\n <mt:SetVarBlock name=\"blog_url\">#</mt:SetVarBlock>\n <mt:SetVarBlock name=\"profile_view_url\"><$mt:CGIPath$><$mt:CommunityScript$>?__mode=view&amp;id=</mt:SetVarBlock>\n <link rel=\"stylesheet\" href=\"<$mt:StaticWebPath$>themes-base/blog.css\" type=\"text/css\" />\n <link rel=\"stylesheet\" href=\"<$mt:StaticWebPath$>themes-base/forum.css\" type=\"text/css\" />\n <link rel=\"stylesheet\" href=\"<$mt:StaticWebPath$>themes/tristan-blue-4.2/screen.css\" type=\"text/css\" />\n <script type=\"text/javascript\" charset=\"utf-8\"><$mt:Include module=\"GlobalJavaScript\"$></script>\n <!-- END Community Solution Styles -->\n </mt:IfBlog>\n\n</mt:SetVarBlock>\n\n<mt:If tag=\"BlogTemplateSetID\" eq=\"mt-community-forum\"><$mt:Var name=\"page_layout\" value=\"layout-wm\"$></mt:If>\n\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"<$mt:BlogLanguage$>\" lang=\"<$mt:BlogLanguage$>\" id=\"sixapart-standard\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=<$mt:PublishCharset$>\" />\n <meta http-equiv=\"Content-Style-Type\" content=\"text/css\" />\n <meta http-equiv=\"Content-Script-Type\" content=\"text/javascript\" />\n <meta http-equiv=\"imagetoolbar\" content=\"no\" /> \n <title><$mt:Var name=\"title\"$></title>\n <meta name=\"generator\" content=\"<$mt:ProductName version=\"1\"$>\" />\n <$mt:Var name=\"html_head\"$>\n <mt:Ignore>\n <!-- Community Solution Scoring -->\n <!-- This updates any scoring controls on the page for the user who is signed-in. -->\n </mt:Ignore>\n <script type=\"text/javascript\">\n /* <![CDATA[ */\n mtAttachEvent(\'load\', mtUpdateScores);\n mtAttachEvent(\'usersignin\', mtUpdateScores);\n /* ]]> */\n </script>\n</head>\n<body id=\"<mt:BlogTemplateSetID>\" class=\"<$mt:Var name=\"body_class\"$> <$mt:Var name=\"page_layout\"$>\">\n <div id=\"container\">\n <div id=\"container-inner\">\n <div id=\"header\">\n <div id=\"header-inner\">\n <div id=\"header-content\">\n<mt:If name=\"main_index\">\n <h1 id=\"header-name\"><a href=\"<$mt:Var name=\"blog_url\"$>\" accesskey=\"1\"><$mt:Var name=\"blog_name\"$></a></h1>\n <mt:If name=\"blog_description\">\n <h2 id=\"header-description\"><$mt:Var name=\"blog_description\"$></h2>\n </mt:If>\n<mt:Else>\n <div id=\"header-name\"><a href=\"<$mt:Var name=\"blog_url\"$>\" accesskey=\"1\"><$mt:Var name=\"blog_name\"$></a></div>\n <mt:If name=\"blog_description\">\n <div id=\"header-description\"><$mt:Var name=\"blog_description\"$></div>\n </mt:If>\n</mt:If>\n <$mt:Include module=\"ナビゲーション\"$>\n <$mt:Include module=\"サインイン\"$>\n <$mt:Include module=\"検索\"$>\n </div>\n </div>\n </div>\n <div id=\"content\">\n <div id=\"content-inner\">\n <div id=\"alpha\">\n <div id=\"alpha-inner\">\n\n','custom',0);
1858
+ INSERT INTO `mt_template` VALUES (62,0,0,0,1,1,'2012-02-08 05:45:55','new-ping',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','新しいトラックバック',NULL,1,'<mt:If name=\"unapproved\"><mt:IfBlog><mt:if tag=\"EntryClass\" eq=\"entry\">ブログ \'<$mt:BlogName$>\' のブログ記事 \'<$mt:EntryTitle$>\' (ID:<$mt:EntryID$>) に未公開のトラックバックがあります。公開するまでこのトラックバックはブログに表示されません。<mt:Else>ブログ \'<$mt:BlogName$>\' のウェブページ \'<$mt:PageTitle$>\' (ID:<$mt:PageID$>) に未公開のトラックバックがあります。公開するまでこのトラックバックはブログに表示されません。</mt:If><mt:Else>ウェブサイト \'<$mt:WebsiteName$>\' のウェブページ \'<$mt:PageTitle$>\' (ID:<$mt:PageID$>) に未公開のトラックバックがあります。公開するまでこのトラックバックはウェブサイトに表示されません。</mt:IfBlog><mt:IfCategory>ブログ \'<$mt:BlogName$>\' のカテゴリ \'<$mt:CategoryLabel$>\' (ID:<$mt:CategoryID$>) に未公開のトラックバックがあります。公開するまでこのトラックバックはブログに表示されません。</mt:IfCategory></mt:If><mt:Unless name=\"unapproved\"><mt:IfBlog><mt:if tag=\"EntryClass\" eq=\"entry\">ブログ \'<$mt:BlogName$>\' のブログ記事 \'<$mt:EntryTitle$>\' (ID:<$mt:EntryID$>) に新しいトラックバックがあります。<mt:Else>ブログ \'<$mt:BlogName$>\' のウェブページ \'<$mt:PageTitle$>\' (ID:<$mt:PageID$>) に新しいトラックバックがあります。</mt:If><mt:Else>ウェブサイト \'<$mt:WebsiteName$>\' のウェブページ \'<$mt:PageTitle$>\' (ID:<$mt:PageID$>) に新しいトラックバックがあります。</mt:IfBlog><mt:IfCategory>ブログ \'<$mt:BlogName$>\' のカテゴリ \'<$mt:CategoryLabel$>\' (ID:<$mt:CategoryID$>) に新しいトラックバックがあります。</mt:IfCategory></mt:Unless>\n\n概要: \n<$mt:PingExcerpt wrap_text=\"72\"$>\n\nURL: <$mt:PingURL$>\nタイトル: <$mt:PingTitle$>\nブログ: <$mt:PingBlogName$>\nIPアドレス: <$mt:PingIP$>\n\n<mt:If name=\"state_editable\"><mt:If name=\"unapproved\">トラックバックを承認する: \n <<$mt:Var name=\"approve_url\"$>>\n</mt:If></mt:If>\n<mt:If name=\"entry\"><mt:If tag=\"EntryPermalink\">トラックバックを見る: \n <<$mt:EntryPermalink$>>\n</mt:If></mt:If>\n<mt:If name=\"state_editable\">トラックバックをスパムとして報告する: \n <<$mt:Var name=\"spam_url\"$>>\n</mt:If>\nトラックバックの編集: \n <<$mt:Var name=\"edit_url\"$>>\n\n<$mt:Include module=\"メールフッター\"$>\n','email',0);
1859
+ INSERT INTO `mt_template` VALUES (63,0,0,0,1,1,'2012-02-08 05:45:55','new_entry_email',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','ブログ記事の投稿通知',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);
1860
+ INSERT INTO `mt_template` VALUES (64,0,0,0,1,1,'2012-02-08 05:45:55','form_field',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','フォームフィールド',NULL,1,'<div id=\"<$mt:Var name=\"id\"$>-field\" class=\"field-top-label field pkg <$mt:Var name=\"class\"$>\">\n <div class=\"field-inner\">\n <div class=\"field-header\">\n <label type=\"text\" id=\"<$mt:Var name=\"id\"$>-label\" for=\"<$mt:Var name=\"id\"$>\"><$mt:Var name=\"label\"$><mt:If name=\"required\"> *</mt:If></label>\n </div>\n <div class=\"field-content \">\n <$mt:Var name=\"field-content\"$>\n </div>\n </div>\n</div>\n','custom',0);
1861
+ INSERT INTO `mt_template` VALUES (65,0,0,0,1,1,'2012-02-08 05:45:55','new-comment',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','新しいコメント',NULL,1,'<mt:If name=\"unapproved\"><mt:IfBlog><mt:if tag=\"EntryClass\" eq=\"entry\">未公開のコメントがブログ \'<$mt:BlogName$>\' のブログ記事 \'<$mt:EntryTitle$>\' (ID:<$mt:EntryID$>) に投稿されました。公開するまでこのコメントはブログに表示されません。<mt:Else>未公開のコメントがブログ \'<$mt:BlogName$>\' のウェブページ \'<$mt:PageTitle$>\' (ID:<$mt:PageID$>) に投稿されました。公開するまでこのコメントはブログに表示されません。</mt:If><mt:Else>未公開のコメントがウェブサイト \'<$mt:WebsiteName$>\' のウェブページ \'<$mt:PageTitle$>\' (ID:<$mt:PageID$>) に投稿されました。公開するまでこのコメントはウェブサイトに表示されません。</mt:IfBlog></mt:If><mt:Unless name=\"unapproved\"><mt:IfBlog><mt:if tag=\"EntryClass\" eq=\"entry\">ブログ \'<$mt:BlogName$>\' のブログ記事 \'<$mt:EntryTitle$>\' (ID:<$mt:EntryID$>) に新しいコメントが投稿されました。<mt:Else>ブログ \'<$mt:BlogName$>\' のウェブページ \'<$mt:PageTitle$>\' (ID:<$mt:PageID$>) に新しいコメントが投稿されました。</mt:If><mt:Else>ウェブサイト \'<$mt:WebsiteName$>\' のウェブページ \'<$mt:PageTitle$>\' (ID:<$mt:PageID$>) に新しいコメントが投稿されました。</mt:IfBlog></mt:Unless>\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<mt:If name=\"unapproved\"><mt:If name=\"state_editable\">コメントを承認する:\n <<$mt:Var name=\"approve_url\"$>></mt:If></mt:If>\n<mt:If name=\"view_url\">コメントを見る:\n <<$mt:Var name=\"view_url\"$>></mt:If>\nコメントを編集する:\n <<$mt:Var name=\"edit_url\"$>>\n<mt:If name=\"state_editable\">コメントをスパムとして報告する:\n <<$mt:Var name=\"spam_url\"$>></mt:If>\n\n<$mt:Include module=\"メールフッター\"$>\n','email',0);
1862
+ INSERT INTO `mt_template` VALUES (66,0,0,0,1,1,'2012-02-08 05:45:55','simple_header',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','シンプルヘッダー',NULL,1,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" id=\"sixapart-standard\" xmlns:fb=\"http://www.facebook.com/2008/fbml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title><$mt:Var name=\"title\" encode_html=\"1\"$></title>\n<mt:SetVarBlock name=\"html_head\" prepend=\"1\">\n<mt:If name=\"mt_debug\">\n <link rel=\"stylesheet\" href=\"<$mt:Var name=\"static_uri\"$>css/reset.css?v=<$mt:Var name=\"mt_version\" escape=\"url\"$>\" type=\"text/css\" />\n <link rel=\"stylesheet\" href=\"<$mt:Var name=\"static_uri\"$>css/utilities.css?v=<$mt:Var name=\"mt_version\" escape=\"url\"$>\" type=\"text/css\" />\n <link rel=\"stylesheet\" href=\"<$mt:Var name=\"static_uri\"$>css/messaging.css?v=<$mt:Var name=\"mt_version\" escape=\"url\"$>\" type=\"text/css\" />\n <link rel=\"stylesheet\" href=\"<$mt:Var name=\"static_uri\"$>css/chromeless.css?v=<$mt:Var name=\"mt_version\" escape=\"url\"$>\" type=\"text/css\" />\n<mt:Else>\n <link rel=\"stylesheet\" href=\"<$mt:Var name=\"static_uri\"$>css/simple.css?v=<$mt:Var name=\"mt_version\" escape=\"url\"$>\" type=\"text/css\" />\n</mt:If>\n <link rel=\"stylesheet\" href=\"<$mt:var name=\"static_uri\"$>addons/Commercial.pack/styles-customfields.css\" type=\"text/css\" media=\"screen\" title=\"CustomFields Stylesheet\" charset=\"utf-8\" />\n <!--[if lte IE 7]>\n <link rel=\"stylesheet\" href=\"<$mt:var name=\"static_uri\"$>css/hacks/ie.css?v=<mt:var name=\"mt_version_id\" escape=\"url\">\" type=\"text/css\" />\n <![endif]-->\n <!--[if lte IE 6]>\n <link rel=\"stylesheet\" href=\"<$mt:var name=\"static_uri\"$>css/hacks/ie6.css?v=<mt:var name=\"mt_version_id\" escape=\"url\">\" type=\"text/css\" />\n <![endif]-->\n<mt:If name=\"local_lang_id\">\n <mt:If name=\"local_lang_id\" ne=\"en-us\">\n <link rel=\"stylesheet\" href=\"<$mt:Var name=\"static_uri\"$>styles_<$mt:Var name=\"local_lang_id\"$>.css?v=<$mt:Var name=\"mt_version\" escape=\"url\"$>\" />\n </mt:If>\n</mt:If>\n <script type=\"text/javascript\" src=\"<$mt:Var name=\"static_uri\"$>js/common/Core.js?v=<$mt:Var name=\"mt_version\" escape=\"url\"$>\"></script>\n <script type=\"text/javascript\" src=\"<$mt:Var name=\"static_uri\"$>js/tc.js?v=<$mt:Var name=\"mt_version\" escape=\"url\"$>\"></script>\n <script type=\"text/javascript\" src=\"<$mt:Var name=\"static_uri\"$>jquery/jquery.js?v=<$mt:Var name=\"mt_version\" escape=\"url\"$>\"></script>\n</mt:SetVarBlock>\n<$mt:Var name=\"html_head\"$>\n<script type=\"text/javascript\" src=\"<$mt:Var name=\"static_uri\"$>mt.js?v=<$mt:Var name=\"mt_version\" escape=\"url\"$>\"></script>\n<script language=\"javascript\" type=\"text/javascript\">\n<!--\nfunction showByID(id) {\n var el = getByID(id);\n if (el) el.style.display = \"block\";\n}\nfunction hideByID(id) {\n var el = getByID(id);\n if (el) el.style.display = \"none\";\n}\n// -->\n</script>\n<$mt:Var name=\"js_include\"$>\n</head>\n\n<body id=\"<$mt:Var name=\"screen_id\"$>\" class=\"chromeless dialog<mt:If name=\"mt_debug\"> debug</mt:If><mt:If name=\"error_page\"><mt:If name=\"is_full_screen\"> error-screen</mt:If> chromeless-wide</mt:If><mt:If name=\"screen_type\" eq=\"popup-screen\"> chromeless-wide</mt:If> <$mt:Var name=\"body_class\" default=\"dialog\"$>\">\n <div id=\"container\">\n <div id=\"brand\"><img alt=\"Movable Type\" src=\"<mt:var name=\"static_uri\">images/chromeless/mt_logo.png\" /></div>\n <div id=\"nav\">\n<mt:If name=\"wizard_steps\">\n <mt:Unless name=\"complete\">\n <mt:If name=\"step\" ne=\"pre_start\">\n <mt:Loop name=\"wizard_steps\">\n <mt:Unless name=\"__last__\">\n <div class=\"step<mt:If name=\"active\">_active</mt:If>\"></div>\n </mt:Unless>\n </mt:Loop>\n </mt:If>\n </mt:Unless>\n</mt:If>\n </div>\n <h1 id=\"page-title\" class=\"asset-name\"><$mt:Var name=\"page_title\"$></h1>\n','custom',0);
1863
+ INSERT INTO `mt_template` VALUES (67,0,0,0,1,1,'2012-02-08 05:45:55','register_notification_email',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','登録通知',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);
1864
+ INSERT INTO `mt_template` VALUES (68,0,0,0,1,1,'2012-02-08 05:45:55','comment_throttle',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','コメントスロットル',NULL,1,'<mt:SetVarBlock name=\"message\">これが間違いである場合は、Movable Typeにログインして、ブログの設定画面に進み、禁止IPリストからIPアドレスを削除してください。</mt:SetVarBlock>\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);
1865
+ INSERT INTO `mt_template` VALUES (69,0,0,0,1,1,'2012-02-08 05:45:55','simple_footer',NULL,NULL,NULL,NULL,'2012-02-08 05:45:55','シンプルフッター',NULL,1,'\n</div><!--container-->\n<script type=\"text/javascript\">\n/* <![CDATA[ */\njQuery(\'input\').each(function() {\n jQuery(this).addClass(jQuery(this).attr(\'type\'));\n});\n/* ]]> */\n</script>\n\n</body>\n</html>\n\n','custom',0);
1866
+ INSERT INTO `mt_template` VALUES (70,2,0,0,1,1,'2012-02-08 05:46:18','entry_summary',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','ブログ記事の概要',NULL,1,'\n<$mt:EntryTrackbackData$>\n<div id=\"entry-<$mt:EntryID$>\" class=\"entry-asset asset hentry\">\n <div class=\"asset-header\">\n <h2 class=\"asset-name entry-title\"><a href=\"<$mt:EntryPermalink$>\" rel=\"bookmark\"><$mt:EntryTitle$></a></h2>\n <$mt:Include module=\"ブログ記事のメタデータ\" blog_id=\"$website_id\"$>\n </div>\n <div class=\"asset-content entry-content\">\n<mt:If tag=\"EntryBody\">\n <div class=\"asset-body\">\n <$mt:EntryBody$>\n </div>\n</mt:If>\n<mt:IfTagSearch>\n <$mt:Include module=\"タグ\"$>\n</mt:IfTagSearch>\n<mt:If tag=\"EntryMore\" convert_breaks=\"0\">\n <div class=\"asset-more-link\">\n 続きを読む: <a href=\"<$mt:EntryPermalink$>#more\" rel=\"bookmark\"><$mt:EntryTitle$></a>\n </div>\n</mt:If>\n </div>\n <div class=\"asset-footer\"></div>\n</div>\n\n','custom',0);
1867
+ INSERT INTO `mt_template` VALUES (71,2,0,0,1,1,'2012-02-08 05:46:18','trackbacks',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','トラックバック',NULL,1,'\n<mt:IfPingsActive>\n<div id=\"trackbacks\" class=\"trackbacks\">\n <h2 class=\"trackbacks-header\"><$mt:EntryTrackbackCount singular=\"トラックバック(1)\" plural=\"トラックバック(#)\" none=\"トラックバック(0)\"$></h2>\n <mt:IfPingsAccepted>\n <div class=\"trackbacks-info\">\n <p>トラックバックURL: <$mt:EntryTrackbackLink$></p>\n </div>\n </mt:IfPingsAccepted>\n <mt:Pings>\n <mt:PingsHeader>\n <div class=\"trackbacks-content\">\n </mt:PingsHeader>\n <div class=\"trackback\" id=\"ping-<$mt:PingID$>\">\n <div class=\"inner\">\n <div class=\"trackback-header\">\n <div class=\"asset-meta\">\n <$mt:PingBlogName$> - <a href=\"<$mt:PingURL$>\"><$mt:PingTitle$></a> (<a href=\"#ping-<$mt:PingID$>\"><$mt:PingDate$></a>)\n </div>\n </div>\n <div class=\"trackback-content\">\n <p>\n <$mt:PingExcerpt$> <a href=\"<$mt:PingURL$>\">続きを読む</a>\n </p>\n </div>\n </div>\n </div>\n <mt:PingsFooter>\n </div>\n </mt:PingsFooter>\n </mt:Pings>\n</div>\n</mt:IfPingsActive>\n\n\n','custom',0);
1868
+ INSERT INTO `mt_template` VALUES (72,2,0,0,1,1,'2012-02-08 05:46:18','comment_preview',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','コメントプレビュー',NULL,1,'\n<$mt:Var name=\"page_layout\" value=\"layout-wm\"$>\n<mt:SetVarBlock name=\"page_title\">コメントのプレビュー</mt:SetVarBlock>\n<mt:SetVarBlock name=\"title\"><$mt:BlogName encode_html=\"1\"$>: <$mt:Var name=\"page_title\"$></mt:SetVarBlock>\n<mt:SetVarBlock name=\"html_head\">\n <script type=\"text/javascript\">\n /* <![CDATA[ */\n var user = <$mt:UserSessionState$>;\n var is_preview = true;\n /* ]]> */\n </script>\n</mt:SetVarBlock>\n<$mt:Include module=\"ヘッダー\" body_class=\"mt-comment-preview\"$>\n\n<h1 id=\"page-title\"><$mt:Var name=\"page_title\"$></h1>\n\n<$mt:Include module=\"コメント詳細\"$>\n\n<$mt:Include module=\"コメント入力フォーム\"$>\n\n<$mt:Include module=\"フッター\"$>\n\n\n','comment_preview',0);
1869
+ INSERT INTO `mt_template` VALUES (73,2,0,0,1,1,'2012-02-08 05:46:18','powered_by_footer',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','Powered By (フッター)',NULL,1,'<div class=\"widget-powered widget\">\n <div class=\"widget-content\">\n <span>Powered by <a href=\"http://www.sixapart.jp/movabletype/\"><$MTProductName$></a></span>\n </div>\n</div>\n','custom',0);
1870
+ INSERT INTO `mt_template` VALUES (74,2,0,0,1,1,'2012-02-08 05:46:18','search_results',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','検索結果',NULL,1,'\n<mt:SetVarBlock name=\"page_title\">検索結果</mt:SetVarBlock>\n<mt:SetVarBlock name=\"title\"><$mt:BlogName encode_html=\"1\"$>: <$mt:Var name=\"page_title\"$></mt:SetVarBlock>\n\n<mt:Ignore><!-- Below Javascript adds ajax search capability --></mt:Ignore>\n<mt:SetVarBlock name=\"html_head\" append=\"1\">\n<script type=\"text/javascript\">\n/* <![CDATA[ */\nvar user = <$mt:UserSessionState$>;\n<mt:IfMoreResults>\nfunction getResults(page) {\n page = parseInt(page);\n if (timer) window.clearTimeout(timer);\n var xh = mtGetXmlHttp();\n if (!xh) return false;\n var res = results[page];\n if (!res) return;\n var url = res[\'next_url\'];\n if (!url) return;\n\n xh.open(\'GET\', url + \'&format=js\', true);\n xh.onreadystatechange = function() {\n if ( xh.readyState == 4 ) {\n if ( xh.status && ( xh.status != 200 ) ) {\n // error - ignore\n } else {\n try {\n var page_results = eval(\"(\" + xh.responseText + \")\");\n if ( page_results[\'error\'] == null )\n results[page + 1] = page_results[\'result\'];\n } catch (e) {\n }\n }\n }\n };\n xh.send(null);\n}\n\nfunction swapContent(direction) {\n if ( direction == undefined ) direction = 1;\n var page_span = document.getElementById(\'current-page\');\n if (!page_span) return true;\n var next_page = direction + parseInt(page_span.innerHTML);\n var res = results[next_page];\n if (!res) return true;\n var content = res[\'content\'];\n if (!content) return true;\n var div = document.getElementById(\'search-results\');\n if (!div) return true;\n div.innerHTML = content;\n timer = window.setTimeout(\"getResults(\" + next_page + \")\", 1*1000);\n window.scroll(0, 0);\n return false;\n}\n<mt:Else><mt:IfPreviousResults>\nfunction swapContent(direction) {\n return true;\n}</mt:IfPreviousResults>\n</mt:IfMoreResults>\n/* ]]> */\n</script>\n</mt:SetVarBlock>\n\n<$mt:Include module=\"ヘッダー\" body_class=\"mt-search-results\"$>\n\n<mt:SetVarTemplate id=\"search_results\" name=\"search_results\"> \n <mt:SearchResults>\n <mt:SearchResultsHeader>\n<div id=\"search-results\">\n <span id=\"current-page\" class=\"hidden\"><$mt:CurrentPage$></span>\n <h1 id=\"page-title\" class=\"search-results-header\">\n <mt:IfStraightSearch>\n 「<$mt:SearchString$>」と一致するもの\n </mt:IfStraightSearch>\n <mt:IfTagSearch>\n タグ「<$mt:SearchString$>」が付けられているもの\n </mt:IfTagSearch>\n </h1>\n <div class=\"search-results-container autopagerize_page_element\">\n </mt:SearchResultsHeader>\n <$mt:Include module=\"ブログ記事の概要\" hide_counts=\"1\"$>\n <mt:SearchResultsFooter>\n </div><div class=\"autopagerize_insert_before\"></div>\n <mt:Ignore>Used with the ajax search capability of the new search class</mt:Ignore>\n <div class=\"content-nav\">\n <mt:IfPreviousResults><a href=\"<$mt:PreviousLink$>\" rel=\"prev\" onclick=\"return swapContent(-1);\">&lt; 前</a>&nbsp;&nbsp;</mt:IfPreviousResults><mt:PagerBlock><mt:IfCurrentPage><$mt:Var name=\"__value__\"$><mt:Else><a href=\"<$mt:PagerLink$>\"><$mt:Var name=\"__value__\"$></a></mt:IfCurrentPage><mt:Unless name=\"__last__\">&nbsp;</mt:Unless></mt:PagerBlock><mt:IfMoreResults>&nbsp;&nbsp;<a href=\"<$mt:NextLink$>\" rel=\"next\" onclick=\"return swapContent();\">次 &gt;</a></mt:IfMoreResults>\n </div>\n</div>\n </mt:SearchResultsFooter>\n </mt:SearchResults>\n</mt:SetVarTemplate>\n<$mt:Var name=\"search_results\"$>\n\n<mt:NoSearchResults>\n<h1 id=\"page-title\" class=\"search-results-header\">\n <mt:IfStraightSearch>\n 「<$mt:SearchString$>」と一致するもの\n </mt:IfStraightSearch>\n <mt:IfTagSearch>\n タグ「<$mt:SearchString$>」が付けられているもの\n </mt:IfTagSearch>\n</h1>\n<p>「<$mt:SearchString$>」と一致する結果は見つかりませんでした。</p>\n</mt:NoSearchResults>\n\n<mt:NoSearch>\n<h1 id=\"page-title\" class=\"search-results-header\">例</h1>\n<p>すべての単語が順序に関係なく検索されます。フレーズで検索したいときは引用符で囲んでください。</p>\n<blockquote>\n <p><code>\"movable type\"</code></p>\n</blockquote>\n<p>AND、OR、NOTを入れることで論理検索を行うこともできます。</p>\n<blockquote>\n <p><code>個人 OR 出版</code></p>\n <p><code>個人 NOT 出版</code></p>\n</blockquote>\n</mt:NoSearch>\n\n<mt:Ignore>Used with the ajax search capability of the new search class</mt:Ignore>\n<mt:IfMoreResults>\n<script type=\"text/javascript\">\n<!--\nvar div = document.getElementById(\'search-results\');\nvar results = {\n \'<$mt:CurrentPage$>\': {\n \'content\': div.innerHTML,\n \'next_url\': \'<$mt:NextLink$>\'\n }\n};\nvar timer = window.setTimeout(\"getResults(\" + <$mt:CurrentPage$> + \")\", 1*1000);\n//-->\n</script>\n</mt:IfMoreResults>\n<$mt:Include module=\"フッター\"$>\n\n','search_results',0);
1871
+ INSERT INTO `mt_template` VALUES (75,2,0,0,1,1,'2012-02-08 05:46:18','categories',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','カテゴリ',NULL,1,'<mt:If tag=\"EntryCategory\">\n<div class=\"entry-categories\">\n <h4>カテゴリ<span class=\"delimiter\">:</span></h4>\n <ul>\n <li><mt:EntryCategories glue=\'<span class=\"delimiter\">,</span></li> <li>\'><a href=\"<$mt:CategoryArchiveLink$>\" rel=\"tag\"><$mt:CategoryLabel$></a></mt:EntryCategories></li>\n </ul>\n</div>\n</mt:If>\n','custom',0);
1872
+ INSERT INTO `mt_template` VALUES (76,2,0,0,1,1,'2012-02-08 05:46:18','recent_assets',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','アイテム',NULL,1,'<mt:If tag=\"AssetCount\">\n <mt:Assets type=\"image\" lastn=\"10\">\n <mt:AssetsHeader>\n<div class=\"widget-recent-assets widget\">\n <h3 class=\"widget-header\">アイテム</h3>\n <div class=\"widget-content\">\n <ul>\n </mt:AssetsHeader>\n <li class=\"item\"><a class=\"asset-image\" href=\"<$mt:AssetURL$>\"><img alt=\"<$mt:AssetLabel$>\" src=\"<$mt:AssetThumbnailURL height=\"70\" square=\"1\"$>\" width=\"70\" height=\"70\" title=\"<$mt:AssetLabel$>\" class=\"asset-img-thumb\" /></a></li>\n <mt:AssetsFooter>\n </ul>\n </div>\n</div>\n </mt:AssetsFooter>\n </mt:Assets>\n</mt:If>\n','widget',0);
1873
+ INSERT INTO `mt_template` VALUES (77,2,0,0,1,1,'2012-02-08 05:46:18','rsd',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','RSD','rsd.xml',1,'<$mt:HTTPContentType type=\"application/rsd+xml\"$><?xml version=\"1.0\"?>\n<rsd version=\"1.0\" xmlns=\"http://archipelago.phrasewise.com/rsd\">\n<service>\n<engineName><$mt:ProductName version=\"1\"$></engineName>\n<engineLink>http://www.sixapart.com/movabletype/</engineLink>\n<homePageLink><$mt:BlogURL$></homePageLink>\n<apis>\n<api name=\"MetaWeblog\" preferred=\"true\" apiLink=\"<$mt:CGIPath$><$mt:XMLRPCScript$>\" blogID=\"<$mt:BlogID$>\" />\n<api name=\"MovableType\" preferred=\"false\" apiLink=\"<$mt:CGIPath$><$mt:XMLRPCScript$>\" blogID=\"<$mt:BlogID$>\" />\n<api name=\"Blogger\" preferred=\"false\" apiLink=\"<$mt:CGIPath$><$mt:XMLRPCScript$>\" blogID=\"<$mt:BlogID$>\" />\n<api name=\"Atom\" preferred=\"false\" apiLink=\"<$mt:CGIPath$><$mt:AtomScript$>/weblog\" blogID=\"<$mt:BlogID$>\" />\n</apis>\n</service>\n</rsd>\n','index',0);
1874
+ INSERT INTO `mt_template` VALUES (78,2,0,0,1,1,'2012-02-08 05:46:18','monthly_archive_dropdown',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','月別アーカイブ(ドロップダウン)',NULL,1,'<mt:IfArchiveTypeEnabled archive_type=\"Monthly\">\n <mt:ArchiveList archive_type=\"Monthly\">\n <mt:ArchiveListHeader>\n<div class=\"widget-archive-monthly-dropdown widget-archive widget\">\n <h3 class=\"widget-header\"><a href=\"<$mt:BlogURL$>archives.html\">アーカイブ</a></h3>\n <div class=\"widget-content\">\n <select onchange=\"nav(this)\">\n <option>月を選択...</option>\n </mt:ArchiveListHeader>\n <option value=\"<$mt:ArchiveLink$>\"><$mt:ArchiveTitle$></option>\n <mt:ArchiveListFooter>\n </select>\n </div>\n</div>\n<script type=\"text/javascript\" charset=\"utf-8\">\n/* <![CDATA[ */\nfunction nav(sel) {\n if (sel.selectedIndex == -1) return;\n var opt = sel.options[sel.selectedIndex];\n if (opt && opt.value)\n location.href = opt.value;\n}\n/* ]]> */\n</script>\n </mt:ArchiveListFooter>\n </mt:ArchiveList>\n</mt:IfArchiveTypeEnabled>\n','widget',0);
1875
+ INSERT INTO `mt_template` VALUES (79,2,0,0,1,1,'2012-02-08 05:46:18','styles',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','スタイルシート','styles.css',1,'@import url(<$mt:StaticWebPath$>themes-base/blog.css);\n@import url(<$mt:StaticWebPath$>addons/Commercial.pack/themes/professional-black/screen.css);\n','index',0);
1876
+ INSERT INTO `mt_template` VALUES (80,2,0,0,1,1,'2012-02-08 05:46:18','tags',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','タグ',NULL,1,'<mt:EntryIfTagged>\n<div class=\"entry-tags\">\n <h4>タグ<span class=\"delimiter\">:</span></h4>\n <ul>\n <li><mt:EntryTags glue=\'<span class=\"delimiter\">,</span></li> <li>\'><a href=\"javascript:void(0)\" onclick=\"location.href=\'<$mt:TagSearchLink encode_js=\"1\"$>\';return false;\" rel=\"tag\"><$mt:TagName$></a></mt:EntryTags></li>\n </ul>\n</div>\n</mt:EntryIfTagged>\n','custom',0);
1877
+ INSERT INTO `mt_template` VALUES (81,2,0,0,1,1,'2012-02-08 05:46:18','feed_recent',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','最新記事のフィード','atom.xml',1,'<$mt:HTTPContentType type=\"application/atom+xml\"$><?xml version=\"1.0\" encoding=\"<$mt:PublishCharset$>\"?>\n<feed xmlns=\"http://www.w3.org/2005/Atom\">\n <title><$mt:BlogName remove_html=\"1\" encode_xml=\"1\"$></title>\n <link rel=\"alternate\" type=\"text/html\" href=\"<$mt:BlogURL encode_xml=\"1\"$>\" />\n <link rel=\"self\" type=\"application/atom+xml\" href=\"<$mt:Link template=\"feed_recent\"$>\" />\n <id>tag:<$mt:BlogHost exclude_port=\"1\" encode_xml=\"1\"$>,<$mt:TemplateCreatedOn format=\"%Y-%m-%d\"$>:<$mt:BlogRelativeURL encode_xml=\"1\"$>/<$mt:BlogID$></id>\n <updated><mt:Entries lastn=\"1\"><$mt:EntryModifiedDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$></mt:Entries></updated>\n <mt:If tag=\"BlogDescription\"><subtitle><$mt:BlogDescription remove_html=\"1\" encode_xml=\"1\"$></subtitle></mt:If>\n <generator uri=\"http://www.sixapart.com/movabletype/\"><$mt:ProductName version=\"1\"$></generator>\n<mt:Entries lastn=\"15\">\n<entry>\n <title><$mt:EntryTitle remove_html=\"1\" encode_xml=\"1\"$></title>\n <link rel=\"alternate\" type=\"text/html\" href=\"<$mt:EntryPermalink encode_xml=\"1\"$>\" />\n <id><$mt:EntryAtomID$></id>\n\n <published><$mt:EntryDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$></published>\n <updated><$mt:EntryModifiedDate utc=\"1\" format=\"%Y-%m-%dT%H:%M:%SZ\"$></updated>\n\n <summary><$mt:EntryExcerpt remove_html=\"1\" encode_xml=\"1\"$></summary>\n <author>\n <name><$mt:EntryAuthorDisplayName encode_xml=\"1\"$></name>\n <mt:If tag=\"EntryAuthorURL\"><uri><$mt:EntryAuthorURL encode_xml=\"1\"$></uri></mt:If>\n </author>\n <mt:EntryCategories>\n <category term=\"<$mt:CategoryLabel encode_xml=\"1\"$>\" scheme=\"http://www.sixapart.com/ns/types#category\" />\n </mt:EntryCategories>\n <mt:EntryIfTagged><mt:EntryTags><category term=\"<$mt:TagName normalize=\"1\" encode_xml=\"1\"$>\" label=\"<$mt:TagName encode_xml=\"1\"$>\" scheme=\"http://www.sixapart.com/ns/types#tag\" />\n </mt:EntryTags></mt:EntryIfTagged>\n <content type=\"html\" xml:lang=\"<$mt:BlogLanguage ietf=\"1\"$>\" xml:base=\"<$mt:BlogURL encode_xml=\"1\"$>\">\n <$mt:EntryBody encode_xml=\"1\"$>\n <$mt:EntryMore encode_xml=\"1\"$>\n </content>\n</entry>\n</mt:Entries>\n</feed>\n','index',0);
1878
+ INSERT INTO `mt_template` VALUES (82,2,0,0,1,1,'2012-02-08 05:46:18','entry',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','ブログ記事',NULL,1,'\n<$mt:Var name=\"page_layout\" value=\"layout-wtt\"$>\n\n<mt:SetVarBlock name=\"title\"><$mt:EntryTitle encode_html=\"1\"$> - <$mt:BlogName encode_html=\"1\"$></mt:SetVarBlock>\n<mt:SetVarBlock name=\"html_head\">\n <mt:EntryPrevious><link rel=\"prev bookmark\" href=\"<$mt:EntryPermalink$>\" title=\"<$mt:EntryTitle encode_html=\"1\"$>\" /></mt:EntryPrevious>\n <mt:EntryNext><link rel=\"next bookmark\" href=\"<$mt:EntryPermalink$>\" title=\"<$mt:EntryTitle encode_html=\"1\"$>\" /></mt:EntryNext>\n<$mt:Var name=\"comments_per_page\" value=\"50\"$>\n<mt:If tag=\"EntryCommentCount\" gt=\"$comments_per_page\">\n <script type=\"text/javascript\">\n MT.entryID = <$mt:EntryID$>;\n MT.commentsPerPage = <$mt:Var name=\"comments_per_page\"$>;\n MT.entryCommentCount = <$mt:EntryCommentCount$>;\n MT.commentIds = [<mt:Comments sort_order=\"ascend\" glue=\",\"><mt:CommentID></mt:Comments>];\n </script>\n</mt:If>\n <$mt:EntryTrackbackData$>\n</mt:SetVarBlock>\n\n<$mt:Include module=\"ヘッダー\" body_class=\"mt-entry-archive\"$>\n\n<$mt:Include module=\"ブログ記事の詳細\"$>\n\n<$mt:Include module=\"トラックバック\"$>\n\n<$mt:Include module=\"コメント\"$>\n\n<$mt:Include module=\"フッター\"$>\n\n','individual',0);
1879
+ INSERT INTO `mt_template` VALUES (83,2,0,0,1,1,'2012-02-08 05:46:18','category_archive_list',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','カテゴリアーカイブ',NULL,1,'<mt:IfArchiveTypeEnabled archive_type=\"Category\">\n<mt:if tag=\"BlogCategoryCount\">\n<div class=\"widget-archive widget-archive-category widget\">\n <h3 class=\"widget-header\">カテゴリ</h3>\n <div class=\"widget-content\">\n <mt:TopLevelCategories>\n <mt:SubCatIsFirst>\n <ul>\n </mt:SubCatIsFirst>\n <mt:If tag=\"CategoryCount\">\n <li><a href=\"<$mt:CategoryArchiveLink$>\"<mt:If tag=\"CategoryDescription\"> title=\"<$mt:CategoryDescription remove_html=\"1\" encode_html=\"1\"$>\"</mt:If>><$mt:CategoryLabel$> (<$mt:CategoryCount$>)</a>\n <mt:Else>\n <li><$mt:CategoryLabel$>\n </mt:If>\n <$mt:SubCatsRecurse$>\n </li>\n <mt:SubCatIsLast>\n </ul>\n </mt:SubCatIsLast>\n </mt:TopLevelCategories>\n </div>\n</div>\n</mt:if>\n</mt:IfArchiveTypeEnabled>\n','widget',0);
1880
+ INSERT INTO `mt_template` VALUES (84,2,0,0,1,1,'2012-02-08 05:46:18','signin',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','サインイン',NULL,1,'<div class=\"widget-sign-in widget\">\n <h3 class=\"widget-header\">サインイン</h3>\n <div id=\"signin-widget-content\" class=\"widget-content\"></div>\n</div>\n<script type=\"text/javascript\">\n/* <![CDATA[ */\nfunction mtUpdateSignInWidget(u) {\n var el = document.getElementById(\'signin-widget-content\');\n var content = \'\';\n if (!el) return;\n if (u) {\n if (u && u.is_authenticated) {\n user = u;\n mtSaveUser();\n } else {\n // user really isn\'t logged in; so let\'s do this!\n return mtSignIn();\n }\n } else {\n u = mtGetUser();\n }\n if (u && u.name) {\n var url;\n if (u.is_authenticated) {\n if (u.is_author) {\n url = \'<$mt:CGIPath$><$mt:CommentScript$>?__mode=edit_profile&blog_id=<$mt:BlogID$>\';\n url += \'&static=\' + encodeURIComponent( location.href );\n } else {\n url = u.url;\n }\n } else if (u.url) {\n url = u.url;\n } else {\n url = null;\n }\n var content = \'ユーザー名:\';\n if (url)\n content += \'<a href=\"\' + url + \'\">\' + u.name + \'</a>\';\n else\n content += u.name;\n content += \'. (<a href=\"javascript:void(0)\" onclick=\"return mtSignOutOnClick()\">サインアウト</a>)\';\n } else if (u && u.is_banned) {\n content = \'このブログにサインインする権限がありません。\';\n } else {\n content = \'<a href=\"javascript:void(0)\" onclick=\"return mtSignInOnClick(\\\'signin-widget-content\\\')\">サインイン</a>\';\n }\n el.innerHTML = content;\n}\nmtAttachEvent(\'usersignin\', mtUpdateSignInWidget);\nmtUpdateSignInWidget();\n/* ]]> */\n</script>\n','custom',0);
1881
+ INSERT INTO `mt_template` VALUES (85,2,0,0,1,1,'2012-02-08 05:46:18','monthly_archive_list',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','月別アーカイブ',NULL,1,'<mt:IfArchiveTypeEnabled archive_type=\"Monthly\">\n <mt:ArchiveList archive_type=\"Monthly\">\n <mt:ArchiveListHeader>\n<div class=\"widget-archive-monthly widget-archive widget\">\n <h3 class=\"widget-header\"><$mt:ArchiveTypeLabel$> <a href=\"<$mt:Link template=\"archive_index\"$>\">アーカイブ</a></h3>\n <div class=\"widget-content\">\n <ul>\n </mt:ArchiveListHeader>\n <li><a href=\"<$mt:ArchiveLink$>\"><$mt:ArchiveTitle$> (<$mt:ArchiveCount$>)</a></li>\n <mt:ArchiveListFooter>\n </ul>\n </div>\n</div>\n </mt:ArchiveListFooter>\n </mt:ArchiveList>\n</mt:IfArchiveTypeEnabled>\n','widget',0);
1882
+ INSERT INTO `mt_template` VALUES (86,2,0,0,1,1,'2012-02-08 05:46:18','popup_image',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','ポップアップ画像',NULL,1,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" id=\"sixapart-standard\">\n<head><title><$mt:ImageURL$></title></head>\n<body id=\"uploaded-image-popup\" class=\"popup\" style=\"margin: 0;padding: 0;\">\n <img src=\"<$mt:ImageURL$>\" width=\"<$mt:ImageWidth$>\" height=\"<$mt:ImageHeight$>\" alt=\"<$mt:ImageURL$>\" style=\"margin: 0;padding: 0;border: 0;\" />\n</body>\n</html>\n','popup_image',0);
1883
+ INSERT INTO `mt_template` VALUES (87,2,0,0,1,1,'2012-02-08 05:46:18','search',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','検索',NULL,1,'<div class=\"widget-search widget\">\n <h3 class=\"widget-header\">検索</h3>\n <div class=\"widget-content\">\n <form method=\"get\" action=\"<$mt:CGIPath$><$mt:SearchScript$>\">\n <input type=\"text\" id=\"search\" class=\"ti\" name=\"search\" value=\"<$mt:SearchString$>\" />\n<mt:If name=\"search_results\">\n <input type=\"hidden\" name=\"IncludeBlogs\" value=\"<$mt:SearchIncludeBlogs$>\" />\n<mt:Else>\n <input type=\"hidden\" name=\"IncludeBlogs\" value=\"<$mt:BlogID$>\" />\n</mt:If>\n <input type=\"hidden\" name=\"limit\" value=\"<$mt:SearchMaxResults$>\" />\n <input type=\"submit\" accesskey=\"4\" value=\"検索\" />\n </form>\n </div>\n</div>\n','custom',0);
1884
+ INSERT INTO `mt_template` VALUES (88,2,0,0,1,1,'2012-02-08 05:46:18','tag_cloud',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','タグクラウド',NULL,1,'<mt:Tags top=\"20\">\n<mt:if name=\"__first__\">\n<div class=\"widget-tag-cloud widget\">\n <h3 class=\"widget-header\">タグクラウド</h3>\n <div class=\"widget-content\">\n <ul>\n</mt:if>\n <li class=\"rank-<$mt:TagRank max=\"10\"$>\"><a href=\"javascript:void(0)\" onclick=\"location.href=\'<$mt:TagSearchLink encode_js=\"1\"$>\';return false;\" rel=\"tag\"><$mt:TagName$></a></li>\n<mt:if name=\"__last__\">\n </ul>\n </div>\n</div>\n</mt:if>\n</mt:Tags>\n','widget',0);
1885
+ INSERT INTO `mt_template` VALUES (89,2,0,0,1,1,'2012-02-08 05:46:18','footer',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','フッター',NULL,1,'\n </div>\n </div>\n <$mt:Include module=\"サイドバー\"$>\n </div>\n </div>\n <div id=\"footer\">\n <div id=\"footer-inner\">\n <div id=\"footer-content\">\n <$mt:Include module=\"Powered By (フッター)\"$>\n <$mt:Include module=\"フッターのリンク\"$>\n\n<mt:BlogIfCCLicense>\n <div class=\"widget-creative-commons widget\">\n <div class=\"widget-content\">\n このブログは<a href=\"<$mt:BlogCCLicenseURL$>\">クリエイティブ・コモンズ</a>でライセンスされています。\n </div>\n </div>\n</mt:BlogIfCCLicense>\n </div>\n </div>\n </div>\n </div>\n </div>\n</body>\n</html>\n\n','custom',0);
1886
+ INSERT INTO `mt_template` VALUES (90,2,0,0,1,1,'2012-02-08 05:46:18','recent_entries',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','最近のブログ記事',NULL,1,'<mt:If tag=\"BlogEntryCount\">\n <mt:Entries lastn=\"10\">\n <mt:EntriesHeader>\n<div class=\"widget-recent-entries widget-archives widget\">\n <h3 class=\"widget-header\">最近のブログ記事</h3>\n <div class=\"widget-content\">\n <ul>\n </mt:EntriesHeader>\n <li><a href=\"<$mt:EntryPermalink$>\"><$mt:EntryTitle$></a></li>\n <mt:EntriesFooter>\n </ul>\n </div>\n</div>\n </mt:EntriesFooter>\n </mt:Entries>\n</mt:If>\n','widget',0);
1887
+ INSERT INTO `mt_template` VALUES (91,2,0,0,1,1,'2012-02-08 05:46:18','author_archive_list',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','ユーザーアーカイブ',NULL,1,'<mt:IfArchiveTypeEnabled archive_type=\"Author\">\n <mt:ArchiveList archive_type=\"Author\">\n <mt:ArchiveListHeader>\n<div class=\"widget-archive widget-archive-author widget\">\n <h3 class=\"widget-header\">ユーザー</h3>\n <div class=\"widget-content\">\n <ul>\n </mt:ArchiveListHeader>\n <li><a href=\"<$mt:ArchiveLink$>\"><$mt:ArchiveTitle$> (<$mt:ArchiveCount$>)</a></li>\n <mt:ArchiveListFooter>\n </ul>\n </div>\n</div>\n </mt:ArchiveListFooter>\n </mt:ArchiveList>\n</mt:IfArchiveTypeEnabled>\n','widget',0);
1888
+ INSERT INTO `mt_template` VALUES (92,2,0,0,1,1,'2012-02-08 05:46:18','date_based_author_archives',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','日付ベースのユーザーアーカイブ',NULL,1,'<mt:IfArchiveTypeEnabled archive_type=\"Author-Yearly\">\n <mt:ArchiveList archive_type=\"Author-Yearly\">\n <mt:ArchiveListHeader>\n<div class=\"widget-archive-author-yearly widget-archive widget\">\n <h3 class=\"widget-header\">年別ユーザーアーカイブ</h3>\n <div class=\"widget-content\">\n <ul>\n </mt:ArchiveListHeader>\n <li><a href=\"<$mt:ArchiveLink$>\"><$mt:ArchiveTitle$> (<$mt:ArchiveCount$>)</a></li>\n <mt:ArchiveListFooter>\n </ul>\n </div>\n</div>\n </mt:ArchiveListFooter>\n </mt:ArchiveList>\n</mt:IfArchiveTypeEnabled>\n\n<mt:IfArchiveTypeEnabled archive_type=\"Author-Monthly\">\n <mt:ArchiveList archive_type=\"Author-Monthly\">\n <mt:ArchiveListHeader>\n<div class=\"widget-archive-author-monthly widget-archive widget\">\n <h3 class=\"widget-header\">月別ユーザーアーカイブ</h3>\n <div class=\"widget-content\">\n <ul>\n </mt:ArchiveListHeader>\n <li><a href=\"<$mt:ArchiveLink$>\"><$mt:ArchiveTitle$> (<$mt:ArchiveCount$>)</a></li>\n <mt:ArchiveListFooter>\n </ul>\n </div>\n</div>\n </mt:ArchiveListFooter>\n </mt:ArchiveList>\n</mt:IfArchiveTypeEnabled>\n\n<mt:IfArchiveTypeEnabled archive_type=\"Author-Weekly\">\n <mt:ArchiveList archive_type=\"Author-Weekly\">\n <mt:ArchiveListHeader>\n<div class=\"widget-archive-author-weekly widget-archive widget\">\n <h3 class=\"widget-header\">週別ユーザーアーカイブ</h3>\n <div class=\"widget-content\">\n <ul>\n </mt:ArchiveListHeader>\n <li><a href=\"<$mt:ArchiveLink$>\"><$mt:ArchiveTitle$> (<$mt:ArchiveCount$>)</a></li>\n <mt:ArchiveListFooter>\n </ul>\n </div>\n</div>\n </mt:ArchiveListFooter>\n </mt:ArchiveList>\n</mt:IfArchiveTypeEnabled>\n\n<mt:IfArchiveTypeEnabled archive_type=\"Author-Daily\">\n <mt:ArchiveList archive_type=\"Author-Daily\">\n <mt:ArchiveListHeader>\n<div class=\"widget-archive-author-daily widget-archive widget\">\n <h3 class=\"widget-header\">日別ユーザーアーカイブ</h3>\n <div class=\"widget-content\">\n <ul>\n </mt:ArchiveListHeader>\n <li><a href=\"<$mt:ArchiveLink$>\"><$mt:ArchiveTitle$> (<$mt:ArchiveCount$>)</a></li>\n <mt:ArchiveListFooter>\n </ul>\n </div>\n</div>\n </mt:ArchiveListFooter>\n </mt:ArchiveList>\n</mt:IfArchiveTypeEnabled>\n\n','widget',0);
1889
+ INSERT INTO `mt_template` VALUES (93,2,0,0,1,1,'2012-02-08 05:46:18','pages_list',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','ページ一覧',NULL,1,'<mt:IfArchiveTypeEnabled archive_type=\"Page\">\n<mt:If tag=\"BlogPageCount\">\n<div class=\"widget-pages widget\">\n <h3 class=\"widget-header\">ウェブページ</h3>\n <div class=\"widget-content\">\n <ul>\n <mt:Pages no_folder=\"1\" sort_by=\"title\" sort_order=\"ascend\">\n <li class=\"page page-<$mt:PageID$>\"><a href=\"<$mt:PagePermalink$>\"><$mt:PageTitle$></a></li>\n </mt:Pages>\n <mt:TopLevelFolders>\n <li class=\"folder folder-<$mt:FolderID$>\"><strong><$mt:FolderLabel$></strong>\n <mt:Pages sort_by=\"title\" sort_order=\"ascend\">\n <mt:PagesHeader>\n <ul>\n </mt:PagesHeader>\n <li class=\"page page-<$mt:PageID$>\"><a href=\"<$mt:PagePermalink$>\"><$mt:PageTitle$></a></li>\n <mt:PagesFooter>\n </ul>\n </mt:PagesFooter>\n </mt:Pages>\n </li>\n <$mt:SubFolderRecurse$>\n </mt:TopLevelFolders>\n </ul>\n </div>\n</div>\n</mt:If>\n</mt:IfArchiveTypeEnabled>\n','widget',0);
1890
+ INSERT INTO `mt_template` VALUES (94,2,0,0,1,1,'2012-02-08 05:46:18','sidebar',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','サイドバー',NULL,1,'\n<div id=\"beta\">\n <div id=\"beta-inner\">\n<mt:If name=\"page_columns\" eq=\"2\">\n <$mt:WidgetSet name=\"アクティビティ\"$>\n</mt:If>\n <$mt:WidgetSet name=\"アーカイブ\"$>\n </div>\n</div>\n<mt:If name=\"page_columns\" eq=\"3\">\n<div id=\"gamma\">\n <div id=\"gamma-inner\">\n <$mt:WidgetSet name=\"アクティビティ\"$>\n </div>\n</div>\n</mt:If>\n\n','custom',0);
1891
+ INSERT INTO `mt_template` VALUES (95,2,0,0,1,1,'2012-02-08 05:46:18','comments',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','コメント',NULL,1,'<mt:Ignore>\n<!-- Display comments for the entry/page or commenting form if entry/page is accepting comments -->\n</mt:Ignore>\n<mt:IfCommentsActive>\n\n<div id=\"comments\" class=\"comments\">\n <mt:If name=\"comment_preview\">\n <$mt:Include module=\"コメント入力フォーム\"$>\n </mt:If>\n <mt:Ignore>\n <!-- Display comments -->\n </mt:Ignore>\n <mt:Comments lastn=\"$comments_per_page\">\n <mt:CommentsHeader>\n <h2 class=\"comments-header\"><$mt:EntryCommentCount singular=\"コメント(1)\" plural=\"コメント(#)\" none=\"コメント(0)\"$></h2>\n <mt:If tag=\"EntryCommentCount\" gt=\"$comments_per_page\">\n <ul id=\"top-comment-nav\">\n <li id=\"top-prev-comments\">\n <a href=\"javascript://\" id=\"top-prev-comments-link\" title=\"前\">&lt;&lt;&nbsp;前</a>\n </li>\n <li id=\"top-num-comments\"><span id=\"top-current-comments\"></span></li>\n <li id=\"top-next-comments\">\n <a href=\"javascript://\" id=\"top-next-comments-link\" title=\"次\">次&nbsp;&gt;&gt;</a>\n </li>\n </ul>\n </mt:If>\n <div id=\"comments-content\" class=\"comments-content\" style=\"clear: left;\">\n </mt:CommentsHeader>\n <$mt:Include module=\"コメント詳細\"$>\n <mt:CommentsFooter>\n </div>\n </mt:CommentsFooter>\n </mt:Comments>\n <mt:If tag=\"EntryCommentCount\" gt=\"$comments_per_page\">\n <mt:Ignore>ページネーションスクリプトによって変更されています。</mt:Ignore>\n <ul id=\"comment-nav\">\n <li id=\"prev-comments\">\n <a href=\"javascript://\" id=\"prev-comments-link\" title=\"前\">&lt;&lt;&nbsp;前</a>\n </li>\n <li id=\"num-comments\"><span id=\"current-comments\"></span></li>\n <li id=\"next-comments\">\n <a href=\"javascript://\" id=\"next-comments-link\" title=\"次\">次&nbsp;&gt;&gt;</a>\n </li>\n </ul>\n </mt:If>\n <mt:Unless name=\"comment_preview\">\n <$mt:Include module=\"コメント入力フォーム\"$>\n </mt:Unless>\n</div>\n</mt:IfCommentsActive>\n','custom',0);
1892
+ INSERT INTO `mt_template` VALUES (96,2,0,0,1,1,'2012-02-08 05:46:18','page',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','ウェブページ',NULL,1,'\n<$mt:Var name=\"page_layout\" value=\"layout-wtt\"$>\n<mt:SetVarBlock name=\"nav_on\"><$mt:PageID$></mt:SetVarBlock>\n\n<mt:SetVarBlock name=\"title\"><$mt:PageTitle encode_html=\"1\"$> - <$mt:BlogName encode_html=\"1\"$></mt:SetVarBlock>\n<mt:SetVarBlock name=\"html_head\">\n<$mt:Var name=\"comments_per_page\" value=\"50\"$>\n<mt:If tag=\"EntryCommentCount\" gt=\"$comments_per_page\">\n <script type=\"text/javascript\">\n MT.entryID = <$mt:PageID$>;\n MT.commentsPerPage = <$mt:Var name=\"comments_per_page\"$>;\n MT.entryCommentCount = <$mt:EntryCommentCount$>;\n MT.commentIds = [<mt:Comments sort_order=\"ascend\" glue=\",\"><mt:CommentID></mt:Comments>];\n </script>\n</mt:If>\n <$mt:EntryTrackbackData$>\n</mt:SetVarBlock>\n\n<$mt:Include module=\"ヘッダー\" body_class=\"mt-page-archive\"$>\n\n<$mt:Include module=\"ウェブページの詳細\"$>\n\n<$mt:Include module=\"トラックバック\"$>\n\n<$mt:Include module=\"コメント\"$>\n\n<$mt:Include module=\"フッター\"$>\n\n','page',0);
1893
+ INSERT INTO `mt_template` VALUES (97,2,0,0,1,1,'2012-02-08 05:46:18','comment_detail',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','コメント詳細',NULL,1,'\n<div class=\"comment<mt:If name=\"__odd__\"> odd<mt:Else> even</mt:If>\"<mt:IfArchiveTypeEnabled archive_type=\"Individual\"> id=\"comment-<$mt:CommentID$>\"</mt:IfArchiveTypeEnabled>>\n <div class=\"inner\">\n <div class=\"comment-header\">\n <div class=\"asset-meta\">\n <span class=\"byline\">\n <$mt:CommentAuthorIdentity$>\n<mt:IfCommentParent>\n <span class=\"vcard author\"><$mt:CommentAuthorLink$></span>から<a href=\"<mt:CommentParent><$mt:CommentLink$></mt:CommentParent>\"><mt:CommentParent><$mt:CommentAuthor$></mt:CommentParent></a>への返信\n<mt:Else>\n <span class=\"vcard author\"><$mt:CommentAuthorLink$></span>\n</mt:IfCommentParent>\n | <a href=\"<$mt:CommentLink$>\"><abbr class=\"published\" title=\"<$mt:CommentDate format_name=\"iso8601\"$>\"><$mt:CommentDate$></abbr></a>\n<mt:Unless name=\"comment_preview\">\n <mt:IfCommentsAccepted>\n | <$mt:CommentReplyToLink$>\n </mt:IfCommentsAccepted>\n</mt:Unless>\n </span>\n </div>\n </div>\n <div class=\"comment-content\">\n <$mt:CommentBody$>\n </div>\n </div>\n</div>\n\n','custom',0);
1894
+ INSERT INTO `mt_template` VALUES (98,2,0,0,1,1,'2012-02-08 05:46:18','current_category_monthly_archive_list',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','カテゴリ月別アーカイブ',NULL,1,'<mt:IfArchiveTypeEnabled archive_type=\"Category-Monthly\">\n <mt:ArchiveList archive_type=\"Category-Monthly\">\n <mt:ArchiveListHeader>\n<div class=\"widget-archive-current-category-monthly widget-archive widget\">\n <h3 class=\"widget-header\"><$mt:CategoryLabel$>: 月別アーカイブ</h3>\n <div class=\"widget-content\">\n <ul>\n </mt:ArchiveListHeader>\n <li><a href=\"<$mt:ArchiveLink$>\"><$mt:ArchiveTitle$></a></li>\n <mt:ArchiveListFooter>\n </ul>\n </div>\n</div>\n </mt:ArchiveListFooter>\n </mt:ArchiveList>\n</mt:IfArchiveTypeEnabled>\n','widget',0);
1895
+ INSERT INTO `mt_template` VALUES (99,2,0,0,1,1,'2012-02-08 05:46:18','about_this_page',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','About',NULL,1,'<mt:unless name=\"main_index\">\n<div class=\"widget-about-this-page widget\">\n <h3 class=\"widget-header\">\n<mt:If name=\"entry_template\">\n このブログ記事について\n<mt:Else>\n <mt:If name=\"archive_template\">\n このアーカイブについて\n </mt:If>\n</mt:If>\n<mt:If name=\"archive_index\">\n このページについて\n</mt:If>\n </h3>\n <div class=\"widget-content\">\n<mt:If name=\"archive_index\">\n <p>このページには過去に書かれたすべてのコンテンツが含まれています。</p>\n</mt:If>\n<mt:If name=\"entry_template\">\n <p class=\"first\">このページは、<$mt:EntryAuthorLink$>が<$mt:EntryDate format=\"%x %X\"$>に書いたブログ記事です。</p>\n <mt:EntryPrevious>\n <p>ひとつ前のブログ記事は「<a href=\"<$mt:EntryPermalink$>\"><$mt:EntryTitle remove_html=\"1\"$></a>」です。</p>\n </mt:EntryPrevious>\n <mt:EntryNext>\n <p>次のブログ記事は「<a href=\"<$mt:EntryPermalink$>\"><$mt:EntryTitle remove_html=\"1\"$></a>」です。</p>\n </mt:EntryNext>\n</mt:If>\n<mt:If name=\"category_archive\">\n <mt:If name=\"datebased_archive\">\n <p class=\"first\">このページには、<strong><$mt:ArchiveDate format=\"%B %Y\"$></strong>以降に書かれたブログ記事のうち<strong><$mt:CategoryLabel$></strong>カテゴリに属しているものが含まれています。</p>\n <mt:ArchivePrevious>\n <p>前のアーカイブは<a href=\"<$mt:ArchiveLink$>\"><$mt:ArchiveTitle$></a>です。</p>\n </mt:ArchivePrevious>\n <mt:ArchiveNext>\n <p>次のアーカイブは<a href=\"<$mt:ArchiveLink$>\"><$mt:ArchiveTitle$></a>です。</p>\n </mt:ArchiveNext>\n <mt:Else>\n <p class=\"first\">このページには、過去に書かれたブログ記事のうち<strong><$mt:CategoryLabel$></strong>カテゴリに属しているものが含まれています。</p>\n <mt:CategoryPrevious>\n <p>前のカテゴリは<a href=\"<$mt:CategoryArchiveLink$>\"><$mt:CategoryLabel$></a>です。</p>\n </mt:CategoryPrevious>\n <mt:CategoryNext>\n <p>次のカテゴリは<a href=\"<$mt:CategoryArchiveLink$>\"><$mt:CategoryLabel$></a>です。</p>\n </mt:CategoryNext>\n </mt:If>\n</mt:If>\n<mt:If name=\"author_archive\">\n <mt:If name=\"datebased_archive\">\n <p class=\"first\">このページには、<strong><$mt:AuthorDisplayName encode_html=\"1\"$></strong>が<strong><$mt:ArchiveDate format=\"%B %Y\"$></strong>に書いたブログ記事が含まれています。</p>\n <mt:ArchivePrevious>\n <p>前のアーカイブは<a href=\"<$mt:ArchiveLink$>\"><$mt:ArchiveTitle$></a>です。</p>\n </mt:ArchivePrevious>\n <mt:ArchiveNext>\n <p>次のアーカイブは<a href=\"<$mt:ArchiveLink$>\"><$mt:ArchiveTitle$></a>です。</p>\n </mt:ArchiveNext>\n <mt:Else>\n <p class=\"first\">このページには、<strong><$mt:AuthorDisplayName encode_html=\"1\"$></strong>が最近書いたブログ記事が含まれています。</p>\n </mt:If>\n</mt:If>\n<mt:If name=\"datebased_only_archive\">\n <p class=\"first\">このページには、<strong><$mt:ArchiveDate format=\"%B %Y\"$></strong>に書かれたブログ記事が新しい順に公開されています。</p>\n <mt:ArchivePrevious>\n <p>前のアーカイブは<a href=\"<$mt:ArchiveLink$>\"><$mt:ArchiveTitle$></a>です。</p>\n </mt:ArchivePrevious>\n <mt:ArchiveNext>\n <p>次のアーカイブは<a href=\"<$mt:ArchiveLink$>\"><$mt:ArchiveTitle$></a>です。</p>\n </mt:ArchiveNext>\n</mt:If>\n<mt:If name=\"archive_index\">\n <p>最近のコンテンツは<a href=\"<$mt:BlogURL$>\">インデックスページ</a>で見られます。</p>\n<mt:Else>\n <p>最近のコンテンツは<a href=\"<$mt:BlogURL$>\">インデックスページ</a>で見られます。過去に書かれたものは<a href=\"<$mt:Link template=\"archive_index\"$>\">アーカイブのページ</a>で見られます。</p>\n</mt:If>\n </div>\n</div>\n</mt:unless>\n','widget',0);
1896
+ INSERT INTO `mt_template` VALUES (100,2,0,0,1,1,'2012-02-08 05:46:18','openid',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','OpenID対応',NULL,1,'<mt:IfRegistrationAllowed type=\"OpenID\">\n<div class=\"widget-openid widget\">\n <div class=\"widget-content\">\n <em><strong>OpenID</strong>対応しています</em>\n <a href=\"http://www.movabletype.jp/openid/\">OpenIDについて</a>\n </div>\n</div>\n</mt:IfRegistrationAllowed>\n','widget',0);
1897
+ INSERT INTO `mt_template` VALUES (101,2,0,0,1,1,'2012-02-08 05:46:18','creative_commons',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','クリエイティブ・コモンズ',NULL,1,'<mt:BlogIfCCLicense>\n<div class=\"widget-creative-commons widget\">\n <div class=\"widget-content\">\n <a href=\"<$mt:BlogCCLicenseURL$>\"><img alt=\"Creative Commons License\" src=\"<$mt:BlogCCLicenseImage$>\" /></a><br />\n このブログは<a href=\"<$mt:BlogCCLicenseURL$>\">クリエイティブ・コモンズ</a>でライセンスされています。\n </div>\n</div>\n</mt:BlogIfCCLicense>\n','widget',0);
1898
+ INSERT INTO `mt_template` VALUES (102,2,0,0,1,1,'2012-02-08 05:46:18','comment_form',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','コメント入力フォーム',NULL,1,'<mt:IfCommentsAccepted>\n<div class=\"comments-open\" id=\"comments-open\">\n <h2 class=\"comments-open-header\">コメントする</h2>\n <div class=\"comments-open-content\">\n <div id=\"comment-greeting\"></div>\n <form method=\"post\" action=\"<$mt:CGIPath$><$mt:CommentScript$>\" name=\"comments_form\" id=\"comments-form\" onsubmit=\"return mtCommentOnSubmit(this)\">\n <input type=\"hidden\" name=\"static\" value=\"1\" />\n <input type=\"hidden\" name=\"entry_id\" value=\"<$mt:EntryID$>\" />\n <input type=\"hidden\" name=\"__lang\" value=\"<$mt:BlogLanguage$>\" />\n <input type=\"hidden\" name=\"parent_id\" value=\"<$mt:CommentParentID$>\" id=\"comment-parent-id\" />\n <input type=\"hidden\" name=\"armor\" value=\"1\" />\n <input type=\"hidden\" name=\"preview\" value=\"\" />\n <input type=\"hidden\" name=\"sid\" value=\"\" />\n <div id=\"comments-open-data\">\n <div id=\"comment-form-name\">\n <label for=\"comment-author\">名前</label>\n <input id=\"comment-author\" name=\"author\" size=\"30\" value=\"<mt:If name=\"comment_preview\"><$mt:CommentAuthor encode_html=\"1\"$></mt:If>\" onfocus=\"mtCommentFormOnFocus()\" />\n </div>\n <div id=\"comment-form-email\">\n <label for=\"comment-email\">電子メール</label>\n <input id=\"comment-email\" name=\"email\" size=\"30\" value=\"<mt:If name=\"comment_preview\"><$mt:CommentEmail encode_html=\"1\"$></mt:If>\" onfocus=\"mtCommentFormOnFocus()\" />\n </div>\n <div id=\"comment-form-url\">\n <label for=\"comment-url\">URL</label>\n <input id=\"comment-url\" name=\"url\" size=\"30\" value=\"<mt:If name=\"comment_preview\"><$mt:CommentURL encode_html=\"1\"$></mt:If>\" onfocus=\"mtCommentFormOnFocus()\" />\n </div>\n<mt:Unless name=\"comment_preview\">\n <div id=\"comment-form-remember-me\">\n <input type=\"checkbox\" id=\"comment-bake-cookie\" name=\"bakecookie\" onclick=\"mtRememberMeOnClick(this)\" value=\"1\" accesskey=\"r\" />\n <label for=\"comment-bake-cookie\">ログイン情報を記憶</label>\n </div>\n</mt:Unless>\n </div>\n <div id=\"comment-form-reply\"<mt:IfCommentParent><mt:Else> style=\"display:none\"</mt:IfCommentParent>>\n <input type=\"checkbox\" id=\"comment-reply\" name=\"comment_reply\" value=\"<$mt:CommentParentID$>\"<mt:IfCommentParent> checked=\"checked\"</mt:IfCommentParent> onclick=\"mtSetCommentParentID()\" />\n <label for=\"comment-reply\" id=\"comment-reply-label\"><mt:IfCommentParent><mt:CommentParent><$mt:CommentAuthor$></mt:CommentParent>からのコメントに返信</mt:IfCommentParent></label>\n </div>\n <div id=\"comments-open-text\">\n <label for=\"comment-text\">コメント\n <mt:IfAllowCommentHTML>(スタイル用のHTMLタグを使えます)</mt:IfAllowCommentHTML></label>\n <textarea id=\"comment-text\" name=\"text\" rows=\"15\" cols=\"50\" onfocus=\"mtCommentFormOnFocus()\"><mt:If name=\"comment_preview\"><$mt:CommentBody autolink=\"0\" sanitize=\"0\" convert_breaks=\"0\" encode_html=\"1\"$></mt:If></textarea>\n </div>\n <div id=\"comments-open-captcha\"></div>\n <div id=\"comments-open-footer\">\n <input type=\"submit\" accesskey=\"v\" name=\"preview_button\" id=\"comment-preview\" value=\"プレビュー\" onclick=\"this.form.preview.value=\'1\';\" />\n <input type=\"submit\" accesskey=\"s\" name=\"post\" id=\"comment-submit\" value=\"投稿\" />\n <mt:If name=\"comment_preview\">\n <input type=\"button\" name=\"cancel\" id=\"comment-cancel\" value=\"キャンセル\" onclick=\"window.location=\'<$mt:EntryPermalink$>\'\" />\n </mt:If>\n </div>\n </form>\n </div>\n</div>\n<script type=\"text/javascript\">\n<!--\nmtAttachEvent(\"load\", mtEntryOnLoad);\nmtAttachEvent(\"unload\", mtEntryOnUnload);\n//-->\n</script>\n</mt:IfCommentsAccepted>\n','custom',0);
1899
+ INSERT INTO `mt_template` VALUES (103,2,0,0,1,1,'2012-02-08 05:46:18','footer_links',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','フッターのリンク',NULL,1,'\n<div class=\"widget-footer-links widget\">\n <h3 class=\"widget-header\">リンク</h3>\n <div class=\"widget-content\">\n <ul>\n <li><a href=\"<$mt:Link template=\"メインページ\"$>\">ホーム</a></li>\n<mt:Pages tag=\"@footer\">\n <li>&nbsp;&nbsp;|&nbsp;&nbsp;<a href=\"<$mt:PagePermalink$>\"><$mt:PageTitle$></a></li>\n</mt:Pages>\n </ul>\n </div>\n</div>\n\n','custom',0);
1900
+ INSERT INTO `mt_template` VALUES (104,2,0,0,1,1,'2012-02-08 05:46:18','entry_detail',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','ブログ記事の詳細',NULL,1,'\n<div id=\"entry-<$mt:EntryID$>\" class=\"entry-asset asset hentry\">\n <div class=\"asset-header\">\n <h1 id=\"page-title\" class=\"asset-name entry-title\"><$mt:EntryTitle$></h1>\n <$mt:Include module=\"ブログ記事のメタデータ\"$>\n </div>\n <div class=\"asset-content entry-content\">\n<mt:If tag=\"EntryBody\">\n <div class=\"asset-body\">\n <$mt:EntryBody$>\n </div>\n</mt:If>\n<mt:If tag=\"EntryMore\" convert_breaks=\"0\">\n <div id=\"more\" class=\"asset-more\">\n <$mt:EntryMore$>\n </div>\n</mt:If>\n </div>\n <div class=\"asset-footer\">\n <$mt:Include module=\"カテゴリ\"$>\n <$mt:Include module=\"タグ\"$>\n </div>\n</div>\n','custom',0);
1901
+ INSERT INTO `mt_template` VALUES (105,2,0,0,1,1,'2012-02-08 05:46:18','navigation',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','ナビゲーション',NULL,1,'\n<ul>\n<mt:BlogParentWebsite>\n <li class=\"first\"><a href=\"<$mt:Link template=\"メインページ\"$>\">ホーム</a></li>\n <li class=\"on\"><a href=\"<$mt:WebsiteURL$>blogs/\">ブログ</a></li>\n</mt:BlogParentWebsite>\n\n<mt:Pages tag=\"@topnav\" include_blogs=\"siblings\" include_with_website=\"1\">\n<mt:SetVarBlock name=\"this_page_id\"><$mt:PageID$></mt:SetVarBlock>\n<li class=\"<mt:If name=\"nav_on\" eq=\"$this_page_id\"> on</mt:If>\"><a href=\"<$mt:PagePermalink$>\"><$mt:PageTitle$></a></li>\n</mt:Pages>\n\n<mt:Pages tags=\"@about\" limit=\"1\" include_blogs=\"siblings\" include_with_website=\"1\">\n<mt:SetVarBlock name=\"this_page_id\"><$mt:PageID$></mt:SetVarBlock>\n<li class=\"<mt:If name=\"nav_on\" eq=\"$this_page_id\"> on</mt:If>\"><a href=\"<$mt:PagePermalink$>\"><$mt:PageTitle$></a></li>\n</mt:Pages>\n\n<mt:Pages tags=\"@contact\" limit=\"1\" include_blogs=\"siblings\" include_with_website=\"1\">\n<mt:SetVarBlock name=\"this_page_id\"><$mt:PageID$></mt:SetVarBlock>\n<li class=\"last<mt:If name=\"nav_on\" eq=\"$this_page_id\"> on</mt:If>\"><a href=\"<$mt:PagePermalink$>\"><$mt:PageTitle$></a></li>\n</mt:Pages>\n</ul>\n\n','custom',0);
1902
+ INSERT INTO `mt_template` VALUES (106,2,0,0,1,1,'2012-02-08 05:46:18','entry_listing',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','ブログ記事リスト',NULL,1,'\n<mt:SetVarBlock name=\"page_title\"><$mt:ArchiveTitle$>アーカイブ</mt:SetVarBlock>\n<mt:SetVarBlock name=\"title\"><$mt:BlogName encode_html=\"1\"$>: <$mt:Var name=\"page_title\"$></mt:SetVarBlock>\n<mt:Unless name=\"datebased_archive\"><$mt:Var name=\"limit\" value=\"auto\"$></mt:Unless>\n<mt:If name=\"datebased_archive\">\n <mt:SetVarBlock name=\"html_head\">\n <mt:ArchivePrevious><link rel=\"prev\" href=\"<$mt:ArchiveLink$>\" title=\"<$mt:ArchiveTitle encode_html=\"1\"$>\" /></mt:ArchivePrevious>\n <mt:ArchiveNext><link rel=\"next\" href=\"<$mt:ArchiveLink$>\" title=\"<$mt:ArchiveTitle encode_html=\"1\"$>\" /></mt:ArchiveNext>\n </mt:SetVarBlock>\n</mt:If>\n\n<mt:SetVarBlock name=\"body_class\">mt-archive-listing mt-<$mt:Var name=\"archive_class\"$></mt:SetVarBlock>\n<$mt:Include module=\"ヘッダー\" body_class=\"$body_class\"$>\n\n<h1 id=\"page-title\" class=\"archive-title\">\n<mt:Unless name=\"datebased_archive\">\n <mt:IfArchiveType archive_type=\"Category\">\n<em><$mt:ArchiveTitle$></em>の最近のブログ記事\n </mt:IfArchiveType>\n <mt:IfArchiveType archive_type=\"Author\">\n<em><$mt:ArchiveTitle$></em>の最近のブログ記事\n </mt:IfArchiveType>\n<mt:Else>\n<$mt:Var name=\"page_title\"$>\n</mt:Unless>\n</h1>\n\n<mt:Entries limit=\"$limit\">\n<$mt:Include module=\"ブログ記事の概要\"$>\n</mt:Entries>\n\n<div class=\"content-nav\">\n <mt:ArchivePrevious>\n <a href=\"<$mt:ArchiveLink$>\">&laquo; <$mt:ArchiveTitle$></a> |\n </mt:ArchivePrevious>\n <a href=\"<$mt:Link template=\"main_index\"$>\">メインページ</a> |\n <a href=\"<$mt:Link template=\"archive_index\"$>\">アーカイブ</a>\n <mt:ArchiveNext>\n | <a href=\"<$mt:ArchiveLink$>\"><$mt:ArchiveTitle$> &raquo;</a>\n </mt:ArchiveNext>\n</div>\n\n<$mt:Include module=\"フッター\"$>\n\n','archive',0);
1903
+ INSERT INTO `mt_template` VALUES (107,2,0,0,1,1,'2012-02-08 05:46:18','comment_response',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','コメント完了',NULL,1,'\n<mt:If name=\"comment_confirmation\">\n <$mt:Var name=\"page_title\" value=\"確認\"$>\n <$mt:Var name=\"message\" value=\"<p>コメントを投稿しました。</p>\"$>\n<mt:Else name=\"comment_pending\">\n <$mt:Var name=\"page_title\" value=\"コメントありがとうございます。\"$>\n <$mt:Var name=\"message\" value=\"<p>コメントは現在承認されるまで公開を保留されています。</p>\"$>\n<mt:Else name=\"comment_error\">\n <$mt:Var name=\"page_title\" value=\"コメント投稿エラー\"$>\n <mt:SetVarBlock name=\"message\"><p>コメントを投稿できませんでした。エラー: <$mt:ErrorMessage$></p></mt:SetVarBlock>\n</mt:If>\n<mt:SetVarBlock name=\"title\"><$mt:BlogName encode_html=\"1\"$>: <$mt:Var name=\"page_title\"$></mt:SetVarBlock>\n<mt:SetVarBlock name=\"html_head\">\n <script type=\"text/javascript\">\n /* <![CDATA[ */\n var user = <$mt:UserSessionState$>;\n var is_preview = true;\n /* ]]> */\n </script>\n</mt:SetVarBlock>\n\n<$mt:Include module=\"ヘッダー\"$>\n\n<h1 id=\"page-title\"><$mt:Var name=\"page_title\"$></h1>\n<$mt:Var name=\"message\"$>\n<p><a href=\"<mt:If name=\"comment_error\">javascript:history.back()<mt:Else><$mt:EntryLink$></mt:If>\">元の記事</a>に戻る</p>\n\n<$mt:Include module=\"フッター\"$>\n\n','comment_response',0);
1904
+ INSERT INTO `mt_template` VALUES (108,2,0,0,1,1,'2012-02-08 05:46:18','entry_metadata',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','ブログ記事のメタデータ',NULL,1,'<div class=\"asset-meta\">\n <span class=\"byline\">\n<mt:If tag=\"EntryAuthorDisplayName\">\n <span class=\"vcard author\"><$mt:EntryAuthorLink show_hcard=\"1\"$></span> (<abbr class=\"published\" title=\"<$mt:EntryDate format_name=\"iso8601\"$>\"><$mt:EntryDate format=\"%x %X\"$></abbr>)\n<mt:Else>\n <abbr class=\"published\" title=\"<$mt:EntryDate format_name=\"iso8601\"$>\"><$mt:EntryDate format=\"%x %X\"$></abbr>\n</mt:If>\n </span>\n<mt:Unless name=\"hide_counts\" eq=\"1\">\n <mt:IfCommentsActive><span class=\"separator\">|</span> <a href=\"<$mt:EntryPermalink$>#comments\"><$mt:EntryCommentCount singular=\"コメント(1)\" plural=\"コメント(#)\"$></a></mt:IfCommentsActive>\n <mt:IfPingsActive><span class=\"separator\">|</span> <a href=\"<$mt:EntryPermalink$>#trackbacks\"><$mt:EntryTrackbackCount singular=\"トラックバック(1)\" plural=\"トラックバック(#)\"$></a></mt:IfPingsActive>\n</mt:Unless>\n</div>\n','custom',0);
1905
+ INSERT INTO `mt_template` VALUES (109,2,0,0,1,1,'2012-02-08 05:46:18','archive_widgets_group',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','アーカイブウィジェットグループ',NULL,1,'<mt:Ignore>\n アーカイブの種類に応じて異なる内容を表示するように設定されたウィジェットです。詳細: http://www.movabletype.org/documentation/designer/widget-sets.html\n</mt:Ignore>\n<mt:If name=\"category_archive\">\n <mt:IfArchiveTypeEnabled archive_type=\"Category-Monthly\">\n <$mt:Include widget=\"カテゴリ月別アーカイブ\"$>\n </mt:IfArchiveTypeEnabled>\n</mt:If>\n<mt:IfArchiveTypeEnabled archive_type=\"Category\">\n <$mt:Include widget=\"カテゴリアーカイブ\"$>\n</mt:IfArchiveTypeEnabled>\n<mt:IfArchiveTypeEnabled archive_type=\"Monthly\">\n <$mt:Include widget=\"月別アーカイブ\"$>\n</mt:IfArchiveTypeEnabled>\n','widget',0);
1906
+ INSERT INTO `mt_template` VALUES (110,2,0,0,1,1,'2012-02-08 05:46:18','syndication',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','購読',NULL,1,'<div class=\"widget-syndication widget\">\n <div class=\"widget-content\">\n <ul>\n <li><img src=\"<$mt:StaticWebPath$>images/status_icons/feed.gif\" alt=\"購読する\" width=\"9\" height=\"9\" /> <a href=\"<$mt:Link template=\"feed_recent\"$>\">このブログを購読</a></li>\n<mt:If name=\"search_results\">\n <mt:If tag=\"SearchString\">\n <li class=\"search-results-feed\"><img src=\"<$mt:StaticWebPath$>images/status_icons/feed.gif\" alt=\"購読する\" width=\"9\" height=\"9\" /> <a href=\"<$mt:CGIPath$><$mt:SearchScript$>?<mt:IfTagSearch>tag<mt:else>search</mt:IfTagSearch>=<$mt:SearchString encode_url=\"1\"$>&amp;Template=feed&amp;IncludeBlogs=<$mt:SearchIncludeBlogs$>&amp;limit=<$mt:SearchMaxResults$>\" title=\"<mt:IfTagSearch>「<$mt:SearchString$>」の検索結果を購読<mt:Else>タグ「<$mt:SearchString$>」を購読</mt:IfTagSearch>\"><mt:IfTagSearch>タグ「<$mt:SearchString$>」のフィード<mt:Else>「<$mt:SearchString$>」を検索した結果のフィード</mt:IfTagSearch></a></li>\n </mt:If>\n</mt:If>\n </ul>\n </div>\n</div>\n','widget',0);
1907
+ INSERT INTO `mt_template` VALUES (111,2,0,0,1,1,'2012-02-08 05:46:18','javascript',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','JavaScript','mt.js',1,'<mt:Ignore>\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</mt:Ignore>\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<mt:Ignore>\n/***\n * Simple routine for showing a DOM element (applying a CSS display\n * attribute of \'none\').\n */\n</mt:Ignore>\nfunction mtHide(id) {\n var el = (typeof id == \"string\") ? document.getElementById(id) : id;\n if (el) el.style.display = \'none\';\n}\n\n<mt:Ignore>\n/***\n * Simple routine for showing a DOM element (applying a CSS display\n * attribute of \'block\').\n */\n</mt:Ignore>\nfunction mtShow(id) {\n var el = (typeof id == \"string\") ? document.getElementById(id) : id;\n if (el) el.style.display = \'block\';\n}\n\n<mt:Ignore>\n/***\n * A utility function for assigning/adding handlers to window events.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Calls the event named, if there are handlers for it.\n */\n</mt:Ignore>\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<length;i+=1){partial[i]=str(i,value)||\'null\';}v=partial.length===0?\'[]\':gap?\'[\\n\'+gap+partial.join(\',\\n\'+gap)+\'\\n\'+mind+\']\':\'[\'+partial.join(\',\')+\']\';gap=mind;return v;}if(rep&&typeof rep===\'object\'){length=rep.length;for(i=0;i<length;i+=1){k=rep[i];if(typeof k===\'string\'){v=str(k,value);if(v){partial.push(quote(k)+(gap?\': \':\':\')+v);}}}}else{for(k in value){if(Object.hasOwnProperty.call(value,k)){v=str(k,value);if(v){partial.push(quote(k)+(gap?\': \':\':\')+v);}}}}v=partial.length===0?\'{}\':gap?\'{\\n\'+gap+partial.join(\',\\n\'+gap)+\'\\n\'+mind+\'}\':\'{\'+partial.join(\',\')+\'}\';gap=mind;return v;}}if(typeof JSON.stringify!==\'function\'){JSON.stringify=function(value,replacer,space){var i;gap=\'\';indent=\'\';if(typeof space===\'number\'){for(i=0;i<space;i+=1){indent+=\' \';}}else if(typeof space===\'string\'){indent=space;}rep=replacer;if(replacer&&typeof replacer!==\'function\'&&(typeof replacer!==\'object\'||typeof replacer.length!==\'number\')){throw new Error(\'JSON.stringify\');}return str(\'\',{\'\':value});};}if(typeof JSON.parse!==\'function\'){JSON.parse=function(text,reviver){var j;function walk(holder,key){var k,v,value=holder[key];if(value&&typeof value===\'object\'){for(k in value){if(Object.hasOwnProperty.call(value,k)){v=walk(value,k);if(v!==undefined){value[k]=v;}else{delete value[k];}}}}return reviver.call(holder,key,value);}cx.lastIndex=0;if(cx.test(text)){text=text.replace(cx,function(a){return\'\\\\u\'+(\'0000\'+a.charCodeAt(0).toString(16)).slice(-4);});}if(/^[\\],:{}\\s]*$/.test(text.replace(/\\\\(?:[\"\\\\\\/bfnrt]|u[0-9a-fA-F]{4})/g,\'@\').replace(/\"[^\"\\\\\\n\\r]*\"|true|false|null|-?\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d+)?/g,\']\').replace(/(?:^|:|,)(?:\\s*\\[)+/g,\'\'))){j=eval(\'(\'+text+\')\');return typeof reviver===\'function\'?walk({\'\':j},\'\'):j;}throw new SyntaxError(\'JSON.parse\');};}}());\n\nvar MT = window.MT || {};\n\nMT.cons = function () {\n return {\n LOG : \'log\',\n WARN : \'warn\',\n DEBUG : \'debug\',\n INFO : \'info\',\n ERR : \'error\',\n JSON : \'json\'\n };\n}();\n\n<mt:Ignore>\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</mt:Ignore>\nMT.core = function (o) {\n var _debug = false;\n \n return {\n <mt:Ignore>\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 </mt:Ignore>\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 <mt:Ignore>\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 </mt:Ignore>\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<mt:Ignore>\n/**\n * Utilities class\n * \n * @package MT\n * @class util\n * @global\n * Options:\n */\n</mt:Ignore>\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 <mt:Ignore>\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 </mt:Ignore>\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 <mt:Ignore>\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 </mt:Ignore>\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<mt:Ignore>\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</mt:Ignore>\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 <mt:Ignore>\n /**\n * Initializes variables to their initial values\n * \n * @return void\n */\n </mt:Ignore>\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 = \"<img title=\'Loading...\' src=\'<$MTStaticWebPath$>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 <mt:Ignore>\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 </mt:Ignore>\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 <mt:Ignore>\n /**\n * Sets commentsOffset (i.e. the offset number to the remote list)\n * \n * @return void\n */\n </mt:Ignore>\n function _setCommentOffset() {\n commentsOffset = commentsPerPage * (pageNum-1);\n }\n \n <mt:Ignore>\n /**\n * Gets the commentsOffset (i.e. the offset number to the remote list)\n * \n * @return void\n */\n </mt:Ignore>\n function _getCommentOffset() {\n return commentsOffset;\n }\n \n <mt:Ignore>\n /**\n * General event handler\n * \n * @param {Event} e The event object\n * @return void\n */\n </mt:Ignore>\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 <mt:Ignore>\n /**\n * Toggles the visibility of the navigation links\n * \n * @return void\n */\n </mt:Ignore>\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 <mt:Ignore>\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 </mt:Ignore>\n function _nextPage () {\n if(pageNum < commentsTotalPages) {\n pageNum++;\n _updateComments();\n }\n }\n \n <mt:Ignore>\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 </mt:Ignore>\n function _previousPage() {\n if(pageNum > 1) {\n pageNum--;\n _updateComments();\n }\n }\n \n <mt:Ignore>\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 </mt:Ignore>\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 <mt:Ignore>\n /**\n * Sets the current comment counts on the page\n *\n * @return void\n */\n </mt:Ignore>\n function _setCurrentComments() {\n var commentsOnPage = pageNum != commentsTotalPages ? commentsOffset + commentsPerPage : totalComments;\n \n _setCurrentCommentsContent([commentsOffset+1,\" - \",commentsOnPage].join(\'\'));\n }\n \n <mt:Ignore>\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 </mt:Ignore>\n function _setCurrentCommentsContent(currentCommentsHTML) {\n currentCommentsSpan.innerHTML = currentCommentsHTML;\n topCurrentCommentsSpan.innerHTML = currentCommentsHTML;\n }\n \n <mt:Ignore>\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 </mt:Ignore>\n function _setCommentContent(commentHTML) {\n commentContentDiv.innerHTML = commentHTML;\n }\n \n <mt:Ignore>\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 </mt:Ignore>\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 <mt:Ignore>\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 </mt:Ignore>\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<mt:Ignore>\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</mt:Ignore>\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<mt:Ignore>\n/***\n * Used to display an edit link for the given entry.\n */\n</mt:Ignore>\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 = \'<a href=\"<$mt:AdminScript$>?__mode=view&amp;_type=entry&amp;id=\' + entry_id + \'\">編集</a>\';\n document.write(link);\n}\n\n<mt:Ignore>\n/***\n * Called when an input field on the comment form receives focus.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Displays a captcha field for anonymous commenters.\n */\n</mt:Ignore>\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<mt:Ignore>\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</mt:Ignore>\n\nvar is_preview;\nvar user;\n<mt:Ignore>\n/***\n * Assigns a user object as the actively logged in user; also saves the\n * user information in a browser cookie.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Simple function that escapes single quote characters for storing\n * in a cookie.\n */\n</mt:Ignore>\nfunction mtEscapeJS(s) {\n s = s.replace(/\'/g, \"&apos;\");\n return s;\n}\n\n<mt:Ignore>\n/***\n * Simple function that unescapes single quote characters that were\n * stored in a cookie.\n */\n</mt:Ignore>\nfunction mtUnescapeJS(s) {\n s = s.replace(/&apos;/g, \"\'\");\n return s;\n}\n\n<mt:Ignore>\n/***\n * Serializes a user object into a string, suitable for storing as a cookie.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Unserializes a user cookie and returns a user object with the restored\n * state.\n */\n</mt:Ignore>\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<mt:Ignore>\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</mt:Ignore>\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<mt:Ignore>\n/***\n * Issues a request to the MT comment script to retrieve the currently\n * logged-in user (if any).\n */\n</mt:Ignore>\nvar mtFetchedUser = false;\n<mt:IfBlog>\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</mt:IfBlog>\n\n<mt:Ignore>\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</mt:Ignore>\nfunction mtRememberMeOnClick(b) {\n if (!b.checked)\n mtClearUser(b.form);\n return true;\n}\n\n<mt:Ignore>\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</mt:Ignore>\n<mt:IfBlog>\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<mt:IfRegistrationRequired>\n mtShow(\'comments-form\');\n mtHide(\'comments-open-footer\');\n</mt:IfRegistrationRequired>\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<mt:IfRegistrationRequired>\n mtHide(\'comments-form\');\n</mt:IfRegistrationRequired>\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</mt:IfBlog>\n\n<mt:Ignore>\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</mt:Ignore>\n<mt:IfBlog>\nfunction mtEntryOnLoad() {\n var cf = document[\'comments_form\'];\n if (cf && cf.preview) cf.preview.value = \'\';\n <mt:Unless tag=\"IfPingsAccepted\">mtHide(\'trackbacks-info\');</mt:Unless>\n <mt:Unless tag=\"IfCommentsAccepted\">mtHide(\'comments-open\');</mt:Unless>\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</mt:IfBlog>\n\n<mt:Ignore>\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</mt:Ignore>\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 = \'サインインします... <span class=\"status-indicator\">&nbsp;</span>\';\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<mt:Ignore>\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</mt:Ignore>\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<mt:Ignore>\n/***\n * Handles the action of the \"Sign out\" link.\n */\n</mt:Ignore>\nfunction mtSignOutOnClick() {\n mtSignOut();\n return false;\n}\n\n<mt:Ignore>\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</mt:Ignore>\n<mt:IfBlog>\nfunction mtShowGreeting() {\n<mt:IfRegistrationAllowed>\n var reg_reqd = <mt:IfRegistrationRequired>true<mt:Else>false</mt:IfRegistrationRequired>;\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 href=\\\"javas\\cript:void(0);\\\" onclick=\\\"return mtSignOutOnClick();\\\"\\>サインアウトする\\<\\/a\\>)\';\n } else {\n var user_link;\n if ( u.is_author ) {\n user_link = \'<a href=\"<$mt:CGIPath$><$mt:CommentScript$>?__mode=edit_profile&return_url=\' + encodeURIComponent( location.href );\n user_link += \'\">\' + u.name + \'</a>\';\n } else {\n // registered user, but not a user with posting rights\n if (u.url)\n user_link = \'<a href=\"\' + u.url + \'\">\' + u.name + \'</a>\';\n else\n user_link = u.name;\n }\n // TBD: supplement phrase with userpic if one is available.\n phrase = \'__NAME__としてサインインしています。(\\<a href=\\\"javas\\cript:void(0)\\\" onclick=\\\"return mtSignOutOnClick();\\\"\\>サインアウト\\<\\/a\\>)\';\n phrase = phrase.replace(/__NAME__/, user_link);\n }\n } else {\n if (reg_reqd) {\n phrase = \'コメントするにはまず\\<a href=\\\"javas\\cript:void(0)\\\" onclick=\\\"return mtSignInOnClick(\\\'comment-greeting\\\')\\\"\\>サインイン\\<\\/a\\>してください。\';\n } else {\n phrase = \'コメントする前に\\<a href=\\\"javas\\cript:void(0)\\\" onclick=\\\"return mtSignInOnClick(\\\'comment-greeting\\\')\\\"\\>サインイン\\<\\/a\\>することもできます。\';\n }\n }\n el.innerHTML = phrase;\n<mt:Else>\n mtShowCaptcha();\n</mt:IfRegistrationAllowed>\n}\n</mt:IfBlog>\n\n<mt:Ignore>\n/***\n * Handles the action of the \'Reply\' links.\n */\n</mt:Ignore>\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 = \'\\<a href=\\\"#comment-__PARENT__\\\" onclick=\\\"location.href=this.href; return false\\\"\\>__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<mt:Ignore>\n/***\n * Sets the parent comment ID when replying to a comment.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Persists a copy of the current user cookie into the browser cookie stash.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Clears the blog-side user cookie.\n */\n</mt:Ignore>\nfunction mtClearUser() {\n user = null;\n mtDeleteCookie(mtCookieName, mtCookiePath, mtCookieDomain,\n location.protocol == \'https:\');\n}\n\n<mt:Ignore>\n/***\n * Sets a browser cookie.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Retrieves a browser cookie.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Deletes a browser cookie.\n */\n</mt:Ignore>\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<mt:Ignore>\n/***\n * Returns a XMLHttpRequest object (for Ajax operations).\n */\n</mt:Ignore>\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(\"<script id=__ie_onload defer src=javascript:void(0)><\\/script>\");\nvar script = document.getElementById(\"__ie_onload\");\nscript.onreadystatechange = function() {\n if (this.readyState == \"complete\") {\n mtInit(); // call the onload handler\n }\n};\n/*@end @*/\n\n/* for Safari */\nif (/WebKit/i.test(navigator.userAgent)) { // sniff\n _timer = setInterval(function() {\n if (/loaded|complete/.test(document.readyState)) {\n mtInit(); // call the onload handler\n }\n }, 10);\n}\n\n/* for other browsers */\nwindow.onload = mtInit;\n\n// END: fast browser onload init\n\n<mt:IfBlog>\n<mt:IfRegistrationAllowed>\n/***\n * If request contains a \'#_login\' or \'#_logout\' hash, use this to\n * also delete the blog-side user cookie, since we\'re coming back from\n * a login, logout or edit profile operation.\n */\nvar clearCookie = ( window.location.hash && window.location.hash.match( /^#_log(in|out)/ ) ) ? true : false;\nif (clearCookie) {\n // clear any logged in state\n mtClearUser();\n if (RegExp.$1 == \'in\')\n mtFetchUser();\n} else {\n <mt:Ignore>\n /***\n * Uncondition this call to fetch the current user state (if available)\n * from MT upon page load if no user cookie is already present.\n * This is okay if you have a private install, such as an Intranet;\n * not recommended for public web sites!\n */\n </mt:Ignore>\n if ( is_preview && !user )\n mtFetchUser();\n}\n</mt:IfRegistrationAllowed>\n</mt:IfBlog>\n','index',0);
1908
+ INSERT INTO `mt_template` VALUES (112,2,0,0,1,1,'2012-02-08 05:46:18','dynamic_error',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','ダイナミックパブリッシングエラー',NULL,1,'\n<mt:SetVarBlock name=\"page_title\">ページが見つかりません。</mt:SetVarBlock>\n<mt:SetVarBlock name=\"title\"><$mt:BlogName encode_html=\"1\"$>: <$mt:Var name=\"page_title\"$></mt:SetVarBlock>\n\n<$mt:Include module=\"ヘッダー\" body_class=\"mt-dynamic-error\"$>\n\n<h1 id=\"page-title\"><$mt:Var name=\"page_title\"$></h1>\n<blockquote>\n <strong><$mt:ErrorMessage$></strong>\n</blockquote>\n\n<$mt:Include module=\"フッター\"$>\n\n','dynamic_error',0);
1909
+ INSERT INTO `mt_template` VALUES (113,2,0,0,1,1,'2012-02-08 05:46:18','calendar',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','カレンダー',NULL,1,'<mt:IfArchiveTypeEnabled archive_type=\"Individual\">\n<div class=\"widget-calendar widget\">\n <h3 class=\"widget-header\"><$mt:Date format=\"%B %Y\"$></h3>\n <div class=\"widget-content\">\n <table summary=\"リンク付きのカレンダー\">\n <tr>\n <th abbr=\"日曜日\">日</th>\n <th abbr=\"月曜日\">月</th>\n <th abbr=\"火曜日\">火</th>\n <th abbr=\"水曜日\">水</th>\n <th abbr=\"木曜日\">木</th>\n <th abbr=\"金曜日\">金</th>\n <th abbr=\"土曜日\">土</th>\n </tr>\n <mt:Calendar>\n <mt:CalendarWeekHeader>\n <tr>\n </mt:CalendarWeekHeader>\n <td>\n <mt:CalendarIfEntries>\n <mt:Entries lastn=\"1\">\n <a href=\"<$mt:EntryPermalink$>\"><$mt:CalendarDay$></a>\n </mt:Entries>\n </mt:CalendarIfEntries>\n <mt:CalendarIfNoEntries>\n <$mt:CalendarDay$>\n </mt:CalendarIfNoEntries>\n <mt:CalendarIfBlank>&nbsp;</mt:CalendarIfBlank>\n </td>\n <mt:CalendarWeekFooter>\n </tr>\n </mt:CalendarWeekFooter>\n </mt:Calendar>\n </table>\n </div>\n</div>\n</mt:IfArchiveTypeEnabled>\n','widget',0);
1910
+ INSERT INTO `mt_template` VALUES (114,2,0,0,1,1,'2012-02-08 05:46:18','page_detail',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','ウェブページの詳細',NULL,1,'<div id=\"page-<$mt:PageID$>\" class=\"page-asset asset\">\n <div class=\"asset-header\">\n <h1 id=\"page-title\" class=\"asset-name\"><$mt:PageTitle$></h1>\n </div>\n <div class=\"asset-content\">\n<mt:If tag=\"PageBody\">\n <div class=\"asset-body\">\n <$mt:PageBody$>\n </div>\n</mt:If>\n<mt:If tag=\"PageMore\" convert_breaks=\"0\">\n <div id=\"more\" class=\"asset-more\">\n <$mt:PageMore$>\n </div>\n</mt:If>\n </div>\n <div class=\"asset-footer\"></div>\n</div>\n','custom',0);
1911
+ INSERT INTO `mt_template` VALUES (115,2,0,0,1,1,'2012-02-08 05:46:18','comment_listing',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','コメント一覧',NULL,1,'{\n \"direction\": \"<mt:Var name=\"commentDirection\">\",\n \"comments\": \"<mt:Comments sort_order=\"$commentDirection\"><$mt:Include module=\"コメント詳細\" replace=\"\\\",\"\\\\\" replace=\'\"\',\'\\\"\' strip_linefeeds=\"1\"$></mt:Comments>\"\n}','comment_listing',0);
1912
+ INSERT INTO `mt_template` VALUES (116,2,0,0,1,1,'2012-02-08 05:46:18','archive_index',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','アーカイブインデックス','archives.html',1,'\n<mt:SetVarBlock name=\"page_title\">アーカイブ</mt:SetVarBlock>\n<mt:SetVarBlock name=\"title\"><$mt:BlogName encode_html=\"1\"$>: <$mt:Var name=\"page_title\"$></mt:SetVarBlock>\n\n<$mt:Include module=\"ヘッダー\" body_class=\"mt-archive-index\"$>\n\n<h1 id=\"page-title\" class=\"archive-title\"><$mt:Var name=\"page_title\"$></h1>\n\n<mt:IfArchiveTypeEnabled archive_type=\"Monthly\">\n<div class=\"archive-monthly archive-date-based archive\">\n <mt:ArchiveList archive_type=\"Monthly\">\n <mt:ArchiveListHeader>\n <h2 class=\"archive-header\">月別アーカイブ</h2>\n <div class=\"archive-content\">\n <ul>\n </mt:ArchiveListHeader>\n <li><a href=\"<$mt:ArchiveLink$>\"><$mt:ArchiveTitle$></a></li>\n <mt:ArchiveListFooter>\n </ul>\n </div>\n </mt:ArchiveListFooter>\n </mt:ArchiveList>\n</div>\n</mt:IfArchiveTypeEnabled>\n\n<mt:IfArchiveTypeEnabled archive_type=\"Category\">\n<div class=\"archive-category archive\">\n <h2 class=\"archive-header\">カテゴリ</h2>\n <div class=\"archive-content\">\n <mt:TopLevelCategories>\n <mt:SubCatIsFirst>\n <ul>\n </mt:SubCatIsFirst>\n <mt:If tag=\"CategoryCount\">\n <li><a href=\"<$mt:CategoryArchiveLink$>\" title=\"<$mt:CategoryDescription$>\"><$mt:CategoryLabel$></a>\n <mt:Else>\n <li><$mt:CategoryLabel$>\n </mt:If>\n <$mt:SubCatsRecurse$>\n </li>\n <mt:SubCatIsLast>\n </ul>\n </mt:SubCatIsLast>\n </mt:TopLevelCategories>\n </div>\n</div>\n</mt:IfArchiveTypeEnabled>\n\n<$mt:Include module=\"フッター\"$>\n\n','index',0);
1913
+ INSERT INTO `mt_template` VALUES (117,2,0,0,1,1,'2012-02-08 05:46:18','date_based_category_archives',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','日付ベースのカテゴリアーカイブ',NULL,1,'<mt:IfArchiveTypeEnabled archive_type=\"Category-Yearly\">\n <mt:ArchiveList archive_type=\"Category-Yearly\">\n <mt:ArchiveListHeader>\n<div class=\"widget-archive-category-yearly widget-archive widget\">\n <h3 class=\"widget-header\">年別カテゴリアーカイブ</h3>\n <div class=\"widget-content\">\n <ul>\n </mt:ArchiveListHeader>\n <li><a href=\"<$mt:ArchiveLink$>\"><$mt:ArchiveTitle$> (<$mt:ArchiveCount$>)</a></li>\n <mt:ArchiveListFooter>\n </ul>\n </div>\n</div>\n </mt:ArchiveListFooter>\n </mt:ArchiveList>\n</mt:IfArchiveTypeEnabled>\n\n<mt:IfArchiveTypeEnabled archive_type=\"Category-Monthly\">\n <mt:ArchiveList archive_type=\"Category-Monthly\">\n <mt:ArchiveListHeader>\n<div class=\"widget-archive-category-monthly widget-archive widget\">\n <h3 class=\"widget-header\">月別カテゴリアーカイブ</h3>\n <div class=\"widget-content\">\n <ul>\n </mt:ArchiveListHeader>\n <li><a href=\"<$mt:ArchiveLink$>\"><$mt:ArchiveTitle$> (<$mt:ArchiveCount$>)</a></li>\n <mt:ArchiveListFooter>\n </ul>\n </div>\n</div>\n </mt:ArchiveListFooter>\n </mt:ArchiveList>\n</mt:IfArchiveTypeEnabled>\n\n<mt:IfArchiveTypeEnabled archive_type=\"Category-Weekly\">\n <mt:ArchiveList archive_type=\"Category-Weekly\">\n <mt:ArchiveListHeader>\n<div class=\"widget-archive-category-weekly widget-archive widget\">\n <h3 class=\"widget-header\">週別カテゴリアーカイブ</h3>\n <div class=\"widget-content\">\n <ul>\n </mt:ArchiveListHeader>\n <li><a href=\"<$mt:ArchiveLink$>\"><$mt:ArchiveTitle$> (<$mt:ArchiveCount$>)</a></li>\n <mt:ArchiveListFooter>\n </ul>\n </div>\n</div>\n </mt:ArchiveListFooter>\n </mt:ArchiveList>\n</mt:IfArchiveTypeEnabled>\n\n<mt:IfArchiveTypeEnabled archive_type=\"Category-Daily\">\n <mt:ArchiveList archive_type=\"Category-Daily\">\n <mt:ArchiveListHeader>\n<div class=\"widget-archive-category-daily widget-archive widget\">\n <h3 class=\"widget-header\">日別カテゴリアーカイブ</h3>\n <div class=\"widget-content\">\n <ul>\n </mt:ArchiveListHeader>\n <li><a href=\"<$mt:ArchiveLink$>\"><$mt:ArchiveTitle$> (<$mt:ArchiveCount$>)</a></li>\n <mt:ArchiveListFooter>\n </ul>\n </div>\n</div>\n </mt:ArchiveListFooter>\n </mt:ArchiveList>\n</mt:IfArchiveTypeEnabled>\n\n','widget',0);
1914
+ INSERT INTO `mt_template` VALUES (118,2,0,0,1,1,'2012-02-08 05:46:18','main_index_widgets_group',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','ホームページウィジェットグループ',NULL,1,'<mt:Ignore>\n main_indexのテンプレートだけに表示されるように設定されているウィジェットのセットです。詳細: http://www.movabletype.org/documentation/designer/widget-sets.html\n</mt:Ignore>\n<mt:If name=\"main_index\">\n <$mt:Include widget=\"最近のコメント\"$>\n <$mt:Include widget=\"最近のブログ記事\"$>\n <$mt:Include widget=\"アイテム\"$>\n <$mt:Include widget=\"タグクラウド\"$>\n</mt:If>\n','widget',0);
1915
+ INSERT INTO `mt_template` VALUES (119,2,0,0,1,1,'2012-02-08 05:46:18','header',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','ヘッダー',NULL,1,'<mt:BlogParentWebsite><mt:WebsiteID setvar=\"website_id\"></mt:BlogParentWebsite>\n<mt:setvar name=\"blog\" ->\n\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" id=\"sixapart-standard\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=<$mt:PublishCharset$>\" />\n <meta name=\"generator\" content=\"<$mt:ProductName version=\"1\"$>\" />\n <link rel=\"stylesheet\" href=\"<$mt:Link template=\"styles\"$>\" type=\"text/css\" />\n <link rel=\"start\" href=\"<$mt:BlogURL$>\" title=\"ホーム\" />\n <link rel=\"alternate\" type=\"application/atom+xml\" title=\"Recent Entries\" href=\"<$mt:Link template=\"feed_recent\"$>\" />\n <script type=\"text/javascript\" src=\"<$mt:Link template=\"javascript\"$>\"></script>\n <$mt:Var name=\"html_head\"$>\n <script type=\"text/javascript\">\n var adminurl = \'<$mt:CGIPath$>\' + \'<$mt:AdminScript$>\';\n var blog_id = \'<$mt:BlogID$>\';\n var page_id = \'<mt:IfArchiveType archive_type=\"Page\"><$mt:PageID$><mt:Else><mt:Pages tag=\"@home\"><$mt:PageID$></mt:Pages></mt:IfArchiveType>\';\n </script>\n <$mt:CCLicenseRDF$>\n <title><$mt:Var name=\"title\"$></title>\n</head>\n<body id=\"<$mt:BlogTemplateSetID$>\" class=\"<$mt:Var name=\"body_class\"$> <$mt:Var name=\"page_layout\"$>\">\n <div id=\"container\">\n <div id=\"container-inner\">\n <div id=\"header\">\n <div id=\"header-inner\">\n <div id=\"header-content\">\n <mt:BlogParentWebsite>\n <div id=\"header-name\"><a href=\"<$mt:WebsiteURL$>\" accesskey=\"1\"><$mt:WebsiteName encode_html=\"1\"$></a></div>\n <div id=\"header-description\"><$mt:WebsiteDescription$></div>\n </mt:BlogParentWebsite>\n <$mt:Include module=\"サインイン\"$>\n </div>\n </div>\n </div>\n <div id=\"main-navigation\">\n <div id=\"main-navigation-inner\">\n <$mt:Include module=\"ナビゲーション\"$>\n <$mt:Include module=\"検索\"$>\n </div>\n </div>\n <div id=\"breadcrumbs\">\n <div id=\"breadcrumbs-inner\">\n <p id=\"breadcrumbs-content\">\n <mt:BlogParentWebsite>\n <a href=\"<$mt:WebsiteURL$>\"><$mt:WebsiteName encode_html=\"1\"$></a> &gt; \n </mt:BlogParentWebsite>\n <a href=\"<$mt:BlogURL$>\"<mt:if name=\"main_index\"> class=\"current\"</mt:if>><$mt:Blogname Encode_Html=\"1\"$></a>\n<mt:Unless name=\"main_index\">\n &gt; \n <mt:if name=\"entry_archive\">\n <a href=\"<$mt:EntryPermalink$>\" class=\"current\"><$mt:EntryTitle$></a>\n <mt:ElseIf name=\"page_archive\">\n <a href=\"<$mt:PagePermalink$>\" class=\"current\"><$mt:PageTitle$></a>\n <mt:Else>\n <mt:Unless name=\"datebased_archive\">\n <mt:IfArchiveType archive_type=\"Category\">\n <a href=\"<$mt:ArchiveLink$>\" class=\"current\"><em><$mt:ArchiveTitle$></em>の最近のブログ記事</a>\n </mt:IfArchiveType>\n <mt:IfArchiveType archive_type=\"Author\">\n <a href=\"<$mt:ArchiveLink$>\" class=\"current\"><em><$mt:ArchiveTitle$></em>の最近のブログ記事</a>\n </mt:IfArchiveType>\n <mt:Else>\n <a href=\"<$mt:ArchiveLink$>\" class=\"current\"><$mt:Var name=\"page_title\"$></a>\n </mt:Unless>\n </mt:if>\n</mt:Unless>\n </p>\n </div>\n </div>\n <div id=\"blog-header\">\n <div id=\"blog-header-inner\">\n <div id=\"blog-header-content\">\n<mt:If name=\"main_index\">\n <h1 id=\"blog-name\"><a href=\"<$mt:BlogURL$>\" accesskey=\"1\"><$mt:BlogName encode_html=\"1\"$></a></h1>\n <div id=\"blog-description\"><$mt:BlogDescription$></div>\n<mt:else>\n <div id=\"blog-name\"><a href=\"<$mt:BlogURL$>\" accesskey=\"1\"><$mt:BlogName encode_html=\"1\"$></a></div>\n <div id=\"blog-description\"><$mt:BlogDescription$></div>\n</mt:If>\n </div>\n </div>\n </div>\n\n <div id=\"content\">\n <div id=\"content-inner\">\n<mt:If name=\"main_index\">\n <div id=\"homepage-image\">&nbsp;</div>\n</mt:If>\n <div id=\"alpha\">\n <div id=\"alpha-inner\">\n\n','custom',0);
1916
+ INSERT INTO `mt_template` VALUES (120,2,0,0,1,1,'2012-02-08 05:46:18','recent_comments',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','最近のコメント',NULL,1,'<mt:If tag=\"BlogCommentCount\">\n <mt:Comments lastn=\"10\" sort_order=\"descend\">\n <mt:CommentsHeader>\n<div class=\"widget-recent-comments widget\">\n <h3 class=\"widget-header\">最近のコメント</h3>\n <div class=\"widget-content\">\n <ul>\n </mt:CommentsHeader>\n <li>\n <a href=\"<$mt:CommentLink$>\"><$mt:CommentAuthor$> から <mt:CommentEntry><$mt:EntryTitle$></mt:CommentEntry> に対するコメント</a>: <$mt:CommentBody remove_html=\"1\" trim_to=\"10\"$>\n </li>\n <mt:CommentsFooter>\n </ul>\n </div>\n</div>\n </mt:CommentsFooter>\n </mt:Comments>\n</mt:If>\n','widget',0);
1917
+ INSERT INTO `mt_template` VALUES (121,2,0,0,1,1,'2012-02-08 05:46:18','current_author_monthly_archive_list',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','ユーザー月別アーカイブ',NULL,1,'<mt:IfArchiveTypeEnabled archive_type=\"Author-Monthly\">\n <mt:ArchiveList archive_type=\"Author-Monthly\">\n <mt:ArchiveListHeader>\n<div class=\"widget-archive-current-author-monthly widget-archive widget\">\n <h3 class=\"widget-header\"><$mt:AuthorDisplayName encode_html=\"1\"$>: 月別アーカイブ</h3>\n <div class=\"widget-content\">\n <ul>\n </mt:ArchiveListHeader>\n <li><a href=\"<$mt:ArchiveLink$>\"><$mt:ArchiveTitle$> (<$mt:ArchiveCount$>)</a></li>\n <mt:ArchiveListFooter>\n </ul>\n </mt:ArchiveListFooter>\n </mt:ArchiveList>\n </div>\n</div>\n</mt:IfArchiveTypeEnabled>\n','widget',0);
1918
+ INSERT INTO `mt_template` VALUES (122,2,0,0,1,1,'2012-02-08 05:46:18','main_index',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','メインページ','index.html',1,'\n<$mt:Var name=\"page_layout\" value=\"layout-wtt\"$>\n<mt:SetVarBlock name=\"title\"><$mt:BlogName encode_html=\"1\"$> - <mt:BlogParentWebsite><$mt:WebsiteName encode_html=\"1\"$></mt:BlogParentWebsite></mt:SetVarBlock>\n\n<$mt:Include module=\"ヘッダー\" body_class=\"mt-main-index\"$>\n\n<mt:Entries>\n <$mt:Include module=\"ブログ記事の概要\"$>\n</mt:Entries>\n\n<$mt:Include module=\"フッター\"$>\n\n','index',0);
1919
+ INSERT INTO `mt_template` VALUES (123,2,0,0,1,1,'2012-02-08 05:46:18','blog_archives',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','アーカイブ',NULL,1,'<mt:include widget=\"アーカイブウィジェットグループ\"><mt:include widget=\"OpenID対応\"><mt:include widget=\"購読\">','widgetset',0);
1920
+ INSERT INTO `mt_template` VALUES (124,2,0,0,1,1,'2012-02-08 05:46:18','blog_activity',NULL,NULL,NULL,NULL,'2012-02-08 05:46:18','アクティビティ',NULL,1,'<mt:include widget=\"About\"><mt:include widget=\"ホームページウィジェットグループ\">','widgetset',0);
1921
+ /*!40000 ALTER TABLE `mt_template` ENABLE KEYS */;
1922
+ UNLOCK TABLES;
1923
+
1924
+ --
1925
+ -- Table structure for table `mt_template_meta`
1926
+ --
1927
+
1928
+ DROP TABLE IF EXISTS `mt_template_meta`;
1929
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
1930
+ /*!40101 SET character_set_client = utf8 */;
1931
+ CREATE TABLE `mt_template_meta` (
1932
+ `template_meta_template_id` int(11) NOT NULL,
1933
+ `template_meta_type` varchar(75) NOT NULL,
1934
+ `template_meta_vchar` varchar(255) DEFAULT NULL,
1935
+ `template_meta_vchar_idx` varchar(255) DEFAULT NULL,
1936
+ `template_meta_vdatetime` datetime DEFAULT NULL,
1937
+ `template_meta_vdatetime_idx` datetime DEFAULT NULL,
1938
+ `template_meta_vinteger` int(11) DEFAULT NULL,
1939
+ `template_meta_vinteger_idx` int(11) DEFAULT NULL,
1940
+ `template_meta_vfloat` float DEFAULT NULL,
1941
+ `template_meta_vfloat_idx` float DEFAULT NULL,
1942
+ `template_meta_vblob` mediumblob,
1943
+ `template_meta_vclob` mediumtext,
1944
+ PRIMARY KEY (`template_meta_template_id`,`template_meta_type`),
1945
+ KEY `mt_template_meta_type_vint` (`template_meta_type`,`template_meta_vinteger_idx`),
1946
+ KEY `mt_template_meta_type_vflt` (`template_meta_type`,`template_meta_vfloat_idx`),
1947
+ KEY `mt_template_meta_type_vdt` (`template_meta_type`,`template_meta_vdatetime_idx`),
1948
+ KEY `mt_template_meta_type_vchar` (`template_meta_type`,`template_meta_vchar_idx`)
1949
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
1950
+ /*!40101 SET character_set_client = @saved_cs_client */;
1951
+
1952
+ --
1953
+ -- Dumping data for table `mt_template_meta`
1954
+ --
1955
+ -- ORDER BY: `template_meta_template_id`,`template_meta_type`
1956
+
1957
+ LOCK TABLES `mt_template_meta` WRITE;
1958
+ /*!40000 ALTER TABLE `mt_template_meta` DISABLE KEYS */;
1959
+ INSERT INTO `mt_template_meta` VALUES (36,'modulesets','21,13',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
1960
+ INSERT INTO `mt_template_meta` VALUES (37,'modulesets','31,20,28',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
1961
+ INSERT INTO `mt_template_meta` VALUES (123,'modulesets','109,100,110',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
1962
+ INSERT INTO `mt_template_meta` VALUES (124,'modulesets','99,118',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
1963
+ /*!40000 ALTER TABLE `mt_template_meta` ENABLE KEYS */;
1964
+ UNLOCK TABLES;
1965
+
1966
+ --
1967
+ -- Table structure for table `mt_template_rev`
1968
+ --
1969
+
1970
+ DROP TABLE IF EXISTS `mt_template_rev`;
1971
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
1972
+ /*!40101 SET character_set_client = utf8 */;
1973
+ CREATE TABLE `mt_template_rev` (
1974
+ `template_rev_id` int(11) NOT NULL AUTO_INCREMENT,
1975
+ `template_rev_changed` varchar(255) NOT NULL,
1976
+ `template_rev_created_by` int(11) DEFAULT NULL,
1977
+ `template_rev_created_on` datetime DEFAULT NULL,
1978
+ `template_rev_description` varchar(255) DEFAULT NULL,
1979
+ `template_rev_label` varchar(255) DEFAULT NULL,
1980
+ `template_rev_modified_by` int(11) DEFAULT NULL,
1981
+ `template_rev_modified_on` datetime DEFAULT NULL,
1982
+ `template_rev_rev_number` int(11) NOT NULL DEFAULT '0',
1983
+ `template_rev_template` mediumblob NOT NULL,
1984
+ `template_rev_template_id` int(11) NOT NULL,
1985
+ PRIMARY KEY (`template_rev_id`),
1986
+ KEY `mt_template_rev_template_id` (`template_rev_template_id`)
1987
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
1988
+ /*!40101 SET character_set_client = @saved_cs_client */;
1989
+
1990
+ --
1991
+ -- Dumping data for table `mt_template_rev`
1992
+ --
1993
+ -- ORDER BY: `template_rev_id`
1994
+
1995
+ LOCK TABLES `mt_template_rev` WRITE;
1996
+ /*!40000 ALTER TABLE `mt_template_rev` DISABLE KEYS */;
1997
+ /*!40000 ALTER TABLE `mt_template_rev` ENABLE KEYS */;
1998
+ UNLOCK TABLES;
1999
+
2000
+ --
2001
+ -- Table structure for table `mt_templatemap`
2002
+ --
2003
+
2004
+ DROP TABLE IF EXISTS `mt_templatemap`;
2005
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
2006
+ /*!40101 SET character_set_client = utf8 */;
2007
+ CREATE TABLE `mt_templatemap` (
2008
+ `templatemap_id` int(11) NOT NULL AUTO_INCREMENT,
2009
+ `templatemap_archive_type` varchar(25) NOT NULL,
2010
+ `templatemap_blog_id` int(11) NOT NULL,
2011
+ `templatemap_build_interval` int(11) DEFAULT NULL,
2012
+ `templatemap_build_type` smallint(6) DEFAULT '1',
2013
+ `templatemap_file_template` varchar(255) DEFAULT NULL,
2014
+ `templatemap_is_preferred` tinyint(4) DEFAULT NULL,
2015
+ `templatemap_template_id` int(11) NOT NULL,
2016
+ PRIMARY KEY (`templatemap_id`),
2017
+ KEY `mt_templatemap_is_preferred` (`templatemap_is_preferred`),
2018
+ KEY `mt_templatemap_archive_type` (`templatemap_archive_type`),
2019
+ KEY `mt_templatemap_template_id` (`templatemap_template_id`),
2020
+ KEY `mt_templatemap_blog_id` (`templatemap_blog_id`)
2021
+ ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
2022
+ /*!40101 SET character_set_client = @saved_cs_client */;
2023
+
2024
+ --
2025
+ -- Dumping data for table `mt_templatemap`
2026
+ --
2027
+ -- ORDER BY: `templatemap_id`
2028
+
2029
+ LOCK TABLES `mt_templatemap` WRITE;
2030
+ /*!40000 ALTER TABLE `mt_templatemap` DISABLE KEYS */;
2031
+ INSERT INTO `mt_templatemap` VALUES (1,'Page',1,NULL,1,NULL,1,16);
2032
+ INSERT INTO `mt_templatemap` VALUES (2,'Individual',2,NULL,1,NULL,1,82);
2033
+ INSERT INTO `mt_templatemap` VALUES (3,'Page',2,NULL,1,NULL,1,96);
2034
+ INSERT INTO `mt_templatemap` VALUES (4,'Monthly',2,NULL,1,NULL,1,106);
2035
+ INSERT INTO `mt_templatemap` VALUES (5,'Category',2,NULL,1,NULL,1,106);
2036
+ /*!40000 ALTER TABLE `mt_templatemap` ENABLE KEYS */;
2037
+ UNLOCK TABLES;
2038
+
2039
+ --
2040
+ -- Table structure for table `mt_touch`
2041
+ --
2042
+
2043
+ DROP TABLE IF EXISTS `mt_touch`;
2044
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
2045
+ /*!40101 SET character_set_client = utf8 */;
2046
+ CREATE TABLE `mt_touch` (
2047
+ `touch_id` int(11) NOT NULL AUTO_INCREMENT,
2048
+ `touch_blog_id` int(11) DEFAULT NULL,
2049
+ `touch_modified_on` datetime DEFAULT NULL,
2050
+ `touch_object_type` varchar(255) DEFAULT NULL,
2051
+ PRIMARY KEY (`touch_id`),
2052
+ KEY `mt_touch_blog_type` (`touch_blog_id`,`touch_object_type`,`touch_modified_on`)
2053
+ ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
2054
+ /*!40101 SET character_set_client = @saved_cs_client */;
2055
+
2056
+ --
2057
+ -- Dumping data for table `mt_touch`
2058
+ --
2059
+ -- ORDER BY: `touch_id`
2060
+
2061
+ LOCK TABLES `mt_touch` WRITE;
2062
+ /*!40000 ALTER TABLE `mt_touch` DISABLE KEYS */;
2063
+ INSERT INTO `mt_touch` VALUES (1,0,'2012-02-07 20:46:59','author');
2064
+ INSERT INTO `mt_touch` VALUES (2,1,'2012-02-07 20:45:55','template');
2065
+ INSERT INTO `mt_touch` VALUES (3,1,'2012-02-07 20:45:55','page');
2066
+ INSERT INTO `mt_touch` VALUES (4,1,'2012-02-07 20:45:55','folder');
2067
+ INSERT INTO `mt_touch` VALUES (5,2,'2012-02-07 20:52:26','entry');
2068
+ /*!40000 ALTER TABLE `mt_touch` ENABLE KEYS */;
2069
+ UNLOCK TABLES;
2070
+
2071
+ --
2072
+ -- Table structure for table `mt_trackback`
2073
+ --
2074
+
2075
+ DROP TABLE IF EXISTS `mt_trackback`;
2076
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
2077
+ /*!40101 SET character_set_client = utf8 */;
2078
+ CREATE TABLE `mt_trackback` (
2079
+ `trackback_id` int(11) NOT NULL AUTO_INCREMENT,
2080
+ `trackback_blog_id` int(11) NOT NULL,
2081
+ `trackback_category_id` int(11) NOT NULL DEFAULT '0',
2082
+ `trackback_created_by` int(11) DEFAULT NULL,
2083
+ `trackback_created_on` datetime DEFAULT NULL,
2084
+ `trackback_description` mediumtext,
2085
+ `trackback_entry_id` int(11) NOT NULL DEFAULT '0',
2086
+ `trackback_is_disabled` tinyint(4) DEFAULT '0',
2087
+ `trackback_modified_by` int(11) DEFAULT NULL,
2088
+ `trackback_modified_on` datetime DEFAULT NULL,
2089
+ `trackback_passphrase` varchar(30) DEFAULT NULL,
2090
+ `trackback_rss_file` varchar(255) DEFAULT NULL,
2091
+ `trackback_title` varchar(255) DEFAULT NULL,
2092
+ `trackback_url` varchar(255) DEFAULT NULL,
2093
+ PRIMARY KEY (`trackback_id`),
2094
+ KEY `mt_trackback_category_id` (`trackback_category_id`),
2095
+ KEY `mt_trackback_created_on` (`trackback_created_on`),
2096
+ KEY `mt_trackback_blog_id` (`trackback_blog_id`),
2097
+ KEY `mt_trackback_entry_id` (`trackback_entry_id`)
2098
+ ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
2099
+ /*!40101 SET character_set_client = @saved_cs_client */;
2100
+
2101
+ --
2102
+ -- Dumping data for table `mt_trackback`
2103
+ --
2104
+ -- ORDER BY: `trackback_id`
2105
+
2106
+ LOCK TABLES `mt_trackback` WRITE;
2107
+ /*!40000 ALTER TABLE `mt_trackback` DISABLE KEYS */;
2108
+ INSERT INTO `mt_trackback` VALUES (1,2,0,1,'2012-02-08 05:47:53','1st entry body...',4,0,NULL,'2012-02-08 05:47:53',NULL,NULL,'1st entry title','http://example.com/first_website/first_blog/2012/02/1st-entry-title.html');
2109
+ INSERT INTO `mt_trackback` VALUES (2,2,0,1,'2012-02-08 05:52:25','2nd entry body...',5,0,NULL,'2012-02-08 05:52:25',NULL,NULL,'2nd entry title','http://example.com/first_website/first_blog/2012/02/2nd-entry-title.html');
2110
+ /*!40000 ALTER TABLE `mt_trackback` ENABLE KEYS */;
2111
+ UNLOCK TABLES;
2112
+
2113
+ --
2114
+ -- Table structure for table `mt_ts_error`
2115
+ --
2116
+
2117
+ DROP TABLE IF EXISTS `mt_ts_error`;
2118
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
2119
+ /*!40101 SET character_set_client = utf8 */;
2120
+ CREATE TABLE `mt_ts_error` (
2121
+ `ts_error_error_time` int(11) NOT NULL,
2122
+ `ts_error_funcid` int(11) NOT NULL DEFAULT '0',
2123
+ `ts_error_jobid` int(11) NOT NULL,
2124
+ `ts_error_message` varchar(255) NOT NULL,
2125
+ KEY `mt_ts_error_funcid_time` (`ts_error_funcid`,`ts_error_error_time`),
2126
+ KEY `mt_ts_error_error_time` (`ts_error_error_time`),
2127
+ KEY `mt_ts_error_jobid` (`ts_error_jobid`)
2128
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2129
+ /*!40101 SET character_set_client = @saved_cs_client */;
2130
+
2131
+ --
2132
+ -- Dumping data for table `mt_ts_error`
2133
+ --
2134
+
2135
+ LOCK TABLES `mt_ts_error` WRITE;
2136
+ /*!40000 ALTER TABLE `mt_ts_error` DISABLE KEYS */;
2137
+ /*!40000 ALTER TABLE `mt_ts_error` ENABLE KEYS */;
2138
+ UNLOCK TABLES;
2139
+
2140
+ --
2141
+ -- Table structure for table `mt_ts_exitstatus`
2142
+ --
2143
+
2144
+ DROP TABLE IF EXISTS `mt_ts_exitstatus`;
2145
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
2146
+ /*!40101 SET character_set_client = utf8 */;
2147
+ CREATE TABLE `mt_ts_exitstatus` (
2148
+ `ts_exitstatus_jobid` int(11) NOT NULL,
2149
+ `ts_exitstatus_completion_time` int(11) DEFAULT NULL,
2150
+ `ts_exitstatus_delete_after` int(11) DEFAULT NULL,
2151
+ `ts_exitstatus_funcid` int(11) NOT NULL,
2152
+ `ts_exitstatus_status` int(11) DEFAULT NULL,
2153
+ PRIMARY KEY (`ts_exitstatus_jobid`),
2154
+ KEY `mt_ts_exitstatus_funcid` (`ts_exitstatus_funcid`),
2155
+ KEY `mt_ts_exitstatus_delete_after` (`ts_exitstatus_delete_after`)
2156
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2157
+ /*!40101 SET character_set_client = @saved_cs_client */;
2158
+
2159
+ --
2160
+ -- Dumping data for table `mt_ts_exitstatus`
2161
+ --
2162
+ -- ORDER BY: `ts_exitstatus_jobid`
2163
+
2164
+ LOCK TABLES `mt_ts_exitstatus` WRITE;
2165
+ /*!40000 ALTER TABLE `mt_ts_exitstatus` DISABLE KEYS */;
2166
+ /*!40000 ALTER TABLE `mt_ts_exitstatus` ENABLE KEYS */;
2167
+ UNLOCK TABLES;
2168
+
2169
+ --
2170
+ -- Table structure for table `mt_ts_funcmap`
2171
+ --
2172
+
2173
+ DROP TABLE IF EXISTS `mt_ts_funcmap`;
2174
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
2175
+ /*!40101 SET character_set_client = utf8 */;
2176
+ CREATE TABLE `mt_ts_funcmap` (
2177
+ `ts_funcmap_funcid` int(11) NOT NULL AUTO_INCREMENT,
2178
+ `ts_funcmap_funcname` varchar(255) NOT NULL,
2179
+ PRIMARY KEY (`ts_funcmap_funcid`),
2180
+ UNIQUE KEY `mt_ts_funcmap_funcname` (`ts_funcmap_funcname`)
2181
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2182
+ /*!40101 SET character_set_client = @saved_cs_client */;
2183
+
2184
+ --
2185
+ -- Dumping data for table `mt_ts_funcmap`
2186
+ --
2187
+ -- ORDER BY: `ts_funcmap_funcid`
2188
+
2189
+ LOCK TABLES `mt_ts_funcmap` WRITE;
2190
+ /*!40000 ALTER TABLE `mt_ts_funcmap` DISABLE KEYS */;
2191
+ /*!40000 ALTER TABLE `mt_ts_funcmap` ENABLE KEYS */;
2192
+ UNLOCK TABLES;
2193
+
2194
+ --
2195
+ -- Table structure for table `mt_ts_job`
2196
+ --
2197
+
2198
+ DROP TABLE IF EXISTS `mt_ts_job`;
2199
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
2200
+ /*!40101 SET character_set_client = utf8 */;
2201
+ CREATE TABLE `mt_ts_job` (
2202
+ `ts_job_jobid` int(11) NOT NULL AUTO_INCREMENT,
2203
+ `ts_job_arg` mediumblob,
2204
+ `ts_job_coalesce` varchar(255) DEFAULT NULL,
2205
+ `ts_job_funcid` int(11) NOT NULL,
2206
+ `ts_job_grabbed_until` int(11) NOT NULL,
2207
+ `ts_job_insert_time` int(11) DEFAULT NULL,
2208
+ `ts_job_priority` int(11) DEFAULT NULL,
2209
+ `ts_job_run_after` int(11) NOT NULL,
2210
+ `ts_job_uniqkey` varchar(255) DEFAULT NULL,
2211
+ PRIMARY KEY (`ts_job_jobid`),
2212
+ UNIQUE KEY `mt_ts_job_uniqfunc` (`ts_job_funcid`,`ts_job_uniqkey`),
2213
+ KEY `mt_ts_job_funcpri` (`ts_job_funcid`,`ts_job_priority`),
2214
+ KEY `mt_ts_job_funccoal` (`ts_job_funcid`,`ts_job_coalesce`),
2215
+ KEY `mt_ts_job_funcrun` (`ts_job_funcid`,`ts_job_run_after`)
2216
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2217
+ /*!40101 SET character_set_client = @saved_cs_client */;
2218
+
2219
+ --
2220
+ -- Dumping data for table `mt_ts_job`
2221
+ --
2222
+ -- ORDER BY: `ts_job_jobid`
2223
+
2224
+ LOCK TABLES `mt_ts_job` WRITE;
2225
+ /*!40000 ALTER TABLE `mt_ts_job` DISABLE KEYS */;
2226
+ /*!40000 ALTER TABLE `mt_ts_job` ENABLE KEYS */;
2227
+ UNLOCK TABLES;
2228
+ /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
2229
+
2230
+ /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
2231
+ /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
2232
+ /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
2233
+ /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
2234
+ /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
2235
+ /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
2236
+ /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
2237
+
2238
+ -- Dump completed on 2012-02-08 6:29:12