Files
dolibarr/htdocs/product/promotion/pre.inc.php
2004-10-20 20:06:49 +00:00

86 lines
2.4 KiB
PHP

<?php
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
* $Source$
*
*/
require("../../main.inc.php");
require("./promotion.class.php");
function llxHeader($head = "", $urlp = "") {
global $user, $conf;
/*
*
*
*/
top_menu($head);
$menu = new Menu();
if ($conf->boutique->livre->enabled)
{
$menu->add("/boutique/livre/", "Livres");
$menu->add_submenu("/boutique/livre/fiche.php?&action=create","Nouvel ouvrage");
$menu->add("/boutique/auteur/", "Auteurs");
$menu->add_submenu("/boutique/auteur/fiche.php?&action=create","Nouvel auteur");
$menu->add("/boutique/editeur/", "Editeurs");
$menu->add_submenu("/boutique/editeur/fiche.php?&action=create","Nouvel éditeur");
}
$menu->add("/product/categorie/", "Catégories");
$menu->add("/product/promotion/", "Promotions");
if ($conf->boutique->album->enabled)
{
$menu->add("/product/album/", "Albums");
$menu->add_submenu("../osc-liste.php", "Osc");
$menu->add_submenu("../osc-liste.php?reqstock=epuise", "Produits Epuisés");
$menu->add_submenu("/product/album/fiche.php?&action=create","Nouvel album");
$menu->add("/product/groupart/", "Artistes/Groupes");
$menu->add_submenu("/product/groupart/fiche.php?&action=create","Nouvel Artiste/Groupe");
$menu->add("/product/concert/", "Concerts");
$menu->add_submenu("/product/concert/fiche.php?&action=create","Nouveau concert");
$menu->add("../osc-reviews.php", "Critiques");
$menu->add_submenu("../osc-productsbyreviews.php", "Meilleurs produits");
}
left_menu($menu->liste);
/*
*
*
*/
}
?>