[ Index ]
 

Code source de Dolibarr 2.0.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/htdocs/product/promotion/ -> pre.inc.php (source)

   1  <?php
   2  /* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
   3   *
   4   * This program is free software; you can redistribute it and/or modify
   5   * it under the terms of the GNU General Public License as published by
   6   * the Free Software Foundation; either version 2 of the License, or
   7   * (at your option) any later version.
   8   *
   9   * This program is distributed in the hope that it will be useful,
  10   * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12   * GNU General Public License for more details.
  13   *
  14   * You should have received a copy of the GNU General Public License
  15   * along with this program; if not, write to the Free Software
  16   * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  17   *
  18   * $Id: pre.inc.php,v 1.3 2004/10/20 20:06:50 opensides Exp $
  19   * $Source: /cvsroot/dolibarr/dolibarr/htdocs/product/promotion/pre.inc.php,v $
  20   *
  21   */
  22  require ("../../main.inc.php");
  23  require ("./promotion.class.php");
  24  
  25  function llxHeader($head = "", $urlp = "") {
  26    global $user, $conf;
  27  
  28    /*
  29     *
  30     *
  31     */
  32    top_menu($head);
  33  
  34    $menu = new Menu();
  35  
  36    if ($conf->boutique->livre->enabled)
  37      {
  38        $menu->add("/boutique/livre/", "Livres");
  39  
  40        $menu->add_submenu("/boutique/livre/fiche.php?&action=create","Nouvel ouvrage");
  41        
  42        $menu->add("/boutique/auteur/", "Auteurs");
  43  
  44        $menu->add_submenu("/boutique/auteur/fiche.php?&action=create","Nouvel auteur");
  45  
  46        $menu->add("/boutique/editeur/", "Editeurs");
  47  
  48        $menu->add_submenu("/boutique/editeur/fiche.php?&action=create","Nouvel éditeur");
  49  
  50      }
  51  
  52    $menu->add("/product/categorie/", "Catégories");
  53  
  54    $menu->add("/product/promotion/", "Promotions");
  55  
  56    if ($conf->boutique->album->enabled)
  57      {
  58        $menu->add("/product/album/", "Albums");
  59  
  60        $menu->add_submenu("../osc-liste.php", "Osc");
  61        $menu->add_submenu("../osc-liste.php?reqstock=epuise", "Produits Epuisés");
  62        
  63        $menu->add_submenu("/product/album/fiche.php?&action=create","Nouvel album");
  64    
  65        $menu->add("/product/groupart/", "Artistes/Groupes");
  66        
  67        $menu->add_submenu("/product/groupart/fiche.php?&action=create","Nouvel Artiste/Groupe");
  68    
  69        $menu->add("/product/concert/", "Concerts");
  70        
  71        $menu->add_submenu("/product/concert/fiche.php?&action=create","Nouveau concert");
  72        
  73        $menu->add("../osc-reviews.php", "Critiques");
  74        
  75        $menu->add_submenu("../osc-productsbyreviews.php", "Meilleurs produits");
  76      }
  77  
  78    left_menu($menu->liste);
  79    /*
  80     *
  81     *
  82     */
  83  
  84  }
  85  ?>


Généré le : Mon Nov 26 12:29:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics