44 lines
1.1 KiB
PHP
44 lines
1.1 KiB
PHP
<?php /* Smarty version 2.6.26, created on 2018-03-02 15:17:26
|
|
compiled from user/zx.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;}
|
|
</style>
|
|
<div id=in>
|
|
<div id="zxsj"></div>
|
|
<div id="zxnr"></div>
|
|
</div>
|
|
<script>
|
|
function load(){
|
|
$("#zxsj").html("执行中,请稍后");
|
|
$.get("zx.php?js=js", function(result){
|
|
$("#zxnr").html(result);
|
|
times();
|
|
});
|
|
}
|
|
var wait = 10;
|
|
function times(){
|
|
if (wait == 0) {
|
|
load();
|
|
wait = 10;
|
|
} else {
|
|
wait--;
|
|
$("#zxsj").html(" (" + wait + ") 后秒执行");
|
|
setTimeout(function(){
|
|
times();
|
|
},1000);
|
|
}
|
|
}
|
|
times();
|
|
</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>
|