259 lines
17 KiB
PHP
259 lines
17 KiB
PHP
|
|
<?php /* Smarty version 2.6.26, created on 2018-04-22 19:04:38
|
|||
|
|
compiled from user/gh-add.tpl */ ?>
|
|||
|
|
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
|||
|
|
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'number_format', 'user/gh-add.tpl', 41, false),array('modifier', 'default', 'user/gh-add.tpl', 66, false),array('modifier', 'replace', 'user/gh-add.tpl', 67, false),array('function', 'timename', 'user/gh-add.tpl', 92, false),array('function', 'convertip', 'user/gh-add.tpl', 92, 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);
|
|||
|
|
?>
|
|||
|
|
<?php $this->assign('key', $this->_tpl_vars['GG']['username']); ?>
|
|||
|
|
<style>
|
|||
|
|
.nr_nr {line-height:18px;}
|
|||
|
|
</style>
|
|||
|
|
<div id=in>
|
|||
|
|
<table width="100%" align=center border="0" cellspacing="1" cellpadding="0" class=nr>
|
|||
|
|
<form name="for" method="get" action="gh-add.php">
|
|||
|
|
<tr class=gy>
|
|||
|
|
<td height=25 class=nr_nr>
|
|||
|
|
<div style='float:right;padding-right:10px;'><a href="?id=<?php echo $this->_tpl_vars['ghinfo']['UnionID']; ?>
|
|||
|
|
&outid=<?php echo $this->_tpl_vars['ghinfo']['UserID']; ?>
|
|||
|
|
"><3E><><EFBFBD><EFBFBD><EFBFBD>˳<EFBFBD><CBB3><EFBFBD><EFBFBD><EFBFBD></a></div>
|
|||
|
|
<input type="text" name='addgid' maxLength="250" size=15 value="" fs="GameID">
|
|||
|
|
<input type="hidden" name='id' maxLength="250" size=15 value="<?php echo $this->_tpl_vars['ghinfo']['UnionID']; ?>
|
|||
|
|
">
|
|||
|
|
<input type="submit" value="<EFBFBD><EFBFBD><EFBFBD>ӳ<EFBFBD>Ա"></a>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
</form>
|
|||
|
|
<?php if ($this->_tpl_vars['ghinfo']['UnionGoldOpen']): ?>
|
|||
|
|
<form name="for" method="get" action="gh-add.php">
|
|||
|
|
<tr class=gy>
|
|||
|
|
<td height=25 class=nr_nr>
|
|||
|
|
<input type="text" name='gameid' maxLength="250" size=15 value="<?php echo $this->_tpl_vars['GG']['gameid']; ?>
|
|||
|
|
" fs="GameID">
|
|||
|
|
<input type="text" name='editgold' maxLength="250" size=15 value="" fs="<EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD>">
|
|||
|
|
<input type="hidden" name='id' maxLength="250" size=15 value="<?php echo $this->_tpl_vars['ghinfo']['UnionID']; ?>
|
|||
|
|
">
|
|||
|
|
<input type="submit" value="<EFBFBD>Ļ<EFBFBD><EFBFBD>ַ<EFBFBD>"></a>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
</form>
|
|||
|
|
<?php endif; ?>
|
|||
|
|
</table>
|
|||
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
|
|||
|
|
<tr><td colspan=14 class=bt height=30>
|
|||
|
|
<div style='float:right;padding-right:10px;'><a href="javascript:;" onclick="openright('ghdata<?php echo $this->_tpl_vars['ghinfo']['UnionID']; ?>
|
|||
|
|
','<?php echo $this->_tpl_vars['ghinfo']['UnionName']; ?>
|
|||
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>','user/gh-data.php?id=<?php echo $this->_tpl_vars['ghinfo']['UnionID']; ?>
|
|||
|
|
')"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a></div>
|
|||
|
|
<b><?php echo $this->_tpl_vars['ghinfo']['UnionName']; ?>
|
|||
|
|
|
|||
|
|
<?php if ($this->_tpl_vars['ghinfo']['UnionGoldOpen']): ?><font color="red"><3E><><EFBFBD>ֳ<EFBFBD></font><?php endif; ?>
|
|||
|
|
</b><EFBFBD><EFBFBD><?php echo $this->_tpl_vars['ghinfo']['UnionCode']; ?>
|
|||
|
|
<EFBFBD><EFBFBD>
|
|||
|
|
<select onchange="FP_jumpMenu(this,'window',false)">
|
|||
|
|
<?php $_from = $this->_tpl_vars['Pagenum']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
|||
|
|
foreach ($_from as $this->_tpl_vars['pagenum']):
|
|||
|
|
?>
|
|||
|
|
<option value='<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
|
|||
|
|
?<?php echo $this->_tpl_vars['Link']; ?>
|
|||
|
|
&pagelist=<?php echo $this->_tpl_vars['pagenum']; ?>
|
|||
|
|
' <?php if ($this->_tpl_vars['GG']['pagelist'] == $this->_tpl_vars['pagenum']): ?>selected<?php endif; ?>>ÿҳ<?php echo $this->_tpl_vars['pagenum']; ?>
|
|||
|
|
</option>
|
|||
|
|
<?php endforeach; endif; unset($_from); ?>
|
|||
|
|
</select> <?php echo ((is_array($_tmp=$this->_tpl_vars['Pages']['totalNum'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
|
|||
|
|
/<?php echo ((is_array($_tmp=$this->_tpl_vars['ghinfo']['People'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
|
|||
|
|
<EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><?php echo ((is_array($_tmp=$this->_tpl_vars['ghinfo']['GameHit'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
|
|||
|
|
<EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><?php echo ((is_array($_tmp=$this->_tpl_vars['ghinfo']['UnionCard'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
|
|||
|
|
<EFBFBD><EFBFBD></td></tr>
|
|||
|
|
<tr>
|
|||
|
|
<td width=55 class=bb><b><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID</b></td>
|
|||
|
|
<td width=50 class=bb><b>ͷ<EFBFBD><EFBFBD></b></td>
|
|||
|
|
<td class=bb><b><EFBFBD>û<EFBFBD><EFBFBD><EFBFBD>Ϣ</b></td>
|
|||
|
|
<td width=65 class=bb><b><EFBFBD><EFBFBD><EFBFBD><EFBFBD></b></td>
|
|||
|
|
<td width=65 class=bb><b><a href='<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
|
|||
|
|
?<?php echo $this->_tpl_vars['Link']; ?>
|
|||
|
|
&order=sy'>ʣ<><CAA3><?php if ($this->_tpl_vars['GG']['order'] == 'sy'): ?><EFBFBD><EFBFBD><?php endif; ?></b></td>
|
|||
|
|
<td width=65 class=bb><b><a href='<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
|
|||
|
|
?<?php echo $this->_tpl_vars['Link']; ?>
|
|||
|
|
&order=xf'><3E><><EFBFBD><EFBFBD><?php if ($this->_tpl_vars['GG']['order'] == 'xf'): ?><EFBFBD><EFBFBD><?php endif; ?></b></td>
|
|||
|
|
<td width=65 class=bb><b><a href='<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
|
|||
|
|
?<?php echo $this->_tpl_vars['Link']; ?>
|
|||
|
|
&order=yx'><3E><>Ϸ<?php if ($this->_tpl_vars['GG']['order'] == 'yx'): ?><EFBFBD><EFBFBD><?php endif; ?></b></td>
|
|||
|
|
<td width=65 class=bb><b><a href='<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
|
|||
|
|
?<?php echo $this->_tpl_vars['Link']; ?>
|
|||
|
|
&order=jy'><3E><><EFBFBD><EFBFBD><?php if ($this->_tpl_vars['GG']['order'] == 'jy'): ?><EFBFBD><EFBFBD><?php endif; ?></b></td>
|
|||
|
|
<td width=65 class=bb><b><a href='<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
|
|||
|
|
?<?php echo $this->_tpl_vars['Link']; ?>
|
|||
|
|
&order=jf'><3E><><EFBFBD><EFBFBD><?php if ($this->_tpl_vars['GG']['order'] == 'jf'): ?><EFBFBD><EFBFBD><?php endif; ?></b></td>
|
|||
|
|
<td width=65 class=bb><b><a href='<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
|
|||
|
|
?<?php echo $this->_tpl_vars['Link']; ?>
|
|||
|
|
&order=yb'>Ԫ<><D4AA><?php if ($this->_tpl_vars['GG']['order'] == 'yb'): ?><EFBFBD><EFBFBD><?php endif; ?></b></td>
|
|||
|
|
<?php if ($this->_tpl_vars['ghinfo']['UnionGoldOpen']): ?>
|
|||
|
|
<td width=65 class=bb><b><a href='<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
|
|||
|
|
?<?php echo $this->_tpl_vars['Link']; ?>
|
|||
|
|
&order=hlf'><font color=red><3E><><EFBFBD>ַ<EFBFBD></font><?php if ($this->_tpl_vars['GG']['order'] == 'hlf'): ?><EFBFBD><EFBFBD><?php endif; ?></b></td>
|
|||
|
|
<?php else: ?>
|
|||
|
|
<td width=65 class=bb><b><a href='<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
|
|||
|
|
?<?php echo $this->_tpl_vars['Link']; ?>
|
|||
|
|
&order=cj'><3E>齱<?php if ($this->_tpl_vars['GG']['order'] == 'cj'): ?><EFBFBD><EFBFBD><?php endif; ?></b></td>
|
|||
|
|
<td width=65 class=bb><b><a href='<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
|
|||
|
|
?<?php echo $this->_tpl_vars['Link']; ?>
|
|||
|
|
&order=cs'><3E><><EFBFBD><EFBFBD><?php if ($this->_tpl_vars['GG']['order'] == 'cs'): ?><EFBFBD><EFBFBD><?php endif; ?></b></td>
|
|||
|
|
<?php endif; ?>
|
|||
|
|
<td width=120 class=bb><b><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/ע<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ</b></td>
|
|||
|
|
<td width=45 class=bb><b><EFBFBD><EFBFBD><EFBFBD><EFBFBD></b></td>
|
|||
|
|
</tr>
|
|||
|
|
<form name="forms" method="post" action="">
|
|||
|
|
<?php unset($this->_sections['loop']);
|
|||
|
|
$this->_sections['loop']['name'] = 'loop';
|
|||
|
|
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['data']) ? 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']);
|
|||
|
|
?>
|
|||
|
|
<tr class=gy <?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['UserID'] == $this->_tpl_vars['ghinfo']['UserID']): ?>style="background:#ffffcc;"<?php endif; ?>>
|
|||
|
|
<td class=nr_nr><a href="javascript:;" onclick="openright('content<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UserID']; ?>
|
|||
|
|
','<EFBFBD><EFBFBD>Ա<EFBFBD><EFBFBD><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameID']; ?>
|
|||
|
|
','user/add.php?id=<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UserID']; ?>
|
|||
|
|
')"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameID']; ?>
|
|||
|
|
</a><br><font color="#999"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UserID']; ?>
|
|||
|
|
</font></td>
|
|||
|
|
<td class='nr_nr nr_toux'><a href="javascript:;" onclick="openright('6','<27><><EFBFBD>Ҽ<EFBFBD>¼','user/user-log.php?gid=<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameID']; ?>
|
|||
|
|
')"><img src='<?php echo ((is_array($_tmp=@$this->_tpl_vars['data'][$this->_sections['loop']['index']]['HeadHttp'])) ? $this->_run_mod_handler('default', true, $_tmp, "/m/img/toux.jpg") : smarty_modifier_default($_tmp, "/m/img/toux.jpg")); ?>
|
|||
|
|
'></a></td>
|
|||
|
|
<td class=nr_nr><?php echo ((is_array($_tmp=$this->_tpl_vars['data'][$this->_sections['loop']['index']]['NickName'])) ? $this->_run_mod_handler('replace', true, $_tmp, $this->_tpl_vars['key'], "<font color=red>".($this->_tpl_vars['key'])."</font>") : smarty_modifier_replace($_tmp, $this->_tpl_vars['key'], "<font color=red>".($this->_tpl_vars['key'])."</font>")); ?>
|
|||
|
|
<?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['SpreaderID']): ?><font color=#009900><3E><><EFBFBD><EFBFBD></font><?php endif; ?><br>
|
|||
|
|
<font color="#ff33ff"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UnionName']; ?>
|
|||
|
|
</font>
|
|||
|
|
<?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['Gender'] == 1): ?><EFBFBD><EFBFBD><?php else: ?><font color=#996600>Ů<?php endif; ?></font>
|
|||
|
|
<?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['WXShareTimes'] == 1): ?><font color="#999"><3E>ѷ<EFBFBD><D1B7><EFBFBD><?php endif; ?></font>
|
|||
|
|
<?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['Nullity'] == 1): ?><font color="red"><3E><><EFBFBD><EFBFBD><?php endif; ?></font></td>
|
|||
|
|
<td class='nr_nr nr_right'><?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['UnionOpen']): ?><font color="#090">Yes<?php else: ?><font color="#999">No<?php endif; ?></font><br>
|
|||
|
|
<?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['UserID'] != $this->_tpl_vars['ghinfo']['UserID']): ?>
|
|||
|
|
<a href="?id=<?php echo $this->_tpl_vars['ghinfo']['UnionID']; ?>
|
|||
|
|
&hui=<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UserID']; ?>
|
|||
|
|
"><font color="#999"><3E><><EFBFBD>û᳤</font></a>
|
|||
|
|
<?php endif; ?></td>
|
|||
|
|
<td class='nr_nr nr_right'><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['InsureScore']; ?>
|
|||
|
|
<br>
|
|||
|
|
<?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['UserID'] != $this->_tpl_vars['ghinfo']['UserID']): ?>
|
|||
|
|
<a href="?id=<?php echo $this->_tpl_vars['ghinfo']['UnionID']; ?>
|
|||
|
|
&hui=<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UserID']; ?>
|
|||
|
|
&ka=ka" title="<EFBFBD>ѵ<EFBFBD>ǰ<EFBFBD>᳤<EFBFBD>Ŀ<EFBFBD>ȫ<EFBFBD><EFBFBD>ת<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD><EFBFBD>"><font color="#999"><3E><><EFBFBD>û᳤</font></a>
|
|||
|
|
<?php endif; ?></td>
|
|||
|
|
<td class='nr_nr nr_right'><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['ConsumeScore']; ?>
|
|||
|
|
</td>
|
|||
|
|
<td class='nr_nr nr_right'><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['PlayCount']; ?>
|
|||
|
|
</td>
|
|||
|
|
<td class='nr_nr nr_right'><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['Grade']; ?>
|
|||
|
|
</td>
|
|||
|
|
<td class='nr_nr nr_right'><a href="javascript:;" onclick="openright('11','<27><>Ա<EFBFBD><D4B1><EFBFBD>ּ<EFBFBD>¼','user/jf.php?gid=<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameID']; ?>
|
|||
|
|
')"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['Zjf']; ?>
|
|||
|
|
</a></td>
|
|||
|
|
<td class='nr_nr nr_right'><a href="javascript:;" onclick="openright('60','<27>齱<EFBFBD><EFBFBD><EEB6AF>¼','user/lottery.php?gid=<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameID']; ?>
|
|||
|
|
')"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['YuanBao']; ?>
|
|||
|
|
</a></td>
|
|||
|
|
<?php if ($this->_tpl_vars['ghinfo']['UnionGoldOpen']): ?>
|
|||
|
|
<td class='nr_nr nr_right'><a href="<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
|
|||
|
|
?<?php echo $this->_tpl_vars['Link']; ?>
|
|||
|
|
&gameid=<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameID']; ?>
|
|||
|
|
"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UnionMemberGold']; ?>
|
|||
|
|
</a></td>
|
|||
|
|
<?php else: ?>
|
|||
|
|
<td class='nr_nr nr_right'><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['LotteryHit']; ?>
|
|||
|
|
</td>
|
|||
|
|
<td class='nr_nr nr_right'><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['LotteryGame']; ?>
|
|||
|
|
</td>
|
|||
|
|
<?php endif; ?>
|
|||
|
|
<td class='nr_nr'>
|
|||
|
|
<?php echo timename(array('time' => $this->_tpl_vars['data'][$this->_sections['loop']['index']]['LastDate']), $this);?>
|
|||
|
|
<font color=#ccc><?php echo convertip(array('ip' => $this->_tpl_vars['data'][$this->_sections['loop']['index']]['LastLogonIP']), $this);?>
|
|||
|
|
</font><br>
|
|||
|
|
<?php echo timename(array('time' => $this->_tpl_vars['data'][$this->_sections['loop']['index']]['RegDate']), $this);?>
|
|||
|
|
<font color=#ccc><?php echo convertip(array('ip' => $this->_tpl_vars['data'][$this->_sections['loop']['index']]['RegisterIP']), $this);?>
|
|||
|
|
</font></td>
|
|||
|
|
<td class=nr_nr align=center>
|
|||
|
|
<?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['UserID'] != $this->_tpl_vars['ghinfo']['UserID']): ?>
|
|||
|
|
<a href="?id=<?php echo $this->_tpl_vars['ghinfo']['UnionID']; ?>
|
|||
|
|
&del=<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UserID']; ?>
|
|||
|
|
"><font color="#999">ɾ<><C9BE><EFBFBD><EFBFBD>Ա</font></a>
|
|||
|
|
<?php endif; ?></td>
|
|||
|
|
</tr>
|
|||
|
|
<?php endfor; endif; ?>
|
|||
|
|
<tr>
|
|||
|
|
<td colspan=15 class=bb>
|
|||
|
|
<?php if ($this->_tpl_vars['Pages']['maxPage'] > 1): ?>
|
|||
|
|
<div class="club_dh">
|
|||
|
|
<?php if ($this->_tpl_vars['Pages']['page'] > $this->_tpl_vars['Pages']['linkNum']/2+2): ?><a href='?<?php echo $this->_tpl_vars['Link']; ?>
|
|||
|
|
&page=1' class="club_ls">1</a> ..<?php endif; ?>
|
|||
|
|
<?php unset($this->_sections['t']);
|
|||
|
|
$this->_sections['t']['name'] = 't';
|
|||
|
|
$this->_sections['t']['loop'] = is_array($_loop=$this->_tpl_vars['Pages']['end']-$this->_tpl_vars['Pages']['start']+1) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
|
|||
|
|
$this->_sections['t']['show'] = true;
|
|||
|
|
$this->_sections['t']['max'] = $this->_sections['t']['loop'];
|
|||
|
|
$this->_sections['t']['step'] = 1;
|
|||
|
|
$this->_sections['t']['start'] = $this->_sections['t']['step'] > 0 ? 0 : $this->_sections['t']['loop']-1;
|
|||
|
|
if ($this->_sections['t']['show']) {
|
|||
|
|
$this->_sections['t']['total'] = $this->_sections['t']['loop'];
|
|||
|
|
if ($this->_sections['t']['total'] == 0)
|
|||
|
|
$this->_sections['t']['show'] = false;
|
|||
|
|
} else
|
|||
|
|
$this->_sections['t']['total'] = 0;
|
|||
|
|
if ($this->_sections['t']['show']):
|
|||
|
|
|
|||
|
|
for ($this->_sections['t']['index'] = $this->_sections['t']['start'], $this->_sections['t']['iteration'] = 1;
|
|||
|
|
$this->_sections['t']['iteration'] <= $this->_sections['t']['total'];
|
|||
|
|
$this->_sections['t']['index'] += $this->_sections['t']['step'], $this->_sections['t']['iteration']++):
|
|||
|
|
$this->_sections['t']['rownum'] = $this->_sections['t']['iteration'];
|
|||
|
|
$this->_sections['t']['index_prev'] = $this->_sections['t']['index'] - $this->_sections['t']['step'];
|
|||
|
|
$this->_sections['t']['index_next'] = $this->_sections['t']['index'] + $this->_sections['t']['step'];
|
|||
|
|
$this->_sections['t']['first'] = ($this->_sections['t']['iteration'] == 1);
|
|||
|
|
$this->_sections['t']['last'] = ($this->_sections['t']['iteration'] == $this->_sections['t']['total']);
|
|||
|
|
?>
|
|||
|
|
<?php $this->assign('t', $this->_tpl_vars['Pages']['start']+$this->_sections['t']['index']); ?>
|
|||
|
|
<?php if ($this->_tpl_vars['Pages']['page'] == $this->_tpl_vars['t']): ?><span class="club_dhhs"><?php echo $this->_tpl_vars['t']; ?>
|
|||
|
|
</span>
|
|||
|
|
<?php else: ?><a href='?<?php echo $this->_tpl_vars['Link']; ?>
|
|||
|
|
&page=<?php echo $this->_tpl_vars['t']; ?>
|
|||
|
|
' class="club_ls"><?php echo $this->_tpl_vars['t']; ?>
|
|||
|
|
</a><?php endif; ?>
|
|||
|
|
<?php endfor; endif; ?>
|
|||
|
|
<?php if ($this->_tpl_vars['Pages']['page'] < $this->_tpl_vars['Pages']['maxPage']-$this->_tpl_vars['Pages']['linkNum']/2-1): ?>.. <a href='?<?php echo $this->_tpl_vars['Link']; ?>
|
|||
|
|
&page=<?php echo $this->_tpl_vars['Pages']['maxPage']; ?>
|
|||
|
|
' class="club_ls"><?php echo $this->_tpl_vars['Pages']['maxPage']; ?>
|
|||
|
|
</a><?php endif; ?>
|
|||
|
|
<input type="text" id=gopage name="gopage"style="width:30px;" value="<?php echo $this->_tpl_vars['Pages']['page']; ?>
|
|||
|
|
" onkeyup="value=value.replace(/[^0-9]/g,'')">
|
|||
|
|
<input type=button value=" GO " name=go id=gop style='width:30px;'>
|
|||
|
|
</div>
|
|||
|
|
<?php endif; ?></td>
|
|||
|
|
</tr>
|
|||
|
|
</form>
|
|||
|
|
</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>
|