0&&$valeurDe<=10; $type=rand(1,5); switch($type){ case $type==1; $objet[0]=$objtype1[rand(0,count($objtype1)-1)]." en ".$mattype1[rand(0,count($mattype1)-1)]; break; case $type==2; $objet[0]=$objtype2[rand(0,count($objtype2)-1)]." en ".$mattype1[rand(0,count($mattype1)-1)]; break; case $type==3; $objet[0]=$objtype3[rand(0,count($objtype3)-1)]." en ".$mattype9[rand(0,count($mattype9)-1)]; break; case $type==4; $objet[0]=$objtype4[rand(0,count($objtype4)-1)]." en ".$mattype12[rand(0,count($mattype12)-1)]; break; case $type==5; $objet[0]=$objtype5[rand(0,count($objtype5)-1)]." d".$arttype1[rand(0,count($arttype1)-1)]; break; } $objet[1]=rand(1,10)*10; break; case $valeurDe>=10&&$valeurDe<=25; $type=rand(1,5); switch($type){ case $type==1; $objet[0]=$objtype1[rand(0,count($objtype1)-1)]." en ".$mattype1[rand(0,count($mattype1)-1)]; break; case $type==2; $objet[0]=$objtype2[rand(0,count($objtype2)-1)]." en ".$mattype1[rand(0,count($mattype1)-1)]; break; case $type==3; $objet[0]=$objtype3[rand(0,count($objtype3)-1)]." en ".$mattype9[rand(0,count($mattype9)-1)]; break; case $type==4; $objet[0]=$objtype4[rand(0,count($objtype4)-1)]." en ".$mattype12[rand(0,count($mattype12)-1)]; break; case $type==5; $objet[0]=$objtype5[rand(0,count($objtype5)-1)]." d".$arttype1[rand(0,count($arttype1)-1)]; break; } $objet[1]=rand(3,18)*10; break; case $valeurDe>=26&&$valeurDe<=40; $type=rand(1,5); switch($type){ case $type==1; $objet[0]=$objtype1[rand(0,count($objtype1)-1)]." en ".$mattype1[rand(0,count($mattype1)-1)]." serti de plusieurs ".$gemmetype1[rand(0,count($gemmetype1)-1)]; break; case $type==2; $objet[0]=$objtype2[rand(0,count($objtype2)-1)]." en ".$mattype1[rand(0,count($mattype1)-1)]." serti de plusieurs ".$gemmetype1[rand(0,count($gemmetype1)-1)]; break; case $type==3; $objet[0]=$objtype3[rand(0,count($objtype3)-1)]." en ".$mattype9[rand(0,count($mattype9)-1)]; break; case $type==4; $objet[0]=$objtype4[rand(0,count($objtype4)-1)]." en ".$mattype12[rand(0,count($mattype12)-1)]." incrusté de ".$gemmetype1[rand(0,count($gemmetype1)-1)]; break; case $type==5; $objet[0]=$objtype5[rand(0,count($objtype5)-1)]." d".$arttype1[rand(0,count($arttype1)-1)]; break; } $objet[1]=rand(1,6)*100; break; case $valeurDe>=41&&$valeurDe<=50; $type=rand(1,5); switch($type){ case $type==1; $objet[0]=$objtype1[rand(0,count($objtype1)-1)]." en ".$mattype2[rand(0,count($mattype2)-1)]; break; case $type==2; $objet[0]=$objtype2[rand(0,count($objtype2)-1)]." en ".$mattype2[rand(0,count($mattype2)-1)]; break; case $type==3; $objet[0]=$objtype3[rand(0,count($objtype3)-1)]." en ".$mattype9[rand(0,count($mattype9)-1)]." orné de fil de ".$mattype4[rand(0,count($mattype4)-1)]; break; case $type==4; $objet[0]=$objtype4[rand(0,count($objtype4)-1)]." en ".$mattype13[rand(0,count($mattype13)-1)]; break; case $type==5; $objet[0]=$objtype5[rand(0,count($objtype5)-1)]." d".$arttype2[rand(0,count($arttype2)-1)]; break; } $objet[1]=rand(1,10)*100; break; case $valeurDe>=51&&$valeurDe<=60; $type=rand(1,5); switch($type){ case $type==1; $objet[0]=$objtype1[rand(0,count($objtype1)-1)]." en ".$mattype2[rand(0,count($mattype2)-1)]." serti de plusieurs ".$gemmetype2[rand(0,count($gemmetype2)-1)]; break; case $type==2; $objet[0]=$objtype2[rand(0,count($objtype2)-1)]." en ".$mattype2[rand(0,count($mattype2)-1)]." serti de plusieurs ".$gemmetype2[rand(0,count($gemmetype2)-1)]; break; case $type==3; $objet[0]=$objtype3[rand(0,count($objtype3)-1)]." en ".$mattype10[rand(0,count($mattype10)-1)]; break; case $type==4; $objet[0]=$objtype4[rand(0,count($objtype4)-1)]." en ".$mattype13[rand(0,count($mattype13)-1)]." incrusté de ".$gemmetype2[rand(0,count($gemmetype2)-1)]; break; case $type==5; $objet[0]=$objtype5[rand(0,count($objtype5)-1)]." d".$arttype2[rand(0,count($arttype2)-1)]; break; } $objet[1]=rand(2,12)*100; break; case $valeurDe>=61&&$valeurDe<=70; $type=rand(1,5); switch($type){ case $type==1; $objet[0]=$objtype1[rand(0,count($objtype1)-1)]." en ".$mattype2[rand(0,count($mattype2)-1)]." serti de plusieurs ".$gemmetype3[rand(0,count($gemmetype3)-1)]; break; case $type==2; $objet[0]=$objtype2[rand(0,count($objtype2)-1)]." en ".$mattype2[rand(0,count($mattype2)-1)]." serti de plusieurs ".$gemmetype3[rand(0,count($gemmetype3)-1)]; break; case $type==3; $objet[0]=$objtype3[rand(0,count($objtype3)-1)]." en ".$mattype10[rand(0,count($mattype10)-1)]; break; case $type==4; $objet[0]=$objtype4[rand(0,count($objtype4)-1)]." en ".$mattype13[rand(0,count($mattype13)-1)]." incrusté de ".$gemmetype3[rand(0,count($gemmetype3)-1)]; break; case $type==5; $objet[0]=$objtype5[rand(0,count($objtype5)-1)]." d".$arttype2[rand(0,count($arttype2)-1)]; break; } $objet[1]=rand(3,18)*100; break; case $valeurDe>=71&&$valeurDe<=80; $type=rand(1,5); switch($type){ case $type==1; $objet[0]=$objtype1[rand(0,count($objtype1)-1)]." en ".$mattype3[rand(0,count($mattype3)-1)]." serti de plusieurs ".$gemmetype2[rand(0,count($gemmetype2)-1)]; break; case $type==2; $objet[0]=$objtype2[rand(0,count($objtype2)-1)]." en ".$mattype3[rand(0,count($mattype3)-1)]." serti de plusieurs ".$gemmetype2[rand(0,count($gemmetype2)-1)]; break; case $type==3; $objet[0]=$objtype3[rand(0,count($objtype3)-1)]." en ".$mattype10[rand(0,count($mattype10)-1)]; break; case $type==4; $objet[0]=$objtype4[rand(0,count($objtype4)-1)]." en ".$mattype14[rand(0,count($mattype14)-1)]." incrusté de ".$gemmetype2[rand(0,count($gemmetype2)-1)]; break; case $type==5; $objet[0]=$objtype5[rand(0,count($objtype5)-1)]." d".$arttype3[rand(0,count($arttype3)-1)]; break; } $objet[1]=rand(4,24)*100; break; case $valeurDe>=81&&$valeurDe<=85; $type=rand(1,5); switch($type){ case $type==1; $objet[0]=$objtype1[rand(0,count($objtype1)-1)]." en ".$mattype3[rand(0,count($mattype3)-1)]." serti de plusieurs ".$gemmetype3[rand(0,count($gemmetype3)-1)]; break; case $type==2; $objet[0]=$objtype2[rand(0,count($objtype2)-1)]." en ".$mattype3[rand(0,count($mattype3)-1)]." serti de plusieurs ".$gemmetype3[rand(0,count($gemmetype3)-1)]; break; case $type==3; $objet[0]=$objtype3[rand(0,count($objtype3)-1)]." en ".$mattype10[rand(0,count($mattype10)-1)]." orné de fil de ".$mattype4[rand(0,count($mattype4)-1)]; break; case $type==4; $objet[0]=$objtype4[rand(0,count($objtype4)-1)]." en ".$mattype14[rand(0,count($mattype14)-1)]." incrusté de ".$gemmetype3[rand(0,count($gemmetype3)-1)]; break; case $type==5; $objet[0]=$objtype5[rand(0,count($objtype5)-1)]." d".$arttype3[rand(0,count($arttype3)-1)]; break; } $objet[1]=rand(5,30)*100; break; case $valeurDe>=86&&$valeurDe<=90; $type=rand(1,5); switch($type){ case $type==1; $objet[0]=$objtype1[rand(0,count($objtype1)-1)]." en ".$mattype3[rand(0,count($mattype3)-1)]." serti de plusieurs ".$gemmetype4[rand(0,count($gemmetype4)-1)]; break; case $type==2; $objet[0]=$objtype2[rand(0,count($objtype2)-1)]." en ".$mattype3[rand(0,count($mattype3)-1)]." serti de plusieurs ".$gemmetype4[rand(0,count($gemmetype4)-1)]; break; case $type==3; $objet[0]=$objtype3[rand(0,count($objtype3)-1)]." en ".$mattype11[rand(0,count($mattype11)-1)]; break; case $type==4; $objet[0]=$objtype4[rand(0,count($objtype4)-1)]." en ".$mattype14[rand(0,count($mattype14)-1)]." incrusté de ".$gemmetype4[rand(0,count($gemmetype4)-1)]; break; case $type==5; $objet[0]=$objtype5[rand(0,count($objtype5)-1)]." d".$arttype3[rand(0,count($arttype3)-1)]; break; } $objet[1]=rand(1,4)*1000; break; case $valeurDe>=91&&$valeurDe<=95; $type=rand(1,5); switch($type){ case $type==1; $objet[0]=$objtype1[rand(0,count($objtype1)-1)]." en ".$mattype4[rand(0,count($mattype4)-1)]." serti de plusieurs ".$gemmetype4[rand(0,count($gemmetype4)-1)]; break; case $type==2; $objet[0]=$objtype2[rand(0,count($objtype2)-1)]." en ".$mattype4[rand(0,count($mattype4)-1)]." serti de plusieurs ".$gemmetype4[rand(0,count($gemmetype4)-1)]; break; case $type==3; $objet[0]=$objtype3[rand(0,count($objtype3)-1)]." en ".$mattype11[rand(0,count($mattype11)-1)]; break; case $type==4; $objet[0]=$objtype4[rand(0,count($objtype4)-1)]." en ".$mattype15[rand(0,count($mattype15)-1)]." incrusté de ".$gemmetype4[rand(0,count($gemmetype4)-1)]; break; case $type==5; $objet[0]=$objtype5[rand(0,count($objtype5)-1)]." d".$arttype4[rand(0,count($arttype4)-1)]; break; } $objet[1]=rand(1,6)*1000; break; case $valeurDe>=96&&$valeurDe<=99; $type=rand(1,5); switch($type){ case $type==1; $objet[0]=$objtype1[rand(0,count($objtype1)-1)]." en ".$mattype4[rand(0,count($mattype4)-1)]." serti de plusieurs ".$gemmetype5[rand(0,count($gemmetype5)-1)]; break; case $type==2; $objet[0]=$objtype2[rand(0,count($objtype2)-1)]." en ".$mattype4[rand(0,count($mattype4)-1)]." serti de plusieurs ".$gemmetype5[rand(0,count($gemmetype5)-1)]; break; case $type==3; $objet[0]=$objtype3[rand(0,count($objtype3)-1)]." en ".$mattype11[rand(0,count($mattype11)-1)]; break; case $type==4; $objet[0]=$objtype4[rand(0,count($objtype4)-1)]." en ".$mattype15[rand(0,count($mattype15)-1)]." incrusté de ".$gemmetype5[rand(0,count($gemmetype5)-1)]; break; case $type==5; $objet[0]=$objtype5[rand(0,count($objtype5)-1)]." d".$arttype4[rand(0,count($arttype4)-1)]; break; } $objet[1]=rand(2,8)*1000; break; case $valeurDe==100; $type=rand(1,5); switch($type){ case $type==1; $objet[0]=$objtype1[rand(0,count($objtype1)-1)]." en ".$mattype4[rand(0,count($mattype4)-1)]." serti de plusieurs ".$gemmetype6[rand(0,count($gemmetype6)-1)]; break; case $type==2; $objet[0]=$objtype2[rand(0,count($objtype2)-1)]." en ".$mattype4[rand(0,count($mattype4)-1)]." serti de plusieurs ".$gemmetype6[rand(0,count($gemmetype6)-1)]; break; case $type==3; $objet[0]=$objtype3[rand(0,count($objtype3)-1)]." en ".$mattype11[rand(0,count($mattype11)-1)]." orné de fil de ".$mattype4[rand(0,count($mattype4)-1)]; break; case $type==4; $objet[0]=$objtype4[rand(0,count($objtype4)-1)]." en ".$mattype15[rand(0,count($mattype15)-1)]." incrusté de ".$gemmetype6[rand(0,count($gemmetype6)-1)]; break; case $type==5; $objet[0]=$objtype5[rand(0,count($objtype5)-1)]." d".$arttype4[rand(0,count($arttype4)-1)]; break; } $objet[1]=rand(2,12)*1000; break; } return $objet; } ?>