| [ Index ] |
|
Code source de Dolibarr 2.0.1 |
1 <?php 2 /* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net> 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: info.php,v 1.5 2005/10/02 19:33:16 eldy Exp $ 19 * $Source: /cvsroot/dolibarr/dolibarr/htdocs/contrat/info.php,v $ 20 */ 21 22 /** 23 \file htdocs/contrat/info.php 24 \ingroup contrat 25 \brief Page des informations d'un contrat 26 \version $Revision: 1.5 $ 27 */ 28 29 require ("./pre.inc.php"); 30 require_once (DOL_DOCUMENT_ROOT."/contrat/contrat.class.php"); 31 32 $langs->load("contracts"); 33 34 llxHeader(); 35 36 37 /* 38 * Visualisation de la fiche 39 * 40 */ 41 42 $contrat = new Contrat($db); 43 $contrat->fetch($_GET["id"]); 44 $contrat->info($_GET["id"]); 45 46 $h = 0; 47 48 $head[$h][0] = DOL_URL_ROOT.'/contrat/fiche.php?id='.$contrat->id; 49 $head[$h][1] = $langs->trans("ContractCard"); 50 $hselected = $h; 51 $h++; 52 53 $head[$h][0] = DOL_URL_ROOT.'/contrat/contact.php?id='.$contrat->id; 54 $head[$h][1] = $langs->trans("ContractContacts"); 55 $h++; 56 57 $head[$h][0] = DOL_URL_ROOT.'/contrat/info.php?id='.$contrat->id; 58 $head[$h][1] = $langs->trans("Info"); 59 $hselected = $h; 60 $h++; 61 62 dolibarr_fiche_head($head, $hselected, $langs->trans("Contract").": $contrat->ref"); 63 64 65 print '<table width="100%"><tr><td>'; 66 dolibarr_print_object_info($contrat); 67 print '</td></tr></table>'; 68 69 print '</div>'; 70 71 // Juste pour éviter bug IE qui réorganise mal div précédents si celui-ci absent 72 print '<div class="tabsAction">'; 73 print '</div>'; 74 75 $db->close(); 76 77 llxFooter('$Date: 2005/10/02 19:33:16 $ - $Revision: 1.5 $'); 78 ?>
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 |
|