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
+51 -51
View File
@@ -1,51 +1,51 @@
<form method="POST" action="submit.php">
<input type="hidden" name="edit" value="optionspassword">
<table class="title">
<tr>
<td class="header">
{$lang_options}
</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=save" alt="{$lang_submit}">
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_options_password}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
<span class="help" title="{$lang_options_currentpassword_help}">{$lang_options_currentpassword}</span>
</td>
<td class="value">
<input type="password" name="user_currentpass">
</td>
</tr>
<tr>
<td class="label">
<span class="help" title="{$lang_options_newpassword1_help}">{$lang_options_newpassword1}</span>
</td>
<td class="value">
<input type="password" name="user_newpass1">
</td>
</tr>
<tr>
<td class="label">
<span class="help" title="{$lang_options_newpassword2_help}">{$lang_options_newpassword2}</span>
</td>
<td class="value">
<input type="password" name="user_newpass2">
</td>
</tr>
</table>
</form>
<form method="POST" action="submit.php">
<input type="hidden" name="edit" value="optionspassword">
<table class="title">
<tr>
<td class="header">
{$lang_options}
</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=save" alt="{$lang_submit}">
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_options_password}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
<span class="help" title="{$lang_options_currentpassword_help}">{$lang_options_currentpassword}</span>
</td>
<td class="value">
<input type="password" name="user_currentpass">
</td>
</tr>
<tr>
<td class="label">
<span class="help" title="{$lang_options_newpassword1_help}">{$lang_options_newpassword1}</span>
</td>
<td class="value">
<input type="password" name="user_newpass1">
</td>
</tr>
<tr>
<td class="label">
<span class="help" title="{$lang_options_newpassword2_help}">{$lang_options_newpassword2}</span>
</td>
<td class="value">
<input type="password" name="user_newpass2">
</td>
</tr>
</table>
</form>