phpicalendarと組み合わせれば良いじゃん https://rio.st/2007/04/24/phpicalendar%e3%81%a8%e7%b5%84%e3%81%bf%e5%90%88%e3%82%8f%e3%81%9b%e3%82%8c%e3%81%b0%e8%89%af%e3%81%84%e3%81%98%e3%82%83%e3%82%93/