1 |
<?php |
2 |
//$Id$ |
3 |
//gen openMairie le 10/02/2011 20:34 |
4 |
include('../gen/sql/pgsql/instruction.inc.php'); |
5 |
// ======================================================= |
6 |
// href special edition instruction |
7 |
// ======================================================= |
8 |
$table="instruction inner join evenement on instruction.evenement=evenement.evenement"; |
9 |
$champAffiche=array("instruction as no", |
10 |
"instruction.lettretype", |
11 |
"libelle", |
12 |
"to_char(datecourrier ,'DD/MM/YYYY') as datecourrier", |
13 |
"instruction.etat", |
14 |
"dossier" |
15 |
); |
16 |
$champRecherche=array("libelle"); |
17 |
$tri= " order by instruction "; |
18 |
if(isset($idx)){ |
19 |
$selection=" where dossier like '".$idx."'"; |
20 |
}else{ |
21 |
$selection=""; |
22 |
} |
23 |
//if(isset($objsf) and isset($idx)){ |
24 |
$href[3]['lien'] = "../app/pdflettretype_instruction.php?idx="; |
25 |
$href[3]['id']= ""; |
26 |
$href[3]['lib']= "<span class=\"om-icon om-icon-16 om-icon-fix pdf-16\" title=\"". |
27 |
_("Edition")."\">"._("Edition")."</span>"; |
28 |
// $href=array(); |
29 |
?> |