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