<?php
/***************************************************************************
- * Copyright (C) 2003-2004 Polytechnique.org *
+ * Copyright (C) 2003-2006 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
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');