Changed database access to PDO using prepared statements
This commit is contained in:
+54
-54
@@ -1,54 +1,54 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="redirect" value="vlansubnet">
|
||||
<input type="hidden" name="vlan_id" value="{$vlan_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlansubnet}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=next" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_name} ({$lang_vlan_number})
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="vlanview.php?vlan_id={$vlan_id}">{$vlan_name} ({$vlan_number})</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_options}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="radio" name="action" value="vlansubnetadd" checked> {$lang_subnet_add}<br>
|
||||
<input type="radio" name="action" value="vlansubnetdel"> {$lang_subnet_del}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="redirect" value="vlansubnet">
|
||||
<input type="hidden" name="vlan_id" value="{$vlan->id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlansubnet}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=next" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_name} ({$lang_vlan_number})
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="vlanview.php?vlan_id={$vlan->id}">{$vlan->name} ({$vlan->number})</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_options}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="radio" name="action" value="vlansubnetadd" checked> {$lang_subnet_add}<br>
|
||||
<input type="radio" name="action" value="vlansubnetdel"> {$lang_subnet_del}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user