</div></form> </div> </div> <div class="box-body"> <a class="btn btn-app disabled" href="index.php?a=5&b=1"><i class="fa fa-users"></i>Adhérents<a> <a class="btn btn-app" href="index.php?a=5&b=2" /><i class="fa fa-clock-o"></i>Réservations</a> <a class="btn btn-app" href="index.php?a=5&b=3"><i class="fa fa-print"></i>Impressions</a> <a class="btn btn-app" href="index.php?a=5&b=5" /><i class="fa fa-ticket" ></i>Sessions</a> <a class="btn btn-app" href="index.php?a=5&b=4" /><i class="fa fa-keyboard-o" ></i>Ateliers</a> </div><!-- /.box-body --> </div><!-- /.box --> <?php if (getadherenttotal($epn)) { // condition pour affichage si pas d'adherents, message ! ?> <div class="box box-primary"> <div class="box-header"><i class="fa fa-bar-chart-o"></i><h3 class="box-title">Répartition Homme / Femme (<?php echo getCyberName($epn); ?> )</h3></div> <div class="box-body"> <dl class="dl-horizontal"> <dt>Actifs</dt><dd><span class="text-red"><?php echo countUser(2); ?> </span></dd> <dt>Inactifs</dt><dd><?php
*/ $year = date('Y'); $month = date('m'); // recuperation des tarifs disponibles $tarifs = getTarifs(1); //1= impressions // chargement des valeurs pour l'epn par défaut $epn = $_SESSION['idepn']; //si changment d'epn if (TRUE == isset($_POST['modifepn'])) { $epn = $_POST['Pepn']; } // Choix de l'epn ------------------------------------- $espaces = getAllEPN(); $nbuserimprim = getstatimprim($epn); $nbTotal = getadherenttotal($epn); $varimp = round($nbuserimprim * 100 / $nbTotal); //verification que le dossier images des stats existe. $dossierimg = "img/chart/" . $year; if (!is_dir($dossierimg)) { mkdir($dossierimg); } ?> <div class="row"><div class="col-md-6"> <div class="box box-primary"> <div class="box-header"><i class="fa fa-bar-chart-o"></i><h3 class="box-title">Paramètres</h3></div> <div class="box-body"> <form method="post" role="form"> <div class="input-group"><label>Changer d'espace</label><select name="Pepn" class="form-control pull-right" style="width: 210px;">