ĪÂùÇ׸ñÀÔ·Â
 \n"); $col++; } for($j = 1; $j <= $total_days; $j++) { $bgc="#FFFEDC"; if($col == 6){$bgc="#FFFEDC";} if($col == 0){$bgc="#FFFEDC";} if (date('Y')==$year&&date('m')==$month&&date('d')==$j){ $bgc="#FFFEDC"; //$img=""; } echo(" \n"); $col++; if($col == 7) { echo("\n"); if($j != $total_days) { echo("\n"); } $col = 0; } } while($col > 0 && $col < 7) { echo(" \n"); $col++; } ?>
[ ]
ÀÏ ¿ù È­ ¼ö ¸ñ ±Ý Åä
$img$j
 
$total) {$hnumber=$total-$lownumber;} } function listpage() { global $page,$first,$center,$last,$endpage,$type,$sir,$tname; global $c_no; $lp=10; //ÇÏ´Ü ¸®½ºÆ® °¹¼ö //½ÇÆäÀÌÁö Á¤ÀÇ $tm=intval($page/$lp); $tm2=$page%$lp; $ppage=$tm*$lp; if($tm2) { $ppage++; }else { $ppage-=$lp-1; } if (!$ppage) {$ppage=1;} $lastpage=$ppage+$lp-1; if ($lastpage>$endpage) { $lastpage=$endpage; } $gpage=$ppage-$lp; $npage=$ppage+$lp; for ($ipage=$ppage;$ipage<=$lastpage;$ipage++) { if ($page>$lp) { $first=" "; } if ($page==$ipage) { $center.="$ipage"; } else { $center.=" $ipage "; } if ($endpage>$npage) { $last=" "; } } } ?> =2){ $cha=$sp*($page-1); $total=$total-$cha; } while($row=mysql_fetch_array($query1)) { $title=stripslashes($row[title]); $writeday=substr($row[writeday],0,10); ?>
 
0){ for($i=0;$i<=($row[step]-1);$i++){ print("  "); } print(""); //´äº¯±Û Ç¥½Ã } print("$title"); //±ÛÁ¦¸ñ if ($writeday==date('Y-m-d')){ print(" "); //NEW Ç¥½Ã } ?>
  Total: