146 lines
9.3 KiB
PHP
146 lines
9.3 KiB
PHP
<?php /* Smarty version 2.6.26, created on 2018-01-12 22:59:02
|
|
compiled from dh/sj.tpl */ ?>
|
|
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
|
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'dh/sj.tpl', 15, false),array('function', 'gradetit', 'dh/sj.tpl', 32, false),)), $this); ?>
|
|
<?php if ($this->_tpl_vars['userinfo']['Grade'] >= 500): ?>
|
|
<div class="dh_left">
|
|
<div class="pf-left">
|
|
<div class="dh_left_nr xc-ah">
|
|
<dl style="color:#999;"><dt>等级</dt><dd>经验值</dd></dl>
|
|
<?php unset($this->_sections['loop']);
|
|
$this->_sections['loop']['name'] = 'loop';
|
|
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['GradeArr']) ? 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']);
|
|
?>
|
|
<dl <?php if ($this->_tpl_vars['userinfo']['Grade'] >= $this->_tpl_vars['GradeArr'][$this->_sections['loop']['index']]['min'] && $this->_tpl_vars['userinfo']['Grade'] <= $this->_tpl_vars['GradeArr'][$this->_sections['loop']['index']]['max']): ?>style="color:red;"<?php endif; ?>><dt><?php echo $this->_tpl_vars['GradeArr'][$this->_sections['loop']['index']]['title']; ?>
|
|
</dt><dd><?php echo $this->_tpl_vars['GradeArr'][$this->_sections['loop']['index']]['min']; ?>
|
|
~<?php echo $this->_tpl_vars['GradeArr'][$this->_sections['loop']['index']]['max']; ?>
|
|
</dd></dl>
|
|
<?php endfor; endif; ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="dh_right">
|
|
<div class="gdinfo">
|
|
<div class="hy_gg" style="padding-top:5px;">
|
|
<dl><dt>消费房卡:</dt><dd><?php echo ((is_array($_tmp=@$this->_tpl_vars['userinfo']['ConsumeScore'])) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0)); ?>
|
|
张</dd></dl>
|
|
<dl><dt>游戏次数:</dt><dd><?php echo ((is_array($_tmp=@$this->_tpl_vars['userinfo']['PlayCount'])) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0)); ?>
|
|
局</dd></dl>
|
|
<div class="clear"></div>
|
|
<?php if (! $this->_tpl_vars['pm']): ?><div style="line-height:22px;font-size:14px;color:#999;">您暂无万年排名,您要继续加油哦!
|
|
<?php else: ?><div style="line-height:22px;font-size:14px;">您的万年排名为第<font color=red><?php echo $this->_tpl_vars['pm']; ?>
|
|
</font>名<?php if ($this->_tpl_vars['pm'] > 10): ?>,您要继续加油哦!<?php endif; ?>
|
|
<?php endif; ?></div>
|
|
</div>
|
|
</div>
|
|
<div class="hy_info" style="margin-top:50px;">
|
|
<?php unset($this->_sections['loop']);
|
|
$this->_sections['loop']['name'] = 'loop';
|
|
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['uses']) ? 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']);
|
|
?>
|
|
<div class="hy_nr <?php if ($this->_tpl_vars['uses'][$this->_sections['loop']['index']]['GameID'] == $this->_tpl_vars['userinfo']['GameID'] && $this->_tpl_vars['userinfo']['GameID']): ?>hy_bj<?php endif; ?>">
|
|
<div class="xfl hy_pm"
|
|
<?php if ($this->_sections['loop']['rownum'] == 1): ?> style="color:red;font-weight:bolder;"
|
|
<?php elseif ($this->_sections['loop']['rownum'] < 4): ?> style="color:#ff9900;font-weight:bolder;"
|
|
<?php endif; ?>><?php echo $this->_sections['loop']['rownum']; ?>
|
|
</div>
|
|
<div class="xfl hy_img"><img src="<?php echo ((is_array($_tmp=@$this->_tpl_vars['uses'][$this->_sections['loop']['index']]['HeadHttp'])) ? $this->_run_mod_handler('default', true, $_tmp, "/m/img/toux.jpg") : smarty_modifier_default($_tmp, "/m/img/toux.jpg")); ?>
|
|
"></div>
|
|
<div class="xfl hy_name"><?php echo $this->_tpl_vars['uses'][$this->_sections['loop']['index']]['NickName']; ?>
|
|
</div>
|
|
<div class="xfr hy_grade"><font color=#ccc><?php echo $this->_tpl_vars['uses'][$this->_sections['loop']['index']]['Grade']; ?>
|
|
</font> <?php echo gradetit(array('GradeArr' => $this->_tpl_vars['GradeArr'],'gjf' => $this->_tpl_vars['uses'][$this->_sections['loop']['index']]['Grade']), $this);?>
|
|
</div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
<?php endfor; endif; ?>
|
|
</div>
|
|
</div>
|
|
<?php else: ?>
|
|
<div class="dh_left">
|
|
<div class="pf-left">
|
|
<div class="dh_left_nr xc-ah">
|
|
<dl style="color:#999;"><dt>等级</dt><dd>经验值</dd></dl>
|
|
<?php unset($this->_sections['loop']);
|
|
$this->_sections['loop']['name'] = 'loop';
|
|
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['GradeArr']) ? 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']);
|
|
?>
|
|
<dl <?php if ($this->_tpl_vars['userinfo']['Grade'] >= $this->_tpl_vars['GradeArr'][$this->_sections['loop']['index']]['min'] && $this->_tpl_vars['userinfo']['Grade'] <= $this->_tpl_vars['GradeArr'][$this->_sections['loop']['index']]['max']): ?>style="color:red;"<?php endif; ?>><dt><?php echo $this->_tpl_vars['GradeArr'][$this->_sections['loop']['index']]['title']; ?>
|
|
</dt><dd><?php echo $this->_tpl_vars['GradeArr'][$this->_sections['loop']['index']]['min']; ?>
|
|
~<?php echo $this->_tpl_vars['GradeArr'][$this->_sections['loop']['index']]['max']; ?>
|
|
</dd></dl>
|
|
<?php endfor; endif; ?>
|
|
</div>
|
|
<div class="clear"></div>
|
|
<div class="xlh-25 xc-ah"><br></div>
|
|
</div>
|
|
</div>
|
|
<div class="dh_right">
|
|
<div style="margin-top:30px;text-align:center;font-size:20px;color:#999;line-height:40px;">查看大万年排名?<br>您的经验值不够!<?php echo $this->_tpl_vars['userinfo']['Grade']; ?>
|
|
/500 <br>请先玩游戏升级吧!</div>
|
|
</div>
|
|
<?php endif; ?>
|
|
<div class="clear"></div>
|
|
<script>
|
|
layer.closeAll();
|
|
</script>
|