"_section_"),"PMBSECTIONS");
$allow_section=1;
}
print $begin_result_liste ;
$requete = "select * from parametres where gestion=0 order by type_param, section_param, sstype_param ";
$res = mysql_query($requete, $dbh);
$i=0;
while($param=mysql_fetch_object($res)) {
if (!$type_param) {
$type_param=$param->type_param;
$creer = 1;
$fincreer = 0;
$odd_even=0;
} elseif ($type_param!=$param->type_param) {
$type_param=$param->type_param;
$creer = 1;
$fincreer = 1;
$odd_even=0;
} else {
$creer = 0;
$fincreer = 0;
}
if (($section_param!=$param->section_param)&&($allow_section)) {
$section_param=$param->section_param;
$creer_section=1;
} else $creer_section=0;
if ($fincreer) {
print "\n";
}
if ($creer) {
$lab_param = $msg["param_".$type_param];
if ($lab_param=="") $lab_param=$type_param;
print "\n
".$lab_param."
\n
";
print "\n
";
print "
".$msg[1603]." |
".$msg[1604]." |
".$msg['param_explication']." |
";
}
if ($odd_even==0) {
$class_liste="odd";
$odd_even=1;
} else if ($odd_even==1) {
$class_liste="even";
$odd_even=0;
}
$surbrillance = "surbrillance";
if ( $param->type_param==$form_type_param && $param->sstype_param==$form_sstype_param) {
$class_liste.=" justmodified";
$surbrillance.=" justmodified";
}
$tr_javascript=" onmouseover=\"this.className='$surbrillance'\" onmouseout=\"this.className='$class_liste'\" onmousedown=\"document.location='./admin.php?categ=param&action=modif&id_param=".$param->id_param."';\" ";
if ($creer_section) { print "\n".$section_table[$section_param]["LIB"]." |
"; }
if ( $param->type_param==$form_type_param && $param->sstype_param==$form_sstype_param) {
print "\n
$param->sstype_param | ";
} else {
print "\n
$param->sstype_param | ";
}
print "$param->valeur_param | $param->comment_param | \n
";
} // fin while
print "
";
}