亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

陳
Follow

After following, you can keep track of his dynamic information in a timely manner

Course notes
  • Courses in the relevant section:Calendar page display

    <?php $mon= date('m'); $year=date('Y'); $day=date("t",mktime(0,0,0,$mon,12,$year));//當(dāng)前月的天數(shù) 31 $w=date("w",mktime(0,0,0,$mon,1,$year));//當(dāng)月1號(hào)的星期幾 4 echo"<div align='center' style='border:1px solid red'>"; echo"<table border='0' style='border:1px solid red'>";//表格開始了 echo"<h3 style='border:1px solid red'><div style='border:1px solid red'>{$year}年{$mon}月</div></h3>";//這個(gè)是標(biāo)題 echo "<tr>";//表格中的一行table row echo "<th style='border:1px solid red'>日</th>";//這個(gè)是表頭table head echo "<th class='td1' >一</th>"; echo "<th class='td1'>二</th>"; echo "<th class='td1'>三</th>"; echo "<th class='td1'>四</th>"; echo "<th class='td1'>五</th>"; echo "<th>六</th>"; echo "</tr>"; $d=1; while($d<=$day){ echo"<tr onmouseOver='overTr(this)'onmouseOut='outTr(this)'>"; for($i=1;$i<=7;$i++){//循環(huán)輸出7天信息 if($d<=$day&&($w<$i||$d!=1)){ echo "<th><a href=''>{$d}</a></th>"; $d++; }else{ echo"<th> </th>"; } } }

    2019-06-120個(gè)贊