",$n_detail); $n_date = ChangeDateShot($n_date); $sql2 = "select * from news_image where n_id = '$n_id' order by p_id asc limit 1"; $result2 = mysql_query($sql2) or die("$sql2 error"); $row2 = mysql_fetch_array($result2); $mainthumb = $row2["p_thumb"]; ?>


...