if(Get::has('del')) {
$client->unsubscribe(Get::get('del'));
- header('Location: index.php');
+ redirect('index.php');
}
if(Get::has('add')) {
$client->subscribe(Get::get('add'));
- header('Location: index.php');
+ redirect('index.php');
}
if(Post::has('promo_add')) {
$promo = Post::getInt('promo_add');