diff --git a/font/raleway.ttf b/font/raleway.ttf new file mode 100644 index 0000000..d57fecc Binary files /dev/null and b/font/raleway.ttf differ diff --git a/img/voile.JPG b/img/voile.JPG new file mode 100644 index 0000000..acd914b Binary files /dev/null and b/img/voile.JPG differ diff --git a/login/index.php b/login/index.php index fa8974b..6672483 100755 --- a/login/index.php +++ b/login/index.php @@ -9,7 +9,7 @@

Login:

-
+
-
+
diff --git a/prof/include/champ.php b/prof/include/champ.php index 0447a4d..f645fb9 100755 --- a/prof/include/champ.php +++ b/prof/include/champ.php @@ -4,7 +4,7 @@ if ($help) { echo 'point_int'; } echo '

-
+

check exclamation diff --git a/prof/index.php b/prof/index.php index d351fbc..b46f8ea 100755 --- a/prof/index.php +++ b/prof/index.php @@ -15,7 +15,7 @@ include '../session.php'; site référant'; + echo 'site référant'; } ?>

@@ -34,7 +34,7 @@ include '../session.php';

Détails :

-
+

check exclamation @@ -85,7 +85,7 @@ include '../session.php';

Matériel :

-
+
diff --git a/referant/cible/search.php b/referant/cible/search.php index f3810af..2a1283b 100755 --- a/referant/cible/search.php +++ b/referant/cible/search.php @@ -2,13 +2,13 @@ $bdd = new PDO('mysql:host=localhost;dbname=ticket;charset:utf8', 'root', ''); try { - $reponse = $bdd->query("SELECT * FROM pannes WHERE ID=" .$_POST['id']); - $line = $reponse -> fetch(); + $reponse = $bdd->query("SELECT * FROM pannes WHERE `" .$_POST['champ'] ."`='" .$_POST['value'] ."'"); + $result = []; + while ($line = $reponse->fetch()) { + array_push($result, $line); + }; - - $result = json_encode($line); - - print_r($result); + print_r(json_encode($result)); } catch (Exception) { echo false; } diff --git a/referant/export.php b/referant/export.php index 71dc337..533385c 100755 --- a/referant/export.php +++ b/referant/export.php @@ -13,7 +13,7 @@ include '../session_restraintes.php';

Type:

-
+
@@ -30,7 +30,7 @@ include '../session_restraintes.php';
-
+
diff --git a/referant/include/line.php b/referant/include/line.php index f12c4ae..c031c15 100755 --- a/referant/include/line.php +++ b/referant/include/line.php @@ -1,4 +1,8 @@ ',$class,' @@ -14,10 +18,10 @@ if (isset($line)) { ',$line[10],''; if ($line[11] == 1) { - echo ''; + echo ''; } else { - echo ''; + echo ''; } @@ -44,7 +48,7 @@ else { - +