校园生活>人文>' AND news_auditing_flag = 1 ORDER BY news_date DESC limit 0,2"); for($i=0;$i<2;$i++){ $rows=mysql_fetch_array($res); $title=$rows['news_title']; $link="/article/".$rows['news_id']."-".$rows['news_update'].".html"; if($rows['news_link']!==''){ $link=$rows['news_link'];} ?>
    校园生活>学习>' AND news_auditing_flag = 1 ORDER BY news_date DESC limit 0,2"); for($i=0;$i<2;$i++){ $rows=mysql_fetch_array($res); $title=$rows['news_title']; $link="/article/".$rows['news_id']."-".$rows['news_update'].".html"; if($rows['news_link']!==''){ $link=$rows['news_link'];} ?>
    校园生活>体育与健身>' AND news_auditing_flag = 1 ORDER BY news_date DESC limit 0,2"); for($i=0;$i<2;$i++){ $rows=mysql_fetch_array($res); $title=$rows['news_title']; $link="/article/".$rows['news_id']."-".$rows['news_update'].".html"; if($rows['news_link']!==''){ $link=$rows['news_link'];} ?>
    校园生活>艺术>' AND news_auditing_flag = 1 ORDER BY news_date DESC limit 0,2"); for($i=0;$i<2;$i++){ $rows=mysql_fetch_array($res); $title=$rows['news_title']; $link="/article/".$rows['news_id']."-".$rows['news_update'].".html"; if($rows['news_link']!==''){ $link=$rows['news_link'];} ?>
    校园生活>生活>' AND news_auditing_flag = 1 ORDER BY news_date DESC limit 0,2"); for($i=0;$i<2;$i++){ $rows=mysql_fetch_array($res); $title=$rows['news_title']; $link="/article/".$rows['news_id']."-".$rows['news_update'].".html"; if($rows['news_link']!==''){ $link=$rows['news_link'];} ?>
    校园生活>志愿服务与共建校园>' AND news_auditing_flag = 1 ORDER BY news_date DESC limit 0,2"); for($i=0;$i<2;$i++){ $rows=mysql_fetch_array($res); $title=$rows['news_title']; $link="/article/".$rows['news_id']."-".$rows['news_update'].".html"; if($rows['news_link']!==''){ $link=$rows['news_link'];} ?>
校园生活>精彩视频>' AND news_auditing_flag = 1 ORDER BY news_date DESC limit 0,1"); $row=mysql_fetch_array($res); $title=$row['news_title']; $filepath="/".substr($row['news_file'],0,4)."-".substr($row['news_file'],4,2)."/"; $cache_img_path="/upfiles".$filepath.$row['news_file']; $link="/article/".$row['news_id']."-".$row['news_update'].".html"; $date = date('Y-m-d',strtotime($row['news_date'])); if($row['news_link']!==''){ $link=$row['news_link'];} ?>
    校园生活>校内热帖>' AND news_auditing_flag = 1 ORDER BY news_date DESC limit 0,3"); for($i=0;$i<3;$i++){ $rows=mysql_fetch_array($res); $title=$rows['news_title']; $link="/article/".$rows['news_id']."-".$rows['news_update'].".html"; if($rows['news_link']!==''){ $link=$rows['news_link'];} ?>
校园生活>精彩活动>' AND news_auditing_flag = 1 ORDER BY news_date DESC limit 0,2"); for($i=0;$i<2;$i++){ $rows=mysql_fetch_array($res); $title=$rows['news_title']; $link="/article/".$rows['news_id']."-".$rows['news_update'].".html"; $date = date('m-d',strtotime($rows['news_date'])); $y = date('Y',strtotime($rows['news_date'])); if($rows['news_link']!==''){ $link=$rows['news_link'];} if($i!==0){ $con=2;} ?>