Your IP : 216.73.217.64


Current Path : /home3/gp97/baillifpre.97gp.net/gen/sql/pgsql/
Upload File :
Current File : //home3/gp97/baillifpre.97gp.net/gen/sql/pgsql/om_dashboard.inc.php

<?php
//$Id: om_dashboard.inc.php 2498 2013-09-20 14:28:10Z fmichon $ 
//gen openMairie le 20/08/2013 16:00

$DEBUG=0;
$serie=15;
$ico="../img/ico_application.png";
$ent = _("administration")." -> "._("om_dashboard");
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) && $idx != ']' && trim($idx) != '') {
    $ent .= "->&nbsp;".$idx."&nbsp;";
}
if (isset($idz) && trim($idz) != '') {
    $ent .= "&nbsp;".strtoupper($idz)."&nbsp;";
}
// FROM 
$table = DB_PREFIXE."om_dashboard
    LEFT JOIN ".DB_PREFIXE."om_profil 
        ON om_dashboard.om_profil=om_profil.om_profil 
    LEFT JOIN ".DB_PREFIXE."om_widget 
        ON om_dashboard.om_widget=om_widget.om_widget ";
// SELECT 
$champAffiche = array(
    'om_dashboard.om_dashboard as "'._("om_dashboard").'"',
    'om_profil.libelle as "'._("om_profil").'"',
    'om_dashboard.bloc as "'._("bloc").'"',
    'om_dashboard.position as "'._("position").'"',
    'om_widget.libelle as "'._("om_widget").'"',
    );
//
$champNonAffiche = array(
    );
//
$champRecherche = array(
    'om_dashboard.om_dashboard as "'._("om_dashboard").'"',
    'om_profil.libelle as "'._("om_profil").'"',
    'om_dashboard.bloc as "'._("bloc").'"',
    'om_dashboard.position as "'._("position").'"',
    'om_widget.libelle as "'._("om_widget").'"',
    );
$tri="ORDER BY om_profil.libelle ASC NULLS LAST";
$edition="om_dashboard";
$selection='';
if ($retourformulaire== 'om_profil') {
    $selection=" WHERE (om_dashboard.om_profil ='".$idx."')";
}
if ($retourformulaire== 'om_widget') {
    $selection=" WHERE (om_dashboard.om_widget ='".$idx."')";
}
?>