0){ $row=mysql_fetch_array($rez); mysql_query("UPDATE `box_facebook` SET `views` = `views` + '1' WHERE `id`='".$id."'"); header('Location: '.$row["urlsite"]); }else{ $your_site='http://'.$SITED; header('Location: $your_site'); } ?>