丨美化代码
丨新人必看
丨赚取圈币
|
回复 1# oocn
<p><font color="#0080FF"><!--webbot bot="HTMLMarkup" startspan --><SCRIPT>
today=new Date();
var day; var date; var hello; var wel;
hour=new Date().getHours()
if(hour < 6)hello='凌晨好'
else if(hour < 9)hello='早上好'
else if(hour < 12)hello='上午好'
else if(hour < 14)hello='中午好'
else if(hour < 17)hello='下午好'
else if(hour < 19)hello='傍晚好'
else if(hour < 22)hello='晚上好'
else {hello='夜里好!'}
if(today.getDay()==0)day='星期日'
else if(today.getDay()==1)day='星期一'
else if(today.getDay()==2)day='星期二'
else if(today.getDay()==3)day='星期三'
else if(today.getDay()==4)day='星期四'
else if(today.getDay()==5)day='星期五'
else if(today.getDay()==6)day='星期六'
date=(today.getYear())+'年'+(today.getMonth() + 1 )+'月'+today.getDate()+'日';
if(hour<1)wel='子时 已经夜深了怎么还不休息';
else if(hour<3)wel='丑时 这么晚了快点睡觉哦';
else if(hour<5)wel='寅时 早上起床不如来点运动如何';
else if(hour<7)wel='卯时 现在你是否在早餐呢';
else if(hour<9)wel='辰时 今天心情好吗';
else if(hour<11)wel='巳时 快下班了吧';
else if(hour<13)wel='午时 最好午睡哦';
else if(hour<15)wel='未时 祝你工作愉快';
else if(hour<17)wel='申时 不知道你是否已经下班';
else if(hour<19)wel='酉时 一天又下来了耶';
else if(hour<21)wel='戌时 今天在这里有什么打算吗';
else if(hour<23)wel='亥时 已经很晚了啊';
else {wel='子时 已经夜深了怎么还不休息';}
document.write(hello);
</SCRIPT>!论坛小助手提醒您:现在是<SCRIPT>
document.write(date + ' ' + day + ' ' + wel);
</SCRIPT> <!--webbot bot="HTMLMarkup" endspan --></font></p> |
-
1
评分人数
-
-
麦创高科:
恶意灌水 圈币 -20
贡献 -20
金钱 -20
|
|
|
|
|
|
|