// ----------------------------------------------------------------------- // 初期設定読込み // ----------------------------------------------------------------------- @require_once("my_init.php"); // ----------------------------------------------------------------------- // 経営理念取得 // ----------------------------------------------------------------------- $main = ""; $comment = ""; if(@file_exists(DAT_CON)){ $file = @file_get_contents(DAT_CON); if($file){ if(@preg_match("/<>/",$file)){ list($main,$comment) = @explode("<>",$file); }else{ $comment = $file; } } if($main){ $main = '
'.$v.'
'; } }else{ if(!$flag_br){ $coAry[$k] = ''.$v; $flag_br++; if(@preg_match("/。$/",$v)){ $coAry[$k] = $coAry[$k].'
'; $flag_br = 0; }else{ $coAry[$k] = $coAry[$k].'