hauteur_pixels = 250; $maitre->epaisseur = 24; $maitre->espace = 4; $maitre->h_decalage = 5; $maitre->v_decalage = 5; $maitre->top = 5; $maitre->left = 8; if (($type=="") or ($type=="awf")){ $h1 = new TListeCouleur; $h1->init("rose1x1.jpg" , "série 1", array( $rowSite_8["top_AWF_categ3"]*1, $rowSite_7["top_AWF_categ3"]*1, $rowSite_6["top_AWF_categ3"]*1, $rowSite_5["top_AWF_categ3"]*1, $rowSite_4["top_AWF_categ3"]*1, $rowSite_3["top_AWF_categ3"]*1, $rowSite_2["top_AWF_categ3"]*1, $rowSite_1["top_AWF_categ3"]*1)); $maitre->add($h1); } if (($type=="") or ($type=="vote")){ $h2 = new TListeCouleur; $h2->init("violet1x1.jpg", "série 2", array( $rowSite_8["top_vote_categ3"]*1, $rowSite_7["top_vote_categ3"]*1, $rowSite_6["top_vote_categ3"]*1, $rowSite_5["top_vote_categ3"]*1, $rowSite_4["top_vote_categ3"]*1, $rowSite_3["top_vote_categ3"]*1, $rowSite_2["top_vote_categ3"]*1, $rowSite_1["top_vote_categ3"]*1)); $maitre->add($h2); } if (($type=="") or ($type=="visite")){ $h3 = new TListeCouleur; $h3->init("vert1x1.jpg" , "série 3", array( $rowSite_8["top_visite_categ3"]*1, $rowSite_7["top_visite_categ3"]*1, $rowSite_6["top_visite_categ3"]*1, $rowSite_5["top_visite_categ3"]*1, $rowSite_4["top_visite_categ3"]*1, $rowSite_3["top_visite_categ3"]*1, $rowSite_2["top_visite_categ3"]*1, $rowSite_1["top_visite_categ3"]*1)); $maitre->add($h3); } $maitre->run(true); // true: avec légende ob_end_flush(); } ?>