$extension = "php"; if(!$pg) $pg = "anasayfa.$extension"; else $pg = "$pg.$extension"; ?>