PEEL Shopping
Open source ecommerce : PEEL Shopping
list_admin_contact_planified.php
Go to the documentation of this file.
1 <?php
2 // This file should be in UTF8 without BOM - Accents examples: éèê
3 // +----------------------------------------------------------------------+
4 // | Copyright (c) 2004-2015 Advisto SAS, service PEEL - contact@peel.fr |
5 // +----------------------------------------------------------------------+
6 // | This file is part of PEEL Shopping 8.0.0, which is subject to an |
7 // | opensource GPL license: you are allowed to customize the code |
8 // | for your own needs, but must keep your changes under GPL |
9 // | More information: https://www.peel.fr/lire/licence-gpl-70.html |
10 // +----------------------------------------------------------------------+
11 // | Author: Advisto SAS, RCS 479 205 452, France, https://www.peel.fr/ |
12 // +----------------------------------------------------------------------+
13 // $Id: list_admin_contact_planified.php 46935 2015-09-18 08:49:48Z gboussin $
14 define('IN_PEEL_ADMIN', true);
15 include("../../../configuration.inc.php");
17 necessite_priv("admin_users");
18 
19 
20 $GLOBALS['DOC_TITLE'] = $GLOBALS["STR_MODULE_COMMERCIAL_ADMIN_PLANIFIED_TITLE"];
21 
23 
24 include($GLOBALS['repertoire_modele'] . "/admin_haut.php");
25 switch (vb($_REQUEST['mode'])) {
26  // Filtre de recherche
27  case 'search':
28  if (!empty($_GET)) {
29  affiche_list_admin_contact($_GET, false);
30  }
31  break;
32  // Modification de l'état d'une personne à contacter
33  case 'modif_etat':
34  if (!empty($_GET['id']) && !empty($_GET['etat'])) {
35  update_state_contact($_GET);
36  }
38  break;
39  case 'suppr':
40  if (!empty($_POST['form_delete'])) {
41  foreach($_POST['form_delete'] as $id) {
42  delete_contact($id);
43  }
44  }
46  break;
47  default:
49  break;
50 }
51 include($GLOBALS['repertoire_modele'] . "/admin_bas.php");
52 
affiche_list_admin_contact($recherche=null, $return_mode=false)
Affiche la liste des clients à contacter par les administrateurs.
Definition: fonctions.php:37
necessite_priv($priv, $demo_allowed=true, $configuration_modification=false)
Cette fonction vérifie si l'utilisateur a les privilèges de $priv.
Definition: fonctions.php:1575
vb(&$var, $default=null)
Variable blanche if $var n'est pas défini, retourne $default, sinon retourne $var.
Definition: format.php:97
necessite_identification()
Si l'utilisateur n'est pas connecté à un compte, on affiche une page d'identification et arrête le sc...
Definition: fonctions.php:1596
delete_contact($id)
Supprime l'action de contact de la personne à contacter.
Definition: fonctions.php:244
$GLOBALS['DOC_TITLE']
$id
Definition: articles.php:22
update_state_contact($frm)
Mise à jour de l'état d'une personne à contacter.
Definition: fonctions.php:228

This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:27 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.