tbl_topics->findone( "id='{$c->get["id"]}' and del_flg='0' and view_flg='0'" ); foreach( $res as $key=>$value ){ if( $key == "date" ){ $date = preg_replace("/-/" , "." , $value); $c->set( $key , $date ); }elseif( $key == "lead" ){ $c->set( $key , $c->common->formatHTML($value) ); }elseif( $key == "writer_id" ){ if( $value ){ $writer = $c->tbl_writer->findone("id='{$value}'"); foreach($writer as $k=>$v){ if( $k == "title" ){ $c->set( "writer_title" , $v ); }elseif( $k == "profile"){ $c->set( "writer_profile" , $c->common->formatHTML($v) ); }elseif( $k == "images"){ $c->set( "writer_images" , $v ); } } } }elseif( $key == "author" && $res["writer_id"] == 0 ){ $c->set( "writer_title" , $value ); }elseif( $key == "profile" && $res["writer_id"] == 0 ){ $c->set( "writer_profile" , $c->common->formatHTML($value) ); }elseif( $key == "authorimg" && $res["writer_id"] == 0 ){ $c->set( "writer_images" , $value ); }elseif( $key == "category" ){ $cat = $c->tbl_category->findone("id={$value}"); $c->set( "cat_icon" , $cat["icon"] ); $c->set( "cat_title" , $cat["title"] ); }elseif( $key == "area" ){ $area = $c->tbl_area->findone("id={$value}"); $c->set( "area_title" , $area["title"] ); }else{ $c->set( $key , $value ); } } } ?> <? print $data["title"] ?>|OSAKA旅めがね
" alt="">
  • );">

profile

" class="postMainImg" alt="">