sex
This commit is contained in:
parent
3d89b24f80
commit
3a2fccc9ef
28
admin.php
28
admin.php
|
|
@ -47,8 +47,32 @@ $offset = $page * $limit;
|
|||
<button class="nav-link" id="jobs-tab" data-bs-toggle="pill" data-bs-target="#jobs" type="button" role="tab" aria-controls="jobs" aria-selected="false">Jobs</button>
|
||||
<button class="nav-link" id="v-pills-settings-tab" data-bs-toggle="pill" data-bs-target="#v-pills-settings" type="button" role="tab" aria-controls="v-pills-settings" aria-selected="false">Settings</button>
|
||||
</div>
|
||||
<div class="tab-content" id="v-pills-tabContent">
|
||||
<div class="tab-pane fade show active" id="users" role="tabpanel" aria-labelledby="users-tab" tabindex="0">users table of contents go here lol</div>
|
||||
<div class="tab-content w-100" id="v-pills-tabContent">
|
||||
<div class="tab-pane fade show active" id="users" role="tabpanel" aria-labelledby="users-tab" tabindex="0">
|
||||
|
||||
<table class="table table-dark table-striped border">
|
||||
<thead>
|
||||
<tr class="border">
|
||||
<th scope="col" class="border">ID</th>
|
||||
<th scope="col" class="border">User</th>
|
||||
<th scope="col" class="border">Dood</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$users = Array("");
|
||||
foreach ($users as $user) { ?>
|
||||
<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>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
<div class="tab-pane fade" id="games" role="tabpanel" aria-labelledby="games-tab" tabindex="0">games to approve</div>
|
||||
<div class="tab-pane fade" id="catalog" role="tabpanel" aria-labelledby="catalog-tab" tabindex="0">catalog items to approve and add custom ones that users cantt add...</div>
|
||||
<div class="tab-pane fade" id="jobs" role="tabpanel" aria-labelledby="jobs-tab" tabindex="0">job execustionfg</div>
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ $q->bindParam(':id',$_SESSION['user'],PDO::PARAM_INT);
|
|||
$q->bindParam(':price',$placeprice,PDO::PARAM_INT);
|
||||
$q->execute();
|
||||
|
||||
$q = $con->prepare("INSERT INTO games (name, description, creator, players, state, thumbnail) VALUES (:name, :description, :playerlimit, :creator, 'pending', 'empty')");
|
||||
$q = $con->prepare("INSERT INTO games (name, description, creator, players, state) VALUES (:name, :description, :creator, :playerlimit, 'pending')");
|
||||
$q->bindParam(':name',$_POST['name']);
|
||||
$q->bindParam(':description',$_POST['description']);
|
||||
$q->bindParam(':playerlimit',$_POST['playerlimit']);
|
||||
|
|
@ -47,9 +47,7 @@ $q->execute();
|
|||
<title><?php echo $pagename; ?> | <?php echo $sitename; ?></title>
|
||||
<body>
|
||||
<main class="container">
|
||||
<br>
|
||||
<h2> <?php echo $pagename; ?> </h2>
|
||||
<br>
|
||||
<br><br>
|
||||
|
||||
<div class="card">
|
||||
<h5 class="card-header">Create a place</h5>
|
||||
|
|
@ -51,7 +51,7 @@ $getitstarted->header();
|
|||
<tbody>
|
||||
<tr style="vertical-align: middle;">
|
||||
<th scope="row">1</th>
|
||||
<td><img class="rounded-5" height=32 width=32 src="assets/renders/user/headshot?userId=1">qzip</td>
|
||||
<td><img class="rounded-5 me-1" height=32 width=32 src="assets/renders/user/headshot?userId=1">qzip</td>
|
||||
<td class="text-end">
|
||||
<div class="btn-group" role="group" aria-label="Basic example">
|
||||
<a class="btn btn-danger">Deny</a><a class="btn btn-success">Approve</a></td>
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ $random_search = array_rand($random_search_array, 1);
|
|||
<div class="col">
|
||||
<div class="card bg-dark border-start rounded shadow-sm" style="min-width: 140px; max-width: 220px; margin-right: 9px;">
|
||||
<a href="place?id=<?php echo (int)htmlspecialchars($game["id"]); ?>" style="text-decoration: none; text-align: left; margin-bottom: 9px;">
|
||||
<img src="<?php if (!empty($game["thumbnail"])) {echo htmlspecialchars($game["thumbnail"]);} else {echo "assets/placeholder.png";} ?>" class="card-img-top rounded-top" alt="<?php echo htmlspecialchars($game["name"]); ?>">
|
||||
<img src="<?php if (!empty($game["thumbnail"])) {echo htmlspecialchars($game["thumbnail"]);} else {echo "/assets/placeholder2.png";} ?>" class="card-img-top rounded-top" alt="<?php echo htmlspecialchars($game["name"]); ?>">
|
||||
<div class="card-body">
|
||||
<small class="card-title text-white" style="font-size: 1rem;"><?php echo htmlspecialchars($game["name"]); ?></small>
|
||||
<br>
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue