include_once('webinc/config.php'); include_once('webinc/conn.php'); $index = $_GET[index]; $index=inject_check($_GET["index"]);//获取数量 $query = mysql_query("select id,newtitlecolor,newtitle,newtime from ".DB_WEBDB.".news where newclass = $index and newip = 1 order by newtime desc limit 5"); $iee=1 ; while($row=mysql_fetch_array($query)){ echo "document.writeln('