Files
wnmj/GonghuiWeb/www/m_c/%%72^72E^72E8CF85%%virtual.tpl.php
2026-02-24 09:25:17 +08:00

260 lines
13 KiB
PHP

<?php /* Smarty version 2.6.26, created on 2018-06-26 16:06:53
compiled from user/virtual.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'string_format', 'user/virtual.tpl', 42, 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);
?>
<style>
.nr_nr span {display:inline-block;width:30px;}
</style>
<div id=in>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<?php if ($this->_tpl_vars['Edit_Ok']): ?><tr><td colspan=20 align=center class=editok><?php echo $this->_tpl_vars['Edit_Ok']; ?>
</td></tr><?php endif; ?>
<?php if ($this->_tpl_vars['Edit_Error']): ?><tr><td colspan=20 align=center class=editerror><?php echo $this->_tpl_vars['Edit_Error']; ?>
</td></tr><?php endif; ?>
<tr><td colspan=20 class=bt height=30><b>虚拟人物配置</b>
<?php $_from = $this->_tpl_vars['vdata']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['kd'] => $this->_tpl_vars['vd']):
?>
<a href="?id=<?php echo $this->_tpl_vars['kd']+1; ?>
"><?php if ($this->_tpl_vars['id'] == $this->_tpl_vars['kd']): ?><font color=red><?php endif; ?><?php echo $this->_tpl_vars['vd']['name']; ?>
</font></a>
<?php endforeach; endif; unset($_from); ?>
</td></tr>
<form action="" method="post" name="frmedit">
<tr class=gy>
<td class=nr_bt>姓名</td>
<td class=nr_nr><input type="text" name="name" value="<?php echo $this->_tpl_vars['v']['name']; ?>
" style="width:100px;" maxLength="200">
<input type="radio" name="sex" value="1" <?php if ($this->_tpl_vars['v']['sex'] == 1): ?>checked<?php endif; ?>>男 <input type="radio" name="sex" value="2" <?php if ($this->_tpl_vars['v']['sex'] == 2): ?>checked<?php endif; ?>>女</td>
<td class=nr_bt>头像</td>
<td class=nr_nr><input type="text" name="tx" value="<?php echo $this->_tpl_vars['v']['tx']; ?>
" style="width:200px;" maxLength="200"></td>
<td class=nr_bt>注册时间</td>
<td class=nr_nr><input type="text" name="star" value="<?php echo $this->_tpl_vars['v']['star']; ?>
" style="width:100px;" maxLength="200"></td>
<td class=nr_bt>经验值</td>
<td class=nr_nr><?php echo $this->_tpl_vars['jyz']; ?>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<tr>
<td class="nr_nr" align="center"></td>
<td class="nr_nr" align="center">麻将</td>
<td class="nr_nr" align="center">斗地主</td>
<td class="nr_nr" align="center">牛牛</td>
<td class="nr_nr" align="center">打炸</td>
<td class="nr_nr" align="center">排十三</td>
<td class="nr_nr" align="center">炸金花</td>
<td class="nr_nr" align="center">跑得快</td>
</tr>
<?php $this->assign('i', 0); ?>
<?php unset($this->_sections['total']);
$this->_sections['total']['name'] = 'total';
$this->_sections['total']['loop'] = is_array($_loop=366) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['total']['show'] = true;
$this->_sections['total']['max'] = $this->_sections['total']['loop'];
$this->_sections['total']['step'] = 1;
$this->_sections['total']['start'] = $this->_sections['total']['step'] > 0 ? 0 : $this->_sections['total']['loop']-1;
if ($this->_sections['total']['show']) {
$this->_sections['total']['total'] = $this->_sections['total']['loop'];
if ($this->_sections['total']['total'] == 0)
$this->_sections['total']['show'] = false;
} else
$this->_sections['total']['total'] = 0;
if ($this->_sections['total']['show']):
for ($this->_sections['total']['index'] = $this->_sections['total']['start'], $this->_sections['total']['iteration'] = 1;
$this->_sections['total']['iteration'] <= $this->_sections['total']['total'];
$this->_sections['total']['index'] += $this->_sections['total']['step'], $this->_sections['total']['iteration']++):
$this->_sections['total']['rownum'] = $this->_sections['total']['iteration'];
$this->_sections['total']['index_prev'] = $this->_sections['total']['index'] - $this->_sections['total']['step'];
$this->_sections['total']['index_next'] = $this->_sections['total']['index'] + $this->_sections['total']['step'];
$this->_sections['total']['first'] = ($this->_sections['total']['iteration'] == 1);
$this->_sections['total']['last'] = ($this->_sections['total']['iteration'] == $this->_sections['total']['total']);
?>
<?php $this->assign('i', $this->_tpl_vars['i']+1); ?>
<tr>
<td class="nr_nr" align="right"><?php if ($this->_tpl_vars['i'] == $this->_tpl_vars['dqt']): ?><font color=red>当前 <b><?php elseif ($this->_tpl_vars['i'] == $this->_tpl_vars['zct']): ?><font color=green>注册 <b><?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['i'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%03d") : smarty_modifier_string_format($_tmp, "%03d")); ?>
</td>
<td class="nr_nr"><input type="text" name="xmj[]" value="<?php echo $this->_tpl_vars['v']['xmj'][$this->_tpl_vars['i']]; ?>
" style="width:35px;"></td>
<td class="nr_nr"><input type="text" name="xddz[]" value="<?php echo $this->_tpl_vars['v']['xddz'][$this->_tpl_vars['i']]; ?>
" style="width:35px;"></td>
<td class="nr_nr"><input type="text" name="xnn[]" value="<?php echo $this->_tpl_vars['v']['xnn'][$this->_tpl_vars['i']]; ?>
" style="width:35px;"></td>
<td class="nr_nr"><input type="text" name="xdz[]" value="<?php echo $this->_tpl_vars['v']['xdz'][$this->_tpl_vars['i']]; ?>
" style="width:35px;"></td>
<td class="nr_nr"><input type="text" name="xss[]" value="<?php echo $this->_tpl_vars['v']['xss'][$this->_tpl_vars['i']]; ?>
" style="width:35px;"></td>
<td class="nr_nr"><input type="text" name="xzjh[]" value="<?php echo $this->_tpl_vars['v']['xzjh'][$this->_tpl_vars['i']]; ?>
" style="width:35px;"></td>
<td class="nr_nr"><input type="text" name="xpdk[]" value="<?php echo $this->_tpl_vars['v']['xpdk'][$this->_tpl_vars['i']]; ?>
" style="width:35px;"></td>
</tr>
<?php endfor; endif; ?>
<input type="text" name="pas" value="888" style="width:100px;" maxLength="200">
<tr>
<td class="nr_nr" align="right">算法</td>
<td class="nr_nr"><textarea rows="24" style="padding:10px;" name="day">
<?php $_from = $this->_tpl_vars['v']['day']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['ka'] => $this->_tpl_vars['va']):
?>
<?php echo $this->_tpl_vars['ka']; ?>
=<?php echo $this->_tpl_vars['va']; ?>
<?php endforeach; endif; unset($_from); ?>
</textarea></td>
<td class="nr_nr"><textarea rows="24" style="padding:10px;;" name="dayd">
<?php $_from = $this->_tpl_vars['v']['dayd']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['ka'] => $this->_tpl_vars['va']):
?>
<?php echo $this->_tpl_vars['ka']; ?>
=<?php echo $this->_tpl_vars['va']; ?>
<?php endforeach; endif; unset($_from); ?>
</textarea></td>
<td class="nr_nr"><textarea rows="24" style="padding:10px;" name="dayn">
<?php $_from = $this->_tpl_vars['v']['dayn']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['ka'] => $this->_tpl_vars['va']):
?>
<?php echo $this->_tpl_vars['ka']; ?>
=<?php echo $this->_tpl_vars['va']; ?>
<?php endforeach; endif; unset($_from); ?>
</textarea></td>
<td class="nr_nr"><textarea rows="24" style="padding:10px;" name="dayz">
<?php $_from = $this->_tpl_vars['v']['dayz']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['ka'] => $this->_tpl_vars['va']):
?>
<?php echo $this->_tpl_vars['ka']; ?>
=<?php echo $this->_tpl_vars['va']; ?>
<?php endforeach; endif; unset($_from); ?>
</textarea></td>
<td class="nr_nr"><textarea rows="24" style="padding:10px;" name="days">
<?php $_from = $this->_tpl_vars['v']['days']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['ka'] => $this->_tpl_vars['va']):
?>
<?php echo $this->_tpl_vars['ka']; ?>
=<?php echo $this->_tpl_vars['va']; ?>
<?php endforeach; endif; unset($_from); ?>
</textarea></td>
<td class="nr_nr"><textarea rows="24" style="padding:10px;" name="dayj">
<?php $_from = $this->_tpl_vars['v']['dayj']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['ka'] => $this->_tpl_vars['va']):
?>
<?php echo $this->_tpl_vars['ka']; ?>
=<?php echo $this->_tpl_vars['va']; ?>
<?php endforeach; endif; unset($_from); ?>
</textarea></td>
<td class="nr_nr"><textarea rows="24" style="padding:10px;" name="dayp">
<?php $_from = $this->_tpl_vars['v']['dayp']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['ka'] => $this->_tpl_vars['va']):
?>
<?php echo $this->_tpl_vars['ka']; ?>
=<?php echo $this->_tpl_vars['va']; ?>
<?php endforeach; endif; unset($_from); ?>
</textarea></td>
</tr>
<input name="id" id=id type="hidden" value="<?php echo $this->_tpl_vars['id']; ?>
">
<tr><td colspan=10 class=tj id=remind_info><input type="submit" name=submit value="提 交">
<input name="pass" id=pass type="password" value="" maxLength="50" style="width:70px;" fs="pass">
<input type="reset" value="重 置"></td></tr>
</form>
</table>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<tr class=gy>
<td class=nr_bt>日期</td>
<td class=nr_nr>位置</td>
<td class=nr_nr>麻将</td>
<td class=nr_nr>斗地主</td>
<td class=nr_nr>牛牛</td>
<td class=nr_nr>打炸</td>
<td class=nr_nr>十三张</td>
<td class=nr_nr>炸金花</td>
<td class=nr_nr>跑得快</td>
</tr>
<?php $_from = $this->_tpl_vars['date']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['kb'] => $this->_tpl_vars['vb']):
?>
<tr class=gy>
<td class=nr_bt><?php echo $this->_tpl_vars['kb']; ?>
</td>
<td class=nr_nr><?php echo $this->_tpl_vars['vb']['wz']; ?>
</td>
<td class=nr_nr><?php echo $this->_tpl_vars['vb']['data']['Mj']; ?>
</td>
<td class=nr_nr><?php echo $this->_tpl_vars['vb']['data']['Ddz']; ?>
</td>
<td class=nr_nr><?php echo $this->_tpl_vars['vb']['data']['Niu']; ?>
</td>
<td class=nr_nr><?php echo $this->_tpl_vars['vb']['data']['Dz']; ?>
</td>
<td class=nr_nr><?php echo $this->_tpl_vars['vb']['data']['Ss']; ?>
</td>
<td class=nr_nr><?php echo $this->_tpl_vars['vb']['data']['Zjh']; ?>
</td>
<td class=nr_nr><?php echo $this->_tpl_vars['vb']['data']['Pdk']; ?>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<tr><td colspan=20 class=bt height=30><b>预计十五天</b></td></tr>
<tr class=gy>
<td class=nr_bt>日期</td>
<td class=nr_nr>位置</td>
<td class=nr_nr>麻将</td>
<td class=nr_nr>斗地主</td>
<td class=nr_nr>牛牛</td>
<td class=nr_nr>打炸</td>
<td class=nr_nr>十三张</td>
<td class=nr_nr>炸金花</td>
<td class=nr_nr>跑得快</td>
</tr>
<?php $_from = $this->_tpl_vars['yu']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['kb'] => $this->_tpl_vars['vb']):
?>
<tr class=gy>
<td class=nr_bt><?php echo $this->_tpl_vars['kb']; ?>
</td>
<td class=nr_nr><?php echo $this->_tpl_vars['vb']; ?>
</td>
<td class=nr_nr><?php echo $this->_tpl_vars['v']['xmj'][$this->_tpl_vars['vb']]; ?>
</td>
<td class=nr_nr><?php echo $this->_tpl_vars['v']['xddz'][$this->_tpl_vars['vb']]; ?>
</td>
<td class=nr_nr><?php echo $this->_tpl_vars['v']['xnn'][$this->_tpl_vars['vb']]; ?>
</td>
<td class=nr_nr><?php echo $this->_tpl_vars['v']['xdz'][$this->_tpl_vars['vb']]; ?>
</td>
<td class=nr_nr><?php echo $this->_tpl_vars['v']['xss'][$this->_tpl_vars['vb']]; ?>
</td>
<td class=nr_nr><?php echo $this->_tpl_vars['v']['xzjh'][$this->_tpl_vars['vb']]; ?>
</td>
<td class=nr_nr><?php echo $this->_tpl_vars['v']['xpdk'][$this->_tpl_vars['vb']]; ?>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
</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);
?>
</body>
</html>