- Move some scripts to their own js files
- Move some duplicate code blocks to functions
- General tidy & spacing cleanups (#538)
This commit is contained in:
Marcus Hill
2023-02-04 22:09:56 +00:00
parent aad55c6d56
commit f92dc108e2
130 changed files with 11265 additions and 11514 deletions

View File

@@ -1,7 +1,7 @@
<?php include("inc_all.php"); ?>
<?php
require_once("inc_all.php");
if (isset($_GET['query'])) {
$query = trim(strip_tags(mysqli_real_escape_string($mysqli,$_GET['query'])));
@@ -60,9 +60,7 @@ if (isset($_GET['query'])) {
<td><?php echo $location_phone; ?></td>
</tr>
<?php
}
?>
<?php } ?>
</tbody>
</table>
@@ -118,9 +116,8 @@ if (isset($_GET['query'])) {
<td><?php echo $contact_mobile; ?></td>
</tr>
<?php
}
?>
<?php } ?>
</tbody>
</table>
@@ -161,9 +158,8 @@ if (isset($_GET['query'])) {
<td><?php echo $vendor_phone; ?></td>
</tr>
<?php
}
?>
<?php } ?>
</tbody>
</table>
@@ -201,9 +197,8 @@ if (isset($_GET['query'])) {
<td><?php echo $product_description; ?></td>
</tr>
<?php
}
?>
<?php } ?>
</tbody>
</table>
@@ -246,9 +241,8 @@ if (isset($_GET['query'])) {
<td><?php echo $document_updated ?></td>
</tr>
<?php
}
?>
<?php } ?>
</tbody>
</table>
@@ -296,9 +290,8 @@ if (isset($_GET['query'])) {
</tr>
<?php
}
?>
<?php } ?>
</tbody>
</table>
@@ -343,9 +336,8 @@ if (isset($_GET['query'])) {
</tr>
<?php
}
?>
<?php } ?>
</tbody>
</table>
@@ -360,4 +352,5 @@ if (isset($_GET['query'])) {
<?php } ?>
<?php include("footer.php");
<?php
require_once("footer.php");