活動の紹介
世界では、子どもたちを取り巻くあらゆる環境において課題が山積みです。わたしたちは、子どもたちが直面している問題の解決のために現地での活動に取り組んでいます。
世界中で展開している、特に6つの分野での活動を紹介します。
教育
安心・安全な学校の環境づくりや、インクルーシブ教育の推進など、学習環境の改善や整備などの支援を行っています。
保健・栄養
妊産婦と乳幼児の栄養ケアや栄養摂取習慣の改善など、総合的な子どもの発達事業を展開し、子どもの栄養不良や死亡を防ぎます。
緊急・人道支援
頻発する自然災害の影響や、長引く紛争で人道危機の被害を受ける子どもたちと地域社会が日常を取り戻るようサポートします。
防災(災害リスク軽減)
子どもを中心とする防災を推進し、災害リスクを軽減することを目指しています。
子どもの保護
子どもたちへの虐待・ネグレクト・搾取・暴力を予防、根絶するための対策と制度づくりを推進します。
子どもの貧困
すべての子どもが生活や成長に必要なものやサービス、機会を得られ、可能性を発揮できるよう、子どもの貧困問題の解決を目指します。
日本国内での活動
日本国内でも子どもの権利を実現するために2003年から活動しています。子どもの貧困や子ども虐待といった日本の子どもを取り巻く課題に取り組むほか、自然災害における緊急・復興支援を行っています。
アドボカシー
子どもの権利に関わるさまざまな問題の根本的解決に向けたアドボカシー(政策提言)活動に取り組んでいます。
HTML;
if ($mode==1) {
$base_html = <<
<-img->
HTML;
} elseif ($mode==2) {
$base_html = <<
HTML;
}
// MySQLÀܳ
$con = pbof_mysql_connect(); //2017.11.07 IL Äɲà ¥µ¡¼¥аܹÔÂбþ
// ¥«¥ƥ´¥ê¥ꥹ¥È
$category_array = array();
$category_name_array = array();
$sql = "select mid, name, sub, mainid from scj_category order by sid";
@mb_convert_variables($enc_db, $enc_in, $sql);
$rst = mysqli_query($con, $sql);
while ($col = mysqli_fetch_array($rst)) {
@mb_convert_variables($enc_in, $enc_db, $col);
$category_array[] = $col['mid'];
if ($col['sub'] == 1) {
$sql2 = "select name from scj_category where mid = '{$col['mainid']}' limit 1";
@mb_convert_variables($enc_db, $enc_in, $sql2);
$rst2 = mysqli_query($con, $sql2);
$col2 = mysqli_fetch_array($rst2);
mysqli_free_result($rst2);
$category_name_array[$col['mid']] = $col2['name'].'/'.$col['name'];
} else {
$category_name_array[$col['mid']] = $col['name'];
}
$category_rname_array[$col['name']] = $col['mid'];
}
mysqli_free_result($rst);
$info_new_array = array();
$sql = "select scj_blog.mid, scj_blog.cate, scj_blog.title, scj_blog.vdate, scj_category.sub, scj_category.mainid, scj_category.grp from scj_blog inner join scj_category on scj_blog.cate = scj_category.mid where scj_blog.view = '1' and scj_blog.vdate <= '{$now}' and ( scj_category.name != '¥ץ쥹¥롼¥à' and scj_category.name != '¥ץ쥹¥ê¥¥¹' and scj_category.name != '¿ͺàÊ罸' ) order by scj_blog.vdate desc limit 15";
mb_convert_variables($enc_db, $enc_in, $sql);
$rst = mysqli_query($con, $sql);
while ($col = @mysqli_fetch_array($rst)) {
@mb_convert_variables($enc_in, $enc_db, $col);
$info_new_array[] = $col;
}
mysqli_free_result($rst);
$info_press_array = array();
//$sql = "select scj_blog.mid, scj_blog.cate, scj_blog.title, scj_blog.vdate, scj_category.sub, scj_category.mainid, scj_category.grp from scj_blog inner join scj_category on scj_blog.cate = scj_category.mid where scj_blog.view = '1' and scj_blog.vdate <= '{$now}' and ( scj_category.name = '¥ץ쥹¥롼¥à' or scj_category.name = '¥ץ쥹¥ê¥¥¹' or scj_category.name = '¿ͺàÊ罸' ) order by scj_blog.vdate desc limit 15";
$sql = "select scj_blog.mid, scj_blog.cate, scj_blog.title, scj_blog.vdate, scj_category.sub, scj_category.mainid, scj_category.grp from scj_blog inner join scj_category on scj_blog.cate = scj_category.mid where scj_blog.view = '1' and scj_blog.vdate <= '{$now}' and ( scj_category.name = '¥ץ쥹¥롼¥à' or scj_category.name = '¥ץ쥹¥ê¥¥¹' ) order by scj_blog.vdate desc limit 15";
mb_convert_variables($enc_db, $enc_in, $sql);
$rst = mysqli_query($con, $sql);
while ($col = @mysqli_fetch_array($rst)) {
@mb_convert_variables($enc_in, $enc_db, $col);
$info_press_array[] = $col;
}
mysqli_free_result($rst);
$url = '../news/publications/index.html';
$buff = "";
$fp = fopen($url,"r");
while ( !feof($fp) ) {
$buff .= fgets($fp);
}
fclose($fp);
$buff = preg_replace('/^.*?/s', '', $buff);
$buff = preg_replace('/.*$/s', '', $buff);
$buff = preg_replace('/^.*?
.*$/s', '', $buff);
$buff = str_replace(array("\r\n","\n","\r"), '', $buff);
$buff_array = explode("", $buff);
$info_publications_array = array();
foreach ($buff_array as $val) {
preg_match('/href="(.*?)"/', $val, $link);
preg_match('/>([^<]*?)<\/a>/', $val, $title);
preg_match('/class="t12">([0-9\.]*?)MB', $val, $size);
if (isset($link[1]) && isset($title[1]) && isset($size[1])) {
//¢2017.12.27 K.Kazuno ½¤Àµ
// $info_publications_array[] = array('link'=>'/news/publications/'.$link[1], 'title'=>$title[1], 'size'=>$size[1].'MB');
$info_publications_array[] = array('link'=>$link[1], 'title'=>$title[1], 'size'=>$size[1].'MB');
//¢¬2017.12.27 K.Kazuno ½¤Àµ
}
}
@mb_convert_variables($enc_in, 'SJIS', $info_publications_array);
// ºǿ·¥˥塼¥¹¥»¥åÈ
$html_all = '';
if ($mode==0) $html_all .= '';
$cnt = 0;
foreach ($info_new_array as $val) {
$cnt++;
if ($mode==0 && $cnt > 5) break;
if ($mode==1 && $cnt==4) {
$html_all .= '
';
}
if ($mode==1 && $cnt > 10) break;
$html = $base_html;
$path = './dat/img/blog/'.$val['mid'].'/index.jpg';
if (is_file($path)) {
$img = '
';
} else {
$img = '
';
}
$html = str_replace('<-img->', $img, $html);
$title = $val['title'];
$title = html_entity_decode($title, ENT_QUOTES, $enc_in);
$title = strip_tags($title);
$html = str_replace('<-title->', $title, $html);
$html = str_replace('<-date->', date('Y.m.d', $val['vdate']), $html);
$html = str_replace('<-cate->', $category_name_array[$val['cate']], $html);
if ($category_name_array[$val['cate']]=='EVERY ONE') {
$page = 'everyone.php';
} elseif ($category_name_array[$val['cate']]=='¥ץ쥹¥롼¥à') {
$page = 'press.php';
} elseif ($val['mainid']==5) {
$page = 'press.php';
} else {
$page = 'sc_activity.php';
}
if ($mode==0) {
$html = str_replace('<-link->', '/scjcms/'.$page.'?d='.$val['mid'], $html);
} else {
$html = str_replace('<-link->', '/sp/news/index.php?d='.$val['mid'], $html);
}
$html_all .= $html;
}
if ($mode==0) {
$html_all .= '
';
} elseif ($mode==1 && $cnt > 3) {
$html_all .= '
';
}
// Äê´üȯ¹Ôʪ¥»¥åÈ
if ($mode==0 || $mode==2) {
$cnt = 0;
if ($mode==0) $html_all .= '';
if ($mode==2) $html_all = '';
foreach ($info_publications_array as $val) {
$cnt++;
if ($mode==0 && $cnt > 7) break;
if ($mode==2 && $cnt==4) {
$html_all .= '
';
}
if ($mode==2 && $cnt > 10) break;
$html = $base_html;
$html = str_replace('<-img->', '', $html);
$title = $val['title'].'¡¡'.$val['size'];
$html = str_replace('<-title->', $title, $html);
$html = str_replace('<-cate->', 'Äê´üȯ¹Ôʪ', $html);
$html = str_replace('<-link->', $val['link'].'" target="_blank', $html);
$html = str_replace('
<-date->
', '', $html);
$html_all .= $html;
}
if ($mode==0) {
$html_all .= '
';
} elseif ($mode==2 && $cnt > 3) {
$html_all .= '
';
}
}
// HTMLɽ¼¨
header($html_header);
header('Content-Language: ja');
if ($mode==0) {
$html = mb_convert_encoding($html_all, $enc_out, $enc_in);
} else {
$html = mb_convert_encoding($html_all, 'UTF-8', $enc_in);
}
echo $html;
// MySQLÀܳ²ò½ü
$con = mysqli_close($con);
exit;
?>
HTML;
if ($mode==1) {
$base_html = <<
<-img->
HTML;
} elseif ($mode==2) {
$base_html = <<
HTML;
}
// MySQLÀܳ
$con = pbof_mysql_connect(); //2017.11.07 IL Äɲà ¥µ¡¼¥аܹÔÂбþ
// ¥«¥ƥ´¥ê¥ꥹ¥È
$category_array = array();
$category_name_array = array();
$sql = "select mid, name, sub, mainid from scj_category order by sid";
@mb_convert_variables($enc_db, $enc_in, $sql);
$rst = mysqli_query($con, $sql);
while ($col = mysqli_fetch_array($rst)) {
@mb_convert_variables($enc_in, $enc_db, $col);
$category_array[] = $col['mid'];
if ($col['sub'] == 1) {
$sql2 = "select name from scj_category where mid = '{$col['mainid']}' limit 1";
@mb_convert_variables($enc_db, $enc_in, $sql2);
$rst2 = mysqli_query($con, $sql2);
$col2 = mysqli_fetch_array($rst2);
mysqli_free_result($rst2);
$category_name_array[$col['mid']] = $col2['name'].'/'.$col['name'];
} else {
$category_name_array[$col['mid']] = $col['name'];
}
$category_rname_array[$col['name']] = $col['mid'];
}
mysqli_free_result($rst);
$info_new_array = array();
$sql = "select scj_blog.mid, scj_blog.cate, scj_blog.title, scj_blog.vdate, scj_category.sub, scj_category.mainid, scj_category.grp from scj_blog inner join scj_category on scj_blog.cate = scj_category.mid where scj_blog.view = '1' and scj_blog.vdate <= '{$now}' and ( scj_category.name != '¥ץ쥹¥롼¥à' and scj_category.name != '¥ץ쥹¥ê¥¥¹' and scj_category.name != '¿ͺàÊ罸' ) order by scj_blog.vdate desc limit 15";
mb_convert_variables($enc_db, $enc_in, $sql);
$rst = mysqli_query($con, $sql);
while ($col = @mysqli_fetch_array($rst)) {
@mb_convert_variables($enc_in, $enc_db, $col);
$info_new_array[] = $col;
}
mysqli_free_result($rst);
$info_press_array = array();
//$sql = "select scj_blog.mid, scj_blog.cate, scj_blog.title, scj_blog.vdate, scj_category.sub, scj_category.mainid, scj_category.grp from scj_blog inner join scj_category on scj_blog.cate = scj_category.mid where scj_blog.view = '1' and scj_blog.vdate <= '{$now}' and ( scj_category.name = '¥ץ쥹¥롼¥à' or scj_category.name = '¥ץ쥹¥ê¥¥¹' or scj_category.name = '¿ͺàÊ罸' ) order by scj_blog.vdate desc limit 15";
$sql = "select scj_blog.mid, scj_blog.cate, scj_blog.title, scj_blog.vdate, scj_category.sub, scj_category.mainid, scj_category.grp from scj_blog inner join scj_category on scj_blog.cate = scj_category.mid where scj_blog.view = '1' and scj_blog.vdate <= '{$now}' and ( scj_category.name = '¥ץ쥹¥롼¥à' or scj_category.name = '¥ץ쥹¥ê¥¥¹' ) order by scj_blog.vdate desc limit 15";
mb_convert_variables($enc_db, $enc_in, $sql);
$rst = mysqli_query($con, $sql);
while ($col = @mysqli_fetch_array($rst)) {
@mb_convert_variables($enc_in, $enc_db, $col);
$info_press_array[] = $col;
}
mysqli_free_result($rst);
$url = '../news/publications/index.html';
$buff = "";
$fp = fopen($url,"r");
while ( !feof($fp) ) {
$buff .= fgets($fp);
}
fclose($fp);
$buff = preg_replace('/^.*?/s', '', $buff);
$buff = preg_replace('/.*$/s', '', $buff);
$buff = preg_replace('/^.*?.*$/s', '', $buff);
$buff = str_replace(array("\r\n","\n","\r"), '', $buff);
$buff_array = explode("", $buff);
$info_publications_array = array();
foreach ($buff_array as $val) {
preg_match('/href="(.*?)"/', $val, $link);
preg_match('/>([^<]*?)<\/a>/', $val, $title);
preg_match('/class="t12">([0-9\.]*?)MB', $val, $size);
if (isset($link[1]) && isset($title[1]) && isset($size[1])) {
//¢2017.12.27 K.Kazuno ½¤Àµ
// $info_publications_array[] = array('link'=>'/news/publications/'.$link[1], 'title'=>$title[1], 'size'=>$size[1].'MB');
$info_publications_array[] = array('link'=>$link[1], 'title'=>$title[1], 'size'=>$size[1].'MB');
//¢¬2017.12.27 K.Kazuno ½¤Àµ
}
}
@mb_convert_variables($enc_in, 'SJIS', $info_publications_array);
// ºǿ·¥˥塼¥¹¥»¥åÈ
$html_all = '';
if ($mode==0) $html_all .= '';
$cnt = 0;
foreach ($info_new_array as $val) {
$cnt++;
if ($mode==0 && $cnt > 5) break;
if ($mode==1 && $cnt==4) {
$html_all .= '
';
}
if ($mode==1 && $cnt > 10) break;
$html = $base_html;
$path = './dat/img/blog/'.$val['mid'].'/index.jpg';
if (is_file($path)) {
$img = '
';
} else {
$img = '
';
}
$html = str_replace('<-img->', $img, $html);
$title = $val['title'];
$title = html_entity_decode($title, ENT_QUOTES, $enc_in);
$title = strip_tags($title);
$html = str_replace('<-title->', $title, $html);
$html = str_replace('<-date->', date('Y.m.d', $val['vdate']), $html);
$html = str_replace('<-cate->', $category_name_array[$val['cate']], $html);
if ($category_name_array[$val['cate']]=='EVERY ONE') {
$page = 'everyone.php';
} elseif ($category_name_array[$val['cate']]=='¥ץ쥹¥롼¥à') {
$page = 'press.php';
} elseif ($val['mainid']==5) {
$page = 'press.php';
} else {
$page = 'sc_activity.php';
}
if ($mode==0) {
$html = str_replace('<-link->', '/scjcms/'.$page.'?d='.$val['mid'], $html);
} else {
$html = str_replace('<-link->', '/sp/news/index.php?d='.$val['mid'], $html);
}
$html_all .= $html;
}
if ($mode==0) {
$html_all .= '
';
} elseif ($mode==1 && $cnt > 3) {
$html_all .= '
';
}
// Äê´üȯ¹Ôʪ¥»¥åÈ
if ($mode==0 || $mode==2) {
$cnt = 0;
if ($mode==0) $html_all .= '';
if ($mode==2) $html_all = '';
foreach ($info_publications_array as $val) {
$cnt++;
if ($mode==0 && $cnt > 7) break;
if ($mode==2 && $cnt==4) {
$html_all .= '
';
}
if ($mode==2 && $cnt > 10) break;
$html = $base_html;
$html = str_replace('<-img->', '', $html);
$title = $val['title'].'¡¡'.$val['size'];
$html = str_replace('<-title->', $title, $html);
$html = str_replace('<-cate->', 'Äê´üȯ¹Ôʪ', $html);
$html = str_replace('<-link->', $val['link'].'" target="_blank', $html);
$html = str_replace('
<-date->
', '', $html);
$html_all .= $html;
}
if ($mode==0) {
$html_all .= '
';
} elseif ($mode==2 && $cnt > 3) {
$html_all .= '
';
}
}
// HTMLɽ¼¨
header($html_header);
header('Content-Language: ja');
if ($mode==0) {
$html = mb_convert_encoding($html_all, $enc_out, $enc_in);
} else {
$html = mb_convert_encoding($html_all, 'UTF-8', $enc_in);
}
echo $html;
// MySQLÀܳ²ò½ü
$con = mysqli_close($con);
exit;
?>
セーブ・ザ・チルドレン・ジャパンが現在支援している国や地域