select top 1 Title,Articlecontent from KS_Article where tid='{$Param(0)}' and title=switch(select datepart(weekday,getdate())){ case 1:星期天; break; case 2:星期一; break; case 3:星期二; break; case 4:星期三; break; case 5:星期四; break; case 6:星期五; break; case 7:星期六; break; }