ReadData( '1' ); $db_class = null ; $_SESSION[KEY01][KEY02][KEY03][KEY04]["news"] = $data; if( array_key_exists( "nw" ,$_GET) ){ $no = $_GET["nw"]; $topics = $_SESSION[KEY01][KEY02][KEY03][KEY04]["news"][ $no ] ; } ?> <?php echo $topics["title"] ?>社労士事務所 おふぃすきたの|年金相談,労務相談,裁定請求代行|姫路,神戸,加古川,明石

お知らせ

$val){ $topics2[ $key ] = html_entity_decode( $topics[ $key ], ENT_QUOTES, "utf-8" ); } $yy = mb_substr( $topics["disp_date"], 0, 4, CHAR_CODE ); $mm = mb_substr( $topics["disp_date"], 4, 2, CHAR_CODE ); $dd = mb_substr( $topics["disp_date"], 6, 2, CHAR_CODE ); $day_topics = sprintf( "%04d/%02d/%02d", $yy, $mm, $dd ); printf("

%s

\n", $day_topics); $data_topics .= sprintf ("
%s
\n" ,$topics2["title"]); $data_topics .= sprintf ("

%s


\n" , $topics2["honbun"]); if( $topics2["l_image1"] !="" || $topics2["l_image2"] !="" || $topics2["l_image3"] !="" ){ $data_topics .="\n"; $data_topics .="\n" ; if( $topics2["l_image1"] !="" ){ $image_path = TOPICS_IMG3.$topics2["l_image1"]; $image_size = image_resize_fnc( TOPICS_IMG_DISP3, TOPICS_IMG_DISP4, $image_path ); $data_topics .= sprintf ("\n" , $image_path , $topics2["imgtxt01"], $i, $image_path , $image_size["width"], $image_size["height"] ); } if( $topics2["l_image2"] !="" ){ $image_path = TOPICS_IMG3.$topics2["l_image2"]; $image_size = image_resize_fnc( TOPICS_IMG_DISP3, TOPICS_IMG_DISP4, $image_path ); $data_topics .= sprintf ("\n" , $image_path , $topics2["imgtxt02"], $i, $image_path , $image_size["width"], $image_size["height"] ); } if( $topics2["l_image3"] !="" ){ $image_path = TOPICS_IMG3.$topics2["l_image3"]; $image_size = image_resize_fnc( TOPICS_IMG_DISP3, TOPICS_IMG_DISP4, $image_path ); $data_topics .= sprintf ("\n" , $image_path , $topics2["imgtxt03"], $i, $image_path , $image_size["width"], $image_size["height"] ); } $data_topics .="\n"; $data_topics .="
\n"; } echo $data_topics; ?>