</div>
    </div>
    <!--结束头部-->
	
	<div id="main_contact">
		<div id="main_contact_con">
			<img src="<?php 
echo $list_thumb;
?>
" />
			<div id="contact_con_left">
				<div id="side_nav_wrap">
					<div id="side_nav_con">
						<img id="about_tit" src="__PUBLIC__/statics/default/images/case_tit.png" />
						<?php 
$subcat = sub_cat(top_parent(cat_id()));
?>
						<ul id="side_nav2" cat_id="<?php 
echo cat_id();
?>
" >
						<?php 
foreach ($subcat as $subcatRow) {
    ?>
							<li cat_id="<?php 
    echo $subcatRow[category_id];
    ?>
" ><a href="<?php 
    echo CAT_PATH;
    ?>
/<?php 
     }
 } elseif ($do == "category" && $action == "read") {
     $cat = genrelist();
     block_begin(CAT_SETTINGS);
     print "&nbsp;&nbsp;<a href='admincp.php?user="******"uid"] . "&code=" . user::$current["random"] . "&do=category&action=add'><img alt='" . CAT_INSERT_NEW . "' border='0' src='images/new.gif'></a>\n";
     print "<br /><br />\n<table class='lista' width='100%' align='center'>\n";
     print "<tr>\n";
     print "<td class='header' align='center'>" . CAT_SORT_INDEX . "</td>\n";
     print "<td class='header' align='center'>" . NAME . "</td>\n";
     print "<td class='header' align='center'>" . PICTURE . "</td>\n";
     print "<td class='header' align='center'>" . EDIT . "</td>\n";
     print "<td class='header' align='center'>" . DELETE . "</td>\n";
     print "</tr>\n";
     foreach ($cat as $category) {
         if ($category["sub"] != 0) {
             $cate = sub_cat($category["sub"]) . " &raquo; " . security::html_safe($category["name"]);
         } else {
             $cate = security::html_safe($category["name"]);
         }
         print "<tr>\n";
         print "<td class='lista'>" . (int) $category["sort_index"] . "</td>\n";
         print "<td class='lista'>" . StripSlashes($cate) . "</td>\n";
         print "<td class='lista' align='center'>" . image_or_link($category["image"] == "" ? "&nbsp;" : "images/categories/" . $category["image"], "", "") . "</td>\n";
         print "<td class='lista' align='center'><a href='admincp.php?user="******"uid"] . "&code=" . user::$current["random"] . "&do=category&action=edit&id=" . (int) $category["id"] . "'>" . image_or_link($STYLEPATH . "/edit.png", "", EDIT) . "</a></td>\n";
         print "<td class='lista' align='center'><a onclick='return confirm('" . AddSlashes(DELETE_CONFIRM) . "')' href='admincp.php?user="******"uid"] . "&code=" . user::$current["random"] . "&do=category&action=delete&id=" . (int) $category["id"] . "'>" . image_or_link($STYLEPATH . "/delete.png", "", DELETE) . "</a></td>\n";
         print "</tr>\n";
     }
     print "</table>";
     block_end();
     print "<br />";
 } elseif ($do == "category" && $action == "delete") {
        </div>
        <!--arrow_box end--> 
      </li>
    <?php 
}
?>
      <li class="page"><?php 
echo $art['page'];
?>
</li>
    </ul>
    <!--bloglist end-->
    <aside>
		<div class="sunnav">
			<?php 
$subcat = sub_cat(cat_id());
?>
			<ul>
			<?php 
foreach ($subcat as $subcatRow) {
    ?>
				<li><a  href="<?php 
    echo CAT_PATH;
    ?>
/<?php 
    echo $subcatRow[category_id];
    ?>
"  title="网站建设"><?php 
    echo $subcatRow['cat_name'];
    ?>
</a></li>
"><img src="<?php 
    echo $artRow['thumb'];
    ?>
" /></a></li>
				<?php 
}
?>
	
					<div class="clear"></div>
				</ul>
			</div>
		</div>
		<div id="com_desc_con_bo"></div>
		<div id="com_desc_side">
			<?php 
$subcat = sub_cat(25);
?>
			<ul id="side_nav">
				<?php 
foreach ($subcat as $subcatRow) {
    ?>
				<li><a href="<?php 
    echo CAT_PATH;
    ?>
/<?php 
    echo $subcatRow[category_id];
    ?>
"><?php 
    echo $subcatRow['cat_name'];
    ?>
</a></li>