<?php include template('header');?>

<div class="tk15"></div>
<div class="xzwz ty1000 tylzi"><a href="index.php">首页</a> >> 网购大全</div>

<div class="web_nav">
	<ul>
		<?php  foreach($GLOBALS['sitecate']  AS $key => $val){   ?>
		<li><a href="<?php  echo url('index','catedetail',array('cateid'=>$key)); ?>"><?php  echo  $val['sitecatename']; ?></a></li>
		<?php  }  ?>
	</ul>
</div>
<div class="tk15"></div>
<div class="wgweb_abt"><h2>购物名站</h2></div>
<div class="wgweb_tj">
	<?php   foreach($top_arr AS $key => $val){    ?>
	<li><p class="tu"><a href="<?php  echo url('index','goothersite',array('id'=>$val['id'])); ?>" target="_blank"><img src="<?php echo $val['img'];  ?>" border="0" /></a></p></li>
	<?php  }  ?>
</div>


<div class="tk10"></div>
<div class="wgweb_lr">
<?php  foreach($othersite AS $key => $sites){  ?>
	<div class="webx_lr">

		<div class="wgweb_a"><a href="<?php  echo url('index','catedetail',array('cateid'=>$key)); ?>" target="_blank"><?php echo $GLOBALS['sitecate'][$key]['sitecatename']; ?></a></div>
		<div class="wgweb_b tylzi">
			<?php foreach($sites  AS $key2 => $val){  ?>
			<li><a href="<?php  echo url('index','goothersite',array('id'=>$val['id'])); ?>" target="_blank"><p style="color:<?php echo $val['color']; ?>;<?php echo $val['font'];  ?>" ><?php echo  $val['sitename'];?></p></a></li>
			<?php }  ?>
			<li><a href="<?php  echo url('index','catedetail',array('cateid'=>$key)); ?>" target="_blank"><p>更多>></p></a></li>
		</div>
	</div>
<?php  } ?>
</div>
<?php include template('footer');?>