Files
wnmj-normal/GonghuiWeb/www/m_c/%%03^030^030A7421%%main.tpl.php

155 lines
8.7 KiB
PHP
Raw Normal View History

2026-03-03 13:56:44 +08:00
<?php /* Smarty version 2.6.26, created on 2019-01-02 15:52:06
compiled from dh/main.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'dh/main.tpl', 15, false),)), $this); ?>
<?php if ($this->_tpl_vars['userinfo']['Grade'] >= 300): ?>
<!----div class="dh_left">
<div class="elog pf-left">
<ul id="shop_log">
<?php unset($this->_sections['loop']);
$this->_sections['loop']['name'] = 'loop';
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['log']) ? 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']);
?>
<li><?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['NickName']; ?>
<br><font color=#ccc><3E>һ<EFBFBD></font> <font color=red><?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['ShopTitle']; ?>
</font></li>
<?php endfor; endif; ?>
</ul>
<div class="clear"></div>
</div>
</div ---->
<div style="margin:0 auto;width:70%;">
<div class="dh_jp">
<?php unset($this->_sections['loop']);
$this->_sections['loop']['name'] = 'loop';
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['info']) ? 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><dt onclick="duihuan(<?php echo $this->_tpl_vars['info'][$this->_sections['loop']['index']]['ShopID']; ?>
,<?php echo ((is_array($_tmp=@$this->_tpl_vars['userinfo']['YuanBao'])) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0)); ?>
,<?php echo $this->_tpl_vars['info'][$this->_sections['loop']['index']]['YuanBao']; ?>
,'<?php echo $this->_tpl_vars['info'][$this->_sections['loop']['index']]['ShopTitle']; ?>
')"><img src="/m/img/jp-<?php echo $this->_tpl_vars['info'][$this->_sections['loop']['index']]['ShopType']; ?>
.jpg"></dt><dd><?php echo $this->_tpl_vars['info'][$this->_sections['loop']['index']]['ShopTitle']; ?>
</dd></dl>
<?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><EFBFBD>ȼ<EFBFBD></dt><dd><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ</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;">Ԫ<EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD>Ʒ?<br><EFBFBD><EFBFBD><EFBFBD>ľ<EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><?php echo $this->_tpl_vars['userinfo']['Grade']; ?>
/300 <br><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϸ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɣ<EFBFBD></div>
</div>
<?php endif; ?>
<div class="clear"></div>
<script>
function duihuan(sid,yuanbao,dyuanbao,stitle){
if(dyuanbao > yuanbao){
var cyuanbao = dyuanbao-yuanbao;
layer.open({content: '<27><><EFBFBD><EFBFBD>Ԫ<EFBFBD><D4AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><br><3E><><EFBFBD><EFBFBD>'+cyuanbao+'<27><>Ԫ<EFBFBD><D4AA><br><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϸ׬Ԫ<D7AC><D4AA><EFBFBD>ɣ<EFBFBD>',style: 'width:180px;',btn: '<27><>֪<EFBFBD><D6AA><EFBFBD><EFBFBD>'});
}else{
if(sid == 5 || sid == 6){
layer.open({content: '<27><EFBFBD><EBB5BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E9BFB4>',style: 'width:180px;',btn: '<27><>֪<EFBFBD><D6AA><EFBFBD><EFBFBD>'});
return "";
}else if(sid > 6){
var contt = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>۳<EFBFBD>"+dyuanbao+"<EFBFBD><EFBFBD>Ԫ<EFBFBD><EFBFBD><br><3E><><EFBFBD><EFBFBD>ϵ΢<CFB5>ſͷ<C5BF><CDB7><EFBFBD>ȡ<EFBFBD><C8A1>wnmj68";
}else{
var contt = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>۳<EFBFBD>"+dyuanbao+"<EFBFBD><EFBFBD>Ԫ<EFBFBD><EFBFBD>";
}
layer.open({content: contt,style: 'width:200px;',btn: [<><C8B7><EFBFBD><EFBFBD>ȡ', <><C8A1>'],yes: function(index){
$.get('/dh/dh.php', {
sid : sid,
gameid : gid
}, function(dat, status) {
layer.open({content: dat,style: 'width:180px;',btn: '<27><>֪<EFBFBD><D6AA><EFBFBD><EFBFBD>',yes: function(index){
var d = new Date(),str = '';
str = d.getMonth() + 1+'-'+d.getDate()+' '+d.getHours()+':'+d.getMinutes()+':'+d.getSeconds();
$("#shop_log").prepend("<li>"+nickname+"<br><3E>һ<EFBFBD> "+stitle+"<br><font color='red'><3E><><EFBFBD><EFBFBD></font> "+str+"</li>");
var ybs = $("#yuanbao").text();
$("#yuanbao").text(parseInt(ybs)-parseInt(dyuanbao));
//window.location.reload();
layer.closeAll();
}});
});
}});
}
}
layer.closeAll();
</script>