prepare("SELECT ID FROM girls"); $stmt->execute(); $howmanyentries = $stmt->rowCount(); $pages = $howmanyentries/32 ; if($_REQUEST["page"] == ""){ $_REQUEST["page"] = 1; } $pages = ceil($pages); ?>
""){ $start = ($_REQUEST["page"]*32) - 32; }else{ $start = 0; } $stmt = $pdodb->prepare("SELECT fname,mainpic,views,country,city,username FROM girls WHERE approved > 0 ORDER by lastact desc LIMIT ".$start.",32"); $stmt->execute(); echo '
'; while($i3=$stmt->fetch()) { echo '
'; echo '
'.$i3["fname"].'
'.$i3["views"].' Seitenansichten
'.$i3["city"].'
'.$c_codes[$i3["country"]].' '; echo '
'; } echo '
'; ?>