if ($show_news_sub) { $show_news = $show_news_sub; }
if (!ereg ("([0-9]{" .strlen($show_news)."})",$show_news)) { $show_news="ALL" }
if (strtoupper($show_news)=="; ALL") {
$sql="select date_format(n_date,'%m/%d/%Y') as n_date, date_format(n_date, '%H:%i') as n_time 、ニュース、n_date ニュースの日付を日付順に並べます desc"; ;a href=$REQUEST_URL?show_news_sub=ALL>";
$sql="select date_format(n_date,'%m/%d/%Y') as n_date, date_format(n_date, '%H:%i') as n_time, news, n_date as date from news order by n_date desc limit $show_news"; } $result=mysql_query($sql,$db); $num_rows=mysql_num_rows($result); if($num_rows!=0) { echo "