<?php
session_start();
$admin_pass='wenik500';
$vsego='10';
if (!empty($_GET['pass'])){
$_SESSION['text']='Привет Админ!<br/>';
$_SESSION['pass']=$_GET['pass'];
$pass=$_GET['pass'];
} elseif(!empty($_SESSION['pass'])){
$pass=$_SESSION['pass'];
} else { $pass=''; }
if ($pass!==$admin_pass) { $pass=''; }
?>