<?php
$total=300;
$limite=25;
$tr=100;
$nbr=1;
$trTest=1;
$u=1;
$pctage=$tr/$limite;
$pctage=100/$pctage;
$colorNew="888888";
?>
<table width="400" align="right">
<tr bgstyle="color: #888888">
<td width="<?php echo $pctage.'%'; ?>">
<?php
for($i=1; $i<=($total); $i++){
if($nbr<=$limite){
echo $u.'<br>
';
$nbr++; $trTest++;
}else{
echo '
</td><td witdh="'.$pctage.'">
';
echo $u.'<br>
';
$nbr=2;
$trTest++;
}
if($trTest>$tr AND $u<$total){
echo '
</td></tr>
<tr bgstyle="color: #'.$colorNew.'"><td>
';
$trTest=1;
$nbr=1;
}
if($i>=$total){
echo '</td>';
}
$u++;
}
?>
</tr>
</table> 
Ecrit le 3-/-0/2005 par Sky
http://www.graphiks.net
Nous - Plan du site - Informations légale - Contact - © Graphiks.net