View file adm/sys/fnc.php
<?php session_start(); $admin[]=md5("123456"); $t=count($admin); for($i=0; $i<$t; $i++) { if(md5($_POST['pass'])==$admin[$i] or $_SESSION['pass']==$admin[$i]){$_SESSION['pass']=$admin[$i]; $adm=true;} } if(!$adm) { echo'Ваш пароль:<br><form action="?" method="post"> <input type="password" name="pass"> <input type="submit" value="Войти">'; exit; } ?>