📄 config_credit_back.php
字号:
<?php
session_start();
include("checks.php");
include("../inc/conn.php");
$_SESSION["menus"]="信用额度还原";
if(isset($_GET["act"]))
{
mysql_query("update member set used_credit='0'",$conn);
mysql_query("update num set h='0'",$conn);
echo "还原成功!";
}
?>
<script language='javascript'>
function check(form)
{
return confirm('确实要还原会员信用额度吗?');
}
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css/css.CSS" rel="stylesheet" type="text/css">
<title></title>
<style type="text/css">
<!--
body {
margin-left: 0px;
}
-->
</style></head>
<body><?php include("config_menu.inc.php");?>
<table width="100%" height="91" border="0" align="left" cellpadding="0" cellspacing="0" class="tmove">
<tr>
<td height="91" valign="top"><table width="100%" height="127" border="0" cellpadding="0" cellspacing="0" class="t17">
<tr class="t11">
<td height="22"><strong class="fw12"> 会员信用额度还原</strong></td>
</tr>
<tr>
<td><div align="right"></div>
<div align="center">
<form name="form2" method="post" action="config_credit_back.php?act=yes" onSubmit="return check(this)">
<input type="submit" name="Submit" value=" 点击还原会员信用额度 ">
</form>
<br>
<br>
</div></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -