">¢¸ ">¢º
$lasnowday) { break; } echo(""); for($i = 1; $i <=7; $i++) { // ¿äÀÏüũ if(($i != $daynum && $daycount == 1) || ($daycount > $lasnowday)) { echo(""); } else if($daycount <= $lasnowday) { $querydate = mktime(0,0,0,$nowmon,$daycount,$nowyear); if($daycount < 10) { $nowdate = $nowyear.$nowmon."0".$daycount; } else { $nowdate = $nowyear.$nowmon.$daycount; } if($daycount == $nowday) { echo(""); $daycount = $daycount + 1; } } echo(""); } ?>
ÀÏ ¿ù È­ ¼ö ¸ñ ±Ý Åä
"); } else if($i == 1) { echo(""); } else if($i == 7) { echo(""); } else { echo(""); } echo("$daycount"); //ÀϺ° »ó¼¼³»¿ªº¸±â $plan_qry = "select * from plan where plandate=".$querydate." order by pid desc limit 4"; $plan_res = mysql_query($plan_qry, $dbconn); $plan_count = mysql_num_rows($plan_res); while($plan_row = mysql_fetch_array($plan_res)) { $plan_id = $plan_row[pid]; $plan_subject = cut_string($plan_row[subject],10); echo("
"); echo("$plan_subject"); } //ÀϺ° »ó¼¼³»¿ªº¸±â ³¡ echo("