<?php /* Smarty version 2.6.19, created on 2008-09-17 23:51:28
         compiled from class/ajax.phtml */ ?>
<?php echo $this->_tpl_vars['sunid']; ?>

||||
<?php if ($this->_tpl_vars['num'] > 0): ?>
<select id="class<?php echo $this->_tpl_vars['id']; ?>
" name="class<?php echo $this->_tpl_vars['id']; ?>
"  onchange="ChangeClass(<?php echo $this->_tpl_vars['id']; ?>
);" >
	<option  value="noid">请选择分类</option>
	<?php unset($this->_sections['classList']);
$this->_sections['classList']['name'] = 'classList';
$this->_sections['classList']['loop'] = is_array($_loop=$this->_tpl_vars['classAll']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['classList']['show'] = true;
$this->_sections['classList']['max'] = $this->_sections['classList']['loop'];
$this->_sections['classList']['step'] = 1;
$this->_sections['classList']['start'] = $this->_sections['classList']['step'] > 0 ? 0 : $this->_sections['classList']['loop']-1;
if ($this->_sections['classList']['show']) {
    $this->_sections['classList']['total'] = $this->_sections['classList']['loop'];
    if ($this->_sections['classList']['total'] == 0)
        $this->_sections['classList']['show'] = false;
} else
    $this->_sections['classList']['total'] = 0;
if ($this->_sections['classList']['show']):

            for ($this->_sections['classList']['index'] = $this->_sections['classList']['start'], $this->_sections['classList']['iteration'] = 1;
                 $this->_sections['classList']['iteration'] <= $this->_sections['classList']['total'];
                 $this->_sections['classList']['index'] += $this->_sections['classList']['step'], $this->_sections['classList']['iteration']++):
$this->_sections['classList']['rownum'] = $this->_sections['classList']['iteration'];
$this->_sections['classList']['index_prev'] = $this->_sections['classList']['index'] - $this->_sections['classList']['step'];
$this->_sections['classList']['index_next'] = $this->_sections['classList']['index'] + $this->_sections['classList']['step'];
$this->_sections['classList']['first']      = ($this->_sections['classList']['iteration'] == 1);
$this->_sections['classList']['last']       = ($this->_sections['classList']['iteration'] == $this->_sections['classList']['total']);
?>
	<option  value="<?php echo $this->_tpl_vars['classAll'][$this->_sections['classList']['index']]['id']; ?>
"><?php echo $this->_tpl_vars['classAll'][$this->_sections['classList']['index']]['name']; ?>
</option>
	<?php endfor; endif; ?>
</select>
<span id="inner<?php echo $this->_tpl_vars['id']; ?>
"></span>
<?php endif; ?>
