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 '
'.$Err.'
'; } else { echo '
'.display_str($Err).'
'; } } ?>

Edit collage

0 || check_perms('site_collages_delete')) { ?>
Name
Category
Description
Tags
Featured />
Locked />
Max groups
Max groups per user