ACC SHELL
<?
session_start();
if($_SESSION['auth_uzivatel_authorisation']!=""){
$path="./admin.php";
Header("Location: $path");
}
else{
require "../conf/db_access.php";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Administrační rozhraní CMS 4G</title>
<meta charset="utf-8">
<!-- Global stylesheets -->
<link href="css/reset.css" rel="stylesheet" type="text/css">
<link href="css/common.css" rel="stylesheet" type="text/css">
<link href="css/form.css" rel="stylesheet" type="text/css">
<link href="css/standard.css" rel="stylesheet" type="text/css">
<link href="css/special-pages.css" rel="stylesheet" type="text/css">
<style type='text/css'>
body.login-bg{
background:url('web_pozadi_orang.jpg') top center no-repeat #ce202a;
}
.block-header{
font-size:18px;
}
</style>
<!-- Favicon -->
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<link rel="icon" type="image/png" href="favicon-large.png">
<!-- Generic libs -->
<script type="text/javascript" src="js/html5.js"></script><!-- this has to be loaded before anything else -->
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/old-browsers.js"></script> <!-- remove if you do not need older browsers detection -->
<!-- Template core functions -->
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/standard.js"></script>
<!--[if lte IE 8]><script type="text/javascript" src="js/standard.ie.js"></script><![endif]-->
<script type="text/javascript" src="js/jquery.tip.js"></script>
<!-- example login script -->
<script type="text/javascript">
$(document).ready(function()
{
// We'll catch form submission to do it in AJAX, but this works also with JS disabled
$('#login-form').submit(function(event)
{
// Check fields
var login = $('#login').val();
var pass = $('#pass').val();
if (!login || login.length == 0)
{
$('#login-block').removeBlockMessages().blockMessage('NapiÅ¡te prosÃm VaÅ¡e pÅ™ihlaÅ¡ovacà jméno', {type: 'warning'});
}
else if (!pass || pass.length == 0)
{
$('#login-block').removeBlockMessages().blockMessage('NapiÅ¡te prosÃm vaÅ¡e heslo', {type: 'warning'});
}
});
});
</script>
</head>
<!-- the 'special-page' class is only an identifier for scripts -->
<body class="special-page login-bg " style=" background: url(http://projekty4g.cz/fur_big.jpg) no-repeat center center; -webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;">
<!-- The template uses conditional comments to add wrappers div for ie8 and ie7 - just add .ie, .ie7 or .ie6 prefix to your css selectors when needed -->
<!--[if lt IE 9]><div class="ie"><![endif]-->
<!--[if lt IE 8]><div class="ie7"><![endif]-->
<?/*
<section id="message">
<div class="block-border"><div class="block-content no-title dark-bg">
<p class="mini-infos">For demo website, use <b>admin</b> / <b>admin</b></p>
</div></div>
</section>
*/?>
<section id="login-block">
<div class="block-border"><div class="block-content">
<!--
IE7 compatibility: if you want to remove the <h1>,
add style="zoom:1" to the above .block-content div
-->
<h1>Admin</h1>
<div class="block-header" >Přístup odepřen</div>
<p style='text-align:center; color:white' >
<br /><br /><img src='./images/icons/web-app/48/Warning.png' alt=''/> <br /><br />Byli jste odhlášeni.<br /><br /><a href='./' class='button red'>Přihlašte se</a>
</p>
</form>
<?/*
<form class="form" id="password-recovery" method="post" action="">
<fieldset class="grey-bg no-margin collapse">
<legend><a href="#">Lost password?</a></legend>
<p class="input-with-button">
<label for="recovery-mail">Enter your e-mail address</label>
<input type="text" name="recovery-mail" id="recovery-mail" value="">
<button type="button">Send</button>
</p>
</fieldset>
</form>
*/?>
</div></div>
</section>
<!--[if lt IE 8]></div><![endif]-->
<!--[if lt IE 9]></div><![endif]-->
</body>
</html>
<?
}
?>
ACC SHELL 2018