Files
wnmj/GonghuiWeb/www/m_c/%%74^74A^74AD5290%%jcgh_star.tpl.php

49 lines
1.5 KiB
PHP
Raw Permalink Normal View History

2026-02-24 09:25:17 +08:00
<?php /* Smarty version 2.6.26, created on 2019-01-07 22:53:46
compiled from user/jcgh_star.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 style="text-align:center;height:35px;line-height:35px;font-size:18px;"><span id='num'>0</span>/<?php echo $this->_tpl_vars['count']; ?>
</div>
<div style="float:left;width:50%;">
<textarea id="info" style="width:100%;height:500px;"></textarea>
</div>
<div style="float:left;width:50%;">
<textarea id="error" style="width:100%;height:500px;"></textarea>
</div>
</div>
<?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);
?>
<script>
var n = 0;
function satr(uid){
$.getJSON("jcgh_star.php",{uid:uid}, function(ret){
//alert(JSON.stringify(ret));
if(ret.ret == 'ok'){
$("#info").append("\nUnionID:"+ret.UnionID+" OK");
}else{
$("#error").append("\nUnionID:"+ret.UnionID+" "+ret.ret);
}
if(ret.next){
satr(ret.next);
}
var scrollTop = $("#info")[0].scrollHeight;
$("#info").scrollTop(scrollTop);
n++;
$("#num").html(n);
});
}
satr(<?php echo $this->_tpl_vars['uid']; ?>
);
</script>
</body>
</html>