工会web
This commit is contained in:
44
GonghuiWeb/www/m_c/%%77^77D^77D4B727%%zxx.tpl.php
Normal file
44
GonghuiWeb/www/m_c/%%77^77D^77D4B727%%zxx.tpl.php
Normal file
@@ -0,0 +1,44 @@
|
||||
<?php /* Smarty version 2.6.26, created on 2018-02-25 11:35:27
|
||||
compiled from user/zxx.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("zxx.php?js=js", function(result){
|
||||
$("#zxnr").html(result);
|
||||
times();
|
||||
});
|
||||
}
|
||||
var wait = 10;
|
||||
function times(){
|
||||
if (wait == 0) {
|
||||
load();
|
||||
wait = 300;
|
||||
} 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>
|
||||
Reference in New Issue
Block a user