<?php $f ="clans/all.dat"; $general = @file($f); $lines = count($general); for ( $i = 0; $i <= $lines; $i++ ){ list($nenado,$nenado2,$nado)=explode('|', $general[$i]); if($nado < '100'){ break; } if($nado > ($lines / 100 * $nado)){ echo "<table width=100% cellpadding=2 cellspacing=1 class=forumline> <tr> <th width=62% colspan=2 class=thCornerL height=25 nowrap=nowrap>\"$nado\"</th> <th width=28% class=thCornerR nowrap=nowrap>s</th> </tr>"; } if($i==$lines){ $dont_registr = 'yes'; } } ?>