diff --git a/assets/renders/user/headshot.php b/assets/renders/user/headshot.php new file mode 100644 index 0000000..608382c --- /dev/null +++ b/assets/renders/user/headshot.php @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/renders/user/thumbnail.php b/assets/renders/user/thumbnail.php new file mode 100644 index 0000000..608382c --- /dev/null +++ b/assets/renders/user/thumbnail.php @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/config.php b/core/config.php index 7a96552..5b70c19 100644 --- a/core/config.php +++ b/core/config.php @@ -1,8 +1,16 @@ header();


- - , getUsername(); ?>! + + , getUsername()); ?>!

Friends (2)

- + 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()) { ?> - - +
diff --git a/user.php b/user.php index ff356b8..0ba357a 100644 --- a/user.php +++ b/user.php @@ -42,7 +42,7 @@ $getitstarted->header();