From 3044a9aaba066c799a53b6a9b530f25ce2ccd07d Mon Sep 17 00:00:00 2001 From: MFox Date: Sat, 22 Apr 2017 15:46:34 -0400 Subject: [PATCH 1/2] IDK what these changes are --- Wello/www/details-content.php | 22 ++++++++++++++++------ Wello/www/details.php | 5 +++++ Wello/www/form.php | 20 +++++++++++++++++--- 3 files changed, 38 insertions(+), 9 deletions(-) diff --git a/Wello/www/details-content.php b/Wello/www/details-content.php index a07ba4b..e191fca 100644 --- a/Wello/www/details-content.php +++ b/Wello/www/details-content.php @@ -168,7 +168,7 @@ + ?> feet

  • @@ -177,7 +177,7 @@ + ?> inches

  • @@ -187,18 +187,28 @@ + ?> (weight per foot pounds)

  • -

    Threaded/Welded

    -

    STILLTODO

    +

    Casing Joint Type

    +

    + +

  • Drive Shoe?

    -

    STILLTODO

    +

    + +

  • diff --git a/Wello/www/details.php b/Wello/www/details.php index 1fd60b3..1bb7fbd 100644 --- a/Wello/www/details.php +++ b/Wello/www/details.php @@ -26,6 +26,11 @@ Relative_Location, Proposed_Use, Drilling_Equipment, + Casing_Length_Feet, + Casing_Diameter_Inches, + Casing_Weight_Per_Foot_Pounds, + Casing_Joint_Type, + Drive_Shoe, Depth_To_Top_Of_Gravel_Pack, Depth_To_Bottom_Of_Gravel_Pack diff --git a/Wello/www/form.php b/Wello/www/form.php index a647a84..300db04 100644 --- a/Wello/www/form.php +++ b/Wello/www/form.php @@ -54,9 +54,21 @@
      -
    • -
    • +
    • + + '; + ?> +
    • + + '.$W_Completion_Date.'

      '; + ?> +
    • @@ -64,7 +76,9 @@
    • - + '; + ?>
    • From 4297e166273332d52018c36b71089768549068a8 Mon Sep 17 00:00:00 2001 From: MFox Date: Sat, 22 Apr 2017 17:02:32 -0400 Subject: [PATCH 2/2] IDK --- Wello/www/form.php | 19 +++---- Wello/www/map.php | 2 +- Wello/www/{search.html => search.php} | 74 ++++++++++++++++----------- Wello/www/wells-list.php | 5 +- 4 files changed, 59 insertions(+), 41 deletions(-) rename Wello/www/{search.html => search.php} (55%) diff --git a/Wello/www/form.php b/Wello/www/form.php index 300db04..354201d 100644 --- a/Wello/www/form.php +++ b/Wello/www/form.php @@ -19,6 +19,11 @@ WHERE Permit_Number = $Well_ID"; if ($result = $mysqli->query($query)) { $row = $result->fetch_assoc(); + foreach ($row as &$value) { + if ($value == ""){ + $value == "Not Specified"; + } + } } ?> @@ -58,20 +63,16 @@ '; + echo''; ?>
    • - - - '.$W_Completion_Date.'

      '; - ?>
    • - + '; + ?>
    • diff --git a/Wello/www/map.php b/Wello/www/map.php index 5a8dd75..b0a301b 100644 --- a/Wello/www/map.php +++ b/Wello/www/map.php @@ -97,7 +97,7 @@ - - - - - + + - - - - - - +
      - -
      -
      -
      -

      Well Name

      -

      short well description

      -
      -
      -
      + query($query)) { + /* fetch associative array */ + while ($row = $result->fetch_assoc()) { + echo' + +
      +
      +
      +

      '.$row["WellAddress"].'

      +

      '.$row["Well_Town"].'

      +

      Permit Number: '.$row["Permit_Number"].'

      +
      +
      +
      '; + } + + /* free result set */ + $result->free(); + } + ?>
      - - - - - - - -