104 lines
3.9 KiB
PHP
104 lines
3.9 KiB
PHP
<?php
|
|
/* Smarty version 3.1.38, created on 2021-02-18 20:46:42
|
|
from '/var/www/html/src/templates/login.smarty' */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '3.1.38',
|
|
'unifunc' => 'content_602ed2324fe010_49856753',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'67f35703943bebaeb4ff84b4beabe1bba1b1e700' =>
|
|
array (
|
|
0 => '/var/www/html/src/templates/login.smarty',
|
|
1 => 1613681193,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_602ed2324fe010_49856753 (Smarty_Internal_Template $_smarty_tpl) {
|
|
?><!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<!-- favicon -->
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
|
<link rel="manifest" href="/site.webmanifest">
|
|
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
|
|
<meta name="msapplication-TileColor" content="#da532c">
|
|
<meta name="theme-color" content="#ffffff">
|
|
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title><?php echo $_smarty_tpl->tpl_vars['Title']->value;?>
|
|
</title>
|
|
<meta name="description" content="Gestion annuaire">
|
|
<meta name="author" content="Serge NOEL">
|
|
<link href="vendor/twbs/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<?php echo '<script'; ?>
|
|
src="vendor/components/jquery/jquery.js" type="text/javascript"><?php echo '</script'; ?>
|
|
>
|
|
<link href="src/css/login.css" rel="stylesheet">
|
|
</head>
|
|
<?php if ((isset($_smarty_tpl->tpl_vars['error']->value))) {?>
|
|
<body onload="onLoad();">
|
|
<?php } else { ?>
|
|
<body >
|
|
<?php }?>
|
|
|
|
<div class="container">
|
|
<div style="float: left"></div>
|
|
<div id="loginbox" class="mainbox col-md-4 col-md-offset-4 col-sm-6 col-sm-offset-3">
|
|
<div class="panel panel-default panel-login">
|
|
<div class="panel-heading">
|
|
<h2 class="panel-title text-center">AD Access</h2>
|
|
</div>
|
|
<div class="panel-body" >
|
|
<form name="form" id="form" class="form-horizontal" enctype="multipart/form-data" method="POST" action='index.php'>
|
|
<img src="src/assets/Favicon.png" class="logo" alt="Logo">
|
|
<div class="input-group">
|
|
<span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
|
|
<input name="sLogin" id="sLogin" type="text" class="form-control" value="" placeholder="User">
|
|
</div>
|
|
<div class="input-group">
|
|
<span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span>
|
|
<input id="sPassword" type="password" class="form-control" name="sPassword" placeholder="Password">
|
|
</div>
|
|
<div class="form-group">
|
|
<!-- Button -->
|
|
<div class="col-sm-12 controls">
|
|
<button type="submit" href="#" class="btn btn-primary pull-right"><i class="glyphicon glyphicon-log-in"></i> Log in</button>
|
|
</div>
|
|
</div>
|
|
<input type='hidden' id='Action' name='Action' value='tryLogin' />
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php if ((isset($_smarty_tpl->tpl_vars['error']->value))) {?>
|
|
<div class="col-md-12"> </div>
|
|
<div class="col-md-12" id='bAlert'>
|
|
<div class="alert alert-dismissable alert-danger">
|
|
<h4><?php echo $_smarty_tpl->tpl_vars['error']->value;?>
|
|
</h4>
|
|
</div>
|
|
</div>
|
|
<?php }?>
|
|
</div>
|
|
|
|
|
|
<?php echo '<script'; ?>
|
|
type='text/javascript'>
|
|
|
|
<?php echo '</script'; ?>
|
|
>
|
|
</body>
|
|
</html><?php }
|
|
}
|