Skip to content

Instantly share code, notes, and snippets.

@naoaki011
Created January 18, 2013 10:32
Show Gist options
  • Save naoaki011/4563711 to your computer and use it in GitHub Desktop.
Save naoaki011/4563711 to your computer and use it in GitHub Desktop.
テンプレート追加するSQL文。
INSERT INTO `mt_template` (`template_blog_id`, `template_build_dynamic`, `template_build_interval`, `template_build_type`, `template_created_by`, `template_identifier`, `template_linked_file`, `template_linked_file_mtime`, `template_linked_file_size`, `template_modified_by`, `template_name`, `template_outfile`, `template_rebuild_me`, `template_text`, `template_type`, `template_current_revision`) VALUES
(36, 0, 0, 2, 1,'', '', NULL, NULL, 1,'NEWTEST', 'test.php', 0, '<h1>TEST</h1>\n<MTArchiveList archive_type="Monthly">\n\n<MTArchiveDate format="blogtimes-%Y%m" setvar="name">\n<MTArchiveDate format="%Y%m" setvar="month">\n<MTBlogTimes name="$name" month="$month" width=400 height=30 save_dir="blogtimes" linecolor="#767F58" textcolor="#767F58" fillcolor="#D4D884" bordercolor="#C0C0C0" padding="5" show_text="on">\n<img src="<$MTBlogTimesFileURL$>" width="<$MTBlogTimesWidth$>" height="<$MTBlogTimesHeight$>" alt="B L O G T I M E S" />\n</MTBlogTimes>\n\n</MTArchiveList>', 'index', 1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment