select( 'utilisateurs', 'id, email', "login='$user' AND password='$pwd' AND idClient=1 AND actif=1 AND deleted=0"); $_SESSION['userId']=$tabTmp[0][0]; $_SESSION['userMail']=$tabTmp[0][1]; if ( $_SESSION['userId'] ) {//&& $_SESSION['auth']) { $authorized = true; } } else { //if (isset($_GET["login"]) && (! $authorized)) { header('WWW-Authenticate: Basic Realm="Login please"'); header('HTTP/1.0 401 Unauthorized'); $_SESSION['auth'] = true; print('Login now or forever hold your clicks...'); exit; } if (!$authorized) { ?>
Mois/Année | Requêtes | Total HT |
=sprintf('%02s',$tabConso['mois']).'/'.$tabConso['annee']?> | =number_format($tabConso['nb'],0,'.',' ')?> | =number_format(150+($tabConso['nb']*0.028),2,'.',' ')?> € |
Mois/Année | Nb Suivis | Total Suivis HT |
=sprintf('%02s',$tabConso['mois']).'/'.$tabConso['annee']?> | =number_format($tabConso['nb'],0,'.',' ')?> | =number_format($tabConso['nb']*5.2,2,'.',' ')//4.5?> € |
Mois/Année | Nb Kbis | Nb Priv. | Total HT |
=$moisAnnee?> | =number_format($nb,0,'.',' ')?> | =number_format(@$tabPriv[$moisAnnee]*1,0,'.',' ')?> | =number_format($nb*4.55+@$tabPriv[$moisAnnee]*4.55,2,'.',' ')//4.5?> € |
Mois/Année | Nb Actes Pdf | Nb Bilans Pdf | Nb Commandes | Nb Bilans Txt | Total HT |
=$moisAnnee?> | =number_format($nb,0,'.',' ')?> | =number_format(@$tabBil[$moisAnnee]*1,0,'.',' ')?> | =number_format(@$tabCmd[$moisAnnee]*1,0,'.',' ')?> | =number_format(@$tabBiS[$moisAnnee]*1,0,'.',' ')?> | =number_format($nb*3.5+@$tabBil[$moisAnnee]*3.5+@$tabBiS[$moisAnnee]*1.5+@$tabCmd[$moisAnnee]*4.88,2,'.',' ')//4.5?> € |