Sexy update, yes yes.
This commit is contained in:
parent
4bc68b299e
commit
ef667b8055
|
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
require_once(__DIR__."/core/config.php");
|
||||
require_once(__DIR__."/core/classes.php");
|
||||
|
||||
die(getChildren());
|
||||
|
|
@ -1,11 +1,6 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
|
||||
require_once 'core/classes.php';
|
||||
headStart();
|
||||
require_once 'core/classes.php';
|
||||
require_once 'core/classes/user.php';
|
||||
if (isset($_SESSION['user'])) {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
require_once('../core/config.php');
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
|
|
@ -11,8 +11,8 @@ if($maintenance && $pagename !== "Maintenance") {
|
|||
<head>
|
||||
<?php
|
||||
|
||||
require_once 'core/classes.php';
|
||||
require_once 'core/classes/user.php';
|
||||
require_once('../core/classes.php');
|
||||
require_once('../core/classes/user.php');
|
||||
if(isset($_SESSION['user'])) {
|
||||
$user = new User($con, $_SESSION['user']);
|
||||
$loggedIn = true;
|
||||
|
|
@ -53,17 +53,26 @@ $offset = $page * $limit;
|
|||
<tr class="border">
|
||||
<th scope="col" class="border">ID</th>
|
||||
<th scope="col" class="border">User</th>
|
||||
<th scope="col" class="border">Dood</th>
|
||||
<th scope="col" class="border">Date registered</th>
|
||||
<th scope="col" class="border">Money</th>
|
||||
<th scope="col" class="border">Admin</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$users = Array("");
|
||||
foreach ($users as $user) { ?>
|
||||
$q = $con->prepare("SELECT * FROM users");
|
||||
//$q->bindParam(':name',$_POST['name']);
|
||||
$q->execute();
|
||||
$users = $q->fetchAll();
|
||||
foreach ($users as $user) {
|
||||
$sUser = New User($con, $user['id']);
|
||||
?>
|
||||
<tr style="vertical-align: middle;">
|
||||
<th scope="row">1</th>
|
||||
<td><img class="rounded-5 me-1" height=32 width=32 src="assets/renders/user/headshot?userId=1">qzip</td>
|
||||
<td>sex</td>
|
||||
<th scope="row"><?php echo $user['id']; ?></th>
|
||||
<td><img class="rounded-5 me-1" height=32 width=32 src="/assets/renders/user/headshot?userId=<?php echo $user['id']; ?>"><?php echo $user['username']; ?></td>
|
||||
<td><?php echo $user['date']; ?></td>
|
||||
<td><?php echo $sUser->getMoney(true)." (".$sUser->getMoney(false).")"; ?></td>
|
||||
<?php if($user['admin'] == 1) { echo "<td>True</td>"; } else { echo "<td>False</td>"; } ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
|
|
@ -0,0 +1,133 @@
|
|||
<?php
|
||||
// banned.php by qzip, pls no remove or i will remove your spinal cord.
|
||||
require_once 'core/classes.php';
|
||||
headStart();
|
||||
|
||||
require_once 'core/classes/User.php';
|
||||
require_once 'core/config.php';
|
||||
|
||||
$getitstarted = new PartyStarter;
|
||||
$getitstarted->header();
|
||||
|
||||
// Now here the fun starts...
|
||||
// Basically I will make the text change by the severity of the ban, it could be just a warning so I'm gonna rename it.
|
||||
|
||||
$ban = Array(
|
||||
"title" => "Warning",
|
||||
"description" => "Our content monitors have determined that your behavior at Roblox has been in violation
|
||||
of our Terms of Service. We will terminate your account if you do not abide by the rules.",
|
||||
"time" => date('m/d/Y H:i:s A'),
|
||||
"note" => "robus."
|
||||
);
|
||||
$query = $con->prepare('SELECT * FROM owned WHERE user=:user');
|
||||
$query->bindParam(':user', $_SESSION['user']);
|
||||
$query->execute();
|
||||
$ban = $query->fetchAll();
|
||||
|
||||
$possibleFilters = [
|
||||
"hats",
|
||||
"shirts",
|
||||
"tshirts",
|
||||
"pants",
|
||||
"gears",
|
||||
"packages",
|
||||
"heads",
|
||||
"torso",
|
||||
"leftarm",
|
||||
"rightarm",
|
||||
"leftleg",
|
||||
"rightleg"
|
||||
];
|
||||
|
||||
if(isset($_GET["filter"])) {
|
||||
$filter = $_GET["filter"];
|
||||
if(!in_array($filter,$possibleFilters)) {
|
||||
$filter = NULL;
|
||||
}
|
||||
} else {
|
||||
$filter = NULL;
|
||||
}
|
||||
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-bs-theme="dark">
|
||||
<head>
|
||||
<title><?php echo $pagename; ?> | <?php echo $sitename; ?></title>
|
||||
</head>
|
||||
<body>
|
||||
<main class="container-fluid w-75" style="height: 90vh;">
|
||||
|
||||
<div class="mx-auto mt-4">
|
||||
<h1 class="text-center">Avatar Customizer</h1>
|
||||
<div class="row row-cols-auto">
|
||||
<div class="col col-md-8 col-xl mx-auto mb-4">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<img class="d-block mx-auto img-fluid" src="http://grublox.test/assets/renders/user/fullbody?userId=1">
|
||||
<button onclick="render()" class="btn btn-primary mt-2 me-2 position-absolute top-0 end-0"><i class="bi bi-arrow-clockwise me-1"></i>Render</button>
|
||||
</img>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-8 mx-auto">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="nav-item">
|
||||
<a href="?" class="nav-link <?php if($filter == null) { echo "active"; } ?>">All categories</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="?filter=hats" class="nav-link <?php if($filter == "hats") { echo "active"; } ?>">Hats</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="?filter=shirts" class="nav-link <?php if($filter == "shirts") { echo "active"; } ?>">Shirts</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="?filter=tshirts" class="nav-link <?php if($filter == "tshirts") { echo "active"; } ?>">T-shirts</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="?filter=pants" class="nav-link <?php if($filter == "pants") { echo "active"; } ?>">Pants</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="?filter=gears" class="nav-link <?php if($filter == "gears") { echo "active"; } ?>">Gears</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="?filter=packages" class="nav-link <?php if($filter == "packages") { echo "active"; } ?>">Packages</a>
|
||||
</li>
|
||||
<button class="nav-link text-start <?php if($filter == "heads" || $filter == "torso" || $filter == "leftarm" || $filter == "rightarm" || $filter == "leftleg" || $filter == "rightleg") { echo "active"; } ?>" type="button" data-bs-toggle="dropdown" aria-expanded="false">Body parts</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<a class="dropdown-item <?php if($filter == "heads") { echo "active"; } ?>" href="?filter=heads">Heads</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="dropdown-item <?php if($filter == "torso") { echo "active"; } ?>" href="?filter=torso">Torso</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="dropdown-item <?php if($filter == "leftarm") { echo "active"; } ?>" href="?filter=leftarm">Left arm</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="dropdown-item <?php if($filter == "rightarm") { echo "active"; } ?>" href="?filter=rightarm">Right arm</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="dropdown-item <?php if($filter == "leftleg") { echo "active"; } ?>" href="?filter=leftleg">Left leg</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="dropdown-item <?php if($filter == "rightleg") { echo "active"; } ?>" href="?filter=rightleg">Right leg</a>
|
||||
</li>
|
||||
</ul>
|
||||
<li class="nav-item ms-auto">
|
||||
<a href="/catalog" class="btn btn-info"><i class="bi bi-shop me-1"></i>Catalog</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<h4 class='text-muted text-center mb-4'><i class='bi bi-egg-fried' style='font-size: 6rem;'></i><br> Empty wardrobe.. get some clothes on dude.</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,11 +1,6 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
?>
|
||||
require_once 'core/classes.php';
|
||||
headStart();?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-bs-theme="dark">
|
||||
<head>
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
<?php
|
||||
require 'core/config.php';
|
||||
require 'core/classes/user.php';
|
||||
require 'core/classes/friendships.php';
|
||||
require dirname(__DIR__).'/core/config.php';
|
||||
require dirname(__DIR__).'/core/classes/user.php';
|
||||
require dirname(__DIR__).'/core/classes/friendships.php';
|
||||
// start soap
|
||||
require 'Assemblies/Roblox/Grid/Rcc/RCCServiceSoap.php';
|
||||
require 'Assemblies/Roblox/Grid/Rcc/Job.php';
|
||||
require 'Assemblies/Roblox/Grid/Rcc/LuaType.php';
|
||||
require 'Assemblies/Roblox/Grid/Rcc/LuaValue.php';
|
||||
require 'Assemblies/Roblox/Grid/Rcc/ScriptExecution.php';
|
||||
require 'Assemblies/Roblox/Grid/Rcc/Status.php';
|
||||
require dirname(__DIR__).'/Assemblies/Roblox/Grid/Rcc/RCCServiceSoap.php';
|
||||
require dirname(__DIR__).'/Assemblies/Roblox/Grid/Rcc/Job.php';
|
||||
require dirname(__DIR__).'/Assemblies/Roblox/Grid/Rcc/LuaType.php';
|
||||
require dirname(__DIR__).'/Assemblies/Roblox/Grid/Rcc/LuaValue.php';
|
||||
require dirname(__DIR__).'/Assemblies/Roblox/Grid/Rcc/ScriptExecution.php';
|
||||
require dirname(__DIR__).'/Assemblies/Roblox/Grid/Rcc/Status.php';
|
||||
$RCCServiceSoap = new Roblox\Grid\Rcc\RCCServiceSoap($soapcfg["ip"],$soapcfg["port"]);
|
||||
// end soap
|
||||
|
||||
|
|
@ -77,7 +77,8 @@ function jobOpened($jobId,$expirationInSeconds) {
|
|||
// Footer text
|
||||
"footer" => [
|
||||
"text" => $sitename." RCCService",
|
||||
"icon_url" => $site["url"]."/assets/renders/user/headshot?userId=1"
|
||||
//"icon_url" => $site["url"]."/assets/renders/user/headshot?userId=1"
|
||||
"icon_url" => "https://cdn.discordapp.com/icons/1021096726226026576/a_2c0842f8b21730b002d41002c9a44eaf.png"
|
||||
],
|
||||
|
||||
// Embed image
|
||||
|
|
@ -117,7 +118,47 @@ function jobOpened($jobId,$expirationInSeconds) {
|
|||
|
||||
], JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE );
|
||||
|
||||
discordmsg($msg, $webhook); // SENDS MESSAGE TO DISCORD
|
||||
return discordmsg($msg, $webhook); // SENDS MESSAGE TO DISCORD
|
||||
}
|
||||
|
||||
function getChildren() {
|
||||
return "Got 0 children, this isn't lua dumbass.";
|
||||
}
|
||||
|
||||
function isBanned() {
|
||||
require dirname(__DIR__).'/core/config.php';
|
||||
$query = $con->prepare('SELECT * FROM bans WHERE user=:user ORDER BY time DESC LIMIT 1');
|
||||
$query->bindParam(':user', $_SESSION['user']);
|
||||
$query->execute();
|
||||
$ban = $query->fetch();
|
||||
|
||||
if(!empty($ban)) {
|
||||
if($ban['ip'] == $_SERVER['REMOTE_ADDR'] && $ban['type'] == 4 || $ban['type'] == 4) {
|
||||
ob_end_clean();
|
||||
die('
|
||||
<html>
|
||||
<head>
|
||||
<meta text="You have been poison banned"></meta>
|
||||
<title>403 Forbidden</title></head>
|
||||
<body>
|
||||
<center><h1>403 Forbidden</h1></center>
|
||||
<hr><center>nginx</center>
|
||||
</body>
|
||||
</html>
|
||||
');
|
||||
} }
|
||||
|
||||
}
|
||||
|
||||
function headStart() {
|
||||
require dirname(__DIR__).'/core/config.php';
|
||||
ob_start();
|
||||
session_start();
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
isBanned();
|
||||
|
||||
}
|
||||
|
||||
class PartyStarter {
|
||||
|
|
@ -139,8 +180,8 @@ class PartyStarter {
|
|||
$alert = '<div class="alert alert-secondary mt-3 mx-3">'.$alert.'</div>';
|
||||
}
|
||||
// to not confuse you i renamed it from loggedoutheader to header since qzip made it both lol
|
||||
require 'core/config.php';
|
||||
$sitelogotohome = '<a class="navbar-brand" href="/"><span class="grufont fs-3">G </span><span class="gotham">'.$sitename.'</span></a>';
|
||||
require dirname(__DIR__).'/core/config.php';
|
||||
$sitelogotohome = '<a class="navbar-brand" href="/"><span class="grufont fs-3">G </span><span class="gotham fs-4">'.$sitename.'</span></a>';
|
||||
$showhome = '';
|
||||
$adminTab = " ";
|
||||
if (isset($_SESSION['user'])) {
|
||||
|
|
@ -183,7 +224,7 @@ class PartyStarter {
|
|||
$adminTab = " ";
|
||||
}
|
||||
|
||||
$sitelogotohome = '<a class="navbar-brand" href="/home"><span class="grufont fs-3">G </span><span class="gotham">'.$sitename.'</span></a>';
|
||||
$sitelogotohome = '<a class="navbar-brand" href="/home"><span class="grufont fs-3">G </span><span class="gotham fs-4">'.$sitename.'</span></a>';
|
||||
$user = new User($con, $_SESSION['user']);
|
||||
$money = $user->getMoney(false);
|
||||
|
||||
|
|
|
|||
|
|
@ -4,11 +4,13 @@ error_reporting(0);
|
|||
ini_set('extension', 'soap');
|
||||
// settingz
|
||||
|
||||
$settings = file_get_contents(dirname(__DIR__).'/settings.json');
|
||||
$settings = json_decode($settings, true);
|
||||
//daily pay aka mone
|
||||
$pay = 25;
|
||||
$pay = $settings['pay'];
|
||||
|
||||
// mentanacne jfdsdfj omg dont enable if not needed ok? thank.
|
||||
$maintenance = false;
|
||||
$maintenance = $settings['maintenance'];
|
||||
// atomic disaster button up here dont click pls
|
||||
// i swear to god dont enable..
|
||||
|
||||
|
|
@ -57,7 +59,8 @@ $site = [
|
|||
"url" => "https://".$_SERVER["HTTP_HOST"]
|
||||
];
|
||||
|
||||
$pagename = ucwords(str_replace("_", " ", str_replace(".php", "", str_replace("/", "", $_SERVER['DOCUMENT_URI'] ?? $_SERVER['PHP_SELF']))));
|
||||
//pagenam
|
||||
$pagename = ucwords(str_replace("_", " ", str_replace(".php", "", str_replace("/", " ", $_SERVER['DOCUMENT_URI'] ?? $_SERVER['PHP_SELF']))));
|
||||
|
||||
$maintainers = array("Mario1", "qzip", "nolanwhy");
|
||||
|
||||
|
|
|
|||
|
|
@ -1,16 +1,6 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html data-bs-theme="dark">
|
||||
<head>
|
||||
<?php
|
||||
|
||||
require_once 'core/classes.php';
|
||||
headStart();
|
||||
$placeprice = 10;
|
||||
|
||||
require_once 'core/classes.php';
|
||||
|
|
@ -39,13 +29,16 @@ $q->bindParam(':playerlimit',$_POST['playerlimit']);
|
|||
$q->bindParam(':creator',$_SESSION['user'],PDO::PARAM_INT);
|
||||
$q->execute();
|
||||
|
||||
header("Location: /games?uploaded=true);
|
||||
header("Location: /games?uploaded=true");
|
||||
exit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html data-bs-theme="dark">
|
||||
<head>
|
||||
</head>
|
||||
<title><?php echo $pagename; ?> | <?php echo $sitename; ?></title>
|
||||
<body>
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,11 +1,6 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
if($loggedIn) {
|
||||
require_once 'core/classes.php';
|
||||
headStart();if($loggedIn) {
|
||||
if (isset($_GET['client']) && $_GET['client'] == 2016 && $_GET['type'] == "player") {
|
||||
die(header("Location: /downloads/player-2016.zip"));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,6 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
?>
|
||||
require_once 'core/classes.php';
|
||||
headStart();?>
|
||||
<!DOCTYPE html>
|
||||
<html data-bs-theme="dark">
|
||||
<head>
|
||||
|
|
|
|||
|
|
@ -1,11 +1,6 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
|
||||
require_once 'core/classes.php';
|
||||
headStart();
|
||||
require_once 'core/classes.php';
|
||||
require_once 'core/classes/user.php';
|
||||
if(isset($_SESSION['user'])) {
|
||||
|
|
|
|||
|
|
@ -1,11 +1,6 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
?>
|
||||
require_once 'core/classes.php';
|
||||
headStart();?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-bs-theme="dark">
|
||||
<head>
|
||||
|
|
|
|||
|
|
@ -1,11 +1,6 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
require_once '../core/config.php';
|
||||
require_once 'core/classes.php';
|
||||
headStart();require_once '../core/config.php';
|
||||
require_once '../core/classes/user.php';
|
||||
|
||||
$privatekey = $gameSettings["privatekey"];
|
||||
|
|
|
|||
|
|
@ -1,11 +1,6 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
?>
|
||||
require_once 'core/classes.php';
|
||||
headStart();?>
|
||||
<!DOCTYPE html>
|
||||
<html data-bs-theme="dark">
|
||||
<head>
|
||||
|
|
|
|||
9
home.php
9
home.php
|
|
@ -1,11 +1,6 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
|
||||
require_once 'core/classes.php';
|
||||
headStart();
|
||||
require_once 'core/classes.php';
|
||||
require_once 'core/classes/user.php';
|
||||
$user = new User($con, $_SESSION['user'] ?? 0);
|
||||
|
|
|
|||
11
index.php
11
index.php
|
|
@ -1,11 +1,6 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
require_once 'core/classes.php';
|
||||
require_once 'core/classes.php';
|
||||
headStart();require_once 'core/classes.php';
|
||||
|
||||
$user = new User($con, 0);
|
||||
if($user->isLoggedIn()) {
|
||||
|
|
@ -41,7 +36,7 @@ body {
|
|||
|
||||
<div class="card shadow-sm bg-dark text-white text-center z-2">
|
||||
<div class="card-body">
|
||||
<h1><?php echo $sitename; ?></h1>
|
||||
<h1 class="gotham fs-1"><?php echo $sitename; ?></h1>
|
||||
<h3>the funny website with</h3>
|
||||
<a type="button" class="btn btn-secondary" href="/register">Register</a>
|
||||
<a type="button" class="btn btn-secondary" href="/login">Login</a>
|
||||
|
|
|
|||
9
item.php
9
item.php
|
|
@ -1,11 +1,6 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
|
||||
require_once 'core/classes.php';
|
||||
headStart();
|
||||
require_once 'core/classes.php';
|
||||
require_once 'core/classes/user.php';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,6 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
require_once 'core/classes.php';
|
||||
require_once 'core/classes.php';
|
||||
headStart();require_once 'core/classes.php';
|
||||
require_once 'core/classes/User.php';
|
||||
require_once 'core/config.php';
|
||||
|
||||
|
|
|
|||
|
|
@ -2,9 +2,12 @@
|
|||
ob_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
if($maintenance == false) {
|
||||
header("Location: /"
|
||||
);
|
||||
}
|
||||
require_once 'core/classes.php';
|
||||
isBanned();
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html data-bs-theme="dark">
|
||||
|
|
|
|||
|
|
@ -0,0 +1,79 @@
|
|||
<?php
|
||||
// banned.php by qzip, pls no remove or i will remove your spinal cord.
|
||||
require_once 'core/classes.php';
|
||||
headStart();
|
||||
|
||||
require_once 'core/classes/User.php';
|
||||
require_once 'core/config.php';
|
||||
|
||||
$getitstarted = new PartyStarter;
|
||||
$getitstarted->header();
|
||||
|
||||
// Now here the fun starts...
|
||||
// Basically I will make the text change by the severity of the ban, it could be just a warning so I'm gonna rename it.
|
||||
|
||||
$ban = Array(
|
||||
"title" => "Warning",
|
||||
"description" => "Our content monitors have determined that your behavior at Roblox has been in violation
|
||||
of our Terms of Service. We will terminate your account if you do not abide by the rules.",
|
||||
"time" => date('m/d/Y H:i:s A'),
|
||||
"note" => "robus."
|
||||
);
|
||||
$query = $con->prepare('SELECT * FROM bans WHERE user=:user ORDER BY time desc LIMIT 1');
|
||||
$query->bindParam(':user', $_SESSION['user']);
|
||||
$query->execute();
|
||||
$ban = $query->fetch();
|
||||
|
||||
if(empty($ban)) {
|
||||
die("no bans");
|
||||
}
|
||||
|
||||
if($ban['type'] == 1) {
|
||||
$ban['title'] = "Warning";
|
||||
$ban['description'] = "Our content monitors have determined that your behavior at ".$sitename." has been in violation
|
||||
of our <a href='iduko' class='text-decoration-none'>Terms of Service</a>. We will terminate your account if you do not abide by the rules.";
|
||||
} elseif($ban['type'] == 2) {
|
||||
$ban['title'] = "Banned for 1 day";
|
||||
$ban['description'] = "Our content monitors have determined that your behavior at ".$sitename." has been in violation
|
||||
of our <a href='iduko' class='text-decoration-none'>Terms of Service</a>. We will terminate your account if you do not abide by the rules.";
|
||||
} elseif($ban['type'] == 3) {
|
||||
$ban['title'] = "Banned for 7 days";
|
||||
$ban['description'] = "Our content monitors have determined that your behavior at ".$sitename." has been in violation
|
||||
of our <a href='iduko' class='text-decoration-none'>Terms of Service</a>.";
|
||||
} else {
|
||||
$ban['title'] = "Account deleted";
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-bs-theme="dark">
|
||||
<head>
|
||||
<title><?php echo $pagename; ?> | <?php echo $sitename; ?></title>
|
||||
</head>
|
||||
<body>
|
||||
<main class="container d-flex flex-column" style="height: 90vh;">
|
||||
<div class="border border-2 p-4 w-50 mx-auto mt-4">
|
||||
<h1><?php echo htmlspecialchars($ban['title']); ?></h1>
|
||||
|
||||
<p><?php echo htmlspecialchars($ban['description']); ?></p>
|
||||
|
||||
<p>Reviewed: <b><?php echo htmlspecialchars($ban['time']); ?></b></p>
|
||||
|
||||
<p>Moderator Note: <b><?php echo htmlspecialchars($ban['note']); ?></b></p>
|
||||
|
||||
<?php if(isset($ban['reason'])) { ?>
|
||||
<div class="border border-2 p-3" readonly contenteditable>
|
||||
<p>Reason: <b><?php echo $ban['reason']; ?></b> </p>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<p>Please abide by the <a href="idk" class="text-decoration-none"><?php echo $sitename; ?> Community Guidelines</a> so that <?php echo $sitename; ?> can be fun for all
|
||||
users.</p>
|
||||
|
||||
<p>You may re-activate your account by agreeing to our <a href="iduko" class="text-decoration-none">Terms of Service.</a></p>
|
||||
<div class="text-center">
|
||||
<a href="/" class="btn btn-primary">I agree</a>
|
||||
<a href="/logout" class="btn btn-secondary">Logout</a>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,11 +1,6 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
|
||||
require_once 'core/classes.php';
|
||||
headStart();
|
||||
require_once 'core/classes.php';
|
||||
require_once 'core/classes/user.php';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,6 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
require_once 'core/classes.php';
|
||||
require_once 'core/classes.php';
|
||||
headStart();require_once 'core/classes.php';
|
||||
require_once 'core/classes/User.php';
|
||||
require_once 'core/config.php';
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"maintenance": false,
|
||||
"pay": 25
|
||||
}
|
||||
|
|
@ -1,11 +1,6 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
?>
|
||||
require_once 'core/classes.php';
|
||||
headStart();?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-bs-theme="dark">
|
||||
<head>
|
||||
|
|
|
|||
9
user.php
9
user.php
|
|
@ -1,11 +1,6 @@
|
|||
<?php
|
||||
ob_start();
|
||||
session_start();
|
||||
require_once 'core/config.php';
|
||||
if($maintenance && $pagename !== "Maintenance") {
|
||||
header("Location: /maintenance"
|
||||
); }
|
||||
if (isset($_GET['3d'])) {
|
||||
require_once 'core/classes.php';
|
||||
headStart();if (isset($_GET['3d'])) {
|
||||
if ($_GET['3d']) {
|
||||
header("content-type: video/mp4");
|
||||
die(file_get_contents("assets/font/e.mp4"));
|
||||
|
|
|
|||
Loading…
Reference in New Issue