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

<div class="tk15"></div>
<div class="csa tylzi ty1000">

	<?php $url='index.php?cityid=';$localcity=ip2city();?>
	<h1>你是不是在<?php echo $localcity;?>？请进入<a href="<?php echo $url.Pinyin($localcity,$GLOBALS['charset']);?>"><font class="tychz"><?php echo $localcity;?>站</font></a></h1>
	<h2>热门城市：						
	<a href="<?php echo $url.'quanguo';?>">全国</a>
	<?php if($hot){foreach($hot as $k=>$v){?>
	<a href="<?php echo $url.$v['pinyin'];?>"><?php echo $v['cityname'];?></a>
	<?php }}?>
	</h2>
</div>

<div class="csc ty1000 tylzi">
<ul>
	
	<?php if($citys){foreach($citys as $key=>$val){?>
	<li>
	<h1 style="text-transform:uppercase"><?php echo $key;?></h1>
	<?php foreach($val as $ck=>$cv){?>
	<a href="<?php echo $url.$cv['pinyin'];?>"><?php echo $cv['cityname'];?></a>
	<?php }?>
	</li>	
	<?php }}?>
	
</ul>
</div>


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