config_credit_back.php
资源名称:Nsix.rar [点击查看]
上传用户:m68239277
上传日期:2014-10-12
资源大小:824k
文件大小:1k
源码类别:
Web服务器
开发平台:
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>