$prospectstatic=new Prospect($db); $prospectstatic->client=2; while ($i < min($num,$conf->liste_limit)) { $obj = $db->fetch_object($resql); $var=!$var; print '<tr '.$bc[$var].'>'; print '<td>'; $prospectstatic->id=$obj->rowid; $prospectstatic->nom=$obj->nom; $prospectstatic->status=$obj->status; print $prospectstatic->getNomUrl(1,'prospect'); print '</td>'; print "<td>".$obj->ville." </td>"; print "<td align=\"center\">$obj->departement</td>"; // Creation date print "<td align=\"center\">".dol_print_date($db->jdate($obj->datec))."</td>"; // Level print "<td align=\"center\">"; print $prospectstatic->LibLevel($obj->fk_prospectlevel); print "</td>"; // Statut print '<td align="center" nowrap="nowrap">'; print $prospectstatic->LibProspStatut($obj->fk_stcomm,2); print "</td>"; //$sts = array(-1,0,1,2,3);