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"; } ?>