Changed database access to PDO using prepared statements

This commit is contained in:
2023-02-22 10:50:24 +01:00
parent a4ecd1bff7
commit 7c300e0a8f
132 changed files with 5364 additions and 6091 deletions
+39 -39
View File
@@ -1,39 +1,39 @@
<form method="POST" action="submit.php">
<input type="hidden" name="del" value="location">
<input type="hidden" name="location_id" value="{$location_id}">
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/building.png" alt="" />
{$location_name}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
<input type="image" src="images/building_delete.png" alt="{$lang_location_del}">
</td>
</tr>
</table>
<p>
<table class="info">
<tr>
<td class="header">
{$lang_location_del}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_location_name}
</td>
<td class="value">
<a href="locationview.php?location_id={$location_id}">{$location_name}</a>
</td>
</tr>
</table>
</form>
<form method="POST" action="submit.php">
<input type="hidden" name="del" value="location">
<input type="hidden" name="location_id" value="{$location->id}">
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/building.png" alt="" />
{$location_name}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
<input type="image" src="images/building_delete.png" alt="{$lang_location_del}">
</td>
</tr>
</table>
<p>
<table class="info">
<tr>
<td class="header">
{$lang_location_del}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_location_name}
</td>
<td class="value">
<a href="locationview.php?location_id={$location->id}">{$location->name}</a>
</td>
</tr>
</table>
</form>