43 lines
1.6 KiB
PHP
43 lines
1.6 KiB
PHP
<?php
|
|
include_once(realpath(dirname(__FILE__)) . "/../../../fonctions/authplugins.php");
|
|
|
|
autorisation("statsplus");
|
|
|
|
|
|
include_once(realpath(dirname(__FILE__)) . "/Statsplus.class.php");
|
|
?>
|
|
|
|
<div id="contenu_int">
|
|
|
|
<p class="titre_rubrique">Statistiques</p>
|
|
|
|
|
|
<?php
|
|
|
|
if($_REQUEST['graph'] == ""){
|
|
?>
|
|
<a href="module.php?nom=statsplus&graph=ouverture">Ventes par an</a><br /><br />
|
|
<a href="module.php?nom=statsplus&graph=3mois">Ventes sur les 12 derniers mois</a><br /><br />
|
|
<a href="module.php?nom=statsplus&graph=heures">Ventes par heures</a><br /><br />
|
|
<a href="module.php?nom=statsplus&graph=jours">Ventes par jour</a><br /><br />
|
|
<a href="module.php?nom=statsplus&graph=clients">Clients</a><br /><br />
|
|
<a href="module.php?nom=statsplus&graph=commandes">Produits</a><br /><br />
|
|
<a href="module.php?nom=statsplus&graph=paiements">Paiements</a>
|
|
<?php
|
|
} else {
|
|
|
|
switch($_REQUEST['graph']){
|
|
case 'ouverture' : include("../client/plugins/statsplus/admin/ouverture.php"); break;
|
|
case '3mois' : include("../client/plugins/statsplus/admin/3mois.php"); break;
|
|
case 'heures' : include("../client/plugins/statsplus/admin/heures.php"); break;
|
|
case 'jours' : include("../client/plugins/statsplus/admin/jours.php"); break;
|
|
case 'produits' : include("../client/plugins/statsplus/admin/produits.php"); break;
|
|
case 'commandes' : include("../client/plugins/statsplus/admin/commandes.php"); break;
|
|
case 'clients' : include("../client/plugins/statsplus/admin/clients.php"); break;
|
|
case 'paiements' : include("../client/plugins/statsplus/admin/paiements.php"); break;
|
|
}
|
|
|
|
}
|
|
?>
|
|
|
|
</div>
|