Работеше , обаче нещо се прецака и не знам какво да правя 
[/u]<?php
session_start();
$user=$_POST['user'];
$pass=$_POST['pass'];
include('config.php');
echo'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="bg">
<title>Портфолиото на Кацаров</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link href="style.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="content">
<div id="header" align="center">
<a href="index.php"><img src="img/logo.png" style="margin-top:15px;" border=0 alt=""/></a>';
echo'
<br/><br/><br/><br/><div id="con">
<div class="right"></div>
<div class="left"></div>
<div class="center">
<p class="title">Admin Panel</p>';
if($user && $pass)
{
if($user!=$admin & $pass!=$password)
{
echo'Wrong Password!!!';
}
else
{
if(session_start!=false)
$_SESSION['logged']=true;
echo'You are logged in';
}
}
if($_SESSION['logged']===true)
{
echo'<br/><br/><form action="index.php" method="post">USER<input type="text" name="user"/><br/><br/>PASS<input type="password" name="pass"/>
<br/><br/><input type="submit" value="Влез"/></form>';
}
else
{
echo'logged in';
}
echo'</div>
</div>
</div>
</div>
</body>
</html>';