ACC SHELL
<?php
include('comment.php');
if(isset($_POST['button']) && $_POST['button'] == 'login'){
include('connect.php');
connect();
include('class/user.php');
unset ($admin);
$admin = new user;
$admin->login($_POST['username'],$_POST['pass']);
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>login acms</title>
<link rel="stylesheet" type="text/css" href="style_index.css" />
<meta name="robots" content="noindex, nofollow" />
</head>
<body onload="document.form.username.focus();">
<div id="center"></div>
<div id="container">
<div id="log">
<form name="form" method="post" action="index.php">
<div class="txt"><span>Jméno:</span><br />
<input type="text" name="username" onfocus="this.style.background='#FFFFCC'" onblur="this.style.background='#FFFFFF'" />
</div>
<div class="txt"><span>Heslo:</span><br />
<input type="password" name="pass" onfocus="this.style.background='#FFFFCC'" onblur="this.style.background='#FFFFFF'" /></div>
<div class="button"><input type="submit" name="button" value="login" /></div>
</form>
</div>
<div id="text-left">areal<em>systems</em> content management system správa obsahu webových stránek <a href="http://www.unitedsolution.cz" target="_blank">www.unitedsolution.cz</a></div>
<div id="text-right">
<p>Přihlašte se zadáním vašeho uživatelského jména a hesla. Pokud heslo neznáte obratťě se na správce systému. Ověřte si u něj správnost přihlašovacích údajů.</p>
<p> </p>
<p>Pokud se vyskytnou jakékoliv technické problémy, nebo máte nějaké dotazy ohledně funkčnosti, či nefunkčnosti systému. Obraťtě se na tvůrce <a href="http://www.arealsystems.cz" target="_blank">www.arealsystems.cz</a></p>
</div>
<img src="images/delic.gif" id="delic" alt="delic" width="1" height="300" />
<img src="images/aCMS-logo.gif" alt="aCMS" id="acms-logo" />
<img src="images/arealsystems-logo.gif" alt="arealsystems" id="asystems-logo" />
</div>
<?php echo ((isset($admin))?('<div id="msg">'.$admin->getMsg().'</div>'):'');//hlaseni o neuspesnosti prihlaseni ?>
</body>
</html>
ACC SHELL 2018