"._("om_etat");
if(!isset($premier)) $premier='';
if(!isset($recherche1)) $recherche1='';
if(!isset($tricolsf)) $tricolsf='';
if(!isset($premiersf)) $premiersf='';
if(!isset($selection)) $selection='';
if(!isset($retourformulaire)) $retourformulaire='';
if(isset($idx)){
if($idx != ']')
if (trim($idx!=''))
$ent = $ent."-> ".$idx." ";
}
if(isset($idz) ){
if (trim($idz!=''))
$ent = $ent." ".strtoupper($idz)." ";
}
$table=DB_PREFIXE."om_etat";
$champAffiche=array(
'om_etat as "'._("om_etat").'"',
'om_collectivite as "'._("om_collectivite").'"',
'id as "'._("id").'"',
'libelle as "'._("libelle").'"',
'actif as "'._("actif").'"',
'orientation as "'._("orientation").'"',
'format as "'._("format").'"',
'footerfont as "'._("footerfont").'"',
'footerattribut as "'._("footerattribut").'"',
'footertaille as "'._("footertaille").'"',
'logo as "'._("logo").'"',
'logoleft as "'._("logoleft").'"',
'logotop as "'._("logotop").'"',
'titreleft as "'._("titreleft").'"',
'titretop as "'._("titretop").'"',
'titrelargeur as "'._("titrelargeur").'"',
'titrehauteur as "'._("titrehauteur").'"',
'titrefont as "'._("titrefont").'"',
'titreattribut as "'._("titreattribut").'"',
'titretaille as "'._("titretaille").'"',
'titrebordure as "'._("titrebordure").'"',
'titrealign as "'._("titrealign").'"',
'corpsleft as "'._("corpsleft").'"',
'corpstop as "'._("corpstop").'"',
'corpslargeur as "'._("corpslargeur").'"',
'corpshauteur as "'._("corpshauteur").'"',
'corpsfont as "'._("corpsfont").'"',
'corpsattribut as "'._("corpsattribut").'"',
'corpstaille as "'._("corpstaille").'"',
'corpsbordure as "'._("corpsbordure").'"',
'corpsalign as "'._("corpsalign").'"',
'se_font as "'._("se_font").'"',
'se_margeleft as "'._("se_margeleft").'"',
'se_margetop as "'._("se_margetop").'"',
'se_margeright as "'._("se_margeright").'"',
'se_couleurtexte as "'._("se_couleurtexte").'"'
);
$champNonAffiche=array(
'titre as "'._("titre").'"',
'corps as "'._("corps").'"',
'om_sql as "'._("om_sql").'"',
'sousetat as "'._("sousetat").'"'
);
$champRecherche=array(
'id as "'._("id").'"',
'libelle as "'._("libelle").'"',
'actif as "'._("actif").'"',
'orientation as "'._("orientation").'"',
'format as "'._("format").'"',
'footerfont as "'._("footerfont").'"',
'footerattribut as "'._("footerattribut").'"',
'logo as "'._("logo").'"',
'titrefont as "'._("titrefont").'"',
'titreattribut as "'._("titreattribut").'"',
'titrebordure as "'._("titrebordure").'"',
'titrealign as "'._("titrealign").'"',
'corpsfont as "'._("corpsfont").'"',
'corpsattribut as "'._("corpsattribut").'"',
'corpsbordure as "'._("corpsbordure").'"',
'corpsalign as "'._("corpsalign").'"',
'se_font as "'._("se_font").'"',
'se_couleurtexte as "'._("se_couleurtexte").'"'
);
$tri="";
$edition="om_etat";
if ($_SESSION['niveau']== '2')
$selection='';
else
$selection=" where om_etat.om_collectivite = '".$_SESSION['collectivite']."'";
if ($retourformulaire== 'om_collectivite')
if ($_SESSION['niveau']== '2'){
$selection=" where om_etat.om_collectivite ='".$idx."'";
}else{
$selection=" where om_etat.om_collectivite ='".$idx."' and om_etat.om_collectivite = '".$_SESSION['collectivite']."'";
}
?>