Changed database access to PDO using prepared statements
This commit is contained in:
+39
-39
@@ -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">
|
||||
|
||||
</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">
|
||||
|
||||
</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>
|
||||
|
||||
Reference in New Issue
Block a user