7b2美化-网站底部添加运行时间
打开b2/footer.php,
示例:
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? "https://" : "http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1278256943'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s4.cnzz.com/z_stat.php%3Fid%3D1278256943%26online%3D2' type='text/javascript'%3E%3C/script%3E"));</script>
小狐狸资源网已稳定运行:<SPAN id=span_dt_dt style="color: #2F889A;"></SPAN> <SCRIPT language=javascript>function show_date_time(){
window.setTimeout("show_date_time()", 1000);
BirthDay=new Date("7/11/2022 00:00:00");
today=new Date();
timeold=(today.getTime()-BirthDay.getTime());
sectimeold=timeold/1000
secondsold=Math.floor(sectimeold);
msPerDay=24*60*60*1000
e_daysold=timeold/msPerDay
daysold=Math.floor(e_daysold);
e_hrsold=(e_daysold-daysold)*24;
hrsold=Math.floor(e_hrsold);
e_minsold=(e_hrsold-hrsold)*60;
minsold=Math.floor((e_hrsold-hrsold)*60);
seconds=Math.floor((e_minsold-minsold)*60);
span_dt_dt.innerHTML='<font style=color:#ffffff>'+daysold+'</font> 天 <font style=color:#ffffff>'+hrsold+'</font> 时 <font style=color:#ffffff>'+minsold+'</font> 分 <font style=color:#ffffff>'+seconds+'</font> 秒';
}
show_date_time();</script>
本文来自小狐狸资源网
声明:本站部分文章来源于网络,如有危害到您的合法权益请联系客服
《》