■".$ares."開催

\n" // ."\n"; if(is_array($kouzas[$area])) foreach ($kouzas[$area] as $kouza) { $num = count($kouza); if($num) { for($i=0; $i<$num; $i++) { $dd = $kouza[$i]; if(ymd2ut($dd[limit]) < todayut()) continue; $htb .= make_tr($dd); } } } //$htb .= "


\n"; } //変換&出力 $html = str_replace("%%_table_%%",$htb,$html); echo $html; exit; function make_tr($dd) { $date_str = ymd2jpdate_week($dd[date]); $text1 = ($dd[text1]) ? "
$dd[text1]" : ""; $text2 = ($dd[text2]) ? "
$dd[text2]" : ""; //$text2 = ($dd[text2]) ? "$dd[text2]
" : ""; $limit_str = ymd2jpdate_week($dd[limit]); $tr = " \n" ."

$dd[code]
\n" ."
$date_str$text1
\n" ."
$limit_str$text2
\n" ."
$dd[time]
\n" ."\n"; //$dd[fee] $dd[fee] return $tr; } ?>