$url=$_SERVER['PHP_SELF']; // gali ir $_SERVER[''] koki kita kintamaji rasyt
$url2="news.php"; // lygybe rodimui panele..
$id=17; // paneles id kuri rodo tik news.php
if ($url==$url2) mysql_query("select * from ".$db_prefix."panels where id='{$id'} ");