* @version $id SVN
* @access public
* @license http://opensource.org/licenses/gpl-3.0.html
*/
// ////////// Check Inclusion de pages ////////////
if (!function_exists('AuthenthificationProcess')) {
include_once("../lib/lib_common.php");
ReloadIndex('admin');
}
// //////////
$result = $sql_object->DBSelect($req_list_theme);
$sdi_object = new sdi;
$req_sdi = SQL_getListSdi($filter = "R", $valueparam = 0);
$result_sdi = $sql_object->DBSelect($req_sdi);
/**
* DEBUG_informations
* to access debug informations
* uncomment code and change the value
* of form action to post data
* on the same page
*/
/**
if (isset($_POST['valider'])) {
if (isset($_POST['graphic'])) $graphic = 1;
else $graphic = 'N';
if (isset($_POST['table_value'])) $table_value = $_POST['table_value'];
else $table_value = 'non';
if (isset($_POST['notpublished'])) $notpublished = $_POST['notpublished'];
else $notpublished = 'N';
if (isset($_POST['provider'])) $provider = $_POST['provider'];
else $provider = 'N';
if (isset($_POST['reglementation'])) $reglementation = $_POST['reglementation'];
else $reglementation = 'N';
if (isset($_POST['evaluation'])) $evaluation = $_POST['evaluation'];
else $evaluation = 'N';
if ($_POST['scale']=='det')
{
print_r($_POST['eachscale']);
}
else echo "scale ALL
\n";
if ($_POST['sdi']=='det')
{
while (list(, $value) = each ($_POST['eachsdi'])) {
echo "sdi Valeur: $value
\n";
}
}
else echo "sdi ALL
\n";
$report_title = $_POST['title_report'];
$report_author = $_POST['author'];
$report_mail = $_POST['mail_author'];
$report_service = $_POST['service_author'];
$report_adress = $_POST['adresse_author'];
echo "
" . $graphic;
echo "
" . $table_value;
echo "
" . $notpublished;
echo "
" . $provider;
echo "
" . $reglementation;
echo "
" . $evaluation;
echo "
" . $report_title;
echo "
" . $report_author;
echo "
" . $report_mail;
echo "
" . $report_service;
echo "
" . $report_adress;
echo "
" . $_POST['scale'];
echo "
" . $_POST['sdi'];
}
*/
if (!isset($_REQUEST['scale_id'])) {
$scale_id = 1;
} else {
$scale_id = $_REQUEST['scale_id'];
}
$listing = "";
// affichage liste échelle
$resultscale = $sql_object->DBSelect($req_list_scale);
$listing .= "