ClearMember.php
4.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<?php
define('EmpireCMSAdmin','1');
require("../../class/connect.php");
require("../../class/db_sql.php");
require("../../class/functions.php");
require("../../member/class/user.php");
$link=db_connect();
$empire=new mysqlquery();
$editor=1;
//驗證用戶
$lur=is_login();
$logininid=$lur['userid'];
$loginin=$lur['username'];
$loginrnd=$lur['rnd'];
$loginlevel=$lur['groupid'];
$loginadminstyleid=$lur['adminstyleid'];
//ehash
$ecms_hashur=hReturnEcmsHashStrAll();
//驗證權限
CheckLevel($logininid,$loginin,$classid,"member");
$enews=$_POST['enews'];
if($enews)
{
hCheckEcmsRHash();
}
if($enews=='ClearMember')
{
@set_time_limit(0);
include('../../member/class/member_adminfun.php');
include('../../member/class/member_modfun.php');
admin_ClearMember($_POST,$logininid,$loginin);
}
//會員組
$group='';
$sql=$empire->query("select groupid,groupname from {$dbtbpre}enewsmembergroup order by level");
while($level_r=$empire->fetch($sql))
{
$group.="<option value=".$level_r[groupid].">".$level_r[groupname]."</option>";
}
db_close();
$empire=null;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>清理會員</title>
<link href="../adminstyle/<?=$loginadminstyleid?>/adminstyle.css" rel="stylesheet" type="text/css">
<script src="../ecmseditor/fieldfile/setday.js"></script>
</head>
<body>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">
<tr>
<td>位置:<a href="ListMember.php<?=$ecms_hashur['whehref']?>">管理會員</a> > 清理會員</td>
</tr>
</table>
<form name="form1" method="post" action="ClearMember.php" onsubmit="return confirm('確認要刪除?');">
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
<?=$ecms_hashur['form']?>
<tr class="header">
<td height="25" colspan="2">清理會員
<input name="enews" type="hidden" id="enews" value="ClearMember"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="20%" height="25">用戶名包含字符:</td>
<td width="80%" height="25"><input name=username type=text id="username"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">郵箱地址包含字符:</td>
<td height="25"><input name=email type=text id="email"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">用戶ID 介於:</td>
<td height="25"><input name="startuserid" type="text" id="startuserid">
--
<input name="enduserid" type="text" id="enduserid"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" valign="top">所屬會員組:</td>
<td height="25"><select name="groupid" id="groupid">
<option value="0">不限</option>
<?=$group?>
</select></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" valign="top">註冊時間 介於:</td>
<td height="25"><input name="startregtime" type="text" id="startregtime" onclick="setday(this)">
--
<input name="endregtime" type="text" id="endregtime" onclick="setday(this)">
<font color="#666666">(格式:2011-01-27)</font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">點數 介於:</td>
<td height="25"><input name="startuserfen" type="text" id="startuserfen">
--
<input name="enduserfen" type="text" id="enduserfen"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">帳戶餘額 介於:</td>
<td height="25"><input name="startmoney" type="text" id="startmoney">
--
<input name="endmoney" type="text" id="endmoney"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">是否審核:</td>
<td height="25"><input name="checked" type="radio" value="0" checked>
不限
<input name="checked" type="radio" value="1">
已審核會員
<input name="checked" type="radio" value="2">
未審核會員</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25"> </td>
<td height="25"><input type="submit" name="Submit" value="刪除會員">
</td>
</tr>
</table>
</form>
</body>
</html>