array(array('modifier', 'number_format', 'user/huodong.tpl', 28, false),)), $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); ?> assign('key', $this->_tpl_vars['GG']['username']); ?>
添加配置
_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']); ?>
_tpl_vars['GG']['province']; ?> _tpl_vars['GG']['city']; ?> _tpl_vars['GG']['county']; ?> 活动配置 (_tpl_vars['Pages']['totalNum'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?> )
活动ID 活动标题 简介 活动时间 默认 显示 操作
_tpl_vars['data'][$this->_sections['loop']['index']]['Hdid']; ?> _tpl_vars['data'][$this->_sections['loop']['index']]['Htitle']; ?> _tpl_vars['data'][$this->_sections['loop']['index']]['Hshow']; ?> _tpl_vars['data'][$this->_sections['loop']['index']]['Htime']; ?> _tpl_vars['data'][$this->_sections['loop']['index']]['Hdef']; ?> _tpl_vars['data'][$this->_sections['loop']['index']]['Hclose']): ?>显示隐藏 修改
_tpl_vars['Pages']['maxPage'] > 1): ?>
_tpl_vars['Pages']['page'] > $this->_tpl_vars['Pages']['linkNum']/2+2): ?> &page=1' class="club_ls">1 .. _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']); ?> assign('t', $this->_tpl_vars['Pages']['start']+$this->_sections['t']['index']); ?> _tpl_vars['Pages']['page'] == $this->_tpl_vars['t']): ?>_tpl_vars['t']; ?> &page=_tpl_vars['t']; ?> ' class="club_ls">_tpl_vars['t']; ?> _tpl_vars['Pages']['page'] < $this->_tpl_vars['Pages']['maxPage']-$this->_tpl_vars['Pages']['linkNum']/2-1): ?>.. &page=_tpl_vars['Pages']['maxPage']; ?> ' class="club_ls">_tpl_vars['Pages']['maxPage']; ?>
_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); ?>