$sayfa=intval($_GET['sayfa']); if($sayfa=="") { include("ref.sayfa1.php"); } else{include("ref.sayfa$sayfa.php");}