diff --git a/htdocs/index.php3 b/htdocs/index.php3 index df373b68065..fabd4f7238f 100644 --- a/htdocs/index.php3 +++ b/htdocs/index.php3 @@ -25,106 +25,12 @@ llxHeader(); print 'Utilisateur : ' . $user->prenom . ' ' . $user->nom .' ['.$user->code.']'; +?> +

+On verra plus tard ce que l'on pourra mettre sur cette belle page ;-) +query($sql) ) { - if ( $db->num_rows() ) { - $valeur = $db->result(0,0); - } - $db->free(); - } - return $valeur; -} -/* - * - */ -$db = new Db(); - -if ($db->ok) { - - print '

'; - - print ''; - - print '
'; - - print ''; - print ""; - print ""; - print "\n"; - - $sql = "SELECT count(*) FROM llx_propal WHERE fk_statut = 0"; - if (valeur($sql)) { - $var=!$var; - print ""; - } - - $sql = "SELECT count(*) FROM llx_propal WHERE fk_statut = 1"; - if (valeur($sql)) { - $var=!$var; - print ""; - } - - - print "
Propositions commerciales
Broullionsrouillons".valeur($sql)."
Ouvertes".valeur($sql)."

"; - /* - * Factures - * - */ - print ''; - print ""; - print ""; - print "\n"; - - - $sql = "SELECT count(*) FROM llx_facture WHERE paye=0"; - if (valeur($sql)) { - $var=!$var; - print ""; - } - print "
Factures
Factures en attente de paiement".valeur($sql)."

"; - /* - * - * - */ - - /* - * - * - */ - print '
'; - - print ''; - print ""; - print ""; - print "\n"; - - - $sql = "SELECT datea, label FROM llx_todocomm WHERE fk_user_author = $user->id"; - if (valeur($sql)) { - $i=0; - if ( $db->query($sql) ) { - while ($i < $db->num_rows() ) { - $obj = $db->fetch_object($i); - $var=!$var; - - print ""; - $i++; - } - $db->free(); - } - } - print "
Actions a faire
".$obj->datea."$obj->label

"; - - - print '
'; - - $db->close(); - -} -$Id = "Révision"; -llxFooter("$Id$"); +llxFooter("Dernière modification $Date$ révision $Revision$"); ?>