-- Table structure for table `gl_polltopics`
--


CREATE TABLE `gl_polltopics` (
  `pid` varchar(128) NOT NULL DEFAULT '',
  `topic` varchar(255) DEFAULT NULL,
  `meta_description` text DEFAULT NULL,
  `meta_keywords` text DEFAULT NULL,
  `voters` mediumint(8) unsigned DEFAULT NULL,
  `questions` int(11) NOT NULL DEFAULT 0,
  `created` datetime DEFAULT NULL,
  `modified` datetime DEFAULT NULL,
  `display` tinyint(4) NOT NULL DEFAULT 0,
  `is_open` tinyint(1) NOT NULL DEFAULT 1,
  `hideresults` tinyint(1) NOT NULL DEFAULT 0,
  `commentcode` tinyint(4) NOT NULL DEFAULT 0,
  `statuscode` tinyint(4) NOT NULL DEFAULT 0,
  `owner_id` mediumint(8) unsigned NOT NULL DEFAULT 1,
  `group_id` mediumint(8) unsigned NOT NULL DEFAULT 1,
  `perm_owner` tinyint(1) unsigned NOT NULL DEFAULT 3,
  `perm_group` tinyint(1) unsigned NOT NULL DEFAULT 2,
  `perm_members` tinyint(1) unsigned NOT NULL DEFAULT 2,
  `perm_anon` tinyint(1) unsigned NOT NULL DEFAULT 2,
  `description` mediumtext DEFAULT NULL,
  PRIMARY KEY (`pid`),
  KEY `pollquestions_qid` (`pid`),
  KEY `pollquestions_created` (`created`),
  KEY `pollquestions_display` (`display`),
  KEY `pollquestions_commentcode` (`commentcode`),
  KEY `pollquestions_statuscode` (`statuscode`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `gl_polltopics`
--

INSERT INTO `gl_polltopics`VALUES ('geeklogfeaturepoll','Tell us your opinion about Geeklog','A poll about users opinions of Geeklog.','Poll, Geeklog, Opinion',0,2,'2025-08-14 12:25:09','2025-08-14 12:25:09',1,1,1,0,0,1,30,3,2,2,2,NULL);

--
-- Table structure for table `gl_routes`
--


CREATE TABLE `gl_routes` (
  `rid` int(11) NOT NULL AUTO_INCREMENT,
  `method` int(11) NOT NULL DEFAULT 1,
  `rule` varchar(255) NOT NULL DEFAULT '',
  `route` varchar(255) NOT NULL DEFAULT '',
  `status_code` int(11) NOT NULL DEFAULT 200,
  `priority` int(11) NOT NULL DEFAULT 100,
  `enabled` tinyint(1) unsigned NOT NULL DEFAULT 1,
  PRIMARY KEY (`rid`)
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `gl_routes`
--

INSERT INTO `gl_routes`VALUES (1,1,'/article/@sid/print','/article.php?story=@sid&mode=print',200,100,1);
INSERT INTO `gl_routes`VALUES (2,1,'/article/@sid','/article.php?story=@sid',200,110,1);
INSERT INTO `gl_routes`VALUES (3,1,'/archives/@topic/@year/@month','/directory.php?topic=@topic&year=@year&month=@month',200,120,1);
INSERT INTO `gl_routes`VALUES (4,1,'/page/@page','/staticpages/index.php?page=@page',200,130,1);
INSERT INTO `gl_routes`VALUES (5,1,'/links/portal/@item','/links/portal.php?what=link&item=@item',200,140,1);
INSERT INTO `gl_routes`VALUES (6,1,'/links/category/@cat','/links/index.php?category=@cat',200,150,1);
INSERT INTO `gl_routes`VALUES (7,1,'/topic/@topic','/index.php?topic=@topic',200,160,1);
INSERT INTO `gl_routes`VALUES (8,1,'/topic/@topic/@page','/index.php?topic=@topic&page=@page',200,170,1);
INSERT INTO `gl_routes`VALUES (9,1,'/page/@page/print','/staticpages/index.php?page=@page&disp_mode=print',200,180,1);
INSERT INTO `gl_routes`VALUES (10,1,'/article/@sid/@page','/article.php?story=@sid&page=@page',200,1000,1);
INSERT INTO `gl_routes`VALUES (11,1,'/article/@sid/@page','/article.php?story=@sid&page=@page',200,1000,1);

--
-- Table structure for table `gl_smap_config`
--


CREATE TABLE `gl_smap_config` (
  `name` varchar(30) NOT NULL DEFAULT '',
  `value` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `gl_smap_config`
--

INSERT INTO `gl_smap_config`VALUES ('anon_access','true');
INSERT INTO `gl_smap_config`VALUES ('date_format','[[Y-m-d] ]');
INSERT INTO `gl_smap_config`VALUES ('sitemap_in_xhtml','false');
INSERT INTO `gl_smap_config`VALUES ('sitemap_article','true');
INSERT INTO `gl_smap_config`VALUES ('sitemap_staticpages','true');
INSERT INTO `gl_smap_config`VALUES ('sitemap_calendar','true');
INSERT INTO `gl_smap_config`VALUES ('sitemap_links','true');
INSERT INTO `gl_smap_config`VALUES ('sitemap_polls','true');
INSERT INTO `gl_smap_config`VALUES ('sitemap_forum','true');
INSERT INTO `gl_smap_config`VALUES ('sitemap_filemgmt','true');
INSERT INTO `gl_smap_config`VALUES ('sitemap_faqman','true');
INSERT INTO `gl_smap_config`VALUES ('sitemap_dokuwiki','true');
INSERT INTO `gl_smap_config`VALUES ('sitemap_comments','true');
INSERT INTO `gl_smap_config`VALUES ('sitemap_trackback','true');
INSERT INTO `gl_smap_config`VALUES ('sitemap_mediagallery','true');
INSERT INTO `gl_smap_config`VALUES ('google_sitemap_name','sitemap.xml');
INSERT INTO `gl_smap_config`VALUES ('time_zone','+09:00');
INSERT INTO `gl_smap_config`VALUES ('gsmap_article','true');
INSERT INTO `gl_smap_config`VALUES ('gsmap_staticpages','true');
INSERT INTO `gl_smap_config`VALUES ('gsmap_calendar','true');
INSERT INTO `gl_smap_config`VALUES ('gsmap_links','true');
INSERT INTO `gl_smap_config`VALUES ('gsmap_polls','true');
INSERT INTO `gl_smap_config`VALUES ('gsmap_forum','true');
INSERT INTO `gl_smap_config`VALUES ('gsmap_filemgmt','true');
INSERT INTO `gl_smap_config`VALUES ('gsmap_faqman','true');
INSERT INTO `gl_smap_config`VALUES ('gsmap_dokuwiki','true');
INSERT INTO `gl_smap_config`VALUES ('gsmap_comments','false');
INSERT INTO `gl_smap_config`VALUES ('gsmap_trackback','false');
INSERT INTO `gl_smap_config`VALUES ('gsmap_mediagallery','true');
INSERT INTO `gl_smap_config`VALUES ('freq_article','daily');
INSERT INTO `gl_smap_config`VALUES ('freq_staticpages','weekly');
INSERT INTO `gl_smap_config`VALUES ('freq_calendar','daily');
INSERT INTO `gl_smap_config`VALUES ('freq_links','weekly');
INSERT INTO `gl_smap_config`VALUES ('freq_polls','weekly');
INSERT INTO `gl_smap_config`VALUES ('freq_forum','daily');
INSERT INTO `gl_smap_config`VALUES ('freq_filemgmt','daily');
INSERT INTO `gl_smap_config`VALUES ('freq_faqman','weekly');
INSERT INTO `gl_smap_config`VALUES ('freq_dokuwiki','daily');
INSERT INTO `gl_smap_config`VALUES ('freq_comments','daily');
INSERT INTO `gl_smap_config`VALUES ('freq_trackback','daily');
INSERT INTO `gl_smap_config`VALUES ('freq_mediagallery','daily');
INSERT INTO `gl_smap_config`VALUES ('priority_article','0.5');
INSERT INTO `gl_smap_config`VALUES ('priority_staticpages','0.5');
INSERT INTO `gl_smap_config`VALUES ('priority_calendar','0.5');
INSERT INTO `gl_smap_config`VALUES ('priority_links','0.5');
INSERT INTO `gl_smap_config`VALUES ('priority_polls','0.5');
INSERT INTO `gl_smap_config`VALUES ('priority_forum','0.5');
INSERT INTO `gl_smap_config`VALUES ('priority_filemgmt','0.5');
INSERT INTO `gl_smap_config`VALUES ('priority_faqman','0.5');
INSERT INTO `gl_smap_config`VALUES ('priority_dokuwiki','0.5');
INSERT INTO `gl_smap_config`VALUES ('priority_comments','0.5');
INSERT INTO `gl_smap_config`VALUES ('priority_trackback','0.5');
INSERT INTO `gl_smap_config`VALUES ('priority_mediagallery','0.5');
INSERT INTO `gl_smap_config`VALUES ('order_article','1');
INSERT INTO `gl_smap_config`VALUES ('order_comments','2');
INSERT INTO `gl_smap_config`VALUES ('order_trackback','3');
INSERT INTO `gl_smap_config`VALUES ('order_staticpages','4');
INSERT INTO `gl_smap_config`VALUES ('order_calendar','5');
INSERT INTO `gl_smap_config`VALUES ('order_links','6');
INSERT INTO `gl_smap_config`VALUES ('order_polls','7');
INSERT INTO `gl_smap_config`VALUES ('order_dokuwiki','8');
INSERT INTO `gl_smap_config`VALUES ('order_forum','9');
INSERT INTO `gl_smap_config`VALUES ('order_filemgmt','10');
INSERT INTO `gl_smap_config`VALUES ('order_faqman','11');
INSERT INTO `gl_smap_config`VALUES ('order_mediagallery','12');
INSERT INTO `gl_smap_config`VALUES ('sp_type','2');
INSERT INTO `gl_smap_config`VALUES ('sp_except','/^form/ 2009*');
INSERT INTO `gl_smap_config`VALUES ('sitemap_calendarjp','true');
INSERT INTO `gl_smap_config`VALUES ('gsmap_calendarjp','true');
INSERT INTO `gl_smap_config`VALUES ('freq_calendarjp','daily');
INSERT INTO `gl_smap_config`VALUES ('priority_calendarjp','0.5');
INSERT INTO `gl_smap_config`VALUES ('order_calendarjp','13');
INSERT INTO `gl_smap_config`VALUES ('sitemap_downloads','true');
INSERT INTO `gl_smap_config`VALUES ('gsmap_downloads','true');
INSERT INTO `gl_smap_config`VALUES ('freq_downloads','daily');
INSERT INTO `gl_smap_config`VALUES ('priority_downloads','0.5');
INSERT INTO `gl_smap_config`VALUES ('order_downloads','14');

--
-- Table structure for table `gl_spamx`
--


CREATE TABLE `gl_spamx` (
  `name` varchar(20) NOT NULL DEFAULT '',
  `value` varchar(191) NOT NULL DEFAULT '',
  `counter` int(11) NOT NULL DEFAULT 0,
  `regdate` datetime DEFAULT NULL,
  PRIMARY KEY (`name`,`value`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `gl_spamx`
--


--
-- Table structure for table `gl_speedlimit`
--


CREATE TABLE `gl_speedlimit` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `ipaddress` varchar(39) NOT NULL DEFAULT '',
  `date` int(10) unsigned DEFAULT NULL,
  `type` varchar(30) NOT NULL DEFAULT 'submit',
  PRIMARY KEY (`id`),
  KEY `type_ipaddress` (`type`,`ipaddress`),
  KEY `date` (`date`)
) ENGINE=MyISAM AUTO_INCREMENT=415146 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `gl_speedlimit`
--

INSERT INTO `gl_speedlimit`VALUES (1,'110.67.37.114',1255784674,'forum');
INSERT INTO `gl_speedlimit`VALUES (25635,'157.112.152.14',1548574998,'pingback');
INSERT INTO `gl_speedlimit`VALUES (403066,'85.208.84.179',1763968581,'mail');
INSERT INTO `gl_speedlimit`VALUES (403065,'85.208.84.179',1763968566,'comment');
INSERT INTO `gl_speedlimit`VALUES (403073,'45.3.40.28',1763973832,'trackback');
INSERT INTO `gl_speedlimit`VALUES (403074,'216.26.227.93',1763973834,'trackback');
INSERT INTO `gl_speedlimit`VALUES (403075,'209.50.168.4',1763973836,'trackback');
INSERT INTO `gl_speedlimit`VALUES (403072,'45.3.50.37',1763973829,'trackback');
INSERT INTO `gl_speedlimit`VALUES (413217,'154.51.142.46',1769232439,'error-speedlimit');
INSERT INTO `gl_speedlimit`VALUES (413219,'154.51.142.46',1769232439,'error-speedlimit');
INSERT INTO `gl_speedlimit`VALUES (413215,'154.51.142.46',1769232438,'error-speedlimit');
INSERT INTO `gl_speedlimit`VALUES (413213,'154.51.142.46',1769232438,'error-speedlimit');
INSERT INTO `gl_speedlimit`VALUES (413211,'154.51.142.46',1769232438,'error-speedlimit');
INSERT INTO `gl_speedlimit`VALUES (413209,'154.51.142.46',1769232438,'error-speedlimit');
INSERT INTO `gl_speedlimit`VALUES (415144,'114.148.248.3',1770410864,'error-404');
INSERT INTO `gl_speedlimit`VALUES (415145,'114.148.248.3',1770410885,'error-404');

--
-- Table structure for table `gl_staticpage`
--


CREATE TABLE `gl_staticpage` (
  `sp_id` varchar(128) NOT NULL DEFAULT '',
  `sp_title` varchar(128) NOT NULL DEFAULT '',
  `sp_page_title` varchar(128) NOT NULL DEFAULT '',
  `sp_content` text NOT NULL,
  `sp_hits` mediumint(8) unsigned NOT NULL DEFAULT 0,
  `created` datetime DEFAULT NULL,
  `modified` datetime DEFAULT NULL,
  `sp_format` varchar(20) NOT NULL DEFAULT '',
  `sp_onmenu` tinyint(1) unsigned NOT NULL DEFAULT 0,
  `sp_onhits` tinyint(4) NOT NULL DEFAULT 1,
  `sp_onlastupdate` tinyint(4) NOT NULL DEFAULT 1,
  `sp_label` varchar(64) DEFAULT NULL,
  `commentcode` tinyint(4) NOT NULL DEFAULT 0,
  `structured_data_type` varchar(40) NOT NULL,
  `meta_description` text DEFAULT NULL,
  `meta_keywords` text DEFAULT NULL,
  `template_flag` tinyint(1) NOT NULL DEFAULT 0,
  `template_id` varchar(40) NOT NULL DEFAULT '',
  `cache_time` int(11) NOT NULL DEFAULT 0,
  `draft_flag` tinyint(1) unsigned DEFAULT 0,
  `search` tinyint(1) NOT NULL DEFAULT 1,
  `likes` tinyint(4) NOT NULL DEFAULT -1,
  `owner_id` mediumint(8) unsigned NOT NULL DEFAULT 1,
  `group_id` mediumint(8) unsigned NOT NULL DEFAULT 1,
  `perm_owner` tinyint(1) unsigned NOT NULL DEFAULT 3,
  `perm_group` tinyint(1) unsigned NOT NULL DEFAULT 2,
  `perm_members` tinyint(1) unsigned NOT NULL DEFAULT 2,
  `perm_anon` tinyint(1) unsigned NOT NULL DEFAULT 2,
  `sp_centerblock` tinyint(1) unsigned NOT NULL DEFAULT 0,
  `sp_help` varchar(255) DEFAULT '',
  `sp_where` tinyint(1) unsigned NOT NULL DEFAULT 1,
  `sp_php` tinyint(1) unsigned NOT NULL DEFAULT 0,
  `sp_nf` tinyint(1) unsigned DEFAULT 0,
  `sp_inblock` tinyint(1) unsigned DEFAULT 1,
  `postmode` varchar(16) NOT NULL DEFAULT 'html',
  `sp_prev` varchar(128) NOT NULL DEFAULT '',
  `sp_next` varchar(128) NOT NULL DEFAULT '',
  `sp_parent` varchar(128) NOT NULL DEFAULT '',
  `page_data` text DEFAULT NULL,
  PRIMARY KEY (`sp_id`),
  KEY `staticpage_created` (`created`),
  KEY `staticpage_sp_onmenu` (`sp_onmenu`),
  KEY `staticpage_sp_centerblock` (`sp_centerblock`),
  KEY `staticpage_sp_where` (`sp_where`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `gl_staticpage`
--

INSERT INTO `gl_staticpage`VALUES ('stories','Topics','','global $LANG01;\r\n\r\n\r\nif ( $_GET[\'n\'] != NULL ){\r\n  $n =  $_GET[\'n\'];\r\n} else {\r\n  $n = 20;\r\n}\r\nif ( $_GET[\'l\'] != NULL ){\r\n  $l =  $_GET[\'l\'];\r\n} else {\r\n  $l = 100;\r\n}\r\n\r\n  $url_current = COM_getCurrentURL(); \r\n  $tmp = explode(\"/\", $url_current);\r\n\r\n\r\nif ( $_GET[\'t\'] != NULL ){\r\n  $t =  $_GET[\'t\'];\r\n} else if(strpos( $tmp[4], \'topic\' ) !== false ) {\r\n\r\n$tmp = explode(\"?\", $tmp[5]);\r\n\r\n    $t = $tmp[0];\r\n} else {\r\n  $t = \'\';\r\n}\r\n\r\nif ($t){\r\n  $include=array($t);\r\n  $display = phpblock_lastarticles2($n,$l,$include);\r\n  echo $display;\r\n}\r\n\r\nif($n < 100) {\r\necho \'<div class=\"uk-text-right\"><a href=\"/staticpages/index.php/stories?n=1000&t=\'.$t.\'\" >All stories <span  uk-icon=\"icon: more\"></span> </a></div>\';\r\n}',322664,'2019-01-31 02:15:30','2019-01-31 02:51:43','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,2,0,1,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('_header_slogan_en','_header_slogan_en','','Internship　Multilingual Website for the new generation, <br>&ldquo;<strong>GLOBAL COMMUNITY</strong>&rdquo; edited by Japanese and Internationl students!',1900220,'2010-08-30 22:41:23','2019-01-30 17:08:25','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('_home_ja','_home_ja','','<div id=\"top_box\" class=\"uk-child-width-1-2 uk-child-width-1-1@s uk-child-width-1-2@m\" uk-grid>\r\n<div id=\"international_box\" class=\"uk-card uk-card-default uk-card-body\">\r\n\r\n<h3 title=\"国際人\"><a href=\"https://www.yokosojapan.net/index.php/topic/international_ja\">国際人</a></h3>\r\n<img width=\"238\" height=\"15\" src=\"https://www.yokosojapan.net/mt/images/index/136_index_05.gif\" alt=\"国際機関・国際人・国際結婚\" />\r\n[newstories2:international_ja limitcnt:20 newmarkday:30]\r\n</div>\r\n\r\n<div id=\"event_box\" class=\"uk-card  uk-card-default uk-card-body\">\r\n<h3 title=\"イベント\"><a href=\"https://www.yokosojapan.net/index.php/topic/event_ja\">イベント</a></h3>\r\n<img width=\"238\" height=\"15\" src=\"https://www.yokosojapan.net/mt/images/index/136_index_07.gif\" alt=\"多文化・エンタメ＆イベント・国際イベント\" />\r\n[newstories2:event_ja limitcnt:20 newmarkday:30 thtml:default]\r\n</div>\r\n\r\n<div id=\"life_box\" class=\"uk-card uk-card-default uk-card-body\">\r\n<h3 title=\"みんなの生活\"><a href=\"https://www.yokosojapan.net/index.php/topic/life_ja\">みんなの生活</a></h3>\r\n<img width=\"238\" height=\"15\" src=\"https://www.yokosojapan.net/mt/images/index/136_index_09.gif\" alt=\"日本語・教育機関・生活\" />\r\n[newstories2:life_ja limitcnt:20 newmarkday:30 thtml:default]\r\n</div>\r\n<div id=\"editor_box\" class=\"uk-card uk-card-default uk-card-body\">\r\n<h3 title=\"編集者より\"><a href=\"https://www.yokosojapan.net/index.php/topic/editor_ja\" bitly=\"BITLY_PROCESSED\">編集者より</a></h3>\r\n<p>みんなでGLOBAL　COMMINITYを一緒につくりませんか？英語・韓国語・中国語翻訳ボランティアも募集中!!</p>\r\n[newstories2:editor_ja limitcnt:20 newmarkday:30 thtml:default]\r\n</div>\r\n</div>',255909,'2019-01-29 22:30:15','2025-11-27 14:19:15','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'html','','','','');
INSERT INTO `gl_staticpage`VALUES ('_header_slogan_ko','_header_slogan_ko','','유학생과 일본인 학생이 만드는 신세대의 국제교류신문 “GLOBAL COMMUNITY”의 다언어 웹 메거진！<p>\r\n<a href=\"https://px.a8.net/svt/ejp?a8mat=3N22FA+8AA6UQ+3N0O+5YRHE\" rel=\"nofollow\">【全額返金保証】トライズなら1年で英語が身につく3つの理由</a>\r\n<img border=\"0\" width=\"1\" height=\"1\" src=\"https://www16.a8.net/0.gif?a8mat=3N22FA+8AA6UQ+3N0O+5YRHE\" alt=\"\">',356976,'2010-08-30 22:43:03','2022-02-02 13:11:18','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('_header_content_zh','_トップページでのみヘッダで表示ch','','<img src=\"https://www.yokosojapan.net/images/library/Image/2014/14-0510.jpg\" alt=\"\">',6451,'2019-01-30 00:59:13','2019-01-30 00:59:56','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('_test_en','_test_en','','<div id=\"top_box\" class=\"uk-child-width-1-2 uk-child-width-1-1@s uk-child-width-1-2@m\" uk-grid>\r\n<div id=\"international_box\" class=\"uk-card uk-card-default uk-card-body\">\r\n\r\n<h3 title=\"国際人\"><a href=\"https://www.yokosojapan.net/index.php/topic/international_en\">国際人</a></h3>\r\n<img width=\"238\" height=\"15\" src=\"https://www.yokosojapan.net/mt/images/index/136_index_05.gif\" alt=\"国際機関・国際人・国際結婚\" />\r\n[assist:newstories id:newstories2:international_en limitcnt:2 newmarkday:30 intervalday:1200]\r\n</div>\r\n\r\n<div id=\"event_box\" class=\"uk-card uk-card-default uk-card-body\">\r\n<h3 title=\"イベント\"><a href=\"https://www.yokosojapan.net/index.php/topic/event_en\">イベント</a></h3>\r\n<img width=\"238\" height=\"15\" src=\"https://www.yokosojapan.net/mt/images/index/136_index_07.gif\" alt=\"多文化・エンタメ＆イベント・国際イベント\" />\r\n[assist:newstories id:event_en limitcnt:2 newmarkday:30 intervalday:1200]\r\n</div>\r\n\r\n<div id=\"life_box\" class=\"uk-card uk-card-default uk-card-body\">\r\n<h3 title=\"みんなの生活\"><a href=\"https://www.yokosojapan.net/index.php/topic/life_en\">みんなの生活</a></h3>\r\n<img width=\"238\" height=\"15\" src=\"https://www.yokosojapan.net/mt/images/index/136_index_09.gif\" alt=\"日本語・教育機関・生活\" />\r\n[assist:newstories id:life_en limitcnt:2 newmarkday:30 intervalday:1200]\r\n</div>\r\n<div id=\"editor_box\" class=\"uk-card uk-card-default uk-card-body\">\r\n<h3 title=\"編集者より\"><a href=\"https://www.yokosojapan.net/index.php/topic/editor_en\" bitly=\"BITLY_PROCESSED\">編集者より</a></h3>\r\n<p>みんなでGLOBAL　COMMINITYを一緒につくりませんか？英語・韓国語・中国語翻訳ボランティアも募集中!!</p>\r\n[assist:newstories id:editor_en limitcnt:2 newmarkday:30 intervalday:1200]\r\n</div>\r\n</div>',425,'2019-01-29 18:17:18','2019-01-29 18:17:18','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('_header_slogan_zh','_header_slogan_zh','','由留学生和日本人学生共同打造的新世代国际交流报纸&ldquo;<strong>GLOBAL COMMUNITY</strong>&rdquo;之多国语Web电子杂志！<p>\r\n<a href=\"https://px.a8.net/svt/ejp?a8mat=3N22FA+8AA6UQ+3N0O+5YRHE\" rel=\"nofollow\">【全額返金保証】トライズなら1年で英語が身につく3つの理由</a>\r\n<img border=\"0\" width=\"1\" height=\"1\" src=\"https://www16.a8.net/0.gif?a8mat=3N22FA+8AA6UQ+3N0O+5YRHE\" alt=\"\">',459806,'2010-09-01 15:35:06','2022-02-02 13:09:55','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('contact_ko','연락처','','// +---------------------------------------------------------------------------+\r\n// | Geeklog FormMail Static Page                                              |\r\n// +---------------------------------------------------------------------------+\r\n// | Copyright (C) 2008-2010 by the following authors:                         |\r\n// |                                                                           |\r\n// | Authors    : Hiroshi Sakuramoto - hiro AT winkey DOT jp                   |\r\n// | Sponser    : White Bear Family CO., LTD                                   |\r\n// | Coordinate : Adeliae Planning CO., LTD - www.e-adeliae.com                |\r\n// | Coordinate : IVY WE CO., LTD - www.ivywe.co.jp                            |\r\n// | Version: 2.1.3                                                            |\r\n// | EnglishVersion: 0.9.4                                                     |\r\n// | Translated: kobab - geeklog.crimsonj.net                                  |\r\n// | Translated: Alleman Chie and Geeklog Japanese                             |\r\n// +---------------------------------------------------------------------------+\r\n// | This program was originally made for Japanese users. Several              |\r\n// | parts are therefore for Japanese users only and commented-out for         |\r\n// | this English version.                                                     |\r\n// | For the purpose of future upgrade for both of Japanese & English          |\r\n// | verions, those commented-out parts are remained. Wish English             |\r\n// | users understand this and ignore those parts when you use.                |\r\n// +---------------------------------------------------------------------------+\r\n\r\nglobal $_CONF, $_USER, $_PLUGINS;\r\nif (!defined(\'XHTML\')) define(\'XHTML\', \' /\');\r\n\r\n// +---------------------------------------------------------------------------+\r\n// | default setting                                                           |\r\n// +---------------------------------------------------------------------------+\r\n# form URL\r\n# $pageurl = $_SERVER[\"REQUEST_URI\"];\r\n// If $_SERVER[\"REQUEST_URI\"] doesn\'t work, \r\n// fill-in statipage ID below.\r\n// Default is \'formmail\'\r\n// *Please remove # and uncomment after filling-in ID\r\n$pageid = \'contact_ko\';\r\n\r\n# receipient set\r\n#    If 2 or more receipient, each email should be commmaed. no space allowed.\r\n#      ex) \'info@abcd.com,admin@wxyz.com\'\r\n#    Set email for a certain colum data. If colum 1 is AAA, receipient is info@geeksite. If colum 1 is BBB, receipient becomes to admin@geeksite\r\n#    You MUST set $owner_email_item_name if you use this feature.\r\n#      ex) \'AAA=info@abcd.com,BBB=admin@wxyz.com\'\r\n\r\n$owner_email=$_CONF[\'site_mail\'];\r\n\r\n\r\n# Set colum name of receipient\r\n//  *Remember to remove * to uncomment after setting colum name.\r\n#$owner_email_item_name = \'q_mail_to\';\r\n\r\n# email of auto-reply message sender\r\n$email_from = $_CONF[\'site_mail\'];\r\n#\'noreply_mail\' can be used if your Geeklog version is 1.5 or later.\r\n#$email_from = $_CONF[\'noreply_mail\'];\r\n\r\n# inquirer email\'s item name\r\n$email_input_name = \'q_mail\';\r\n\r\n# email double check\r\n#   no space allowed.\r\n#     ex) \'email=reemail\'\r\n$essential_email = \'q_mail=q_mail_re\';\r\n\r\n\r\n# email check\r\n#   check if input string is proper email address\r\n#   value of name attrubute with commas. no space is allowed.\r\n#     ex) \'email,reemail\'\r\n\r\n$propriety_email = \'q_mail,q_mail_re\';\r\n\r\n# use Geeklog\'s userset if logged-in\r\n#   use username, full name & email of login users\r\n#\r\n$username = \'\'; $user_email = \'\';\r\nif (isset ($_USER[\'uid\']) && ($_USER[\'uid\'] > 1)) {\r\n    $username = isset($_USER[\'fullname\']) ? $_USER[\'fullname\'] : $_USER[\'username\'];\r\n    $user_email = $_USER[\'email\'];\r\n}\r\n\r\n# save as CSV file\r\n#   not save: 0, save with commas: 1, save with tabs: 2\r\n$save_csv = 1;\r\n\r\n# path for CSV file to be saved. / is mandatory at the end of URL If you specify# bare # path.\r\n$save_csv_path = $_CONF[\'path_data\'];\r\n\r\n# CSV file name\r\n$save_csv_name = \'formmail.csv\';\r\n\r\n# character code at saving CSV file\r\n#   If no code conversion is necesasry, make it blank, ie \'\' to disable this\r\n#   feature. If garbled, make this disabled and use another tool.\r\n#   Remember to use a code which mb_convert_encoding is covering\r\n#   ex) UTF-8, SJIS, EUC-JP, JIS, ASCII\r\n$save_csv_lang = \'UTF-8\';\r\n\r\n//# For Japanese language only.\r\n//#   Set colums that auto-convert from zenkaku to hankaku neccessary.\r\n//#   Specify name attribute\'s values one by one with commas. no space allowed.\r\n// $zentohan_itemname = \'q_phone,q_code1_1,q_code2_1,q_code3_1,q_code1_2,q_code2_2,q_code3_2,q_code1_3,q_code2_3,q_code3_3\';\r\n\r\n//# For Japanese language only.\r\n//#   Set colums that auto-convert from hankaku to zenkaku neccessary.\r\n//#   Specify name attribute\'s values one by one with commas. no space allowed.\r\n// $kana_hantozen_itemname = \'q_kana_1,q_kana_2\';\r\n\r\n//# For Japanese language only.\r\n//#   Set colums that auto-convert from hiragana to katakana necessary.\r\n//#   Specify name attribute\'s values one by one with commas. no space allowed.\r\n// $kana_hiratokana_itemname = \'q_kana_1,q_kana_2\';\r\n\r\n# ==CAPTCHA==\r\n#   error message if no CAPTHCA is istalled\r\n$msg_spformmail_notinstall_captcha = \'CAPTCHA plugin is not installed\';\r\n#   error message after formmail used with CAPTCHA.\r\n#     *if blaked, error message of CAPTCHA plugin is used\r\n#     *if you speciy message here, it will be used\r\n$msg_spformmail_valid_captcha = \'\';\r\n#\r\n#   *You can make your own CAPTCHA template\r\n#   if public_html/layout/<themename>/sp_formmail/captcha.thmtl found, this will be adopted\r\n#   private/plugins/captcha/templates/captcha_others.thtml is used by default\r\n#\r\n\r\n# item names at screen transition\r\n$seni_items = array(\'input\' => \'Input\', \'confirm\' => \'Confirm\', \'finish\' => \'Complete\');\r\n\r\n# string for mondatory item\r\n$required_string = \'<span class=\"spf_required\">*</span>\';\r\n\r\n# ==About date and time==\r\n#   The date on the following JavaScript calendar.\r\n#     php date format. ref: http://www.php.net/manual/en/function.date.php\r\n#     \"d, D, j, l, N, w, S, F, m, M, n, Y, y\" can be assigned.\r\n$date_js_cal = \'d/m/Y\';\r\n#   The receipt date and time indicated in an email.\r\n#     Any php date format can be used here. (ref: http://www.php.net/manual/en/function.date.php)\r\n$date_mail = \'M j Y H:i\';\r\n#   When the csv is outputted, the date and time are written to the first row of the csv.\r\n#     Any php date format can be used here. (ref: http://www.php.net/manual/en/function.date.php)\r\n$date_csv = \'M j Y H:i\';\r\n\r\n# use JavaScript library for calendar\r\n$use_jslib = TRUE;\r\n\r\n# declaration of JavaScript library etc\r\n#   JavaScript+CSS for calendar\r\n#     Calendar RC4, (c) 2007 Aeron Glemann <http://electricprism.com/aeron>, MIT Style License\r\n#     (http://www.electricprism.com/aeron/calendar/)\r\n$def_jslib = <<<JSLIB\r\n\r\n<script type=\"text/javascript\" src=\"{$_CONF[\'site_url\']}/javascript/calendar/mootools.js\"></script>\r\n<script type=\"text/javascript\" src=\"{$_CONF[\'site_url\']}/javascript/calendar/calendar.js\"></script>\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"{$_CONF[\'site_url\']}/javascript/calendar/calendar.css\" media=\"screen\"{XHTML}>\r\n<script type=\"text/javascript\">\r\n window.addEvent(\'domready\', function() { myCal = new Calendar({ q_date1: \'$date_js_cal\' }, { days: [\'SUN\',\'MON\',\'TUE\',\'WED\',\'THU\',\'FRI\',\'SAT\'], months: [\'JAN\',\'FEB\',\'MAR\',\'APR\',\'MAY\',\'JUN\',\'JUL\',\'AUG\',\'SEP\',\'OCT\',\'NOV\',\'DEC\'] }); });\r\n</script>\r\nJSLIB;\r\n\r\n#####\r\n# display message\r\n#####\r\n$lang = array(\r\n// { complete & email message\r\n  \'receipt_admin\' =>\'Dear admins,\'.LB.LB.$_CONF[\'site_name\'].\' site received a inquiry.\'.LB.LB.\'========== Inquiry ==========\'.LB.\'receipt at:\'.date($date_mail),\r\n  \'receipt_user\' =>\'*This email is sent from \'.$_CONF[\'site_name\'].\' site automatically.\'.LB.\'This email address is used for transmission only and not repliable.\'.LB.\'=============================\'.LB.\'Thank you very much for your inquiry.\'.LB.LB.\'========== Inquiry ==========\'.LB.\'Receipt at:\'.date($date_mail),\r\n  \'subject_admin\'=> \'[\'.$_CONF[\'site_name\'].\']Inquiry\',\r\n  \'subject_user\'=> \'[\'.$_CONF[\'site_name\'].\']Thanks for your inquiry\',\r\n  \'sign_admin\'    => \'-----------------------------------------\'.LB.$_CONF[\'site_name\'].LB.$_CONF[\'site_url\'].LB.\'-----------------------------------------\',\r\n  \'sign_user\'    => \'-----------------------------------------\'.LB.$_CONF[\'site_name\'].LB.\'URL:\' . $_CONF[\'site_url\'].LB.\'-----------------------------------------\',\r\n// } complete & email message\r\n// { system error message\r\n  \'ownertransmiterror\'=>\'An error has occurred at several email addresses during processing owner email, but process continued and completed.\',\r\n  \'transmiterror\'=>\'An error has occurred during processing.\',\r\n// } system error message\r\n);\r\n\r\n\r\n\r\n#####\r\n# table\'s item names\r\n#####\r\n$form_items = array(\r\n  // < table\r\n  array(\'title\' => \'개인 정보\', \'table\' => array(\r\n    // < table 1 row\r\n    array(\'header\' => \'Name\', \'valid_notkanahan\' => \'q_name\', \'data\' =>\r\n        array(\r\n            array(\'type\' => \'text\',\r\n                  \'name\' => \'q_name\',\r\n                  \'size\' => \'40\',\r\n                  \'maxlength\' => \'60\',\r\n            ),\r\n            array(\'input\' => \'<br\'.XHTML.\'>\'),\r\n        ),\r\n    ),\r\n    // > table 1 row\r\n    // < table 1 row\r\n    array(\'header\' => \'Email\',\r\n          \'valid_require\' => $required_string, \'error_require\' => \'Please type your email address.\',\r\n          \'valid_equal\' => $essential_email, \'error_equal\' => \'Email address not match.\',\r\n          \'valid_email\' => $propriety_email, \'error_email\' => \'Please type out proper email address.\',\r\n          \'data\' =>\r\n        array(\r\n            array(\'type\' => \'text\',\r\n                  \'name\' => \'q_mail\',\r\n                  \'size\' => \'40\',\r\n                  \'maxlength\' => \'240\',\r\n                  \'class\' => \'bginput\',\r\n                  \'value\' => $user_email\r\n            ),\r\n            array(\'input\' => \'<br\'.XHTML.\'>\'),\r\n            array(\'type\' => \'text\',\r\n                  \'name\' => \'q_mail_re\',\r\n                  \'size\' => \'40\',\r\n                  \'maxlength\' => \'240\',\r\n                  \'class\' => \'bginput\',\r\n                  \'not_confirm\' => \'true\',\r\n                  \'not_csv\' => \'true\',\r\n                  \'value\' => $user_email\r\n            ),\r\n            array(\'string\' => \'<br\'.XHTML.\'>\'),\r\n            array(\'input\' => \'Please enter your e-mail address again to confirm.\'),\r\n        ),\r\n    ),\r\n    // > table 1 row\r\n   ),\r\n  ),\r\n  // > table\r\n  // < table\r\n  array(\'title\' => \'환경 설정\', \'table\' => array(\r\n    // < rable 1 row\r\n    array(\'header\' => \'Comments\', \'valid_maxlen\' => \'q_other=200\', \'error_maxlen\' => \'Please complete within 200 characters.\', \'data\' =>\r\n        array(\r\n            array(\'type\' => \'textarea\',\r\n                  \'name\' => \'q_other\',\r\n                  \'class\' => \'bginput\',\r\n                  \'style\' => \'width: 95%; height: 100px;\',\r\n                  \'onKeyup\' => \"var n=200-this.value.length;var s=document.getElementById(\'tasp1\');s.innerHTML=\'(\'+n+\')\';\"\r\n            ),\r\n            array(\'input\' => \'<br\'.XHTML.\">*Please enter your comments up to 200 characters. <strong><span id=\'tasp1\'></span><strong><br\".XHTML.\'>\'),\r\n        ),\r\n    ),\r\n    // > table 1 row\r\n   ),\r\n  ),\r\n  // > table\r\n  // < submit button - input\r\n  array(\'action\' => \'input\', \'data\' =>\r\n      array(\r\n          array(\'string\' => \'    <div style=\"text-align: center;\" class=\"text_center mt20 mb20\">\'),\r\n          array(\'type\' => \'submit\',\r\n                \'name\' => \'submit\',\r\n                \'class\' => \'button_form_next\',\r\n                \'value\' => \'Confirm\'\r\n          ),\r\n          array(\'string\' => \'</div>\'),\r\n      ),\r\n  ),\r\n  // > submit button - input\r\n  // < submit button - confirm\r\n  array(\'action\' => \'confirm\', \'data\' =>\r\n      array(array(\'string\' => \'    <div style=\"text-align: center;\" class=\"text_center mt20 mb20\">\'),\r\n          array(\'type\' => \'submit\',\r\n                \'name\' => \'goback\',\r\n                \'class\' => \'button_form_prev\',\r\n                \'value\' => \'Return to the previous page.\'\r\n          ),\r\n          array(\'string\' => \'&nbsp;\'),\r\n          array(\'type\' => \'submit\',\r\n                \'name\' => \'submit\',\r\n                \'class\' => \'button_form_next\',\r\n                \'value\' => \'Submit\'\r\n          ),\r\n          array(\'string\' => \'</div>\'),\r\n      ),\r\n  ),\r\n  // > submit button - confirm\r\n);\r\n\r\n\r\n\r\n// +---------------------------------------------------------------------------+\r\n// | initial process                                                           |\r\n// +---------------------------------------------------------------------------+\r\n//# For Japanese language only.\r\n//# Direct convert of POST data, ie. from em-size to normal-width and from \r\n//# the katakana normal-width to the katakana. This is for Japanese user only.\r\n//# This program was originally made for Japanese users. Several parts are \r\n//# therefore for Japanese users only. We commented those parts \r\n//# out for this English version. \r\n//# For the convenience of authors of future upgrade for both of Japanese \r\n//# & English versions, those parts for Japanese users are remained in php \r\n//# files. Wish English users understand this and ignore those parts when \r\n//# you use this php.\r\n\r\n//if (!empty($zentohan_itemname)) { foreach (explode(\',\',$zentohan_itemname) as $k) { if (!empty($_POST[$k])) $_POST[$k] = mb_convert_kana($_POST[$k], \'askh\'); } }\r\n//if (!empty($kana_hantozen_itemname)) { foreach (explode(\',\',$kana_hantozen_itemname) as $k) { if (!empty($_POST[$k])) $_POST[$k] = mb_convert_kana($_POST[$k], \'K\'); } }\r\n//if (!empty($kana_hiratokana_itemname)) { foreach (explode(\',\',$kana_hiratokana_itemname) as $k) { if (!empty($_POST[$k])) $_POST[$k] = mb_convert_kana($_POST[$k], \'C\'); } }\r\n# process data for saving\r\nforeach ($_POST as $k => $v) {\r\n    $fld_list[$k] = preg_replace(\'/,/\', \'，\', $_POST[$k]);\r\n    $fld_list[$k] = preg_replace(\'/\"/\', \'”\', $fld_list[$k]);\r\n    $fld_list[$k] = preg_replace(\"/\'/\", \"’\", $fld_list[$k]);\r\n    $fld_list[$k] = preg_replace(\'/`/\', \'‘\', $fld_list[$k]);\r\n    $fld_list[$k] = preg_replace(\'/;/\', \'；\', $fld_list[$k]);\r\n    $fld_list[$k] = preg_replace(preg_quote(\'#\'.chr(92).\'#\'), \'￥\', $fld_list[$k]);\r\n    $fld_list[$k] = COM_applyFilter($fld_list[$k]);\r\n}\r\n# full path of CSV file\r\n$save_csv_file = $save_csv_path . $save_csv_name;\r\n# create pageurl from pageid\r\nif (!empty($pageid)) { $pageurl = COM_buildUrl($_CONF[\'site_url\'].\'/staticpages/index.php?page=\'.$pageid); }\r\n\r\n// +---------------------------------------------------------------------------+\r\n// | functions:                                                                |\r\n// +---------------------------------------------------------------------------+\r\nif(!function_exists(\'getAction\')){\r\nfunction getAction ($err) {\r\n    $buf = \'\';\r\n    $action = COM_applyFilter($_POST[\'action\']);\r\n    if (!empty($action) && empty($err) && $action == \'input\') { $buf = \'confirm\'; }\r\n    elseif (!empty($action) && empty($err) && $action == \'confirm\') { $buf = empty($_POST[\'goback\']) ? \'finish\' : \'input\'; }\r\n    else { $buf = \'input\'; }\r\n    return $buf;\r\n}\r\n\r\nfunction mkJS4MG ($lib) {\r\n    $buf = preg_replace(\"@<script[^>]+mootools.js[^>]+>[^<]*</script>@\", \"\", $lib);\r\n    return str_replace(\'calendar.js\', \'calendar_mg.js\', $buf);\r\n}\r\n\r\nfunction mkJS ($use,$lib,$action,$plg) {\r\n    $buf=\'\';\r\n    if (!empty($action) && $action == \'input\' && isset($use) && $use == TRUE) {\r\n        if (in_array(\'mediagallery\', $plg)) {\r\n            global $_MG_CONF;\r\n            $mgv = $_MG_CONF[\'pi_version\'];\r\n            $mglib = $_MG_CONF[\'js_lib\'];\r\n            if (!empty($mgv) && !empty($mglib) && (version_compare($mgv, \'1.6.10\', \'<\') || strtolower($mglib) == \'mootools\')) {\r\n                $buf = mkJS4MG($lib);\r\n            } elseif(!empty($mglib) && strtolower($mglib) == \'jquery\') {\r\n                $buf = <<<JQNC\r\n<script>\r\n<!--\r\njQuery.noConflict();\r\n-->\r\n</script>{$lib}\r\nJQNC;\r\n            } else {\r\n                $buf = $lib;\r\n            }\r\n        } else {\r\n            $buf = $lib;\r\n        }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkSeni ($items, $action) {\r\n    $buf = \'<ul>\'.LB;\r\n    foreach ($items as $key => $value) {\r\n        if ($action == $key) {\r\n            $buf .= \'    <li class=\"on\">\'.$value.\'</li>\'.LB;\r\n        } else {\r\n            $buf .= \'    <li>\'.$value.\'</li>\'.LB;\r\n        }\r\n    }\r\n    $buf .= \'</ul>\'.LB;\r\n    return $buf;\r\n}\r\n\r\nfunction putiFilter($s) {\r\n    $se = array(\'%\',\'(\',\')\',chr(92),chr(13).chr(10),chr(13),chr(10));\r\n    $re = array(\'&#37;\',\'&#40;\',\'&#41;\',\'&#92;\',\'\',\'\',\'\');\r\n    return str_replace($se, $re, htmlspecialchars($s,ENT_QUOTES));\r\n}\r\n\r\nfunction vldCAPTCHA ($type, $errmsg) {\r\n    global $_CP_CONF, $_USER;\r\n    $msg = \'\';\r\n    if (!function_exists(\'CAPTCHA_sid\')) { return $msg; }\r\n    if ( ($_CP_CONF[\'anonymous_only\'] && $_USER[\'uid\'] < 2) || $_CP_CONF[\'anonymous_only\'] == 0 || ($_CP_CONF[\'remoteusers\'] == 1 && SEC_inGroup(\"Remote Users\") ) ) {\r\n        $str = COM_applyFilter($_POST[\'captcha\']);\r\n        list( $rc, $msg )  = CAPTCHA_checkInput( $type, $str );\r\n    }\r\n    if ( !empty($msg) && !empty($errmsg) ) { $msg = $errmsg; }\r\n    return $msg;\r\n\r\n}\r\n\r\nfunction vld_isPhone($s) { return (preg_match(\'/^(?:[0-9\'.chr(92).\'+\'.chr(92).\'-\'.chr(92).\'s])+$/D\',$s)) ? TRUE : FALSE; }\r\nfunction vld_isHankaku($s) { return (preg_match(\'/^(?:\'.chr(92).\'xEF\'.chr(92).\'xBD[\'.chr(92).\'xA1-\'.chr(92).\'xBF]|\'.chr(92).\'xEF\'.chr(92).\'xBE[\'.chr(92).\'x80-\'.chr(92).\'x9F]|[\'.chr(92).\'x20-\'.chr(92).\'x7E])+$/D\',$s)) ? TRUE : FALSE; }\r\nfunction vld_isZenkaku($s) { return (preg_match(\'/(?:\'.chr(92).\'xEF\'.chr(92).\'xBD[\'.chr(92).\'xA1-\'.chr(92).\'xBF]|\'.chr(92).\'xEF\'.chr(92).\'xBE[\'.chr(92).\'x80-\'.chr(92).\'x9F]|[\'.chr(92).\'x20-\'.chr(92).\'x7E])+/D\',$s)) ? FALSE : TRUE; }\r\nfunction vld_isEisuHan($s) { return (preg_match(\'/^(?:[0-9A-Za-z])+$/D\',$s)) ? TRUE : FALSE; }\r\nfunction vld_isKanaZen($s) { return (preg_match(\'/^(?:\'.chr(92).\'xE3\'.chr(92).\'x82[\'.chr(92).\'xA1-\'.chr(92).\'xBF]|\'.chr(92).\'xE3\'.chr(92).\'x83[\'.chr(92).\'x80-\'.chr(92).\'xB6])+$/D\',$s)) ? TRUE : FALSE; }\r\nfunction vld_isHiraZen($s) { return (preg_match(\'/^(?:\'.chr(92).\'xE3\'.chr(92).\'x81[\'.chr(92).\'x81-\'.chr(92).\'xBF]|\'.chr(92).\'xE3\'.chr(92).\'x82[\'.chr(92).\'x80-\'.chr(92).\'x93])+$/D\',$s)) ? TRUE : FALSE; }\r\nfunction vld_isNotKanaHan($s) { return (preg_match(\'/(?:\'.chr(92).\'xEF\'.chr(92).\'xBD[\'.chr(92).\'xA1-\'.chr(92).\'xBF]|\'.chr(92).\'xEF\'.chr(92).\'xBE[\'.chr(92).\'x80-\'.chr(92).\'x9F])+/D\',$s)) ? TRUE : FALSE; }\r\n\r\nfunction ChkValidate ($mode, $datas, $errmsg, $attributes = \'\') {\r\n    $msg = \'\';\r\n    foreach ($datas as $data) {\r\n        if (isset($data[\'type\'])) {\r\n            $name = $data[\'name\'];\r\n            switch ($mode) {\r\n                // check required item\r\n                case \'require\':\r\n                    if (empty($data[\'notrequire\']) && empty($_POST[$name]) && $_POST[$name] != \"0\") { $msg = $errmsg; }\r\n                    break;\r\n                // check matching\r\n                case \'equal\':\r\n                    if (!empty($attributes)) {\r\n                        $es_emails = explode(\',\', $attributes);\r\n                        foreach ($es_emails as $es_email) {\r\n                            list($eq1,$eq2) = explode(\'=\', $es_email);\r\n                            // initial key ANT it exist\r\n                            if ($name == $eq1 && !empty($_POST[$eq2])) {\r\n                                if ($_POST[$eq1] != $_POST[$eq2]) {\r\n                                    $msg = $errmsg;\r\n                                }\r\n                            }\r\n                        }\r\n                    }\r\n                    break;\r\n                // email check\r\n                case \'email\':\r\n                    if (!empty($attributes)) {\r\n                        $pr_emails = explode(\',\', $attributes);\r\n                        foreach ($pr_emails as $pr_email) {\r\n                            if ($name == $pr_email) {\r\n                                if (!COM_isemail($_POST[$name])) {\r\n                                    $msg = $errmsg;\r\n                                }\r\n                            }\r\n                        }\r\n                    }\r\n                    break;\r\n                // num check - sum is more than 0\r\n                case \'notzero\':\r\n                    if (!empty($attributes)) {\r\n                        $values_key = explode(\',\', $attributes);\r\n                        foreach ($values_key as $val_key) {\r\n                            // check at initial key\r\n                            if ($name == $val_key) {\r\n                                $sum_val = 0;\r\n                                foreach ($values_key as $chk_key) {\r\n                                    if (!empty($_POST[$chk_key])) {\r\n                                        $sum_val += $_POST[$chk_key];\r\n                                    }\r\n                                }\r\n                                if ($sum_val <= 0) {\r\n                                    $msg = $errmsg;\r\n                                    break;\r\n                                }\r\n                            }\r\n                        }\r\n                    }\r\n                    break;\r\n                // check if numeric\r\n                case \'numeric\':\r\n                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\") && in_array($name,explode(\',\',$attributes)) && !ctype_digit($_POST[$name])) { $msg = $errmsg; }\r\n                    break;\r\n                // check if phone\r\n                case \'phone\':\r\n                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\") && in_array($name,explode(\',\',$attributes)) && !vld_isPhone($_POST[$name])) { $msg = $errmsg; }\r\n                    break;\r\n                // (For Japanese language only) Check byte\r\n//                case \'hankaku\':\r\n//                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\") && in_array($name,explode(\',\',$attributes)) && !vld_isHankaku($_POST[$name])) { $msg = $errmsg; }\r\n//                    break;\r\n                // (For Japanese language only) Check em\r\n//                case \'zenkaku\':\r\n//                    if (!empty($_POST[$name]) && in_array($name,explode(\',\',$attributes)) && !vld_isZenkaku($_POST[$name])) { $msg = $errmsg; }\r\n//                    break;\r\n                // (For Japanese language only) Alphanumeric check\r\n//                case \'eisuhan\':\r\n//                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\") && in_array($name,explode(\',\',$attributes)) && !vld_isEisuHan($_POST[$name])) { $msg = $errmsg; }\r\n//                    break;\r\n                // (For Japanese language only) Check em katakana\r\n//                case \'kanazen\':\r\n//                    if (!empty($_POST[$name]) && in_array($name,explode(\',\',$attributes)) && !vld_isKanaZen($_POST[$name])) { $msg = $errmsg; }\r\n//                    break;\r\n                // (For Japanese language only) Check em hiragana\r\n//                case \'kanazen\':\r\n//                    if (!empty($_POST[$name]) && in_array($name,explode(\',\',$attributes)) && !vld_isHiraZen($_POST[$name])) { $msg = $errmsg; }\r\n//                    break;\r\n                // (For Japanese language only) Check for non-katakana\r\n//                case \'notkanahan\':\r\n//                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\") && in_array($name,explode(\',\',$attributes)) && vld_isNotKanaHan($_POST[$name])) { $msg = $errmsg; }\r\n//                    break;\r\n                // check max length\r\n                case \'maxlen\':\r\n                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\")) {\r\n                        foreach (explode(\',\', $attributes) as $attr1) {\r\n                            list($name2,$max2) = explode(\'=\',$attr1);\r\n                            if ($name === $name2) {\r\n                                if ($max2 < mb_strlen($_POST[$name], \'UTF-8\')) { $msg = $errmsg; }\r\n                            }\r\n                        }\r\n                    }\r\n                    break;\r\n                // check min length\r\n                case \'minlen\':\r\n                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\")) {\r\n                        foreach (explode(\',\', $attributes) as $attr1) {\r\n                            list($name2,$min2) = explode(\'=\',$attr1);\r\n                            if ($name === $name2) {\r\n                                if ($min2 > mb_strlen($_POST[$name], \'UTF-8\')) { $msg = $errmsg; }\r\n                            }\r\n                        }\r\n                    }\r\n                    break;\r\n            }\r\n        }\r\n    }\r\n    // check CAPTCHA\r\n    if ( $mode == \'captcha\' ) { $msg = vldCAPTCHA(\'sp_formmail\', $errmsg); }\r\n    return $msg;\r\n}\r\n\r\nfunction ChkFormValidateLines ($lines) {\r\n    $errmsg;\r\n    foreach (array(\'require\',\'equal\',\'email\',\'notzero\',\'numeric\',\'phone\',\'hankaku\',\'zenkaku\',\'eisuhan\',\'kanazen\',\'hirazen\',\'notkanahan\',\'captcha\',\'maxlen\',\'minlen\') as $chk) {\r\n        // check require,match,email,CAPTCH,error\r\n        if (isset($lines[\'valid_\'.$chk])) {\r\n            $errmsg = ChkValidate($chk, $lines[\'data\'], $lines[\'error_\'.$chk], $lines[\'valid_\'.$chk]);\r\n            // arrays if error found\r\n            if ($errmsg) {\r\n                break;\r\n            }\r\n        }\r\n    }\r\n    return $errmsg;\r\n}\r\n\r\nfunction ChkFormValidate ($items) {\r\n    $errs;\r\n    foreach ($items as $item) {\r\n        // eah table\r\n        foreach ($item as $key => $value) {\r\n            // 1 table\r\n            if ($key == \'table\' || $key == \'table_captcha\') {\r\n                $action = getAction(\'\');\r\n                if ($key == \'table_captcha\' && $action == \'finish\') { continue; }\r\n                foreach ($value as $key2 => $value2) {\r\n                    // table 1 row\r\n                    $errmsg = ChkFormValidateLines($value2);\r\n                    if ($errmsg) { $errs[] = $errmsg; }\r\n                }\r\n            }\r\n        }\r\n    }\r\n    return $errs;\r\n}\r\n\r\nfunction FormValidate ($items) {\r\n    $buf = \'\';\r\n    $errs = ChkFormValidate($items);\r\n    if (!empty($errs)) {\r\n        $errmsg = \'\';\r\n        foreach ($errs as $err) {\r\n            $errmsg .= \'    <li>\'.$err.\'</li>\'.LB;\r\n        }\r\n        $buf = <<<END\r\n\r\n<p class=\"error\">Some error found. Please check below and correct your input.</p>\r\n<ol class=\"errorList\">\r\n$errmsg\r\n</ol>\r\nEND;\r\n    }\r\n    return $buf;\r\n}\r\n\r\n\r\nfunction mkTitle ($title) {\r\n    return <<<END\r\n\r\n    <h4>$title</h4>\r\n    <table class=\"formmail\" cellspacing=\"0\">\r\n        <colgroup><col width=\"130\" /></colgroup>\r\n        <tbody>\r\nEND;\r\n}\r\n\r\nfunction mkForm_Value ($name, $value) {\r\n    return (empty($_POST[$name]) && $_POST[$name] != \"0\") ? $value : putiFilter($_POST[$name]);\r\n}\r\n\r\nfunction mkForm_Radio_Checked (&$attributes) {\r\n    $name = $attributes[\'name\'];\r\n    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\")) {\r\n        if (isset($attributes[\'checked\'])) unset($attributes[\'checked\']);\r\n        if ($_POST[$name] == $attributes[\'value\']) {\r\n            $attributes[\'checked\'] = \'checked\';\r\n        }\r\n    }\r\n}\r\n\r\nfunction mkForm_Input ($attributes, $hidden = false) {\r\n    if ($hidden) {\r\n        if ($attributes[\'type\'] == \'radio\' || $attributes[\'type\'] == \'checkbox\') {\r\n            if ($attributes[\'value\'] != $_POST[$attributes[\'name\']]) return \'\';\r\n        }\r\n        $attributes[\'type\'] = \'hidden\';\r\n    }\r\n    if ($attributes[\'type\'] == \'radio\' || $attributes[\'type\'] == \'checkbox\') {\r\n        mkForm_Radio_Checked($attributes);\r\n    } else {\r\n        if ($attributes[\'type\'] != \'submit\') $attributes[\'value\'] = mkForm_Value($attributes[\'name\'], $attributes[\'value\']);\r\n    }\r\n    $buf = \'<input\';\r\n    foreach ($attributes as $key => $value) {\r\n        if ($key != \'not_confirm\') { $buf .= \' \'.$key.\'=\"\'.$value.\'\"\'; }\r\n    }\r\n    $buf .= XHTML.\'>\';\r\n    if ($hidden || $attributes[\'type\'] == \'checkbox\') {\r\n        if ( !isset($attributes[\'not_confirm\']) || ! $attributes[\'not_confirm\'] ) { $buf .= \' \' . $attributes[\'value\']; }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkForm_Select_Options ($name, $attributes) {\r\n    $buf = \'\';\r\n    $selected = mkForm_Value($name, $attributes[\'selected\']);\r\n    $values = explode(\',\', $attributes[\'values\']);\r\n    foreach ($values as $value) {\r\n        list($k,$v) = explode(\'=\',$value);\r\n        if (empty($v)) $v = $k;\r\n        if ($selected == $k) {\r\n            $buf .= \'<option selected=\"selected\" value=\"\'.$v.\'\">\'.$k.\'</option>\';\r\n        } else {\r\n            $buf .= \'<option value=\"\'.$v.\'\">\'.$k.\'</option>\';\r\n        }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkForm_Select ($attributes) {\r\n    $buf = \'<select\';\r\n    foreach ($attributes as $key => $value) {\r\n        if ($key != \'options\') {\r\n            $buf .= \' \'.$key.\'=\"\'.$value.\'\"\';\r\n        }\r\n    }\r\n    $buf .= \'>\';\r\n    $buf .= mkForm_Select_Options($attributes[\'name\'], $attributes[\'options\']);\r\n    $buf .= \'</select>\';\r\n    return $buf;\r\n}\r\n\r\nfunction mkForm_Textarea ($attributes) {\r\n    $attributes[\'value\'] = mkForm_Value($attributes[\'name\'], $attributes[\'value\']);\r\n    $buf = \'<textarea\';\r\n    foreach ($attributes as $key => $value) {\r\n        if ($key != \'value\') $buf .= \' \'.$key.\'=\"\'.$value.\'\"\';\r\n    }\r\n    $buf .= \'>\'.$attributes[\'value\'].\'</textarea>\';\r\n    return $buf;\r\n}\r\n\r\nfunction mkForm_Item ($items, $action) {\r\n    $buf = \'\';\r\n    if ($action != \'input\' && $items[\'type\'] != \'submit\' && $items[\'type\'] != \'hidden\') {\r\n        $buf .= mkForm_Input($items, true);\r\n    } else {\r\n        switch ($items[\'type\']) {\r\n            case \'text\': $buf .= mkForm_Input($items); break;\r\n            case \'password\': $buf .= mkForm_Input($items); break;\r\n            case \'hidden\': $buf .= mkForm_Input($items); break;\r\n            case \'radio\': $buf .= mkForm_Input($items); break;\r\n            case \'checkbox\': $buf .= mkForm_Input($items); break;\r\n            case \'select\': $buf .= mkForm_Select($items); break;\r\n            case \'textarea\': $buf .= mkForm_Textarea($items); break;\r\n            case \'submit\': $buf .= mkForm_Input($items); break;\r\n            case \'reset\': $buf .= mkForm_Input($items); break;\r\n            case \'button\': $buf .= mkForm_Input($items); break;\r\n        }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkTable_Data ($datas, $action) {\r\n    $buf = \'\';\r\n    foreach ($datas as $data) {\r\n        // 1data\r\n        if (!empty($data[\'type\'])) {\r\n            // form\r\n            $buf .= mkForm_Item($data, $action);\r\n        }\r\n        else {\r\n            // strings\r\n            foreach ($data as $key => $value) {\r\n                if ($key == \'string\') {\r\n                    $buf .= $value;\r\n                } elseif ($key == $action) {\r\n                    $buf .= $value;\r\n                }\r\n            }\r\n        }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction plugin_templatePath_sp_formmail () {\r\n    global $_CONF;\r\n    $pi_name = \'sp_formmail\';\r\n    $layout_path = $_CONF[\'path_layout\'] . $pi_name;\r\n    return $layout_path;\r\n}\r\n\r\nfunction chk_Use_CAPTCHA_HTML () {\r\n    global $_CP_CONF, $_USER;\r\n    if ( ($_CP_CONF[\'anonymous_only\'] && $_USER[\'uid\'] < 2) || $_CP_CONF[\'anonymous_only\'] == 0 || ($_CP_CONF[\'remoteusers\'] == 1 && SEC_inGroup(\"Remote Users\") ) ) {\r\n        return true;\r\n    }\r\n    return false;\r\n}\r\nfunction mkCAPTCHA_HTML ($name, $msg_notcaptcha) {\r\n    global $_CP_CONF, $_USER, $_TABLES;\r\n    $captcha = \'\';\r\n    if (!function_exists(\'CAPTCHA_sid\')) { return $msg_notcaptcha; }\r\n    if ( chk_Use_CAPTCHA_HTML() ) {\r\n\r\n        $csid = 0;\r\n        if ($_CP_CONF[\'gfxDriver\'] != 1) {\r\n\r\n            // housekeeping, delete old captcha sessions\r\n            $oldSessions = time() - ($_CP_CONF[\'expire\']+900);\r\n            DB_query(\"DELETE FROM {$_TABLES[\'cp_sessions\']} WHERE cptime < \" . $oldSessions,1);\r\n\r\n            // OK, we need to insert the CAPTCHA, so now we need to setup the session_id:\r\n\r\n            // check to see if a failed entry happened...\r\n            if ( isset($_POST[\'csid\']) ) {\r\n                $csid = COM_applyFilter($_POST[\'csid\']);\r\n            } else {\r\n                $csid = CAPTCHA_sid();\r\n            }\r\n            $time    = time();\r\n            $counter = 0;\r\n            $validation = \'\';  // this will be filled in by the CAPTCHA\r\n\r\n                \"  `session_id` varchar(40) NOT NULL default \'\', \" .\r\n                \"  `cptime`  INT(11) NOT NULL default 0, \" .\r\n                \"  `validation` varchar(40) NOT NULL default \'\', \" .\r\n                \"  `counter`    TINYINT(4) NOT NULL default 0, \" .\r\n\r\n            DB_save($_TABLES[\'cp_sessions\'],\"session_id,cptime,validation,counter\",\"\'$csid\',\'$time\',\'\',\'0\'\");\r\n        }\r\n\r\n        $captcha = CAPTCHA_getHTML($csid,$name);\r\n    }\r\n    return $captcha;\r\n}\r\n\r\nfunction mkTable ($tables, $action) {\r\n    $buf = \'\';\r\n    foreach ($tables as $lines) {\r\n        $flg_valid_captcha = false;\r\n        $errflg = \'\';\r\n        $tdclass=\'\';\r\n        $buf .= LB .\'            <tr>\' . LB;\r\n        $buf .= \'                <th>\';\r\n        if (isset($lines[\'header\'])) { $buf .= $lines[\'header\']; }\r\n        if (isset($lines[\'header_captcha\'])) { $buf .= $lines[\'header_captcha\']; }\r\n        if (isset($lines[\'valid_require\'])) { $buf .= $lines[\'valid_require\']; }\r\n        if (isset($lines[\'valid_captcha\'])) { $buf .= $lines[\'valid_captcha\']; $flg_valid_captcha = true; }\r\n        // error check\r\n        if (!empty($_POST)) { $errflg = ChkFormValidateLines($lines); }\r\n        if ($errflg) { $tdclass=\' class=\"warning_bgc\"\'; }\r\n        $buf .= \'</th>\'.LB;\r\n        $buf .= \'                <td\'.$tdclass.\'>\';\r\n        if (isset($lines[\'data\'])) {\r\n            if ($flg_valid_captcha) {\r\n                $buf .= mkCAPTCHA_HTML(\'sp_formmail\',$lines[\'error_notcaptcha\']);\r\n            } else {\r\n                $buf .= mkTable_Data($lines[\'data\'], $action);\r\n            }\r\n        }\r\n        $buf .= \'</td>\'.LB;\r\n        $buf .= \'            </tr>\'.LB;\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkForm ($items, $action) {\r\n    $buf = \'\';\r\n    foreach ($items as $item) {\r\n        // each table\r\n        if (!empty($item[\'table\'])) {\r\n            foreach ($item as $key => $value) {\r\n                // 1 table\r\n                switch ($key) {\r\n                    case \'title\': $buf .= mkTitle($value); break;\r\n                    case \'table\': $buf .= mkTable($value, $action); break;\r\n                }\r\n            }\r\n            $buf .= <<<END\r\n\r\n        </tbody>\r\n    </table>\r\nEND;\r\n        } elseif (!empty($item[\'table_captcha\'])) {  // CAPTCHA table\r\n            if ((!empty($action) && $action == \'input\') && chk_Use_CAPTCHA_HTML()) {\r\n                foreach ($item as $key => $value) {\r\n                    // 1 table\r\n                    switch ($key) {\r\n                        case \'title_captcha\': $buf .= mkTitle($value); break;\r\n                        case \'table_captcha\': $buf .= mkTable($value, $action); break;\r\n                    }\r\n                }\r\n                $buf .= <<<END\r\n\r\n            </tbody>\r\n        </table>\r\nEND;\r\n            } elseif (!empty($action)) {\r\n                $buf .= LB . \'    <input type=\"hidden\">\';\r\n            }\r\n        } elseif (!empty($item[\'action\'])) {         // subimit button\r\n            if ($item[\'action\'] == $action) {\r\n                $buf .= LB . \'    <input type=\"hidden\" name=\"action\" value=\"\' . $action . \'\"\' . XHTML . \'>\';\r\n                $buf .= LB . mkTable_Data($item[\'data\'], $action);\r\n            }\r\n        }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkCsv ($items, $level=0, $dupcheck=array()) {\r\n    global $_CONF;\r\n    $ret = array();\r\n    if ($level > 5) { return; } $level++;\r\n    if (!empty($items[\'type\']) && strtolower($items[\'type\']) != \'submit\' ) {\r\n        if((!empty($items[\'not_csv\']) && $items[\'not_csv\']) || empty($items[\'name\'])) { return; }\r\n        if(strtolower($items[\'type\']) == \'radio\' && in_array($items[\'name\'], $dupcheck)) { return; }\r\n        return $items[\'name\'];\r\n    } else {\r\n        if (!is_array($items)) { return; }\r\n        foreach ($items as $i) {\r\n            $name = mkCsv($i,$level, $ret);\r\n            if (!empty($name)) {\r\n                if(is_array($name)) { $ret = array_merge($ret,$name); } else { $ret[] = $name; }\r\n            }\r\n        }\r\n    }\r\n    return $ret;\r\n}\r\n}\r\n\r\n\r\n// error check\r\nif (!empty($_POST) && !empty($_POST[\'action\'])) {\r\n    $valid = FormValidate($form_items);\r\n}\r\n$action = getAction($valid);\r\n\r\n// +---------------------------------------------------------------------------+\r\n// | first step: display form (type & confirm)                                 |\r\n// +---------------------------------------------------------------------------+\r\nif ($action == \'input\' || $action == \'confirm\') {\r\n\r\n/**\r\n* form HTML { from here\r\n*/\r\n    // JS\r\n    $js = mkJS($use_jslib, $def_jslib, $action, $_PLUGINS);\r\n    // transition\r\n    $seni = mkSeni($seni_items, $action);\r\n    // input form\r\n    $form = mkForm($form_items, $action);\r\n\r\n    $retval = <<<END\r\n\r\n$js\r\n<div id=\"form_step\">\r\n$seni\r\n</div>\r\n<div id=\"FORM\">\r\n$valid\r\n<form name=\"subForm\" method=\"post\" action=\"{$pageurl}\">\r\n$form\r\n</form>\r\n</div>\r\n\r\nEND;\r\n\r\n/**\r\n* } END of form HTML\r\n*/\r\n\r\n\r\n\r\n// +---------------------------------------------------------------------------+\r\n// | SECOND STEP: Notice User Process & email submission                       |\r\n// +---------------------------------------------------------------------------+\r\n} elseif ($action == \'finish\') {\r\n\r\n/**\r\n* COMPLETE MESSAGE HTML  { from HERE\r\n*/\r\n    // transition\r\n    $seni = mkSeni($seni_items, $action);\r\n    \r\n    $out_html = <<<END\r\n\r\n<div id=\"form_step\">\r\n$seni\r\n</div>\r\n<div id=\"contact_thanks\">\r\n<p><strong>We\'ve received your inquiry.</strong></p>\r\n<p>A confirmation e-mail has been sent to you.<br />\r\nIf you do not receive it, please re-submit your inquiry with this form.</p>\r\n</div>\r\n\r\nEND;\r\n/**\r\n* } COMPLETE MESSAGE HTML ends HERE\r\n*/\r\n\r\n\r\n\r\n    # convert <br /> to LB\r\n    foreach ($fld_list as $k => $v) { $fld_list[$k] = ereg_replace(\"<br />\", LB, $fld_list[$k]); }\r\n    $lang[\'sign_admin\'] = ereg_replace(\"<br />\", LB, $lang[\'sign_admin\']);\r\n    $lang[\'sign_user\'] = ereg_replace(\"<br />\", LB, $lang[\'sign_user\']);\r\n    // input content\r\n    $input4mail=<<<END\r\nName: {$fld_list[\'q_name\']}\r\nEmail: {$fld_list[\'q_mail\']}\r\n\r\nComments:\r\n{$fld_list[\'q_other\']}\r\nEND;\r\n\r\n/**\r\n* mail to admin  { from here\r\n*/\r\n    $out_mail_admin = <<<END\r\n\r\n{$lang[\'receipt_admin\']}\r\n\r\n$input4mail\r\n\r\n{$lang[\'sign_admin\']}\r\nEND;\r\n/**\r\n* } end mail to admin\r\n*/\r\n/**\r\n* mail to sender { from here\r\n*/\r\n    $out_mail_user = <<<END\r\n\r\n{$lang[\'receipt_user\']}\r\n\r\n$input4mail\r\n\r\n{$lang[\'sign_user\']}\r\nEND;\r\n/**\r\n* } end mail to sender\r\n*/\r\n\r\n\r\n    # send email\r\n    $ownererr = false;\r\n    $ownersend = false;\r\n    $om_array = explode(\',\', $owner_email);\r\n    $owner_mails = array_unique($om_array);  # delete email double checked\r\n    if (!empty($owner_email_item_name)) {\r\n        $selmail;\r\n        foreach ($owner_mails as $v) {\r\n            list($key, $mail) = explode(\'=\', $v);\r\n            if ($_POST[$owner_email_item_name] == $key) {\r\n                $selmail = explode(\'|\', $mail);\r\n                break;\r\n            }\r\n        }\r\n        $owner_mails = $selmail;\r\n    }\r\n    $owner_subject = $lang[\'subject_admin\'];\r\n    foreach ($owner_mails as $v) {\r\n        $email1 = COM_mail( $v, \"$owner_subject\", $out_mail_admin, $email_from, false); # mail to admin\r\n        if (!$email1) { $ownererr = true; } else { $ownersend = true; }  # set flag of transmit error\r\n    }\r\n    # if error at admin email transmission\r\n    if ($ownererr) {\r\n        # if transmission succed for some of admins\r\n        if ($ownersend) {\r\n            # logs error. no error display for user since some of admin\r\n            # received the email\r\n            COM_errorLog($lang[\'ownertransmiterror\'], 1);\r\n            $email1 = true;\r\n        # if transmission failed to all admins\r\n        } elseif (!$ownersend) {\r\n            # makes it a process error. no email to user.\r\n            $email1 = false;\r\n        }\r\n    }\r\n    if ($email1) {\r\n        $usr_subject = $lang[\'subject_user\'];\r\n        $email2 = COM_mail( $fld_list[$email_input_name], \"$usr_subject\", $out_mail_user, $email_from, false); # email to user\r\n    }\r\n    if ($email1 && $email2) { # if succeed both of admins and user.\r\n        # csv output\r\n        if ($save_csv > 0) {\r\n            $fldnames = mkCsv($form_items);\r\n            $delimiter = \',\';\r\n            if ($save_csv > 1) { $delimiter = chr(9); }\r\n            $enclosure = \'\"\';\r\n            # csv output\r\n            $str = \'\';\r\n            $escape_char = chr(92);\r\n            foreach ($fldnames as $n) {\r\n                $v = empty($fld_list[$n]) ? \'\' : $fld_list[$n] ;\r\n                if (strpos($v, $delimiter) !== false ||\r\n                    strpos($v, $enclosure) !== false ||\r\n                    strpos($v, chr(10)) !== false ||\r\n                    strpos($v, chr(13)) !== false ||\r\n                    strpos($v, chr(9)) !== false ||\r\n                    strpos($v, \' \') !== false) {\r\n                  $str2 = $enclosure;\r\n                  $escaped = 0;\r\n                  $len = strlen($v);\r\n                  for ($i=0;$i<$len;$i++) {\r\n                    if ($v[$i] == $escape_char) {\r\n                      $escaped = 1;\r\n                    } else if (!$escaped && $v[$i] == $enclosure) {\r\n                      $str2 .= $enclosure;\r\n                    } else {\r\n                      $escaped = 0;\r\n                    }\r\n                    $str2 .= $v[$i];\r\n                  }\r\n                  $str2 .= $enclosure;\r\n                  $str .= $str2.$delimiter;\r\n                } else {\r\n                  $str .= $v.$delimiter;\r\n                }\r\n            }\r\n            $str = date($date_csv) . $delimiter . substr($str,0,-1);\r\n            $str .= LB;\r\n            if( !empty( $save_csv_lang ) ) {\r\n                $str = mb_convert_encoding($str, $save_csv_lang);\r\n            }\r\n            $fp = fopen($save_csv_file, \'a\');\r\n            fwrite($fp, $str);  # CSV output\r\n            fclose($fp);\r\n        }\r\n        $retval = $out_html;\r\n    } else {\r\n        $retval = $lang[\'transmiterror\']; # if email failed\r\n    }\r\n}\r\n// execute Geeklog PHP\r\necho $retval;\r\n// if you use \'execute PHP(return)\' with Geeklog 1.6 or later, Please comment (#)the above \'echo\' and uncomment the blow \'return\' to enable.\r\n# return $retval;\r\n',494,'2010-09-02 05:23:24','2010-10-09 11:05:01','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,2,0,1,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('_mt2geeklog','_mt2geeklog','','<!-- } blockheader-left.thtml -->\r\n<form name=\"importform\" enctype=\"multipart/form-data\" action=\"/index.php\" method=\"post\">\r\n  <p><input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"10485760\">インポートするファイル名: <input name=\"importfile\" type=\"file\"></p>	<p>入力エンコーディング：<br>\r\n\r\n	<select name=\"encoding\">\r\n		<option value=\"AUTO\" selected=\"selected\">自動判別</option>\r\n		<option value=\"ASCII\">ASCII</option>\r\n		<option value=\"eucJP-win\">eucJP-win</option>\r\n		<option value=\"EUC-JP\">EUC-JP</option>\r\n		<option value=\"UTF-8\">UTF-8</option>\r\n\r\n		<option value=\"SJIS-win\">SJIS-win</option>\r\n		<option value=\"SJIS\">SJIS</option>\r\n		<option value=\"JIS\">JIS</option>\r\n		<option value=\"ISO-2022-JP\">ISO-2022-JP</option>\r\n		<option value=\"UTF-7\">UTF-7</option>\r\n	</select></p>	<p>記事のオーナー：<br>\r\n\r\n	<select name=\"author\">\r\n		<option value=\"au_astheyare\" selected>すべて元の投稿者</option>\r\n		<option value=\"au_astheyare_possible\">できるだけ元の投稿者</option>\r\n		<option value=\"au_asmyself\">Admin</option>\r\n	</select></p>\r\n	<p>デフォルトの話題：<br>\r\n	<input name=\"default_category\" type=\"text\" title=\"IMPORTED-FROM-MT\" value=\"IMPORTED-FROM-MT\"></p>\r\n\r\n	<p>投稿状態：<br>\r\n	<select name=\"submit_status\">\r\n		<option value=\"ss_astheyare\" selected>元のデータ通り</option>\r\n		<option value=\"ss_force_post\">すべて投稿済みにする</option>\r\n		<option value=\"ss_force_draft\">すべて下書きにする</option>\r\n	</select></p>\r\n	<p>コメント：<br>\r\n\r\n	<select name=\"handle_comment\">\r\n		<option value=\"hc_yes\" selected>インポートする</option>\r\n		<option value=\"hc_no\">インポートしない</option>\r\n	</select></p>\r\n	<p>コメント許可：<br>\r\n	<select name=\"allow_comment\">\r\n		<option value=\"ac_auto\" selected>自動判別</option>\r\n\r\n		<option value=\"ac_astheyare\">元のデータ通り</option>\r\n		<option value=\"ac_force_enabled\">すべて許可する</option>\r\n		<option value=\"ac_force_disabled\">すべて禁止する</option>\r\n	</select><br>\r\n	<p>トラックバック：<br>\r\n	<select name=\"handle_tb\">\r\n		<option value=\"ht_yes\">インポートする</option>\r\n\r\n		<option value=\"ht_no\" selected>インポートしない</option>\r\n	</select><br>\r\n	<p>トラックバック許可：<br>\r\n	<select name=\"allow_tb\">\r\n		<option value=\"at_auto\" selected>自動判別</option>\r\n		<option value=\"at_astheyare\">元のデータ通り</option>\r\n		<option value=\"at_force_enabled\">すべて許可する</option>\r\n\r\n		<option value=\"at_force_disabled\">すべて禁止する</option>\r\n	</select><br>\r\n	<p>Start title HTML:<br>\r\n	<input name=\"start_title_html\" type=\"text\"></p>\r\n	<p>End title HTML:<br>\r\n	<input name=\"end_title_html\" type=\"text\"></p>\r\n	<p>投稿モード：<br>\r\n\r\n	<select name=\"text_type\">\r\n		<option value=\"plaintext\">テキスト</option>\r\n		<option value=\"html\" selected>HTML形式</option>\r\n	</select><br><br>\r\n	<input type=\"hidden\" name=\"cmd\" value=\"import\">\r\n	<input type=\"submit\" name=\"submit\" value=\"インポート\">\r\n</form>\r\n<!-- blockfooter-left.thtml { -->\r\n\r\n',8,'2010-09-02 02:41:14','2010-09-02 02:41:14','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,0,0,0,0,'',1,0,0,1,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('contact_zh','联系我们','','// +---------------------------------------------------------------------------+\r\n// | Geeklog FormMail Static Page                                              |\r\n// +---------------------------------------------------------------------------+\r\n// | Copyright (C) 2008-2010 by the following authors:                         |\r\n// |                                                                           |\r\n// | Authors    : Hiroshi Sakuramoto - hiro AT winkey DOT jp                   |\r\n// | Sponser    : White Bear Family CO., LTD                                   |\r\n// | Coordinate : Adeliae Planning CO., LTD - www.e-adeliae.com                |\r\n// | Coordinate : IVY WE CO., LTD - www.ivywe.co.jp                            |\r\n// | Version: 2.1.3                                                            |\r\n// +---------------------------------------------------------------------------+\r\nglobal $_CONF, $_USER, $_PLUGINS;\r\nif (!defined(\'XHTML\')) define(\'XHTML\', \' /\');\r\n\r\n// +---------------------------------------------------------------------------+\r\n// | 初期設定                                                                  |\r\n// +---------------------------------------------------------------------------+\r\n# 入力フォームのURL\r\n# $pageurl = $_SERVER[\"REQUEST_URI\"];\r\n// $_SERVER[\"REQUEST_URI\"] が使えず正しく動かない場合は以下へ、\r\n//   静的ページPHPを作成する時に入力したIDを入れてください。\r\n//   (wikiドキュメントのサンプル例だと\'formmail\')\r\n//   ※IDを入力したら先頭の#を削除してください。(コメントをはずします)\r\n$pageid = \'contact_zh\';\r\n\r\n# 問合せを管理者へ通知の設定\r\n#    複数のE-mailはカンマ(,)で区切りで指定する(スペース等はあけない)\r\n#      例) \'info@hoge.com,admin@page.com\'\r\n#    特定の入力項目に応じて送り先を変える\r\n#    ※この方法を利用する時は必ず $owner_email_item_name を指定してください。\r\n#      例) \'AAA=info@hoge.com,BBB=admin@page.com\'\r\n\r\n$owner_email=$_CONF[\'site_mail\'];\r\n\r\n\r\n# 管理者Emailを入力項目から選択する項目名\r\n//  ※送り先を変える指定をしたら先頭の#を削除してください。(コメントをはずします)\r\n#$owner_email_item_name = \'q_mail_to\';\r\n\r\n# メール送信者E-mail\r\n$email_from = $_CONF[\'site_mail\'];\r\n#Geeklog1.5から，noreplyを指定できます。\r\n#$email_from = $_CONF[\'noreply_mail\'];\r\n\r\n# 問合せ者のメールアドレスの項目名\r\n$email_input_name = \'q_mail\';\r\n\r\n# メール一致チェック項目指定\r\n#   メール確認でどちらも同じものを入力 というname属性を(=)で区切る(スペース等はあけない)\r\n#     例) \'email=reemail\'\r\n$essential_email = \'q_mail=q_mail_re\';\r\n\r\n\r\n# メールアドレスチェック項目指定\r\n#   入力された値がメールアドレスとして正しいかチェックをする\r\n#   INPUTタグの name属性の値をカンマ(,)区切りで指定する(スペース等はあけない)\r\n#     例) \'email,reemail\'\r\n\r\n$propriety_email = \'q_mail,q_mail_re\';\r\n\r\n# ログイン済みならユーザ情報を利用する指定\r\n#   ログインユーザーの名前やメールアドレスを利用\r\n#\r\n$username = \'\'; $user_email = \'\';\r\nif (isset ($_USER[\'uid\']) && ($_USER[\'uid\'] > 1)) {\r\n    $username = isset($_USER[\'fullname\']) ? $_USER[\'fullname\'] : $_USER[\'username\'];\r\n    $user_email = $_USER[\'email\'];\r\n}\r\n\r\n# CSVファイルに保存\r\n#   指定方法 保存しない: 0 , 保存する(カンマ区切り): 1 , 保存する(タブ区切り): 2\r\n$save_csv = 1;\r\n\r\n# CSVファイル保存場所 (直接入力時は最後にスラッシュ必須)\r\n$save_csv_path = $_CONF[\'path_data\'];\r\n\r\n# CSVファイル名\r\n$save_csv_name = \'formmail.csv\';\r\n\r\n# CSVファイル保存の文字コード\r\n#   文字コード変換をしない場合は \'\' と指定してください。\r\n#   機能がOFFになります。（文字化けするようなら機能を\'\'で\r\n#   OFFにして別途フリーの文字変換ツールなどをご利用ください）\r\n# 注意) mb_convert_encodingで使える文字コードを指定してください\r\n#   例) UTF-8, SJIS, EUC-JP, JIS, ASCII\r\n$save_csv_lang = \'SJIS\';\r\n\r\n# 全角を半角に変換する項目名(英数字、スペース、カタカナ、ひらがな)\r\n#   入力された値を自動で変換する項目を指定\r\n#   INPUTタグの name属性の値をカンマ(,)区切りで指定する(スペース等はあけない)\r\n$zentohan_itemname = \'q_phone,q_code1_1,q_code2_1,q_code3_1,q_code1_2,q_code2_2,q_code3_2,q_code1_3,q_code2_3,q_code3_3\';\r\n\r\n# カタカナの半角をカタカナの全角に変換する項目名\r\n#   入力された値を自動で変換する項目を指定\r\n#   INPUTタグの name属性の値をカンマ(,)区切りで指定する(スペース等はあけない)\r\n$kana_hantozen_itemname = \'q_kana_1,q_kana_2\';\r\n\r\n# ひらがなをカタカナに変換する項目名\r\n#   入力された値を自動で変換する項目を指定\r\n#   INPUTタグの name属性の値をカンマ(,)区切りで指定する(スペース等はあけない)\r\n$kana_hiratokana_itemname = \'q_kana_1,q_kana_2\';\r\n\r\n# ==画像認証関係==\r\n#   画像認証(CAPTCHA)がインストールされていない場合のエラーメッセージ\r\n$msg_spformmail_notinstall_captcha = \'CAPTCHAプラグインがインストールされていません。\';\r\n#   送信時に画像認証でエラーの場合のエラーメッセージ\r\n#     ※空文字にするとCAPTCHAプラグインが作成するエラーメッセージを使います。\r\n#     ※空文字意外にするとそれを無視して固定メッセージにできます。\r\n$msg_spformmail_valid_captcha = \'\';\r\n#\r\n#   ※ CAPTCHAのテンプレートを自由に作成することも可能\r\n#   public_html/layout/<themename>/sp_formmail/captcha.thmtl があればそちらが優先されます。\r\n#   通常は private/plugins/captcha/templates/captcha_others.thtml\r\n#\r\n\r\n# 遷移の項目名\r\n$seni_items = array(\'input\' => \'信息类型\', \'confirm\' => \'检查输入字段\', \'finish\' => \'填充\');\r\n\r\n# 必須入力の文字列\r\n$required_string = \'<span class=\"spf_required\">*必須</span>\';\r\n\r\n# ==日付関係==\r\n#   下記JavaScriptカレンダーでの日付表記\r\n#     phpのdate(http://www.php.net/manual/en/function.date.php)で使う\r\n#     「d, D, j, l, N, w, S, F, m, M, n, Y, y」を指定できます。\r\n$date_js_cal = \'Y/m/d\';\r\n#   メールに記載される受付日時表記\r\n#     phpのdateのものがすべて使えます http://www.php.net/manual/en/function.date.php\r\n$date_mail = \'Y年m月d日H:i\';\r\n#   csv書き出し時、1列目に記載される日時表記\r\n#     phpのdateのものがすべて使えます http://www.php.net/manual/en/function.date.php\r\n$date_csv = \'Y/m/d H:i\';\r\n\r\n# JavaScriptライブラリの利用 (カレンダー表示用)\r\n$use_jslib = TRUE;\r\n\r\n# JavaScriptライブラリ等の宣言\r\n#   カレンダー表示用JavaScript+CSS\r\n#     Calendar RC4, (c) 2007 Aeron Glemann <http://electricprism.com/aeron>, MIT Style License\r\n#     (http://www.electricprism.com/aeron/calendar/)\r\n$def_jslib = <<<JSLIB\r\n\r\n<script type=\"text/javascript\" src=\"{$_CONF[\'site_url\']}/javascript/calendar/mootools.js\"></script>\r\n<script type=\"text/javascript\" src=\"{$_CONF[\'site_url\']}/javascript/calendar/calendar.js\"></script>\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"{$_CONF[\'site_url\']}/javascript/calendar/calendar.css\" media=\"screen\" />\r\n<script type=\"text/javascript\">\r\n window.addEvent(\'domready\', function() { myCal = new Calendar({ q_date1: \'$date_js_cal\' }, { days: [\'日\',\'月\',\'火\',\'水\',\'木\',\'金\',\'土\'], months: [\'1月\',\'2月\',\'3月\',\'4月\',\'5月\',\'6月\',\'7月\',\'8月\',\'9月\',\'10月\',\'11月\',\'12月\'] }); });\r\n</script>\r\nJSLIB;\r\n\r\n#####\r\n# 表示メッセージ\r\n#####\r\n$lang = array(\r\n// { 完了HTML＆メールのメッセージ\r\n  \'receipt_admin\' =>\'管理者のみなさま\'.LB.LB.$_CONF[\'site_name\'].\'サイトにおいて\'.LB.\'問い合わせがありました。\'.LB.LB.\'==========お問い合わせ ==========\'.LB.\'受付日時：\'.date($date_mail),\r\n  \'receipt_user\' =>\'※本メールは、\'.$_CONF[\'site_name\'].\'サイトより自動的に配信しています。\'.LB.\'此电子邮件是专门派遣资格回复此电子邮件。\'.LB.\'＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝\'.LB.\'感谢您的请求。\'.LB.LB.\'========== 查询 ==========\'.LB.\'受付日時：\'.date($date_mail),\r\n  \'subject_admin\'=> \'[\'.$_CONF[\'site_name\'].\']お問い合わせ\',\r\n  \'subject_user\'=> \'[\'.$_CONF[\'site_name\'].\']接受调查\',\r\n  \'sign_admin\'    => \'-----------------------------------------\'.LB.$_CONF[\'site_name\'].LB.$_CONF[\'site_url\'].LB.\'-----------------------------------------\',\r\n  \'sign_user\'    => \'-----------------------------------------\'.LB.$_CONF[\'site_name\'].LB.\'URL：\' . $_CONF[\'site_url\'].LB.\'-----------------------------------------\',\r\n// } 完了HTML＆メールのメッセージ\r\n// { システムエラーのメッセージ\r\n  \'ownertransmiterror\'=>\'オーナーメール処理中、一部のアドレスでエラーが発生しましたが、処理を続けました。\',\r\n  \'transmiterror\'=>\'処理中にエラーが発生しました。\',\r\n// } システムエラーのメッセージ\r\n);\r\n\r\n\r\n\r\n#####\r\n# フォーム項目の設定\r\n#####\r\n$form_items = array(\r\n  // < テーブル\r\n  array(\'title\' => \'你的名字\', \'table\' => array(\r\n    // < テーブル１行\r\n    array(\'header\' => \'你的名字\', \'valid_notkanahan\' => \'q_name\', \'error_notkanahan\' => \'该片假名是你叫什么名字？请输入所有的全角\', \'data\' =>\r\n        array(\r\n            array(\'type\' => \'text\',\r\n                  \'name\' => \'q_name\',\r\n                  \'size\' => \'40\',\r\n                  \'maxlength\' => \'60\',\r\n            ),\r\n            array(\'input\' => \'<br\'.XHTML.\'>\'),\r\n        ),\r\n    ),\r\n    // > テーブル１行\r\n    // < テーブル１行\r\n    array(\'header\' => \'Email\',\r\n          \'valid_require\' => $required_string, \'error_require\' => \'没有电子邮件地址\',\r\n          \'valid_equal\' => $essential_email, \'error_equal\' => \'E - mail地址不匹配\',\r\n          \'valid_email\' => $propriety_email, \'error_email\' => \'请输入您的电子邮件地址正确\',\r\n          \'valid_hankaku\' => \'q_mail,q_mail_re\', \'error_hankaku\' => \'请输入您的电子邮件地址中的任何一半\',\r\n          \'data\' =>\r\n        array(\r\n            array(\'type\' => \'text\',\r\n                  \'name\' => \'q_mail\',\r\n                  \'size\' => \'40\',\r\n                  \'maxlength\' => \'240\',\r\n                  \'class\' => \'bginput ime_off\',\r\n                  \'value\' => $user_email\r\n            ),\r\n            array(\'input\' => \'<br\'.XHTML.\'>\'),\r\n            array(\'type\' => \'text\',\r\n                  \'name\' => \'q_mail_re\',\r\n                  \'size\' => \'40\',\r\n                  \'maxlength\' => \'240\',\r\n                  \'class\' => \'bginput ime_off\',\r\n                  \'not_confirm\' => \'true\',\r\n                  \'not_csv\' => \'true\',\r\n                  \'value\' => $user_email\r\n            ),\r\n            array(\'string\' => \'<br\'.XHTML.\'>\'),\r\n            array(\'input\' => \'※为了验证，请再试一次\'),\r\n        ),\r\n    ),\r\n    // > テーブル１行\r\n   ),\r\n  ),\r\n  // > テーブル\r\n  // < テーブル\r\n  array(\'title\' => \'查询\', \'table\' => array(\r\n    // < テーブル１行\r\n    array(\'header\' => \'查询\', \'valid_notkanahan\' => \'q_other\', \'error_notkanahan\' => \'该调查是片假名。请输入所有的全角\', \'valid_maxlen\' => \'q_other=200\', \'error_maxlen\' => \'查询字符，请输入200个字符\', \'data\' =>\r\n        array(\r\n            array(\'type\' => \'textarea\',\r\n                  \'name\' => \'q_other\',\r\n                  \'class\' => \'bginput ime_on\',\r\n                  \'style\' => \'width: 95%; height: 100px;\',\r\n                  \'onKeyup\' => \"var n=200-this.value.length;var s=document.getElementById(\'tasp1\');s.innerHTML=\'(\'+n+\')\';\"\r\n            ),\r\n            array(\'input\' => \'<br\'.XHTML.\">※请输入您的询问。<strong><span id=\'tasp1\'></span><strong><br\".XHTML.\'>\'),\r\n        ),\r\n    ),\r\n    // > テーブル１行\r\n   ),\r\n  ),\r\n  // > テーブル\r\n  // < 送信ボタン - 入力画面\r\n  array(\'action\' => \'input\', \'data\' =>\r\n      array(\r\n          array(\'string\' => \'    <div style=\"text-align: center;\" class=\"text_center mt20 mb20\">\'),\r\n          array(\'type\' => \'submit\',\r\n                \'name\' => \'submit\',\r\n                \'class\' => \'button_form_next\',\r\n                \'value\' => \'确认屏幕上输入栏\'\r\n          ),\r\n          array(\'string\' => \'</div>\'),\r\n      ),\r\n  ),\r\n  // > 送信ボタン - 入力画面\r\n  // < 送信ボタン - 確認画面\r\n  array(\'action\' => \'confirm\', \'data\' =>\r\n      array(array(\'string\' => \'    <div style=\"text-align: center;\" class=\"text_center mt20 mb20\">\'),\r\n          array(\'type\' => \'submit\',\r\n                \'name\' => \'goback\',\r\n                \'class\' => \'button_form_prev\',\r\n                \'value\' => \'返回\'\r\n          ),\r\n          array(\'string\' => \'　\'),\r\n          array(\'type\' => \'submit\',\r\n                \'name\' => \'submit\',\r\n                \'class\' => \'button_form_next\',\r\n                \'value\' => \'发送\'\r\n          ),\r\n          array(\'string\' => \'</div>\'),\r\n      ),\r\n  ),\r\n  // > 送信ボタン - 確認画面\r\n);\r\n\r\n\r\n\r\n// +---------------------------------------------------------------------------+\r\n// | 初期処理                                                                  |\r\n// +---------------------------------------------------------------------------+\r\n# POSTデータを直接変換 (全角から半角へ、カタカナ半角からカタカナ全角へ)\r\nif (!empty($zentohan_itemname)) { foreach (explode(\',\',$zentohan_itemname) as $k) { if (!empty($_POST[$k])) $_POST[$k] = mb_convert_kana($_POST[$k], \'askh\'); } }\r\nif (!empty($kana_hantozen_itemname)) { foreach (explode(\',\',$kana_hantozen_itemname) as $k) { if (!empty($_POST[$k])) $_POST[$k] = mb_convert_kana($_POST[$k], \'K\'); } }\r\nif (!empty($kana_hiratokana_itemname)) { foreach (explode(\',\',$kana_hiratokana_itemname) as $k) { if (!empty($_POST[$k])) $_POST[$k] = mb_convert_kana($_POST[$k], \'C\'); } }\r\n# データを保存用に加工\r\nforeach ($_POST as $k => $v) {\r\n    $fld_list[$k] = preg_replace(\'/,/\', \'，\', $_POST[$k]);\r\n    $fld_list[$k] = preg_replace(\'/\"/\', \'”\', $fld_list[$k]);\r\n    $fld_list[$k] = preg_replace(\"/\'/\", \"’\", $fld_list[$k]);\r\n    $fld_list[$k] = preg_replace(\'/`/\', \'‘\', $fld_list[$k]);\r\n    $fld_list[$k] = preg_replace(\'/;/\', \'；\', $fld_list[$k]);\r\n    $fld_list[$k] = preg_replace(preg_quote(\'#\'.chr(92).\'#\'), \'￥\', $fld_list[$k]);\r\n    $fld_list[$k] = COM_applyFilter($fld_list[$k]);\r\n}\r\n# CSVファイルのフルパス\r\n$save_csv_file = $save_csv_path . $save_csv_name;\r\n# pageidからpageurlを作成\r\nif (!empty($pageid)) { $pageurl = COM_buildUrl($_CONF[\'site_url\'].\'/staticpages/index.php?page=\'.$pageid); }\r\n\r\n// +---------------------------------------------------------------------------+\r\n// | 関数群:                                                                   |\r\n// +---------------------------------------------------------------------------+\r\nif(!function_exists(\'getAction\')){\r\nfunction getAction ($err) {\r\n    $buf = \'\';\r\n    $action = COM_applyFilter($_POST[\'action\']);\r\n    if (!empty($action) && empty($err) && $action == \'input\') { $buf = \'confirm\'; }\r\n    elseif (!empty($action) && empty($err) && $action == \'confirm\') { $buf = empty($_POST[\'goback\']) ? \'finish\' : \'input\'; }\r\n    else { $buf = \'input\'; }\r\n    return $buf;\r\n}\r\n\r\nfunction mkJS4MG ($lib) {\r\n    $buf = preg_replace(\"@<script[^>]+mootools.js[^>]+>[^<]*</script>@\", \"\", $lib);\r\n    return str_replace(\'calendar.js\', \'calendar_mg.js\', $buf);\r\n}\r\n\r\nfunction mkJS ($use,$lib,$action,$plg) {\r\n    $buf=\'\';\r\n    if (!empty($action) && $action == \'input\' && isset($use) && $use == TRUE) {\r\n        if (in_array(\'mediagallery\', $plg)) {\r\n            global $_MG_CONF;\r\n            $mgv = $_MG_CONF[\'pi_version\'];\r\n            $mglib = $_MG_CONF[\'js_lib\'];\r\n            if (!empty($mgv) && !empty($mglib) && (version_compare($mgv, \'1.6.10\', \'<\') || strtolower($mglib) == \'mootools\')) {\r\n                $buf = mkJS4MG($lib);\r\n            } elseif(!empty($mglib) && strtolower($mglib) == \'jquery\') {\r\n                $buf = <<<JQNC\r\n<script>\r\n<!--\r\njQuery.noConflict();\r\n-->\r\n</script>{$lib}\r\nJQNC;\r\n            } else {\r\n                $buf = $lib;\r\n            }\r\n        } else {\r\n            $buf = $lib;\r\n        }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkSeni ($items, $action) {\r\n    $buf = \'<ul>\'.LB;\r\n    foreach ($items as $key => $value) {\r\n        if ($action == $key) {\r\n            $buf .= \'    <li class=\"on\">\'.$value.\'</li>\'.LB;\r\n        } else {\r\n            $buf .= \'    <li>\'.$value.\'</li>\'.LB;\r\n        }\r\n    }\r\n    $buf .= \'</ul>\'.LB;\r\n    return $buf;\r\n}\r\n\r\nfunction putiFilter($s) {\r\n    $se = array(\'%\',\'(\',\')\',chr(92),chr(13).chr(10),chr(13),chr(10));\r\n    $re = array(\'&#37;\',\'&#40;\',\'&#41;\',\'&#92;\',\'\',\'\',\'\');\r\n    return str_replace($se, $re, htmlspecialchars($s,ENT_QUOTES));\r\n}\r\n\r\nfunction vldCAPTCHA ($type, $errmsg) {\r\n    global $_CP_CONF, $_USER;\r\n    $msg = \'\';\r\n    if (!function_exists(\'CAPTCHA_sid\')) { return $msg; }\r\n    if ( ($_CP_CONF[\'anonymous_only\'] && $_USER[\'uid\'] < 2) || $_CP_CONF[\'anonymous_only\'] == 0 || ($_CP_CONF[\'remoteusers\'] == 1 && SEC_inGroup(\"Remote Users\") ) ) {\r\n        $str = COM_applyFilter($_POST[\'captcha\']);\r\n        list( $rc, $msg )  = CAPTCHA_checkInput( $type, $str );\r\n    }\r\n    if ( !empty($msg) && !empty($errmsg) ) { $msg = $errmsg; }\r\n    return $msg;\r\n\r\n}\r\n\r\nfunction vld_isPhone($s) { return (preg_match(\'/^(?:[0-9\'.chr(92).\'+\'.chr(92).\'-\'.chr(92).\'s])+$/D\',$s)) ? TRUE : FALSE; }\r\nfunction vld_isHankaku($s) { return (preg_match(\'/^(?:\'.chr(92).\'xEF\'.chr(92).\'xBD[\'.chr(92).\'xA1-\'.chr(92).\'xBF]|\'.chr(92).\'xEF\'.chr(92).\'xBE[\'.chr(92).\'x80-\'.chr(92).\'x9F]|[\'.chr(92).\'x20-\'.chr(92).\'x7E])+$/D\',$s)) ? TRUE : FALSE; }\r\nfunction vld_isZenkaku($s) { return (preg_match(\'/(?:\'.chr(92).\'xEF\'.chr(92).\'xBD[\'.chr(92).\'xA1-\'.chr(92).\'xBF]|\'.chr(92).\'xEF\'.chr(92).\'xBE[\'.chr(92).\'x80-\'.chr(92).\'x9F]|[\'.chr(92).\'x20-\'.chr(92).\'x7E])+/D\',$s)) ? FALSE : TRUE; }\r\nfunction vld_isEisuHan($s) { return (preg_match(\'/^(?:[0-9A-Za-z])+$/D\',$s)) ? TRUE : FALSE; }\r\nfunction vld_isKanaZen($s) { return (preg_match(\'/^(?:\'.chr(92).\'xE3\'.chr(92).\'x82[\'.chr(92).\'xA1-\'.chr(92).\'xBF]|\'.chr(92).\'xE3\'.chr(92).\'x83[\'.chr(92).\'x80-\'.chr(92).\'xB6])+$/D\',$s)) ? TRUE : FALSE; }\r\nfunction vld_isHiraZen($s) { return (preg_match(\'/^(?:\'.chr(92).\'xE3\'.chr(92).\'x81[\'.chr(92).\'x81-\'.chr(92).\'xBF]|\'.chr(92).\'xE3\'.chr(92).\'x82[\'.chr(92).\'x80-\'.chr(92).\'x93])+$/D\',$s)) ? TRUE : FALSE; }\r\nfunction vld_isNotKanaHan($s) { return (preg_match(\'/(?:\'.chr(92).\'xEF\'.chr(92).\'xBD[\'.chr(92).\'xA1-\'.chr(92).\'xBF]|\'.chr(92).\'xEF\'.chr(92).\'xBE[\'.chr(92).\'x80-\'.chr(92).\'x9F])+/D\',$s)) ? TRUE : FALSE; }\r\n\r\nfunction ChkValidate ($mode, $datas, $errmsg, $attributes = \'\') {\r\n    $msg = \'\';\r\n    foreach ($datas as $data) {\r\n        if (isset($data[\'type\'])) {\r\n            $name = $data[\'name\'];\r\n            switch ($mode) {\r\n                // 必須チェック\r\n                case \'require\':\r\n                    if (empty($data[\'notrequire\']) && empty($_POST[$name]) && $_POST[$name] != \"0\") { $msg = $errmsg; }\r\n                    break;\r\n                // 一致チェック\r\n                case \'equal\':\r\n                    if (!empty($attributes)) {\r\n                        $es_emails = explode(\',\', $attributes);\r\n                        foreach ($es_emails as $es_email) {\r\n                            list($eq1,$eq2) = explode(\'=\', $es_email);\r\n                            // 最初のキー かつ チェックするキーが存在\r\n                            if ($name == $eq1 && !empty($_POST[$eq2])) {\r\n                                if ($_POST[$eq1] != $_POST[$eq2]) {\r\n                                    $msg = $errmsg;\r\n                                }\r\n                            }\r\n                        }\r\n                    }\r\n                    break;\r\n                // メールチェック\r\n                case \'email\':\r\n                    if (!empty($attributes)) {\r\n                        $pr_emails = explode(\',\', $attributes);\r\n                        foreach ($pr_emails as $pr_email) {\r\n                            if ($name == $pr_email) {\r\n                                if (!COM_isemail($_POST[$name])) {\r\n                                    $msg = $errmsg;\r\n                                }\r\n                            }\r\n                        }\r\n                    }\r\n                    break;\r\n                // 数値チェック - 足して0以上\r\n                case \'notzero\':\r\n                    if (!empty($attributes)) {\r\n                        $values_key = explode(\',\', $attributes);\r\n                        foreach ($values_key as $val_key) {\r\n                            // 最初のキーのときにチェック\r\n                            if ($name == $val_key) {\r\n                                $sum_val = 0;\r\n                                foreach ($values_key as $chk_key) {\r\n                                    if (!empty($_POST[$chk_key])) {\r\n                                        $sum_val += $_POST[$chk_key];\r\n                                    }\r\n                                }\r\n                                if ($sum_val <= 0) {\r\n                                    $msg = $errmsg;\r\n                                    break;\r\n                                }\r\n                            }\r\n                        }\r\n                    }\r\n                    break;\r\n                // 数値のみかチェック\r\n                case \'numeric\':\r\n                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\") && in_array($name,explode(\',\',$attributes)) && !ctype_digit($_POST[$name])) { $msg = $errmsg; }\r\n                    break;\r\n                // 電話番号かチェック\r\n                case \'phone\':\r\n                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\") && in_array($name,explode(\',\',$attributes)) && !vld_isPhone($_POST[$name])) { $msg = $errmsg; }\r\n                // 半角チェック\r\n                case \'hankaku\':\r\n                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\") && in_array($name,explode(\',\',$attributes)) && !vld_isHankaku($_POST[$name])) { $msg = $errmsg; }\r\n                    break;\r\n                // 全角チェック\r\n                case \'zenkaku\':\r\n                    if (!empty($_POST[$name]) && in_array($name,explode(\',\',$attributes)) && !vld_isZenkaku($_POST[$name])) { $msg = $errmsg; }\r\n                    break;\r\n                // 半角英数字チェック\r\n                case \'eisuhan\':\r\n                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\") && in_array($name,explode(\',\',$attributes)) && !vld_isEisuHan($_POST[$name])) { $msg = $errmsg; }\r\n                    break;\r\n                // 全角カタカナチェック\r\n                case \'kanazen\':\r\n                    if (!empty($_POST[$name]) && in_array($name,explode(\',\',$attributes)) && !vld_isKanaZen($_POST[$name])) { $msg = $errmsg; }\r\n                    break;\r\n                // 全角ひらがなチェック\r\n                case \'kanazen\':\r\n                    if (!empty($_POST[$name]) && in_array($name,explode(\',\',$attributes)) && !vld_isHiraZen($_POST[$name])) { $msg = $errmsg; }\r\n                    break;\r\n                // 半角カタカナ以外かチェック\r\n                case \'notkanahan\':\r\n                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\") && in_array($name,explode(\',\',$attributes)) && vld_isNotKanaHan($_POST[$name])) { $msg = $errmsg; }\r\n                    break;\r\n                // 文字数チェック\r\n                case \'maxlen\':\r\n                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\")) {\r\n                        foreach (explode(\',\', $attributes) as $attr1) {\r\n                            list($name2,$max2) = explode(\'=\',$attr1);\r\n                            if ($name === $name2) {\r\n                                if ($max2 < mb_strlen($_POST[$name], \'UTF-8\')) { $msg = $errmsg; }\r\n                            }\r\n                        }\r\n                    }\r\n                    break;\r\n                // 最低文字数チェック\r\n                case \'minlen\':\r\n                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\")) {\r\n                        foreach (explode(\',\', $attributes) as $attr1) {\r\n                            list($name2,$min2) = explode(\'=\',$attr1);\r\n                            if ($name === $name2) {\r\n                                if ($min2 > mb_strlen($_POST[$name], \'UTF-8\')) { $msg = $errmsg; }\r\n                            }\r\n                        }\r\n                    }\r\n                    break;\r\n            }\r\n        }\r\n    }\r\n    // 画像認証チェック\r\n    if ( $mode == \'captcha\' ) { $msg = vldCAPTCHA(\'sp_formmail\', $errmsg); }\r\n    return $msg;\r\n}\r\n\r\nfunction ChkFormValidateLines ($lines) {\r\n    $errmsg;\r\n    foreach (array(\'require\',\'equal\',\'email\',\'notzero\',\'numeric\',\'phone\',\'hankaku\',\'zenkaku\',\'eisuhan\',\'kanazen\',\'hirazen\',\'notkanahan\',\'captcha\',\'maxlen\',\'minlen\') as $chk) {\r\n        // 必須,一致,メール,画像認証,エラー のチェック\r\n        if (isset($lines[\'valid_\'.$chk])) {\r\n            $errmsg = ChkValidate($chk, $lines[\'data\'], $lines[\'error_\'.$chk], $lines[\'valid_\'.$chk]);\r\n            // エラーがあれば配列に格納\r\n            if ($errmsg) {\r\n                break;\r\n            }\r\n        }\r\n    }\r\n    return $errmsg;\r\n}\r\n\r\nfunction ChkFormValidate ($items) {\r\n    $errs;\r\n    foreach ($items as $item) {\r\n        // 各テーブル\r\n        foreach ($item as $key => $value) {\r\n            // １テーブル\r\n            if ($key == \'table\' || $key == \'table_captcha\') {\r\n                $action = getAction(\'\');\r\n                if ($key == \'table_captcha\' && $action == \'finish\') { continue; }\r\n                foreach ($value as $key2 => $value2) {\r\n                    // テーブル１行\r\n                    $errmsg = ChkFormValidateLines($value2);\r\n                    if ($errmsg) { $errs[] = $errmsg; }\r\n                }\r\n            }\r\n        }\r\n    }\r\n    return $errs;\r\n}\r\n\r\nfunction FormValidate ($items) {\r\n    $buf = \'\';\r\n    $errs = ChkFormValidate($items);\r\n    if (!empty($errs)) {\r\n        $errmsg = \'\';\r\n        foreach ($errs as $err) {\r\n            $errmsg .= \'    <li>\'.$err.\'</li>\'.LB;\r\n        }\r\n        $buf = <<<END\r\n\r\n<p class=\"error\">入力エラーがありました。下記について再度ご確認の上、ご記入ください。</p>\r\n<ol class=\"errorList\">\r\n$errmsg\r\n</ol>\r\nEND;\r\n    }\r\n    return $buf;\r\n}\r\n\r\n\r\nfunction mkTitle ($title) {\r\n    return <<<END\r\n\r\n    <h4>$title</h4>\r\n    <table class=\"formmail\" cellspacing=\"0\">\r\n        <colgroup><col width=\"130\" /></colgroup>\r\n        <tbody>\r\nEND;\r\n}\r\n\r\nfunction mkForm_Value ($name, $value) {\r\n    return (empty($_POST[$name]) && $_POST[$name] != \"0\") ? $value : putiFilter($_POST[$name]);\r\n}\r\n\r\nfunction mkForm_Radio_Checked (&$attributes) {\r\n    $name = $attributes[\'name\'];\r\n    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\")) {\r\n        if (isset($attributes[\'checked\'])) unset($attributes[\'checked\']);\r\n        if ($_POST[$name] == $attributes[\'value\']) {\r\n            $attributes[\'checked\'] = \'checked\';\r\n        }\r\n    }\r\n}\r\n\r\nfunction mkForm_Input ($attributes, $hidden = false) {\r\n    if ($hidden) {\r\n        if ($attributes[\'type\'] == \'radio\' || $attributes[\'type\'] == \'checkbox\') {\r\n            if ($attributes[\'value\'] != $_POST[$attributes[\'name\']]) return \'\';\r\n        }\r\n        $attributes[\'type\'] = \'hidden\';\r\n    }\r\n    if ($attributes[\'type\'] == \'radio\' || $attributes[\'type\'] == \'checkbox\') {\r\n        mkForm_Radio_Checked($attributes);\r\n    } else {\r\n        if ($attributes[\'type\'] != \'submit\') $attributes[\'value\'] = mkForm_Value($attributes[\'name\'], $attributes[\'value\']);\r\n    }\r\n    $buf = \'<input\';\r\n    foreach ($attributes as $key => $value) {\r\n        if ($key != \'not_confirm\') { $buf .= \' \'.$key.\'=\"\'.$value.\'\"\'; }\r\n    }\r\n    $buf .= XHTML.\'>\';\r\n    if ($hidden || $attributes[\'type\'] == \'checkbox\') {\r\n        if ( !isset($attributes[\'not_confirm\']) || ! $attributes[\'not_confirm\'] ) { $buf .= \' \' . $attributes[\'value\']; }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkForm_Select_Options ($name, $attributes) {\r\n    $buf = \'\';\r\n    $selected = mkForm_Value($name, $attributes[\'selected\']);\r\n    $values = explode(\',\', $attributes[\'values\']);\r\n    foreach ($values as $value) {\r\n        list($k,$v) = explode(\'=\',$value);\r\n        if (empty($v)) $v = $k;\r\n        if ($selected == $k) {\r\n            $buf .= \'<option selected=\"selected\" value=\"\'.$v.\'\">\'.$k.\'</option>\';\r\n        } else {\r\n            $buf .= \'<option value=\"\'.$v.\'\">\'.$k.\'</option>\';\r\n        }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkForm_Select ($attributes) {\r\n    $buf = \'<select\';\r\n    foreach ($attributes as $key => $value) {\r\n        if ($key != \'options\') {\r\n            $buf .= \' \'.$key.\'=\"\'.$value.\'\"\';\r\n        }\r\n    }\r\n    $buf .= \'>\';\r\n    $buf .= mkForm_Select_Options($attributes[\'name\'], $attributes[\'options\']);\r\n    $buf .= \'</select>\';\r\n    return $buf;\r\n}\r\n\r\nfunction mkForm_Textarea ($attributes) {\r\n    $attributes[\'value\'] = mkForm_Value($attributes[\'name\'], $attributes[\'value\']);\r\n    $buf = \'<textarea\';\r\n    foreach ($attributes as $key => $value) {\r\n        if ($key != \'value\') $buf .= \' \'.$key.\'=\"\'.$value.\'\"\';\r\n    }\r\n    $buf .= \'>\'.$attributes[\'value\'].\'</textarea>\';\r\n    return $buf;\r\n}\r\n\r\nfunction mkForm_Item ($items, $action) {\r\n    $buf = \'\';\r\n    if ($action != \'input\' && $items[\'type\'] != \'submit\' && $items[\'type\'] != \'hidden\') {\r\n        $buf .= mkForm_Input($items, true);\r\n    } else {\r\n        switch ($items[\'type\']) {\r\n            case \'text\': $buf .= mkForm_Input($items); break;\r\n            case \'password\': $buf .= mkForm_Input($items); break;\r\n            case \'hidden\': $buf .= mkForm_Input($items); break;\r\n            case \'radio\': $buf .= mkForm_Input($items); break;\r\n            case \'checkbox\': $buf .= mkForm_Input($items); break;\r\n            case \'select\': $buf .= mkForm_Select($items); break;\r\n            case \'textarea\': $buf .= mkForm_Textarea($items); break;\r\n            case \'submit\': $buf .= mkForm_Input($items); break;\r\n            case \'reset\': $buf .= mkForm_Input($items); break;\r\n            case \'button\': $buf .= mkForm_Input($items); break;\r\n        }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkTable_Data ($datas, $action) {\r\n    $buf = \'\';\r\n    foreach ($datas as $data) {\r\n        // １つのデータ\r\n        if (!empty($data[\'type\'])) {\r\n            // フォーム\r\n            $buf .= mkForm_Item($data, $action);\r\n        }\r\n        else {\r\n            // 文字列\r\n            foreach ($data as $key => $value) {\r\n                if ($key == \'string\') {\r\n                    $buf .= $value;\r\n                } elseif ($key == $action) {\r\n                    $buf .= $value;\r\n                }\r\n            }\r\n        }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction plugin_templatePath_sp_formmail () {\r\n    global $_CONF;\r\n    $pi_name = \'sp_formmail\';\r\n    $layout_path = $_CONF[\'path_layout\'] . $pi_name;\r\n    return $layout_path;\r\n}\r\n\r\nfunction chk_Use_CAPTCHA_HTML () {\r\n    global $_CP_CONF, $_USER;\r\n    if ( ($_CP_CONF[\'anonymous_only\'] && $_USER[\'uid\'] < 2) || $_CP_CONF[\'anonymous_only\'] == 0 || ($_CP_CONF[\'remoteusers\'] == 1 && SEC_inGroup(\"Remote Users\") ) ) {\r\n        return true;\r\n    }\r\n    return false;\r\n}\r\nfunction mkCAPTCHA_HTML ($name, $msg_notcaptcha) {\r\n    global $_CP_CONF, $_USER, $_TABLES;\r\n    $captcha = \'\';\r\n    if (!function_exists(\'CAPTCHA_sid\')) { return $msg_notcaptcha; }\r\n    if ( chk_Use_CAPTCHA_HTML() ) {\r\n\r\n        $csid = 0;\r\n        if ($_CP_CONF[\'gfxDriver\'] != 1) {\r\n\r\n            // housekeeping, delete old captcha sessions\r\n            $oldSessions = time() - ($_CP_CONF[\'expire\']+900);\r\n            DB_query(\"DELETE FROM {$_TABLES[\'cp_sessions\']} WHERE cptime < \" . $oldSessions,1);\r\n\r\n            // OK, we need to insert the CAPTCHA, so now we need to setup the session_id:\r\n\r\n            // check to see if a failed entry happened...\r\n            if ( isset($_POST[\'csid\']) ) {\r\n                $csid = COM_applyFilter($_POST[\'csid\']);\r\n            } else {\r\n                $csid = CAPTCHA_sid();\r\n            }\r\n            $time    = time();\r\n            $counter = 0;\r\n            $validation = \'\';  // this will be filled in by the CAPTCHA\r\n\r\n                \"  `session_id` varchar(40) NOT NULL default \'\', \" .\r\n                \"  `cptime`  INT(11) NOT NULL default 0, \" .\r\n                \"  `validation` varchar(40) NOT NULL default \'\', \" .\r\n                \"  `counter`    TINYINT(4) NOT NULL default 0, \" .\r\n\r\n            DB_save($_TABLES[\'cp_sessions\'],\"session_id,cptime,validation,counter\",\"\'$csid\',\'$time\',\'\',\'0\'\");\r\n        }\r\n\r\n        $captcha = CAPTCHA_getHTML($csid,$name);\r\n    }\r\n    return $captcha;\r\n}\r\n\r\nfunction mkTable ($tables, $action) {\r\n    $buf = \'\';\r\n    foreach ($tables as $lines) {\r\n        $flg_valid_captcha = false;\r\n        $errflg = \'\';\r\n        $tdclass=\'\';\r\n        $buf .= LB .\'            <tr>\' . LB;\r\n        $buf .= \'                <th>\';\r\n        if (isset($lines[\'header\'])) { $buf .= $lines[\'header\']; }\r\n        if (isset($lines[\'header_captcha\'])) { $buf .= $lines[\'header_captcha\']; }\r\n        if (isset($lines[\'valid_require\'])) { $buf .= $lines[\'valid_require\']; }\r\n        if (isset($lines[\'valid_captcha\'])) { $buf .= $lines[\'valid_captcha\']; $flg_valid_captcha = true; }\r\n        // エラーチェック\r\n        if (!empty($_POST)) { $errflg = ChkFormValidateLines($lines); }\r\n        if ($errflg) { $tdclass=\' class=\"warning_bgc\"\'; }\r\n        $buf .= \'</th>\'.LB;\r\n        $buf .= \'                <td\'.$tdclass.\'>\';\r\n        if (isset($lines[\'data\'])) {\r\n            if ($flg_valid_captcha) {\r\n                $buf .= mkCAPTCHA_HTML(\'sp_formmail\',$lines[\'error_notcaptcha\']);\r\n            } else {\r\n                $buf .= mkTable_Data($lines[\'data\'], $action);\r\n            }\r\n        }\r\n        $buf .= \'</td>\'.LB;\r\n        $buf .= \'            </tr>\'.LB;\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkForm ($items, $action) {\r\n    $buf = \'\';\r\n    foreach ($items as $item) {\r\n        // 各テーブル\r\n        if (!empty($item[\'table\'])) {\r\n            foreach ($item as $key => $value) {\r\n                // １テーブル\r\n                switch ($key) {\r\n                    case \'title\': $buf .= mkTitle($value); break;\r\n                    case \'table\': $buf .= mkTable($value, $action); break;\r\n                }\r\n            }\r\n            $buf .= <<<END\r\n\r\n        </tbody>\r\n    </table>\r\nEND;\r\n        } elseif (!empty($item[\'table_captcha\'])) {  // 画像認証テーブル\r\n            if ((!empty($action) && $action == \'input\') && chk_Use_CAPTCHA_HTML()) {\r\n                foreach ($item as $key => $value) {\r\n                    // １テーブル\r\n                    switch ($key) {\r\n                        case \'title_captcha\': $buf .= mkTitle($value); break;\r\n                        case \'table_captcha\': $buf .= mkTable($value, $action); break;\r\n                    }\r\n                }\r\n                $buf .= <<<END\r\n\r\n            </tbody>\r\n        </table>\r\nEND;\r\n            } elseif (!empty($action)) {\r\n                $buf .= LB . \'    <input type=\"hidden\">\';\r\n            }\r\n        } elseif (!empty($item[\'action\'])) {         // 送信ボタン\r\n            if ($item[\'action\'] == $action) {\r\n                $buf .= LB . \'    <input type=\"hidden\" name=\"action\" value=\"\' . $action . \'\"\' . XHTML . \'>\';\r\n                $buf .= LB . mkTable_Data($item[\'data\'], $action);\r\n            }\r\n        }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkCsv ($items, $level=0, $dupcheck=array()) {\r\n    global $_CONF;\r\n    $ret = array();\r\n    if ($level > 5) { return; } $level++;\r\n    if (!empty($items[\'type\']) && strtolower($items[\'type\']) != \'submit\' ) {\r\n        if((!empty($items[\'not_csv\']) && $items[\'not_csv\']) || empty($items[\'name\'])) { return; }\r\n        if(strtolower($items[\'type\']) == \'radio\' && in_array($items[\'name\'], $dupcheck)) { return; }\r\n        return $items[\'name\'];\r\n    } else {\r\n        if (!is_array($items)) { return; }\r\n        foreach ($items as $i) {\r\n            $name = mkCsv($i,$level, $ret);\r\n            if (!empty($name)) {\r\n                if(is_array($name)) { $ret = array_merge($ret,$name); } else { $ret[] = $name; }\r\n            }\r\n        }\r\n    }\r\n    return $ret;\r\n}\r\n}\r\n\r\n\r\n// エラーチェック\r\nif (!empty($_POST) && !empty($_POST[\'action\'])) {\r\n    $valid = FormValidate($form_items);\r\n}\r\n$action = getAction($valid);\r\n\r\n// +---------------------------------------------------------------------------+\r\n// | 第1ステップ: フォーム表示(入力＆確認)                                     |\r\n// +---------------------------------------------------------------------------+\r\nif ($action == \'input\' || $action == \'confirm\') {\r\n\r\n/**\r\n* フォーム画面HTML { ここから\r\n*/\r\n    // JS\r\n    $js = mkJS($use_jslib, $def_jslib, $action, $_PLUGINS);\r\n    // 遷移\r\n    $seni = mkSeni($seni_items, $action);\r\n    // 入力フォーム\r\n    $form = mkForm($form_items, $action);\r\n\r\n    $retval = <<<END\r\n\r\n$js\r\n<div id=\"form_step\">\r\n$seni\r\n</div>\r\n<div id=\"FORM\">\r\n$valid\r\n<form name=\"subForm\" method=\"post\" action=\"{$pageurl}\">\r\n$form\r\n</form>\r\n</div>\r\n\r\nEND;\r\n\r\n/**\r\n* } ここまで フォーム画面HTML\r\n*/\r\n\r\n\r\n\r\n// +---------------------------------------------------------------------------+\r\n// | 第2ステップ: 完了表示＆メール送信                                         |\r\n// +---------------------------------------------------------------------------+\r\n} elseif ($action == \'finish\') {\r\n\r\n/**\r\n* 完了画面HTML { ここから\r\n*/\r\n    // 遷移\r\n    $seni = mkSeni($seni_items, $action);\r\n    \r\n    $out_html = <<<END\r\n\r\n<div id=\"form_step\">\r\n$seni\r\n</div>\r\n<div id=\"contact_thanks\">\r\n<p><strong>お問い合わせを受け付けました。</strong></p>\r\n<p>※お問い合わせ確認のメールを自動送信しました。<br />\r\nメールが届かない場合は、ご登録のメールアドレスが間違っている可能性があります。<br />\r\nその際は、お手数ですが再度お問い合わせください。</p>\r\n</div>\r\n\r\nEND;\r\n/**\r\n* } ここまで 完了画面HTML\r\n*/\r\n\r\n\r\n\r\n    # <br /> を改行コードに変換\r\n    foreach ($fld_list as $k => $v) { $fld_list[$k] = ereg_replace(\"<br />\", LB, $fld_list[$k]); }\r\n    $lang[\'sign_admin\'] = ereg_replace(\"<br />\", LB, $lang[\'sign_admin\']);\r\n    $lang[\'sign_user\'] = ereg_replace(\"<br />\", LB, $lang[\'sign_user\']);\r\n    // 入力内容\r\n    $input4mail=<<<END\r\nお名前: {$fld_list[\'q_name\']}\r\nメールアドレス: {$fld_list[\'q_mail\']}\r\n\r\nお問い合わせ内容:\r\n {$fld_list[\'q_other\']}\r\nEND;\r\n\r\n/**\r\n* 送信メール内容 - 管理者 { ここから\r\n*/\r\n    $out_mail_admin = <<<END\r\n\r\n{$lang[\'receipt_admin\']}\r\n\r\n$input4mail\r\n\r\n{$lang[\'sign_admin\']}\r\nEND;\r\n/**\r\n* } ここまで 送信メール内容 - 管理者\r\n*/\r\n/**\r\n* 送信メール内容 - 入力者 { ここから\r\n*/\r\n    $out_mail_user = <<<END\r\n\r\n{$lang[\'receipt_user\']}\r\n\r\n$input4mail\r\n\r\n{$lang[\'sign_user\']}\r\nEND;\r\n/**\r\n* } ここまで 送信メール内容 - 入力者\r\n*/\r\n\r\n\r\n    # メール送信\r\n    $ownererr = false;\r\n    $ownersend = false;\r\n    $om_array = explode(\',\', $owner_email);\r\n    $owner_mails = array_unique($om_array);  # 重複した値(メールアドレス)を削除\r\n    if (!empty($owner_email_item_name)) {\r\n        $selmail;\r\n        foreach ($owner_mails as $v) {\r\n            list($key, $mail) = explode(\'=\', $v);\r\n            if ($_POST[$owner_email_item_name] == $key) {\r\n                $selmail = explode(\'|\', $mail);\r\n                break;\r\n            }\r\n        }\r\n        $owner_mails = $selmail;\r\n    }\r\n    $owner_subject = $lang[\'subject_admin\'];\r\n    foreach ($owner_mails as $v) {\r\n        $email1 = COM_mail( $v, \"$owner_subject\", $out_mail_admin, $email_from, false); # オーナーあてメール\r\n        if (!$email1) { $ownererr = true; } else { $ownersend = true; }  # 送信/エラーのフラグをセット\r\n    }\r\n    # オーナーメール送信でエラーがあった場合\r\n    if ($ownererr) {\r\n        # 一部に送信できている場合\r\n        if ($ownersend) {\r\n            # エラーをログへ出力(一部へは配送されているのでユーザにエラー画面を出さない)\r\n            COM_errorLog($lang[\'ownertransmiterror\'], 1);\r\n            $email1 = true;\r\n        # 全員がエラーの場合\r\n        } elseif (!$ownersend) {\r\n            # 処理エラーとし、ユーザへのメールは送らない\r\n            $email1 = false;\r\n        }\r\n    }\r\n    if ($email1) {\r\n        $usr_subject = $lang[\'subject_user\'];\r\n        $email2 = COM_mail( $fld_list[$email_input_name], \"$usr_subject\", $out_mail_user, $email_from, false); # 問合せ者へメール\r\n    }\r\n    if ($email1 && $email2) { # どちらの送信も成功したら\r\n        # csv出力する\r\n        if ($save_csv > 0) {\r\n            $fldnames = mkCsv($form_items);\r\n            $delimiter = \',\';\r\n            if ($save_csv > 1) { $delimiter = chr(9); }\r\n            $enclosure = \'\"\';\r\n            # CSV出力\r\n            $str = \'\';\r\n            $escape_char = chr(92);\r\n            foreach ($fldnames as $n) {\r\n                $v = empty($fld_list[$n]) ? \'\' : $fld_list[$n] ;\r\n                if (strpos($v, $delimiter) !== false ||\r\n                    strpos($v, $enclosure) !== false ||\r\n                    strpos($v, chr(10)) !== false ||\r\n                    strpos($v, chr(13)) !== false ||\r\n                    strpos($v, chr(9)) !== false ||\r\n                    strpos($v, \' \') !== false) {\r\n                  $str2 = $enclosure;\r\n                  $escaped = 0;\r\n                  $len = strlen($v);\r\n                  for ($i=0;$i<$len;$i++) {\r\n                    if ($v[$i] == $escape_char) {\r\n                      $escaped = 1;\r\n                    } else if (!$escaped && $v[$i] == $enclosure) {\r\n                      $str2 .= $enclosure;\r\n                    } else {\r\n                      $escaped = 0;\r\n                    }\r\n                    $str2 .= $v[$i];\r\n                  }\r\n                  $str2 .= $enclosure;\r\n                  $str .= $str2.$delimiter;\r\n                } else {\r\n                  $str .= $v.$delimiter;\r\n                }\r\n            }\r\n            $str = date($date_csv) . $delimiter . substr($str,0,-1);\r\n            $str .= LB;\r\n            if( !empty( $save_csv_lang ) ) {\r\n                $str = mb_convert_encoding($str, $save_csv_lang);\r\n            }\r\n            $fp = fopen($save_csv_file, \'a\');\r\n            fwrite($fp, $str);  # CSV書き出し\r\n            fclose($fp);\r\n        }\r\n        $retval = $out_html;\r\n    } else {\r\n        $retval = $lang[\'transmiterror\']; # メール送信が失敗したら\r\n    }\r\n}\r\n// Geeklog1.6 PHPを実行\r\necho $retval;\r\n// Geeklog1.6 PHPを実行(return) の場合、上のechoをコメント(#)にして以下のreturnのコメントをはずしてください\r\n# return $retval;\r\n',196,'2010-09-02 05:20:33','2010-10-09 11:03:24','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,2,0,1,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('contact_en','Contact Us','','// +---------------------------------------------------------------------------+\r\n// | Geeklog FormMail Static Page                                              |\r\n// +---------------------------------------------------------------------------+\r\n// | Copyright (C) 2008-2010 by the following authors:                         |\r\n// |                                                                           |\r\n// | Authors    : Hiroshi Sakuramoto - hiro AT winkey DOT jp                   |\r\n// | Sponser    : White Bear Family CO., LTD                                   |\r\n// | Coordinate : Adeliae Planning CO., LTD - www.e-adeliae.com                |\r\n// | Coordinate : IVY WE CO., LTD - www.ivywe.co.jp                            |\r\n// | Version: 2.1.3                                                            |\r\n// | EnglishVersion: 0.9.4                                                     |\r\n// | Translated: kobab - geeklog.crimsonj.net                                  |\r\n// | Translated: Alleman Chie and Geeklog Japanese                             |\r\n// +---------------------------------------------------------------------------+\r\n// | This program was originally made for Japanese users. Several              |\r\n// | parts are therefore for Japanese users only and commented-out for         |\r\n// | this English version.                                                     |\r\n// | For the purpose of future upgrade for both of Japanese & English          |\r\n// | verions, those commented-out parts are remained. Wish English             |\r\n// | users understand this and ignore those parts when you use.                |\r\n// +---------------------------------------------------------------------------+\r\n\r\nglobal $_CONF, $_USER, $_PLUGINS;\r\nif (!defined(\'XHTML\')) define(\'XHTML\', \' /\');\r\n\r\n// +---------------------------------------------------------------------------+\r\n// | default setting                                                           |\r\n// +---------------------------------------------------------------------------+\r\n# form URL\r\n# $pageurl = $_SERVER[\"REQUEST_URI\"];\r\n// If $_SERVER[\"REQUEST_URI\"] doesn\'t work, \r\n// fill-in statipage ID below.\r\n// Default is \'formmail\'\r\n// *Please remove # and uncomment after filling-in ID\r\n$pageid = \'contact_en\';\r\n\r\n# receipient set\r\n#    If 2 or more receipient, each email should be commmaed. no space allowed.\r\n#      ex) \'info@abcd.com,admin@wxyz.com\'\r\n#    Set email for a certain colum data. If colum 1 is AAA, receipient is info@geeksite. If colum 1 is BBB, receipient becomes to admin@geeksite\r\n#    You MUST set $owner_email_item_name if you use this feature.\r\n#      ex) \'AAA=info@abcd.com,BBB=admin@wxyz.com\'\r\n\r\n$owner_email=$_CONF[\'site_mail\'];\r\n\r\n\r\n# Set colum name of receipient\r\n//  *Remember to remove * to uncomment after setting colum name.\r\n#$owner_email_item_name = \'q_mail_to\';\r\n\r\n# email of auto-reply message sender\r\n$email_from = $_CONF[\'site_mail\'];\r\n#\'noreply_mail\' can be used if your Geeklog version is 1.5 or later.\r\n#$email_from = $_CONF[\'noreply_mail\'];\r\n\r\n# inquirer email\'s item name\r\n$email_input_name = \'q_mail\';\r\n\r\n# email double check\r\n#   no space allowed.\r\n#     ex) \'email=reemail\'\r\n$essential_email = \'q_mail=q_mail_re\';\r\n\r\n\r\n# email check\r\n#   check if input string is proper email address\r\n#   value of name attrubute with commas. no space is allowed.\r\n#     ex) \'email,reemail\'\r\n\r\n$propriety_email = \'q_mail,q_mail_re\';\r\n\r\n# use Geeklog\'s userset if logged-in\r\n#   use username, full name & email of login users\r\n#\r\n$username = \'\'; $user_email = \'\';\r\nif (isset ($_USER[\'uid\']) && ($_USER[\'uid\'] > 1)) {\r\n    $username = isset($_USER[\'fullname\']) ? $_USER[\'fullname\'] : $_USER[\'username\'];\r\n    $user_email = $_USER[\'email\'];\r\n}\r\n\r\n# save as CSV file\r\n#   not save: 0, save with commas: 1, save with tabs: 2\r\n$save_csv = 1;\r\n\r\n# path for CSV file to be saved. / is mandatory at the end of URL If you specify# bare # path.\r\n$save_csv_path = $_CONF[\'path_data\'];\r\n\r\n# CSV file name\r\n$save_csv_name = \'formmail.csv\';\r\n\r\n# character code at saving CSV file\r\n#   If no code conversion is necesasry, make it blank, ie \'\' to disable this\r\n#   feature. If garbled, make this disabled and use another tool.\r\n#   Remember to use a code which mb_convert_encoding is covering\r\n#   ex) UTF-8, SJIS, EUC-JP, JIS, ASCII\r\n$save_csv_lang = \'UTF-8\';\r\n\r\n//# For Japanese language only.\r\n//#   Set colums that auto-convert from zenkaku to hankaku neccessary.\r\n//#   Specify name attribute\'s values one by one with commas. no space allowed.\r\n// $zentohan_itemname = \'q_phone,q_code1_1,q_code2_1,q_code3_1,q_code1_2,q_code2_2,q_code3_2,q_code1_3,q_code2_3,q_code3_3\';\r\n\r\n//# For Japanese language only.\r\n//#   Set colums that auto-convert from hankaku to zenkaku neccessary.\r\n//#   Specify name attribute\'s values one by one with commas. no space allowed.\r\n// $kana_hantozen_itemname = \'q_kana_1,q_kana_2\';\r\n\r\n//# For Japanese language only.\r\n//#   Set colums that auto-convert from hiragana to katakana necessary.\r\n//#   Specify name attribute\'s values one by one with commas. no space allowed.\r\n// $kana_hiratokana_itemname = \'q_kana_1,q_kana_2\';\r\n\r\n# ==CAPTCHA==\r\n#   error message if no CAPTHCA is istalled\r\n$msg_spformmail_notinstall_captcha = \'CAPTCHA plugin is not installed\';\r\n#   error message after formmail used with CAPTCHA.\r\n#     *if blaked, error message of CAPTCHA plugin is used\r\n#     *if you speciy message here, it will be used\r\n$msg_spformmail_valid_captcha = \'\';\r\n#\r\n#   *You can make your own CAPTCHA template\r\n#   if public_html/layout/<themename>/sp_formmail/captcha.thmtl found, this will be adopted\r\n#   private/plugins/captcha/templates/captcha_others.thtml is used by default\r\n#\r\n\r\n# item names at screen transition\r\n$seni_items = array(\'input\' => \'Input\', \'confirm\' => \'Confirm\', \'finish\' => \'Complete\');\r\n\r\n# string for mondatory item\r\n$required_string = \'<span class=\"spf_required\">*</span>\';\r\n\r\n# ==About date and time==\r\n#   The date on the following JavaScript calendar.\r\n#     php date format. ref: http://www.php.net/manual/en/function.date.php\r\n#     \"d, D, j, l, N, w, S, F, m, M, n, Y, y\" can be assigned.\r\n$date_js_cal = \'d/m/Y\';\r\n#   The receipt date and time indicated in an email.\r\n#     Any php date format can be used here. (ref: http://www.php.net/manual/en/function.date.php)\r\n$date_mail = \'M j Y H:i\';\r\n#   When the csv is outputted, the date and time are written to the first row of the csv.\r\n#     Any php date format can be used here. (ref: http://www.php.net/manual/en/function.date.php)\r\n$date_csv = \'M j Y H:i\';\r\n\r\n# use JavaScript library for calendar\r\n$use_jslib = TRUE;\r\n\r\n# declaration of JavaScript library etc\r\n#   JavaScript+CSS for calendar\r\n#     Calendar RC4, (c) 2007 Aeron Glemann <http://electricprism.com/aeron>, MIT Style License\r\n#     (http://www.electricprism.com/aeron/calendar/)\r\n$def_jslib = <<<JSLIB\r\n\r\n<script type=\"text/javascript\" src=\"{$_CONF[\'site_url\']}/javascript/calendar/mootools.js\"></script>\r\n<script type=\"text/javascript\" src=\"{$_CONF[\'site_url\']}/javascript/calendar/calendar.js\"></script>\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"{$_CONF[\'site_url\']}/javascript/calendar/calendar.css\" media=\"screen\"{XHTML}>\r\n<script type=\"text/javascript\">\r\n window.addEvent(\'domready\', function() { myCal = new Calendar({ q_date1: \'$date_js_cal\' }, { days: [\'SUN\',\'MON\',\'TUE\',\'WED\',\'THU\',\'FRI\',\'SAT\'], months: [\'JAN\',\'FEB\',\'MAR\',\'APR\',\'MAY\',\'JUN\',\'JUL\',\'AUG\',\'SEP\',\'OCT\',\'NOV\',\'DEC\'] }); });\r\n</script>\r\nJSLIB;\r\n\r\n#####\r\n# display message\r\n#####\r\n$lang = array(\r\n// { complete & email message\r\n  \'receipt_admin\' =>\'Dear admins,\'.LB.LB.$_CONF[\'site_name\'].\' site received a inquiry.\'.LB.LB.\'========== Inquiry ==========\'.LB.\'receipt at:\'.date($date_mail),\r\n  \'receipt_user\' =>\'*This email is sent from \'.$_CONF[\'site_name\'].\' site automatically.\'.LB.\'This email address is used for transmission only and not repliable.\'.LB.\'=============================\'.LB.\'Thank you very much for your inquiry.\'.LB.LB.\'========== Inquiry ==========\'.LB.\'Receipt at:\'.date($date_mail),\r\n  \'subject_admin\'=> \'[\'.$_CONF[\'site_name\'].\']Inquiry\',\r\n  \'subject_user\'=> \'[\'.$_CONF[\'site_name\'].\']Thanks for your inquiry\',\r\n  \'sign_admin\'    => \'-----------------------------------------\'.LB.$_CONF[\'site_name\'].LB.$_CONF[\'site_url\'].LB.\'-----------------------------------------\',\r\n  \'sign_user\'    => \'-----------------------------------------\'.LB.$_CONF[\'site_name\'].LB.\'URL:\' . $_CONF[\'site_url\'].LB.\'-----------------------------------------\',\r\n// } complete & email message\r\n// { system error message\r\n  \'ownertransmiterror\'=>\'An error has occurred at several email addresses during processing owner email, but process continued and completed.\',\r\n  \'transmiterror\'=>\'An error has occurred during processing.\',\r\n// } system error message\r\n);\r\n\r\n\r\n\r\n#####\r\n# table\'s item names\r\n#####\r\n$form_items = array(\r\n  // < table\r\n  array(\'title\' => \'Personal Information\', \'table\' => array(\r\n    // < table 1 row\r\n    array(\'header\' => \'Name\', \'valid_notkanahan\' => \'q_name\', \'data\' =>\r\n        array(\r\n            array(\'type\' => \'text\',\r\n                  \'name\' => \'q_name\',\r\n                  \'size\' => \'40\',\r\n                  \'maxlength\' => \'60\',\r\n            ),\r\n            array(\'input\' => \'<br\'.XHTML.\'>\'),\r\n        ),\r\n    ),\r\n    // > table 1 row\r\n    // < table 1 row\r\n    array(\'header\' => \'Email\',\r\n          \'valid_require\' => $required_string, \'error_require\' => \'Please type your email address.\',\r\n          \'valid_equal\' => $essential_email, \'error_equal\' => \'Email address not match.\',\r\n          \'valid_email\' => $propriety_email, \'error_email\' => \'Please type out proper email address.\',\r\n          \'data\' =>\r\n        array(\r\n            array(\'type\' => \'text\',\r\n                  \'name\' => \'q_mail\',\r\n                  \'size\' => \'40\',\r\n                  \'maxlength\' => \'240\',\r\n                  \'class\' => \'bginput\',\r\n                  \'value\' => $user_email\r\n            ),\r\n            array(\'input\' => \'<br\'.XHTML.\'>\'),\r\n            array(\'type\' => \'text\',\r\n                  \'name\' => \'q_mail_re\',\r\n                  \'size\' => \'40\',\r\n                  \'maxlength\' => \'240\',\r\n                  \'class\' => \'bginput\',\r\n                  \'not_confirm\' => \'true\',\r\n                  \'not_csv\' => \'true\',\r\n                  \'value\' => $user_email\r\n            ),\r\n            array(\'string\' => \'<br\'.XHTML.\'>\'),\r\n            array(\'input\' => \'Please enter your e-mail address again to confirm.\'),\r\n        ),\r\n    ),\r\n    // > table 1 row\r\n   ),\r\n  ),\r\n  // > table\r\n  // < table\r\n  array(\'title\' => \'Preferences\', \'table\' => array(\r\n    // < rable 1 row\r\n    array(\'header\' => \'Comments\', \'valid_maxlen\' => \'q_other=200\', \'error_maxlen\' => \'Please complete within 200 characters.\', \'data\' =>\r\n        array(\r\n            array(\'type\' => \'textarea\',\r\n                  \'name\' => \'q_other\',\r\n                  \'class\' => \'bginput\',\r\n                  \'style\' => \'width: 95%; height: 100px;\',\r\n                  \'onKeyup\' => \"var n=200-this.value.length;var s=document.getElementById(\'tasp1\');s.innerHTML=\'(\'+n+\')\';\"\r\n            ),\r\n            array(\'input\' => \'<br\'.XHTML.\">*Please enter your comments up to 200 characters. <strong><span id=\'tasp1\'></span><strong><br\".XHTML.\'>\'),\r\n        ),\r\n    ),\r\n    // > table 1 row\r\n   ),\r\n  ),\r\n  // > table\r\n  // < submit button - input\r\n  array(\'action\' => \'input\', \'data\' =>\r\n      array(\r\n          array(\'string\' => \'    <div style=\"text-align: center;\" class=\"text_center mt20 mb20\">\'),\r\n          array(\'type\' => \'submit\',\r\n                \'name\' => \'submit\',\r\n                \'class\' => \'button_form_next\',\r\n                \'value\' => \'Confirm\'\r\n          ),\r\n          array(\'string\' => \'</div>\'),\r\n      ),\r\n  ),\r\n  // > submit button - input\r\n  // < submit button - confirm\r\n  array(\'action\' => \'confirm\', \'data\' =>\r\n      array(array(\'string\' => \'    <div style=\"text-align: center;\" class=\"text_center mt20 mb20\">\'),\r\n          array(\'type\' => \'submit\',\r\n                \'name\' => \'goback\',\r\n                \'class\' => \'button_form_prev\',\r\n                \'value\' => \'Return to the previous page.\'\r\n          ),\r\n          array(\'string\' => \'&nbsp;\'),\r\n          array(\'type\' => \'submit\',\r\n                \'name\' => \'submit\',\r\n                \'class\' => \'button_form_next\',\r\n                \'value\' => \'Submit\'\r\n          ),\r\n          array(\'string\' => \'</div>\'),\r\n      ),\r\n  ),\r\n  // > submit button - confirm\r\n);\r\n\r\n\r\n\r\n// +---------------------------------------------------------------------------+\r\n// | initial process                                                           |\r\n// +---------------------------------------------------------------------------+\r\n//# For Japanese language only.\r\n//# Direct convert of POST data, ie. from em-size to normal-width and from \r\n//# the katakana normal-width to the katakana. This is for Japanese user only.\r\n//# This program was originally made for Japanese users. Several parts are \r\n//# therefore for Japanese users only. We commented those parts \r\n//# out for this English version. \r\n//# For the convenience of authors of future upgrade for both of Japanese \r\n//# & English versions, those parts for Japanese users are remained in php \r\n//# files. Wish English users understand this and ignore those parts when \r\n//# you use this php.\r\n\r\n//if (!empty($zentohan_itemname)) { foreach (explode(\',\',$zentohan_itemname) as $k) { if (!empty($_POST[$k])) $_POST[$k] = mb_convert_kana($_POST[$k], \'askh\'); } }\r\n//if (!empty($kana_hantozen_itemname)) { foreach (explode(\',\',$kana_hantozen_itemname) as $k) { if (!empty($_POST[$k])) $_POST[$k] = mb_convert_kana($_POST[$k], \'K\'); } }\r\n//if (!empty($kana_hiratokana_itemname)) { foreach (explode(\',\',$kana_hiratokana_itemname) as $k) { if (!empty($_POST[$k])) $_POST[$k] = mb_convert_kana($_POST[$k], \'C\'); } }\r\n# process data for saving\r\nforeach ($_POST as $k => $v) {\r\n    $fld_list[$k] = preg_replace(\'/,/\', \'，\', $_POST[$k]);\r\n    $fld_list[$k] = preg_replace(\'/\"/\', \'”\', $fld_list[$k]);\r\n    $fld_list[$k] = preg_replace(\"/\'/\", \"’\", $fld_list[$k]);\r\n    $fld_list[$k] = preg_replace(\'/`/\', \'‘\', $fld_list[$k]);\r\n    $fld_list[$k] = preg_replace(\'/;/\', \'；\', $fld_list[$k]);\r\n    $fld_list[$k] = preg_replace(preg_quote(\'#\'.chr(92).\'#\'), \'￥\', $fld_list[$k]);\r\n    $fld_list[$k] = COM_applyFilter($fld_list[$k]);\r\n}\r\n# full path of CSV file\r\n$save_csv_file = $save_csv_path . $save_csv_name;\r\n# create pageurl from pageid\r\nif (!empty($pageid)) { $pageurl = COM_buildUrl($_CONF[\'site_url\'].\'/staticpages/index.php?page=\'.$pageid); }\r\n\r\n// +---------------------------------------------------------------------------+\r\n// | functions:                                                                |\r\n// +---------------------------------------------------------------------------+\r\nif(!function_exists(\'getAction\')){\r\nfunction getAction ($err) {\r\n    $buf = \'\';\r\n    $action = COM_applyFilter($_POST[\'action\']);\r\n    if (!empty($action) && empty($err) && $action == \'input\') { $buf = \'confirm\'; }\r\n    elseif (!empty($action) && empty($err) && $action == \'confirm\') { $buf = empty($_POST[\'goback\']) ? \'finish\' : \'input\'; }\r\n    else { $buf = \'input\'; }\r\n    return $buf;\r\n}\r\n\r\nfunction mkJS4MG ($lib) {\r\n    $buf = preg_replace(\"@<script[^>]+mootools.js[^>]+>[^<]*</script>@\", \"\", $lib);\r\n    return str_replace(\'calendar.js\', \'calendar_mg.js\', $buf);\r\n}\r\n\r\nfunction mkJS ($use,$lib,$action,$plg) {\r\n    $buf=\'\';\r\n    if (!empty($action) && $action == \'input\' && isset($use) && $use == TRUE) {\r\n        if (in_array(\'mediagallery\', $plg)) {\r\n            global $_MG_CONF;\r\n            $mgv = $_MG_CONF[\'pi_version\'];\r\n            $mglib = $_MG_CONF[\'js_lib\'];\r\n            if (!empty($mgv) && !empty($mglib) && (version_compare($mgv, \'1.6.10\', \'<\') || strtolower($mglib) == \'mootools\')) {\r\n                $buf = mkJS4MG($lib);\r\n            } elseif(!empty($mglib) && strtolower($mglib) == \'jquery\') {\r\n                $buf = <<<JQNC\r\n<script>\r\n<!--\r\njQuery.noConflict();\r\n-->\r\n</script>{$lib}\r\nJQNC;\r\n            } else {\r\n                $buf = $lib;\r\n            }\r\n        } else {\r\n            $buf = $lib;\r\n        }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkSeni ($items, $action) {\r\n    $buf = \'<ul>\'.LB;\r\n    foreach ($items as $key => $value) {\r\n        if ($action == $key) {\r\n            $buf .= \'    <li class=\"on\">\'.$value.\'</li>\'.LB;\r\n        } else {\r\n            $buf .= \'    <li>\'.$value.\'</li>\'.LB;\r\n        }\r\n    }\r\n    $buf .= \'</ul>\'.LB;\r\n    return $buf;\r\n}\r\n\r\nfunction putiFilter($s) {\r\n    $se = array(\'%\',\'(\',\')\',chr(92),chr(13).chr(10),chr(13),chr(10));\r\n    $re = array(\'&#37;\',\'&#40;\',\'&#41;\',\'&#92;\',\'\',\'\',\'\');\r\n    return str_replace($se, $re, htmlspecialchars($s,ENT_QUOTES));\r\n}\r\n\r\nfunction vldCAPTCHA ($type, $errmsg) {\r\n    global $_CP_CONF, $_USER;\r\n    $msg = \'\';\r\n    if (!function_exists(\'CAPTCHA_sid\')) { return $msg; }\r\n    if ( ($_CP_CONF[\'anonymous_only\'] && $_USER[\'uid\'] < 2) || $_CP_CONF[\'anonymous_only\'] == 0 || ($_CP_CONF[\'remoteusers\'] == 1 && SEC_inGroup(\"Remote Users\") ) ) {\r\n        $str = COM_applyFilter($_POST[\'captcha\']);\r\n        list( $rc, $msg )  = CAPTCHA_checkInput( $type, $str );\r\n    }\r\n    if ( !empty($msg) && !empty($errmsg) ) { $msg = $errmsg; }\r\n    return $msg;\r\n\r\n}\r\n\r\nfunction vld_isPhone($s) { return (preg_match(\'/^(?:[0-9\'.chr(92).\'+\'.chr(92).\'-\'.chr(92).\'s])+$/D\',$s)) ? TRUE : FALSE; }\r\nfunction vld_isHankaku($s) { return (preg_match(\'/^(?:\'.chr(92).\'xEF\'.chr(92).\'xBD[\'.chr(92).\'xA1-\'.chr(92).\'xBF]|\'.chr(92).\'xEF\'.chr(92).\'xBE[\'.chr(92).\'x80-\'.chr(92).\'x9F]|[\'.chr(92).\'x20-\'.chr(92).\'x7E])+$/D\',$s)) ? TRUE : FALSE; }\r\nfunction vld_isZenkaku($s) { return (preg_match(\'/(?:\'.chr(92).\'xEF\'.chr(92).\'xBD[\'.chr(92).\'xA1-\'.chr(92).\'xBF]|\'.chr(92).\'xEF\'.chr(92).\'xBE[\'.chr(92).\'x80-\'.chr(92).\'x9F]|[\'.chr(92).\'x20-\'.chr(92).\'x7E])+/D\',$s)) ? FALSE : TRUE; }\r\nfunction vld_isEisuHan($s) { return (preg_match(\'/^(?:[0-9A-Za-z])+$/D\',$s)) ? TRUE : FALSE; }\r\nfunction vld_isKanaZen($s) { return (preg_match(\'/^(?:\'.chr(92).\'xE3\'.chr(92).\'x82[\'.chr(92).\'xA1-\'.chr(92).\'xBF]|\'.chr(92).\'xE3\'.chr(92).\'x83[\'.chr(92).\'x80-\'.chr(92).\'xB6])+$/D\',$s)) ? TRUE : FALSE; }\r\nfunction vld_isHiraZen($s) { return (preg_match(\'/^(?:\'.chr(92).\'xE3\'.chr(92).\'x81[\'.chr(92).\'x81-\'.chr(92).\'xBF]|\'.chr(92).\'xE3\'.chr(92).\'x82[\'.chr(92).\'x80-\'.chr(92).\'x93])+$/D\',$s)) ? TRUE : FALSE; }\r\nfunction vld_isNotKanaHan($s) { return (preg_match(\'/(?:\'.chr(92).\'xEF\'.chr(92).\'xBD[\'.chr(92).\'xA1-\'.chr(92).\'xBF]|\'.chr(92).\'xEF\'.chr(92).\'xBE[\'.chr(92).\'x80-\'.chr(92).\'x9F])+/D\',$s)) ? TRUE : FALSE; }\r\n\r\nfunction ChkValidate ($mode, $datas, $errmsg, $attributes = \'\') {\r\n    $msg = \'\';\r\n    foreach ($datas as $data) {\r\n        if (isset($data[\'type\'])) {\r\n            $name = $data[\'name\'];\r\n            switch ($mode) {\r\n                // check required item\r\n                case \'require\':\r\n                    if (empty($data[\'notrequire\']) && empty($_POST[$name]) && $_POST[$name] != \"0\") { $msg = $errmsg; }\r\n                    break;\r\n                // check matching\r\n                case \'equal\':\r\n                    if (!empty($attributes)) {\r\n                        $es_emails = explode(\',\', $attributes);\r\n                        foreach ($es_emails as $es_email) {\r\n                            list($eq1,$eq2) = explode(\'=\', $es_email);\r\n                            // initial key ANT it exist\r\n                            if ($name == $eq1 && !empty($_POST[$eq2])) {\r\n                                if ($_POST[$eq1] != $_POST[$eq2]) {\r\n                                    $msg = $errmsg;\r\n                                }\r\n                            }\r\n                        }\r\n                    }\r\n                    break;\r\n                // email check\r\n                case \'email\':\r\n                    if (!empty($attributes)) {\r\n                        $pr_emails = explode(\',\', $attributes);\r\n                        foreach ($pr_emails as $pr_email) {\r\n                            if ($name == $pr_email) {\r\n                                if (!COM_isemail($_POST[$name])) {\r\n                                    $msg = $errmsg;\r\n                                }\r\n                            }\r\n                        }\r\n                    }\r\n                    break;\r\n                // num check - sum is more than 0\r\n                case \'notzero\':\r\n                    if (!empty($attributes)) {\r\n                        $values_key = explode(\',\', $attributes);\r\n                        foreach ($values_key as $val_key) {\r\n                            // check at initial key\r\n                            if ($name == $val_key) {\r\n                                $sum_val = 0;\r\n                                foreach ($values_key as $chk_key) {\r\n                                    if (!empty($_POST[$chk_key])) {\r\n                                        $sum_val += $_POST[$chk_key];\r\n                                    }\r\n                                }\r\n                                if ($sum_val <= 0) {\r\n                                    $msg = $errmsg;\r\n                                    break;\r\n                                }\r\n                            }\r\n                        }\r\n                    }\r\n                    break;\r\n                // check if numeric\r\n                case \'numeric\':\r\n                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\") && in_array($name,explode(\',\',$attributes)) && !ctype_digit($_POST[$name])) { $msg = $errmsg; }\r\n                    break;\r\n                // check if phone\r\n                case \'phone\':\r\n                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\") && in_array($name,explode(\',\',$attributes)) && !vld_isPhone($_POST[$name])) { $msg = $errmsg; }\r\n                    break;\r\n                // (For Japanese language only) Check byte\r\n//                case \'hankaku\':\r\n//                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\") && in_array($name,explode(\',\',$attributes)) && !vld_isHankaku($_POST[$name])) { $msg = $errmsg; }\r\n//                    break;\r\n                // (For Japanese language only) Check em\r\n//                case \'zenkaku\':\r\n//                    if (!empty($_POST[$name]) && in_array($name,explode(\',\',$attributes)) && !vld_isZenkaku($_POST[$name])) { $msg = $errmsg; }\r\n//                    break;\r\n                // (For Japanese language only) Alphanumeric check\r\n//                case \'eisuhan\':\r\n//                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\") && in_array($name,explode(\',\',$attributes)) && !vld_isEisuHan($_POST[$name])) { $msg = $errmsg; }\r\n//                    break;\r\n                // (For Japanese language only) Check em katakana\r\n//                case \'kanazen\':\r\n//                    if (!empty($_POST[$name]) && in_array($name,explode(\',\',$attributes)) && !vld_isKanaZen($_POST[$name])) { $msg = $errmsg; }\r\n//                    break;\r\n                // (For Japanese language only) Check em hiragana\r\n//                case \'kanazen\':\r\n//                    if (!empty($_POST[$name]) && in_array($name,explode(\',\',$attributes)) && !vld_isHiraZen($_POST[$name])) { $msg = $errmsg; }\r\n//                    break;\r\n                // (For Japanese language only) Check for non-katakana\r\n//                case \'notkanahan\':\r\n//                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\") && in_array($name,explode(\',\',$attributes)) && vld_isNotKanaHan($_POST[$name])) { $msg = $errmsg; }\r\n//                    break;\r\n                // check max length\r\n                case \'maxlen\':\r\n                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\")) {\r\n                        foreach (explode(\',\', $attributes) as $attr1) {\r\n                            list($name2,$max2) = explode(\'=\',$attr1);\r\n                            if ($name === $name2) {\r\n                                if ($max2 < mb_strlen($_POST[$name], \'UTF-8\')) { $msg = $errmsg; }\r\n                            }\r\n                        }\r\n                    }\r\n                    break;\r\n                // check min length\r\n                case \'minlen\':\r\n                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\")) {\r\n                        foreach (explode(\',\', $attributes) as $attr1) {\r\n                            list($name2,$min2) = explode(\'=\',$attr1);\r\n                            if ($name === $name2) {\r\n                                if ($min2 > mb_strlen($_POST[$name], \'UTF-8\')) { $msg = $errmsg; }\r\n                            }\r\n                        }\r\n                    }\r\n                    break;\r\n            }\r\n        }\r\n    }\r\n    // check CAPTCHA\r\n    if ( $mode == \'captcha\' ) { $msg = vldCAPTCHA(\'sp_formmail\', $errmsg); }\r\n    return $msg;\r\n}\r\n\r\nfunction ChkFormValidateLines ($lines) {\r\n    $errmsg;\r\n    foreach (array(\'require\',\'equal\',\'email\',\'notzero\',\'numeric\',\'phone\',\'hankaku\',\'zenkaku\',\'eisuhan\',\'kanazen\',\'hirazen\',\'notkanahan\',\'captcha\',\'maxlen\',\'minlen\') as $chk) {\r\n        // check require,match,email,CAPTCH,error\r\n        if (isset($lines[\'valid_\'.$chk])) {\r\n            $errmsg = ChkValidate($chk, $lines[\'data\'], $lines[\'error_\'.$chk], $lines[\'valid_\'.$chk]);\r\n            // arrays if error found\r\n            if ($errmsg) {\r\n                break;\r\n            }\r\n        }\r\n    }\r\n    return $errmsg;\r\n}\r\n\r\nfunction ChkFormValidate ($items) {\r\n    $errs;\r\n    foreach ($items as $item) {\r\n        // eah table\r\n        foreach ($item as $key => $value) {\r\n            // 1 table\r\n            if ($key == \'table\' || $key == \'table_captcha\') {\r\n                $action = getAction(\'\');\r\n                if ($key == \'table_captcha\' && $action == \'finish\') { continue; }\r\n                foreach ($value as $key2 => $value2) {\r\n                    // table 1 row\r\n                    $errmsg = ChkFormValidateLines($value2);\r\n                    if ($errmsg) { $errs[] = $errmsg; }\r\n                }\r\n            }\r\n        }\r\n    }\r\n    return $errs;\r\n}\r\n\r\nfunction FormValidate ($items) {\r\n    $buf = \'\';\r\n    $errs = ChkFormValidate($items);\r\n    if (!empty($errs)) {\r\n        $errmsg = \'\';\r\n        foreach ($errs as $err) {\r\n            $errmsg .= \'    <li>\'.$err.\'</li>\'.LB;\r\n        }\r\n        $buf = <<<END\r\n\r\n<p class=\"error\">Some error found. Please check below and correct your input.</p>\r\n<ol class=\"errorList\">\r\n$errmsg\r\n</ol>\r\nEND;\r\n    }\r\n    return $buf;\r\n}\r\n\r\n\r\nfunction mkTitle ($title) {\r\n    return <<<END\r\n\r\n    <h4>$title</h4>\r\n    <table class=\"formmail\" cellspacing=\"0\">\r\n        <colgroup><col width=\"130\" /></colgroup>\r\n        <tbody>\r\nEND;\r\n}\r\n\r\nfunction mkForm_Value ($name, $value) {\r\n    return (empty($_POST[$name]) && $_POST[$name] != \"0\") ? $value : putiFilter($_POST[$name]);\r\n}\r\n\r\nfunction mkForm_Radio_Checked (&$attributes) {\r\n    $name = $attributes[\'name\'];\r\n    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\")) {\r\n        if (isset($attributes[\'checked\'])) unset($attributes[\'checked\']);\r\n        if ($_POST[$name] == $attributes[\'value\']) {\r\n            $attributes[\'checked\'] = \'checked\';\r\n        }\r\n    }\r\n}\r\n\r\nfunction mkForm_Input ($attributes, $hidden = false) {\r\n    if ($hidden) {\r\n        if ($attributes[\'type\'] == \'radio\' || $attributes[\'type\'] == \'checkbox\') {\r\n            if ($attributes[\'value\'] != $_POST[$attributes[\'name\']]) return \'\';\r\n        }\r\n        $attributes[\'type\'] = \'hidden\';\r\n    }\r\n    if ($attributes[\'type\'] == \'radio\' || $attributes[\'type\'] == \'checkbox\') {\r\n        mkForm_Radio_Checked($attributes);\r\n    } else {\r\n        if ($attributes[\'type\'] != \'submit\') $attributes[\'value\'] = mkForm_Value($attributes[\'name\'], $attributes[\'value\']);\r\n    }\r\n    $buf = \'<input\';\r\n    foreach ($attributes as $key => $value) {\r\n        if ($key != \'not_confirm\') { $buf .= \' \'.$key.\'=\"\'.$value.\'\"\'; }\r\n    }\r\n    $buf .= XHTML.\'>\';\r\n    if ($hidden || $attributes[\'type\'] == \'checkbox\') {\r\n        if ( !isset($attributes[\'not_confirm\']) || ! $attributes[\'not_confirm\'] ) { $buf .= \' \' . $attributes[\'value\']; }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkForm_Select_Options ($name, $attributes) {\r\n    $buf = \'\';\r\n    $selected = mkForm_Value($name, $attributes[\'selected\']);\r\n    $values = explode(\',\', $attributes[\'values\']);\r\n    foreach ($values as $value) {\r\n        list($k,$v) = explode(\'=\',$value);\r\n        if (empty($v)) $v = $k;\r\n        if ($selected == $k) {\r\n            $buf .= \'<option selected=\"selected\" value=\"\'.$v.\'\">\'.$k.\'</option>\';\r\n        } else {\r\n            $buf .= \'<option value=\"\'.$v.\'\">\'.$k.\'</option>\';\r\n        }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkForm_Select ($attributes) {\r\n    $buf = \'<select\';\r\n    foreach ($attributes as $key => $value) {\r\n        if ($key != \'options\') {\r\n            $buf .= \' \'.$key.\'=\"\'.$value.\'\"\';\r\n        }\r\n    }\r\n    $buf .= \'>\';\r\n    $buf .= mkForm_Select_Options($attributes[\'name\'], $attributes[\'options\']);\r\n    $buf .= \'</select>\';\r\n    return $buf;\r\n}\r\n\r\nfunction mkForm_Textarea ($attributes) {\r\n    $attributes[\'value\'] = mkForm_Value($attributes[\'name\'], $attributes[\'value\']);\r\n    $buf = \'<textarea\';\r\n    foreach ($attributes as $key => $value) {\r\n        if ($key != \'value\') $buf .= \' \'.$key.\'=\"\'.$value.\'\"\';\r\n    }\r\n    $buf .= \'>\'.$attributes[\'value\'].\'</textarea>\';\r\n    return $buf;\r\n}\r\n\r\nfunction mkForm_Item ($items, $action) {\r\n    $buf = \'\';\r\n    if ($action != \'input\' && $items[\'type\'] != \'submit\' && $items[\'type\'] != \'hidden\') {\r\n        $buf .= mkForm_Input($items, true);\r\n    } else {\r\n        switch ($items[\'type\']) {\r\n            case \'text\': $buf .= mkForm_Input($items); break;\r\n            case \'password\': $buf .= mkForm_Input($items); break;\r\n            case \'hidden\': $buf .= mkForm_Input($items); break;\r\n            case \'radio\': $buf .= mkForm_Input($items); break;\r\n            case \'checkbox\': $buf .= mkForm_Input($items); break;\r\n            case \'select\': $buf .= mkForm_Select($items); break;\r\n            case \'textarea\': $buf .= mkForm_Textarea($items); break;\r\n            case \'submit\': $buf .= mkForm_Input($items); break;\r\n            case \'reset\': $buf .= mkForm_Input($items); break;\r\n            case \'button\': $buf .= mkForm_Input($items); break;\r\n        }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkTable_Data ($datas, $action) {\r\n    $buf = \'\';\r\n    foreach ($datas as $data) {\r\n        // 1data\r\n        if (!empty($data[\'type\'])) {\r\n            // form\r\n            $buf .= mkForm_Item($data, $action);\r\n        }\r\n        else {\r\n            // strings\r\n            foreach ($data as $key => $value) {\r\n                if ($key == \'string\') {\r\n                    $buf .= $value;\r\n                } elseif ($key == $action) {\r\n                    $buf .= $value;\r\n                }\r\n            }\r\n        }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction plugin_templatePath_sp_formmail () {\r\n    global $_CONF;\r\n    $pi_name = \'sp_formmail\';\r\n    $layout_path = $_CONF[\'path_layout\'] . $pi_name;\r\n    return $layout_path;\r\n}\r\n\r\nfunction chk_Use_CAPTCHA_HTML () {\r\n    global $_CP_CONF, $_USER;\r\n    if ( ($_CP_CONF[\'anonymous_only\'] && $_USER[\'uid\'] < 2) || $_CP_CONF[\'anonymous_only\'] == 0 || ($_CP_CONF[\'remoteusers\'] == 1 && SEC_inGroup(\"Remote Users\") ) ) {\r\n        return true;\r\n    }\r\n    return false;\r\n}\r\nfunction mkCAPTCHA_HTML ($name, $msg_notcaptcha) {\r\n    global $_CP_CONF, $_USER, $_TABLES;\r\n    $captcha = \'\';\r\n    if (!function_exists(\'CAPTCHA_sid\')) { return $msg_notcaptcha; }\r\n    if ( chk_Use_CAPTCHA_HTML() ) {\r\n\r\n        $csid = 0;\r\n        if ($_CP_CONF[\'gfxDriver\'] != 1) {\r\n\r\n            // housekeeping, delete old captcha sessions\r\n            $oldSessions = time() - ($_CP_CONF[\'expire\']+900);\r\n            DB_query(\"DELETE FROM {$_TABLES[\'cp_sessions\']} WHERE cptime < \" . $oldSessions,1);\r\n\r\n            // OK, we need to insert the CAPTCHA, so now we need to setup the session_id:\r\n\r\n            // check to see if a failed entry happened...\r\n            if ( isset($_POST[\'csid\']) ) {\r\n                $csid = COM_applyFilter($_POST[\'csid\']);\r\n            } else {\r\n                $csid = CAPTCHA_sid();\r\n            }\r\n            $time    = time();\r\n            $counter = 0;\r\n            $validation = \'\';  // this will be filled in by the CAPTCHA\r\n\r\n                \"  `session_id` varchar(40) NOT NULL default \'\', \" .\r\n                \"  `cptime`  INT(11) NOT NULL default 0, \" .\r\n                \"  `validation` varchar(40) NOT NULL default \'\', \" .\r\n                \"  `counter`    TINYINT(4) NOT NULL default 0, \" .\r\n\r\n            DB_save($_TABLES[\'cp_sessions\'],\"session_id,cptime,validation,counter\",\"\'$csid\',\'$time\',\'\',\'0\'\");\r\n        }\r\n\r\n        $captcha = CAPTCHA_getHTML($csid,$name);\r\n    }\r\n    return $captcha;\r\n}\r\n\r\nfunction mkTable ($tables, $action) {\r\n    $buf = \'\';\r\n    foreach ($tables as $lines) {\r\n        $flg_valid_captcha = false;\r\n        $errflg = \'\';\r\n        $tdclass=\'\';\r\n        $buf .= LB .\'            <tr>\' . LB;\r\n        $buf .= \'                <th>\';\r\n        if (isset($lines[\'header\'])) { $buf .= $lines[\'header\']; }\r\n        if (isset($lines[\'header_captcha\'])) { $buf .= $lines[\'header_captcha\']; }\r\n        if (isset($lines[\'valid_require\'])) { $buf .= $lines[\'valid_require\']; }\r\n        if (isset($lines[\'valid_captcha\'])) { $buf .= $lines[\'valid_captcha\']; $flg_valid_captcha = true; }\r\n        // error check\r\n        if (!empty($_POST)) { $errflg = ChkFormValidateLines($lines); }\r\n        if ($errflg) { $tdclass=\' class=\"warning_bgc\"\'; }\r\n        $buf .= \'</th>\'.LB;\r\n        $buf .= \'                <td\'.$tdclass.\'>\';\r\n        if (isset($lines[\'data\'])) {\r\n            if ($flg_valid_captcha) {\r\n                $buf .= mkCAPTCHA_HTML(\'sp_formmail\',$lines[\'error_notcaptcha\']);\r\n            } else {\r\n                $buf .= mkTable_Data($lines[\'data\'], $action);\r\n            }\r\n        }\r\n        $buf .= \'</td>\'.LB;\r\n        $buf .= \'            </tr>\'.LB;\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkForm ($items, $action) {\r\n    $buf = \'\';\r\n    foreach ($items as $item) {\r\n        // each table\r\n        if (!empty($item[\'table\'])) {\r\n            foreach ($item as $key => $value) {\r\n                // 1 table\r\n                switch ($key) {\r\n                    case \'title\': $buf .= mkTitle($value); break;\r\n                    case \'table\': $buf .= mkTable($value, $action); break;\r\n                }\r\n            }\r\n            $buf .= <<<END\r\n\r\n        </tbody>\r\n    </table>\r\nEND;\r\n        } elseif (!empty($item[\'table_captcha\'])) {  // CAPTCHA table\r\n            if ((!empty($action) && $action == \'input\') && chk_Use_CAPTCHA_HTML()) {\r\n                foreach ($item as $key => $value) {\r\n                    // 1 table\r\n                    switch ($key) {\r\n                        case \'title_captcha\': $buf .= mkTitle($value); break;\r\n                        case \'table_captcha\': $buf .= mkTable($value, $action); break;\r\n                    }\r\n                }\r\n                $buf .= <<<END\r\n\r\n            </tbody>\r\n        </table>\r\nEND;\r\n            } elseif (!empty($action)) {\r\n                $buf .= LB . \'    <input type=\"hidden\">\';\r\n            }\r\n        } elseif (!empty($item[\'action\'])) {         // subimit button\r\n            if ($item[\'action\'] == $action) {\r\n                $buf .= LB . \'    <input type=\"hidden\" name=\"action\" value=\"\' . $action . \'\"\' . XHTML . \'>\';\r\n                $buf .= LB . mkTable_Data($item[\'data\'], $action);\r\n            }\r\n        }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkCsv ($items, $level=0, $dupcheck=array()) {\r\n    global $_CONF;\r\n    $ret = array();\r\n    if ($level > 5) { return; } $level++;\r\n    if (!empty($items[\'type\']) && strtolower($items[\'type\']) != \'submit\' ) {\r\n        if((!empty($items[\'not_csv\']) && $items[\'not_csv\']) || empty($items[\'name\'])) { return; }\r\n        if(strtolower($items[\'type\']) == \'radio\' && in_array($items[\'name\'], $dupcheck)) { return; }\r\n        return $items[\'name\'];\r\n    } else {\r\n        if (!is_array($items)) { return; }\r\n        foreach ($items as $i) {\r\n            $name = mkCsv($i,$level, $ret);\r\n            if (!empty($name)) {\r\n                if(is_array($name)) { $ret = array_merge($ret,$name); } else { $ret[] = $name; }\r\n            }\r\n        }\r\n    }\r\n    return $ret;\r\n}\r\n}\r\n\r\n\r\n// error check\r\nif (!empty($_POST) && !empty($_POST[\'action\'])) {\r\n    $valid = FormValidate($form_items);\r\n}\r\n$action = getAction($valid);\r\n\r\n// +---------------------------------------------------------------------------+\r\n// | first step: display form (type & confirm)                                 |\r\n// +---------------------------------------------------------------------------+\r\nif ($action == \'input\' || $action == \'confirm\') {\r\n\r\n/**\r\n* form HTML { from here\r\n*/\r\n    // JS\r\n    $js = mkJS($use_jslib, $def_jslib, $action, $_PLUGINS);\r\n    // transition\r\n    $seni = mkSeni($seni_items, $action);\r\n    // input form\r\n    $form = mkForm($form_items, $action);\r\n\r\n    $retval = <<<END\r\n\r\n$js\r\n<div id=\"form_step\">\r\n$seni\r\n</div>\r\n<div id=\"FORM\">\r\n$valid\r\n<form name=\"subForm\" method=\"post\" action=\"{$pageurl}\">\r\n$form\r\n</form>\r\n</div>\r\n\r\nEND;\r\n\r\n/**\r\n* } END of form HTML\r\n*/\r\n\r\n\r\n\r\n// +---------------------------------------------------------------------------+\r\n// | SECOND STEP: Notice User Process & email submission                       |\r\n// +---------------------------------------------------------------------------+\r\n} elseif ($action == \'finish\') {\r\n\r\n/**\r\n* COMPLETE MESSAGE HTML  { from HERE\r\n*/\r\n    // transition\r\n    $seni = mkSeni($seni_items, $action);\r\n    \r\n    $out_html = <<<END\r\n\r\n<div id=\"form_step\">\r\n$seni\r\n</div>\r\n<div id=\"contact_thanks\">\r\n<p><strong>We\'ve received your inquiry.</strong></p>\r\n<p>A confirmation e-mail has been sent to you.<br />\r\nIf you do not receive it, please re-submit your inquiry with this form.</p>\r\n</div>\r\n\r\nEND;\r\n/**\r\n* } COMPLETE MESSAGE HTML ends HERE\r\n*/\r\n\r\n\r\n\r\n    # convert <br /> to LB\r\n    foreach ($fld_list as $k => $v) { $fld_list[$k] = ereg_replace(\"<br />\", LB, $fld_list[$k]); }\r\n    $lang[\'sign_admin\'] = ereg_replace(\"<br />\", LB, $lang[\'sign_admin\']);\r\n    $lang[\'sign_user\'] = ereg_replace(\"<br />\", LB, $lang[\'sign_user\']);\r\n    // input content\r\n    $input4mail=<<<END\r\nName: {$fld_list[\'q_name\']}\r\nEmail: {$fld_list[\'q_mail\']}\r\n\r\nComments:\r\n{$fld_list[\'q_other\']}\r\nEND;\r\n\r\n/**\r\n* mail to admin  { from here\r\n*/\r\n    $out_mail_admin = <<<END\r\n\r\n{$lang[\'receipt_admin\']}\r\n\r\n$input4mail\r\n\r\n{$lang[\'sign_admin\']}\r\nEND;\r\n/**\r\n* } end mail to admin\r\n*/\r\n/**\r\n* mail to sender { from here\r\n*/\r\n    $out_mail_user = <<<END\r\n\r\n{$lang[\'receipt_user\']}\r\n\r\n$input4mail\r\n\r\n{$lang[\'sign_user\']}\r\nEND;\r\n/**\r\n* } end mail to sender\r\n*/\r\n\r\n\r\n    # send email\r\n    $ownererr = false;\r\n    $ownersend = false;\r\n    $om_array = explode(\',\', $owner_email);\r\n    $owner_mails = array_unique($om_array);  # delete email double checked\r\n    if (!empty($owner_email_item_name)) {\r\n        $selmail;\r\n        foreach ($owner_mails as $v) {\r\n            list($key, $mail) = explode(\'=\', $v);\r\n            if ($_POST[$owner_email_item_name] == $key) {\r\n                $selmail = explode(\'|\', $mail);\r\n                break;\r\n            }\r\n        }\r\n        $owner_mails = $selmail;\r\n    }\r\n    $owner_subject = $lang[\'subject_admin\'];\r\n    foreach ($owner_mails as $v) {\r\n        $email1 = COM_mail( $v, \"$owner_subject\", $out_mail_admin, $email_from, false); # mail to admin\r\n        if (!$email1) { $ownererr = true; } else { $ownersend = true; }  # set flag of transmit error\r\n    }\r\n    # if error at admin email transmission\r\n    if ($ownererr) {\r\n        # if transmission succed for some of admins\r\n        if ($ownersend) {\r\n            # logs error. no error display for user since some of admin\r\n            # received the email\r\n            COM_errorLog($lang[\'ownertransmiterror\'], 1);\r\n            $email1 = true;\r\n        # if transmission failed to all admins\r\n        } elseif (!$ownersend) {\r\n            # makes it a process error. no email to user.\r\n            $email1 = false;\r\n        }\r\n    }\r\n    if ($email1) {\r\n        $usr_subject = $lang[\'subject_user\'];\r\n        $email2 = COM_mail( $fld_list[$email_input_name], \"$usr_subject\", $out_mail_user, $email_from, false); # email to user\r\n    }\r\n    if ($email1 && $email2) { # if succeed both of admins and user.\r\n        # csv output\r\n        if ($save_csv > 0) {\r\n            $fldnames = mkCsv($form_items);\r\n            $delimiter = \',\';\r\n            if ($save_csv > 1) { $delimiter = chr(9); }\r\n            $enclosure = \'\"\';\r\n            # csv output\r\n            $str = \'\';\r\n            $escape_char = chr(92);\r\n            foreach ($fldnames as $n) {\r\n                $v = empty($fld_list[$n]) ? \'\' : $fld_list[$n] ;\r\n                if (strpos($v, $delimiter) !== false ||\r\n                    strpos($v, $enclosure) !== false ||\r\n                    strpos($v, chr(10)) !== false ||\r\n                    strpos($v, chr(13)) !== false ||\r\n                    strpos($v, chr(9)) !== false ||\r\n                    strpos($v, \' \') !== false) {\r\n                  $str2 = $enclosure;\r\n                  $escaped = 0;\r\n                  $len = strlen($v);\r\n                  for ($i=0;$i<$len;$i++) {\r\n                    if ($v[$i] == $escape_char) {\r\n                      $escaped = 1;\r\n                    } else if (!$escaped && $v[$i] == $enclosure) {\r\n                      $str2 .= $enclosure;\r\n                    } else {\r\n                      $escaped = 0;\r\n                    }\r\n                    $str2 .= $v[$i];\r\n                  }\r\n                  $str2 .= $enclosure;\r\n                  $str .= $str2.$delimiter;\r\n                } else {\r\n                  $str .= $v.$delimiter;\r\n                }\r\n            }\r\n            $str = date($date_csv) . $delimiter . substr($str,0,-1);\r\n            $str .= LB;\r\n            if( !empty( $save_csv_lang ) ) {\r\n                $str = mb_convert_encoding($str, $save_csv_lang);\r\n            }\r\n            $fp = fopen($save_csv_file, \'a\');\r\n            fwrite($fp, $str);  # CSV output\r\n            fclose($fp);\r\n        }\r\n        $retval = $out_html;\r\n    } else {\r\n        $retval = $lang[\'transmiterror\']; # if email failed\r\n    }\r\n}\r\n// execute Geeklog PHP\r\necho $retval;\r\n// if you use \'execute PHP(return)\' with Geeklog 1.6 or later, Please comment (#)the above \'echo\' and uncomment the blow \'return\' to enable.\r\n# return $retval;\r\n',952,'2010-09-02 04:36:55','2010-09-02 05:28:12','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,2,0,1,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('contact_ja','お問い合わせ','','// +---------------------------------------------------------------------------+\r\n// | Geeklog FormMail Static Page                                              |\r\n// +---------------------------------------------------------------------------+\r\n// | Copyright (C) 2008-2010 by the following authors:                         |\r\n// |                                                                           |\r\n// | Authors    : Hiroshi Sakuramoto - hiro AT winkey DOT jp                   |\r\n// | Sponser    : White Bear Family CO., LTD                                   |\r\n// | Coordinate : Adeliae Planning CO., LTD -                 |\r\n// | Coordinate : IVY WE CO., LTD -                             |\r\n// | Version: 2.1.3                                                            |\r\n// +---------------------------------------------------------------------------+\r\nglobal $_CONF, $_USER, $_PLUGINS;\r\nif (!defined(\'XHTML\')) define(\'XHTML\', \' /\');\r\n\r\n// +---------------------------------------------------------------------------+\r\n// | 初期設定                                                                  |\r\n// +---------------------------------------------------------------------------+\r\n# 入力フォームのURL\r\n# $pageurl = $_SERVER[\"REQUEST_URI\"];\r\n// $_SERVER[\"REQUEST_URI\"] が使えず正しく動かない場合は以下へ、\r\n//   静的ページPHPを作成する時に入力したIDを入れてください。\r\n//   (wikiドキュメントのサンプル例だと\'formmail\')\r\n//   ※IDを入力したら先頭の#を削除してください。(コメントをはずします)\r\n$pageid = \'contact_ja\';\r\n\r\n# 問合せを管理者へ通知の設定\r\n#    複数のE-mailはカンマ(,)で区切りで指定する(スペース等はあけない)\r\n#      例) ,\'\r\n#    特定の入力項目に応じて送り先を変える\r\n#    ※この方法を利用する時は必ず $owner_email_item_name を指定してください。\r\n#      例) ,\'\r\n\r\n$owner_email=$_CONF[\'site_mail\'];\r\n\r\n\r\n# 管理者Emailを入力項目から選択する項目名\r\n//  ※送り先を変える指定をしたら先頭の#を削除してください。(コメントをはずします)\r\n#$owner_email_item_name = \'q_mail_to\';\r\n\r\n# メール送信者E-mail\r\n$email_from = $_CONF[\'site_mail\'];\r\n#Geeklog1.5から，noreplyを指定できます。\r\n#$email_from = $_CONF[\'noreply_mail\'];\r\n\r\n# 問合せ者のメールアドレスの項目名\r\n$email_input_name = \'q_mail\';\r\n\r\n# メール一致チェック項目指定\r\n#   メール確認でどちらも同じものを入力 というname属性を(=)で区切る(スペース等はあけない)\r\n#     例) \'email=reemail\'\r\n$essential_email = \'q_mail=q_mail_re\';\r\n\r\n\r\n# メールアドレスチェック項目指定\r\n#   入力された値がメールアドレスとして正しいかチェックをする\r\n#   INPUTタグの name属性の値をカンマ(,)区切りで指定する(スペース等はあけない)\r\n#     例) \'email,reemail\'\r\n\r\n$propriety_email = \'q_mail,q_mail_re\';\r\n\r\n# ログイン済みならユーザ情報を利用する指定\r\n#   ログインユーザーの名前やメールアドレスを利用\r\n#\r\n$username = \'\'; $user_email = \'\';\r\nif (isset ($_USER[\'uid\']) && ($_USER[\'uid\'] > 1)) {\r\n    $username = isset($_USER[\'fullname\']) ? $_USER[\'fullname\'] : $_USER[\'username\'];\r\n    $user_email = $_USER[\'email\'];\r\n}\r\n\r\n# CSVファイルに保存\r\n#   指定方法 保存しない: 0 , 保存する(カンマ区切り): 1 , 保存する(タブ区切り): 2\r\n$save_csv = 1;\r\n\r\n# CSVファイル保存場所 (直接入力時は最後にスラッシュ必須)\r\n$save_csv_path = $_CONF[\'path_data\'];\r\n\r\n# CSVファイル名\r\n$save_csv_name = \'formmail.csv\';\r\n\r\n# CSVファイル保存の文字コード\r\n#   文字コード変換をしない場合は \'\' と指定してください。\r\n#   機能がOFFになります。（文字化けするようなら機能を\'\'で\r\n#   OFFにして別途フリーの文字変換ツールなどをご利用ください）\r\n# 注意) mb_convert_encodingで使える文字コードを指定してください\r\n#   例) UTF-8, SJIS, EUC-JP, JIS, ASCII\r\n$save_csv_lang = \'SJIS\';\r\n\r\n# 全角を半角に変換する項目名(英数字、スペース、カタカナ、ひらがな)\r\n#   入力された値を自動で変換する項目を指定\r\n#   INPUTタグの name属性の値をカンマ(,)区切りで指定する(スペース等はあけない)\r\n$zentohan_itemname = \'q_phone,q_code1_1,q_code2_1,q_code3_1,q_code1_2,q_code2_2,q_code3_2,q_code1_3,q_code2_3,q_code3_3\';\r\n\r\n# カタカナの半角をカタカナの全角に変換する項目名\r\n#   入力された値を自動で変換する項目を指定\r\n#   INPUTタグの name属性の値をカンマ(,)区切りで指定する(スペース等はあけない)\r\n$kana_hantozen_itemname = \'q_kana_1,q_kana_2\';\r\n\r\n# ひらがなをカタカナに変換する項目名\r\n#   入力された値を自動で変換する項目を指定\r\n#   INPUTタグの name属性の値をカンマ(,)区切りで指定する(スペース等はあけない)\r\n$kana_hiratokana_itemname = \'q_kana_1,q_kana_2\';\r\n\r\n# ==画像認証関係==\r\n#   画像認証(CAPTCHA)がインストールされていない場合のエラーメッセージ\r\n$msg_spformmail_notinstall_captcha = \'CAPTCHAプラグインがインストールされていません。\';\r\n#   送信時に画像認証でエラーの場合のエラーメッセージ\r\n#     ※空文字にするとCAPTCHAプラグインが作成するエラーメッセージを使います。\r\n#     ※空文字意外にするとそれを無視して固定メッセージにできます。\r\n$msg_spformmail_valid_captcha = \'\';\r\n#\r\n#   ※ CAPTCHAのテンプレートを自由に作成することも可能\r\n#   public_html/layout/<themename>/sp_formmail/captcha.thmtl があればそちらが優先されます。\r\n#   通常は private/plugins/captcha/templates/captcha_others.thtml\r\n#\r\n\r\n# 遷移の項目名\r\n$seni_items = array(\'input\' => \'情報入力\', \'confirm\' => \'入力項目確認\', \'finish\' => \'入力完了\');\r\n\r\n# 必須入力の文字列\r\n$required_string = \'<span class=\"spf_required\">*必須</span>\';\r\n\r\n# ==日付関係==\r\n#   下記JavaScriptカレンダーでの日付表記\r\n#     phpのdate()で使う\r\n#     「d, D, j, l, N, w, S, F, m, M, n, Y, y」を指定できます。\r\n$date_js_cal = \'Y/m/d\';\r\n#   メールに記載される受付日時表記\r\n#     phpのdateのものがすべて使えます \r\n$date_mail = \'Y年m月d日H:i\';\r\n#   csv書き出し時、1列目に記載される日時表記\r\n#     phpのdateのものがすべて使えます \r\n$date_csv = \'Y/m/d H:i\';\r\n\r\n# JavaScriptライブラリの利用 (カレンダー表示用)\r\n$use_jslib = TRUE;\r\n\r\n# JavaScriptライブラリ等の宣言\r\n#   カレンダー表示用JavaScript+CSS\r\n#     Calendar RC4, (c) 2007 Aeron Glemann <>, MIT Style License\r\n#     ()\r\n$def_jslib = <<<JSLIB\r\n\r\n<script type=\"text/javascript\" src=\"{$_CONF[\'site_url\']}/javascript/calendar/mootools.js\"></script>\r\n<script type=\"text/javascript\" src=\"{$_CONF[\'site_url\']}/javascript/calendar/calendar.js\"></script>\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"{$_CONF[\'site_url\']}/javascript/calendar/calendar.css\" media=\"screen\" />\r\n<script type=\"text/javascript\">\r\n window.addEvent(\'domready\', function() { myCal = new Calendar({ q_date1: \'$date_js_cal\' }, { days: [\'日\',\'月\',\'火\',\'水\',\'木\',\'金\',\'土\'], months: [\'1月\',\'2月\',\'3月\',\'4月\',\'5月\',\'6月\',\'7月\',\'8月\',\'9月\',\'10月\',\'11月\',\'12月\'] }); });\r\n</script>\r\nJSLIB;\r\n\r\n#####\r\n# 表示メッセージ\r\n#####\r\n$lang = array(\r\n// { 完了HTML＆メールのメッセージ\r\n  \'receipt_admin\' =>\'管理者のみなさま\'.LB.LB.$_CONF[\'site_name\'].\'サイトにおいて\'.LB.\'問い合わせがありました。\'.LB.LB.\'==========お問い合わせ ==========\'.LB.\'受付日時：\'.date($date_mail),\r\n  \'receipt_user\' =>\'※本メールは、\'.$_CONF[\'site_name\'].\'サイトより自動的に配信しています。\'.LB.\'このメールは送信専用のため、このメールにご返信いただけません。\'.LB.\'＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝\'.LB.\'お問い合わせありがとうございました。\'.LB.LB.\'========== お問い合わせ内容 ==========\'.LB.\'受付日時：\'.date($date_mail),\r\n  \'subject_admin\'=> \'[\'.$_CONF[\'site_name\'].\']お問い合わせ\',\r\n  \'subject_user\'=> \'[\'.$_CONF[\'site_name\'].\']お問い合わせを受け付けました\',\r\n  \'sign_admin\'    => \'-----------------------------------------\'.LB.$_CONF[\'site_name\'].LB.$_CONF[\'site_url\'].LB.\'-----------------------------------------\',\r\n  \'sign_user\'    => \'-----------------------------------------\'.LB.$_CONF[\'site_name\'].LB.\'URL：\' . $_CONF[\'site_url\'].LB.\'-----------------------------------------\',\r\n// } 完了HTML＆メールのメッセージ\r\n// { システムエラーのメッセージ\r\n  \'ownertransmiterror\'=>\'オーナーメール処理中、一部のアドレスでエラーが発生しましたが、処理を続けました。\',\r\n  \'transmiterror\'=>\'処理中にエラーが発生しました。\',\r\n// } システムエラーのメッセージ\r\n);\r\n\r\n\r\n\r\n#####\r\n# フォーム項目の設定\r\n#####\r\n$form_items = array(\r\n  // < テーブル\r\n  array(\'title\' => \'お名前\', \'table\' => array(\r\n    // < テーブル１行\r\n    array(\'header\' => \'お名前\', \'valid_notkanahan\' => \'q_name\', \'error_notkanahan\' => \'お名前に半角カタカナがあります。すべて全角で入力してください\', \'data\' =>\r\n        array(\r\n            array(\'type\' => \'text\',\r\n                  \'name\' => \'q_name\',\r\n                  \'size\' => \'40\',\r\n                  \'maxlength\' => \'60\',\r\n            ),\r\n            array(\'input\' => \'<br\'.XHTML.\'>\'),\r\n        ),\r\n    ),\r\n    // > テーブル１行\r\n    // < テーブル１行\r\n    array(\'header\' => \'メールアドレス\',\r\n          \'valid_require\' => $required_string, \'error_require\' => \'メールアドレスが入力されていません\',\r\n          \'valid_equal\' => $essential_email, \'error_equal\' => \'メールアドレスが一致しません\',\r\n          \'valid_email\' => $propriety_email, \'error_email\' => \'メールアドレスを正しく入力してください\',\r\n          \'valid_hankaku\' => \'q_mail,q_mail_re\', \'error_hankaku\' => \'メールアドレスはすべて半角で入力してください\',\r\n          \'data\' =>\r\n        array(\r\n            array(\'type\' => \'text\',\r\n                  \'name\' => \'q_mail\',\r\n                  \'size\' => \'40\',\r\n                  \'maxlength\' => \'240\',\r\n                  \'class\' => \'bginput ime_off\',\r\n                  \'value\' => $user_email\r\n            ),\r\n            array(\'input\' => \'<br\'.XHTML.\'>\'),\r\n            array(\'type\' => \'text\',\r\n                  \'name\' => \'q_mail_re\',\r\n                  \'size\' => \'40\',\r\n                  \'maxlength\' => \'240\',\r\n                  \'class\' => \'bginput ime_off\',\r\n                  \'not_confirm\' => \'true\',\r\n                  \'not_csv\' => \'true\',\r\n                  \'value\' => $user_email\r\n            ),\r\n            array(\'string\' => \'<br\'.XHTML.\'>\'),\r\n            array(\'input\' => \'※確認のため、もう一度入力してください\'),\r\n        ),\r\n    ),\r\n    // > テーブル１行\r\n   ),\r\n  ),\r\n  // > テーブル\r\n  // < テーブル\r\n  array(\'title\' => \'お問い合わせ内容\', \'table\' => array(\r\n    // < テーブル１行\r\n    array(\'header\' => \'内容\', \'valid_notkanahan\' => \'q_other\', \'error_notkanahan\' => \'お問い合わせ内容に半角カタカナがあります。すべて全角で入力してください\', \'valid_maxlen\' => \'q_other=200\', \'error_maxlen\' => \'お問い合わせ内容の文字数は200文字以内で入力してください\', \'data\' =>\r\n        array(\r\n            array(\'type\' => \'textarea\',\r\n                  \'name\' => \'q_other\',\r\n                  \'class\' => \'bginput ime_on\',\r\n                  \'style\' => \'width: 95%; height: 100px;\',\r\n                  \'onKeyup\' => \"var n=200-this.value.length;var s=document.getElementById(\'tasp1\');s.innerHTML=\'(\'+n+\')\';\"\r\n            ),\r\n            array(\'input\' => \'<br\'.XHTML.\">※お問い合わせ内容を入力してください。<strong><span id=\'tasp1\'></span><strong><br\".XHTML.\'>\'),\r\n        ),\r\n    ),\r\n    // > テーブル１行\r\n   ),\r\n  ),\r\n  // > テーブル\r\n  // < 送信ボタン - 入力画面\r\n  array(\'action\' => \'input\', \'data\' =>\r\n      array(\r\n          array(\'string\' => \'    <div style=\"text-align: center;\" class=\"text_center mt20 mb20\">\'),\r\n          array(\'type\' => \'submit\',\r\n                \'name\' => \'submit\',\r\n                \'class\' => \'button_form_next\',\r\n                \'value\' => \'入力項目確認画面へ\'\r\n          ),\r\n          array(\'string\' => \'</div>\'),\r\n      ),\r\n  ),\r\n  // > 送信ボタン - 入力画面\r\n  // < 送信ボタン - 確認画面\r\n  array(\'action\' => \'confirm\', \'data\' =>\r\n      array(array(\'string\' => \'    <div style=\"text-align: center;\" class=\"text_center mt20 mb20\">\'),\r\n          array(\'type\' => \'submit\',\r\n                \'name\' => \'goback\',\r\n                \'class\' => \'button_form_prev\',\r\n                \'value\' => \'戻る\'\r\n          ),\r\n          array(\'string\' => \'　\'),\r\n          array(\'type\' => \'submit\',\r\n                \'name\' => \'submit\',\r\n                \'class\' => \'button_form_next\',\r\n                \'value\' => \'送信する\'\r\n          ),\r\n          array(\'string\' => \'</div>\'),\r\n      ),\r\n  ),\r\n  // > 送信ボタン - 確認画面\r\n);\r\n\r\n\r\n\r\n// +---------------------------------------------------------------------------+\r\n// | 初期処理                                                                  |\r\n// +---------------------------------------------------------------------------+\r\n# POSTデータを直接変換 (全角から半角へ、カタカナ半角からカタカナ全角へ)\r\nif (!empty($zentohan_itemname)) { foreach (explode(\',\',$zentohan_itemname) as $k) { if (!empty($_POST[$k])) $_POST[$k] = mb_convert_kana($_POST[$k], \'askh\'); } }\r\nif (!empty($kana_hantozen_itemname)) { foreach (explode(\',\',$kana_hantozen_itemname) as $k) { if (!empty($_POST[$k])) $_POST[$k] = mb_convert_kana($_POST[$k], \'K\'); } }\r\nif (!empty($kana_hiratokana_itemname)) { foreach (explode(\',\',$kana_hiratokana_itemname) as $k) { if (!empty($_POST[$k])) $_POST[$k] = mb_convert_kana($_POST[$k], \'C\'); } }\r\n# データを保存用に加工\r\nforeach ($_POST as $k => $v) {\r\n    $fld_list[$k] = preg_replace(\'/,/\', \'，\', $_POST[$k]);\r\n    $fld_list[$k] = preg_replace(\'/\"/\', \'”\', $fld_list[$k]);\r\n    $fld_list[$k] = preg_replace(\"/\'/\", \"’\", $fld_list[$k]);\r\n    $fld_list[$k] = preg_replace(\'/`/\', \'‘\', $fld_list[$k]);\r\n    $fld_list[$k] = preg_replace(\'/;/\', \'；\', $fld_list[$k]);\r\n    $fld_list[$k] = preg_replace(preg_quote(\'#\'.chr(92).\'#\'), \'￥\', $fld_list[$k]);\r\n    $fld_list[$k] = COM_applyFilter($fld_list[$k]);\r\n}\r\n# CSVファイルのフルパス\r\n$save_csv_file = $save_csv_path . $save_csv_name;\r\n# pageidからpageurlを作成\r\nif (!empty($pageid)) { $pageurl = COM_buildUrl($_CONF[\'site_url\'].\'/staticpages/index.php?page=\'.$pageid); }\r\n\r\n// +---------------------------------------------------------------------------+\r\n// | 関数群:                                                                   |\r\n// +---------------------------------------------------------------------------+\r\nif(!function_exists(\'getAction\')){\r\nfunction getAction ($err) {\r\n    $buf = \'\';\r\n    $action = COM_applyFilter($_POST[\'action\']);\r\n    if (!empty($action) && empty($err) && $action == \'input\') { $buf = \'confirm\'; }\r\n    elseif (!empty($action) && empty($err) && $action == \'confirm\') { $buf = empty($_POST[\'goback\']) ? \'finish\' : \'input\'; }\r\n    else { $buf = \'input\'; }\r\n    return $buf;\r\n}\r\n\r\nfunction mkJS4MG ($lib) {\r\n    $buf = preg_replace(\"@<script[^>]+mootools.js[^>]+>[^<]*</script>@\", \"\", $lib);\r\n    return str_replace(\'calendar.js\', \'calendar_mg.js\', $buf);\r\n}\r\n\r\nfunction mkJS ($use,$lib,$action,$plg) {\r\n    $buf=\'\';\r\n    if (!empty($action) && $action == \'input\' && isset($use) && $use == TRUE) {\r\n        if (in_array(\'mediagallery\', $plg)) {\r\n            global $_MG_CONF;\r\n            $mgv = $_MG_CONF[\'pi_version\'];\r\n            $mglib = $_MG_CONF[\'js_lib\'];\r\n            if (!empty($mgv) && !empty($mglib) && (version_compare($mgv, \'1.6.10\', \'<\') || strtolower($mglib) == \'mootools\')) {\r\n                $buf = mkJS4MG($lib);\r\n            } elseif(!empty($mglib) && strtolower($mglib) == \'jquery\') {\r\n                $buf = <<<JQNC\r\n<script>\r\n<!--\r\njQuery.noConflict();\r\n-->\r\n</script>{$lib}\r\nJQNC;\r\n            } else {\r\n                $buf = $lib;\r\n            }\r\n        } else {\r\n            $buf = $lib;\r\n        }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkSeni ($items, $action) {\r\n    $buf = \'<ul>\'.LB;\r\n    foreach ($items as $key => $value) {\r\n        if ($action == $key) {\r\n            $buf .= \'    <li class=\"on\">\'.$value.\'</li>\'.LB;\r\n        } else {\r\n            $buf .= \'    <li>\'.$value.\'</li>\'.LB;\r\n        }\r\n    }\r\n    $buf .= \'</ul>\'.LB;\r\n    return $buf;\r\n}\r\n\r\nfunction putiFilter($s) {\r\n    $se = array(\'%\',\'(\',\')\',chr(92),chr(13).chr(10),chr(13),chr(10));\r\n    $re = array(\'&#37;\',\'&#40;\',\'&#41;\',\'&#92;\',\'\',\'\',\'\');\r\n    return str_replace($se, $re, htmlspecialchars($s,ENT_QUOTES));\r\n}\r\n\r\nfunction vldCAPTCHA ($type, $errmsg) {\r\n    global $_CP_CONF, $_USER;\r\n    $msg = \'\';\r\n    if (!function_exists(\'CAPTCHA_sid\')) { return $msg; }\r\n    if ( ($_CP_CONF[\'anonymous_only\'] && $_USER[\'uid\'] < 2) || $_CP_CONF[\'anonymous_only\'] == 0 || ($_CP_CONF[\'remoteusers\'] == 1 && SEC_inGroup(\"Remote Users\") ) ) {\r\n        $str = COM_applyFilter($_POST[\'captcha\']);\r\n        list( $rc, $msg )  = CAPTCHA_checkInput( $type, $str );\r\n    }\r\n    if ( !empty($msg) && !empty($errmsg) ) { $msg = $errmsg; }\r\n    return $msg;\r\n\r\n}\r\n\r\nfunction vld_isPhone($s) { return (preg_match(\'/^(?:[0-9\'.chr(92).\'+\'.chr(92).\'-\'.chr(92).\'s])+$/D\',$s)) ? TRUE : FALSE; }\r\nfunction vld_isHankaku($s) { return (preg_match(\'/^(?:\'.chr(92).\'xEF\'.chr(92).\'xBD[\'.chr(92).\'xA1-\'.chr(92).\'xBF]|\'.chr(92).\'xEF\'.chr(92).\'xBE[\'.chr(92).\'x80-\'.chr(92).\'x9F]|[\'.chr(92).\'x20-\'.chr(92).\'x7E])+$/D\',$s)) ? TRUE : FALSE; }\r\nfunction vld_isZenkaku($s) { return (preg_match(\'/(?:\'.chr(92).\'xEF\'.chr(92).\'xBD[\'.chr(92).\'xA1-\'.chr(92).\'xBF]|\'.chr(92).\'xEF\'.chr(92).\'xBE[\'.chr(92).\'x80-\'.chr(92).\'x9F]|[\'.chr(92).\'x20-\'.chr(92).\'x7E])+/D\',$s)) ? FALSE : TRUE; }\r\nfunction vld_isEisuHan($s) { return (preg_match(\'/^(?:[0-9A-Za-z])+$/D\',$s)) ? TRUE : FALSE; }\r\nfunction vld_isKanaZen($s) { return (preg_match(\'/^(?:\'.chr(92).\'xE3\'.chr(92).\'x82[\'.chr(92).\'xA1-\'.chr(92).\'xBF]|\'.chr(92).\'xE3\'.chr(92).\'x83[\'.chr(92).\'x80-\'.chr(92).\'xB6])+$/D\',$s)) ? TRUE : FALSE; }\r\nfunction vld_isHiraZen($s) { return (preg_match(\'/^(?:\'.chr(92).\'xE3\'.chr(92).\'x81[\'.chr(92).\'x81-\'.chr(92).\'xBF]|\'.chr(92).\'xE3\'.chr(92).\'x82[\'.chr(92).\'x80-\'.chr(92).\'x93])+$/D\',$s)) ? TRUE : FALSE; }\r\nfunction vld_isNotKanaHan($s) { return (preg_match(\'/(?:\'.chr(92).\'xEF\'.chr(92).\'xBD[\'.chr(92).\'xA1-\'.chr(92).\'xBF]|\'.chr(92).\'xEF\'.chr(92).\'xBE[\'.chr(92).\'x80-\'.chr(92).\'x9F])+/D\',$s)) ? TRUE : FALSE; }\r\n\r\nfunction ChkValidate ($mode, $datas, $errmsg, $attributes = \'\') {\r\n    $msg = \'\';\r\n    foreach ($datas as $data) {\r\n        if (isset($data[\'type\'])) {\r\n            $name = $data[\'name\'];\r\n            switch ($mode) {\r\n                // 必須チェック\r\n                case \'require\':\r\n                    if (empty($data[\'notrequire\']) && empty($_POST[$name]) && $_POST[$name] != \"0\") { $msg = $errmsg; }\r\n                    break;\r\n                // 一致チェック\r\n                case \'equal\':\r\n                    if (!empty($attributes)) {\r\n                        $es_emails = explode(\',\', $attributes);\r\n                        foreach ($es_emails as $es_email) {\r\n                            list($eq1,$eq2) = explode(\'=\', $es_email);\r\n                            // 最初のキー かつ チェックするキーが存在\r\n                            if ($name == $eq1 && !empty($_POST[$eq2])) {\r\n                                if ($_POST[$eq1] != $_POST[$eq2]) {\r\n                                    $msg = $errmsg;\r\n                                }\r\n                            }\r\n                        }\r\n                    }\r\n                    break;\r\n                // メールチェック\r\n                case \'email\':\r\n                    if (!empty($attributes)) {\r\n                        $pr_emails = explode(\',\', $attributes);\r\n                        foreach ($pr_emails as $pr_email) {\r\n                            if ($name == $pr_email) {\r\n                                if (!COM_isemail($_POST[$name])) {\r\n                                    $msg = $errmsg;\r\n                                }\r\n                            }\r\n                        }\r\n                    }\r\n                    break;\r\n                // 数値チェック - 足して0以上\r\n                case \'notzero\':\r\n                    if (!empty($attributes)) {\r\n                        $values_key = explode(\',\', $attributes);\r\n                        foreach ($values_key as $val_key) {\r\n                            // 最初のキーのときにチェック\r\n                            if ($name == $val_key) {\r\n                                $sum_val = 0;\r\n                                foreach ($values_key as $chk_key) {\r\n                                    if (!empty($_POST[$chk_key])) {\r\n                                        $sum_val += $_POST[$chk_key];\r\n                                    }\r\n                                }\r\n                                if ($sum_val <= 0) {\r\n                                    $msg = $errmsg;\r\n                                    break;\r\n                                }\r\n                            }\r\n                        }\r\n                    }\r\n                    break;\r\n                // 数値のみかチェック\r\n                case \'numeric\':\r\n                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\") && in_array($name,explode(\',\',$attributes)) && !ctype_digit($_POST[$name])) { $msg = $errmsg; }\r\n                    break;\r\n                // 電話番号かチェック\r\n                case \'phone\':\r\n                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\") && in_array($name,explode(\',\',$attributes)) && !vld_isPhone($_POST[$name])) { $msg = $errmsg; }\r\n                // 半角チェック\r\n                case \'hankaku\':\r\n                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\") && in_array($name,explode(\',\',$attributes)) && !vld_isHankaku($_POST[$name])) { $msg = $errmsg; }\r\n                    break;\r\n                // 全角チェック\r\n                case \'zenkaku\':\r\n                    if (!empty($_POST[$name]) && in_array($name,explode(\',\',$attributes)) && !vld_isZenkaku($_POST[$name])) { $msg = $errmsg; }\r\n                    break;\r\n                // 半角英数字チェック\r\n                case \'eisuhan\':\r\n                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\") && in_array($name,explode(\',\',$attributes)) && !vld_isEisuHan($_POST[$name])) { $msg = $errmsg; }\r\n                    break;\r\n                // 全角カタカナチェック\r\n                case \'kanazen\':\r\n                    if (!empty($_POST[$name]) && in_array($name,explode(\',\',$attributes)) && !vld_isKanaZen($_POST[$name])) { $msg = $errmsg; }\r\n                    break;\r\n                // 全角ひらがなチェック\r\n                case \'kanazen\':\r\n                    if (!empty($_POST[$name]) && in_array($name,explode(\',\',$attributes)) && !vld_isHiraZen($_POST[$name])) { $msg = $errmsg; }\r\n                    break;\r\n                // 半角カタカナ以外かチェック\r\n                case \'notkanahan\':\r\n                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\") && in_array($name,explode(\',\',$attributes)) && vld_isNotKanaHan($_POST[$name])) { $msg = $errmsg; }\r\n                    break;\r\n                // 文字数チェック\r\n                case \'maxlen\':\r\n                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\")) {\r\n                        foreach (explode(\',\', $attributes) as $attr1) {\r\n                            list($name2,$max2) = explode(\'=\',$attr1);\r\n                            if ($name === $name2) {\r\n                                if ($max2 < mb_strlen($_POST[$name], \'UTF-8\')) { $msg = $errmsg; }\r\n                            }\r\n                        }\r\n                    }\r\n                    break;\r\n                // 最低文字数チェック\r\n                case \'minlen\':\r\n                    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\")) {\r\n                        foreach (explode(\',\', $attributes) as $attr1) {\r\n                            list($name2,$min2) = explode(\'=\',$attr1);\r\n                            if ($name === $name2) {\r\n                                if ($min2 > mb_strlen($_POST[$name], \'UTF-8\')) { $msg = $errmsg; }\r\n                            }\r\n                        }\r\n                    }\r\n                    break;\r\n            }\r\n        }\r\n    }\r\n    // 画像認証チェック\r\n    if ( $mode == \'captcha\' ) { $msg = vldCAPTCHA(\'sp_formmail\', $errmsg); }\r\n    return $msg;\r\n}\r\n\r\nfunction ChkFormValidateLines ($lines) {\r\n    $errmsg;\r\n    foreach (array(\'require\',\'equal\',\'email\',\'notzero\',\'numeric\',\'phone\',\'hankaku\',\'zenkaku\',\'eisuhan\',\'kanazen\',\'hirazen\',\'notkanahan\',\'captcha\',\'maxlen\',\'minlen\') as $chk) {\r\n        // 必須,一致,メール,画像認証,エラー のチェック\r\n        if (isset($lines[\'valid_\'.$chk])) {\r\n            $errmsg = ChkValidate($chk, $lines[\'data\'], $lines[\'error_\'.$chk], $lines[\'valid_\'.$chk]);\r\n            // エラーがあれば配列に格納\r\n            if ($errmsg) {\r\n                break;\r\n            }\r\n        }\r\n    }\r\n    return $errmsg;\r\n}\r\n\r\nfunction ChkFormValidate ($items) {\r\n    $errs;\r\n    foreach ($items as $item) {\r\n        // 各テーブル\r\n        foreach ($item as $key => $value) {\r\n            // １テーブル\r\n            if ($key == \'table\' || $key == \'table_captcha\') {\r\n                $action = getAction(\'\');\r\n                if ($key == \'table_captcha\' && $action == \'finish\') { continue; }\r\n                foreach ($value as $key2 => $value2) {\r\n                    // テーブル１行\r\n                    $errmsg = ChkFormValidateLines($value2);\r\n                    if ($errmsg) { $errs[] = $errmsg; }\r\n                }\r\n            }\r\n        }\r\n    }\r\n    return $errs;\r\n}\r\n\r\nfunction FormValidate ($items) {\r\n    $buf = \'\';\r\n    $errs = ChkFormValidate($items);\r\n    if (!empty($errs)) {\r\n        $errmsg = \'\';\r\n        foreach ($errs as $err) {\r\n            $errmsg .= \'    <li>\'.$err.\'</li>\'.LB;\r\n        }\r\n        $buf = <<<END\r\n\r\n<p class=\"error\">入力エラーがありました。下記について再度ご確認の上、ご記入ください。</p>\r\n<ol class=\"errorList\">\r\n$errmsg\r\n</ol>\r\nEND;\r\n    }\r\n    return $buf;\r\n}\r\n\r\n\r\nfunction mkTitle ($title) {\r\n    return <<<END\r\n\r\n    <h4>$title</h4>\r\n    <table class=\"formmail\" cellspacing=\"0\">\r\n        <colgroup><col width=\"130\" /></colgroup>\r\n        <tbody>\r\nEND;\r\n}\r\n\r\nfunction mkForm_Value ($name, $value) {\r\n    return (empty($_POST[$name]) && $_POST[$name] != \"0\") ? $value : putiFilter($_POST[$name]);\r\n}\r\n\r\nfunction mkForm_Radio_Checked (&$attributes) {\r\n    $name = $attributes[\'name\'];\r\n    if ((!empty($_POST[$name]) || $_POST[$name] == \"0\")) {\r\n        if (isset($attributes[\'checked\'])) unset($attributes[\'checked\']);\r\n        if ($_POST[$name] == $attributes[\'value\']) {\r\n            $attributes[\'checked\'] = \'checked\';\r\n        }\r\n    }\r\n}\r\n\r\nfunction mkForm_Input ($attributes, $hidden = false) {\r\n    if ($hidden) {\r\n        if ($attributes[\'type\'] == \'radio\' || $attributes[\'type\'] == \'checkbox\') {\r\n            if ($attributes[\'value\'] != $_POST[$attributes[\'name\']]) return \'\';\r\n        }\r\n        $attributes[\'type\'] = \'hidden\';\r\n    }\r\n    if ($attributes[\'type\'] == \'radio\' || $attributes[\'type\'] == \'checkbox\') {\r\n        mkForm_Radio_Checked($attributes);\r\n    } else {\r\n        if ($attributes[\'type\'] != \'submit\') $attributes[\'value\'] = mkForm_Value($attributes[\'name\'], $attributes[\'value\']);\r\n    }\r\n    $buf = \'<input\';\r\n    foreach ($attributes as $key => $value) {\r\n        if ($key != \'not_confirm\') { $buf .= \' \'.$key.\'=\"\'.$value.\'\"\'; }\r\n    }\r\n    $buf .= XHTML.\'>\';\r\n    if ($hidden || $attributes[\'type\'] == \'checkbox\') {\r\n        if ( !isset($attributes[\'not_confirm\']) || ! $attributes[\'not_confirm\'] ) { $buf .= \' \' . $attributes[\'value\']; }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkForm_Select_Options ($name, $attributes) {\r\n    $buf = \'\';\r\n    $selected = mkForm_Value($name, $attributes[\'selected\']);\r\n    $values = explode(\',\', $attributes[\'values\']);\r\n    foreach ($values as $value) {\r\n        list($k,$v) = explode(\'=\',$value);\r\n        if (empty($v)) $v = $k;\r\n        if ($selected == $k) {\r\n            $buf .= \'<option selected=\"selected\" value=\"\'.$v.\'\">\'.$k.\'</option>\';\r\n        } else {\r\n            $buf .= \'<option value=\"\'.$v.\'\">\'.$k.\'</option>\';\r\n        }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkForm_Select ($attributes) {\r\n    $buf = \'<select\';\r\n    foreach ($attributes as $key => $value) {\r\n        if ($key != \'options\') {\r\n            $buf .= \' \'.$key.\'=\"\'.$value.\'\"\';\r\n        }\r\n    }\r\n    $buf .= \'>\';\r\n    $buf .= mkForm_Select_Options($attributes[\'name\'], $attributes[\'options\']);\r\n    $buf .= \'</select>\';\r\n    return $buf;\r\n}\r\n\r\nfunction mkForm_Textarea ($attributes) {\r\n    $attributes[\'value\'] = mkForm_Value($attributes[\'name\'], $attributes[\'value\']);\r\n    $buf = \'<textarea\';\r\n    foreach ($attributes as $key => $value) {\r\n        if ($key != \'value\') $buf .= \' \'.$key.\'=\"\'.$value.\'\"\';\r\n    }\r\n    $buf .= \'>\'.$attributes[\'value\'].\'</textarea>\';\r\n    return $buf;\r\n}\r\n\r\nfunction mkForm_Item ($items, $action) {\r\n    $buf = \'\';\r\n    if ($action != \'input\' && $items[\'type\'] != \'submit\' && $items[\'type\'] != \'hidden\') {\r\n        $buf .= mkForm_Input($items, true);\r\n    } else {\r\n        switch ($items[\'type\']) {\r\n            case \'text\': $buf .= mkForm_Input($items); break;\r\n            case \'password\': $buf .= mkForm_Input($items); break;\r\n            case \'hidden\': $buf .= mkForm_Input($items); break;\r\n            case \'radio\': $buf .= mkForm_Input($items); break;\r\n            case \'checkbox\': $buf .= mkForm_Input($items); break;\r\n            case \'select\': $buf .= mkForm_Select($items); break;\r\n            case \'textarea\': $buf .= mkForm_Textarea($items); break;\r\n            case \'submit\': $buf .= mkForm_Input($items); break;\r\n            case \'reset\': $buf .= mkForm_Input($items); break;\r\n            case \'button\': $buf .= mkForm_Input($items); break;\r\n        }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkTable_Data ($datas, $action) {\r\n    $buf = \'\';\r\n    foreach ($datas as $data) {\r\n        // １つのデータ\r\n        if (!empty($data[\'type\'])) {\r\n            // フォーム\r\n            $buf .= mkForm_Item($data, $action);\r\n        }\r\n        else {\r\n            // 文字列\r\n            foreach ($data as $key => $value) {\r\n                if ($key == \'string\') {\r\n                    $buf .= $value;\r\n                } elseif ($key == $action) {\r\n                    $buf .= $value;\r\n                }\r\n            }\r\n        }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction plugin_templatePath_sp_formmail () {\r\n    global $_CONF;\r\n    $pi_name = \'sp_formmail\';\r\n    $layout_path = $_CONF[\'path_layout\'] . $pi_name;\r\n    return $layout_path;\r\n}\r\n\r\nfunction chk_Use_CAPTCHA_HTML () {\r\n    global $_CP_CONF, $_USER;\r\n    if ( ($_CP_CONF[\'anonymous_only\'] && $_USER[\'uid\'] < 2) || $_CP_CONF[\'anonymous_only\'] == 0 || ($_CP_CONF[\'remoteusers\'] == 1 && SEC_inGroup(\"Remote Users\") ) ) {\r\n        return true;\r\n    }\r\n    return false;\r\n}\r\nfunction mkCAPTCHA_HTML ($name, $msg_notcaptcha) {\r\n    global $_CP_CONF, $_USER, $_TABLES;\r\n    $captcha = \'\';\r\n    if (!function_exists(\'CAPTCHA_sid\')) { return $msg_notcaptcha; }\r\n    if ( chk_Use_CAPTCHA_HTML() ) {\r\n\r\n        $csid = 0;\r\n        if ($_CP_CONF[\'gfxDriver\'] != 1) {\r\n\r\n            // housekeeping, delete old captcha sessions\r\n            $oldSessions = time() - ($_CP_CONF[\'expire\']+900);\r\n            DB_query(\"DELETE FROM {$_TABLES[\'cp_sessions\']} WHERE cptime < \" . $oldSessions,1);\r\n\r\n            // OK, we need to insert the CAPTCHA, so now we need to setup the session_id:\r\n\r\n            // check to see if a failed entry happened...\r\n            if ( isset($_POST[\'csid\']) ) {\r\n                $csid = COM_applyFilter($_POST[\'csid\']);\r\n            } else {\r\n                $csid = CAPTCHA_sid();\r\n            }\r\n            $time    = time();\r\n            $counter = 0;\r\n            $validation = \'\';  // this will be filled in by the CAPTCHA\r\n\r\n                \"  `session_id` varchar(40) NOT NULL default \'\', \" .\r\n                \"  `cptime`  INT(11) NOT NULL default 0, \" .\r\n                \"  `validation` varchar(40) NOT NULL default \'\', \" .\r\n                \"  `counter`    TINYINT(4) NOT NULL default 0, \" .\r\n\r\n            DB_save($_TABLES[\'cp_sessions\'],\"session_id,cptime,validation,counter\",\"\'$csid\',\'$time\',\'\',\'0\'\");\r\n        }\r\n\r\n        $captcha = CAPTCHA_getHTML($csid,$name);\r\n    }\r\n    return $captcha;\r\n}\r\n\r\nfunction mkTable ($tables, $action) {\r\n    $buf = \'\';\r\n    foreach ($tables as $lines) {\r\n        $flg_valid_captcha = false;\r\n        $errflg = \'\';\r\n        $tdclass=\'\';\r\n        $buf .= LB .\'            <tr>\' . LB;\r\n        $buf .= \'                <th>\';\r\n        if (isset($lines[\'header\'])) { $buf .= $lines[\'header\']; }\r\n        if (isset($lines[\'header_captcha\'])) { $buf .= $lines[\'header_captcha\']; }\r\n        if (isset($lines[\'valid_require\'])) { $buf .= $lines[\'valid_require\']; }\r\n        if (isset($lines[\'valid_captcha\'])) { $buf .= $lines[\'valid_captcha\']; $flg_valid_captcha = true; }\r\n        // エラーチェック\r\n        if (!empty($_POST)) { $errflg = ChkFormValidateLines($lines); }\r\n        if ($errflg) { $tdclass=\' class=\"warning_bgc\"\'; }\r\n        $buf .= \'</th>\'.LB;\r\n        $buf .= \'                <td\'.$tdclass.\'>\';\r\n        if (isset($lines[\'data\'])) {\r\n            if ($flg_valid_captcha) {\r\n                $buf .= mkCAPTCHA_HTML(\'sp_formmail\',$lines[\'error_notcaptcha\']);\r\n            } else {\r\n                $buf .= mkTable_Data($lines[\'data\'], $action);\r\n            }\r\n        }\r\n        $buf .= \'</td>\'.LB;\r\n        $buf .= \'            </tr>\'.LB;\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkForm ($items, $action) {\r\n    $buf = \'\';\r\n    foreach ($items as $item) {\r\n        // 各テーブル\r\n        if (!empty($item[\'table\'])) {\r\n            foreach ($item as $key => $value) {\r\n                // １テーブル\r\n                switch ($key) {\r\n                    case \'title\': $buf .= mkTitle($value); break;\r\n                    case \'table\': $buf .= mkTable($value, $action); break;\r\n                }\r\n            }\r\n            $buf .= <<<END\r\n\r\n        </tbody>\r\n    </table>\r\nEND;\r\n        } elseif (!empty($item[\'table_captcha\'])) {  // 画像認証テーブル\r\n            if ((!empty($action) && $action == \'input\') && chk_Use_CAPTCHA_HTML()) {\r\n                foreach ($item as $key => $value) {\r\n                    // １テーブル\r\n                    switch ($key) {\r\n                        case \'title_captcha\': $buf .= mkTitle($value); break;\r\n                        case \'table_captcha\': $buf .= mkTable($value, $action); break;\r\n                    }\r\n                }\r\n                $buf .= <<<END\r\n\r\n            </tbody>\r\n        </table>\r\nEND;\r\n            } elseif (!empty($action)) {\r\n                $buf .= LB . \'    <input type=\"hidden\">\';\r\n            }\r\n        } elseif (!empty($item[\'action\'])) {         // 送信ボタン\r\n            if ($item[\'action\'] == $action) {\r\n                $buf .= LB . \'    <input type=\"hidden\" name=\"action\" value=\"\' . $action . \'\"\' . XHTML . \'>\';\r\n                $buf .= LB . mkTable_Data($item[\'data\'], $action);\r\n            }\r\n        }\r\n    }\r\n    return $buf;\r\n}\r\n\r\nfunction mkCsv ($items, $level=0, $dupcheck=array()) {\r\n    global $_CONF;\r\n    $ret = array();\r\n    if ($level > 5) { return; } $level++;\r\n    if (!empty($items[\'type\']) && strtolower($items[\'type\']) != \'submit\' ) {\r\n        if((!empty($items[\'not_csv\']) && $items[\'not_csv\']) || empty($items[\'name\'])) { return; }\r\n        if(strtolower($items[\'type\']) == \'radio\' && in_array($items[\'name\'], $dupcheck)) { return; }\r\n        return $items[\'name\'];\r\n    } else {\r\n        if (!is_array($items)) { return; }\r\n        foreach ($items as $i) {\r\n            $name = mkCsv($i,$level, $ret);\r\n            if (!empty($name)) {\r\n                if(is_array($name)) { $ret = array_merge($ret,$name); } else { $ret[] = $name; }\r\n            }\r\n        }\r\n    }\r\n    return $ret;\r\n}\r\n}\r\n\r\n\r\n// エラーチェック\r\nif (!empty($_POST) && !empty($_POST[\'action\'])) {\r\n    $valid = FormValidate($form_items);\r\n}\r\n$action = getAction($valid);\r\n\r\n// +---------------------------------------------------------------------------+\r\n// | 第1ステップ: フォーム表示(入力＆確認)                                     |\r\n// +---------------------------------------------------------------------------+\r\nif ($action == \'input\' || $action == \'confirm\') {\r\n\r\n/**\r\n* フォーム画面HTML { ここから\r\n*/\r\n    // JS\r\n    $js = mkJS($use_jslib, $def_jslib, $action, $_PLUGINS);\r\n    // 遷移\r\n    $seni = mkSeni($seni_items, $action);\r\n    // 入力フォーム\r\n    $form = mkForm($form_items, $action);\r\n\r\n    $retval = <<<END\r\n\r\n$js\r\n<div id=\"form_step\">\r\n$seni\r\n</div>\r\n<div id=\"FORM\">\r\n$valid\r\n<form name=\"subForm\" method=\"post\" action=\"{$pageurl}\">\r\n$form\r\n</form>\r\n</div>\r\n\r\nEND;\r\n\r\n/**\r\n* } ここまで フォーム画面HTML\r\n*/\r\n\r\n\r\n\r\n// +---------------------------------------------------------------------------+\r\n// | 第2ステップ: 完了表示＆メール送信                                         |\r\n// +---------------------------------------------------------------------------+\r\n} elseif ($action == \'finish\') {\r\n\r\n/**\r\n* 完了画面HTML { ここから\r\n*/\r\n    // 遷移\r\n    $seni = mkSeni($seni_items, $action);\r\n    \r\n    $out_html = <<<END\r\n\r\n<div id=\"form_step\">\r\n$seni\r\n</div>\r\n<div id=\"contact_thanks\">\r\n<p><strong>お問い合わせを受け付けました。</strong></p>\r\n<p>※お問い合わせ確認のメールを自動送信しました。<br />\r\nメールが届かない場合は、ご登録のメールアドレスが間違っている可能性があります。<br />\r\nその際は、お手数ですが再度お問い合わせください。</p>\r\n</div>\r\n\r\nEND;\r\n/**\r\n* } ここまで 完了画面HTML\r\n*/\r\n\r\n\r\n\r\n    # <br /> を改行コードに変換\r\n    foreach ($fld_list as $k => $v) { $fld_list[$k] = ereg_replace(\"<br />\", LB, $fld_list[$k]); }\r\n    $lang[\'sign_admin\'] = ereg_replace(\"<br />\", LB, $lang[\'sign_admin\']);\r\n    $lang[\'sign_user\'] = ereg_replace(\"<br />\", LB, $lang[\'sign_user\']);\r\n    // 入力内容\r\n    $input4mail=<<<END\r\nお名前: {$fld_list[\'q_name\']}\r\nメールアドレス: {$fld_list[\'q_mail\']}\r\n\r\nお問い合わせ内容:\r\n {$fld_list[\'q_other\']}\r\nEND;\r\n\r\n/**\r\n* 送信メール内容 - 管理者 { ここから\r\n*/\r\n    $out_mail_admin = <<<END\r\n\r\n{$lang[\'receipt_admin\']}\r\n\r\n$input4mail\r\n\r\n{$lang[\'sign_admin\']}\r\nEND;\r\n/**\r\n* } ここまで 送信メール内容 - 管理者\r\n*/\r\n/**\r\n* 送信メール内容 - 入力者 { ここから\r\n*/\r\n    $out_mail_user = <<<END\r\n\r\n{$lang[\'receipt_user\']}\r\n\r\n$input4mail\r\n\r\n{$lang[\'sign_user\']}\r\nEND;\r\n/**\r\n* } ここまで 送信メール内容 - 入力者\r\n*/\r\n\r\n\r\n    # メール送信\r\n    $ownererr = false;\r\n    $ownersend = false;\r\n    $om_array = explode(\',\', $owner_email);\r\n    $owner_mails = array_unique($om_array);  # 重複した値(メールアドレス)を削除\r\n    if (!empty($owner_email_item_name)) {\r\n        $selmail;\r\n        foreach ($owner_mails as $v) {\r\n            list($key, $mail) = explode(\'=\', $v);\r\n            if ($_POST[$owner_email_item_name] == $key) {\r\n                $selmail = explode(\'|\', $mail);\r\n                break;\r\n            }\r\n        }\r\n        $owner_mails = $selmail;\r\n    }\r\n    $owner_subject = $lang[\'subject_admin\'];\r\n    foreach ($owner_mails as $v) {\r\n        $email1 = COM_mail( $v, \"$owner_subject\", $out_mail_admin, $email_from, false); # オーナーあてメール\r\n        if (!$email1) { $ownererr = true; } else { $ownersend = true; }  # 送信/エラーのフラグをセット\r\n    }\r\n    # オーナーメール送信でエラーがあった場合\r\n    if ($ownererr) {\r\n        # 一部に送信できている場合\r\n        if ($ownersend) {\r\n            # エラーをログへ出力(一部へは配送されているのでユーザにエラー画面を出さない)\r\n            COM_errorLog($lang[\'ownertransmiterror\'], 1);\r\n            $email1 = true;\r\n        # 全員がエラーの場合\r\n        } elseif (!$ownersend) {\r\n            # 処理エラーとし、ユーザへのメールは送らない\r\n            $email1 = false;\r\n        }\r\n    }\r\n    if ($email1) {\r\n        $usr_subject = $lang[\'subject_user\'];\r\n        $email2 = COM_mail( $fld_list[$email_input_name], \"$usr_subject\", $out_mail_user, $email_from, false); # 問合せ者へメール\r\n    }\r\n    if ($email1 && $email2) { # どちらの送信も成功したら\r\n        # csv出力する\r\n        if ($save_csv > 0) {\r\n            $fldnames = mkCsv($form_items);\r\n            $delimiter = \',\';\r\n            if ($save_csv > 1) { $delimiter = chr(9); }\r\n            $enclosure = \'\"\';\r\n            # CSV出力\r\n            $str = \'\';\r\n            $escape_char = chr(92);\r\n            foreach ($fldnames as $n) {\r\n                $v = empty($fld_list[$n]) ? \'\' : $fld_list[$n] ;\r\n                if (strpos($v, $delimiter) !== false ||\r\n                    strpos($v, $enclosure) !== false ||\r\n                    strpos($v, chr(10)) !== false ||\r\n                    strpos($v, chr(13)) !== false ||\r\n                    strpos($v, chr(9)) !== false ||\r\n                    strpos($v, \' \') !== false) {\r\n                  $str2 = $enclosure;\r\n                  $escaped = 0;\r\n                  $len = strlen($v);\r\n                  for ($i=0;$i<$len;$i++) {\r\n                    if ($v[$i] == $escape_char) {\r\n                      $escaped = 1;\r\n                    } else if (!$escaped && $v[$i] == $enclosure) {\r\n                      $str2 .= $enclosure;\r\n                    } else {\r\n                      $escaped = 0;\r\n                    }\r\n                    $str2 .= $v[$i];\r\n                  }\r\n                  $str2 .= $enclosure;\r\n                  $str .= $str2.$delimiter;\r\n                } else {\r\n                  $str .= $v.$delimiter;\r\n                }\r\n            }\r\n            $str = date($date_csv) . $delimiter . substr($str,0,-1);\r\n            $str .= LB;\r\n            if( !empty( $save_csv_lang ) ) {\r\n                $str = mb_convert_encoding($str, $save_csv_lang);\r\n            }\r\n            $fp = fopen($save_csv_file, \'a\');\r\n            fwrite($fp, $str);  # CSV書き出し\r\n            fclose($fp);\r\n        }\r\n        $retval = $out_html;\r\n    } else {\r\n        $retval = $lang[\'transmiterror\']; # メール送信が失敗したら\r\n    }\r\n}\r\n// Geeklog1.6 PHPを実行\r\necho $retval;\r\n// Geeklog1.6 PHPを実行(return) の場合、上のechoをコメント(#)にして以下のreturnのコメントをはずしてください\r\n# return $retval;\r\n',11965,'2010-09-02 04:37:25','2010-10-09 10:54:31','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,2,0,1,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('_top01_lastarticles_ja','新着記事','','<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_ko\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-27]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_ko\">TEST ko</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_zh\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-27]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_zh\">TEST zh</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_en\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-27]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_en\">TEST en</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_ja\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-27]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_ja\">TEST</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251115hotsu.fes_event_en\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-16]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251115hotsu.fes_event_en\">Shining Futures at HotsuFes — International Students Take the Stage!</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251115hotsu.fes_event_ja\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-16]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251115hotsu.fes_event_ja\">ホツフェスで輝く未来 ― 日本語学校で学ぶ留学生たちの大舞台</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20250927brazil_editor_ja\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-10-23]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20250927brazil_editor_ja\">ブラジル代表のお二人が来日！ ブラジルパビリオンを訪問 　　　― 日本とブラジルの国交樹立130周年を記念して ―</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251020brazil_editor_ja\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-10-21]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251020brazil_editor_ja\">ブラジル代表のお二人が来日！ ブラジルパビリオンを訪問</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/2025.10_newsletter_en\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-10-19]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/2025.10_newsletter_en\">GLOBALCOMMUNITY NEWSLETTER ＊2025.10　＊＊＊English</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/2025.10_newsletter_ja\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-10-19]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/2025.10_newsletter_ja\">GLOBALCOMMUNITY　newsletter　2025.10　グローバルコミュニテイー・インタビュー記事</a></dd>\n		</dl>\n	</div>\n</div>\n',154355,'2019-01-30 17:15:08','2025-11-27 13:18:31','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,2,0,1,'html','','','','// $include=array(\'feature_en,event_en,international_en,editor_en,life_en,tour_en\');\r\n\r\n// $display = phpblock_lastarticles2(10,100,$include);\r\n\r\n\r\n\r\n$display = phpblock_lastarticles(10,120);\r\n\r\necho $display;\r\n');
INSERT INTO `gl_staticpage`VALUES ('_hedder_message_zh','TOPICS_zh','','.',83376,'2012-06-17 09:43:21','2019-01-30 17:07:23','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'adveditor','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('_top01_lastarticles_ko','새 주제','','<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_ko\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-27]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_ko\">TEST ko</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_zh\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-27]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_zh\">TEST zh</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_en\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-27]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_en\">TEST en</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_ja\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-27]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_ja\">TEST</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251115hotsu.fes_event_en\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-16]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251115hotsu.fes_event_en\">Shining Futures at HotsuFes — International Students Take the Stage!</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251115hotsu.fes_event_ja\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-16]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251115hotsu.fes_event_ja\">ホツフェスで輝く未来 ― 日本語学校で学ぶ留学生たちの大舞台</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20250927brazil_editor_ja\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-10-23]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20250927brazil_editor_ja\">ブラジル代表のお二人が来日！ ブラジルパビリオンを訪問 　　　― 日本とブラジル...</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251020brazil_editor_ja\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-10-21]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251020brazil_editor_ja\">ブラジル代表のお二人が来日！ ブラジルパビリオンを訪問</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/2025.10_newsletter_en\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-10-19]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/2025.10_newsletter_en\">GLOBALCOMMUNITY NEWSLETTER ＊2025.10　＊＊＊English</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/2025.10_newsletter_ja\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-10-19]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/2025.10_newsletter_ja\">GLOBALCOMMUNITY　newsletter　2025.10　グローバルコミュニテイー・インタビュー記事</a></dd>\n		</dl>\n	</div>\n</div>\n',27966,'2010-09-02 16:09:22','2025-11-27 13:20:11','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,2,0,1,'html','','','','$display = phpblock_lastarticles(10,80);  \r\necho $display;');
INSERT INTO `gl_staticpage`VALUES ('_top01_lastarticles_en','NEW TOPICS','','<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_ko\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-27]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_ko\">TEST ko</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_zh\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-27]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_zh\">TEST zh</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_en\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-27]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_en\">TEST en</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_ja\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-27]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_ja\">TEST</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251115hotsu.fes_event_en\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-16]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251115hotsu.fes_event_en\">Shining Futures at HotsuFes — International Students Take the Stage!</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251115hotsu.fes_event_ja\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-16]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251115hotsu.fes_event_ja\">ホツフェスで輝く未来 ― 日本語学校で学ぶ留学生たちの大舞台</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20250927brazil_editor_ja\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-10-23]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20250927brazil_editor_ja\">ブラジル代表のお二人が来日！ ブラジルパビリオンを訪問 　　　― 日本とブラジルの国交樹立130周年を記念して ―</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251020brazil_editor_ja\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-10-21]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251020brazil_editor_ja\">ブラジル代表のお二人が来日！ ブラジルパビリオンを訪問</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/2025.10_newsletter_en\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-10-19]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/2025.10_newsletter_en\">GLOBALCOMMUNITY NEWSLETTER ＊2025.10　＊＊＊English</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/2025.10_newsletter_ja\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-10-19]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/2025.10_newsletter_ja\">GLOBALCOMMUNITY　newsletter　2025.10　グローバルコミュニテイー・インタビュー記事</a></dd>\n		</dl>\n	</div>\n</div>\n',207883,'2010-09-02 16:09:34','2025-11-27 13:19:45','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,2,0,1,'html','','','','// $include=array(\'feature_en,event_en,international_en,editor_en,life_en,tour_en\');\r\n\r\n// $display = phpblock_lastarticles2(10,100,$include);\r\n\r\n\r\n\r\n$display = phpblock_lastarticles(10,120);\r\n\r\necho $display;\r\n');
INSERT INTO `gl_staticpage`VALUES ('_hedder_message_ko','TOPICS_ko','','.',16563,'2012-06-17 09:42:23','2019-01-30 17:07:32','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('_home_top','_home_top','','',144874,'2019-01-30 17:09:37','2025-11-24 19:17:35','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,2,0,0,'','','','',' ');
INSERT INTO `gl_staticpage`VALUES ('_top01_lastarticles_zh','新话题','','<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_ko\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-27]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_ko\">TEST ko</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_zh\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-27]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_zh\">TEST zh</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_en\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-27]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_en\">TEST en</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_ja\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-27]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/test_ja\">TEST</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251115hotsu.fes_event_en\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-16]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251115hotsu.fes_event_en\">Shining Futures at HotsuFes — International Students Take the Stage!</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251115hotsu.fes_event_ja\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-11-16]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251115hotsu.fes_event_ja\">ホツフェスで輝く未来 ― 日本語学校で学ぶ留学生たちの大舞台</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20250927brazil_editor_ja\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-10-23]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20250927brazil_editor_ja\">ブラジル代表のお二人が来日！ ブラジルパビリオンを訪問 　　　― 日本とブラジルの国交樹立130周年を記念して ―</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251020brazil_editor_ja\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-10-21]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/20251020brazil_editor_ja\">ブラジル代表のお二人が来日！ ブラジルパビリオンを訪問</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/2025.10_newsletter_en\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-10-19]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/2025.10_newsletter_en\">GLOBALCOMMUNITY NEWSLETTER ＊2025.10　＊＊＊English</a></dd>\n		</dl>\n	</div>\n</div>\n<div class=\"uk-grid-small\" uk-grid>\n	<div class=\"uk-width-2-5@m\">\n		<a href=\"http://yokosojapan-net.check-xserver.jp/article.php/2025.10_newsletter_ja\"><img src=\"\" style=\"width:80px; height:auto \"></a>\n	</div>\n	<div class=\"uk-width-3-5@m\">\n		<dl>\n			<dt class=\"uk-text-small\">[2025-10-19]</dt>\n			<dd><a href=\"http://yokosojapan-net.check-xserver.jp/article.php/2025.10_newsletter_ja\">GLOBALCOMMUNITY　newsletter　2025.10　グローバルコミュニテイー・インタビュー記事</a></dd>\n		</dl>\n	</div>\n</div>\n',68875,'2019-01-30 17:15:59','2025-11-27 13:20:36','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,2,0,1,'html','','','','// $include=array(\'feature_en,event_en,international_en,editor_en,life_en,tour_en\');\r\n\r\n// $display = phpblock_lastarticles2(10,100,$include);\r\n\r\n\r\n\r\n$display = phpblock_lastarticles(10,120);\r\n\r\necho $display;\r\n');
INSERT INTO `gl_staticpage`VALUES ('_hedder_message_ja','TOPICS_ja','','<p>English newsletter below<br />\r\n<a href=\"https://www.yokosojapan.net/article.php/2025.10_newsletter_en\">https://www.yokosojapan.net/article.php/2025.10_newsletter_en</a></p>\r\n\r\n<p>皆様、いつもご支援をいただき、誠にありがとうございます。<br />\r\n皆様のおかげで、”グローバルコミュニティー”も、日本人と在日外国人の人たちとの交流をテーマに発刊16年目を無事迎えることが出来ました。<br />\r\n今後も、民族を超えた問題である健康、医療、環境分野、異文化交流にフォーカスして発信していきます。初心を忘れず地道に努力して参りますので、今年もよろしくお願いいたします。</p>\r\n\r\n<p>6か月間の大阪関西万博も終わり、また、9月19日の万博会場での第13回国際紅白歌合戦も盛況のうちに終了いたしました。ご協力、ご支援を頂いた皆様、誠に有難うございました。</p>\r\n\r\n<p>私も、イベントの準備を含め合計23回、万博会場に足を運びましたが、戦争や内乱状態にある国が多い中、安全にかつ平和裏に大阪関西万博が終わったことは、本当に素晴らしいことだと感じました。</p>\r\n\r\n<p>ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー</p>\r\n\r\n<p>グローバルコミュニテイー・インタビュー・取材記事</p>\r\n\r\n<p>１：第13回国際紅白歌合戦in大阪関西万博の様子<br />\r\n　　<a href=\"https://www.yokosojapan.net/article.php/20250924irws-in-EXPO2025_feature_ja\">https://www.yokosojapan.net/article.php/20250924irws-in-EXPO2025_feature_ja</a></p>\r\n\r\n<p>２：ブラジル代表のお二人が来日！ ブラジルパビリオンを訪問<br />\r\n　　　― 日本とブラジルの国交樹立130周年を記念して ―<br />\r\n　　<a href=\"https://www.yokosojapan.net/article.php/20251020brazil_editor_ja\">https://www.yokosojapan.net/article.php/20251020brazil_editor_ja</a></p>\r\n\r\n<p>３：各国の個性が際立った『留学生ファッションショー』<br />\r\n　　<a href=\"https://www.yokosojapan.net/article.php/20251007fashion_event_ja\">https://www.yokosojapan.net/article.php/20251007fashion_event_ja</a></p>\r\n\r\n<p>４：初めて行政が主催する形の『国際紅白歌合戦inIKUNO』　　<br />\r\n　　<a href=\"https://www.yokosojapan.net/article.php/20251006ikuno_event_ja\">https://www.yokosojapan.net/article.php/20251006ikuno_event_ja</a></p>\r\n\r\n<p>５：京都水族館 夜間貸切　イベントに行ってきました。<br />\r\n　　<a href=\"https://www.yokosojapan.net/article.php/20251018choei_event_ja\">https://www.yokosojapan.net/article.php/20251018choei_event_ja</a></p>\r\n\r\n<p>ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー</p>\r\n\r\n<p>＊2025年9月に一番読まれた記事ベスト3</p>\r\n\r\n<p>NO.1　『外国人が好きな日本の歌ランキング』1位 from 国際紅白歌合戦<br />\r\n<a href=\"https://www.yokosojapan.net/article.php/20220320favorite_japanese_songs1_life_ja\">https://www.yokosojapan.net/article.php/20220320favorite_japanese_songs1_life_ja</a></p>\r\n\r\n<p>NO.2　平和を愛し、人種差別撤廃を世界で初めて国際舞台で訴えた日本<br />\r\n<a href=\"https://www.yokosojapan.net/article.php/20220812japanese_editor\">https://www.yokosojapan.net/article.php/20220812japanese_editor</a></p>\r\n\r\n<p>NO.3　第7回ウチナンチュ大会　沖縄と世界が繋がった。<br />\r\n5年に一度、沖縄にルーツを持つ移民の人たち４０万人の代表が世界中から集まる<br />\r\n非常にユニークな国際イベント<br />\r\n<a href=\"https://www.yokosojapan.net/article.php/20221107okinawa_event_ja\">https://www.yokosojapan.net/article.php/20221107okinawa_event_ja</a></p>\r\n\r\n<p>ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー</p>\r\n\r\n<p>2025年の国際紅白歌合戦の開催について　</p>\r\n\r\n<p>全編動画　　<a href=\"https://www.youtube.com/watch?v=3K9jxzGjlOc\">https://www.youtube.com/watch?v=3K9jxzGjlOc</a></p>\r\n\r\n<p>開催日時　2025年9月19日　13:00-16:30　開催されました　<a href=\"http://irws.org/\">irws.org</a>　（公式サイト）<br />\r\n開催場所　大阪関西万博内・フェティバルステーション（フランスパビリオン隣）<br />\r\n後援予定　外務省・留学生支援コンソーシアム大阪<br />\r\n　　　　　国際機関日本アセアンセンター・海外日系人協会<br />\r\n《協賛》<br />\r\n　　『東京都大田区TOPクラスの歴史と実績』<br />\r\n　　　株式会社シティ・ハウジング　 <a href=\"https://citymonthly.jp/for-corp/\">https://citymonthly.jp/for-corp/</a></p>\r\n\r\n<p>　　フリーマーケットや多文化交流を通じて「生活の豊かさ」を創造する地元密着の医療機関。<br />\r\n　　ひとひとクリニック　<a href=\"https://hitohitocare-clinic.com/\">https://hitohitocare-clinic.com/</a></p>\r\n\r\n<p>『入居者ファースト』の姿勢で、関西の留学生や外国人人材の住居をサポート</p>\r\n\r\n<p>株式会社長栄　　<a href=\"https://www.kk-choei.co.jp/global/\">https://www.kk-choei.co.jp/global/</a></p>\r\n\r\n<p>　カラオケ『JOYSOUND』でおなじみ　株式会社エクシング　<a href=\"https://gl.joysound.com/en/\">https://gl.joysound.com/en/</a></p>\r\n\r\n<p>《運営協力》大阪観光局　㈱アズアリンク　株式会社ハンディネットワーク インターナショナル　<br />\r\n　　　　　　グルッポ・フレンズ（ブラジル・サンパウロ）</p>\r\n\r\n<p>《主催》国際紅白歌合戦実行委員会<br />\r\nーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー<br />\r\n　《協力・支援団体》<br />\r\n　株式会社エムロク　株式会社イチイ　株式会社グローバルトラストネットワークス<br />\r\n　永生病院　NPO法人・日本心身機能活性療法指導士会　　<br />\r\n　一般社団法人ラジーン / 一般財団法人 日本国際協力センター（JICE）<br />\r\n　/ 公益財団法人 大阪国際交流センター / Music for SDG\'s　Humming for PEACE</p>\r\n\r\n<p>　\"Yamamoto Gakko(School) \" 山元学校<br />\r\n　<a href=\"https://yamamotogakko.jp/\">https://yamamotogakko.jp</a><br />\r\n　Japanese language education information platform（日本語ぷらっと）<br />\r\n　<a href=\"https://www.nihongoplat.org/\">https://www.nihongoplat.org/</a><br />\r\n　Cebu Music Learning Center(Philippines)<br />\r\n　<a href=\"https://www.facebook.com/cebumusiccenter/about\">https://www.facebook.com/cebumusiccenter/about</a><br />\r\n　LPK Bahana Inspirasi Muda　(Indonesia）<br />\r\n　<a href=\"https://bahanainspirasimuda.com/\">https://bahanainspirasimuda.com</a><br />\r\n　\"Brazilian Business Group\" -ASIA（Japan-Brazil）<br />\r\n　<a href=\"https://www.bbg-asia.com/ja/\">https://www.bbg-asia.com/ja/</a></p>\r\n\r\n<p>国際紅白歌合戦実行委員会代表<br />\r\n多言語webmagazine　GLOBALCOMMUNITY<br />\r\n編集長　宮崎計実<br />\r\ninfo（@）yokosojapan.net<br />\r\n070-5653-1493</p>\r\n\r\n<p>ーーーーーーーーーーーーーーー<br />\r\nグローバルコミュニテイーが目指すもの<br />\r\n<a href=\"http://www.yokosojapan.net/article.php/globalcommunity2013_editor_ja\">http://www.yokosojapan.net/article.php/globalcommunity2013_editor_ja</a></p>\r\n\r\n<p>国際紅白歌合戦が目指すもの<br />\r\n<a href=\"https://www.yokosojapan.net/article.php/kouhaku.japan_editor\">https://www.yokosojapan.net/article.php/kouhaku.japan_editor</a></p>\r\n\r\n<p>＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝</p>\r\n\r\n<p><span style=\"font-family:Georgia,serif;\"><span style=\"font-size:18px;\"><span style=\"color:#c0392b;\"><strong>SPECIAL　FEATURE（医療）</strong></span></span></span></p>\r\n\r\n<p><span style=\"color:#c0392b;\"><span style=\"font-size:18px;\"><strong>自閉症、脳性麻痺も薬に頼らない改善方法が、実はすでに確立されています。元々は日本で開発された療法ですが、その有効性にいち早く気づいた、中国や台湾の人たちが、自分の国に持ち込み広げていきました。</strong></span></span></p>\r\n\r\n<p><span style=\"color:#c0392b;\"><span style=\"font-size:18px;\"><strong>介護保険制度がなく、患者を抱える家族の負担が大きい台湾や中国では、長年</strong></span></span><span style=\"color:#c0392b;\"><span style=\"font-size:18px;\"><strong>すでに多くの医療施設で実践されています。</strong></span></span></p>\r\n\r\n<p><span style=\"color:#c0392b;\"><span style=\"font-size:18px;\"><strong>ぜひ、その様子をご覧ください。</strong></span></span></p>\r\n\r\n<p><span style=\"font-size:14px;\"><strong>【自閉症児の改善】　重度の自閉症・孤独症・多動・情緒不安定・日常生活要介助・言葉が話せない　10歳の男子が3ヶ月で改善！</strong></span></p>\r\n\r\n<h1><strong><span style=\"font-size:14px;\">【脳性麻痺の改善】脳性麻痺で一人では座れない、立てない、歩けない、5歳の脳性麻痺の女児が3ヶ月で歩いた、一気に花開くようにどんどん成長しました！</span></strong></h1>\r\n\r\n<p><iframe allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\" frameborder=\"0\" height=\"315\" src=\"https://www.youtube.com/embed/zYpYEQgv68U\" title=\"YouTube video player\" width=\"460\"></iframe></p>\r\n\r\n<p>台湾や中国で行政団体が応援する身体機能運動療法。介護保険のない中国、台湾では、自分自身で、認知症から、自分を守る必要があります。効果的な治療法として、身体機能運動療法の2000名以上の指導員が活躍しています。<a href=\"https://shinshinkaizen.hp.peraichi.com/\">https://shinshinkaizen.hp.peraichi.com/</a></p>\r\n\r\n<p><span style=\"font-size:14px;\"><strong>認知症、自閉症、発達障害は改善する・政府も自立させた施設を厚遇</strong></span></p>\r\n\r\n<p><a href=\"https://www.yokosojapan.net/article.php/20170212kaigo_feature_ja\">https://www.yokosojapan.net/article.php/20170212kaigo_feature_ja</a></p>\r\n\r\n<p>＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝</p>\r\n\r\n<p><span style=\"color:#c0392b;\"><span style=\"font-size:16px;\"><strong>何故日本ではガンが増え続けているのか？ </strong></span></span></p>\r\n\r\n<p><span style=\"color:#c0392b;\"><span style=\"font-size:16px;\"><strong>がんの正体を紐解いた、小林常雄医師</strong></span></span></p>\r\n\r\n<p><iframe allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\" frameborder=\"0\" height=\"315\" src=\"https://www.youtube.com/embed/b8MPzbWGaqc\" width=\"400\"></iframe></p>\r\n\r\n<p><iframe allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\" frameborder=\"0\" height=\"315\" src=\"https://www.youtube.com/embed/uFjVgXbsj-4\" width=\"400\"></iframe></p>\r\n\r\n<p><span style=\"font-size:14px;\"><strong>小林常雄医師のTMCA検診</strong></span></p>\r\n\r\n<p><span style=\"font-size:14px;\"><strong>『99％がんを予防し、がんの再発を防ぐ検査』</strong></span></p>\r\n\r\n<p><span style=\"font-size:14px;\"><strong>既に2万人以上の検診実績があり、多くの方の「初期がん」や「進行がん」を術前に発見</strong></span></p>\r\n\r\n<p>採血と採尿のみの簡単検診<br />\r\n薬剤の摂取の必要なし<br />\r\n放射線の被爆ゼロ<br />\r\n安価に全身のがんリスクが判定できる<br />\r\n目視ではなく数値による判断なので「見落とし」がない</p>\r\n\r\n<p><a href=\"https://www.yokosojapan.net/article.php/20210523cancer_life_ja\"><strong>-通常の画像診断の100倍の精度、1mm以下の全身のがんの予見を可能にするTMCA診断とは？</strong></a></p>\r\n\r\n<p><a href=\"https://www.yokosojapan.net/article.php/20210610cancer_life_ja\"><strong>がんの撲滅に人生をかける仕事人</strong></a></p>\r\n\r\n<p><a href=\"https://www.amazon.co.jp/%E3%81%8C%E3%82%93%E3%81%AE%E6%AD%A3%E4%BD%93%E3%81%8C%E3%82%8F%E3%81%8B%E3%81%A3%E3%81%9F%EF%BC%81-%E3%80%8C%E3%81%8C%E3%82%93%E3%80%8D%E3%81%AF%E4%BA%88%E7%9F%A5%E3%83%BB%E4%BA%88%E9%98%B2%E3%81%A7%E3%81%8D%E3%82%8B-%E5%B0%8F%E6%9E%97-%E5%B8%B8%E9%9B%84/dp/4881442473\">がんはすでに原因不明の病気ではない　『がんの正体がわかった』（小林常雄医師著）</a></p>\r\n\r\n<p>＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝</p>\r\n\r\n<h1><strong><span style=\"font-size:16px;\">「水とホメオパシーの関係について」由井寅子代表インタビュー</span></strong></h1>\r\n\r\n<p><iframe allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\" frameborder=\"0\" height=\"315\" src=\"https://www.youtube.com/embed/97-vmpvdf2A\" title=\"YouTube video player\" width=\"400\"></iframe></p>\r\n\r\n<p><a href=\"https://www.yokosojapan.net/article.php/20200517homeopathy_feature_ja\"><strong>ホメオパシーと水の関係　魂・精神・肉体を三位一体で治療する世界的に注目されるZENホメオパシー</strong></a></p>\r\n\r\n<p><a href=\"https://www.yokosojapan.net/article.php/20200517homeopathy_feature_ja\">https://www.yokosojapan.net/article.php/20200517homeopathy_feature_ja</a></p>\r\n\r\n<p>＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝</p>\r\n\r\n<p><span style=\"font-family:Georgia,serif;\"><span style=\"font-size:18px;\"><span style=\"color:#c0392b;\"><strong>SPECIAL　FEATURE（環境）</strong></span></span></span></p>\r\n\r\n<p><span style=\"color:#e74c3c;\"><span style=\"font-size:16px;\"><strong>日本からはじまる、価値観の大転換<br />\r\n『私たちは水を通してつながっている』</strong></span></span></p>\r\n\r\n<p><span style=\"color:#e74c3c;\"><span style=\"font-size:16px;\"><strong>《特集》<br />\r\n今世紀最大の科学的発見、第四の相、液晶水とは？』<br />\r\n注目の『還元水素水』、驚くべき可能性!!</strong></span></span></p>\r\n\r\n<p><a href=\"https://www.yokosojapan.net/article.php/20151001water_feature_ja\">https://www.yokosojapan.net/article.php/20151001water_feature_ja</a></p>\r\n\r\n<p><iframe allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\" frameborder=\"0\" height=\"315\" src=\"https://www.youtube.com/embed/XtDennZr5fA\" title=\"YouTube video player\" width=\"400\"></iframe></p>\r\n\r\n<p><iframe allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\" frameborder=\"0\" height=\"315\" src=\"https://www.youtube.com/embed/FMrQme-DEas\" title=\"YouTube video player\" width=\"400\"></iframe></p>\r\n\r\n<p>＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝</p>\r\n\r\n<p><br />\r\n<a href=\"https://px.a8.net/svt/ejp?a8mat=3N22FA+8AA6UQ+3N0O+609HT\" rel=\"nofollow\"><img alt=\"\" border=\"0\" height=\"250\" src=\"https://www21.a8.net/svt/bgt?aid=220126150501&amp;wid=001&amp;eno=01&amp;mid=s00000016980001009000&amp;mc=1\" width=\"250\" /></a><br />\r\n<img alt=\"\" border=\"0\" height=\"1\" src=\"https://www11.a8.net/0.gif?a8mat=3N22FA+8AA6UQ+3N0O+609HT\" width=\"1\" /><a href=\"https://px.a8.net/svt/ejp?a8mat=3N22FA+8AA6UQ+3N0O+5YRHE\" rel=\"nofollow\">【全額返金保証】トライズなら1年で英語が身につく3つの理由</a><br />\r\n<img alt=\"\" border=\"0\" height=\"1\" src=\"https://www16.a8.net/0.gif?a8mat=3N22FA+8AA6UQ+3N0O+5YRHE\" width=\"1\" /></p>\r\n<br />\r\n<img alt=\"\" border=\"0\" height=\"1\" src=\"https://www10.a8.net/0.gif?a8mat=3N22FA+8AA6UQ+3N0O+63H8I\" width=\"1\" />\r\n<p> </p>\r\n\r\n<p> </p>\r\n\r\n<p><amp-ad data-aid=\"220126150501\" data-eno=\"01\" data-mat=\"3N22FA-8AA6UQ-3N0O-5ZU29\" data-mid=\"s00000016980001007000\" data-type=\"static\" data-wid=\"001\" height=\"50\" type=\"a8\" width=\"320\"></amp-ad></p>\r\n',619940,'2012-06-17 09:41:44','2025-10-27 09:49:23','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'adveditor','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('test_en','test_en','','test_en',711,'2015-08-24 11:29:09','2015-08-24 11:29:09','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,1,'adveditor','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('_hedder_message_en','TOPICS_en','','<p><a href=\"https://www.yokosojapan.net/article.php/20211212social-residence_life_en\"><strong>『Grow and Learn together with Social Residence』</strong></a></p>\r\n\r\n<p><a href=\"https://www.oakhouse.jp/eng/?sm_tag=3u2ICmgp\"><strong>Oak House Co., Ltd.</strong></a></p>\r\n\r\n<hr />\r\n<p>Japanese newsletter below<br />\r\n<a href=\"https://www.yokosojapan.net/article.php/2025.7_newsletter_ja\">https://www.yokosojapan.net/article.php/2025.7_newsletter_ja</a><br />\r\n<br />\r\nThank you very much for your continued support. Thanks to all of you, our \"Global Community\" newsletter, focusing on the exchange between Japanese and foreign residents in Japan, has completed its 16th year. </p>\r\n\r\n<p>We will continue addressing cross-cultural health, healthcare, and environmental issues. We remain committed to fostering cultural exchange.</p>\r\n\r\n<p>We appreciate your ongoing support and look forward to the coming year.</p>\r\n\r\n<p>If you wish to unsubscribe, please click here: <a href=\"https://m1-v2.mgzn.jp/sys/unreg.php?cid=E3081856\" target=\"_new\">Unsubscribe Link</a></p>\r\n\r\n<p>ーーーーーーーーーーーーーーーーーーーーーーー</p>\r\n\r\n<h2 id=\"global-community---interview-articles\"><strong>Global Community - Interview Articles</strong></h2>\r\n\r\n<ol>\r\n	<li>\r\n	<p>Introducing the IT education program \"TUMO\" featured at the Armenia Pavilion at the Osaka-Kansai Expo!<br />\r\n	The first Japanese branch, \"TUMO Gunma,\" has also opened in Gunma Prefecture.<br />\r\n	<a href=\"https://www.yokosojapan.net/article.php/20250613armenia_life_en\">https://www.yokosojapan.net/article.php/20250613armenia_life_en</a></p>\r\n	</li>\r\n	<li>\r\n	<p>The Marshall Islands — Its history and the spirit of \"never giving up\"<br />\r\n	Attention is focused on this small island nation\'s unique history and determination to face challenges.<br />\r\n	<a href=\"https://www.yokosojapan.net/article.php/20250602MarshallIslands_editor_en\">https://www.yokosojapan.net/article.php/20250602MarshallIslands_editor_en</a></p>\r\n	</li>\r\n	<li>\r\n	<p>Interview with an Indonesian student who came to study in Japan thanks to the International Red and White Singing Festival!<br />\r\n	<a href=\"https://www.yokosojapan.net/article.php/20250524indonesia_international_en\">https://www.yokosojapan.net/article.php/20250524indonesia_international_en</a></p>\r\n	</li>\r\n	<li>\r\n	<p>Behind the scenes of multicultural coexistence — The efforts of Hitohito Care Clinic<br />\r\n	<a href=\"https://www.yokosojapan.net/article.php/20250503clinic_life_en\">https://www.yokosojapan.net/article.php/20250503clinic_life_en</a></p>\r\n	</li>\r\n</ol>\r\n\r\n<p>ーーーーーーーーーーーーーーーーー</p>\r\n\r\n<p><strong>Regarding the International Red and White Singing Festival in 2025 in Kyoto.</strong></p>\r\n\r\n<ol>\r\n	<li>\r\n	<p>On August 16, the \"International Red and White Singing Festival in AEON MALL KYOTO\" will be held, and the representative will participate in the 13th International Red and White Singing Festival  at the Osaka-Kansai Expo. This is the first time the event will be held in Kyoto, a city of students. The event is hosted by AEON MALL KYOTO. Participants and volunteers are now being recruited! The entry deadline is July 15.<br />\r\n	<a href=\"https://www.irws.org/entry/\" rel=\"nofollow noopener\" target=\"_blank\">https://www.irws.org/entry/</a></p>\r\n	</li>\r\n</ol>\r\n\r\n<h2 id=\"global-community---interview-articles\"><span style=\"font-size: 13px;\">ーーーーーーーーーーーーーーーーーーーーーーー</span></h2>\r\n\r\n<p><strong>Regarding the International Red and White Singing Festival in EXPO2025</strong></p>\r\n\r\n<p>Since its launch in 2011, this event has been able to reach a highly meaningful stage, thanks to the strong support of the Osaka Convention & Tourism Bureau.</p>\r\n\r\n<p>We would like to express our heartfelt gratitude to everyone who has supported us along the way.</p>\r\n\r\n<p>This year as well, a selection event will be held in São Paulo, Brazil, in July, and two representatives will be invited to participate as singers at the Osaka-Kansai Expo event. This year marks the 130th anniversary of the establishment of diplomatic relations between Japan and Brazil, and many people are expected to come from Brazil as well.　<a href=\"https://sustainable.japantimes.com/magazine/vol44/44-01\">https://sustainable.japantimes.com/magazine/vol44/44-01</a></p>\r\n\r\n<p> </p>\r\n\r\n<figure>\r\n<p><img alt=\"\" height=\"662\" src=\"https://www.yokosojapan.net/images/articles/2025.5_newsletter_en_1_original.jpg\" width=\"530\" /></p>\r\n</figure>\r\n\r\n<p> </p>\r\n\r\n<p><strong>Event Date and Time:</strong><br />\r\nScheduled for September 19, 2025, at 13:00</p>\r\n\r\n<p><strong>Venue:</strong><br />\r\nFestival Station (next to the France Pavilion), Osaka-Kansai Expo</p>\r\n\r\n<p>IRWS　Authorized by </p>\r\n\r\n<p>Ministry of Foreign Affairs<br />\r\nConsortium for Supporting International Students in Osaka<br />\r\nJapan-ASEAN Center<br />\r\nOverseas Japanese Association</p>\r\n\r\n<p>[Sponsors, Partners, Collaborating Companies, and Organizations]</p>\r\n\r\n<ol>\r\n	<li>\r\n	<p>[Tokyo\'s Ota Ward - Top-Class History and Achievements] City Housing Co., Ltd. Website: <a href=\"https://cityhousing.drecruiting.jp/\" target=\"_new\">City Housing</a></p>\r\n	</li>\r\n	<li>\r\n	<p>[Revolutionary Scholarship System Bringing a Fresh Approach to Caregiver Recruitment] Handy Network International Co., Ltd. Website: <a href=\"https://www.hni.co.jp/\" target=\"_new\">Handy Network International</a> <a href=\"https://www.hni.co.jp/1411/\" target=\"_new\">Learn more about the scholarship system</a></p>\r\n	</li>\r\n	<li>\r\n	<p>EMUKOKU Co., Ltd.</p>\r\n	</li>\r\n	<li>\r\n	<p>ICHII Co., Ltd. Website: <a href=\"https://ichii-re.co.jp/\" target=\"_new\">ICHI</a></p>\r\n	</li>\r\n	<li>\r\n	<p>Global Trust Networks Co., Ltd. Website: <a href=\"https://www.gtn.co.jp/\" target=\"_new\">Global Trust Networks</a></p>\r\n	</li>\r\n	<li>\r\n	<p>Eisei Hospital Website: <a href=\"https://www.eisei.or.jp/\" target=\"_new\">Eisei Hospital</a></p>\r\n	</li>\r\n	<li>\r\n	<p>NPO Japan Mind-Body Function Activation Therapists Association Website: <a href=\"https://shinshinkaizen.hp.peraichi.com/\" target=\"_new\">Shinshinkaizen</a></p>\r\n	</li>\r\n	<li>\r\n	<p>EXING Co., Ltd. Website: <a href=\"https://gl.joysound.com/en/\" target=\"_new\">JOYSOUND Global</a></p>\r\n	</li>\r\n	<li>\r\n	<p>Oakhouse Co., Ltd. Website: <a href=\"https://www.oakhouse.jp/?sm_tag=3u2ICmgp\" target=\"_new\">Oakhouse</a></p>\r\n	</li>\r\n</ol>\r\n\r\n<p>[Supporting Organizations]</p>\r\n\r\n<ul>\r\n	<li>Radin General Incorporated Association</li>\r\n	<li>Japan International Cooperation Center (JICE)</li>\r\n	<li>Osaka International Exchange Center</li>\r\n	<li>Music for SDG\'s</li>\r\n	<li>Humming for PEACE</li>\r\n	<li>Yamamoto Gakko (School) Website: <a href=\"https://yamamotogakko.jp/\" target=\"_new\">Yamamoto Gakko</a></li>\r\n	<li>Japanese Language Education Information Platform (Nihongo Platt) Website: <a href=\"https://www.nihongoplat.org/\" target=\"_new\">Nihongo Platt</a></li>\r\n	<li>Cebu Music Learning Center (Philippines) Website: <a href=\"https://www.facebook.com/cebumusiccenter/about\" target=\"_new\">Cebu Music Learning Center</a></li>\r\n	<li>LPK Bahana Inspirasi Muda (Indonesia) Website: <a href=\"https://bahanainspirasimuda.com/\" target=\"_new\">Bahana Inspirasi Muda</a></li>\r\n	<li>Brazilian Business Group - ASIA (Japan-Brazil) Website: <a href=\"https://www.bbg-asia.com/ja/\" target=\"_new\">BBG Asia</a></li>\r\n</ul>\r\n\r\n<p>The official page: <a href=\"http://www.irws.org/entry\" target=\"_new\">IRWS Official Page</a></p>\r\n\r\n<p>Committee Representative:</p>\r\n\r\n<p>Multilingual Web Magazine GLOBALCOMMUNITY</p>\r\n\r\n<p>Editor-in-Chief: Kazumi Miyazaki</p>\r\n\r\n<p>Contact: info(@)yokosojapan.net Phone: 070-5653-1493</p>\r\n\r\n<p><a href=\"https://www.yokosojapan.net/article.php/globalcommunity2013_editor_en\" target=\"_new\">Global Community\'s Vision</a></p>\r\n\r\n<p><a href=\"https://www.yokosojapan.net/article.php/kouhaku.japan_editor_en\" target=\"_new\">Objectives of the International Red and White Singing Festival</a></p>\r\n\r\n<p>６： Most Read Articles in 2024</p>\r\n1: Ranking of Japanese Songs Loved by Foreigners　<a href=\"https://www.yokosojapan.net/article.php/20220320favorite_japanese_songs1_life_en\">https://www.yokosojapan.net/article.php/20220320favorite_japanese_songs1_life_en</a>\r\n\r\n<p>2: Goals of the International Red and White Singing  Festival   </p>\r\n\r\n<p><a href=\"https://www.yokosojapan.net/article.php/kouhaku.japan_editor_en\">https://www.yokosojapan.net/article.php/kouhaku.japan_editor_en</a></p>\r\n\r\n<p>3: Japan Advocates Peace and the Elimination of Racial Discrimination on the World Stage 　 </p>\r\n\r\n<p><a href=\"https://www.yokosojapan.net/article.php/20220812japanese_editor_en\">https://www.yokosojapan.net/article.php/20220812japanese_editor_en</a></p>\r\n\r\n<p>4: 『The Fourth State of Matter, Liquid Crystal Water』</p>\r\n\r\n<p><iframe allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen=\"\" frameborder=\"0\" height=\"315\" src=\"https://www.youtube.com/embed/i-T7tCMUDXU?si=mBFXxKluWhG4oPJ3\" title=\"YouTube video player\" width=\"460\"></iframe></p>\r\n\r\n<p>We are excited to share groundbreaking research on the structure of water, a topic prominently featured in the movie \"Water.\" Demonstrating the actual differences in water structures has proven challenging, but over the past few years, Dr. Gerald Pollack of the Washington University\'s Department of Bioengineering has made significant strides in studying an entirely new form of \"water structuring,\" yielding remarkable results.  <a href=\"https://www.yokosojapan.net/article.php/20151006discovery_international_en\" target=\"_new\">https://www.yokosojapan.net/article.php/20151006discovery_international_en</a></p>\r\n\r\n<p>5: Designing a Radiant Future Society: A Story of Cutting-Edge Neurosurgery by Dr. Nobusada ShinoUra</p>\r\n\r\n<p> <a href=\"https://www.yokosojapan.net/article.php/20230424brain_event_ja\">https://www.yokosojapan.net/article.php/20230424brain_event_ja</a></p>\r\n\r\n<p> </p>\r\n',131568,'2012-06-17 09:41:03','2025-07-01 08:09:44','noblocks',0,1,1,'',-1,'','','',0,'',0,1,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'adveditor','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('_header_content_ja','_トップページでのみヘッダで表示ja','','<img src=\"https://www.yokosojapan.net/images/library/Image/2014/14-0510.jpg\" alt=\"\">',1150,'2019-01-30 01:00:36','2019-01-30 01:00:36','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('_top_lastarticles','新着ニュース','','$exclude=array(\'mailmaga\');\r\n$display = phpblock_lastarticles(10,80,$exclude);\r\n$display .=  \'<p style=\"text-align:right;margin:0\">&gt;&gt;<a href=\"/sitemap/\">サイトマップ</a></p>\';\r\necho $display;',0,'2010-09-02 15:50:13','2019-01-29 11:45:48','noblocks',0,1,1,'',-1,'','','',0,'',0,1,1,-1,3,45,3,2,0,0,0,'',1,2,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('backup','_トップページでのみヘッダで表示backup','','# このページは、プラグラムです。アドバンストエディタのモードで保存しないでください。    \r\n\r\n$display = \'<div><a href=\"/article.php/feature_worldshift06_\';\r\n$display .= COM_getLanguageId();\r\n$display .= \'\"><img alt=\"\" style=\"width: 740px; height: 309px;\" src=\"https://www.yokosojapan.net/images/library/Image/top201112(1).jpg\" /></a></div>\';\r\necho $display;',11,'2011-05-30 09:39:57','2011-11-25 16:35:33','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,0,0,0,'',1,2,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('all','すべての記事','','$display = phpblock_lastarticles(1000,120);\r\n\r\necho $display;\r\n',8730,'2019-01-30 09:58:39','2019-01-30 09:58:39','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,2,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('_header_content_en','_トップページでのみヘッダで表示en','','<img src=\"https://www.yokosojapan.net/images/library/Image/2014/14-0510.jpg\" alt=\"\">',116441,'2019-01-30 00:59:42','2019-01-30 00:59:42','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('topiclist','topiclist','','if ( $_GET[\'tid\'] != NULL ){\r\n  $tid =  $_GET[\'tid\'];\r\n} else {\r\n  $tid =  \'ALL\';\r\n}\r\n\r\n\r\necho \'<h1>\'.PLG_replaceTags(\'[topic:\'.$tid.\']\').\' \'.$tid.\'</h1>\';\r\n\r\necho PLG_replaceTags(\'[newstories2:\'.$tid.\' limitcnt:1000 newmarkday:30]\');',1327,'2019-01-29 14:55:16','2019-01-29 17:15:58','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,2,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('20140215001042780','echo','','echo COM_getLanguageId();\r\n',713,'2014-02-15 00:11:00','2014-02-15 00:11:00','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,2,0,1,'','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('test','test','','[staticpage_content:_side_lastarticles]',22,'2019-01-31 00:55:31','2019-01-31 00:55:31','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,2,0,1,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('_home_ko','_home_ko','','<div id=\"top_box\" class=\"uk-child-width-1-2 uk-child-width-1-1@s uk-child-width-1-2@m\" uk-grid>\r\n<div id=\"international_box\" class=\"uk-card uk-card-default uk-card-body\">\r\n\r\n<h3 title=\"国際人\"><a href=\"https://www.yokosojapan.net/index.php/topic/international_ko\">국제인</a></h3>\r\n<img width=\"238\" height=\"15\" src=\"https://www.yokosojapan.net/mt/images/index/136_index_05.gif\" alt=\"国際機関・国際人・国際結婚\" />\r\n[newstories2:international_ko limitcnt:2 newmarkday:30 intervalday:5000]\r\n</div>\r\n\r\n<div id=\"event_box\" class=\"uk-card uk-card-default uk-card-body\">\r\n<h3 title=\"イベント\"><a href=\"https://www.yokosojapan.net/index.php/topic/event_ko\">이벤트</a></h3>\r\n<img width=\"238\" height=\"15\" src=\"https://www.yokosojapan.net/mt/images/index/136_index_07.gif\" alt=\"多文化・エンタメ＆イベント・国際イベント\" />\r\n[newstories2:event_ko limitcnt:2 newmarkday:30 intervalday:5000]\r\n</div>\r\n\r\n<div id=\"life_box\" class=\"uk-card uk-card-default uk-card-body\">\r\n<h3 title=\"みんなの生活\"><a href=\"https://www.yokosojapan.net/index.php/topic/life_ko\">모두의 생활</a></h3>\r\n<img width=\"238\" height=\"15\" src=\"https://www.yokosojapan.net/mt/images/index/136_index_09.gif\" alt=\"日本語・教育機関・生活\" />\r\n[newstories2:life_ko limitcnt:2 newmarkday:30 intervalday:5000]\r\n</div>\r\n<div id=\"editor_box\" class=\"uk-card uk-card-default uk-card-body\">\r\n<h3 title=\"編集者より\"><a href=\"https://www.yokosojapan.net/index.php/topic/editor_ko\" bitly=\"BITLY_PROCESSED\">편집자로부터 </a></h3>\r\n<p>みんなでGLOBAL　COMMINITYを一緒につくりませんか？英語・韓国語・中国語翻訳ボランティアも募集中!!</p>\r\n[newstories2:editor_ko limitcnt:2 newmarkday:30 intervalday:5000]\r\n</div>\r\n</div>',12926,'2019-01-29 22:32:42','2025-11-27 14:26:45','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'html','','','','');
INSERT INTO `gl_staticpage`VALUES ('_home_en','_home_en','','<div id=\"top_box\" class=\"uk-child-width-1-2 uk-child-width-1-1@s uk-child-width-1-2@m\" uk-grid>\r\n<div id=\"international_box\" class=\"uk-card uk-card-default uk-card-body\">\r\n\r\n<h3 title=\"国際人\"><a href=\"https://www.yokosojapan.net/index.php/topic/international_en\">International</a></h3>\r\n<img width=\"238\" height=\"15\" src=\"https://www.yokosojapan.net/mt/images/index/136_index_05.gif\" alt=\"国際機関・国際人・国際結婚\" />\r\n[newstories2:international_en limitcnt:20 newmarkday:30]\r\n</div>\r\n\r\n<div id=\"event_box\" class=\"uk-card  uk-card-default uk-card-body\">\r\n<h3 title=\"イベント\"><a href=\"https://www.yokosojapan.net/index.php/topic/event_en\">Events</a></h3>\r\n<img width=\"238\" height=\"15\" src=\"https://www.yokosojapan.net/mt/images/index/136_index_07.gif\" alt=\"多文化・エンタメ＆イベント・国際イベント\" />\r\n[newstories2:event_en limitcnt:20 newmarkday:30 thtml:default]\r\n</div>\r\n\r\n<div id=\"life_box\" class=\"uk-card uk-card-default uk-card-body\">\r\n<h3 title=\"みんなの生活\"><a href=\"https://www.yokosojapan.net/index.php/topic/life_en\">Life</a></h3>\r\n<img width=\"238\" height=\"15\" src=\"https://www.yokosojapan.net/mt/images/index/136_index_09.gif\" alt=\"日本語・教育機関・生活\" />\r\n[newstories2:life_en limitcnt:20 newmarkday:30 thtml:default]\r\n</div>\r\n<div id=\"editor_box\" class=\"uk-card uk-card-default uk-card-body\">\r\n<h3 title=\"編集者より\"><a href=\"https://www.yokosojapan.net/index.php/topic/editor_en\" bitly=\"BITLY_PROCESSED\">編集者より</a></h3>\r\n<p>みんなでGLOBAL　COMMINITYを一緒につくりませんか？英語・韓国語・中国語翻訳ボランティアも募集中!!</p>\r\n[\r\n[newstories2:editor_en limitcnt:20 newmarkday:30 thtml:default]\r\n</div>\r\n</div>',583,'2025-11-27 14:23:51','2025-11-27 14:27:08','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'html','','','','');
INSERT INTO `gl_staticpage`VALUES ('_footer-contents_ja','_footer-contents_ja','','<footer id=\"footer\" role=\"contentinfo\" class=\"clearfix\" itemscope=\"itemscope\" itemtype=\"//schema.org/WPFooter\">\r\n      <div id=\"footer-content\">\r\n        <div id=\"copyright\" itemprop=\"copyrightHolder\" itemscope=\"itemscope\" itemtype=\"//schema.org/Organization\"><address><span itemprop=\"name\">Copyright © 2025 ようこそ Japan!</span></address></div>\r\n\r\n        <div id=\"execution_textandtime\"><a href=\"/users.php\">login</a></div>\r\n      </div>\r\n    </footer>',301154,'2025-11-27 14:34:32','2025-11-27 14:34:32','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,1,'html','','','','');
INSERT INTO `gl_staticpage`VALUES ('_header_slogan_ja','_header_slogan_ja','\'Globalcommunity \'multicultural website focused on health,medical,environment and international exchange 英語・中国語・韓国語で ボランティア　外国人 ','\'Globalcommunity \'multicultural website focused on health,medical,environment and international exchange\r\n<br>英語・中国語・韓国語で ボランティア　外国人 留学生　国際派日本人の就職、旅行、留学、部屋探し<br>\r\n国際交流イベントの情報を提供する国際交流サイト\"GLOBAL COMMUNITY\"',5185386,'2019-01-29 22:45:27','2023-08-25 17:25:46','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('_home_zh','_home_zh','','<div id=\"top_box\" class=\"uk-child-width-1-2 uk-child-width-1-1@s uk-child-width-1-2@m\" uk-grid>\r\n<div id=\"international_box\" class=\"uk-card uk-card-default uk-card-body\">\r\n\r\n<h3 title=\"国際人\"><a href=\"https://www.yokosojapan.net/index.php/topic/international_zh\">国际人</a></h3>\r\n<img width=\"238\" height=\"15\" src=\"https://www.yokosojapan.net/mt/images/index/136_index_05.gif\" alt=\"国際機関・国際人・国際結婚\" />\r\n[newstories2:international_zh limitcnt:20 newmarkday:30 intervalday:3000]\r\n</div>\r\n\r\n<div id=\"event_box\" class=\"uk-card uk-card-default uk-card-body\">\r\n<h3 title=\"イベント\"><a href=\"https://www.yokosojapan.net/index.php/topic/event_zh\">文化活动</a></h3>\r\n<img width=\"238\" height=\"15\" src=\"https://www.yokosojapan.net/mt/images/index/136_index_07.gif\" alt=\"多文化・エンタメ＆イベント・国際イベント\" />\r\n[newstories2:event_zh limitcnt:20 newmarkday:30 intervalday:3000]\r\n</div>\r\n\r\n<div id=\"life_box\" class=\"uk-card uk-card-default uk-card-body\">\r\n<h3 title=\"みんなの生活\"><a href=\"https://www.yokosojapan.net/index.php/topic/life_zh\">大家的生活</a></h3>\r\n<img width=\"238\" height=\"15\" src=\"https://www.yokosojapan.net/mt/images/index/136_index_09.gif\" alt=\"日本語・教育機関・生活\" />\r\n[newstories2:life_zh limitcnt:20 newmarkday:30 intervalday:3000]\r\n</div>\r\n<div id=\"editor_box\" class=\"uk-card uk-card-default uk-card-body\">\r\n<h3 title=\"編集者より\"><a href=\"https://www.yokosojapan.net/index.php/topic/editor_zh\" bitly=\"BITLY_PROCESSED\">编辑的活</a></h3>\r\n<p>みんなでGLOBAL　COMMINITYを一緒につくりませんか？英語・韓国語・中国語翻訳ボランティアも募集中!!</p>\r\n[newstories2:editor_zh limitcnt:20 newmarkday:30 intervalday:3000]\r\n</div>\r\n</div>',80937,'2019-01-29 22:52:48','2025-11-27 14:26:06','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'html','','','','');
INSERT INTO `gl_staticpage`VALUES ('_header_content_ko','_トップページでのみヘッダで表示ko','','<img src=\"https://www.yokosojapan.net/images/library/Image/2014/14-0510.jpg\" alt=\"\">',16195,'2019-01-30 00:58:53','2019-01-30 01:00:07','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('20190130001943967','[langsel: english, japanese, french, german] ','','[langsel: auto]',605,'2019-01-30 00:34:05','2019-01-30 00:34:05','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,1,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('_home','_home','','',284612,'2019-01-30 00:42:37','2025-11-24 19:17:07','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,2,0,0,'','','','','  ');
INSERT INTO `gl_staticpage`VALUES ('aboutus','Global community が目指すもの','','<!-- 893.html -->\r\n<div id=\"pagebody_outline\">\r\n<div id=\"left_box\">\r\n<div class=\"both10\"> </div>\r\n\r\n<div id=\"editor_title_box\">\r\n<div id=\"editor_titie_box_top\"><!-- Image --></div>\r\n\r\n<div id=\"midashi\"><strong>GLOBAL　COMMUNITYが目指すもの</strong></div>\r\n\r\n<div id=\"editor_titie_box_bottom\"><!-- Image --></div>\r\n</div>\r\n\r\n<div class=\"both10\"> </div>\r\n\r\n<div><span style=\"font-size: x-large;\">『GLOBAL　COMMUNITY』　新創刊にあたって</span><br />\r\n<br />\r\n<br />\r\n<span style=\"font-size: large;\"><a href=\"http://www.mlit.go.jp/kankocho/\" target=\"_blank\" title=\"☆『観光立国』・・2010年までに外国人観光客を1000万人に!!\">☆『観光立国』・・2020年までに外国人観光客を4000万人に!!</a></span></div>\r\n\r\n<div> </div>\r\n\r\n<div><img alt=\"\" src=\"https://www.yokosojapan.net/images/library/Image/Japan_Endless_Discovery.gif\" style=\"width: 260px; height: 130px;\" /></div>\r\n\r\n<div> </div>\r\n\r\n<div><span style=\"font-size: large;\"><a href=\"http://www.mlit.go.jp/kankocho/topics08_000016.html\">http://www.mlit.go.jp/kankocho/topics08_000016.html</a></span></div>\r\n\r\n<div> </div>\r\n\r\n<div><span style=\"font-size: large;\">グローバルコミュニティーは、観光庁のビジットジャパン・キャンペーンに参画して、媒体の運営をしております。<br />\r\n<br />\r\n☆『開かれた日本の教育』・・<br />\r\n<a href=\"http://www.mext.go.jp/b_menu/houdou/20/07/08080109.htm\">2020年までに留学生受入を30万人に</a><br />\r\n<br />\r\n☆『多文化な家族』・・<br />\r\n<a href=\"http://www.npo-icpa.or.jp/db/kokusai_kekkon.html#kenbetu\" target=\"_blank\" title=\"http://www.npo-icpa.or.jp/db/kokusai_kekkon.html#kenbetu\">大都市圏では10組に1組が国際結婚カップル</a><br />\r\n<br />\r\n<a href=\" http://www.atpress.ne.jp/view/10070\" target=\"_blank\" title=\" http://www.atpress.ne.jp/view/10070\">☆高校の英語の授業の完全英語化に向けての対応</a></span><br />\r\n<br />\r\n<br />\r\n<br />\r\n世界は今、急速な国際化社会に向かって、突き進んでいます。日本も例外ではありません。大都市圏では、国際結婚のカップルが10組に1組を数え、いろいろな国から来た留学生や働く外国人の人たちを目にすることも珍しくなくなりました。しかし、一般的にはまだまだ日本に住んでいる外国人の人たちと親しく付き合っている人は少ない状況です。<br />\r\n<br />\r\n『GLOBAL　COMMUNITY』は『住んでよし、訪ねてよし、学んでよし』の日本社会を作るためにがんばっている日本人や外国人を支援する国際交流促進のための国際交流媒体を目指しています。<br />\r\n<br />\r\n職場でも、学校でも、地域でもこれからますます自分とは違う文化的な背景を持つ人たちとの協力関係が重要になってくるでしょう。その時に相互理解のコミュニケーションツールとして『GLOBAL　COMMUNITY』がお役に立つことが出来ればこんなにうれしいことはありません。<br />\r\n<br />\r\n取材や編集は豊富な海外在住経験を持つ日本人、外国人スタッフが留学生や日本人学生をサポートする形で進めています。日本人スタッフは、『多様な文化を尊重する寛容な気持ち』を持って、また関係者全員が国籍を超えた『大きな目標達成のための協調性』を絶えず意識しながら活動をしています。<br />\r\n<br />\r\nまだまだ長い道のりですが、今後とも皆様のご支援、ご理解をいただけますようよろしくお願いいたします。<br />\r\n<br />\r\n<br />\r\nGLOBAL　COMMUNITYは　大学の国際交流センターや日本語学校、留学生の多い専門学校、語学学校・大使・国際交流団体、行政団体、マスコミ、各国語メディア関係者、学生団体、一般企業人事担当者などにも、新着情報をメール配信をしており、一部の記事は、日本語、英語、中国語、韓国語でご欄いただけます。</div>\r\n\r\n<div> </div>\r\n\r\n<div>グローバルコミュニティー編集長　宮崎計実<br />\r\n<a href=\"https://www.yokosojapan.net\" target=\"_blank\" title=\"https://www.yokosojapan.net\">https://www.yokosojapan.net</a></div>\r\n\r\n<div>FACEBOOKのプロフィールはこちら</div>\r\n\r\n<div><a href=\"https://www.facebook.com/kazumi.miyazaki.961/about?section=bio\">https://www.facebook.com/kazumi.miyazaki.961/about?section=bio</a></div>\r\n\r\n<div id=\"left_line\"><!-- Image --></div>\r\n</div>\r\n<!-- end of left_box --></div>\r\n<!-- end of pagebody_outline -->\r\n\r\n<div id=\"pagebody_outline\">\r\n<div id=\"left_box\">\r\n<p>グローバルコミュニティーの活動実績</p>\r\n\r\n<p>１：観光庁設立時前より　Visit　Japan　Campaign　キャンペーンにも賛同し、2009年4月より、在日留学生との日本人の相互理解をテーマに多言語フリーフリーペーパー・WEBサイトを発行。公式サイト　<a href=\"http://yokosojapan.net/\">http://yokosojapan.net</a></p>\r\n\r\n<p>２： 2009年、GC学生通訳ボランテイアガイドを組織。4月には、オリンピック招致委員会に協力し、４週間、IOC招致委員会の来日に伴い開設されたプレスセンターにて、通訳サポートのボランテイアを行う。その後は、活動拠点を明治神宮に定め、海外からの観光客を案内。2015年現在、延登録者は、２００名を超える。</p>\r\n\r\n<p><a href=\"https://www.yokosojapan.net/article.php/guide201104_life_ja\">https://www.yokosojapan.net/article.php/guide201104_life_ja</a></p>\r\n\r\n<p>３：日本賃貸住宅管理協会主催の留学生インターンシップの企画・運営（2010年より）</p>\r\n\r\n<p>日本で初めて業界団体全体で取り組む、留学生インターンシップを提案。2010年より100名以上の学生の4週間の長期インターンシップをサポート。多くの不動産会社経営者の理解を得て、外国人の住居問題の緩和に貢献。</p>\r\n\r\n<p><a href=\"https://www.yokosojapan.net/article.php/event_JPM_01\">https://www.yokosojapan.net/article.php/event_JPM_01</a></p>\r\n\r\n<p>４　看護留学生を迎える高島平団地の可能性を考える」と題して代表の宮崎が発表を行う。（2009年）</p>\r\n\r\n<p align=\"left\"><u><a href=\"http://goo.gl/BJpAX\">http://goo.gl/BJpAX</a></u></p>\r\n\r\n<p align=\"left\">５：2012年、留学生と日本人学生によるペア・インターンを企画、運営（観光庁後援）</p>\r\n\r\n<p align=\"left\">留学生と日本人学生がペアになり、地域活性化のための情報発信の手法を学び、各地域に入り、多言語での情報発信で地域の振興に貢献する<br />\r\n<a href=\"http://japan47-org.jimdo.com/\" target=\"_blank\"><font color=\"#1155cc\">http://japan47-org.jimdo.com/</font></a></p>\r\n\r\n<p>６：2011年より、世界の仲間と歌おう『国際紅白歌合戦』を開催。2014年には4回目を、観光庁、外務省、日本アセアンセンター、東京都、大阪府の後援で行う。NHK、毎日新聞、時事通信などのマスメディアや、9か国語による多言語媒体でも取り上げられる。2014年の東京開催では、20か国以上の大使、及び大使館関係者も参加。</p>\r\n\r\n<p><a href=\"http://irws.org\">http://irws.org</a></p>\r\n\r\n<p>国際紅白歌合戦が目指すもの</p>\r\n\r\n<p><a href=\"https://www.yokosojapan.net/article.php/kouhaku.japan_editor\">https://www.yokosojapan.net/article.php/kouhaku.japan_editor</a></p>\r\n\r\n<p><strong>お問い合わせ</strong></p>\r\n\r\n<p>グローバルコミュニティー　編集部　編集長</p>\r\n\r\n<p>観光庁後援・国際紅白歌合戦創設者・代表</p>\r\n\r\n<p>宮崎計実（MIYAZAKI　KAZUMI）</p>\r\n\r\n<p>160-0022 東京都新宿区新宿6-7-1-502</p>\r\n\r\n<p>070-5653-1493</p>\r\n\r\n<p>info@yokosojapan.net</p>\r\n\r\n<p> </p>\r\n\r\n<p> </p>\r\n</div>\r\n</div>\r\n',2419,'2019-01-30 20:41:45','2019-03-13 19:09:39','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,1,'adveditor','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('contact','Contact','','<a href=\"https://forms.gle/M8eCwUPpE6n8Punu7\" class=\"uk-button uk-button-primary\">CONTACT FORM / お問い合わせフォーム</a>\r\n',40525,'2019-01-30 21:40:20','2025-11-27 19:17:01','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'html','','','','');
INSERT INTO `gl_staticpage`VALUES ('s-sub-grid_keyurl','s-sub-grid_keyurl','','<h2>&#91;medialist:81 theme:s-sub-grid_keyurl src:orig limitcnt:3 title:1 uks:uk-section-muted ukc: media: grids:1 gridm:3 text:プランを見る &#93;</h2>\r\n[medialist:81 theme:s-sub-grid_keyurl src:orig limitcnt:3 title:1 uks:uk-section-muted ukc: media: grids:1 gridm:3 text:プランを見る]\r\n',1475,'2019-01-21 20:09:45','2019-01-21 20:09:45','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,2,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-1section-card-left-right_keyurl','s-1section-card-left-right_keyurl','','<h2>&#91;medialist:90 theme:s-1section-card-left-right_keyurl src:orig title:1 uks:uk-section-muted uk-section-large ukc:uk-container-small media: grids:1 gridm:2 &#93;</h2>\r\n[medialist:90 theme:s-1section-card-left-right_keyurl src:orig title:1 uks:uk-section-muted uk-section-large ukc:uk-container-small media: grids:1 gridm:2 text:詳細を見る]\r\n\r\n<h2>&#91;medialist:90 theme:s-1section-card-left-right_keyurl src:orig title:1 uks:uk-section-muted uk-section-large ukc: media: grids:1 gridm:2 &#93;</h2>\r\n[medialist:90 theme:s-1section-card-left-right_keyurl src:orig title:1 uks:uk-section-muted uk-section-large ukc: media: grids:1 gridm:2 text:もっとみる]\r\n',2074,'2019-01-20 22:51:30','2019-01-27 16:49:46','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,6,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-1section-col2_reverce','s-1section-col2_reverce','','<h2>&#91;medialist:58 theme:s-1section-col2_reverce src:tn title:1 uks:uk-section-small ukc:uk-container-small.uk-comment-primary gridl:1-3 gridr:2-3 reverse: &#93;</h2>\r\n[medialist:58 theme:s-1section-col2_reverce src:tn title:1 uks:uk-section-small ukc:uk-container-small.uk-comment-primary gridl:1-3 gridr:2-3 reverse:]\r\n\r\n<h2>&#91;medialist:58 theme:s-1section-col2_reverce src:tn title:1 uks:uk-section-small ukc:uk-container-small.uk-comment-primary gridl:2-3 gridr:1-3 reverse:1 &#93;</h2>\r\n[medialist:58 theme:s-1section-col2_reverce src:tn title:1 uks:uk-section-small ukc:uk-container-small.uk-comment-primary gridl:2-3 gridr:1-3 reverse:1]\r\n\r\n',1882,'2019-01-20 23:51:34','2019-01-20 23:58:17','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,6,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-1section-slideshow-fade','s-1section-slideshow-fade','','<h2>&#91;medialist:65 theme:s-1section-slideshow-fade src:orig dotnav:1&#93;</h2>\r\n[medialist:65 theme:s-1section-slideshow-fade src:orig dotnav:1]\r\n<h2>&#91;medialist:42 theme:s-1section-slideshow-fade src:orig dotnav:0&#93;</h2>\r\n[medialist:65 theme:s-1section-slideshow-fade src:orig dotnav:0]',2189,'2019-01-20 19:49:42','2019-01-28 03:17:17','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,6,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-sections-bg_keyurl','s-sections-bg_keyurl','','<h2>&#91;medialist:76 theme:s-sections-bg_keyurl src:orig title:1 uks:uk-section-muted ukc:uk-container-small.uk-text-center 20181230115025909&#93;</h2>\r\n[medialist:76 theme:s-sections-bg_keyurl src:orig title:1 uks:uk-section-small ukc:uk-container-small.uk-text-center 20181230115025909]\r\n',158,'2019-01-21 01:11:02','2019-01-22 01:23:45','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,6,45,3,2,2,0,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-sections-bg-overlay-black_keyurl','s-sections-bg-overlay-black_keyurl','','<h2>&#91;medialist:90 theme:s-sections-bg-overlay-black_keyurl src:orig title: uks:uk-padding-remove-vertical ukc:uk-text-center text:詳細を見る&#93;</h2>\r\n[medialist:90 theme:s-sections-bg-overlay-black_keyurl src:orig title: uks:uk-padding-remove-vertical ukc:uk-text-center text:詳細を見る]',1428,'2019-01-21 01:47:08','2019-01-21 01:48:27','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,6,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-sections-bg-overlay-white_keyurl','s-sections-bg-overlay-white_keyurl','','<h2>&#91;medialist:90 theme:s-sections-bg-overlay-white_keyurl src:orig title: uks:uk-padding-remove-vertical ukc:uk-text-center text:詳細を見る&#93;</h2>\r\n[medialist:90 theme:s-sections-bg-overlay-white_keyurl src:orig title: uks:uk-padding-remove-vertical ukc:uk-text-center text:詳細を見る]',1535,'2019-01-21 01:52:09','2019-01-21 01:52:09','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,6,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-sections-bg-panel-black_keyurl','s-sections-bg-panel-black_keyurl','','<h2>&#91;medialist:90 theme:s-sections-bg-panel-black_keyurl src:orig title:1 uks:uk-section-large.uk-section-muted ukc:uk-container-small.uk-text-center&#93;</h2>\r\n[medialist:90 theme:s-sections-bg-panel-black_keyurl src:orig title:1 uks:uk-section-large.uk-section-muted ukc:uk-container-small.uk-text-center]',1613,'2019-01-21 01:55:44','2019-01-28 18:18:44','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,6,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-1section-filter_search','s-1section-filter_search','','<h2>&#91;medialist:34 theme:s-1section-filter_search src:disp title:1 uks: ukc: media: grids:1 gridm:5 &#93;</h2>\r\n[medialist:34 theme:s-1section-filter_search src:disp title:1 uks: ukc: media: grids:1 gridm:5]\r\n\r\n<h2>&#91;medialist:25 theme:s-1section-filter_search src:disp title:1 uks: ukc: media: grids:1 gridm:3&#93;</h2>\r\n[medialist:25 theme:s-1section-filter_search src:disp title:1 uks: ukc: media: grids:1 gridm:3]\r\n',1962,'2019-01-21 00:00:27','2019-01-21 00:01:42','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,6,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-1section-grid-card1_keyurl','s-1section-grid-card1_keyurl','','<h2>&#91;medialist:81 theme:s-1section-grid-card1_keyurl src:orig limitcnt:3 title:1 uks:uk-section-muted ukc: media: grids:1 gridm:3 text:詳細を見る &#93;</h2>\r\n[medialist:81 theme:s-1section-grid-card1_keyurl src:orig limitcnt:3 title:1 uks:uk-section-muted ukc: media: grids:1 gridm:3 class_album_title:uk-text-left  class_media_desc:uk-text-left  text:詳細を見る]\r\n\r\n<h2>&#91;medialist:81 theme:s-1section-grid-card1_keyurl src:orig limitcnt:3 title:1 uks:uk-section-muted ukc: media: grids:1 gridm:3 text:プランを見る &#93;</h2>\r\n[medialist:81 theme:s-1section-grid-card1_keyurl src:orig limitcnt:3 title:1 uks:uk-section-muted ukc: media: grids:1 gridm:3 text:プランを見る]\r\n\r\n',2181,'2019-01-21 00:02:40','2019-01-28 03:15:27','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,6,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-1section-grid-card2-keyurl','s-1section-grid-card2-keyurl','','<h2>&#91;medialist:90 theme:s-1section-grid-card2-keyurl src:disp title:1 uks:uk-section-muted ukc:uk-text-center ukc: media: grids:1 gridm:2 text:プランを見る limitcnt:2&#93;</h2>\r\n[medialist:90 theme:s-1section-grid-card2-keyurl src:disp title:1 uks:uk-section-muted ukc:uk-text-center ukc: media: grids:1 gridm:2 text:プランを見る limitcnt:2]\r\n\r\n<h2>&#91;medialist:90 theme:s-1section-grid-card2-keyurl src:disp title:1 uks:uk-section-muted ukc:uk-text-center ukc: media: grids:1 gridm:3 text:プランを見る limitcnt:3&#93;</h2>\r\n[medialist:90 theme:s-1section-grid-card2-keyurl src:disp title:1 uks:uk-section-muted ukc:uk-text-center ukc: media: grids:1 gridm:3 text:プランを見る limitcnt:3]\r\n\r\n<h2>&#91;medialist:90 theme:s-1section-grid-card2-keyurl src:disp title:1 uks: ukc: media: grids:1 gridm:4&#93;</h2>\r\n[medialist:90 theme:s-1section-grid-card2-keyurl src:disp title:1 uks: ukc: media: grids:1 gridm:4 text:PLAN]\r\n',2141,'2019-01-21 00:12:06','2019-01-21 00:20:36','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,6,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-1section-menu_keyurl1','s-1section-menu_keyurl1','','<h2>&#91;medialist:21 theme:s-1section-menu_keyurl1 src:orig limitcnt:2 title:1 uks:uk-section-large.uk-section-muted ukc: media: grids:1 gridm:2 text1:お品書き text2:プランを見る&#93;</h2>\r\n[medialist:21 theme:s-1section-menu_keyurl1 src:orig limitcnt:2 title:1 uks:uk-section-large.uk-section-muted ukc: media: grids:1 gridm:2 text1:お品書き text2:プランを見る]\r\n\r\n<h2>&#91;medialist:21 theme:s-1section-menu_keyurl1 src:orig limitcnt:3 limitcnt:3 title:1 uks:uk-section-large.uk-section-muted ukc: media: grids:1 gridm:3 text1:お品書き text2:プランを見る&#93;</h2>\r\n[medialist:21 theme:s-1section-menu_keyurl1 src:orig limitcnt:3 limitcnt:3 title:1 uks:uk-section-large.uk-section-muted ukc: media: grids:1 gridm:3 text1:お品書き text2:プランを見る]\r\n\r\n<h2>&#91;medialist:21 theme:s-1section-menu_keyurl1 src:orig limitcnt:4 title:1 uks:uk-section-large.uk-section-muted ukc: media: grids:1 gridm:4 text1:お品書き text2:プランを見る&#93;</h2>\r\n[medialist:2 text1:お品書き text2:プランを見る1 theme:s-1section-menu_keyurl1 src:orig limitcnt:4 title:1 uks:uk-section-large.uk-section-muted ukc: media: grids:1 gridm:4]',155,'2019-01-21 00:22:59','2019-01-22 01:23:28','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,6,45,3,2,2,0,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-1section-menu_keyurl2','s-1section-menu_keyurl2','','<h2>&#91;medialist:21 theme:s-1section-menu_keyurl2 src:disp title:1 uks:uk-section-small.uk-section-muted ukc: media:20181231111421795 grids:1 gridm:2 text1:お品書きを見る text2:詳細を見る text3:ギャラリー&#93;</h2>\r\n[medialist:21 theme:s-1section-menu_keyurl2 src:disp title:1 uks:uk-section-small.uk-section-muted ukc: media:20181231111421795 grids:1 gridm:2 text1:お品書きを見る text2:詳細を見る text3:ギャラリー]',1980,'2019-01-21 00:47:15','2019-01-21 00:49:19','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,6,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-1section-plans_keyurl','s-1section-plans_keyurl','','<h2>&#91;medialist:63 theme:s-1section-plans_keyurl src:disp limitcnt:3 title:1 uks:uk-section-muted ukc: media: grids:1 gridm:3 text:プランを見る&#93;</h2>\r\n[medialist:63 theme:s-1section-plans_keyurl src:disp limitcnt:3 title:1 uks:uk-section-muted ukc: media: grids:1 gridm:3 text:プランを見る]',166,'2019-01-21 00:54:33','2019-01-22 01:13:51','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,6,45,3,2,2,0,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-1section-qa','s-1section-qa','','<h2>&#91;medialist:16 theme:s-1section-qa src:orig limitcnt:100 title:0 uks:uk-section-large&#93;</h2>\r\n[medialist:16 theme:s-1section-qa src:orig limitcnt:100 title:0 uks:uk-section-large]',2021,'2019-01-21 00:55:34','2019-01-21 00:55:34','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,6,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-1section-slider_page','s-1section-slider_page','','<h2>&#91;medialist:39 theme:s-1section-slider_page src:disp title:1 uks: ukc:uk-text-center&#93;</h2>\r\n[medialist:39 theme:s-1section-slider_page src:disp title:1 uks: ukc:uk-text-center.uk-slider-container]',85,'2019-01-21 00:56:39','2019-01-22 01:23:13','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,6,45,3,2,2,0,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-1section-slider1','s-1section-slider1','','<h2>&#91;medialist:4 theme:s-1section-slider1 src:orig title:&#93;</h2>\r\n[medialist:4 theme:s-1section-slider1 src:orig title:]',2104,'2019-01-21 01:01:18','2019-01-21 01:01:18','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,6,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-1section-slider2','s-1section-slider2','','<h2>&#91;medialist:4 theme:s-1section-slider2 src:disp title: dotnav:1 grid:2 grids:2 gridm:3&#93;</h2>\r\n[medialist:4 theme:s-1section-slider2 src:disp title: dotnav:1 grid:2 grids:2 gridm:3]\r\n<h2>&#91;medialist:4 theme:s-1section-slider2 src:disp title: dotnav:1 grid:3 grids:3 gridm:5&#93;</h2>\r\n[medialist:4 theme:s-1section-slider2 src:disp title: dotnav:1 grid:3 grids:3 gridm:5]\r\n<h2>&#91;medialist:4 theme:s-1section-slider2 src:disp title: dotnav:1 grid:3 grids:6 gridm:10&#93;</h2>\r\n[medialist:4 theme:s-1section-slider2 src:disp title: dotnav:1 grid:3 grids:6 gridm:10]\r\n<h2>&#91;medialist:4 theme:s-1section-slider2 src:disp title: dotnav:1 grid:1 grids:2 gridm:4&#93;</h2>\r\n[medialist:4 theme:s-1section-slider2 src:disp title: dotnav:1 grid:1 grids:2 gridm:4]\r\n\r\n',1993,'2019-01-21 01:02:02','2019-01-26 18:12:05','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,6,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-1section-slideshow-kenburns','s-1section-slideshow-kenburns','','<h2>&#91;medialist:65 theme:s-1section-slideshow-kenburns src:orig title:1 uks:uk-padding-remove-vertical ukc:unzoomin&#93;</h2>\r\n[medialist:65 theme:s-1section-slideshow-kenburns src:orig title:1 uks:uk-padding-remove-vertical ukc:unzoomin]',1871,'2019-01-21 01:08:04','2019-01-21 01:08:39','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,6,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-1section-slideshow-kenburns-col2_reverce','s-1section-slideshow-kenburns-col2_reverce','','<h2>&#91;medialist:23 theme:s-1section-slideshow-kenburns-col2_reverce src:orig limitcnt:5 title: uks:uk-section-muted ukc: media: gridl:3-5 gridr:2-5  text:詳細を見る url:/ reverse:  dotnav:1 text:詳細を見る&#93;</h2>\r\n[medialist:23 theme:s-1section-slideshow-kenburns-col2_reverce src:orig limitcnt:5 title:1 uks:uk-section-muted ukc: media: gridl:3-5 gridr:2-5 url:/ reverse:  dotnav:1 text:詳細を見る]\r\n\r\n<h2>&#91;medialist:23 theme:s-1section-slideshow-kenburns-col2_reverce src:orig limitcnt:5 title: uks:uk-section-muted ukc: media: gridl:3-5 gridr:2-5 url:/ reverse:1  dotnav:0 text:詳細を見る&#93;</h2>\r\n[medialist:23 theme:s-1section-slideshow-kenburns-col2_reverce src:orig limitcnt:5 title:1 uks:uk-section-muted ukc: media: gridl:2-5 gridr:3-5 url:/ reverse:1 dotnav:0 text:詳細を見る]\r\n\r\n<h2>&#91;medialist:23 theme:s-1section-slideshow-kenburns-col2_reverce src:orig limitcnt:5 title: uks:uk-section-muted ukc: media: gridl:3-5 gridr:2-5 url:/ reverse:1  dotnav:0 text:詳細を見る&#93;</h2>\r\n[medialist:23 theme:s-1section-slideshow-kenburns-col2_reverce src:orig limitcnt:5 title:1 uks:uk-section-muted ukc: media: gridl:2-5 gridr:3-5 url:/ reverse:1 dotnav: text:詳細を見る]\r\n\r\n',95,'2019-01-21 01:09:58','2019-01-28 02:35:11','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,2,45,3,2,2,0,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-sections-bg-panel-white_keyurl','s-sections-bg-panel-white_keyurl','','<h2>&#91;medialist:64 theme:s-sections-bg-panel-white_keyurl src:orig title:1 uks:uk-section-large.uk-section-muted ukc:uk-container-small.uk-text-center&#93;</h2>\r\n[medialist:64 theme:s-sections-bg-panel-white_keyurl src:orig title:1 uks:uk-section-large.uk-section-muted ukc:uk-container-small.uk-text-center]',1601,'2019-01-21 01:57:31','2019-01-21 01:57:31','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,6,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-sections-left-right_keyurl','s-sections-left-right_keyurl','','<h2>&#91;medialist:60 theme:s-sections-left-right_keyurl src:orig limitcnt:5 title: uks: ukc: media: gridl:3-5 gridr:2-5 text:詳細を見る&#93;</h2>\r\n[medialist:60 theme:s-sections-left-right_keyurl src:orig limitcnt:5 title: uks: ukc: media: gridl:3-5 gridr:2-5 text:詳細を見る]\r\n\r\n<h2>&#91;medialist:90 theme:s-sections-left-right_keyurl src:orig limitcnt:5 title: uks:uk-section-muted ukc:uk-container-expand media: gridl:3-5 gridr:2-5 text:詳細を見る class_media_title:uk-text-left class_media_desc:uk-text-left&#93;</h2>\r\n[medialist:90 theme:s-sections-left-right_keyurl src:orig limitcnt:5 title: uks:uk-section-muted ukc:uk-container-expand media: gridl:3-5 gridr:2-5 text:詳細を見る class_media_title:uk-text-left class_media_desc:uk-text-left]\r\n\r\n<h2>&#91;medialist:90 theme:s-sections-left-right_keyurl src:orig limitcnt:5 title: uks:uk-section-muted ukc:uk-container-expand media: gridl:3-5 gridr:2-5 text:詳細を見る class_media_title: class_media_desc:uk-text-left&#93;</h2>\r\n[medialist:90 theme:s-sections-left-right_keyurl src:orig limitcnt:5 title: uks:uk-section-muted ukc:uk-container-expand media: gridl:3-5 gridr:2-5 text:詳細を見る class_media_title: class_media_desc:uk-text-left]\r\n\r\n',1535,'2019-01-21 01:59:11','2019-01-28 09:41:16','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,6,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-sub-accordion','s-sub-accordion','','<h2>&#91;medialist:40 theme:s-sub-accordion text:プランを見る&#93;</h2>\r\n[medialist:40 theme:s-sub-accordion text:プランを見る url:/]',2384,'2019-01-21 02:00:49','2019-01-21 02:10:05','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,6,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-sub-filter_search','s-sub-filter_search','','<h2>&#91;medialist:34 theme:s-sub-filter_search src:disp title:1 uks: ukc: media: grids:1 gridm:5 &#93;</h2>\r\n[medialist:34 theme:s-sub-filter_search src:disp title:1 uks: ukc: media: grids:1 gridm:5]\r\n',1803,'2019-01-21 02:13:13','2019-01-21 02:13:13','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,6,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-sub-slideshow','s-sub-slideshow','','<div uk-grid>\r\n<div class=\"uk-width-1-2\">\r\n<h2>&#91;medialist:65 theme:s-sub-slideshow src:orig title:1 uks:uk-padding-remove-vertical ukc:unzoomin dotnav:1&#93;</h2>\r\n[medialist:65 theme:s-sub-slideshow src:orig title:1 uks:uk-padding-remove-vertical ukc:unzoomin dotnav:1]\r\n</div>\r\n<div class=\"uk-width-1-2\">\r\n<h2>&#91;medialist:65 theme:s-sub-slideshow src:orig title:1 uks:uk-padding-remove-vertical ukc:unzoomin dotnav:0&#93;</h2>\r\n[medialist:65 theme:s-sub-slideshow src:orig title:1 uks:uk-padding-remove-vertical ukc:unzoomin dotnav:0]\r\n</div>\r\n</div>\r\n',1613,'2019-01-21 02:14:26','2019-01-21 02:17:50','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,6,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-1section-grid_keyurl','s-1section-grid_keyurl','','<h2>&#91;medialist:81 theme:s-1section-grid_keyurl src:orig limitcnt:3 title:1 uks:uk-section-muted ukc: media: grids:1 gridm:3 text:プランを見る &#93;</h2>\r\n[medialist:81 theme:s-1section-grid_keyurl src:orig limitcnt:3 title:1 uks:uk-section-muted ukc: media: grids:1 gridm:3 text:プランを見る]\r\n',64,'2019-01-21 18:33:55','2019-01-22 01:23:00','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,2,45,3,2,2,0,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-top','s-top','','<section id=\"topslider\" class=\"uk-section\">\r\n	<div class=\"uk-position-top\">\r\n             [medialist:65 theme:s-sub-slideshow-body src:orig title:0 uks: ukc: dotnav:0]\r\n	</div>\r\n	<div class=\"uk-position-top\" style=\"z-index:3000 uk-light\">\r\n		[staticpage_content:_header_navigation2_ja]\r\n	</div>\r\n</section>\r\n',6,'2019-01-21 13:25:59','2019-01-22 01:22:44','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,2,45,3,2,2,0,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-sub-slideshow-body','s-sub-slideshow-body','','<h2>medialist:65 theme:s-sub-slideshow-body src:orig title:0 uks: ukc: dotnav:0   uk-transform-origin-center-left</h2>\r\n [medialist:65 theme:s-sub-slideshow-body src:orig title:0 uks: ukc: dotnav:0   uk-transform-origin-center-left]\r\n\r\n<h2>medialist:65 theme:s-sub-slideshow-body src:orig title:0 uks: ukc: dotnav:0   uk-transform-origin-center-right</h2>\r\n [medialist:65 theme:s-sub-slideshow-body src:orig title:0 uks: ukc: dotnav:0   uk-transform-origin-center-right]\r\n\r\n<h2>medialist:65 theme:s-sub-slideshow-body src:orig title:0 uks: ukc: dotnav:0  uk-animation-reverse uk-transform-origin-center-left</h2>\r\n [medialist:65 theme:s-sub-slideshow-body src:orig title:0 uks: ukc: dotnav:0  uk-animation-reverse uk-transform-origin-center-left]\r\n\r\n<h2>medialist:65 theme:s-sub-slideshow-body src:orig title:0 uks: ukc: dotnav:0   uk-animation-reverse  uk-transform-origin-center-right</h2>\r\n [medialist:65 theme:s-sub-slideshow-body src:orig title:0 uks: ukc: dotnav:0   uk-animation-reverse  uk-transform-origin-center-right]\r\n',545,'2019-01-21 14:03:13','2019-01-22 02:47:23','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,2,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('s-1section-slider','s-1section-slider','','<h2>&#91;medialist:4 theme:s-1section-slider src:orig title:  grid:1 grids:1 gridm:3&#93;</h2>\r\n[medialist:4 theme:s-1section-slider src:orig title: grid:1 grids:1 gridm:3]\r\n\r\n<h2>&#91;medialist:4 theme:s-1section-slider src:orig title:  grid:4 grids:4 gridm:10&#93;</h2>\r\n[medialist:4 theme:s-1section-slider src:orig title: grid:4 grids:4 gridm:10]\r\n\r\n',1782,'2019-01-28 09:44:59','2019-01-28 10:04:10','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,2,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('_medialist_sections','medialist一覧 sections','','<ul>\r\n<li><a href=\"#s-sections-bg_keyurl\" uk-scroll>s-sections-bg_keyurl</a></li>\r\n<li><a href=\"#s-sections-bg-overlay-black_keyurl\" uk-scroll>s-sections-bg-overlay-black_keyurl</a></li>\r\n<li><a href=\"#s-sections-bg-overlay-white_keyurl\" uk-scroll>s-sections-bg-overlay-white_keyurl</a></li>\r\n<li><a href=\"#s-sections-bg-panel-black_keyurl\" uk-scroll>s-sections-bg-panel-black_keyurl</a></li>\r\n<li><a href=\"#s-sections-bg-panel-white_keyurl\" uk-scroll>s-sections-bg-panel-white_keyurl</a></li>\r\n<li><a href=\"#s-sections-left-right_keyurl\" uk-scroll>s-sections-left-right_keyurl</a></li>\r\n\r\n</ul>\r\n\r\n<div id=\"s-sections-bg_keyurl\"></div>[staticpage:s-sections-bg_keyurl]を単独ページで表示する[staticpage_content:s-sections-bg_keyurl]\r\n<div id=\"s-sections-bg-overlay-black_keyurl\"></div>[staticpage:s-sections-bg-overlay-black_keyurl]を単独ページで表示する[staticpage_content:s-sections-bg-overlay-black_keyurl]\r\n<div id=\"s-sections-bg-overlay-white_keyurl\"></div>[staticpage:s-sections-bg-overlay-white_keyurl]を単独ページで表示する[staticpage_content:s-sections-bg-overlay-white_keyurl]\r\n<div id=\"s-sections-bg-panel-black_keyurl\"></div>[staticpage:s-sections-bg-panel-black_keyurl]を単独ページで表示する[staticpage_content:s-sections-bg-panel-black_keyurl]\r\n<div id=\"s-sections-bg-panel-white_keyurl\"></div>[staticpage:s-sections-bg-panel-white_keyurl]を単独ページで表示する[staticpage_content:s-sections-bg-panel-white_keyurl]\r\n<div id=\"s-sections-left-right_keyurl\"></div>[staticpage:s-sections-left-right_keyurl]を単独ページで表示する[staticpage_content:s-sections-left-right_keyurl]\r\n<div id=\"s-sub-accordion\"></div>[staticpage:s-sub-accordion]を単独ページで表示する[staticpage_content:s-sub-accordion]\r\n\r\n',508,'2019-01-28 18:55:46','2019-01-31 04:26:17','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,2,45,3,2,2,2,0,'',1,0,0,1,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('_medialist_sub','medialist一覧 sub','','<ul>\r\n<li><a href=\"#s-sub-accordion\" uk-scroll>s-sub-accordion</a></li>\r\n<li><a href=\"#s-sub-filter_search\" uk-scroll>s-sub-filter_search</a></li>\r\n<li><a href=\"#s-sub-grid_keyurl\" uk-scroll>s-sub-grid_keyurl</a></li>\r\n<li><a href=\"#s-sub-slideshow\" uk-scroll>s-sub-slideshow</a></li>\r\n</ul>\r\n\r\n<div id=\"s-sub-accordion\"></div>[staticpage:s-sub-accordion]を単独ページで表示する[staticpage_content:s-sub-accordion]\r\n<div id=\"s-sub-filter_search\"></div>[staticpage:s-sub-filter_search]を単独ページで表示する[staticpage_content:s-sub-filter_search]\r\n<div id=\"s-sub-grid_keyurl\"></div>[staticpage:s-sub-grid_keyurl]を単独ページで表示する[staticpage_content:s-sub-grid_keyurl]\r\n<div id=\"s-sub-slideshow\"></div>[staticpage:s-sub-slideshow]を単独ページで表示する[staticpage_content:s-sub-slideshow]\r\n\r\n',659,'2019-01-28 18:56:30','2019-01-31 04:26:00','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,2,45,3,2,2,2,0,'',1,0,0,1,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('_medialist_1section','medialist一覧 1section','','<ul>\r\n<li><a href=\"#s-1section-card-left-right_keyurl\" uk-scroll>s-1section-card-left-right_keyurl</a></li>\r\n<li><a href=\"#s-1section-col2_reverce\" uk-scroll>s-1section-col2_reverce</a></li>\r\n<li><a href=\"#s-1section-filter_search\" uk-scroll>s-1section-filter_search</a></li>\r\n<li><a href=\"#s-1section-grid_keyurl\" uk-scroll>s-1section-grid_keyurl</a></li>\r\n<li><a href=\"#s-1section-grid-card1_keyurl\" uk-scroll>s-1section-grid-card1_keyurl</a></li>\r\n<li><a href=\"#s-1section-grid-card2-keyurl\" uk-scroll>s-1section-grid-card2-keyurl</a></li>\r\n<li><a href=\"#s-1section-menu_keyurl1\" uk-scroll>s-1section-menu_keyurl1</a></li>\r\n<li><a href=\"#s-1section-menu_keyurl2\" uk-scroll>s-1section-menu_keyurl2</a></li>\r\n<li><a href=\"#s-1section-plans_keyurl\" uk-scroll>s-1section-plans_keyurl</a></li>\r\n<li><a href=\"#s-1section-qa\" uk-scroll>s-1section-qa</a></li>\r\n<li><a href=\"#s-1section-slider\" uk-scroll>s-1section-slider</a></li>\r\n<li><a href=\"#s-1section-slider1\" uk-scroll>s-1section-slider1</a></li>\r\n<li><a href=\"#s-1section-slider2\" uk-scroll>s-1section-slider2</a></li>\r\n<li><a href=\"#s-1section-slideshow-fade\" uk-scroll>s-1section-slideshow-fade</a></li>\r\n<li><a href=\"#s-1section-slideshow-kenburns-col2_reverce\" uk-scroll>s-1section-slideshow-kenburns-col2_reverce</a></li>\r\n<li><a href=\"#s-1section-slideshow-kenburns\" uk-scroll>s-1section-slideshow-kenburns</a></li>\r\n\r\n</ul>\r\n\r\n<div id=\"s-1section-card-left-right_keyurl\"></div>[staticpage:s-1section-card-left-right_keyurl]を単独ページで表示する[staticpage_content:s-1section-card-left-right_keyurl]\r\n<div id=\"s-1section-col2_reverce\"></div>[staticpage:s-1section-col2_reverce]を単独ページで表示する[staticpage_content:s-1section-col2_reverce]\r\n<div id=\"s-1section-filter_search\"></div>[staticpage:s-1section-filter_search]を単独ページで表示する[staticpage_content:s-1section-filter_search]\r\n<div id=\"s-1section-grid_keyurl\"></div>[staticpage:s-1section-grid_keyurl]を単独ページで表示する[staticpage_content:s-1section-grid_keyurl]\r\n<div id=\"s-1section-grid-card1_keyurl\"></div>[staticpage:s-1section-grid-card1_keyurl]を単独ページで表示する[staticpage_content:s-1section-grid-card1_keyurl]\r\n<div id=\"s-1section-grid-card2-keyurl\"></div>[staticpage:s-1section-grid-card2-keyurl]を単独ページで表示する[staticpage_content:s-1section-grid-card2-keyurl]\r\n<div id=\"s-1section-menu_keyurl1\"></div>[staticpage:s-1section-menu_keyurl1]を単独ページで表示する[staticpage_content:s-1section-menu_keyurl1]\r\n<div id=\"s-1section-menu_keyurl2\"></div>[staticpage:s-1section-menu_keyurl2]を単独ページで表示する[staticpage_content:s-1section-menu_keyurl2]\r\n<div id=\"s-1section-plans_keyurl\"></div>[staticpage:s-1section-plans_keyurl]を単独ページで表示する[staticpage_content:s-1section-plans_keyurl]\r\n<div id=\"s-1section-qa\"></div>[staticpage:s-1section-qa]を単独ページで表示する[staticpage_content:s-1section-qa]\r\n<div id=\"s-1section-slider\"></div>[staticpage:s-1section-slider]を単独ページで表示する[staticpage_content:s-1section-slider]\r\n<div id=\"s-1section-slider1\"></div>[staticpage:s-1section-slider1]を単独ページで表示する[staticpage_content:s-1section-slider1]\r\n<div id=\"s-1section-slider2\"></div>[staticpage:s-1section-slider2]を単独ページで表示する[staticpage_content:s-1section-slider2]\r\n<div id=\"s-1section-slideshow-fade\"></div>[staticpage:s-1section-slideshow-fade]を単独ページで表示する[staticpage_content:s-1section-slideshow-fade]\r\n<div id=\"s-1section-slideshow-kenburns-col2_reverce\"></div>[staticpage:s-1section-slideshow-kenburns-col2_reverce]を単独ページで表示する[staticpage_content:s-1section-slideshow-kenburns-col2_reverce]\r\n<div id=\"s-1section-slideshow-kenburns\"></div>[staticpage:s-1section-slideshow-kenburns]を単独ページで表示する[staticpage_content:s-1section-slideshow-kenburns]\r\n',650,'2019-01-28 18:57:30','2019-01-31 04:25:47','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,2,45,3,2,2,2,0,'',1,0,0,1,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('_404','ページがみつかりません','','<h1>ページがみつかりません</h1>\r\n',1486,'2019-05-02 17:48:42','2019-05-02 17:48:42','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'html','','','',NULL);
INSERT INTO `gl_staticpage`VALUES ('_head','_head','','\r\n<!-- Global site tag (gtag.js) - Google Analytics -->\r\n<script async src=\"https://www.googletagmanager.com/gtag/js?id=UA-286323-14\"></script>\r\n<script>\r\n  window.dataLayer = window.dataLayer || [];\r\n  function gtag(){dataLayer.push(arguments);}\r\n  gtag(\'js\', new Date());\r\n\r\n  gtag(\'config\', \'UA-286323-14\');\r\n</script>\r\n\r\n<style>\r\n\r\nul.uk-subnav.gl-language-button li a.uk-label {\r\n    color: #666;\r\n    background: #eeeeee;\r\n}\r\nul.uk-subnav.gl-language-button li a.uk-label.uk-selected {\r\n    color: #fff;\r\n    background: #4400ff;\r\n}\r\n\r\n</style>',363470,'2025-11-24 18:14:52','2025-11-27 12:38:15','allblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,1,'html','','','','');
INSERT INTO `gl_staticpage`VALUES ('_header-navigation_ja','_header-navigation_ja','','<style>\r\n.uk-button {\r\ntext-transform: none\r\n}\r\n</style>\r\n<div class=\"uk-navbar-container tm-navbar-container uk-sticky uk-sticky-fixed\" style=\"position: sticky; top: 0px;\">\r\n<div class=\"uk-container uk-container-expand\">\r\n<nav class=\"uk-navbar\">\r\n<div class=\"uk-navbar-left\">\r\n<a class=\"uk-navbar-item uk-logo\" href=\"/index.php/topic/home_ja\"><img class=\"uk-margin-small-right\" src=\"[media_url:20251127133338424 src:orig]\" alt=\"[conf:site_name]\" width=\"260\" height=\"auto\" /></a>\r\n</div>\r\n<div class=\"uk-navbar-right\">\r\n<ul class=\"uk-navbar-nav uk-visible@l\">\r\n							<li><a href=\"[conf:site_url]/index.php/topic/home_ja\"><span>HOME</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/feature_ja\"><span>特集</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/international_ja\"><span>国際人</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/event_ja\"><span>イベント</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/life_ja\"><span>みんなの生活</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/editor_ja\"><span>編集者より</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/tutor_ja\"><span>インターン</span></a></li>\r\n							<li><a href=\"[conf:site_url]/staticpages/index.php/contact\">お問い合わせ</a></li>\r\n</ul>\r\n</div>\r\n\r\n<div class=\"uk-navbar-item uk-visible@l\">\r\n\r\n	<ul class=\"gl-language-button uk-visible@m uk-subnav uk-flex-inline uk-flex-right uk-right\" style=\"height:1.5em; margin:2px; padding:2px;float:right\">\r\n		          <li  title=\"日本語\"><a href=\"/index.php/topic/home_ja\" class=\"uk-label uk-selected\">日本語</a></li>\r\n		          <li title=\"English\"><a href=\"/index.php/topic/home_en\" class=\"uk-label\">English</a></li>\r\n		          <li title=\"中国\"><a href=\"/index.php/topic/home_zh\" class=\"uk-label\">中国</a></li>\r\n		          <li title=\"한국\" ><a href=\"/index.php/topic/home_ko\" class=\"uk-label\">한국</a></li>\r\n	</ul>\r\n\r\n</div>\r\n\r\n<div class=\"uk-navbar-right\">\r\n<a class=\"header-toggle uk-hidden@l\" uk-navbar-toggle-icon uk-toggle=\"target: #offcanvas\" href=\"#\"></a>\r\n</div>\r\n</nav></div>\r\n</div>\r\n\r\n\r\n\r\n   <div id=\"offcanvas\" itemscope=\"itemscope\" itemtype=\"http://schema.org/SiteNavigationElement\" uk-offcanvas=\"overlay:true\">\r\n      <div class=\"uk-offcanvas-bar\">\r\n        <ul class=\"uk-nav uk-nav-default\">\r\n\r\n\r\n\r\n							<li><a href=\"[conf:site_url]/index.php/topic/home_ja\"><span>HOME</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/feature_ja\"><span>特集</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/international_ja\"><span>国際人</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/event_ja\"><span>イベント</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/life_ja\"><span>みんなの生活</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/editor_ja\"><span>編集者より</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/tutor_ja\"><span>インターン</span></a></li>\r\n							<li><a href=\"[conf:site_url]/staticpages/index.php/contact\">お問い合わせ</a></li>\r\n<li><hr class=\"uk-hr uk-margin-top\"></li>\r\n		          <li  title=\"日本語\"><a href=\"/index.php/topic/home_ja\" class=\"uk-selected\">日本語</a></li>\r\n		          <li title=\"English\"><a href=\"/index.php/topic/home_en\" class=\"\">English</a></li>\r\n		          <li title=\"中国\"><a href=\"/index.php/topic/home_zh\" class=\"\">中国</a></li>\r\n		          <li title=\"한국\" ><a href=\"/index.php/topic/home_ko\" class=\"\">한국</a></li>\r\n\r\n\r\n        </ul>\r\n      </div>\r\n    </div>\r\n\r\n\r\n    <div id=\"totop-scroller\" style=\"display: none;\" uk-scroll>\r\n      <span class=\"uk-icon-button uk-button-secondary\" uk-icon=\"chevron-up\"></span>\r\n    </div>',301114,'2025-11-24 18:31:08','2025-11-27 19:04:52','allblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,1,'html','','','','');
INSERT INTO `gl_staticpage`VALUES ('_header-navigation_zh','_header-navigation_zh','','<style>\r\n.uk-button {\r\ntext-transform: none\r\n}\r\n</style>\r\n<div class=\"uk-navbar-container tm-navbar-container uk-sticky uk-sticky-fixed\" style=\"position: sticky; top: 0px;\">\r\n<div class=\"uk-container uk-container-expand\">\r\n<nav class=\"uk-navbar\">\r\n<div class=\"uk-navbar-left\">\r\n<a class=\"uk-navbar-item uk-logo\" href=\"/index.php/topic/home_zh\"><img class=\"uk-margin-small-right\" src=\"[media_url:20251127133338424 src:orig]\" alt=\"[conf:site_name]\" width=\"260\" height=\"auto\" /></a>\r\n</div>\r\n<div class=\"uk-navbar-right\">\r\n<ul class=\"uk-navbar-nav uk-visible@l\">\r\n\r\n							<li><a href=\"[conf:site_url]//index.php/topic/home_zh\"><span>HOME</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/feature_zh\"><span>特征</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/international_zh\"><span>国际人</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/event_zh\"><span>文化活动</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/life_zh\"><span>大家的生活</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/editor_zh\"><span>编辑的活</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/tutor_zh\"><span>导师</span></a></li>\r\n							<li><a href=\"[conf:site_url]/staticpages/index.php/contact\">Contact</a></li>\r\n\r\n\r\n</ul>\r\n</div>\r\n\r\n<div class=\"uk-navbar-item uk-visible@l\">\r\n\r\n					<ul class=\"gl-language-button uk-visible@m uk-subnav uk-flex-inline uk-flex-right uk-right\" style=\"height:1.5em; margin:2px; padding:2px;float:right\">\r\n		          <li  title=\"日本語\"><a href=\"/index.php/topic/home_ja\" class=\"uk-label\">日本語</a></li>\r\n		          <li title=\"English\"><a href=\"/index.php/topic/home_en\" class=\"uk-label\">English</a></li>\r\n		          <li title=\"中国\"><a href=\"/index.php/topic/home_zh\" class=\"uk-label\">中国</a></li>\r\n		          <li title=\"한국\" ><a href=\"/index.php/topic/home_ko\" class=\"uk-label uk-selected\">한국</a></li>\r\n					</ul>\r\n\r\n</div>\r\n\r\n<div class=\"uk-navbar-right\">\r\n<a class=\"header-toggle uk-hidden@l\" uk-navbar-toggle-icon uk-toggle=\"target: #offcanvas\" href=\"#\"></a>\r\n</div>\r\n</nav></div>\r\n</div>\r\n\r\n\r\n\r\n   <div id=\"offcanvas\" itemscope=\"itemscope\" itemtype=\"http://schema.org/SiteNavigationElement\" uk-offcanvas=\"overlay:true\">\r\n      <div class=\"uk-offcanvas-bar\">\r\n        <ul class=\"uk-nav uk-nav-default\">\r\n							<li><a href=\"[conf:site_url]//index.php/topic/home_zh\"><span>HOME</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/feature_zh\"><span>特征</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/international_zh\"><span>国际人</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/event_zh\"><span>文化活动</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/life_zh\"><span>大家的生活</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/editor_zh\"><span>编辑的活</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/tutor_zh\"><span>导师</span></a></li>\r\n							<li><a href=\"[conf:site_url]/staticpages/index.php/contact\">Contact</a></li>\r\n<li><hr class=\"uk-hr uk-margin-top\"></li>\r\n		          <li  title=\"日本語\"><a href=\"/index.php/topic/home_ja\" class=\"\">日本語</a></li>\r\n		          <li title=\"English\"><a href=\"/index.php/topic/home_en\" class=\"\">English</a></li>\r\n		          <li title=\"中国\"><a href=\"/index.php/topic/home_zh\" class=\"\">中国</a></li>\r\n		          <li title=\"한국\" ><a href=\"/index.php/topic/home_ko\" class=\"uk-selected\">한국</a></li>\r\n        </ul>\r\n\r\n\r\n\r\n      </div>\r\n    </div>\r\n\r\n\r\n    <div id=\"totop-scroller\" style=\"display: none;\" uk-scroll>\r\n      <span class=\"uk-icon-button uk-button-secondary\" uk-icon=\"chevron-up\"></span>\r\n    </div>',12120,'2025-11-24 18:31:38','2025-11-27 19:05:21','allblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,1,'html','','','','');
INSERT INTO `gl_staticpage`VALUES ('_header-navigation_en','_header-navigation_en','','<style>\r\n.uk-button {\r\ntext-transform: none\r\n}\r\n</style>\r\n<div class=\"uk-navbar-container tm-navbar-container uk-sticky uk-sticky-fixed\" style=\"position: sticky; top: 0px;\">\r\n<div class=\"uk-container uk-container-expand\">\r\n<nav class=\"uk-navbar\">\r\n<div class=\"uk-navbar-left\">\r\n<a class=\"uk-navbar-item uk-logo\" href=\"/index.php/topic/home_en\"><img class=\"uk-margin-small-right\" src=\"[media_url:20251127133338424 src:orig]\" alt=\"[conf:site_name]\" width=\"260\" height=\"auto\" /></a>\r\n\r\n</div>\r\n<div class=\"uk-navbar-right\">\r\n<ul class=\"uk-navbar-nav uk-visible@l\">\r\n\r\n							<li><a href=\"[conf:site_url]/index.php/topic/home_en\"><span>HOME</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/feature_en\"><span>Topics</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/international_en\"><span>International</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/event_en\"><span>Event</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/life_en\"><span>Life</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/editor_en\"><span>Editor</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/tutor_en\"><span>Tutor</span></a></li>\r\n							<li><a href=\"[conf:site_url]/staticpages/index.php/contact\">Contact</a></li>\r\n\r\n\r\n</ul>\r\n</div>\r\n\r\n<div class=\"uk-navbar-item uk-visible@l\">\r\n\r\n					<ul class=\"gl-language-button uk-visible@m uk-subnav uk-flex-inline uk-flex-right uk-right\" style=\"height:1.5em; margin:2px; padding:2px;float:right\">\r\n		          <li  title=\"日本語\"><a href=\"/index.php/topic/home_ja\" class=\"uk-label \">日本語</a></li>\r\n		          <li title=\"English\"><a href=\"/index.php/topic/home_en\" class=\"uk-label uk-selected\">English</a></li>\r\n		          <li title=\"中国\"><a href=\"/index.php/topic/home_zh\" class=\"uk-label\">中国</a></li>\r\n		          <li title=\"한국\" ><a href=\"/index.php/topic/home_ko\" class=\"uk-label\">한국</a></li>\r\n					</ul>\r\n\r\n</div>\r\n\r\n<div class=\"uk-navbar-right\">\r\n<a class=\"header-toggle uk-hidden@l\" uk-navbar-toggle-icon uk-toggle=\"target: #offcanvas\" href=\"#\"></a>\r\n</div>\r\n</nav></div>\r\n</div>\r\n\r\n\r\n\r\n   <div id=\"offcanvas\" itemscope=\"itemscope\" itemtype=\"http://schema.org/SiteNavigationElement\" uk-offcanvas=\"overlay:true\">\r\n      <div class=\"uk-offcanvas-bar\">\r\n        <ul class=\"uk-nav uk-nav-default\">\r\n							<li><a href=\"[conf:site_url]/index.php/topic/home_en\"><span>HOME</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/feature_en\"><span>Topics</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/international_en\"><span>International</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/event_en\"><span>Event</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/life_en\"><span>Life</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/editor_en\"><span>Editor</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/tutor_en\"><span>Tutor</span></a></li>\r\n							<li><a href=\"[conf:site_url]/staticpages/index.php/contact\">Contact</a></li>\r\n<li><hr class=\"uk-hr uk-margin-top\"></li>\r\n		          <li  title=\"日本語\"><a href=\"/index.php/topic/home_ja\" class=\"\">日本語</a></li>\r\n		          <li title=\"English\"><a href=\"/index.php/topic/home_en\" class=\"uk-selected\">English</a></li>\r\n		          <li title=\"中国\"><a href=\"/index.php/topic/home_zh\" class=\"\">中国</a></li>\r\n		          <li title=\"한국\" ><a href=\"/index.php/topic/home_ko\" class=\"\">한국</a></li>\r\n\r\n        </ul>\r\n\r\n      </div>\r\n    </div>\r\n\r\n\r\n    <div id=\"totop-scroller\" style=\"display: none;\" uk-scroll>\r\n      <span class=\"uk-icon-button uk-button-secondary\" uk-icon=\"chevron-up\"></span>\r\n    </div>',43782,'2025-11-24 18:31:28','2025-11-27 19:04:10','allblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,1,'html','','','','');
INSERT INTO `gl_staticpage`VALUES ('_header-navigation_ko','_header-navigation_ko','','<style>\r\n.uk-button {\r\ntext-transform: none\r\n}\r\n</style>\r\n<div class=\"uk-navbar-container tm-navbar-container uk-sticky uk-sticky-fixed\" style=\"position: sticky; top: 0px;\">\r\n<div class=\"uk-container uk-container-expand\">\r\n<nav class=\"uk-navbar\">\r\n<div class=\"uk-navbar-left\">\r\n<a class=\"uk-navbar-item uk-logo\" href=\"/index.php/topic/home_ko\"><img class=\"uk-margin-small-right\" src=\"[media_url:20251127133338424 src:orig]\" alt=\"[conf:site_name]\" width=\"260\" height=\"auto\" /></a>\r\n</div>\r\n<div class=\"uk-navbar-right\">\r\n<ul class=\"uk-navbar-nav uk-visible@l\">\r\n\r\n							<li><a href=\"[conf:site_url]/index.php/topic/home_ko\"><span>HOME</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/feature_ko\"><span>특집</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/international_ko\"><span>국제인</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/event_ko\"><span>이벤트</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/life_ko\"><span>모두의 생활</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/editor_ko\"><span>편집자로부터</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/tutor_ko\"><span>가정 교사</span></a></li>\r\n							<li><a href=\"[conf:site_url]/staticpages/index.php/contact\">Contact</a></li>\r\n\r\n\r\n</ul>\r\n</div>\r\n\r\n<div class=\"uk-navbar-item uk-visible@l\">\r\n\r\n					<ul class=\"gl-language-button uk-visible@m uk-subnav uk-flex-inline uk-flex-right uk-right\" style=\"height:1.5em; margin:2px; padding:2px;float:right\">\r\n		          <li  title=\"日本語\"><a href=\"/index.php/topic/home_ja\" class=\"uk-label \">日本語</a></li>\r\n		          <li title=\"English\"><a href=\"/index.php/topic/home_en\" class=\"uk-label \">English</a></li>\r\n		          <li title=\"中国\"><a href=\"/index.php/topic/home_zh\" class=\"uk-label\">中国</a></li>\r\n		          <li title=\"한국\" ><a href=\"/index.php/topic/home_ko\" class=\"uk-label uk-selected\">한국</a></li>\r\n					</ul>\r\n\r\n</div>\r\n\r\n<div class=\"uk-navbar-right\">\r\n<a class=\"header-toggle uk-hidden@l\" uk-navbar-toggle-icon uk-toggle=\"target: #offcanvas\" href=\"#\"></a>\r\n</div>\r\n</nav></div>\r\n</div>\r\n\r\n\r\n\r\n   <div id=\"offcanvas\" itemscope=\"itemscope\" itemtype=\"http://schema.org/SiteNavigationElement\" uk-offcanvas=\"overlay:true\">\r\n      <div class=\"uk-offcanvas-bar\">\r\n        <ul class=\"uk-nav uk-nav-default\">\r\n							<li><a href=\"[conf:site_url]/index.php/topic/home_ko\"><span>HOME</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/feature_ko\"><span>특집</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/international_ko\"><span>국제인</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/event_ko\"><span>이벤트</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/life_ko\"><span>모두의 생활</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/editor_ko\"><span>편집자로부터</span></a></li>\r\n							<li><a href=\"[conf:site_url]/index.php/topic/tutor_ko\"><span>가정 교사</span></a></li>\r\n							<li><a href=\"[conf:site_url]/staticpages/index.php/contact\">Contact</a></li>\r\n\r\n<li><hr class=\"uk-hr uk-margin-top\"></li>\r\n\r\n		          <li  title=\"日本語\"><a href=\"/index.php/topic/home_ja\" class=\"\">日本語</a></li>\r\n		          <li title=\"English\"><a href=\"/index.php/topic/home_en\" class=\"\">English</a></li>\r\n		          <li title=\"中国\"><a href=\"/index.php/topic/home_zh\" class=\"\">中国</a></li>\r\n		          <li title=\"한국\" ><a href=\"/index.php/topic/home_ko\" class=\" uk-selected\">한국</a></li>\r\n        </ul>\r\n\r\n\r\n\r\n      </div>\r\n    </div>\r\n\r\n\r\n    <div id=\"totop-scroller\" style=\"display: none;\" uk-scroll>\r\n      <span class=\"uk-icon-button uk-button-secondary\" uk-icon=\"chevron-up\"></span>\r\n    </div>',6397,'2025-11-24 18:31:45','2025-11-27 19:06:38','allblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,1,'html','','','','');
INSERT INTO `gl_staticpage`VALUES ('_admin-nav','_admin-nav','','  <style>\r\n.edit_icon a img {\r\nmax-width:24px;\r\n}\r\n\r\n\r\n.li-navlist {\r\n  display: block;\r\n  width: auto;\r\n  height: 30px;\r\n  padding: 0 8px;\r\n  float: left;\r\n  margin: 2px -1px 0 -15px;\r\n}\r\n\r\n.li-navlist #current {\r\n  background: #FFF;\r\n  height: 30px;\r\n  position: relative;\r\n  top: -2px;\r\n  padding: 0 8px;\r\n  margin: 2px -1px 0 -15px;\r\n  color: #111;\r\n  border-left-width: 1px;\r\n  border-top-left-radius: 3px;\r\n  border-top-right-radius: 3px;\r\n  border-bottom-color: #FFF;\r\n}\r\n\r\n.li-navlist #current:first-child a {\r\n  border-width: 1px;\r\n  border-top-left-radius: 3px;\r\n}\r\n\r\n.li-navlist #current:last-child a {\r\n  border-top-right-radius: 3px;\r\n}\r\n\r\n.a-navlist {\r\n  display: block;\r\n  text-decoration: none;\r\n  width: auto;\r\n  height: 29px;\r\n  padding: 0 5px;\r\n  line-height: 30px;\r\n  border: none;\r\n  border-width: 1px;\r\n  margin: 0;\r\n  background: none;\r\n}\r\n\r\n\r\n.a-navlist:link,\r\n.a-navlist:visited,\r\n.a-navlist:hover {\r\n  color: #555;\r\n  text-decoration: none;\r\n}\r\n\r\n\r\n\r\n\r\n\r\n#navcontainer {\r\n  overflow-x: auto;   /* 横スクロールを許可 */\r\n  overflow-y: hidden; /* 縦スクロールは禁止 */\r\n  white-space: nowrap;  /* 折り返さない */\r\n}\r\n\r\n#navlist {\r\n  display: flex;\r\n  flex-wrap: nowrap; /* 折り返さない */\r\n}\r\n\r\n#navcontainer::-webkit-scrollbar {\r\n  height: 6px;          /* スクロールバーを細くする（好みで調整） */\r\n}\r\n\r\n#navcontainer {\r\n    width: 100%;\r\n    margin-bottom: 0;\r\n    padding-bottom: 2px;\r\n    font-size: 90%;\r\n    line-height: normal;\r\n    border-bottom: 1px solid #DDD;\r\n    height: 90px\r\n}\r\n\r\n\r\n.uk-navbar-container.gl-admin:not(.uk-navbar-transparent) .uk-navbar-nav > li > a {\r\n    color: #eee;\r\n}\r\n\r\n.gl-admin li {\r\nmargin-left:20px\r\n}\r\n\r\n.gl-admin .uk-navbar-nav>li>a {\r\n    color: #eee;\r\n    padding: 0 20px;\r\n    margin:0\r\n}\r\n.gl-admin .uk-navbar-nav > li > a {\r\ntext-transform: none;\r\ncolor: #ccc;\r\n}\r\n.gl-admin .uk-navbar-nav > li > a:hover {\r\ntext-transform: none;\r\ncolor: #fff;\r\n}\r\n\r\n.gl-admin .uk-navbar-nav > li > a, .uk-navbar-item, .uk-navbar-toggle {\r\nmargin:0; padding:0;\r\n    min-height: 60px;\r\n}\r\n</style>\r\n<nav class=\"uk-navbar-container uk-navbar gl-admin\" uk-navbar style=\"background:#333; margin-top:10px\">\r\n  <div class=\"uk-navbar-center\">\r\n    <ul class=\"uk-navbar-nav\">\r\n\r\n<li style=\"line-heght: 30px; margin:4px; background:#fff; padding: 10px 10px  0px 10px; border-radius: 4px;\">\r\n        <span uk-tooltip=\"title: favicon.png\"><a href=\"[conf:site_url]/favicon.png\"><img src=\"[conf:site_url]/favicon.png\" alt=\"favicon.png\" style=\"width:32px\" style=\" color: #444\"></a></span>\r\n        <span uk-tooltip=\"title: sitemap.xml\" style=\"margin: 0 5px\"><a href=\"[conf:site_url]/sitemap.xml\" style=\" color: #444\"><span uk-icon=\"icon: bookmark\"></span></a></span>\r\n        <span uk-tooltip=\"title: 404\"><a href=\"[conf:site_url]/staticpages/index.php/_404\" style=\" color: #444\">404</a></span>\r\n</li>\r\n\r\n\r\n\r\n\r\n        <li><a href=\"[conf:site_url]/admin/index.php\"><span uk-icon=\"home\"></span>TOP</a></li>\r\n                <li><a href=\"[conf:site_url]/admin/plugins/databox/data.php\"><span uk-icon=\"file-edit\"></span>DataBox</a></li>\r\n                <li><a href=\"[conf:site_url]/admin/plugins/staticpages/index.php\"><span uk-icon=\"icon: file-edit\"></span>静的ページ</a></li>\r\n                <li><a href=\"[conf:site_url]/mediagallery/index.php\"><span uk-icon=\"icon: photo\"></span><span uk-icon=\"icon: camera\"></span>ギャラリー</a></li>\r\n                <li><a href=\"[conf:site_url]/admin/plugins/autotags/index.php\"><span uk-icon=\"icon: tag\"></span>タグ</a></li>\r\n                <li><a href=\"[conf:site_url]/admin/plugins/dbman/index.php\"><span uk-icon=\"icon: database\"></span>DB</a></li>\r\n                <li><a href=\"[conf:site_url]/admin/configuration.php\" ><span uk-icon=\"icon: cog\"  style=\"width:16px\"></span></a></li>\r\n                <li><a href=\"[conf:site_url]/admin/plugins/staticpages/index.php?mode=edit&sp_id=_admin-nav\"><span uk-icon=\"icon: settings\" style=\"width:16px\"></span></a></li>\r\n      <li id=\"cmitem-clearctl\">\r\n        <a href=\"[conf:site_url]/admin/clearctl.php\">Cache削除</a></li>\r\n\r\n      <li>\r\n        <a href=\"[conf:site_url]/users.php?mode=logout\" uk-icon=\"style=\"width:16px\"\">\r\n<span uk-icon=\"icon:sign-out\" style=\"width:16px\"></span>\r\n        </a>\r\n      </li>\r\n    </ul>\r\n  </div>\r\n</nav>\r\n',393,'2025-11-24 18:32:18','2025-11-24 18:32:18','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,0,0,0,'',1,0,0,1,'','','','','');
INSERT INTO `gl_staticpage`VALUES ('_footer-contents_en','_footer-contents_en','','<footer id=\"footer\" role=\"contentinfo\" class=\"clearfix\" itemscope=\"itemscope\" itemtype=\"//schema.org/WPFooter\">\r\n      <div id=\"footer-content\">\r\n        <div id=\"copyright\" itemprop=\"copyrightHolder\" itemscope=\"itemscope\" itemtype=\"//schema.org/Organization\"><address><span itemprop=\"name\">Copyright © 2025 ようこそ Japan!</span></address></div>\r\n\r\n        <div id=\"execution_textandtime\"><a href=\"/users.php\">login</a></div>\r\n      </div>\r\n    </footer>',43753,'2025-11-24 18:59:42','2025-11-27 14:34:54','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,1,'html','','','','');
INSERT INTO `gl_staticpage`VALUES ('_footer-contents_zh','_footer-contents_zh','','<footer id=\"footer\" role=\"contentinfo\" class=\"clearfix\" itemscope=\"itemscope\" itemtype=\"//schema.org/WPFooter\">\r\n      <div id=\"footer-content\">\r\n        <div id=\"copyright\" itemprop=\"copyrightHolder\" itemscope=\"itemscope\" itemtype=\"//schema.org/Organization\"><address><span itemprop=\"name\">Copyright © 2025 ようこそ Japan!</span></address></div>\r\n\r\n        <div id=\"execution_textandtime\"><a href=\"/users.php\">login</a></div>\r\n      </div>\r\n    </footer>',12120,'2025-11-24 19:00:20','2025-11-27 14:35:14','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,1,'html','','','','');
INSERT INTO `gl_staticpage`VALUES ('_footer-contents_ko','_footer-contents_ko','','<footer id=\"footer\" role=\"contentinfo\" class=\"clearfix\" itemscope=\"itemscope\" itemtype=\"//schema.org/WPFooter\">\r\n      <div id=\"footer-content\">\r\n        <div id=\"copyright\" itemprop=\"copyrightHolder\" itemscope=\"itemscope\" itemtype=\"//schema.org/Organization\"><address><span itemprop=\"name\">Copyright © 2025 ようこそ Japan!</span></address></div>\r\n\r\n        <div id=\"execution_textandtime\"><a href=\"/users.php\">login</a></div>\r\n      </div>\r\n    </footer>',6397,'2025-11-24 19:00:28','2025-11-27 14:35:29','noblocks',0,0,0,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,1,'html','','','','');
INSERT INTO `gl_staticpage`VALUES ('_topic_en','_topic_en','','<p> </p>\r\n\r\n<div style=\"text-align:start; -webkit-text-stroke-width:0px\"><span style=\"font-size:14px\"><span style=\"color:#444444\"><span style=\"font-family:Lusitana, 游明朝体, YuMincho, 游明朝, &quot;Yu Mincho&quot;, &quot;ヒラギノ明朝 ProN W3&quot;, &quot;Hiragino Mincho ProN W3&quot;, HiraMinProN-W3, &quot;ヒラギノ明朝 ProN&quot;, &quot;Hiragino Mincho ProN&quot;, &quot;ヒラギノ明朝 Pro&quot;, &quot;Hiragino Mincho Pro&quot;, HGS明朝E, &quot;ＭＳ Ｐ明朝&quot;, &quot;MS PMincho&quot;, Georgia, serif\"><span style=\"font-style:normal\"><span style=\"font-variant-ligatures:normal\"><span style=\"font-variant-caps:normal\"><span style=\"font-weight:400\"><span style=\"letter-spacing:normal\"><span style=\"orphans:2\"><span style=\"text-transform:none\"><span style=\"white-space:normal\"><span style=\"widows:2\"><span style=\"word-spacing:0px\"><span style=\"background-color:#ffffff\"><span style=\"text-decoration-thickness:initial\"><span style=\"text-decoration-style:initial\"><span style=\"text-decoration-color:initial\"> <strong>GLOBALCOMMUNITY</strong></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span>\r\n\r\n<p>Japanese newsletter below<br />\r\n<a href=\"https://www.yokosojapan.net/article.php/2025.7_newsletter_ja\">https://www.yokosojapan.net/article.php/2025.7_newsletter_ja</a><br />\r\n<br />\r\nThank you very much for your continued support. Thanks to all of you, our \"Global Community\" newsletter, focusing on the exchange between Japanese and foreign residents in Japan, has completed its 16th year. </p>\r\n\r\n<p>We will continue addressing cross-cultural health, healthcare, and environmental issues. We remain committed to fostering cultural exchange.</p>\r\n\r\n<p>We appreciate your ongoing support and look forward to the coming year.</p>\r\n\r\n<p>Since the Osaka-Kansai Expo began on April 13, I have visited to interviewed local staff working in overseas pavilions almost every week. This time, I spoke with local staff from <strong>Armenia</strong>, which is gaining attention in the IT and education sectors, and the <strong>Marshall Islands</strong>, a country at the forefront of environmental issues</p>\r\n\r\n<p>If you wish to unsubscribe, please click here: <a href=\"https://m1-v2.mgzn.jp/sys/unreg.php?cid=E3081856\" target=\"_new\">Unsubscribe Link</a></p>\r\n\r\n<p>ーーーーーーーーーーーーーーーーーーーーーーー</p>\r\n\r\n<h2 id=\"global-community---interview-articles\"><strong>Global Community - Interview Articles</strong></h2>\r\n\r\n<ol>\r\n	<li>\r\n	<p>Introducing the IT education program \"TUMO\" featured at the Armenia Pavilion at the Osaka-Kansai Expo!<br />\r\n	The first Japanese branch, \"TUMO Gunma,\" has also opened in Gunma Prefecture.<br />\r\n	<a href=\"https://www.yokosojapan.net/article.php/20250613armenia_life_en\">https://www.yokosojapan.net/article.php/20250613armenia_life_en</a></p>\r\n	</li>\r\n	<li>\r\n	<p>The Marshall Islands — Its history and the spirit of \"never giving up\"<br />\r\n	Attention is focused on this small island nation\'s unique history and determination to face challenges.<br />\r\n	<a href=\"https://www.yokosojapan.net/article.php/20250602MarshallIslands_editor_en\">https://www.yokosojapan.net/article.php/20250602MarshallIslands_editor_en</a></p>\r\n	</li>\r\n	<li>\r\n	<p>Interview with an Indonesian student who came to study in Japan thanks to the International Red and White Singing Festival!<br />\r\n	<a href=\"https://www.yokosojapan.net/article.php/20250524indonesia_international_en\">https://www.yokosojapan.net/article.php/20250524indonesia_international_en</a></p>\r\n	</li>\r\n	<li>\r\n	<p>Behind the scenes of multicultural coexistence — The efforts of Hitohito Care Clinic<br />\r\n	<a href=\"https://www.yokosojapan.net/article.php/20250503clinic_life_en\">https://www.yokosojapan.net/article.php/20250503clinic_life_en</a></p>\r\n	</li>\r\n</ol>\r\n\r\n<p>ーーーーーーーーーーーーーーーーー</p>\r\n\r\n<p><strong>Regarding the International Red and White Singing Festival in 2025:</strong></p>\r\n\r\n<ol>\r\n	<li>\r\n	<p>On August 16, the \"International Red and White Singing Festival in AEON MALL KYOTO\" will be held, and the representative will participate in the 13th International Red and White Singing Festival  at the Osaka-Kansai Expo. This is the first time the event will be held in Kyoto, a city of students. The event is hosted by AEON MALL KYOTO. Participants and volunteers are now being recruited! The entry deadline is July 15.<br />\r\n	<a href=\"https://www.irws.org/entry/\" rel=\"nofollow noopener\" target=\"_blank\">https://www.irws.org/entry/</a></p>\r\n	</li>\r\n</ol>\r\n\r\n<p> </p>\r\n\r\n<figure>\r\n<p><img alt=\"\" height=\"600\" src=\"https://www.yokosojapan.net/images/articles/2025.7_newsletter_en_1_original.jpg\" width=\"424\" /></p>\r\n</figure>\r\n\r\n<p> </p>\r\n\r\n<p><strong>Regarding the International Red and White Singing Festival in EXPO2025</strong></p>\r\n\r\n<p>Since its launch in 2011, this event has been able to reach a highly meaningful stage, thanks to the strong support of the Osaka Convention & Tourism Bureau.</p>\r\n\r\n<p>We would like to express our heartfelt gratitude to everyone who has supported us along the way.</p>\r\n\r\n<p>This year as well, a selection event will be held in São Paulo, Brazil, in July, and two representatives will be invited to participate as singers at the Osaka-Kansai Expo event. This year marks the 130th anniversary of the establishment of diplomatic relations between Japan and Brazil, and many people are expected to come from Brazil as well.　<a href=\"https://sustainable.japantimes.com/magazine/vol44/44-01\">https://sustainable.japantimes.com/magazine/vol44/44-01</a></p>\r\n\r\n<p> </p>\r\n\r\n<figure>\r\n<p><img alt=\"\" height=\"600\" src=\"https://www.yokosojapan.net/images/articles/2025.7_newsletter_en_1_original.jpg\" width=\"424\" /></p>\r\n</figure>\r\n\r\n<p> </p>\r\n\r\n<p><strong>Event Date and Time:</strong><br />\r\nScheduled for September 19, 2025, at 13:00</p>\r\n\r\n<p><strong>Venue:</strong><br />\r\nFestival Station (next to the France Pavilion), Osaka-Kansai Expo</p>\r\n\r\n<p>IRWS　Authorized by </p>\r\n\r\n<p>Ministry of Foreign Affairs<br />\r\nConsortium for Supporting International Students in Osaka<br />\r\nJapan-ASEAN Center<br />\r\nOverseas Japanese Association</p>\r\n\r\n<p>[Sponsors, Partners, Collaborating Companies, and Organizations]</p>\r\n\r\n<ol>\r\n	<li>\r\n	<p>[Tokyo\'s Ota Ward - Top-Class History and Achievements] City Housing Co., Ltd. Website: <a href=\"https://cityhousing.drecruiting.jp/\" target=\"_new\">City Housing</a></p>\r\n	</li>\r\n	<li>\r\n	<p>A community-based medical clinic that creates \"a richer life\" through flea markets and multicultural exchange.　　HitoHito Clinic　　<a href=\"https://hitohitocare-clinic.com/?lang=en\">https://hitohitocare-clinic.com/?lang=en</a></p>\r\n	</li>\r\n	<li>\r\n	<p>[Revolutionary Scholarship System Bringing a Fresh Approach to Caregiver Recruitment] Handy Network International Co., Ltd. Website: <a href=\"https://www.hni.co.jp/\" target=\"_new\">Handy Network International</a> <a href=\"https://www.hni.co.jp/1411/\" target=\"_new\">Learn more about the scholarship system</a></p>\r\n	</li>\r\n	<li>\r\n	<p>EMUKOKU Co., Ltd.</p>\r\n	</li>\r\n	<li>\r\n	<p>ICHII Co., Ltd. Website: <a href=\"https://ichii-re.co.jp/\" target=\"_new\">ICHI</a></p>\r\n	</li>\r\n	<li>\r\n	<p>Global Trust Networks Co., Ltd. Website: <a href=\"https://www.gtn.co.jp/\" target=\"_new\">Global Trust Networks</a></p>\r\n	</li>\r\n	<li>\r\n	<p>Eisei Hospital Website: <a href=\"https://www.eisei.or.jp/\" target=\"_new\">Eisei Hospital</a></p>\r\n	</li>\r\n	<li>\r\n	<p>NPO Japan Mind-Body Function Activation Therapists Association Website: <a href=\"https://shinshinkaizen.hp.peraichi.com/\" target=\"_new\">Shinshinkaizen</a></p>\r\n	</li>\r\n	<li>\r\n	<p>EXING Co., Ltd. Website: <a href=\"https://gl.joysound.com/en/\" target=\"_new\">JOYSOUND Global</a></p>\r\n	</li>\r\n	<li>\r\n	<p>Oakhouse Co., Ltd. Website: <a href=\"https://www.oakhouse.jp/?sm_tag=3u2ICmgp\" target=\"_new\">Oakhouse</a></p>\r\n	</li>\r\n</ol>\r\n\r\n<p>[Supporting Organizations]</p>\r\n\r\n<ul>\r\n	<li>Radin General Incorporated Association</li>\r\n	<li>Japan International Cooperation Center (JICE)</li>\r\n	<li>Osaka International Exchange Center</li>\r\n	<li>Music for SDG\'s</li>\r\n	<li>Humming for PEACE</li>\r\n	<li>Yamamoto Gakko (School) Website: <a href=\"https://yamamotogakko.jp/\" target=\"_new\">Yamamoto Gakko</a></li>\r\n	<li>Japanese Language Education Information Platform (Nihongo Platt) Website: <a href=\"https://www.nihongoplat.org/\" target=\"_new\">Nihongo Platt</a></li>\r\n	<li>Cebu Music Learning Center (Philippines) Website: <a href=\"https://www.facebook.com/cebumusiccenter/about\" target=\"_new\">Cebu Music Learning Center</a></li>\r\n	<li>LPK Bahana Inspirasi Muda (Indonesia) Website: <a href=\"https://bahanainspirasimuda.com/\" target=\"_new\">Bahana Inspirasi Muda</a></li>\r\n	<li>Brazilian Business Group - ASIA (Japan-Brazil) Website: <a href=\"https://www.bbg-asia.com/ja/\" target=\"_new\">BBG Asia</a></li>\r\n</ul>\r\n\r\n<p>The official page: <a href=\"http://www.irws.org/entry\" target=\"_new\">IRWS Official Page</a></p>\r\n\r\n<p>Committee Representative:</p>\r\n\r\n<p>Multilingual Web Magazine GLOBALCOMMUNITY</p>\r\n\r\n<p>Editor-in-Chief: Kazumi Miyazaki</p>\r\n\r\n<p>Contact: info(@)yokosojapan.net Phone: 070-5653-1493</p>\r\n\r\n<p><a href=\"https://www.yokosojapan.net/article.php/globalcommunity2013_editor_en\" target=\"_new\">Global Community\'s Vision</a></p>\r\n\r\n<p><a href=\"https://www.yokosojapan.net/article.php/kouhaku.japan_editor_en\" target=\"_new\">Objectives of the International Red and White Singing Festival</a></p>\r\n</div>\r\n',93141,'2025-11-27 14:22:20','2025-11-27 14:22:20','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'adveditor','','','','');
INSERT INTO `gl_staticpage`VALUES ('_top-slideshow_ko','_top-slideshow_ko','','<style>\r\n.gl-text-mincho {\r\nfont-family: \"Hiragino Mincho ProN\", \"Hiragino Mincho Pro\", \"Yu Mincho\", \"YuMincho\", \"MS PMincho\", serif;\r\n}\r\n\r\n/* デフォルト（スマホ用: ヘッダー 60px） */\r\n.slider-full {\r\n  height: calc(100vh - 120px);\r\n}\r\n\r\n/* PC用（画面幅768px以上: ヘッダー 220px） */\r\n@media (min-width: 768px) {\r\n  .slider-full {\r\n    height: calc(100vh - 200px);\r\n  }\r\n}\r\n</style> \r\n\r\n <div class=\"uk-position-relative uk-visible-toggle uk-light\" tabindex=\"-1\" uk-slideshow=\"animation: fade; autoplay: true\">\r\n    <div class=\"uk-slideshow-items slider-full\">\r\n\r\n[medialist:13 limitcnt:20 theme:top-slideshow src:orig]\r\n\r\n\r\n    </div>\r\n    <a class=\"uk-position-center-left uk-position-small uk-hidden-hover\" href uk-slidenav-previous uk-slideshow-item=\"previous\"></a>\r\n    <a class=\"uk-position-center-right uk-position-small uk-hidden-hover\" href uk-slidenav-next uk-slideshow-item=\"next\"></a>\r\n\r\n\r\n\r\n\r\n    <div class=\"uk-position-bottom-center uk-position-small\">\r\n      <ul class=\"uk-dotnav\">\r\n        <li uk-slideshow-item=\"0\"><a href=\"#\">Item 1</a></li>\r\n        <li uk-slideshow-item=\"1\"><a href=\"#\">Item 2</a></li>\r\n        <li uk-slideshow-item=\"2\"><a href=\"#\">Item 3</a></li>\r\n        <li uk-slideshow-item=\"3\"><a href=\"#\">Item 4</a></li>\r\n        <li uk-slideshow-item=\"4\"><a href=\"#\">Item 5</a></li>\r\n        <li uk-slideshow-item=\"5\"><a href=\"#\">Item 6</a></li>\r\n        <li uk-slideshow-item=\"6\"><a href=\"#\">Item 7</a></li>\r\n        <li uk-slideshow-item=\"7\"><a href=\"#\">Item 8</a></li>\r\n        <li uk-slideshow-item=\"8\"><a href=\"#\">Item 9</a></li>\r\n        <li uk-slideshow-item=\"9\"><a href=\"#\">Item 10</a></li>\r\n<!--\r\n        <li uk-slideshow-item=\"10\"><a href=\"#\">Item 11</a></li>\r\n        <li uk-slideshow-item=\"11\"><a href=\"#\">Item 12</a></li>\r\n        <li uk-slideshow-item=\"12\"><a href=\"#\">Item 13</a></li>\r\n        <li uk-slideshow-item=\"13\"><a href=\"#\">Item 14</a></li>\r\n-->\r\n      </ul>\r\n    </div>\r\n\r\n\r\n\r\n\r\n  </div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n',223,'2025-11-27 13:46:33','2025-11-27 19:39:40','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'html','','','','');
INSERT INTO `gl_staticpage`VALUES ('_top-slideshow_ja','_top-slideshow_ja','','<style>\r\n.gl-text-mincho {\r\nfont-family: \"Hiragino Mincho ProN\", \"Hiragino Mincho Pro\", \"Yu Mincho\", \"YuMincho\", \"MS PMincho\", serif;\r\n}\r\n\r\n/* デフォルト（スマホ用: ヘッダー 60px） */\r\n.slider-full {\r\n  height: calc(100vh - 120px);\r\n}\r\n\r\n/* PC用（画面幅768px以上: ヘッダー 220px） */\r\n@media (min-width: 768px) {\r\n  .slider-full {\r\n    height: calc(100vh - 200px);\r\n  }\r\n}\r\n</style> \r\n\r\n <div class=\"uk-position-relative uk-visible-toggle uk-light\" tabindex=\"-1\" uk-slideshow=\"animation: fade; autoplay: true\">\r\n    <div class=\"uk-slideshow-items slider-full\">\r\n\r\n[medialist:10 limitcnt:20 theme:top-slideshow src:orig]\r\n\r\n\r\n    </div>\r\n    <a class=\"uk-position-center-left uk-position-small uk-hidden-hover\" href uk-slidenav-previous uk-slideshow-item=\"previous\"></a>\r\n    <a class=\"uk-position-center-right uk-position-small uk-hidden-hover\" href uk-slidenav-next uk-slideshow-item=\"next\"></a>\r\n\r\n\r\n\r\n\r\n    <div class=\"uk-position-bottom-center uk-position-small\">\r\n      <ul class=\"uk-dotnav\">\r\n        <li uk-slideshow-item=\"0\"><a href=\"#\">Item 1</a></li>\r\n        <li uk-slideshow-item=\"1\"><a href=\"#\">Item 2</a></li>\r\n        <li uk-slideshow-item=\"2\"><a href=\"#\">Item 3</a></li>\r\n        <li uk-slideshow-item=\"3\"><a href=\"#\">Item 4</a></li>\r\n        <li uk-slideshow-item=\"4\"><a href=\"#\">Item 5</a></li>\r\n        <li uk-slideshow-item=\"5\"><a href=\"#\">Item 6</a></li>\r\n        <li uk-slideshow-item=\"6\"><a href=\"#\">Item 7</a></li>\r\n        <li uk-slideshow-item=\"7\"><a href=\"#\">Item 8</a></li>\r\n        <li uk-slideshow-item=\"8\"><a href=\"#\">Item 9</a></li>\r\n        <li uk-slideshow-item=\"9\"><a href=\"#\">Item 10</a></li>\r\n<!--\r\n        <li uk-slideshow-item=\"10\"><a href=\"#\">Item 11</a></li>\r\n        <li uk-slideshow-item=\"11\"><a href=\"#\">Item 12</a></li>\r\n        <li uk-slideshow-item=\"12\"><a href=\"#\">Item 13</a></li>\r\n        <li uk-slideshow-item=\"13\"><a href=\"#\">Item 14</a></li>\r\n-->\r\n      </ul>\r\n    </div>\r\n\r\n\r\n\r\n\r\n  </div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n',10301,'2025-11-27 13:46:49','2025-11-27 19:38:32','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'html','','','','');
INSERT INTO `gl_staticpage`VALUES ('_top-slideshow_zh','_top-slideshow_zh','','<style>\r\n.gl-text-mincho {\r\nfont-family: \"Hiragino Mincho ProN\", \"Hiragino Mincho Pro\", \"Yu Mincho\", \"YuMincho\", \"MS PMincho\", serif;\r\n}\r\n\r\n/* デフォルト（スマホ用: ヘッダー 60px） */\r\n.slider-full {\r\n  height: calc(100vh - 120px);\r\n}\r\n\r\n/* PC用（画面幅768px以上: ヘッダー 220px） */\r\n@media (min-width: 768px) {\r\n  .slider-full {\r\n    height: calc(100vh - 200px);\r\n  }\r\n}\r\n</style> \r\n\r\n <div class=\"uk-position-relative uk-visible-toggle uk-light\" tabindex=\"-1\" uk-slideshow=\"animation: fade; autoplay: true\">\r\n    <div class=\"uk-slideshow-items slider-full\">\r\n\r\n[medialist:12 limitcnt:20 theme:top-slideshow src:orig]\r\n\r\n\r\n    </div>\r\n    <a class=\"uk-position-center-left uk-position-small uk-hidden-hover\" href uk-slidenav-previous uk-slideshow-item=\"previous\"></a>\r\n    <a class=\"uk-position-center-right uk-position-small uk-hidden-hover\" href uk-slidenav-next uk-slideshow-item=\"next\"></a>\r\n\r\n\r\n\r\n\r\n    <div class=\"uk-position-bottom-center uk-position-small\">\r\n      <ul class=\"uk-dotnav\">\r\n        <li uk-slideshow-item=\"0\"><a href=\"#\">Item 1</a></li>\r\n        <li uk-slideshow-item=\"1\"><a href=\"#\">Item 2</a></li>\r\n        <li uk-slideshow-item=\"2\"><a href=\"#\">Item 3</a></li>\r\n        <li uk-slideshow-item=\"3\"><a href=\"#\">Item 4</a></li>\r\n        <li uk-slideshow-item=\"4\"><a href=\"#\">Item 5</a></li>\r\n        <li uk-slideshow-item=\"5\"><a href=\"#\">Item 6</a></li>\r\n        <li uk-slideshow-item=\"6\"><a href=\"#\">Item 7</a></li>\r\n        <li uk-slideshow-item=\"7\"><a href=\"#\">Item 8</a></li>\r\n        <li uk-slideshow-item=\"8\"><a href=\"#\">Item 9</a></li>\r\n        <li uk-slideshow-item=\"9\"><a href=\"#\">Item 10</a></li>\r\n<!--\r\n        <li uk-slideshow-item=\"10\"><a href=\"#\">Item 11</a></li>\r\n        <li uk-slideshow-item=\"11\"><a href=\"#\">Item 12</a></li>\r\n        <li uk-slideshow-item=\"12\"><a href=\"#\">Item 13</a></li>\r\n        <li uk-slideshow-item=\"13\"><a href=\"#\">Item 14</a></li>\r\n-->\r\n      </ul>\r\n    </div>\r\n\r\n\r\n\r\n\r\n  </div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n',1403,'2025-11-27 13:46:41','2025-11-27 19:39:27','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'html','','','','');
INSERT INTO `gl_staticpage`VALUES ('_top-slideshow_en','_top-slideshow_en','','<style>\r\n.gl-text-mincho {\r\nfont-family: \"Hiragino Mincho ProN\", \"Hiragino Mincho Pro\", \"Yu Mincho\", \"YuMincho\", \"MS PMincho\", serif;\r\n}\r\n\r\n/* デフォルト（スマホ用: ヘッダー 60px） */\r\n.slider-full {\r\n  height: calc(100vh - 120px);\r\n}\r\n\r\n/* PC用（画面幅768px以上: ヘッダー 220px） */\r\n@media (min-width: 768px) {\r\n  .slider-full {\r\n    height: calc(100vh - 200px);\r\n  }\r\n}\r\n</style> \r\n\r\n <div class=\"uk-position-relative uk-visible-toggle uk-light\" tabindex=\"-1\" uk-slideshow=\"animation: fade; autoplay: true\">\r\n    <div class=\"uk-slideshow-items slider-full\">\r\n\r\n[medialist:11 limitcnt:20 theme:top-slideshow src:orig]\r\n\r\n\r\n    </div>\r\n    <a class=\"uk-position-center-left uk-position-small uk-hidden-hover\" href uk-slidenav-previous uk-slideshow-item=\"previous\"></a>\r\n    <a class=\"uk-position-center-right uk-position-small uk-hidden-hover\" href uk-slidenav-next uk-slideshow-item=\"next\"></a>\r\n\r\n\r\n\r\n\r\n    <div class=\"uk-position-bottom-center uk-position-small\">\r\n      <ul class=\"uk-dotnav\">\r\n        <li uk-slideshow-item=\"0\"><a href=\"#\">Item 1</a></li>\r\n        <li uk-slideshow-item=\"1\"><a href=\"#\">Item 2</a></li>\r\n        <li uk-slideshow-item=\"2\"><a href=\"#\">Item 3</a></li>\r\n        <li uk-slideshow-item=\"3\"><a href=\"#\">Item 4</a></li>\r\n        <li uk-slideshow-item=\"4\"><a href=\"#\">Item 5</a></li>\r\n        <li uk-slideshow-item=\"5\"><a href=\"#\">Item 6</a></li>\r\n        <li uk-slideshow-item=\"6\"><a href=\"#\">Item 7</a></li>\r\n        <li uk-slideshow-item=\"7\"><a href=\"#\">Item 8</a></li>\r\n        <li uk-slideshow-item=\"8\"><a href=\"#\">Item 9</a></li>\r\n        <li uk-slideshow-item=\"9\"><a href=\"#\">Item 10</a></li>\r\n<!--\r\n        <li uk-slideshow-item=\"10\"><a href=\"#\">Item 11</a></li>\r\n        <li uk-slideshow-item=\"11\"><a href=\"#\">Item 12</a></li>\r\n        <li uk-slideshow-item=\"12\"><a href=\"#\">Item 13</a></li>\r\n        <li uk-slideshow-item=\"13\"><a href=\"#\">Item 14</a></li>\r\n-->\r\n      </ul>\r\n    </div>\r\n\r\n\r\n\r\n\r\n  </div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n',580,'2025-11-27 13:46:23','2025-11-27 19:39:11','noblocks',0,1,1,'',-1,'','','',0,'',0,0,1,-1,3,45,3,2,2,2,0,'',1,0,0,0,'html','','','','');

--
