$sqlty="select * from yjcode_newstype where admin=1 order by xh asc limit 6";mysqli_set_charset($conn,"utf8");
$resty=mysqli_query($conn,$sqlty);for($tyi=1;$tyi<=3;$tyi++){
if($rowty=mysqli_fetch_array($resty)){
?>
=$rowty[name1]?>
while($row1=mysqli_fetch_array($res1)){?>
}?>
}}?>
while1("*","yjcode_news where zt=0 order by lastsj desc limit 4");while($row1=mysqli_fetch_array($res1)){?>
}?>
while1("*","yjcode_newstype where admin=1 order by xh asc");while($row1=mysqli_fetch_array($res1)){?>
=$row1[name1]?>
}?>
if($rowty=mysqli_fetch_array($resty)){?>
}?>
if($rowty=mysqli_fetch_array($resty)){?>
while1("*","yjcode_news where type1id=".$rowty[id]." and zt=0 order by lastsj desc limit 3");while($row1=mysqli_fetch_array($res1)){
$tp=returntp("bh='".$row1[bh]."' order by xh asc","-1");
?>
}?>
}?>
if($rowty=mysqli_fetch_array($resty)){?>
while1("*","yjcode_news where type1id=".$rowty[id]." and zt=0 order by lastsj desc limit 6");while($row1=mysqli_fetch_array($res1)){
?>
}?>
}?>