<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="format-detection" content="telephone=no" />
<meta name="renderer" content="webkit" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title><?php echo $system_name.'-'.$system_seoname?></title>
<?php include($dir.$t_path.'inc_head.php');?>
</head>
<body>
<?php include($dir.$t_path.'inc_header.php');?>
<div class="container">
	<div id="current_location">当前位置：<a href="index.php">首页</a> > 网站地图</div>
	<div class="l10">
		<?php
		$result = sql_query('select * from cms_channel where c_parent = 0 order by c_order asc , id asc ');
		while ($row = sql_fetch_array($result)){
			echo '<div class="x12"><a class="btn bg-dot mb10" href="'.c_url($row['id']).'">'.$row['c_name'].'</a></div>';
			$results = sql_query('select * from cms_channel where c_parent = '.$row['id'].' order by c_order asc , id asc ');
			while ($rows = sql_fetch_array($results)){
				echo '<div class="xx15"><a class="btn mb10 btn-block" href="'.c_url($rows['id']).'">'.$rows['c_name'].'</a></div>';
			}
		}
		?>
	</div>
</div>
<?php include($dir.$t_path.'inc_footer.php');?>
</body>
</html>
