Source for file pgsql.inc.php
Documentation is available at pgsql.inc.php 
 * @author linea21 <info@linea21.com>  
 * @license http://opensource.org/licenses/gpl-3.0.html  
// ////////// Check Inclusion de pages ////////////  
    include_once("../lib/lib_common.php");  
$req_liste =  "SELECT * FROM " .  T_LEVEL .  " WHERE level_statut<>'E' ORDER BY level_range DESC;";  
$req_quickbox_list =  "SELECT level_id, level_name, to_char(level_last_modify, '". toStringSqlDate('long'). "') AS level_last_modify, level_last_modify AS level_last_modify2, to_char(level_date_crea, 'DD Mon YYYY') AS level_date_crea  
                        WHERE level_statut <> 'E'  
                        ORDER BY level_last_modify2 DESC  
    $req_det =  "SELECT level_name, level_description, level_comment, level_visual_identity, level_range, to_char(level_last_modify, '". toStringSqlDate('long'). "') AS level_last_modify, to_char(level_date_crea, 'DD Mon YYYY') AS level_date_crea, level_statut FROM " .  T_LEVEL .  " WHERE level_id =" .  $level_id .  ";";  
    $req_one_level =  "SELECT level_id, level_name, level_description, level_comment, level_visual_identity, level_range, level_statut FROM " .  T_LEVEL .  " WHERE level_statut<>'E' AND level_id=" .  $level_id .  ";";  
    $req_sup =  "SELECT scale_id, scale_denomination FROM " .  T_SCALE .  " WHERE scale_statut<>'E' AND scale_id<>$scale_id AND scale_dependencies<" .  (MAX_SCALE_LEVEL- 1) .  " ORDER BY scale_id;";  
 
 
        
       |