$queryDetails.= " order by STR_TO_DATE(".$protectedPost['tri_'.$table_name].",'".$tab_options['TRI']['DATE'][$protectedPost['tri_'.$table_name]]."') ".$protectedPost['sens_'.$table_name];
993
994
}else
986
995
$queryDetails.= " order by ".$protectedPost['tri_'.$table_name]." ".$protectedPost['sens_'.$table_name];
987
996
988
997
1324
1333
foreach ($sql_data as $i=>$donnees){
1325
1334
1326
1335
foreach($list_fields as $key=>$value){
1336
$htmlentities=true;
1327
1337
$truelabel=$key;
1328
1338
// p($tab_options);
1329
1339
//gestion des as de colonne
1346
1356
//si aucune valeur, on affiche un espace
1347
1357
if ($donnees[$no_alias_value] == ""){
1348
1358
$value_of_field = " ";
1359
$htmlentities=false;
1349
1360
}else //sinon, on affiche la valeur
1350
1361
{
1351
1362
$value_of_field=$donnees[$no_alias_value];
1483
1494
if (is_array($tab_options) and !$tab_options['SHOW_ONLY'][$key][$value_of_field] and $tab_options['SHOW_ONLY'][$key]){