Renamed most pages to use the pagename variable.

This commit is contained in:
ui0ppk 2023-02-05 00:46:48 +02:00
parent e7772d11d2
commit 259a20bc4b
5 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@ $user = new User($con, $_SESSION['user']);
$getitstarted = new PartyStarter;
$getitstarted->header();
?> </head>
<title> <?php echo $sitename; ?> </title>
<title><?php echo $sitename; ?> | <?php echo $pagename; ?></title>
<body>
<main class="container" style="width: 100%;">
<br>

View File

@ -17,7 +17,7 @@ $getitstarted = new PartyStarter;
$getitstarted->header();
?>
</head>
<title><?php echo $sitename; ?> | games</title>
<title><?php echo $sitename; ?> | <?php echo $pagename; ?></title>
<body>
<main class="container" style="width: 100%; float: left; margin-left: 20px">
<br>

View File

@ -35,7 +35,7 @@ $getitstarted = new PartyStarter;
$getitstarted->header();
?>
</head>
<title><?php echo $sitename; ?></title>
<title><?php echo $sitename; ?> | <?php echo $pagename; ?></title>
<body>
<main class="container text-white" style="width: 100%;">
<br><br>

View File

@ -39,7 +39,7 @@ $result = file_get_contents("https://useless-facts.sameerkumar.website/api");
$thefunfact = json_decode($result);
?>
</head>
<title><?php echo $sitename; ?> | Login</title>
<title><?php echo $sitename; ?> | <?php echo $pagename; ?></title>
<body>
<div class="container position-absolute top-50 start-50 translate-middle">
<div class="row align-items-center">

View File

@ -64,7 +64,7 @@ $result = file_get_contents("https://useless-facts.sameerkumar.website/api");
$thefunfact = json_decode($result);
?>
</head>
<title><?php echo $sitename; ?> | Register</title>
<title><?php echo $sitename; ?> | <?php echo $pagename; ?></title>
<body>
<div class="container position-absolute top-50 start-50 translate-middle">
<div class="row align-items-center">