mrgacon
08-08-13, 11:11 PM
có ai biết fix tẩy điểm quá 32k forestweb ko
web forestweb mình đang dùng nhân vật tăng quá 32k ko tẩy đc điểm :-s
libikay
09-08-13, 11:22 AM
có ai biết fix tẩy điểm quá 32k forestweb ko
web forestweb mình đang dùng nhân vật tăng quá 32k ko tẩy đc điểm :-s
chưa dùng web này bao giờ bạn có thể show đoạn code đó minh xem và fix cho :)
mrgacon
09-08-13, 05:04 PM
file đặt ở Hosting
mục:      Quản Lý
file     do_point.php
//=========================
<?
session_start();
include("check_login.php");
include("config.php");
$accountid = $_SESSION['user'];
$passwordid = $_SESSION['pass'];
include("do_shownv.php");
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
$row=explode("||",$pagehost);
echo"
<p style='font-family: Verdana; text-align: left; font-size: 13pt;color: #ffffff;margin-top: 0;margin-bottom: 0;'><strong>Khôi phục điểm cộng</strong></p>
<hr width=100%>
<div align='left' class='dkrs1'><ul><b>
<li><font color=#cccccc>Sử dụng <font color=yellow><b>Vpoint</font> lấy lại điểm bạn sẽ mất <font color=yellow>$row[0] Vpoint </font>trong tài khoản</font> <font color=red><br>
<li><font color=#cccccc>Sử dụng <font color=yellow><b>Zen</font> lấy lại điểm bạn sẽ mất <font color=yellow>$row[2] Zen </font>trong ngân hàng </font><font color=red><br>
</ul></b></div>
<br>";
?>
<form action='do_point_step2.php' method='post' name='point' id='point' target='ok'>
<table width='360' border='0' align='center' cellpadding='0' cellspacing='0'>
	<tr>
		<td>
	<fieldset><legend class='dkrs1'><font color=#366696><b>Khôi phục điểm cộng</legend>
	
		<table width='250' border='0' align='center' cellpadding='0' cellspacing='5'>
		<tr class="dkrs1">
			<td align="center"><font color=#cccccc><b>Lựa chọn nhân vật</td>
			<td><select name='character' id='character'><?echo"$shownv";?></select></td>
		</tr>
		<tr class="dkrs1" align="center">
			<td colspan="2"><INPUT TYPE='radio' NAME='type_curren' id='type_curren' VALUE='0'><font color=yellow><b> Zen <INPUT TYPE='radio' NAME='type_curren' id='type_curren' VALUE='1'> <font color=yellow><b>Vpoint</td>
		</tr>
		<tr>
			<td colspan="2" align="center"><input type='submit' name='Submit' value='Lấy điểm'></td>
		</tr>
</table>
</fieldset>
</td></tr></table>
</form>
//============================
file      do_point_step2.php
//============================
<?
session_start();
include("check_login.php");
include("config.php");
$accountid = $_SESSION['user'];
$passwordid = $_SESSION['pass'];
$character = $_POST['character'];
$type_curren = $_POST['type_curren'];
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
echo"$pagehost";
?>
//===================================
file  đặt ở Server
file    do_point.php
//====================================
<?
include("config.php");
echo"$muweb[vndxoa]||$muweb[lzenxoa]||$muweb[zenxoa]";
?>
//===================================
file    do_point_step2.php
<? 
session_start();
//require("antiddos.php");
include_once('sql_check.php');
check_inject();
require_once "sql_inject.php"; 
$bDestroy_session = TRUE; 
$url_redirect = 'index.php'; 
$sqlinject = new sql_inject('./log_file_sql.log',$bDestroy_session,$url_redirect) ;
include("includes/web_modules.php");
include("includes/clean_var.php");
$user=$_GET['user'];
$pass=$_GET['pass'];
$_SESSION['user'] = $user;
$_SESSION['pass'] = $pass;
?>
<meta <b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>"Content-Type" content="text/html; charset=utf-8">
<?
		include("config.php");
if($muweb['xoadiem'] == 0)
{echo "<script>alert('Server không bật chức năng này! ');</script>";exit();}
		$character = $_GET['character'];
		$type_curren = $_GET['type_curren'];
		if($character == "" OR $type_curren == ""){echo "<script>alert('Bạn phải điền đầy đủ thông tin!');</script>";exit();}
		$info = character_check($character,$_SESSION['user'],$_SESSION['pass']);
            check_dupe($info[character]);
		$query = $db->Execute("SELECT Name,LevelUpPoint,Strength,Dexterity,Vitality,Ener gy,Class FROM Character WHERE Name='$info[character]' and AccountID='$info[login]'");
		$row = $query->fetchrow();
		$total_point=$row[1]+$row[2]+$row[3]+$row[4]+$row[5];
if ($muweb['xoadiem'] == 1)
{
if ($muweb['vip'] == 1)
{
	$db->Execute("UPDATE Character SET [LevelUpPoint]=?,[Strength]='0',[Dexterity]='0',[Vitality]='0',[Energy]='0' WHERE Name=? and AccountID=?",array($total_point,$info[character],$info[login]));
      $db->Execute("BACKUP DATABASE [MuOnline] TO DISK = N'D:\MuServer\DBBAK\MuOnline.bak' WITH INIT , NOUNLOAD , NAME = N'MuOnline backup', NOSKIP , STATS = 10, NOFORMAT");
		$logfile = 'logs/clearpoiny.php';
		$ip = $_SERVER['REMOTE_ADDR'];
		$date = date('Y-m-d H:i');
		$data = "Nhan vat $info[character] da xoa diem bang loai tien $type_curren luc $date By ip:$ip \n";
		$fp = fopen($logfile, 'a');
		fputs($fp, $data);
		fclose($fp);
	echo "<script>alert('Xóa điểm thành công. Điểm dư $total_point.');</script>";exit();
}
elseif ($muweb['vip'] != 1)
{
if ($type_curren == "0")
{
      if ($muweb['bank_zen'] < $muweb['zenxoa'])
		{echo "<script>alert('Ngân hàng không đủ Zen (Yêu cầu tối thiểu $muweb[zenxoa] Zen).');</script>";exit();}
	elseif ($total_point < $muweb['pointxoa'])
		{echo "<script>alert('$info[character] không đủ $muweb[pointxoa] điểm.;</script>";}
	else if ($type_curren!="1" AND $type_curren!="0" AND $type_curren!="2")
            {echo "<script>alert('Bạn phải chọn loại tiền.');</script>";exit();}
	else {
	$money = $muweb['bank_zen'] - $muweb['zenxoa'];
	$db->Execute("UPDATE Character SET [LevelUpPoint]=?,[Strength]='0',[Dexterity]='0',[Vitality]='0',[Energy]='0'  WHERE Name=? and AccountID=?",array($total_point,$info[character],$info[login]));
	$db->Execute("UPDATE MEMB_INFO SET [bank]=? WHERE memb___id=?",array($money,$info[login]));
      $db->Execute("BACKUP DATABASE [MuOnline] TO DISK = N'D:\MuServer\DBBAK\MuOnline.bak' WITH INIT , NOUNLOAD , NAME = N'MuOnline backup', NOSKIP , STATS = 10, NOFORMAT");
		$logfile = 'logs/clearpoiny.php';
		$ip = $_SERVER['REMOTE_ADDR'];
		$date = date('Y-m-d H:i');
		$data = "Nhan vat $info[character] da xoa diem bang loai tien $type_curren luc $date By ip:$ip \n";
		$fp = fopen($logfile, 'a');
		fputs($fp, $data);
		fclose($fp);
	echo "<script>alert('Xóa điểm thành công. Điểm dư $total_point.');</script>";exit();
	}
}
elseif ($type_curren == "1")
{
      if ($muweb['member_vnd'] < $muweb['vndxoa'])
		{echo "<script>alert('Tài khoản của bạn không đủ VND (Yêu cầu tối thiểu $muweb[vndxoa] VND).');</script>";}
	elseif ($total_point < $muweb['pointxoa'])
		{echo "<script>alert('$info[character] không đủ $muweb[pointxoa] điểm.');</script>";}
	else if ($type_curren!="1" AND $type_curren!="0" AND $type_curren!="2")
            {echo "<script>alert('Bạn phải chọn loại tiền.');</script>";}
	else {
	$money_change = $muweb['member_vnd'] - $muweb['vndxoa'];
	$db->Execute("UPDATE Character SET [LevelUpPoint]=?,[Strength]='0',[Dexterity]='0',[Vitality]='0',[Energy]='0'  WHERE Name=? and AccountID=?",array($total_point,$info[character],$info[login]));
	$db->Execute("UPDATE MEMB_INFO SET [money_vnd]='$money_change' WHERE memb___id='$info[login]'");
      $db->Execute("BACKUP DATABASE [MuOnline] TO DISK = N'D:\MuServer\DBBAK\MuOnline.bak' WITH INIT , NOUNLOAD , NAME = N'MuOnline backup', NOSKIP , STATS = 10, NOFORMAT");
		$logfile = 'logs/clearpoiny.php';
		$ip = $_SERVER['REMOTE_ADDR'];
		$date = date('Y-m-d H:i');
		$data = "Nhan vat $info[character] da xoa diem bang loai tien $type_curren luc $date By ip:$ip \n";
		$fp = fopen($logfile, 'a');
		fputs($fp, $data);
		fclose($fp);
	echo "<script>alert('Xóa điểm thành công. Điểm dư $total_point.');</script>";exit();
	}
}
elseif ($type_curren == "2")
{
	if ($muweb['lzen'] < $muweb['lzenxoa'])
		{echo "<script>alert('Không đủ L-Zen (Yêu cầu tối thiểu $muweb[lzenxoa] L-Zen trong ngân hàng).');</script>";exit();}
	elseif ($total_point < $muweb['pointxoa'])
		{echo "<script>alert('$info[character] không đủ $muweb[pointxoa] điểm.');</script>";exit();}
	else if ($type_curren!="1" AND $type_curren!="0" AND $type_curren!="2")
            {echo "<script>alert('Bạn phải chọn loại tiền.');</script>";exit();}
	else {
	$money_change = $muweb['lzen'] - $muweb['lzenxoa'];
	$db->Execute("UPDATE Character SET [LevelUpPoint]=?,[Strength]='0',[Dexterity]='0',[Vitality]='0',[Energy]='0'  WHERE Name=? and AccountID=?",array($total_point,$info[character],$info[login]));
	$db->Execute("UPDATE MEMB_INFO SET [lzen]='$money_change' WHERE memb___id='$info[login]'");
      $db->Execute("BACKUP DATABASE [MuOnline] TO DISK = N'D:\MuServer\DBBAK\MuOnline.bak' WITH INIT , NOUNLOAD , NAME = N'MuOnline backup', NOSKIP , STATS = 10, NOFORMAT");
		$logfile = 'logs/clearpoiny.php';
		$ip = $_SERVER['REMOTE_ADDR'];
		$date = date('Y-m-d H:i');
		$data = "Nhan vat $info[character] da xoa diem bang loai tien $type_curren luc $date By ip:$ip \n";
		$fp = fopen($logfile, 'a');
		fputs($fp, $data);
		fclose($fp);
	echo "<script>alert('Xóa điểm thành công. Điểm dư $total_point.');</script>";exit();
	}
}
}
}
else
{
	echo "<script>alert('Server không bật chức năng này.');</script>";exit();
}
?>
//===================================
mrgacon
09-08-13, 05:24 PM
nói chung web tôi đây
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>!WZB3VAqD!TqW0ulImY6prFvS5zoRXc2XSqnwhM8heXMtYB87 uq8o
mrgacon
10-08-13, 03:37 AM
up ai pro forestweb giup ho cai
mrgacon
14-08-13, 07:50 AM
mr.hau hoặc hoangtu_eck94 pro xuất hiện đi
Powered by vBulletin® Version 4.2.0 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.