\n HTML; $html .=<<

<%CATEGORYNAME>

\n HTML; if( count($ary_site) >0 ){ $url_toppage = URL_TOPPAGE; foreach( $ary_site as $site ){ $html .=<< {$site['title']}
アドレス⇒ : {$url_toppage}{$site['dir_name']}
内容⇒ : {$site['description']}
\n HTML; } } foreach( $ary_post as $post ){ $html .=<< {$post['title']}
アドレス⇒ : {$post['url']}
内容⇒ : {$post['description']}
\n HTML; } $html .= <<
{$link_info}
HTML; // 差し替え $html = str_replace("<%SITETITLE>", $ary_categorylist[$_GET[$query_key]]. " | ".$domain, $html ); $html = str_replace("<%CATEGORYNAME>", $ary_categorylist[$_GET[$query_key]], $html ); $html = str_replace("<%COPYRIGHT>", $domain, $html ); print $html; ?>