header('Content-Type: text/html; charset=utf-8');
#error_reporting(E_ALL);
#ini_set('display_errors', '1');
$onelaunch = 1;
session_start();
include("db.php");
include("metas.php");
include("header2.php");
?>
$stmt = $pdodb->prepare("UPDATE LOW_PRIORITY girls SET nvisitors=0 WHERE ID=:pid");
$stmt->bindParam(':pid', $_SESSION["uid"]);
$stmt->execute();
$stmt = $pdodb->prepare("SELECT girls.mainpic,girls.username,girls.country,girls.kinaddress, profilevisitors.visited FROM profilevisitors LEFT JOIN girls ON profilevisitors.mid=girls.ID WHERE profilevisitors.pid=:mid ORDER BY profilevisitors.visited desc LIMIT 50");
$stmt->bindParam(':mid',$_SESSION["uid"]);
$stmt->execute();
while($i3=$stmt->fetch()) {
$g++;
echo '
';
}
?>
include('footer.php');
?>