Files
wnmj-normal/GonghuiWeb/www/m_c/%%78^783^7834F65B%%count-chart.tpl.php

287 lines
15 KiB
PHP
Raw Permalink Normal View History

2026-03-03 13:56:44 +08:00
<?php /* Smarty version 2.6.26, created on 2018-06-26 14:24:37
compiled from user/count-chart.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'in_array', 'user/count-chart.tpl', 19, false),array('modifier', 'number_format', 'user/count-chart.tpl', 195, false),)), $this); ?>
<?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);
?>
<script src="/m/js/zingchart.min.js"></script>
<script src="/m/js/zingchart.jquery.js"></script>
<link rel="stylesheet" href="/m/js/layui/build/css/layui.css" media="all">
<table width="100%" align=center border="0" cellspacing="1" cellpadding="0" class=nr>
<tr class=gy>
<td height=25 class=nr_nr>
<a href="count.php">ȫ<EFBFBD><EFBFBD>ͳ<EFBFBD><EFBFBD></a>
&nbsp;|&nbsp;
<?php if ($this->_tpl_vars['GG']['type'] == 'fang'): ?><font color=red><?php else: ?><a href="count-chart.php?type=fang"><?php endif; ?> <20><><EFBFBD><EFBFBD></font></a> &nbsp;|&nbsp;
<?php if ($this->_tpl_vars['GG']['data'] == 'fk' || ( ! $this->_tpl_vars['GG']['type'] && ! $this->_tpl_vars['GG']['data'] )): ?><font color=red><?php else: ?><a href="count-chart.php?data=fk"><?php endif; ?> <20><><EFBFBD><EFBFBD><EFBFBD>ܼ<EFBFBD></font></a> &nbsp;|&nbsp;
<?php if ($this->_tpl_vars['GG']['data'] == 'fk-yh,fk-ybd,fk-hz'): ?><font color=red><?php else: ?><a href="count-chart.php?data=fk-yh,fk-ybd,fk-hz"><?php endif; ?> <20>齫</font></a> &nbsp;|&nbsp;
<?php if ($this->_tpl_vars['GG']['data'] == 'fk-pdk16,fk-pdk15'): ?><font color=red><?php else: ?><a href="count-chart.php?data=fk-pdk16,fk-pdk15"><?php endif; ?> <20>ܵÿ<DCB5></font></a> &nbsp;|&nbsp;
<?php if ($this->_tpl_vars['GG']['data'] == 'fk-ddz,fk-dz,fk-dzw,fk-zjh'): ?><font color=red><?php else: ?><a href="count-chart.php?data=fk-ddz,fk-dz,fk-dzw,fk-zjh"><?php endif; ?> <20><>ը<EFBFBD><D5A8></font></a> &nbsp;|&nbsp;
<?php if ($this->_tpl_vars['GG']['data'] == 'fk-bwz,fk-qz,fk-pcd'): ?><font color=red><?php else: ?><a href="count-chart.php?data=fk-bwz,fk-qz,fk-pcd"><?php endif; ?> ţţ</font></a> &nbsp;|&nbsp;
<?php if ($this->_tpl_vars['GG']['data'] == 'fk-ssqz,fk-sslz,fk-ssbw,fk-ssjd'): ?><font color=red><?php else: ?><a href="count-chart.php?data=fk-ssqz,fk-sslz,fk-ssbw,fk-ssjd"><?php endif; ?> ʮ<><CAAE><EFBFBD><EFBFBD></font></a> &nbsp;|&nbsp;
<?php if ($this->_tpl_vars['GG']['type'] == 'fkr'): ?><font color=red><?php else: ?><a href="count-chart.php?type=fkr"><?php endif; ?> <20><>Ϸ<EFBFBD>ձ<EFBFBD></font></a> &nbsp;|&nbsp;
<?php if ($this->_tpl_vars['GG']['type'] == 'fky'): ?><font color=red><?php else: ?><a href="count-chart.php?type=fky"><?php endif; ?> <20><>Ϸ<EFBFBD>±<EFBFBD></font></a> &nbsp;|&nbsp;
<?php if (((is_array($_tmp='dl')) ? $this->_run_mod_handler('in_array', true, $_tmp, $this->_tpl_vars['data']['url']) : in_array($_tmp, $this->_tpl_vars['data']['url']))): ?><font color=red><?php else: ?><a href="count-chart.php?type=user&data=dl"><?php endif; ?> <20><>Ա<EFBFBD><D4B1>¼</font></a> &nbsp;|&nbsp;
<?php if (((is_array($_tmp='hy')) ? $this->_run_mod_handler('in_array', true, $_tmp, $this->_tpl_vars['data']['url']) : in_array($_tmp, $this->_tpl_vars['data']['url']))): ?><font color=red><?php else: ?><a href="count-chart.php?type=user&data=hy"><?php endif; ?><3E><>Ա<EFBFBD><D4B1>Ծ</font></a> &nbsp;|&nbsp;
<?php if (((is_array($_tmp='zc')) ? $this->_run_mod_handler('in_array', true, $_tmp, $this->_tpl_vars['data']['url']) : in_array($_tmp, $this->_tpl_vars['data']['url']))): ?><font color=red><?php else: ?><a href="count-chart.php?type=user&data=zc"><?php endif; ?> <20><>Աע<D4B1><D7A2></font></a> &nbsp;|&nbsp;
<?php if ($this->_tpl_vars['GG']['type'] == 'on'): ?><font color=red><?php else: ?><a href="count-chart.php?type=on"><?php endif; ?> <20><>Ա<EFBFBD><D4B1><EFBFBD><EFBFBD></font></a> &nbsp;|&nbsp;
<?php if ($this->_tpl_vars['GG']['type'] == 'cw'): ?><font color=red><?php else: ?><a href="count-chart.php?type=cw"><?php endif; ?> <20><><EFBFBD><EFBFBD>ͳ<EFBFBD><CDB3></font></a> &nbsp;|&nbsp;
<?php if ($this->_tpl_vars['GG']['type'] == 'yb'): ?><font color=red><?php else: ?><a href="count-chart.php?type=yb"><?php endif; ?> Ԫ<><D4AA><EFBFBD>ձ<EFBFBD></font></a> &nbsp;|&nbsp;
<?php if ($this->_tpl_vars['GG']['type'] == 'yby'): ?><font color=red><?php else: ?><a href="count-chart.php?type=yby"><?php endif; ?> Ԫ<><D4AA><EFBFBD>±<EFBFBD></font></a> &nbsp;|&nbsp;
<?php if ($this->_tpl_vars['GG']['type'] == 'yuebao'): ?><font color=red><?php else: ?><a href="count-chart.php?type=yuebao"><?php endif; ?> <20>±<EFBFBD></font></a>
<br>
<div class="layui-inline" style="margin-top:5px;">
<div class="layui-input-inline" style="width:145px;">
<input class="layui-input" style="width:135px;" id="dday" value="<?php echo $this->_tpl_vars['GG']['date']; ?>
" placeholder="ѡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" onclick="layui.laydate({elem: this, istime: true, format: 'YYYY-MM-DD<?php if ($this->_tpl_vars['GG']['type'] == 'on'): ?> hh:mm:ss<?php endif; ?>'})">
</div>
<div class="layui-input-inline" style="width: 130px;">
<button class="layui-btn layui-btn-primary" onclick="tz();"><EFBFBD><EFBFBD>ѯ</button>
</div>
</div>
</td>
</tr>
</table>
<script src="/m/js/layui/build/layui.js" charset="utf-8"></script>
<script>
function tz(){
var dday = $("#dday").val();
if(dday){
location.href="count-chart.php?type=<?php echo $this->_tpl_vars['GG']['type']; ?>
&data=<?php echo $this->_tpl_vars['GG']['data']; ?>
&date="+dday;
}
}
layui.use('laydate', function(){
var laydate = layui.laydate;
});
$(document).ready( function() {
var ex1 = {
"type": "line",
"plot":{
valueBox : {type:"all", placement:"top" },//<2F><>ǩ
"aspect":"spline" ,
},
"background-color":"#C3DAF9",
"legend":{},
"title":{
"margin-top":"7px",
"margin-left":"12px",
"text":"<?php echo $this->_tpl_vars['data']['title']; ?>
",
"background-color":"none",
"shadow":0,
"text-align":"left",
"font-family":"Arial",
"font-size":"14px",
"font-color":"#707d94"
},
"plotarea":{
"margin":"50px 25px 100px 46px"
},
"scale-y":{
//"values":"0:100:25",
"line-color":"#999",
"line-width":"1px",
"guide":{
"line-style":"solid",
"line-color":"#d2dae2",
"line-width":"1px",
"alpha":0.5
},
"tick":{
"visible":false
},
"item":{
"font-color":"#8391a5",
"font-family":"Arial",
"font-size":"10px",
"padding-right":"5px"
}
},
"scale-x":{
"line-color":"#999",
"line-width":"1px",
"values":<?php echo $this->_tpl_vars['data']['date']; ?>
,
"tick":{
"line-color":"#999",
"line-width":"1px"
},
"guide":{
"visible":false
},
"item":{
"font-color":"#333",
"font-family":"Arial",
"font-size":"12px",
"padding-top":"5px"
}
},
"legend":{
"layout":"x6",
"background-color":"none",
"shadow":0,
"margin":"auto auto 15 auto",
"border-width":0,
"item":{
"font-color":"#707d94",
"font-family":"Arial",
"padding":"0px",
"margin":"0px",
"font-size":"14px"
},
"marker":{
"show-line":"true",
"type":"match",
"font-family":"Arial",
"font-size":"14px",
"size":4,
"line-width":4,
"padding":"6px"
}
},
"crosshair-x":{
"lineWidth":1,
"line-color":"#707d94",
"plotLabel":{
"shadow":false,
"font-color":"#000",
"font-family":"Arial",
"font-size":"12px",
"padding":"5px 10px",
"border-radius":"5px",
"alpha":1
},
"scale-label":{
"font-color":"#ffffff",
"background-color":"#707d94",
"font-family":"Arial",
"font-size":"14px",
"padding":"5px 10px",
"border-radius":"5px"
}
},
"tooltip":{
"visible":false
},
"series":[
<?php $this->assign('da', $this->_tpl_vars['data']['data']); ?>
<?php unset($this->_sections['loop']);
$this->_sections['loop']['name'] = 'loop';
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['da']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['loop']['show'] = true;
$this->_sections['loop']['max'] = $this->_sections['loop']['loop'];
$this->_sections['loop']['step'] = 1;
$this->_sections['loop']['start'] = $this->_sections['loop']['step'] > 0 ? 0 : $this->_sections['loop']['loop']-1;
if ($this->_sections['loop']['show']) {
$this->_sections['loop']['total'] = $this->_sections['loop']['loop'];
if ($this->_sections['loop']['total'] == 0)
$this->_sections['loop']['show'] = false;
} else
$this->_sections['loop']['total'] = 0;
if ($this->_sections['loop']['show']):
for ($this->_sections['loop']['index'] = $this->_sections['loop']['start'], $this->_sections['loop']['iteration'] = 1;
$this->_sections['loop']['iteration'] <= $this->_sections['loop']['total'];
$this->_sections['loop']['index'] += $this->_sections['loop']['step'], $this->_sections['loop']['iteration']++):
$this->_sections['loop']['rownum'] = $this->_sections['loop']['iteration'];
$this->_sections['loop']['index_prev'] = $this->_sections['loop']['index'] - $this->_sections['loop']['step'];
$this->_sections['loop']['index_next'] = $this->_sections['loop']['index'] + $this->_sections['loop']['step'];
$this->_sections['loop']['first'] = ($this->_sections['loop']['iteration'] == 1);
$this->_sections['loop']['last'] = ($this->_sections['loop']['iteration'] == $this->_sections['loop']['total']);
?>
<?php $this->assign('txt', $this->_tpl_vars['data']['txt']); ?>
{
"values":<?php if (is_array ( $this->_tpl_vars['da'][$this->_sections['loop']['index']] )): ?><?php echo $this->_tpl_vars['da'][$this->_sections['loop']['index']][0]; ?>
<?php else: ?><?php echo $this->_tpl_vars['da'][$this->_sections['loop']['index']]; ?>
<?php endif; ?>,
"text":"<?php echo $this->_tpl_vars['txt'][$this->_sections['loop']['index']]; ?>
",
"line-color":"<?php echo $this->_tpl_vars['color'][$this->_sections['loop']['index']]; ?>
",
"line-width":"2px",
"shadow":0,
"marker":{
"background-color":"#fff",
"size":2,
"border-width":2,
"border-color":"<?php echo $this->_tpl_vars['color'][$this->_sections['loop']['index']]; ?>
",
"shadow":0
},
"palette":<?php echo $this->_sections['loop']['index']; ?>
},
<?php endfor; endif; ?>
]
};
// render example one
$('#ex_1').zingchart({
height : 450,
width : $(window).width(),
data:ex1,
hideprogresslogo:true
});
});
</script>
<div id="ex_1" class="zingchart"></div>
<?php if ($this->_tpl_vars['qb_data']): ?>
<div style="text-align:center;line-height:25px;">
<font color=#999>0.65Ԫ/<2F><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ѷ<EFBFBD><D1B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></font> &nbsp;&nbsp;
<EFBFBD><EFBFBD><EFBFBD>£<EFBFBD><?php echo ((is_array($_tmp=$this->_tpl_vars['qb_data']['day'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
Ԫ<EFBFBD><EFBFBD><?php echo ((is_array($_tmp=$this->_tpl_vars['qb_data']['day']/$this->_tpl_vars['d_day'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
Ԫ/<EFBFBD> &nbsp;&nbsp;
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ԥ<EFBFBD>ƣ<EFBFBD><?php echo ((is_array($_tmp=$this->_tpl_vars['qb_data']['day']/$this->_tpl_vars['d_day']*$this->_tpl_vars['b_day'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
Ԫ &nbsp;&nbsp;
<EFBFBD><EFBFBD><EFBFBD>£<EFBFBD><?php echo ((is_array($_tmp=$this->_tpl_vars['qb_data']['days'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
Ԫ<EFBFBD><EFBFBD><?php echo ((is_array($_tmp=$this->_tpl_vars['qb_data']['days']/$this->_tpl_vars['s_day'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
Ԫ/<EFBFBD>
<br>
<EFBFBD><EFBFBD><EFBFBD><?php echo ((is_array($_tmp=$this->_tpl_vars['qb_data']['mj'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
Ԫ &nbsp;&nbsp;
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><?php echo ((is_array($_tmp=$this->_tpl_vars['qb_data']['ddz'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
Ԫ &nbsp;&nbsp;
ţţ<EFBFBD><EFBFBD><?php echo ((is_array($_tmp=$this->_tpl_vars['qb_data']['nn'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
Ԫ &nbsp;&nbsp;
<EFBFBD><EFBFBD>ը<EFBFBD><EFBFBD><?php echo ((is_array($_tmp=$this->_tpl_vars['qb_data']['dz'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
Ԫ &nbsp;&nbsp;
ʮ<EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD><?php echo ((is_array($_tmp=$this->_tpl_vars['qb_data']['ss'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
Ԫ &nbsp;&nbsp;
ը<EFBFBD>𻨣<EFBFBD><?php echo ((is_array($_tmp=$this->_tpl_vars['qb_data']['zjh'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
Ԫ &nbsp;&nbsp;
<EFBFBD>ܵÿ죺<?php echo ((is_array($_tmp=$this->_tpl_vars['qb_data']['pdk'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
Ԫ </div>
<?php endif; ?>
<?php if ($this->_tpl_vars['GG']['type'] == 'fkr'): ?>
<div style="text-align:center;line-height:25px;">
<?php echo ((is_array($_tmp=$this->_tpl_vars['qbr_data']['zh'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
Ԫ/ÿ<EFBFBD><EFBFBD> &nbsp;&nbsp;
<EFBFBD><EFBFBD><EFBFBD><?php echo ((is_array($_tmp=$this->_tpl_vars['qbr_data']['mj'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
Ԫ &nbsp;&nbsp;
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><?php echo ((is_array($_tmp=$this->_tpl_vars['qbr_data']['ddz'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
Ԫ &nbsp;&nbsp;
ţţ<EFBFBD><EFBFBD><?php echo ((is_array($_tmp=$this->_tpl_vars['qbr_data']['nn'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
Ԫ &nbsp;&nbsp;
<EFBFBD><EFBFBD>ը<EFBFBD><EFBFBD><?php echo ((is_array($_tmp=$this->_tpl_vars['qbr_data']['dz'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
Ԫ &nbsp;&nbsp;
ʮ<EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD><?php echo ((is_array($_tmp=$this->_tpl_vars['qbr_data']['ss'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
Ԫ &nbsp;&nbsp;
ը<EFBFBD>𻨣<EFBFBD><?php echo ((is_array($_tmp=$this->_tpl_vars['qbr_data']['zjh'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
Ԫ &nbsp;&nbsp;
<EFBFBD>ܵÿ죺<?php echo ((is_array($_tmp=$this->_tpl_vars['qbr_data']['pdk'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
Ԫ &nbsp;&nbsp;
</div>
<?php endif; ?>
<?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>