コード例 #1
0
    $contratManager = new ContratManager($pdo);
    $clientManager = new ClientManager($pdo);
    $livraisonsManager = new LivraisonManager($pdo);
    $fournisseursManager = new FournisseurManager($pdo);
    $caisseManager = new CaisseManager($pdo);
    $caisseIaazaManager = new CaisseIaazaManager($pdo);
    $operationsManager = new OperationManager($pdo);
    $compteBancaire = new CompteBancaireManager($pdo);
    //classes and vars
    //users number
    $soldeCaisseAnnahda = $caisseManager->getTotalCaisseByType("Entree") - $caisseManager->getTotalCaisseByType("Sortie");
    $soldeCaisseIaaza = $caisseIaazaManager->getTotalCaisseByType("Entree") - $caisseIaazaManager->getTotalCaisseByType("Sortie");
    $projetNumber = $projetManager->getProjetsNumber();
    $usersNumber = $usersManager->getUsersNumber();
    $fournisseurNumber = $fournisseursManager->getFournisseurNumbers();
    $mailsNumberToday = $mailsManager->getMailsNumberToday();
    $mailsToday = $mailsManager->getMailsToday();
    $clientWeek = $clientManager->getClientsWeek();
    $clientNumberWeek = $clientManager->getClientsNumberWeek();
    $livraisonsNumber = $livraisonsManager->getLivraisonNumber();
    $livraisonsWeek = $livraisonsManager->getLivraisonsWeek();
    $livraisonsNumberWeek = $livraisonsManager->getLivraisonsNumberWeek();
    $operationsNumberWeek = $operationsManager->getOperationNumberWeek();
    ?>
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
	<meta charset="UTF-8" />