Esempio n. 1
0
?>
','1','classement','')"><?php 
echo trad('Tri_decroissant', 'admin');
?>
</a></li>
			</ul>
		</li>
		<li style="height:25px; width:44px; border-left:1px solid #96A8B5;"><?php 
echo trad('Suppr', 'admin');
?>
</li>
	</ul>

	<div id="resulrubrique">
		<?php 
liste_rubriques($parent, 'classement', 'ASC', '');
?>
	</div>

	<div class="entete_liste" style="margin-top:20px">
		<div class="titre"><?php 
echo trad('LISTE_PRODUITS', 'admin');
?>
</div>
		<div class="fonction_ajout"><a href="produit_modifier.php?rubrique=<?php 
echo $parent;
?>
"><?php 
echo trad('AJOUTER_PRODUIT', 'admin');
?>
</a></div>
Esempio n. 2
0
/*                                                                                   */
/*      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 3 of the License                */
/*                                                                                   */
/*      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, see <http://www.gnu.org/licenses/>.         */
/*                                                                                   */
/*************************************************************************************/
require_once __DIR__ . "/../pre.php";
require_once __DIR__ . "/../auth.php";
if (!est_autorise("acces_catalogue")) {
    exit;
}
header('Content-Type: text/html; charset=utf-8');
$critere = $_GET["critere"];
$order = $_GET["order"];
$ref = $_GET["ref"];
$alpha = $_GET["alpha"];
if ($_GET["type"] == 1) {
    require "../liste/rubrique.php";
    liste_rubriques($ref, $critere, $order, $alpha);
} else {
    require "../liste/produit.php";
    liste_produits($ref, $critere, $order, $alpha);
}