A simple way to so is by making a form which looks like a login page with username & password Textfields.<form method=post action=login.php>
Then in the login.php page, write the following code:
<?php
if ($username == 'USERNAME' && $password == 'PASSWORD'){
header ("Location:admin.php");
}else{
header ("Location:wrongpassword.php");
}
?>