<?php
/*********************/
/* */
/* Version : 5.1.0 */
/* Author : RM */
/* Comment : 071223 */
/* */
/*********************/
function sedit( )
{
global $db;
global $web_dbtop;
global $web_headdir;
$str = "card_".intval( $_COOKIE['usersid'] );
if ( $_FILES['UserPhoto']['name'] != "" )
{
$tmp_file = $_FILES['UserPhoto']['tmp_name'];
$file_types = explode( ".", $_FILES['UserPhoto']['name'] );
$file_type = $file_types[count( $file_types ) - 1];
if ( strtolower( $file_type ) != "jpg" & strtolower( $file_type ) != "gif" & strtolower( $file_type ) != "bmp" & strtolower( $file_type ) != "png" )
{
echo "<script language=javascript>alert('格式错误请重新选择图片!');history.go(-1);</script>";
exit( );
}
$file_name = $str.".".$file_type;
if ( !copy( $tmp_file, "../".$web_headdir.$file_name ) )
{
echo "<script language=javascript>alert('上传错误请重试!!');history.go(-1);</script>";
exit( );
}
}
if ( $_FILES['UserPhoto']['name'] != "" )
{
$UserPhoto = $web_headdir.$file_name;
}
else
{
$UserPhoto = $_POST['SysPhoto'];
}
if ( $_POST['UserInterested'] )
{
$UserInterested = implode( ",", $_POST['UserInterested'] );
}
$sql = "update ".$web_dbtop."users set id={$_POST['gid']},email='{$_POST['email']}',name='{$_POST['UserNick']}',";
if ( $_POST['password'] )
{
$sql .= "password='".md5( $_POST['password'] )."',";
}
$sql .= "vip=".intval( $_POST['vip'] ).",vipdate='".$_POST['vipdate'].( "',points=".$_POST['points'].",back={$_POST['back']},experience={$_POST['experience']},maxexperience={$_POST['maxexperience']},secques='{$_POST['UserSecQues']}',secans='{$_POST['UserSecAns']}'\r\n\t,sex='{$_POST['UserGender']}',head='{$UserPhoto}',qq='{$_POST['UserQQ']}',birthday='{$_POST['BirthYear']}-{$_POST['BirthMonth']}-{$_POST['BirthDay']}'\r\n\t,tel='{$_POST['UserPhone']}',address='{$_POST['UserPro']}-{$_POST['UserCity']}-{$_POST['UserAddr']}',education='{$_POST['UserQualifications']}',job='{$_POST['UserJob']}',bent='{$UserInterested}',caption='{$_POST['UserDescription']}',tjid={$_POST['tjid']} where id={$_POST['id']}" );
$query = $db->query( $sql );
}
function dellogin( )
{
global $db;
global $web_dbtop;
$db->query( "delete from ".$web_dbtop."users where vip=0 and logintime < date_add(curdate(),INTERVAL -2 month)" );
}
function jd( )
{
global $db;
global $web_dbtop;
$db->query( "update ".$web_dbtop."users set dj=0,djly=NULL where id={$_GET['id']}" );
}
function djcz( )
{
global $db;
global $web_dbtop;
$db->query( "update ".$web_dbtop."users set dj=1,djly='".$_POST['djly'].( "' where id in (".$_POST['id'].")" ) );
$db->query( "delete from ".$web_dbtop."game16_auto where uid in ({$_POST['id']})" );
$db->query( "delete from ".$web_dbtop."game28_auto where uid in ({$_POST['id']})" );
}
function del( )
{
global $db;
global $web_dbtop;
if ( isset( $_POST['id'] ) )
{
$id = implode( ",", $_POST['id'] );
}
else
{
$id = $_GET['id'];
}
$query = $db->query( "Select id,head,cardpic from ".$web_dbtop."users where id in ({$id})" );
while ( $rs = $db->fetch_array( $query ) )
{
if ( stristr( $rs['head'], "userspic/head/" ) )
{
deletefile( "../".$rs['head'] );
}
deletefile( "../".$rs['cardpic'] );
}
$db->query( "delete from ".$web_dbtop."users where id in ({$id})" );
$db->query( "delete from ".$web_dbtop."adip where uid in ({$id})" );
$db->query( "delete from ".$web_dbtop."adlogusers where uid in ({$id})" );
$db->query( "delete from ".$web_dbtop."advice where usersid in ({$id})" );
$db->query( "delete from ".$web_dbtop."backlog where usersid in ({$id})" );
$db->query( "delete from ".$web_dbtop."bbs_posts where uid in ({$id})" );
$db->query( "delete from ".$web_dbtop."bbs_reply where uid in ({$id})" );
$db->query( "delete from ".$web_dbtop."business where uid in ({$id})" );
$db->query( "delete from ".$web_dbtop."card where uid in ({$id})" );
$db->query( "delete from ".$web_dbtop."exchange where uid in ({$id})" );
$db->query( "delete from ".$web_dbtop."game_log where uid in ({$id})" );
$db->query( "delete from ".$web_dbtop."game11_auto where uid in ({$id})" );
$db->query( "delete from ".$web_dbtop."game11_auto_tz where uid in ({$id})" );
$db->query( "delete from ".$web_dbtop."game11_users_tz where uid in ({$id})" );
$db->query( "delete from ".$web_dbtop."game16_auto where uid in ({$id})" );
$db->query( "delete from ".$web_dbtop."game16_auto_tz where uid in ({$id})" );
$db->query( "delete from ".$web_dbtop."game16_users_tz where uid in ({$id})" );
$db->query( "delete from ".$web_dbtop."game28_auto where uid in ({$id})" );
$db->query( "delete from ".$web_dbtop."game28_auto_tz where uid in ({$id})" );
$db->query( "delete from ".$web_dbtop."game28_users_tz where uid in ({$id})" );
$db->query( "delete from ".$web_dbtop."gamebox_log where uid in ({$id})" );
$db->query( "delete from ".$web_dbtop."gamedodge where uid in ({$id})" );
$db->query( "delete from ".$web_dbtop."msg where usersid in ({$id})" );
$db->query( "delete from ".$web_dbtop."userslog where usersid in ({$id})" );
$db->query( "delete from ".$web_dbtop."webip where uid in ({$id})" );
$db->query( "delete from ".$web_dbtop."tjlog where uid in ({$id})" );
}
function main( )
{
global $db;
global $web_dbtop;
global $web_moneyname;
echo "<TABLE width=\"96%\" border=0 align=center cellpadding=0 cellSpacing=1 class=tbtitle style=\"BACKGROUND: #cad9ea;\">\r\n <TBODY>\r\n <TR>\r\n <TD bgColor=#f5fafe><table width=\"96%\" border=\"0\" align=\"center\" cellpadding=\"3\" cellspacing=\"1\">\r\n <tr>\r\n <form action=\"admin_users.php\" method=\"get\">\r\n <td width=\"10%\"><strong>搜索用户:</strong></td>\r\n <td width=\"21%\"><input id=keyword size=20 name=keyword></td>\r\n <td width=\"10%\" align=\"center\"><INPUT class=inputbut type=submit value=搜索 name=Submit></td>\r\n </form>\r\n <td width=\"10%\"><STRONG>查看方式</STRONG>:</td>\r\n <td width=\"35%\"><A href=\"admin_users.php?sorting=vip\">VIP</a> | <A href=\"admin_users.php?sorting=time\">注册时间</A> | <A href=\"admin_users.php?sorting=points\">";
echo $web_moneyname;
echo "</A> | <A href=\"admin_users.php?sorting=loginip\">IP</a> | <A href=\"admin_users.php?sorting=djpoints\">兑奖</a> | <A href=\"admin_usersyc.php\">检测异常帐户</a></td>\r\n </tr>\r\n </table></TD>\r\n </TR>\r\n </TBODY>\r\n</TABLE>\r\n<TABLE width=\"96%\" border=0 align=center cellpadding=\"5\" cellSpacing=1 class=tbtitle style=\"BACKGROUND: #cad9ea;\">\r\n<form name=\"form\" method=\"post\">\r\n <TBODY>\r\n <TR bgColor=\"#f5fafe\">\r\n <TD width=\"4%\"> </TD>\r\n\t <TD align=\"center\">用户ID</TD>\r\n <TD width=\"17%\" align=\"center\">用户E-mail</TD>\r\n <TD width=\"10%\" align=\"center\">";
echo $web_moneyname;
echo "</TD>\r\n\t <TD width=\"10%\" align=\"center\">银行</TD>\r\n <TD width=\"6%\" align=\"center\">兑奖数</TD>\r\n <TD width=\"13%\" align=\"center\">登陆IP</TD>\r\n <TD width=\"17%\" align=\"center\">操作</TD>\r\n </TR>\r\n\t";
$intpage = 20;
if ( isset( $_GET['page'] ) )
{
$rsnum = ( $_GET['page'] - 1 ) * $intpage;
}
else
{
$rsnum = 0;
}
$sorting = $_REQUEST['sorting'] ? ( $sorting = $_REQUEST['sorting'] ) : "id";
$sql = "Select * from ".$web_dbtop."users";
if ( $_REQUEST['keyword'] )
{
$sql .= " where id=".intval( $_REQUEST['keyword'] )." or name like '%".trim( $_REQUEST['keyword'] )."%' or loginip like '%".trim( $_REQUEST['keyword'] )."%' or email like '%".trim( $_REQUEST['keyword'] )."%'";
}
if ( $sorting == "points" )
{
$sorting = "points+back
没有合适的资源?快使用搜索试试~ 我知道了~
基于PHP的光影游戏积分系统 php版.zip
共653个文件
gif:360个
php:189个
jpg:64个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 26 浏览量
2023-07-25
23:23:21
上传
评论
收藏 3.53MB ZIP 举报
温馨提示
基于PHP的光影游戏积分系统 php版.zip
资源推荐
资源详情
资源评论
收起资源包目录
基于PHP的光影游戏积分系统 php版.zip (653个子文件)
default.css 35KB
css_top.css 2KB
default.css 2KB
css_body.css 2KB
css_menu.css 2KB
window.css 1KB
aboutus.css 956B
editorArea.css 105B
HtmlView.fne 212KB
internet.fne 180KB
krnln.fnr 1.05MB
124836089415009.gif 134KB
intro_bg1.gif 68KB
x_02.gif 29KB
19.gif 26KB
10.gif 22KB
x_03.gif 22KB
x_01.gif 20KB
09.gif 19KB
17.gif 18KB
03.gif 16KB
x_04.gif 16KB
game-kbx_13.gif 16KB
big_title.gif 15KB
game-kbx_17.gif 15KB
06.gif 15KB
game-kbx_15.gif 15KB
18.gif 13KB
02.gif 13KB
08.gif 13KB
04.gif 13KB
bg.gif 12KB
14.gif 11KB
logo.gif 11KB
logo.gif 11KB
12.gif 11KB
webgame_title.gif 10KB
kbx-yy_06.gif 9KB
16.gif 9KB
15.gif 9KB
logo.gif 9KB
05.gif 8KB
vipjj.gif 7KB
13.gif 7KB
x_07.gif 7KB
jj.gif 7KB
11.gif 7KB
01.gif 6KB
title.gif 6KB
x_06.gif 6KB
x_08.gif 6KB
sy.gif 6KB
news_title.gif 5KB
editor.gif 5KB
x-bj.gif 5KB
game-kbx_10.gif 4KB
ljtj.gif 4KB
game-kbx_38.gif 4KB
game-kbx_47.gif 4KB
game-kbx_37.gif 4KB
btn_ggame_reg.gif 4KB
huffy.gif 4KB
game-kbx_39.gif 4KB
20.gif 3KB
btn_reg2.gif 3KB
x_20.gif 3KB
3.gif 3KB
funk.gif 3KB
07.gif 3KB
bbg.gif 3KB
cry.gif 3KB
btn_reg.gif 3KB
btn_login.gif 3KB
shy.gif 3KB
1.gif 3KB
15.gif 3KB
05.gif 3KB
17.gif 3KB
04.gif 3KB
06.gif 3KB
16.gif 3KB
13.gif 3KB
game-kbx_50.gif 3KB
08.gif 3KB
11.gif 3KB
07.gif 3KB
game-kbx_56.gif 3KB
03.gif 3KB
game-kbx_53.gif 3KB
01.gif 3KB
10.gif 3KB
09.gif 3KB
20.gif 2KB
21.gif 2KB
09.gif 2KB
14.gif 2KB
11.gif 2KB
an_ljtj_03.gif 2KB
19.gif 2KB
12.gif 2KB
共 653 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
资源评论
助力毕业
- 粉丝: 2177
- 资源: 5130
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功