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
+42 -42
View File
@@ -1,42 +1,42 @@
<form method="POST" action="submit.php">
<input type="hidden" name="add" value="assetclassgroup">
<table class="title">
<tr>
<td class="header">
{$lang_assetclassgroup_add}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/>
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_assetclassgroup}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_assetclassgroup_name}
</td>
<td class="value">
<input type="text" name="assetclassgroup_name">
</td>
</tr>
<tr>
<td class="label">
{$lang_color}
</td>
<td class="value">
<input type="text" name="assetclassgroup_color">
</td>
</tr>
</table>
</form>
<form method="POST" action="submit.php">
<input type="hidden" name="add" value="assetclassgroup">
<table class="title">
<tr>
<td class="header">
{$lang_assetclassgroup_add}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/>
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_assetclassgroup}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_assetclassgroup_name}
</td>
<td class="value">
<input type="text" name="assetclassgroup_name">
</td>
</tr>
<tr>
<td class="label">
{$lang_color}
</td>
<td class="value">
<input type="text" name="assetclassgroup_color">
</td>
</tr>
</table>
</form>