diff --git a/User.php b/User.php new file mode 100644 index 0000000..bcc0313 --- /dev/null +++ b/User.php @@ -0,0 +1,43 @@ + + + + +prepare("SELECT * FROM users WHERE id = :id"); +$q->bindParam(':id',$id,PDO::PARAM_INT); +$q->execute(); +$requestUser = $q->fetch(); +if(!$requestUser) { + die("go fuck yourself (no id"); // todo: redirect to 404 +} + +$getitstarted = new PartyStarter; +$getitstarted->header(); +?> + +<?php echo $sitename; ?> | <?php echo htmlspecialchars($requestUser["username"]); ?> + +

yeah im not hired to fucking make css/html -nolanwhy

+

welcome to 's profile!!!!!

+

his acc was created at +

thats all

+ +