From a308504bbbc6302ab14609af6fdc778ad85b7931 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Wed, 13 May 2020 21:39:55 -0600 Subject: [PATCH] Detect tracking codes and track shipments in public view --- langs/en/titles.json | 3 +- public/index.php | 138 +++++++++++++++++++++++++++++++++++-------- 2 files changed, 116 insertions(+), 25 deletions(-) diff --git a/langs/en/titles.json b/langs/en/titles.json index aa8e1b2..fc170dd 100644 --- a/langs/en/titles.json +++ b/langs/en/titles.json @@ -3,5 +3,6 @@ "Form": "Form", "Machines": "Machines", "Clients": "Clients", - "Machine Info": "Machine Info" + "Machine Info": "Machine Info", + "Tracking Info": "Tracking Info" } diff --git a/public/index.php b/public/index.php index add0893..66ac23c 100644 --- a/public/index.php +++ b/public/index.php @@ -37,33 +37,123 @@ if (isset($_GET["backgroundcolor"]) && !empty($_GET["backgroundcolor"]) && preg_
col-12 col-md-8col-12"> -
-

-
- get("Machine Info"); ?> -
-

-
- -

No machine with ID could be found.

- - -

- Enter a Netsyms machine ID number or serial number. -

-
- - -
- +
+

+
+ get("Tracking Info"); ?> +
+

+
+
+
+
+
+ Tracking code: +
+
+ Current status: +
+
+ Last updated: +
+
+ Last location: +
+
+ Carrier: +
+
+
+ +
+
History:
+ +
+ +
+
+
+ +
+ +
+
+
+ +

+ Enter a Netsyms machine ID number, serial number, or tracking code. +

+
+ + +
+ +
+
+ +
+

+
+ get("Machine Info"); ?> +
+

+
+ +

No machine with ID could be found.

+ + +

+ Enter a Netsyms machine ID number, serial number, or tracking code. +

+
+ + +
+ +
-
-