while ($post=$DB_site->fetch_array($posts) and $counter++<$perpage) { //stars hack include('stars.php');