[ Index ] |
|
Code source de Dolibarr 2.0.1 |
1 <?php 2 /* Copyright (C) 2001-2004 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.2 2004/10/19 22:47:16 opensides Exp $ 19 * $Source: /cvsroot/dolibarr/dolibarr/htdocs/lolix/pre.inc.php,v $ 20 * 21 */ 22 require ("../main.inc.php"); 23 require_once DOL_DOCUMENT_ROOT."/lolix/lolix.societe.class.php"; 24 25 function llxHeader($head = "", $urlp = "", $title="") 26 { 27 global $user, $conf, $db; 28 29 /* 30 * 31 * 32 */ 33 top_menu($head, $title); 34 35 $menu = new Menu(); 36 37 38 39 $menu->add(DOL_URL_ROOT."/lolix/index.php", "Lolix"); 40 41 $menu->add_submenu(DOL_URL_ROOT."/lolix/liste.php", "Liste des offres"); 42 $menu->add_submenu(DOL_URL_ROOT."/lolix/cv/liste.php", "Liste des CV"); 43 44 $menu->add(DOL_URL_ROOT."/lolix/societe/", "Sociétés"); 45 46 $menu->add_submenu(DOL_URL_ROOT."/lolix/societe/activation.php", "Activation"); 47 $menu->add_submenu(DOL_URL_ROOT."/lolix/societe/liste.php", "Liste"); 48 49 50 $menu->add(DOL_URL_ROOT."/lolix/tode.php", "Offres à désactiver"); 51 52 53 $menu->add(DOL_URL_ROOT."/lolix/linuxmag.php", "Linux Mag"); 54 left_menu($menu->liste); 55 } 56 57 Function fiche_header($id) 58 { 59 $h = 0; 60 $head[0][0] = DOL_URL_ROOT.'/lolix/offre.php?id='.$id; 61 $head[0][1] = "Offre"; 62 $h++; 63 64 for($i = 0 ; $i < sizeof($head) ; $i++) 65 { 66 if (strstr($head[$i][0], $GLOBALS["SCRIPT_URL"]) ) 67 { 68 $a = $i; 69 // sort de la boucle 70 $i = sizeof($head); 71 } 72 } 73 74 dolibarr_fiche_head($head, $a); 75 } 76 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 12:29:37 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |