isLoggedIn()) { header('location: /login'); exit; } $himsgs = [ "Hello", "What's up", "How you doing", "Ayo", "Hola", "Welcome", "Welcome back", "Hi", "Hey", "Heyyo", "Howdy", "Hi there", "Ahoy", "Ay", "Sup", "Wassup" ]; $himsg = array_rand($himsgs); $himsg = $himsgs[$himsg]; $getitstarted = new PartyStarter; $getitstarted->header(); ?> <?php echo $pagename; ?> | <?php echo $sitename; ?>


, getUsername()); ?>!

Friends (prepare("SELECT count(*) FROM users");$q->execute();echo $q->fetchColumn(); ?>)

See all
prepare(str_replace('allStar', 'count(*)', $sql)); $q->execute(); $numberOfGames = $q->fetchColumn(); $q = $con->prepare(str_replace('allStar', '*', $sql)); $q->execute(); if ($numberOfGames >= 1) { while ($usr = $q->fetch()) { ?>

Recently played

See all
prepare(str_replace('allStar', 'count(*)', $sql)); $q->execute(); $numberOfGames = $q->fetchColumn(); $q = $con->prepare(str_replace('allStar', '*', $sql)); $q->execute(); if ($numberOfGames >= 1) { while ($game = $q->fetch()) { $playingCount = 69; ?> "; } else { echo "


You haven't played any games, why not play one.

";} ?>