2012-08-22 23:27:53 +02:00
< ? php
2006-12-02 21:32:02 +01:00
/* Copyright ( C ) 2001 - 2006 Rodolphe Quiedeville < rodolphe @ quiedeville . org >
2014-04-02 12:48:34 +02:00
* Copyright ( C ) 2004 - 2014 Laurent Destailleur < eldy @ users . sourceforge . net >
2012-12-30 15:13:49 +01:00
* Copyright ( C ) 2005 - 2012 Regis Houssin < regis . houssin @ capnetworks . com >
2013-09-10 16:43:06 +02:00
* Copyright ( C ) 2013 Cédric Salvador < csalvador @ gpcsolutions . fr >
2014-05-23 02:04:02 +02:00
* Copyright ( C ) 2014 Marcos García < marcosgdf @ gmail . com >
2014-07-21 17:00:59 +02:00
* Copyright ( C ) 2014 Juanjo Menent < jmenent @ 2 byte . es >
2004-11-29 17:07:35 +01:00
*
* 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
2013-01-16 15:36:08 +01:00
* the Free Software Foundation ; either version 3 of the License , or
2004-11-29 17:07:35 +01:00
* ( 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
2011-08-01 01:45:11 +02:00
* along with this program . If not , see < http :// www . gnu . org / licenses />.
2004-11-29 17:07:35 +01:00
*/
2005-01-09 18:35:22 +01:00
2009-07-08 12:10:35 +02:00
/**
2014-09-18 20:33:37 +02:00
* \file htdocs / fourn / commande / list . php
2009-11-29 16:02:15 +01:00
* \ingroup fournisseur
2010-02-27 21:30:55 +01:00
* \brief List of suppliers orders
2009-11-29 16:02:15 +01:00
*/
2005-01-09 18:35:22 +01:00
2013-08-09 13:48:44 +02:00
2012-08-22 23:24:21 +02:00
require '../../main.inc.php' ;
2012-08-22 23:11:24 +02:00
require_once DOL_DOCUMENT_ROOT . '/fourn/class/fournisseur.class.php' ;
require_once DOL_DOCUMENT_ROOT . '/fourn/class/fournisseur.commande.class.php' ;
2013-08-09 13:48:44 +02:00
require_once DOL_DOCUMENT_ROOT . '/core/class/html.formfile.class.php' ;
2014-04-02 12:48:34 +02:00
require_once DOL_DOCUMENT_ROOT . '/core/class/html.formorder.class.php' ;
2015-01-31 00:45:55 +01:00
require_once DOL_DOCUMENT_ROOT . '/projet/class/project.class.php' ;
2004-11-29 17:07:35 +01:00
2005-06-11 13:34:38 +02:00
$langs -> load ( " orders " );
2014-05-15 11:37:40 +02:00
$langs -> load ( " sendings " );
2005-06-11 13:34:38 +02:00
2014-03-21 15:01:40 +01:00
2013-07-10 23:57:18 +02:00
$search_ref = GETPOST ( 'search_ref' );
2014-03-21 15:01:40 +01:00
$search_refsupp = GETPOST ( 'search_refsupp' );
2014-11-06 07:19:16 +01:00
$search_company = GETPOST ( 'search_company' );
2013-07-10 23:57:18 +02:00
$search_user = GETPOST ( 'search_user' );
2015-01-31 01:12:05 +01:00
$search_ht = GETPOST ( 'search_ht' );
2013-07-10 23:57:18 +02:00
$search_ttc = GETPOST ( 'search_ttc' );
2012-07-13 10:15:47 +02:00
$sall = GETPOST ( 'search_all' );
2015-03-08 02:08:26 +01:00
$search_status = ( GETPOST ( 'search_status' , 'alpha' ) != '' ? GETPOST ( 'search_status' , 'alpha' ) : GETPOST ( 'statut' , 'alpha' )); // alpha and not intbecause it can be '6,7'
2014-11-06 07:19:16 +01:00
2012-07-13 10:15:47 +02:00
$page = GETPOST ( 'page' , 'int' );
$socid = GETPOST ( 'socid' , 'int' );
2012-10-13 14:47:46 +02:00
$sortorder = GETPOST ( 'sortorder' , 'alpha' );
$sortfield = GETPOST ( 'sortfield' , 'alpha' );
2004-11-29 17:07:35 +01:00
2014-09-23 16:28:29 +02:00
$viewstatut = GETPOST ( 'viewstatut' );
2008-02-25 17:30:43 +01:00
// Security check
2012-07-13 10:15:47 +02:00
$orderid = GETPOST ( 'orderid' );
2008-02-25 21:03:21 +01:00
if ( $user -> societe_id ) $socid = $user -> societe_id ;
2013-03-24 21:06:45 +01:00
$result = restrictedArea ( $user , 'fournisseur' , $orderid , '' , 'commande' );
2004-11-29 17:07:35 +01:00
2014-11-06 07:19:16 +01:00
// Purge search criteria
2014-11-23 10:03:03 +01:00
if ( GETPOST ( " button_removefilter_x " ) || GETPOST ( " button_removefilter " )) // Both test are required to be compatible with all browsers
2014-11-06 07:19:16 +01:00
{
$search_ref = '' ;
$search_refsupp = '' ;
$search_company = '' ;
$search_user = '' ;
2015-01-31 01:12:05 +01:00
$search_ht = '' ;
2014-11-06 07:19:16 +01:00
$search_ttc = '' ;
$search_status = '' ;
}
if ( $search_status == '' ) $search_status =- 1 ;
2004-11-29 17:07:35 +01:00
2015-01-31 01:12:05 +01:00
2008-02-25 17:30:43 +01:00
/*
2010-02-27 21:30:55 +01:00
* View
*/
2005-04-05 12:44:10 +02:00
2015-01-24 21:41:40 +01:00
$thirdpartytmp = new Fournisseur ( $db );
$commandestatic = new CommandeFournisseur ( $db );
$formfile = new FormFile ( $db );
$formorder = new FormOrder ( $db );
2008-02-25 17:30:43 +01:00
$title = $langs -> trans ( " SuppliersOrders " );
2005-04-05 12:44:10 +02:00
if ( $socid > 0 )
{
2010-02-27 21:30:55 +01:00
$fourn = new Fournisseur ( $db );
$fourn -> fetch ( $socid );
2014-10-04 17:20:17 +02:00
$title .= ' (' . $fourn -> name . ')' ;
2005-04-05 12:44:10 +02:00
}
llxHeader ( '' , $title );
2015-01-31 01:12:05 +01:00
2005-04-05 12:26:31 +02:00
if ( $sortorder == " " ) $sortorder = " DESC " ;
if ( $sortfield == " " ) $sortfield = " cf.date_creation " ;
2004-11-29 17:07:35 +01:00
$offset = $conf -> liste_limit * $page ;
2005-04-05 12:26:31 +02:00
2004-11-29 17:07:35 +01:00
/*
2015-03-06 20:59:18 +01:00
* Mode list
2004-11-29 17:07:35 +01:00
*/
2014-10-04 17:20:17 +02:00
$sql = " SELECT s.rowid as socid, s.nom as name, cf.date_commande as dc, " ;
2015-01-31 09:58:41 +01:00
$sql .= " cf.rowid,cf.ref, cf.ref_supplier, cf.fk_statut, cf.total_ht, cf.tva as total_tva, cf.total_ttc, cf.fk_user_author,cf.date_livraison, " ;
2015-01-24 21:41:40 +01:00
$sql .= " p.rowid as project_id, p.ref as project_ref, " ;
2015-01-31 09:58:41 +01:00
$sql .= " u.firstname, " ;
$sql .= " u.lastname, " ;
$sql .= " u.photo, " ;
2009-11-29 16:02:15 +01:00
$sql .= " u.login " ;
2015-01-24 21:41:40 +01:00
$sql .= " FROM " . MAIN_DB_PREFIX . " societe as s, " ;
2009-11-29 16:02:15 +01:00
$sql .= " " . MAIN_DB_PREFIX . " commande_fournisseur as cf " ;
2009-11-28 09:43:20 +01:00
$sql .= " LEFT JOIN " . MAIN_DB_PREFIX . " user as u ON cf.fk_user_author = u.rowid " ;
2015-01-24 21:41:40 +01:00
$sql .= " LEFT JOIN " . MAIN_DB_PREFIX . " projet as p ON p.rowid = cf.fk_projet " ;
if ( ! $user -> rights -> societe -> client -> voir && ! $socid ) $sql .= " , " . MAIN_DB_PREFIX . " societe_commerciaux as sc " ;
2009-11-29 16:02:15 +01:00
$sql .= " WHERE cf.fk_soc = s.rowid " ;
2012-02-01 11:32:55 +01:00
$sql .= " AND cf.entity = " . $conf -> entity ;
2009-11-29 16:02:15 +01:00
if ( ! $user -> rights -> societe -> client -> voir && ! $socid ) $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = " . $user -> id ;
2014-03-21 15:01:40 +01:00
if ( $search_ref )
2004-11-30 20:23:38 +01:00
{
2014-03-21 15:01:40 +01:00
$sql .= natural_search ( 'cf.ref' , $search_ref );
2004-11-30 20:23:38 +01:00
}
2014-11-06 07:19:16 +01:00
if ( $search_company )
2004-11-30 20:23:38 +01:00
{
2014-11-06 07:19:16 +01:00
$sql .= natural_search ( 's.nom' , $search_company );
2009-08-03 15:00:05 +02:00
}
2014-03-21 15:01:40 +01:00
if ( $search_user )
2009-08-03 15:00:05 +02:00
{
2014-03-21 15:01:40 +01:00
$sql .= " AND u.login LIKE '% " . $db -> escape ( $search_user ) . " %' " ;
2009-08-03 15:00:05 +02:00
}
2015-03-06 20:59:18 +01:00
if ( $search_ht != '' )
2015-01-31 01:12:05 +01:00
{
2015-03-06 20:59:18 +01:00
$sql .= natural_search ( " cf.total_ht " , $search_ht , 1 );
2015-01-31 01:12:05 +01:00
}
2015-03-06 20:59:18 +01:00
if ( $search_ttc != '' )
2009-08-03 15:00:05 +02:00
{
2015-03-06 20:59:18 +01:00
$sql .= natural_search ( " cf.total_ttc " , $search_ttc , 1 );
2004-11-30 20:23:38 +01:00
}
2009-07-08 12:10:35 +02:00
if ( $sall )
{
2015-03-10 13:25:25 +01:00
$sql .= natural_search ( array ( 'cf.ref' , 'cf.ref_supplier' , 'cf.note_public' , 'cf.note_private' ), $sall );
2009-07-08 12:10:35 +02:00
}
if ( $socid ) $sql .= " AND s.rowid = " . $socid ;
2004-11-30 20:23:38 +01:00
2014-05-23 02:04:02 +02:00
//Required triple check because statut=0 means draft filter
if ( GETPOST ( 'statut' , 'int' ) !== '' )
2004-11-30 20:23:38 +01:00
{
2015-01-31 00:23:10 +01:00
$sql .= " AND cf.fk_statut IN ( " . GETPOST ( 'statut' ) . " ) " ;
2004-11-29 17:07:35 +01:00
}
2014-03-21 15:01:40 +01:00
if ( $search_refsupp )
{
$sql .= " AND (cf.ref_supplier LIKE '% " . $db -> escape ( $search_refsupp ) . " %') " ;
}
2015-03-08 02:08:26 +01:00
if ( $search_status != '' && $search_status >= 0 )
2014-04-02 12:48:34 +02:00
{
2015-03-08 02:08:26 +01:00
if ( strstr ( $search_status , ',' )) $sql .= " AND cf.fk_statut IN ( " . $db -> escape ( $search_status ) . " ) " ;
2015-01-31 00:23:10 +01:00
else $sql .= " AND cf.fk_statut = " . $search_status ;
2014-04-02 12:48:34 +02:00
}
2004-11-29 17:07:35 +01:00
2014-04-02 12:48:34 +02:00
$sql .= $db -> order ( $sortfield , $sortorder );
2014-05-12 11:00:58 +02:00
$nbtotalofrecords = 0 ;
if ( empty ( $conf -> global -> MAIN_DISABLE_FULL_SCANLIST ))
{
$result = $db -> query ( $sql );
$nbtotalofrecords = $db -> num_rows ( $result );
}
2013-12-01 16:18:18 +01:00
$sql .= $db -> plimit ( $conf -> liste_limit + 1 , $offset );
2004-11-29 17:07:35 +01:00
2005-04-05 12:26:31 +02:00
$resql = $db -> query ( $sql );
if ( $resql )
2004-11-29 17:07:35 +01:00
{
2009-07-08 12:10:35 +02:00
2010-02-27 21:30:55 +01:00
$num = $db -> num_rows ( $resql );
$i = 0 ;
2013-07-10 23:57:18 +02:00
$param = " " ;
2014-11-06 07:19:16 +01:00
if ( $search_ref ) $param .= " &search_ref= " . $search_ref ;
if ( $search_company ) $param .= " &search_company= " . $search_company ;
if ( $search_user ) $param .= " &search_user= " . $search_user ;
if ( $search_ttc ) $param .= " &search_ttc= " . $search_ttc ;
if ( $search_refsupp ) $param .= " &search_refsupp= " . $search_refsupp ;
if ( $socid ) $param .= " &socid= " . $socid ;
if ( $search_status >= 0 ) $param .= " &search_status= " . $search_status ;
2015-01-24 21:41:40 +01:00
2014-05-18 11:52:52 +02:00
print_barre_liste ( $title , $page , $_SERVER [ " PHP_SELF " ], $param , $sortfield , $sortorder , '' , $num , $nbtotalofrecords );
2013-07-10 23:57:18 +02:00
print '<form action="' . $_SERVER [ " PHP_SELF " ] . '" method="POST">' ;
2012-12-01 15:45:05 +01:00
print '<table class="noborder" width="100%">' ;
2010-02-27 21:30:55 +01:00
print '<tr class="liste_titre">' ;
2013-07-26 12:16:39 +02:00
print_liste_field_titre ( $langs -> trans ( " Ref " ), $_SERVER [ " PHP_SELF " ], " cf.ref " , " " , $param , '' , $sortfield , $sortorder );
2015-01-24 21:41:40 +01:00
if ( empty ( $conf -> global -> SUPPLIER_ORDER_HIDE_REF_SUPPLIER )) print_liste_field_titre ( $langs -> trans ( " RefSupplier " ), $_SERVER [ " PHP_SELF " ], " cf.ref_supplier " , " " , $param , '' , $sortfield , $sortorder );
2015-02-05 12:06:20 +01:00
print_liste_field_titre ( $langs -> trans ( " ThirdParty " ), $_SERVER [ " PHP_SELF " ], " s.nom " , " " , $param , '' , $sortfield , $sortorder );
2015-01-24 21:41:40 +01:00
if ( ! empty ( $conf -> global -> PROJECT_SHOW_REF_INTO_LISTS )) print_liste_field_titre ( $langs -> trans ( " Project " ), $_SERVER [ " PHP_SELF " ], " p.ref " , " " , $param , '' , $sortfield , $sortorder );
2013-07-26 12:16:39 +02:00
print_liste_field_titre ( $langs -> trans ( " Author " ), $_SERVER [ " PHP_SELF " ], " u.login " , " " , $param , '' , $sortfield , $sortorder );
2015-01-31 01:12:05 +01:00
print_liste_field_titre ( $langs -> trans ( " AmountHT " ), $_SERVER [ " PHP_SELF " ], " cf.total_ht " , " " , $param , 'align="right"' , $sortfield , $sortorder );
print_liste_field_titre ( $langs -> trans ( " AmountTTC " ), $_SERVER [ " PHP_SELF " ], " cf.total_ttc " , " " , $param , 'align="right"' , $sortfield , $sortorder );
2013-07-26 12:16:39 +02:00
print_liste_field_titre ( $langs -> trans ( " OrderDate " ), $_SERVER [ " PHP_SELF " ], " dc " , " " , $param , 'align="center"' , $sortfield , $sortorder );
2014-05-15 11:37:40 +02:00
print_liste_field_titre ( $langs -> trans ( 'DateDeliveryPlanned' ), $_SERVER [ " PHP_SELF " ], 'cf.date_livraison' , '' , $param , 'align="right"' , $sortfield , $sortorder );
2013-07-26 12:16:39 +02:00
print_liste_field_titre ( $langs -> trans ( " Status " ), $_SERVER [ " PHP_SELF " ], " cf.fk_statut " , " " , $param , 'align="right"' , $sortfield , $sortorder );
2014-04-02 12:48:34 +02:00
print_liste_field_titre ( '' );
2010-02-27 21:30:55 +01:00
print " </tr> \n " ;
print '<tr class="liste_titre">' ;
2015-03-08 02:08:26 +01:00
print '<td class="liste_titre"><input size="8" type="text" class="flat" name="search_ref" value="' . $search_ref . '"></td>' ;
2015-01-31 01:12:05 +01:00
if ( empty ( $conf -> global -> SUPPLIER_ORDER_HIDE_REF_SUPPLIER )) print '<td class="liste_titre"><input type="text" class="flat" size="8" name="search_refsupp" value="' . $search_refsupp . '"></td>' ;
2015-03-08 02:08:26 +01:00
print '<td class="liste_titre"><input type="text" class="flat" size="8" name="search_company" value="' . $search_company . '"></td>' ;
2015-01-24 21:41:40 +01:00
if ( ! empty ( $conf -> global -> PROJECT_SHOW_REF_INTO_LISTS ))
{
print '<td class="liste_titre">' ;
print '</td>' ;
}
2015-01-31 01:12:05 +01:00
print '<td class="liste_titre"><input type="text" size="6" class="flat" name="search_user" value="' . $search_user . '"></td>' ;
2015-03-06 20:59:18 +01:00
print '<td class="liste_titre" align="right"><input type="text" size="6" class="flat" name="search_ht" value="' . $search_ht . '"></td>' ;
print '<td class="liste_titre" align="right"><input type="text" size="6" class="flat" name="search_ttc" value="' . $search_ttc . '"></td>' ;
2014-04-02 12:48:34 +02:00
print '<td class="liste_titre"> </td>' ;
2014-05-15 11:37:40 +02:00
print '<td class="liste_titre"> </td>' ;
2014-04-02 12:48:34 +02:00
print '<td class="liste_titre" align="right">' ;
$formorder -> selectSupplierOrderStatus ( $search_status , 1 , 'search_status' );
print '</td>' ;
2014-11-06 07:19:16 +01:00
print '<td class="liste_titre" align="right"><input type="image" class="liste_titre" name="button_search" src="' . img_picto ( $langs -> trans ( " Search " ), 'search.png' , '' , '' , 1 ) . '" value="' . dol_escape_htmltag ( $langs -> trans ( " Search " )) . '" title="' . dol_escape_htmltag ( $langs -> trans ( " Search " )) . '">' ;
print '<input type="image" class="liste_titre" name="button_removefilter" src="' . img_picto ( $langs -> trans ( " Search " ), 'searchclear.png' , '' , '' , 1 ) . '" value="' . dol_escape_htmltag ( $langs -> trans ( " RemoveFilter " )) . '" title="' . dol_escape_htmltag ( $langs -> trans ( " RemoveFilter " )) . '">' ;
print " </td></tr> \n " ;
2010-02-27 21:30:55 +01:00
$var = true ;
$userstatic = new User ( $db );
2013-08-09 13:48:44 +02:00
$objectstatic = new CommandeFournisseur ( $db );
2015-01-30 19:57:38 +01:00
$projectstatic = new Project ( $db );
2010-02-27 21:30:55 +01:00
while ( $i < min ( $num , $conf -> liste_limit ))
{
$obj = $db -> fetch_object ( $resql );
$var =! $var ;
2015-01-24 15:36:47 +01:00
$objectstatic -> id = $obj -> rowid ;
$objectstatic -> ref = $obj -> ref ;
$objectstatic -> ref_supplier = $obj -> ref_supplier ;
$objectstatic -> total_ht = $obj -> total_ht ;
$objectstatic -> total_tva = $obj -> total_tva ;
$objectstatic -> total_ttc = $obj -> total_ttc ;
2010-02-27 21:30:55 +01:00
2013-06-20 09:18:12 +02:00
print " <tr " . $bc [ $var ] . " > " ;
2010-02-27 21:30:55 +01:00
// Ref
2015-01-24 15:36:47 +01:00
print '<td class="nobordernopadding nowrap">' ;
print $objectstatic -> getNomUrl ( 1 );
2013-08-09 13:48:44 +02:00
$filename = dol_sanitizeFileName ( $obj -> ref );
$filedir = $conf -> fournisseur -> dir_output . '/commande' . '/' . dol_sanitizeFileName ( $obj -> ref );
print $formfile -> getDocumentsLink ( $objectstatic -> element , $filename , $filedir );
print '</td>' . " \n " ;
2010-02-27 21:30:55 +01:00
2014-03-21 15:01:40 +01:00
// Ref Supplier
2015-01-31 01:12:05 +01:00
if ( empty ( $conf -> global -> SUPPLIER_ORDER_HIDE_REF_SUPPLIER )) print '<td>' . $obj -> ref_supplier . '</td>' . " \n " ;
2014-05-18 11:52:52 +02:00
2015-01-24 21:41:40 +01:00
// Thirdparty
print '<td>' ;
$thirdpartytmp -> id = $obj -> socid ;
$thirdpartytmp -> name = $obj -> name ;
print $thirdpartytmp -> getNomUrl ( 1 , 'supplier' );
print '</td>' . " \n " ;
2010-02-27 21:30:55 +01:00
2015-01-24 21:41:40 +01:00
// Project
if ( ! empty ( $conf -> global -> PROJECT_SHOW_REF_INTO_LISTS ))
{
$projectstatic -> id = $obj -> project_id ;
$projectstatic -> ref = $obj -> project_ref ;
print '<td>' ;
if ( $obj -> project_id > 0 ) print $projectstatic -> getNomUrl ( 1 );
print '</td>' ;
}
2010-02-27 21:30:55 +01:00
2015-01-25 01:20:58 +01:00
// Author
$userstatic -> id = $obj -> fk_user_author ;
$userstatic -> lastname = $obj -> lastname ;
$userstatic -> firstname = $obj -> firstname ;
$userstatic -> login = $obj -> login ;
$userstatic -> photo = $obj -> photo ;
2010-02-27 21:30:55 +01:00
print " <td> " ;
2015-01-25 01:20:58 +01:00
if ( $userstatic -> id ) print $userstatic -> getNomUrl ( 1 );
2010-02-27 21:30:55 +01:00
else print " " ;
print " </td> " ;
2015-01-31 01:12:05 +01:00
// Amount net
print '<td align="right" width="100">' . price ( $obj -> total_ht ) . " </td> " ;
// Amount with tax
2010-02-27 21:30:55 +01:00
print '<td align="right" width="100">' . price ( $obj -> total_ttc ) . " </td> " ;
// Date
print " <td align= \" center \" width= \" 100 \" > " ;
if ( $obj -> dc )
{
2010-05-08 19:17:17 +02:00
print dol_print_date ( $db -> jdate ( $obj -> dc ), " day " );
2010-02-27 21:30:55 +01:00
}
else
{
print " - " ;
}
print '</td>' ;
2014-05-15 11:37:40 +02:00
// Delivery date
print '<td align="right">' ;
print dol_print_date ( $db -> jdate ( $obj -> date_livraison ), 'day' );
print '</td>' ;
2010-02-27 21:30:55 +01:00
// Statut
2014-04-02 12:48:34 +02:00
print '<td align="right" colspan="2">' . $commandestatic -> LibStatut ( $obj -> fk_statut , 5 ) . '</td>' ;
2010-02-27 21:30:55 +01:00
print " </tr> \n " ;
$i ++ ;
}
print " </table> \n " ;
print " </form> \n " ;
2015-01-24 21:41:40 +01:00
2015-04-13 13:22:12 +02:00
if ( ! empty ( $conf -> facture -> enable )) print '<br>' . img_help ( 1 , '' ) . ' ' . $langs -> trans ( " ToBillSeveralOrderSelectCustomer " , $langs -> transnoentitiesnoconv ( " CreateInvoiceForThisCustomer " )) . '<br>' ;
2010-02-27 21:30:55 +01:00
$db -> free ( $resql );
2004-11-29 17:07:35 +01:00
}
2005-08-31 23:56:05 +02:00
else
2004-11-29 17:07:35 +01:00
{
2010-02-27 21:30:55 +01:00
dol_print_error ( $db );
2004-11-29 17:07:35 +01:00
}
2011-08-27 16:24:16 +02:00
llxFooter ();
2012-07-13 10:15:47 +02:00
$db -> close ();