2 |
//$Id$ |
//$Id$ |
3 |
//gen openMairie le 10/02/2011 20:32 |
//gen openMairie le 10/02/2011 20:32 |
4 |
include('../gen/sql/pgsql/consultation.inc.php'); |
include('../gen/sql/pgsql/consultation.inc.php'); |
5 |
$table="consultation inner join service on consultation.service=service.service"; |
$table=DB_PREFIXE."consultation inner join ".DB_PREFIXE."service on consultation.service=service.service"; |
6 |
$champAffiche=array("consultation", |
$champAffiche=array("consultation", |
7 |
"consultation.service", |
"consultation.service", |
8 |
"libelle", |
"libelle", |
18 |
// ============================================================================= |
// ============================================================================= |
19 |
// href particulier pour edition d etat |
// href particulier pour edition d etat |
20 |
// ============================================================================= |
// ============================================================================= |
21 |
//if(isset($objsf) and isset($idx)){ |
|
22 |
$href[3]['lien'] = "../pdf/pdfetat.php?idx="; |
$href[3]['lien'] = "../pdf/pdfetat.php?idx="; |
23 |
$href[3]['id']= "&obj=consultation"; |
$href[3]['id']= "&obj=consultation"; |
24 |
$href[3]['lib']= "<img src='../img/ico_pdf.png' border=0>"; |
$href[3]['lib']= "<span class=\"om-icon om-icon-16 om-icon-fix pdf-16\" title=\"". |
25 |
//}else |
_("Edition")."\">"._("Edition")."</span>"; |
26 |
// $href=array(); |
|
27 |
|
// probleme lies a la gestion par nature |
28 |
|
|
29 |
|
if ($retourformulaire== 'service'){ |
30 |
|
$href[0] = array("lien" => "#", "id" => "", "lib" => "", ); |
31 |
|
$href[1] = array("lien" => "", "id" => "", "lib" => "", ); |
32 |
|
$href[2] = array("lien" => "#", "id" => "", "lib" => "", ); |
33 |
|
$selection=" where consultation.service ='".$idx."'"; |
34 |
|
} |
35 |
|
|
36 |
?> |
?> |