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
+4 -4
View File
@@ -1,6 +1,6 @@
<form method="POST" action="submit.php">
<input type="hidden" name="del" value="nat">
<input type="hidden" name="node_id_ext" value="{$node_id_ext}">
<input type="hidden" name="node_id_ext" value="{$node->id_ext}">
<table class="title">
<tr>
@@ -10,7 +10,7 @@
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
{if $nat_options}
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
<input type="image" src="image.php?icon=delete" alt="{$lang_submit}">
{/if}
</td>
</tr>
@@ -30,7 +30,7 @@
{$lang_ip}
</td>
<td class="value">
<a href="nodeview.php?node_id={$node_id_ext}">{$node_ip_ext}</a>
<a href="nodeview.php?node_id={$node->id_ext}">{$node->ip_ext}</a>
</td>
</tr>
</table>
@@ -50,7 +50,7 @@
{$lang_node}
</td>
<td class="value">
{html_options name=nat_ext options=$nat_options}
{html_options name=nat_id options=$nat_options}
</td>
{else}
<td colspan="2">