<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $lang['title_site_map']; ?></title>
<meta name="description"  content="<?php echo $meta['meta_description']; ?>"/>
<meta name="keywords" content="<?php echo $meta['meta_keywords']; ?>" />
<link href="<?php echo $conf['weburl'];?>/themes/<?php echo $skin;?>/css/gnoyuhs.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="<?php echo $conf['weburl'];?>/themes/<?php echo $skin;?>/css/shijian.js"></script>
<link href="<?php echo $conf['weburl'];?>/js/search.css" type="text/css" rel="stylesheet" />
</head>
<body>
<?php include("header.php"); ?>
<div class="wrapper">
<div class="main">
<div class="crumbs"><a href="<?php echo $menu['index_url'];?>"><?php echo $lang['home'];?></a> &gt; <?php echo $lang['site_map'];?></div>
	<div class="right">
		
	  	<div class="page">
			<div class="maintitle">
				<p><?php echo $lang['title_site_map'];?></p>
			</div>
			<div class="sitemap">
				<?php foreach ($channel_category_arr as $key => $value)  { ?>
				 <p><a href="<?php echo $value['url'];?>" <?php if ($value['target']<>'') echo $value['target']; ?>><?php echo $value['name'];?></a></p>
					<?php 
						if ($value['flag']=='products'){ 
							echo $category_sitemap;
						}else{
							if ($value['sub_category']) :
					?>
						<ul>
                        <?php foreach ($value['sub_category'] as $key => $valuem)  { ?>
						<li><a href="<?php echo $valuem['url'];?>" <?php if ($valuem['target']<>'') echo $valuem['target']; ?>><?php echo $valuem['name'];?></a></li>
						<?php } ?>
						</ul>
					<?php endif ; ?>
				   <?php } ?>
				<?php } ?>
			</div>
		</div>
	</div>
	<div class="left"><?php include("left.php"); ?></div>
	<div class="clear"></div>
	<div class="mainfoot"></div>	
</div>
</div>
<?php include("footer.php"); ?>
</body>
</html>