49 lines
1.5 KiB
PHP
49 lines
1.5 KiB
PHP
<?php /* Smarty version 2.6.26, created on 2019-01-07 21:26:19
|
|
compiled from user/jc_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;">23213</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("jc_star.php",{uid:uid}, function(ret){
|
|
//alert(JSON.stringify(ret));
|
|
if(ret.ret == 'ok'){
|
|
$("#info").append("\nUserID:"+ret.UserID+" OK");
|
|
}else{
|
|
$("#error").append("\nUserID:"+ret.UserID+" "+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>
|