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 | foreach (@$tabPages as $page) { /*switch ($page) { case 'competences': $page='Comp.'; break; case 'dirigeants': $page='Diri.'; break; case 'etablissements': $page='Etabs'; break; case 'commandeAsso': $page='Asso'; break; case 'redirection_gmap':$page='Gmap'; break; case 'international_identi':$page='Graydon';break; case 'enqueteDemNF': $page='Enquetes';break; case 'greffe_': case 'greffe_statuts': case 'greffe_actes': $page='Actes'; break; case 'greffe_bilans': $page='Bilans'; break; case 'avis_situation': $page='Avis'; break; case 'bilans': $page='Liasse'; break; case 'rsynthese': case 'rsynthesemin': $page=''; break; }*/ //synthese commandeAsso enqueteDemNF greffe_statuts //kbis privileges redirection_gmap scorecsf international_identi flux indiscore2 //indiscore3 greffe_ liassexls if ($page<>'') { ?>=@trim($page)?> | } } ?>|
=$moisAnnee?> | $total=0; foreach (@$tabPages as $page) { $ignore=false; /*switch ($page) { case 'rsynthese': $page='indiscore3'; @$tabConso[$page]+=@$tabConso['rsynthese']; $ignore=true; break; case 'rsynthesemin': $page='indiscore2'; @$tabConso[$page]+=@$tabConso['rsynthesemin']; $ignore=true; break; case 'greffe_': $page='greffe_actes'; @$tabConso[$page]+=@$tabConso['greffe_']; $ignore=true; break; case 'greffe_statuts': $page='greffe_actes'; @$tabConso[$page]+=@$tabConso['greffe_statuts']; $ignore=true; break; }*/ $total+=@$tabConso[$page]*1; if (!$ignore) { ?>=@number_format($tabConso[$page]*1,0,'.',chr(160))?> | } } echo ''.number_format($total,0,'.',chr(160)).' |