along with Archires. If not, see <http://www.gnu.org/licenses/>. -------------------------------------------------------------------------- */ include "../../../inc/includes.php"; if (!isset($_GET["id"])) { $_GET["id"] = ""; } if (isset($_GET["start"])) { $start = $_GET["start"]; } else { $start = 0; } $PluginArchiresLocationQuery = new PluginArchiresLocationQuery(); $PluginArchiresQueryType = new PluginArchiresQueryType(); if (isset($_POST["add"])) { $PluginArchiresLocationQuery->check(-1, 'w', $_POST); $PluginArchiresLocationQuery->add($_POST); Html::back(); } else { if (isset($_POST["delete"])) { $PluginArchiresLocationQuery->check($_POST['id'], 'w'); $PluginArchiresLocationQuery->delete($_POST); Html::redirect(Toolbox::getItemTypeSearchURL('PluginArchiresLocationQuery')); } else { if (isset($_POST["restore"])) { $PluginArchiresLocationQuery->check($_POST['id'], 'w'); $PluginArchiresLocationQuery->restore($_POST); Html::redirect(Toolbox::getItemTypeSearchURL('PluginArchiresLocationQuery')); } else { if (isset($_POST["purge"])) { $PluginArchiresLocationQuery->check($_POST['id'], 'w');