<?php if($_GET['pass'] != '1234') { header('Location: index.php'); exit('Тебе тут нечего делать :-p'); } //код админки ?>