alert('สำหรับ Admin เท่านั้น'); window.location='index.php'; "); } } function chk_changepass() { if( $_SESSION['gro_m_id'] != '4' and $_SESSION['gro_m_id'] != '2' ) { exit(""); } } function chk_login() { if(!isset($_SESSION['gro_m_id'])) { exit(""); } } ?> Access denied for user ''@'WEB-2' (using password: NO):SELECT * FROM news JOIN groupfinan USING(gro_n_id) JOIN permissions_news USING(pms_n_id) JOIN categorynews USING(cat_n_id) WHERE news_id = '54'