<ul class="" style="height: 48px;">
<li><a rel="nofollow" href="page-3.html" class="current">全国</a></li>
<?php
if ($city == 0) {
$querarea = $db->query("select * from ".$LG->table('area')." where pid=0 order by id desc");
}else{
if ($areali) {
$querarea = $db->query("select * from ".$LG->table('area')." where pid=".$city." order by id desc");
}else{
$querarea = $db->query("select * from ".$LG->table('area')." where pid=".$areal['pid']." order by id desc");
}
}
$i = 0;
while($rarea = $db->fetchrow($querarea)){
if ($i < 14) {
echo '<li ><a href="/page-'.$cid.'-1-'.$rarea['id'].'.html">'.$rarea['title'].'</a></li>';
}else{
echo '<li class="hide"><a href="/page-'.$cid.'-1-'.$rarea['id'].'.html">'.$rarea['title'].'</a></li>';
}
$i++;
}
?>
</ul>