Version 1.12
This commit is contained in:
parent
2a066a7498
commit
de31cd3e9a
1373 changed files with 156282 additions and 45238 deletions
16
onyx2/include/admin/accueil.php
Normal file
16
onyx2/include/admin/accueil.php
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
if(!defined('INDEX')) { header('Location: ../'); exit; }
|
||||
|
||||
$pagea = 'accueil';
|
||||
$titre = 'Accueil administration';
|
||||
|
||||
$bdd = new BDD();
|
||||
$mail = $bdd->unique_query("SELECT COUNT(id) AS nombre FROM $table_ope_mail WHERE statut = 0;");
|
||||
$pilori = $bdd->unique_query("SELECT COUNT(id) AS nombre FROM $table_user WHERE mv > 1;");
|
||||
$news = $bdd->query("SELECT * FROM $table_ope_news ORDER BY id ASC LIMIT 3;");
|
||||
$bdd->deconnexion();
|
||||
|
||||
$template->assign('nbMail', $mail['nombre']);
|
||||
$template->assign('nbPilori', $pilori['nombre']);
|
||||
$template->assign('news', $news);
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue