if (!empty($_GET['collageid']) && is_number($_GET['collageid'])) { $CollageID = $_GET['collageid']; } if (!is_number($CollageID)) { error(0); } $DB->query("SELECT Name, Description, TagList, UserID, CategoryID, Locked, MaxGroups, MaxGroupsPerUser, Featured FROM collages WHERE ID='$CollageID'"); list($Name, $Description, $TagList, $UserID, $CategoryID, $Locked, $MaxGroups, $MaxGroupsPerUser, $Featured) = $DB->next_record(); $TagList = implode(', ', explode(' ', $TagList)); if ($CategoryID == 0 && $UserID != $LoggedUser['ID'] && !check_perms('site_collages_delete')) { error(403); } View::show_header('Edit collage'); if (!empty($Err)) { if (isset($ErrNoEscape)) { echo '
'; } else { echo ' '; } } ?>