compte archivables
This commit is contained in:
parent
de67ee3876
commit
346fb6e04b
38
admin/index.php
Normal file
38
admin/index.php
Normal file
@ -0,0 +1,38 @@
|
||||
<?php
|
||||
// Menu principal de Winlog
|
||||
header ('Content-Type: text/html; charset=utf-8');
|
||||
include_once('libhome.php');
|
||||
include_once('winlog_admin_conf.php');
|
||||
include_once('connexions.php');
|
||||
|
||||
$username = phpCAS::getUser();
|
||||
|
||||
// archive les connexions de la veille
|
||||
$nb_archives = ArchiveConnexions();
|
||||
$msg_archive = "";
|
||||
if ($nb_archives > 0) {
|
||||
$msg_archive = "{$nb_archives} connexions viennent d'être archivées.";
|
||||
}
|
||||
|
||||
?>
|
||||
<!DOCTYPE HTML>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<title>Winlog</title>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" media="screen" type="text/css" title="default" href="default.css">
|
||||
</head>
|
||||
<body>
|
||||
<p class="header">WINLOG</p>
|
||||
<p>compte : <?php echo($username); ?><br/>rôle : </p>
|
||||
<div class="menu"><a href="salles_live.php">Connexion Windows en cours dans les salles</a></div>
|
||||
<div class="menu"><a href="">Connexion Wifi en cours</a></div>
|
||||
<br/>
|
||||
<br/>
|
||||
<br/>
|
||||
<div class="menu"><a href="recup_comptes.php">Rechargement des comptes</a></div>
|
||||
<div class="menu"><a href="recup_salles.php">Rechargement des salles</a></div>
|
||||
<p id="msg_archive"><?php echo($msg_archive); ?></p>
|
||||
<p class="footer">version <?php echo($winlog_version); ?></p>
|
||||
</body>
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user