?>
<div class="seltpye_x">
		<div class="left"><span style="color:#999999">└ </span>子分类</div>	
		<div class="right">
		<a href="<?php 
    echo $this->_run_modifier("type_id:", 'qishi_parse_url', 'plugin', 1);
    ?>
" <?php 
    if ($_GET['type_id'] == "") {
        ?>
class="select"<?php 
    }
    ?>
>不限</a>
	 	<?php 
    echo tpl_function_qishi_news_category(array('set' => $this->_run_modifier("列表名:category,资讯大类:", 'cat', 'plugin', 1, $_GET['parentid'])), $this);
    ?>
		<?php 
    if (count((array) $this->_vars['category'])) {
        foreach ((array) $this->_vars['category'] as $this->_vars['list']) {
            ?>
		<a href="<?php 
            echo $this->_run_modifier($this->_run_modifier("type_id:", 'cat', 'plugin', 1, $this->_vars['list']['id']), 'qishi_parse_url', 'plugin', 1);
            ?>
" <?php 
            if ($_GET['type_id'] == $this->_vars['list']['id']) {
                ?>
class="select"<?php 
            }
            ?>
><?php 
">修改</a>&nbsp;&nbsp;
			  <?php 
        if ($this->_vars['list']['admin_set'] != "1") {
            ?>
			  |&nbsp;&nbsp;<a onclick="return confirm('你确定要删除吗?')" href="?act=del_category&id=<?php 
            echo $this->_vars['list']['id'];
            ?>
">删除</a>
			  <?php 
        }
        ?>
	  </td>
    </tr>
			<!--小类 -->
			<?php 
        echo tpl_function_qishi_news_category(array('set' => $this->_run_modifier("列表名:sclass,资讯大类:", 'cat', 'plugin', 1, $this->_vars['list']['id'])), $this);
        ?>
			<?php 
        if (count((array) $this->_vars['sclass'])) {
            foreach ((array) $this->_vars['sclass'] as $this->_vars['slist']) {
                ?>
			 <tr class="Sclass_<?php 
                echo $this->_vars['list']['id'];
                ?>
"  >
			  <td  class="admin_list"  style="padding-left:31px;">
			  <input type="checkbox" name="id[]" value="<?php 
                echo $this->_vars['slist']['id'];
                ?>
" class="Scheck_<?php 
                echo $this->_vars['list']['id'];
Example #3
0
            ?>
images/index/84.gif"></a></div>
		<?php 
        }
    }
    ?>
	</div>
	<?php 
}
?>
	<div class="clear"></div>
	<!-- 首页下方格子广告 结束 -->
	<!-- 资讯 -->
	<div class="information_bbox" id="information_bbox" style="margin-top:0px;">
		<?php 
echo tpl_function_qishi_news_category(array('set' => "列表名:newscategory,资讯大类:1,显示数目:3"), $this);
?>
		<?php 
if (isset($this->_sections['nclist'])) {
    unset($this->_sections['nclist']);
}
$this->_sections['nclist']['loop'] = is_array($this->_vars['newscategory']) ? count($this->_vars['newscategory']) : max(0, (int) $this->_vars['newscategory']);
$this->_sections['nclist']['name'] = 'nclist';
$this->_sections['nclist']['show'] = true;
$this->_sections['nclist']['max'] = $this->_sections['nclist']['loop'];
$this->_sections['nclist']['step'] = 1;
$this->_sections['nclist']['start'] = $this->_sections['nclist']['step'] > 0 ? 0 : $this->_sections['nclist']['loop'] - 1;
if ($this->_sections['nclist']['show']) {
    $this->_sections['nclist']['total'] = $this->_sections['nclist']['loop'];
    if ($this->_sections['nclist']['total'] == 0) {
        $this->_sections['nclist']['show'] = false;