alert('ไม่สามารถแสดงข้อมูลนิตยสารดังกล่าว');history.back();"; }else{ echo ""; exit; } $totalColRecommend = 8; $pagename = 'magcomment'; $sql = "select * from magazineinfo where maginfoflag >= ".webpage_detail_func("flag_magazineinfo_show")." and maginfoid = ".$maginfoid; $result = select_data_func($sql); $totalRow = mysql_num_rows($result); if($totalRow>0){ $row = mysql_fetch_array($result); $magazineinfoname = stripslashes($row['magInfoName']); $maginfoid = $row['magInfoId']; }else{ echo ""; exit; } ?>