function dateFilter(e){return e<10?"0"+e:e}function getLangDate(){var e=new Date,t=e.getFullYear(),a=e.getMonth()+1,n=e.getDate(),i=e.getDay(),r=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],o=r[i],s=e.getHours(),l=e.getMinutes(),u=e.getSeconds(),c=s>=12?s>=18?"晚上":"下午":"上午";newDate=dateFilter(t)+"年"+dateFilter(a)+"月"+dateFilter(n)+"日  "+dateFilter(s)+":"+dateFilter(l)+":"+dateFilter(u),document.getElementById("nowTime").innerHTML="亲爱的 <b>"+user+"</b> ，"+c+"好！ 欢迎您使用Amoli私有云，一路陪伴，感恩有你！当前时间为： "+newDate+"　"+o,setTimeout("getLangDate()",1e3)}var user="Amoli私有云";layui.use(["jquery"],function(){var e=layui.jquery,t="4.2.2";e(".panel a").hover(function(){e(this).find(".layui-anim").addClass("layui-anim-scaleSpring")},function(){e(this).find(".layui-anim").removeClass("layui-anim-scaleSpring")}),e(".panel a").click(function(){parent.addTab(e(this))}),e.ajax({url:"../ajax.php?act=systemParameter",dataType:"json",success:function(a){var n=a.data;user=n.user,e(".version").text(t),e(".php_version").text(n.php_version),e(".server").text(n.server),e(".host").text(n.host),e(".server_software").text(n.server_software),e(".upload_max").text(n.upload_max),e(".root").text(n.root),e(".time").text(n.time),e(".loginTime").text(n.loginTime),e.ajax({url:"https://www.amoli.co/log/AmoliCloud.php?act=version",dataType:"json",success:function(a){var n=a.version;n>t?(e("#new_version,#new").css("color","#FF5722"),e("#new").text("更新提示"),e("#new_version").text("有新版本可以更新")):e("#new_version").text(n)}})}})});var newDate="";getLangDate();