header('Content-Type: text/html; charset=utf-8');
#error_reporting(E_ALL);
#ini_set('display_errors', '1');
$onelaunch = 1;
session_start();
include("../db.php");
// coupon sender through nostr by regional offers. everybody can add
$dt = "Ganadoras guapas.org";
$dd = "Ganadoras guapas.org";
include("../metas.php");
$ads = 1;
$hidefeatured = 1;
include("../header2.php");
if($_REQUEST["invite"] <> ""){
$_SESSION["invite"] = $_REQUEST["invite"];
}
?>
if($_REQUEST["country"] <> ""){
$stmt = $pdodb->prepare("SELECT ID,mainpic,username,country,kinaddress,bday,bmonth,byear,tviews,views FROM girls WHERE country=:country ORDER BY views desc LIMIT 100");
$stmt->bindParam(':country',$_REQUEST["country"]);
$stmt->execute();
}else{
$stmt = $pdodb->prepare("SELECT girls.ID,girls.mainpic,girls.username,girls.country,girls.kinaddress,girls.bday,girls.bmonth,girls.byear,girls.tviews,girls.views FROM winners LEFT JOIN girls on winners.mid=girls.ID ORDER BY views desc LIMIT 100");
$stmt->execute();
}
while($i3=$stmt->fetch()) {
$g++;
echo '
';
}
?>
include('../footer.php');
?>