Files
wnmj-normal/GonghuiWeb/www/m_c/%%AF^AFF^AFFCBBAB%%weihu.tpl.php

116 lines
2.9 KiB
PHP
Raw Permalink Normal View History

2026-03-03 13:56:44 +08:00
<?php /* Smarty version 2.6.26, created on 2024-02-29 14:06:25
compiled from user/weihu.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'top.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<style>
.nr_nr {line-height:18px;}
.ban {float: left;width:50%}
.title li {list-style: none;}
</style>
<div id=in style="padding-left:10px;">
<div class="ban">
<div id="zxsj"></div>
<div id="zxnr"></div>
<div id="def_hit"></div>
</div>
<div class="ban">
<div class="title" id="title"></div>
</div>
</div>
<script>
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
var conf = [['<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD><D4B1><EFBFBD>±<EFBFBD><C2B1><EFBFBD>','a',6],
['<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>','b',1],
['<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD>','c',1]];
var miao = 100;//<2F><><EFBFBD><EFBFBD>ÿ<EFBFBD><C3BF>ִ<EFBFBD><D6B4>
var gg = 30;//<2F><>ʾ<EFBFBD><CABE><EFBFBD>ٸ<EFBFBD><D9B8><EFBFBD>־
var def = 0;
var load_def = 0;
var shuaxin = wsx = 300;//<2F><>ˢ<EFBFBD><CBA2>ִ<EFBFBD><D6B4><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4>
var wh;
function getNowFormatDate() {
var date = new Date();
var seperator1 = "-";
var seperator2 = ":";
var month = date.getMonth() + 1;
var strDate = date.getDate();
if (month >= 1 && month <= 9) {
month = "0" + month;
}
if (strDate >= 0 && strDate <= 9) {
strDate = "0" + strDate;
}
var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate
+ " " + date.getHours() + seperator2 + date.getMinutes()
+ seperator2 + date.getSeconds();
return currentdate;
}
function tit_plus(nr){
$("#title").append("<li>"+nr+"</li>");
var hit = $("#title li").length;
if(hit > gg){
$("#title li:first").remove();
}
}
function load(){
if(load_def >= conf[def][2]){
load_def = 0;
if(def >= parseInt(conf.length-1)){
def = 0;
}else{
def++;
}
}
time_sx(def);//<2F><>ˢ<EFBFBD><CBA2>
//$("#zxsj").html("<font color=red>"+conf[def][0]+"<br>ִ<><D6B4><EFBFBD>У<EFBFBD><D0A3><EFBFBD><EFBFBD>Ժ<EFBFBD>...</font>");
$.get("weihu-"+conf[def][1]+".php",{js:'js'}, function(result){
$("#zxnr").html(result);
var zxm = shuaxin-wsx;
tit_plus(getNowFormatDate()+" "+conf[def][0]+"<><D6B4>"+zxm+"<EFBFBD><EFBFBD>)");
load_def++;
times();
wsx = shuaxin;
clearTimeout(wh);
});
}
var wait = miao;
function times(){
if (wait == 0) {
load();
wait = miao;
} else {
wait--;
$("#zxsj").html(" (" + wait + ") <20><><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4>");
setTimeout(function(){
times();
},1000);
}
}
times();
//<2F><>ˢ<EFBFBD><CBA2>
function time_sx(def){
wsx--;
if (wsx == 0) {
load();
wsx = shuaxin;
} else {
$("#zxsj").html("<font color=red>"+conf[def][0]+"<br>ִ<><D6B4><EFBFBD>У<EFBFBD><D0A3><EFBFBD><EFBFBD>Ժ<EFBFBD>...<br>(" + wsx + ") <20><>ˢ<EFBFBD><CBA2></font>");
wh = setTimeout(function(){
time_sx(def);
},1000);
}
}
</script>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'bottom.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
</body>
</html>