modified: about.php
modified: admin.php modified: catalog.php modified: core/classes.php modified: core/config.php modified: css/bootstrap.min.css modified: css/global.css modified: develop.php modified: download.php modified: error.php modified: friends.php modified: game/Join.php modified: games.php modified: getauthtoken.php modified: home.php modified: index.php modified: item.php modified: login.php modified: logout.php new file: maintenance.php modified: place.php modified: register.php modified: settings.php modified: user.php
This commit is contained in:
parent
8266b95c52
commit
14681b8ccf
|
|
@ -1,6 +1,10 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
|
||||
require_once 'core/classes.php';
|
||||
require_once 'core/classes/user.php';
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html data-bs-theme="dark">
|
||||
|
|
@ -33,7 +37,7 @@ $offset = $page * $limit;
|
|||
<body>
|
||||
<main class="container">
|
||||
<br>
|
||||
<h2> <?php echo $sitename; ?> Admin Panel </h2>
|
||||
<h2> <span class="grufont">G </span><span class="gotham"><?php echo strtoupper($sitename); ?></span> </span> Admin Panel </h2>
|
||||
<br>
|
||||
<div class="d-flex align-items-start">
|
||||
<div class="nav flex-column nav-pills me-3" id="v-pills-tab" role="tablist" aria-orientation="vertical">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-bs-theme="dark">
|
||||
|
|
@ -75,7 +79,7 @@ $getitstarted->header();
|
|||
<form role="search" class="float-end" class="w-75">
|
||||
<div class="input-group mb-3 shadow-sm">
|
||||
<input class="form-control rounded-end-0" type="search" placeholder="<?php if(is_array($random_search_array)) { echo htmlspecialchars($random_search_array[$random_search]); } else { echo "Search an item..."; }; ?>" name="search" aria-label="Search">
|
||||
<button id="search" type="submit" class="btn btn-primary rounded-start-0"><i class="bi bi-search"></i> Search</button>
|
||||
<button id="search" type="submit" class="btn btn-primary rounded-start-0 text-white"><i class="bi bi-search"></i> Search</button>
|
||||
</div>
|
||||
</form>
|
||||
<h2>Catalog</h2>
|
||||
|
|
|
|||
|
|
@ -99,8 +99,8 @@ class PartyStarter {
|
|||
|
||||
// messy shit sorry mario1 fix it urself :trol:
|
||||
$rightside = '
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text-dark" style="font-size: 1.1rem"><span class="grufont" style="font-size: 1.25rem">@ </span>'.$money.'</a>
|
||||
<li class="nav-item my-auto">
|
||||
<a class="nav-link text-dark"><span class="grufont" style="font-size: 1.25rem">@ </span>'.$money.'</a>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<button class="nav-link border-0 text-dark dropdown-toggle bg-transparent" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
|
|
@ -111,7 +111,7 @@ class PartyStarter {
|
|||
<ul class="dropdown-menu dropdown-menu-lg-end anim-dropdown" style="z-index: 3;">
|
||||
<li><a class="nav-link ms-2" href="/user"><span class="bi bi-person-circle"></span> Profile</a></li>
|
||||
<li><a class="nav-link ms-2" href="/settings"><span class="bi bi-gear"></span> Settings</a></li>
|
||||
<li><a class="nav-link ms-2" href="/friends"><span class="bi bi-person"></span> Friend requests</a></li>
|
||||
<li><a class="nav-link ms-2" href="/friends"><span class="bi bi-person"></span> Friends</a></li>
|
||||
<li><a class="nav-link ms-2" href="/logout"><span class="bi bi-box-arrow-right"></span> Logout</a></li>
|
||||
</ul>
|
||||
</li>';
|
||||
|
|
@ -133,7 +133,7 @@ class PartyStarter {
|
|||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js" integrity="sha384-oBqDVmMz9ATKxIep9tiCxS/Z9fNfEXiDAYTujMAeBAsjFuCZSmKbSSUnQlmh/jp3" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.min.js" integrity="sha384-mQ93GR66B00ZXjt0YO5KlohRA5SY2XofN4zfuZxLkoj1gXtW8ANNCe9d5Y3eG5eD" crossorigin="anonymous"></script>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css">
|
||||
<nav class="navbar navbar-expand-lg navbar-light sticky-top py-0" style="background-color: #ff7700;">
|
||||
<nav class="navbar navbar-expand-lg navbar-light sticky-top py-0 bg-primary" id="navbar">
|
||||
<div class="container-fluid">
|
||||
' . $grubloxlogotohome . '
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarColor03" aria-controls="navbarColor03" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
|
|
|||
|
|
@ -6,6 +6,11 @@ error_reporting(0);
|
|||
//daily pay aka mone
|
||||
$pay = 25;
|
||||
|
||||
// mentanacne jfdsdfj omg dont enable if not needed ok? thank.
|
||||
$maintenance = false;
|
||||
// atomic disaster button up here dont click pls
|
||||
// i swear to god dont enable..
|
||||
|
||||
$sitename = "Grublox";
|
||||
$version = 1.1;
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -22,6 +22,11 @@
|
|||
font-family: gotham;
|
||||
}
|
||||
|
||||
*:-moz-loading {
|
||||
background-color: #aaa;
|
||||
background-image: url(loading-animation.gif) center no-repeat;
|
||||
}
|
||||
|
||||
.anim-dropdown {
|
||||
animation: dropdown-anim 0.3s ease 0s 1 normal none;
|
||||
}
|
||||
|
|
@ -94,6 +99,12 @@ animation: loading-bootstrapper 1.5s ease-out 0.2s infinite normal forwards;
|
|||
}
|
||||
}
|
||||
|
||||
/* sex */
|
||||
.btn-primary {
|
||||
color: white;
|
||||
}
|
||||
|
||||
|
||||
/* hi do not skid css pls noob - quezip */
|
||||
|
||||
|
||||
|
|
|
|||
51
develop.php
51
develop.php
|
|
@ -1,12 +1,18 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html data-bs-theme="dark">
|
||||
<head>
|
||||
<?php
|
||||
|
||||
$placeprice = 20;
|
||||
|
||||
require_once 'core/classes.php';
|
||||
require_once 'core/classes/user.php';
|
||||
if(isset($_SESSION['user'])) {
|
||||
|
|
@ -18,14 +24,16 @@ $loggedIn = false;
|
|||
$getitstarted = new PartyStarter;
|
||||
$getitstarted->header();
|
||||
|
||||
if(isset($_GET['p'])) {
|
||||
$page = $_GET['p'];
|
||||
} else {
|
||||
$page = 1;
|
||||
if($loggedIn == true) {
|
||||
if($_POST['submit'] ?? "No" == "Create place" || isset($_FILES['userfile']['name']) || isset($_POST['name']) || isset($_POST['description']) || isset($_POST['playerlimit']) || $_POST['playerlimit'] >= 1 ) {
|
||||
if($user->getMoney('false') >= $placeprice) {
|
||||
$q = $con->prepare("UPDATE users SET money=money-:price WHERE id=:id");
|
||||
$q->bindParam(':id',$_SESSION['user'],PDO::PARAM_INT);
|
||||
$q->bindParam(':price',$placeprice,PDO::PARAM_INT);
|
||||
$q->execute();
|
||||
}
|
||||
}
|
||||
}
|
||||
$limit = 18;
|
||||
$page -= 1;
|
||||
$offset = $page * $limit;
|
||||
|
||||
?>
|
||||
</head>
|
||||
|
|
@ -36,7 +44,34 @@ $offset = $page * $limit;
|
|||
<h2> <?php echo $pagename; ?> </h2>
|
||||
<br>
|
||||
|
||||
<div class="card">
|
||||
<h5 class="card-header">Create a place</h5>
|
||||
<div class="card-body">
|
||||
<form action="" method="post">
|
||||
<div class="mb-3">
|
||||
<label for="formFile" class="form-label">Roblox Place File <small>(Must be .rbxl, since .rbxlx is in xml therefore larger by default)</small></label>
|
||||
<input class="form-control" type="file" name="file" id="formFile" required="">
|
||||
</div>
|
||||
|
||||
<div class="input-group mb-3">
|
||||
<span class="input-group-text" id="basic-addon1">Place name</span>
|
||||
<input type="text" class="form-control" name="name" placeholder="Lorem ipsum dolor sit amet." aria-describedby="basic-addon1" required="">
|
||||
</div>
|
||||
|
||||
<div class="input-group mb-3">
|
||||
<span class="input-group-text">Description</span>
|
||||
<textarea class="form-control" style="height: 6rem" required="" name="description" placeholder="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas sed mauris quis enim efficitur feugiat in sodales odio. Cras vehicula consectetur tellus. Nulla aliquet nulla a libero ultricies dignissim. Nullam sollicitudin orci eu massa dignissim eleifend. Maecenas hendrerit ex odio, quis euismod arcu egestas et. Duis nibh eros, volutpat ac purus non, sodales rutrum leo. Donec tempus erat sit amet blandit accumsan. Donec vel laoreet tellus." ></textarea>
|
||||
</div>
|
||||
|
||||
<div class="input-group flex-nowrap mb-3">
|
||||
<span class="input-group-text" id="addon-wrapping">Player limit</span>
|
||||
<input type="number" class="form-control" placeholder="1 to 50 players" name="playerlimit" required="">
|
||||
</div>
|
||||
<input type="submit" name="submit" class="btn btn-success" value="Create place">
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
if (isset($_GET['client']) && $_GET['client'] == 2016 && $_GET['type'] == "player") {
|
||||
die(header("Location: /downloads/player-2016.zip"));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
|
||||
require_once 'core/classes.php';
|
||||
require_once 'core/classes/user.php';
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-bs-theme="dark">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
require_once '../core/config.php';
|
||||
require_once '../core/classes/user.php';
|
||||
|
||||
|
|
|
|||
15
games.php
15
games.php
|
|
@ -1,6 +1,10 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html data-bs-theme="dark">
|
||||
|
|
@ -45,7 +49,7 @@ $random_search = array_rand($random_search_array, 1);
|
|||
<form role="search" class="w-75">
|
||||
<div class="input-group shadow-sm mt-1">
|
||||
<input class="form-control rounded-end-0" type="search" placeholder="<?php if(is_array($random_search_array)) { echo htmlspecialchars($random_search_array[$random_search]); } else { echo "Search a game..."; }; ?>" name="search" aria-label="Search">
|
||||
<button id="search" type="submit" class="btn btn-primary rounded-start-0"><i class="bi bi-search"></i> Search</button>
|
||||
<button id="search" type="submit" class="btn btn-primary rounded-start-0 text-white"><i class="bi bi-search"></i> Search</button>
|
||||
</div>
|
||||
</form>
|
||||
<?php
|
||||
|
|
@ -83,12 +87,7 @@ $random_search = array_rand($random_search_array, 1);
|
|||
<div class="card-body">
|
||||
<small class="card-title text-white" style="font-size: 1rem;"><?php echo htmlspecialchars($game["name"]); ?></small>
|
||||
<br>
|
||||
<small class="card-text text-muted"><?php echo (int)$playingCount; ?> playing</small>
|
||||
<div class="progress rounded-4 border border-secondary" style="margin-left: 20px; margin-top: 10px; margin-bottom: -10px; height: 8px; background: none;">
|
||||
<div class="progress-bar bg-secondary" role="progressbar" aria-label="Segment one" style="width: 21.5%" aria-valuenow="15" aria-valuemin="0" aria-valuemax="100"></div>
|
||||
</div>
|
||||
<i class="bi bi-hand-thumbs-up-fill text-secondary" style="font-size: 1rem; float: left; margin-top: -8px;"></i>
|
||||
</div>
|
||||
<small class="card-text text-muted"><?php echo (int)$playingCount; ?> playing</small> </div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,11 @@ require_once 'core/classes.php';
|
|||
require_once 'core/classes/user.php';
|
||||
header('content-type:plain/text');
|
||||
ob_start();
|
||||
session_start();
|
||||
session_start();
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
);
|
||||
}
|
||||
$user = new User($con, $_SESSION['user'] ?? 0);
|
||||
if(!$user->isLoggedIn()) {
|
||||
header('location: /login');
|
||||
|
|
|
|||
13
home.php
13
home.php
|
|
@ -1,6 +1,10 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
|
||||
require_once 'core/classes.php';
|
||||
require_once 'core/classes/user.php';
|
||||
|
|
@ -99,12 +103,7 @@ $getitstarted->header();
|
|||
<div class="card-body">
|
||||
<small class="card-title text-white" style="font-size: 1rem;"><?php echo htmlspecialchars($game["name"]); ?></small>
|
||||
<br>
|
||||
<small class="card-text text-muted"><?php echo (int)$playingCount; ?> playing</small>
|
||||
<div class="progress rounded-4 border border-secondary" style="margin-left: 20px; margin-top: 10px; margin-bottom: -10px; height: 8px; background: none;">
|
||||
<div class="progress-bar bg-secondary" role="progressbar" aria-label="Segment one" style="width: 21.5%" aria-valuenow="15" aria-valuemin="0" aria-valuemax="100"></div>
|
||||
</div>
|
||||
<i class="bi bi-hand-thumbs-up-fill text-secondary" style="font-size: 1rem; float: left; margin-top: -8px;"></i>
|
||||
</div>
|
||||
<small class="card-text text-muted"><?php echo (int)$playingCount; ?> playing</small> </div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
require_once 'core/classes.php';
|
||||
|
||||
$user = new User($con, 0);
|
||||
|
|
@ -33,7 +37,7 @@ body {
|
|||
</style>
|
||||
<title><?php echo $pagename; ?> | <?php echo $sitename; ?></title>
|
||||
<body data-bs-theme="dark">
|
||||
<div style="transform: translateY(20%);"class="col d-flex justify-content-center align-middle">
|
||||
<div style="transform: translateY(25%);" class="col d-flex justify-content-center align-middle">
|
||||
|
||||
<div class="card shadow-sm bg-dark text-white text-center z-2">
|
||||
<div class="card-body">
|
||||
|
|
|
|||
8
item.php
8
item.php
|
|
@ -1,6 +1,10 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
|
||||
require_once 'core/classes.php';
|
||||
require_once 'core/classes/user.php';
|
||||
|
|
@ -109,7 +113,7 @@ $getitstarted->header();
|
|||
<div class="card-body text-center">
|
||||
<div class="tab-content" id="v-pills-tabContent">
|
||||
<div class="tab-pane fade show active" id="comments" role="tabpanel" aria-labelledby="comments-tab" tabindex="0">soon commentz</div>
|
||||
<div class="tab-pane fade" id="trades" role="tabpanel" aria-labelledby="trades-tab" tabindex="0">idk if we adding trades..</div>
|
||||
<div class="tab-pane fade" id="trades" role="tabpanel" aria-labelledby="trades-tab" tabindex="0"><h4 class='text-muted text-center mb-4'><i class='bi bi-egg-fried' style='font-size: 6rem;'></i><br> Trades comin' soon...</h4></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
require_once 'core/classes.php';
|
||||
require_once 'core/classes/User.php';
|
||||
require_once 'core/config.php';
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
session_start();
|
||||
$_SESSION = array();
|
||||
unset($_SESSION);
|
||||
session_destroy();
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
71
place.php
71
place.php
|
|
@ -1,6 +1,10 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
|
||||
require_once 'core/classes.php';
|
||||
require_once 'core/classes/user.php';
|
||||
|
|
@ -18,19 +22,6 @@ $loggedIn = true;
|
|||
$loggedIn = false;
|
||||
}
|
||||
|
||||
function getMoney($money) {
|
||||
if ($money < 1000000) {
|
||||
// Anything less than a million
|
||||
return number_format($money);
|
||||
} else if ($money < 1000000000) {
|
||||
// Anything less than a billion
|
||||
return number_format($money / 1000000, 1) . 'M';
|
||||
} else {
|
||||
// At least a billion
|
||||
return number_format($money / 1000000000, 1) . 'B';
|
||||
}
|
||||
}
|
||||
|
||||
$q = $con->prepare("SELECT * FROM games WHERE id = :id");
|
||||
$q->bindParam(':id',$id,PDO::PARAM_INT);
|
||||
$q->execute();
|
||||
|
|
@ -99,7 +90,7 @@ $getitstarted->header();
|
|||
<div class="card-body">
|
||||
<div class="tab-content" id="v-pills-tabContent">
|
||||
<div class="tab-pane fade show active text-center" id="comments" role="tabpanel" aria-labelledby="comments-tab" tabindex="0">soon commentz</div>
|
||||
<div class="tab-pane fade text-center" id="trades" role="tabpanel" aria-labelledby="trades-tab" tabindex="0">gampeas</div>
|
||||
<div class="tab-pane fade text-center" id="trades" role="tabpanel" aria-labelledby="trades-tab" tabindex="0"><h4 class='text-muted text-center mb-4'><i class='bi bi-egg-fried' style='font-size: 6rem;'></i><br> Gamepasses may be added soon...</h4></div>
|
||||
<div class="tab-pane fade" id="servers" role="tabpanel" aria-labelledby="servers-tab" tabindex="0">
|
||||
<div class="card w-100">
|
||||
<div class="card-header">
|
||||
|
|
@ -108,55 +99,7 @@ $getitstarted->header();
|
|||
</button>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 my-auto" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
<a class="text-decoration-none" href="/user?id=<?php echo $item["creator"]; ?>"><img class="border border-1 rounded-5 me-2 mb-2" width=48 height=48 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>"></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
require_once 'core/classes.php';
|
||||
require_once 'core/classes/User.php';
|
||||
require_once 'core/config.php';
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-bs-theme="dark">
|
||||
|
|
|
|||
8
user.php
8
user.php
|
|
@ -1,6 +1,10 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
if (isset($_GET['3d'])) {
|
||||
if ($_GET['3d']) {
|
||||
header("content-type: video/mp4");
|
||||
|
|
@ -88,7 +92,7 @@ $getitstarted->header();
|
|||
<div class="card shadow-sm mb-4" style="height: 350px">
|
||||
<div class="card-body mx-auto">
|
||||
<img src="/assets/renders/user/fullbody?userId=1" height=350>
|
||||
<a href="?3d=true" class="btn btn-outline-gray position-absolute top-0 end-0 mt-2 me-2">3D</a>
|
||||
<a href="?3d=true" class="btn btn-secondary position-absolute top-0 end-0 mt-2 me-2">3D</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue