Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
limited qs
  • Loading branch information
etl12003 committed Apr 25, 2017
1 parent 6da1d98 commit 77b7026
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
12 changes: 1 addition & 11 deletions Wello/www/map.php
Expand Up @@ -43,16 +43,6 @@
<div id="map" class="google-maps">
</div>


<!--
<div class="desk-details">
<a href="details.php" class="go-to" > go to > </a>
<?php
include 'details-content.php';
?>
</div>
-->
</main>
Expand All @@ -62,7 +52,7 @@
</nav>
<nav class="fabs">
<button class="gps"><img src="img/gps.svg" alt="get location" /></button>
<a class="add-well" href="form.php"> <img src="img/add.svg" alt="add well" /></a>
</nav>
Expand Down
1 change: 1 addition & 0 deletions Wello/www/search.php
Expand Up @@ -53,6 +53,7 @@ else{
FROM well_completion_report
WHERE (Well_Latitude BETWEEN $lat1 AND $lat2) AND (Well_Longitude BETWEEN $long1 AND $long2)
ORDER BY (((Well_Longitude-$long)*(Well_Longitude-$long)) + ((Well_Latitude-$lat)*(Well_Latitude-$lat))) ASC
LIMIT 30
";

} else {
Expand Down
1 change: 1 addition & 0 deletions Wello/www/wells-list.php
Expand Up @@ -44,6 +44,7 @@ if (isset($_GET['lat']) && isset($_GET['long'])) {
FROM well_completion_report
WHERE (Well_Latitude BETWEEN $lat1 AND $lat2) AND (Well_Longitude BETWEEN $long1 AND $long2)
ORDER BY (((Well_Longitude-$long)*(Well_Longitude-$long)) + ((Well_Latitude-$lat)*(Well_Latitude-$lat))) ASC
LIMIT 30
";

} else {
Expand Down

0 comments on commit 77b7026

Please sign in to comment.