execute(); $query = $stmt->get_result(); $group = mysqli_fetch_array($query); $image_list = array_reverse(explode(" ", $group['image_list'])); } } ?>

get_user_info($conn, $group['author']); if (isset($user['username'])) { echo "

By: ".$user['username']."

"; } else { echo "

By: Deleted User

"; } $upload_time = new DateTime($group['created_on']); echo "

Created at: ".$upload_time->format('d/m/Y H:i:s T')."

"; ?>

Last Modified: time($group['last_modified']); ?>

is_admin($conn, $_SESSION['id'])) { $privilaged = True; } else { $privilaged = False; } if (isset($_GET['mode']) && $_GET['mode'] == "edit") { if (!$privilaged) header("Location: group.php?id=".$_GET['id']); echo ""; ?> "; while ($image = mysqli_fetch_array($image_request)) { if (in_array($image['id'], $image_list)) { echo ""; } else { echo ""; } } echo ""; echo "Back"; } else { if ($privilaged) echo "Edit"; } ?>
"; } else { echo ""; } } ?> NSFW "; } else { echo ""; } } } } ?>