You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
310 B
18 lines
310 B
<?php
|
|
require_once './config.php';
|
|
|
|
|
|
use app\models\MultigroupPosters;
|
|
|
|
$page = new AdminPage();
|
|
|
|
if (isset($_GET['id']))
|
|
{
|
|
MultigroupPosters::remove(['id' => $_GET['id']]);
|
|
}
|
|
|
|
if (isset($_GET['from']))
|
|
$referrer = $_GET['from'];
|
|
else
|
|
$referrer = $_SERVER['HTTP_REFERER'];
|
|
header("Location: " . $referrer);
|
|
|