" ;
if ($jmois==1) { echo $van ; } ;
echo " | " ;
$choix = $van."*".$vmois."*" ;
echo "$nmois | " ;
echo " $nbpa | " ;
echo " $pct % | " ;
$qry = "select min(cote) $debq2 and source=\"ebay\")" ;
$res = mysql_query("$qry") ;
$ligr = mysql_fetch_array($res) ;
$cmin = $ligr["min(cote)"] ;
$qry = "select max(cote) $debq2 and source=\"ebay\")" ;
$res = mysql_query("$qry") ;
$ligr = mysql_fetch_array($res) ;
$cmax = $ligr["max(cote)"] ;
$qry = "select avg(cote) $debq2 and source=\"ebay\")" ;
$res = mysql_query("$qry") ;
$ligr = mysql_fetch_array($res) ;
$cmoy = $ligr["avg(cote)"] ;
$cmoz = round($cmoy) ;
$qry = "select count(email) $debq2 and source=\"ebay\")" ;
$res = mysql_query("$qry") ;
$ligr = mysql_fetch_array($res) ;
$eby = round(100*$ligr["count(email)"]/$nbst) ;
$qry = "select count(email) $debq2 and source=\"ebazar\")" ;
$res = mysql_query("$qry") ;
$ligr = mysql_fetch_array($res) ;
$ebz = round(100*$ligr["count(email)"]/$nbst) ;
$fcmin = sprintf("%3d",$cmin) ;
$fcmax = sprintf("%5d",$cmax) ;
$fcmoy = sprintf("%5d",$cmoz) ;
$feby = sprintf("%5d",$eby) ;
$febz = sprintf("%5d",$ebz) ;
echo "$fcmin | " ;
echo "$fcmax | " ;
echo "$fcmoy | " ;
echo "$feby | " ;
echo "$febz | " ;
echo "
" ;
} ; # finsi sur $nbpa>0
$imois-- ;
} ; # fin de tant que sur $imois
$ian-- ;
} ; # fin de tant que sur $ian
echo "