0) { if($a==0 && $direct!='y') { $r_year=$year; $r_month=$month; $r_day=$day; if($month<10) $r_month=$month%10; } $a++; } $day--; if($day==0) { $day=31; $month--; } if($month==0) { $month=12; $year--; } } } $result=mysql_query("select * from comics where year=$r_year and month=$r_month and day=$r_day",$connect) or error(mysql_error()); $total=mysql_num_rows($result); printHeader("desktop","오늘의 신간",$r_year."년 ".$r_month."월 ".$r_day."일 발매된 ".$total."종의 신간","","","manatoday.php"); printHeader("mobile","오늘의 신간",$r_year."년 ".$r_month."월 ".$r_day."일 발매된 ".$total."종의 신간","","","manatoday.php"); ?>

".$row[title]." ".$row[status]."

"; } ?>

".$row[title]." ".$row[status]."

"; } ?>