/",$file)){ list($main,$comment) = @explode("<>",$file); }else{ $comment = $file; } } if($main){ $main = '
'.$main.'

'."\n"; } if($comment){ $coAry = array(); $comment = @preg_replace("/[SPBR]{2,}/","SPBR",$comment); $coAry = @explode("SPBR",$comment); $flag_br = 0; if(@count($coAry)){ foreach($coAry as $k => $v){ if(!$k){ // 1行目 if(@preg_match("/。$/",$v)){ $coAry[$k] = '

'.$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].'
'; } }else{ if(@preg_match("/。$/",$v)){ $coAry[$k] = $v.'

'; $flag_br = 0; }else{ $coAry[$k] = $v.'
'; } } } } if($flag_br){ $coAry[@count($coAry)-1] .= '

'; } $comment = @join("\n",$coAry)."\n"; } } } ?> モリマシナリー株式会社 企業情報 経営理念
HOME > 企業情報 : 経営理念