$value['view_date'] = mb_substr($value['view_date'],0,10);
$value['view_date'] = str_replace('-', '.', $value['view_date']);
echo "
{$value['view_date']}
\n";
$str = mb_strlen($value['sub_title']);
if($str > '50'){
$text = mb_substr($value['sub_title'], 0, 50) . "…";
} else {
$text = $value['sub_title'];
if($value['pagetype_flg'] == '1'){
echo "
{$text}
\n";
} else if ($value['pagetype_flg'] == '2'){
echo "
{$text}
\n";
}else{
echo "
{$text}
\n";
echo " \n";
echo "
{$links['next']}\n";
echo "
{$links['back']}\n";