$srg=mysql_query("select id,kresim,kisa,baslik from haberler where lig='8' and arsiv='0' order by tarih desc limit 0,5");
while($oku=mysql_fetch_array($srg)){
$haberid=$oku['id'];
$kisa=stripslashes($oku['kisa']);
$baslik=stripslashes($oku['baslik']);
$kresim=$oku['kresim'];
$lig=$_GET['lig'];
?>
if($kresim and file_exists('haber_foto/'.$kresim)){?>