Commit 49d2ebc5 authored by Laurent Joly's avatar Laurent Joly
Browse files

Correctif : conservation des variable lors d'un tri

parent c46d9b28
......@@ -164,33 +164,33 @@ if ($liste_poste) {
echo "<table cellspadding='2' cellspacing='1' border='0' align='center' bgcolor='black'>\n";
echo "<tr style='color:white'>\n";
echo "<th width='120' rowspan='2'><a href='?tri=";
echo "<th width='120' rowspan='2'><a href='?flag=".$get_flag."&uuid=".$get_uuid."&tri=";
if ($tri == 0)
echo "1";
else
echo "0";
echo "' style='color:" . $regular_lnk . "'>Nom du poste</a></th>\n";
echo "<th width='50' rowspan='2'>OS</th>\n";
echo "<th width='120'><a href='?tri=";
echo "<th width='120'><a href='?flag=".$get_flag."&uuid=".$get_uuid."&tri=";
if ($tri == 2)
echo "3";
else
echo "2";
echo "' style='color:" . $regular_lnk . "'>Statut</a></th>\n";
echo "<th width='180' colspan='2'>Nombre d'applications</th>\n";
echo "<th width='200' rowspan='2'><a href='?tri=";
echo "<th width='200' rowspan='2'><a href='?flag=".$get_flag."&uuid=".$get_uuid."&tri=";
if ($tri == 6)
echo "7";
else
echo "6";
echo "' style='color:" . $regular_lnk . "'>Date du dernier rapport</a></th>\n";
echo "<th width='120' rowspan='2'><a href='?tri=";
echo "<th width='120' rowspan='2'><a href='?flag=".$get_flag."&uuid=".$get_uuid."&tri=";
if ($tri == 8)
echo "9";
else
echo "8";
echo "' style='color:" . $regular_lnk . "'>Adresse IP</a></th>\n";
echo "<th width='160' rowspan='2'><a href='?tri=";
echo "<th width='160' rowspan='2'><a href='?flag=".$get_flag."&uuid=".$get_uuid."&tri=";
if ($tri == 10)
echo "11";
else
......@@ -223,7 +223,7 @@ echo ">Autre</option>";
echo " </select>";
echo "</th>\n";
echo "<th width='90'>Total</th>\n";
echo "<th width='90'><a href='?tri=";
echo "<th width='90'><a href='?flag=".$get_flag."&uuid=".$get_uuid."&tri=";
if ($tri == 4)
echo "5";
else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment