And heres another Lavalair mod called Vault upload lol.
Use the thanks button if you like what you see......
Use the thanks button if you like what you see......
class Counter { public: void Count(); int ReadDisplay(); private: int CurrentCount; };
}else if($action=="uploadav"){
echo '<form enctype="multipart/form-data" action="genproc.php.php?action=uploadav&sid=$sid" method="POST">
Pic: <input name="pic" type="file"/><br/>
<input type="submit" value="Upload"/>
</form>';
}
}else if($action=="uploadav"){
$path="avatars/".$HTTP_POST_FILES['pic']['name'];
if($pic!="none")
{
if(copy($HTTP_POST_FILES['pic']['tmp_name'], $path))
{
echo "Successful<br/>";
mysql_query("UPDATE ibwf_users SET avatar='".$path."' WHERE uid='".$uid."'");
}
else
{
echo "Error<br/>";
}
}
}
////////////////////////////////////////MAIN PAGE
if($action=="main")
{
addvisitor();
addonline(getuid_sid($sid),"Main","index.php?action=$action");
//saveuinfo($sid);
$nick = getnick_sid($sid);
echo "<head>";
echo "<title> Hall </title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
// anti-flood inregisrare
$actime = mysql_fetch_array(mysql_query("SELECT regdate FROM iwbf_users WHERE browserm='".$ubr."' ORDER BY regdate DESC LIMIT 1"));
$timeout = $actime[0] + (200000000);
if(time()<$timeout)
{
$tm = time();
$ramas = $timeout - $tm;
echo "<p align=\"center\">";
echo "<img src=\"images/notok.gif\" alt=\"X\"/><br/><small><b>ANTI-FLOOD REGISTER</b><b>$ramas sec.</b></small><br/>";
echo "</p>";
}else{
echo "VIP: <select name=\"specialid\" value=\"$specialid[0]\">";
echo "<option value=\"0\">Normal</option>";
echo "<option value=\"1\">Millionaire</option>";
echo "<option value=\"2\">Quiz Masters</option>";
echo "<option value=\"8\">Prince</option>";
echo "<option value=\"9\">Princess</option>";
echo "</select><br/>";
<?php
/*
|======================================================|
| Arawap Wap Forum |
| http://Arawap.net / http://Arawap.net |
| Arawapwap@gmail.com |
|======================================================|
*/
include("xhtmlfunctions.php");
header("Content-type: text/html; charset=ISO-8859-1");
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>";
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">";
?>
<?php
include("config.php");
include("core.php");
connectdb();
$action = $_GET["action"];
$sid = $_GET["sid"];
if(islogged($sid)==false)
{
$pstyle = gettheme($sid);
echo xhtmlhead("Arawap Bank",$pstyle);
echo "<p align=\"center\">";
echo "You are not logged in<br/>";
echo "Or Your session has been expired<br/><br/>";
echo "<a href=\"index.php\">Login</a>";
echo "</p>";
echo xhtmlfoot();
exit();
}
$uid = getuid_sid($sid);
if(isbanned($uid))
{
$pstyle = gettheme($sid);
echo xhtmlhead("Arawap Bank",$pstyle);
echo "<p align=\"center\">";
echo "<img src=\"images/notok.gif\" alt=\"x\"/><br/>";
echo "You are <b>Banned</b><br/>";
$banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_metpenaltiespl WHERE uid='".$uid."' AND penalty='1'"));
$remain = $banto[0]- (time() );
$rmsg = gettimemsg($remain);
echo "Time to finish your penalty: $rmsg<br/><br/>";
//echo "<a href=\"index.php\">Login</a>";
echo "</p>";
echo xhtmlfoot();
exit();
}
if($action=="main")
{
addonline(getuid_sid($sid),"Arawap Bank","awbank.php?action=main");
$pstyle = gettheme($sid);
echo xhtmlhead("Arawap Bank",$pstyle);
echo "<p align=\"center\">";
$nick = getnick_sid($sid);
$who = getuid_nick($nick);
echo "<img src=\"images/ayu.gif\" alt=\"\"/><br/>";
echo "<b><u>AubOwan $nick!!</u></b><br/>";
echo "<br/>";
echo "<i>Welcome to 1st w@p Bank in da w0rld! </i><br/>";
echo "Deposit Ur Credits in aRa bank and get <b>1% interest Daily!!</b><br/>";
$credits = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$who."'"));
$arabank = mysql_fetch_array(mysql_query("SELECT arabank FROM ibwf_users WHERE id='".$who."'"));
echo "U have <b>$credits[0]</b> Credits in Pocket!<br/>";
echo "U have <b>$arabank[0]</b> Credits in Bank!<br/><br/>";
echo "<a href=\"awbank.php?action=dep&sid=$sid\">» Deposit Credits</a><br/>";
echo "<a href=\"awbank.php?action=get&sid=$sid\">» Withdraw Credits</a><br/>";
echo "» Bank LoanS<br/>";
echo "<a href=\"awbank-func.php?action=topt&sid=$sid\">» Top Transactors!</a><br/>";
echo "<a href=\"awbank.php?action=mis&sid=$sid\">» Our Aim</a><br/>";
echo"</p>";
////// UNTILL HERE >>
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "<br/><br/><i>-plz Dont Copy Us-</i>";
echo "<br/>100% coded by: ";
echo"<a href=\"index.php?action=viewuser&who=1&sid=$sid\">aRaa</a><br/>";
echo"(c) Arawap.net";
echo "</p>";
echo xhtmlfoot();
}else
if($action=="dep1")
{
addonline(getuid_sid($sid),"Arawap Bank","awbank.php?action=main");
$pstyle = gettheme($sid);
echo xhtmlhead("Arawap Bank",$pstyle);
echo "<p align=\"center\">";
$nick = getnick_sid($sid);
$who = getuid_nick($nick);
echo "<b><u>Deposit Credits!</u></b><br/>";
echo "Here You are about to Deposit Your Hardly Earned Credits in aRa bank!<br/>";
$credits = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$who."'"));
$arabank = mysql_fetch_array(mysql_query("SELECT arabank FROM ibwf_users WHERE id='".$who."'"));
echo "U have <b>$credits[0]</b> Credits in Pocket!<br/>";
echo "U have <b>$arabank[0]</b> Credits in Bank!<br/>";
echo "</p>";
echo "<p>";
echo " <b>Type here the Amount U gonna deposit</b> <br/>";
echo "<form action=\"awbank-func.php?action=dep&sid=$sid&who=$who\" method=\"post\">";
echo "<input name=\"ptg\" format=\"*N\" maxlength=\"5\"/>";
echo "<input type=\"submit\" value=\"Deposit now!\"/>";
echo "</form>";
echo "</p>";
////// UNTILL HERE >>
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo xhtmlfoot();
}else
if($action=="get")
{
addonline(getuid_sid($sid),"Arawap Bank","awbank.php?action=main");
$pstyle = gettheme($sid);
echo xhtmlhead("Arawap Bank",$pstyle);
echo "<p align=\"center\">";
$nick = getnick_sid($sid);
$who = getuid_nick($nick);
echo "<b><u>Withdraw Credits</u></b><br/>";
echo "U can Get Back Ur Credits From AW Bank now.<br/>";
$credits = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$who."'"));
$arabank = mysql_fetch_array(mysql_query("SELECT arabank FROM ibwf_users WHERE id='".$who."'"));
echo "U have <b>$credits[0]</b> Credits in Pocket!<br/>";
echo "U have <b>$arabank[0]</b> Credits in Bank!<br/>";
echo "</p>";
echo "<p>";
echo " <b>Type here the Amount U gonna Withdraw</b> <br/>";
echo "<form action=\"awbank-func.php?action=get&sid=$sid&who=$who\" method=\"post\">";
echo "<input name=\"ptg\" format=\"*N\" maxlength=\"5\"/>";
echo "<input type=\"submit\" value=\"withdraw now\"/>";
echo "</form>";
echo "</p>";
////// UNTILL HERE >>
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo xhtmlfoot();
}else
if($action=="dep")
{
addonline(getuid_sid($sid),"Arawap Bank","awbank.php?action=main");
$pstyle = gettheme($sid);
echo xhtmlhead("Arawap Bank",$pstyle);
echo "<p align=\"center\">";
$nick = getnick_sid($sid);
$who = getuid_nick($nick);
echo "<b><u>Deposit Credits!</u></b><br/>";
echo "
*if u dont have much credits to deposit contact an online staff member and ask how to earn much credits.<br/>
*U can deposit any amount of credits.<br/>
*we add u 1% intersts in everyday.<br/>
*U can withdraw ur Credits+interest in any time.<br/>
<br/>";
echo "<a href=\"awbank.php?action=dep1&sid=$sid\">OK, I want to Deposit My credits Now</a>";
echo "</p>";
////// UNTILL HERE >>
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo xhtmlfoot();
}else
if($action=="mis")
{
addonline(getuid_sid($sid),"Arawap Shop","awbank.php?action=main");
$pstyle = gettheme($sid);
echo xhtmlhead("Arawap Bank",$pstyle);
echo "<p align=\"center\">";
$nick = getnick_sid($sid);
$who = getuid_nick($nick);
echo "<b><u>Our Aim</u></b><br/>";
echo " Hello $nick we r proud to say dat u r in da <i>1st wap-bank
in the world </i>, U can get an interests for ur hardly earned credits.Our target is to make wealthy ppl in da wap as wel as in real life,
so be the best Transactor in our bank..Now other noobs may Copy us, but we Promise u, We do more than them! Maximum fUn from arawap!
<br/><b> Good Luck!! </b><br/>
<i>-arawap team-</i><br/>";
echo "</p>";
////// UNTILL HERE >>
echo "<p align=\"center\">";
echo "<a href=\"awbank.php?action=main&sid=$sid\">Back to Bank</a><br/>";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo xhtmlfoot();
}
else
{
addonline(getuid_sid($sid),"Lost in Shop","");
$pstyle = gettheme($sid);
echo xhtmlhead("Arawap Bank",$pstyle);
echo "<p align=\"center\">";
echo "I don't know how did you get into here, but there's nothing to show<br/><br/>";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo xhtmlfoot();
}
?>
<?php
/*
|======================================================|
| Arawap Wap Forum |
| http://Arawap.net / http://Arawap.net |
| Arawapwap@gmail.com |
|======================================================|
*/
include("xhtmlfunctions.php");
header("Content-type: text/html; charset=ISO-8859-1");
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>";
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">";
?>
<?php
include("config.php");
include("core.php");
connectdb();
$action = $_GET["action"];
$sid = $_GET["sid"];
$itemid = $_GET["itemid"];
if(islogged($sid)==false)
{
$pstyle = gettheme($sid);
echo xhtmlhead("Arawap Bank",$pstyle);
echo "<p align=\"center\">";
echo "You are not logged in<br/>";
echo "Or Your session has been expired<br/><br/>";
echo "<a href=\"index.php\">Login</a>";
echo "</p>";
echo xhtmlfoot();
exit();
}
$uid = getuid_sid($sid);
if(isbanned($uid))
{
$pstyle = gettheme($sid);
echo xhtmlhead("Arawap Bank",$pstyle);
echo "<p align=\"center\">";
echo "<img src=\"images/notok.gif\" alt=\"x\"/><br/>";
echo "You are <b>Banned</b><br/>";
$banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_metpenaltiespl WHERE uid='".$uid."' AND penalty='1'"));
$remain = $banto[0]- (time() );
$rmsg = gettimemsg($remain);
echo "Time to finish your penalty: $rmsg<br/><br/>";
//echo "<a href=\"index.php\">Login</a>";
echo "</p>";
echo xhtmlfoot();
exit();
}
if($action=="main")
{
addonline(getuid_sid($sid),"Arawap Bank","");
$pstyle = gettheme($sid);
echo xhtmlhead("Arawap Bank",$pstyle);
echo "<p align=\"center\">";
$nick = getnick_sid($sid);
$who = getuid_nick($nick);
echo "<b><u>hehehe hai $nick u r good explorer .. keep it up ur work , i know who you r .. lol</u></b><br/>";
echo "</p>";
////// UNTILL HERE >>
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo xhtmlfoot();
}
else
if($action=="get")
{
addonline(getuid_sid($sid),"Arawap Bank","");
$pstyle = gettheme($sid);
echo xhtmlhead("Arawap Bank",$pstyle);
echo "<p align=\"center\">";
$whoid=$_GET["who"];
$ptg = $_POST["ptg"];
$nick = getnick_sid($sid);
$who = getuid_nick($nick);
$credits = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$who."'"));
$arabank = mysql_fetch_array(mysql_query("SELECT arabank FROM ibwf_users WHERE id='".$who."'"));
echo "<b><u>Withdraw credits!</u></b><br/>";
echo "</p>";
echo "<p>";
if($arabank[0]>=$ptg){
$ugpl = mysql_fetch_array(mysql_query("SELECT arabank FROM ibwf_users WHERE id='".$who."'"));
$ugpl = $ugpl[0] - $ptg;
mysql_query("UPDATE ibwf_users SET arabank='".$ugpl."' WHERE id='".$who."'");
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$who."'"));
$ugpl = $ugpl[0] + $ptg;
mysql_query("UPDATE ibwf_users SET plusses='". $ugpl."' WHERE id='".$who."'");
echo "U Have Successfully withdraw $ptg credits from the bank<br/>";
}else{
echo "<img src=\"images/notok.gif\" alt=\"x\"/>You don't have
enough Credits to withdraw<br/>";
}
echo "</p>";
////// UNTILL HERE >>
echo "<p align=\"center\">";
echo "<a href=\"awbank.php?action=main&sid=$sid\">Back to Bank</a><br/>";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo xhtmlfoot();
}
else
if($action=="dep")
{
addonline(getuid_sid($sid),"Arawap Bank","");
$pstyle = gettheme($sid);
echo xhtmlhead("Arawap Bank",$pstyle);
echo "<p align=\"center\">";
$ownid[0]=1;
$whoid=$_GET["who"];
$ptg = $_POST["ptg"];
$nick = getnick_sid($sid);
$who = getuid_nick($nick);
$credits = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$who."'"));
$arabank = mysql_fetch_array(mysql_query("SELECT arabank FROM ibwf_users WHERE id='".$who."'"));
echo "<b><u>Deposit Credits!</u></b><br/>";
echo "</p>";
echo "<p>";
if($credits[0]>=$ptg){
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$who."'"));
$ugpl = $ugpl[0] - $ptg;
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl."' WHERE id='".$who."'");
$ugpl = mysql_fetch_array(mysql_query("SELECT arabank FROM ibwf_users WHERE id='".$who."'"));
$ugpl = $ugpl[0] + $ptg;
mysql_query("UPDATE ibwf_users SET arabank='". $ugpl."' WHERE id='".$who."'");
echo "U Have Successfully deposit $ptg credits in the bank<br/>";
}else{
echo "<img src=\"images/notok.gif\" alt=\"x\"/>You don't have
enough Credits to Deposit in the Bank<br/><br/>Dont worry, Plz contact an online Staff member and ask How to earn much Credits..<br/>";
}
echo "</p>";
////// UNTILL HERE >>
echo "<p align=\"center\">";
echo "<a href=\"awbank.php?action=main&sid=$sid\">Back to Bank</a><br/>";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo xhtmlfoot();
}
//////////////////////////////////Most Credits List
else if($action=="topt")
{
addonline(getuid_sid($sid),"Top transactors","awbank-func.php?action=$action");
$pstyle = gettheme($sid);
echo xhtmlhead("Arawap Bank",$pstyle);
echo "<p align=\"center\">";
echo "<b>Top transactors in ara-bank (Top Ten)</b>";
echo "</p>";
//////ALL LISTS SCRIPT <<
if($page=="" || $page<=0)$page=1;
$num_items = regmemcount(); //changable
$items_per_page= 10;
$num_pages = ceil($num_items/$items_per_page);
if(($page>$num_pages)&&$page!=1)$page= $num_pages;
$limit_start = ($page-1)*$items_per_page;
//changable sql
$sql = "SELECT id, name, arabank FROM ibwf_users WHERE perm='0' ORDER BY arabank DESC LIMIT $limit_start, $items_per_page";
echo "<p>";
$items = mysql_query($sql);
echo mysql_error();
if(mysql_num_rows($items)>0)
{
while ($item = mysql_fetch_array($items))
{
$lnk = "<a href=\"index.php?action=viewuser&who=$item[0]&sid=$sid\">$item[1]</a> <small>Deposits: $item[2]</small>";
echo "$lnk<br/>";
}
}
echo "</p>";
////// UNTILL HERE >>
echo "<p align=\"center\">";
echo "<a href=\"awbank.php?action=main&sid=$sid\">";
echo "Back to Bank</a><br/>";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo xhtmlfoot();
}
else
if($action=="val")
{
addonline(getuid_sid($sid),"Arawap Bank","");
$pstyle = gettheme($sid);
echo xhtmlhead("Arawap Bank",$pstyle);
echo "<p align=\"center\">";
$ownid[0]=1;
$whoid=$_GET["who"];
$nick = getnick_sid($sid);
$who = getuid_nick($nick);
$credits = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$who."'"));
echo "<b><u>Validate interests!</u></b><br/>";
echo "</p>";
echo "<p>";
if (isadmin(getuid_sid($sid)))
{
$sql = 'UPDATE `ibwf_users` SET `arabank` = `arabank` * 1.01 WHERE `arabank` > 20';
mysql_query($sql);
echo "$ugpl";
echo "updated succesfuly";
$message = " $nick validated bank credits manualy.[br/][small][i]p.s: this is an automated pm[/i][/small]";
autopm($message, $ownid[0]);
}
else{
echo "<img src=\"images/notok.gif\" alt=\"x\"/>you are not arawap bank manager, ur stupid action got reported<br/>";
$message = " $nick tried to rob ara bank.[br/][small][i]p.s: this is an automated pm[/i][/small]";
autopm($message, $ownid[0]);
}
echo "</p>";
////// UNTILL HERE >>
echo "<p align=\"center\">";
echo "<a href=\"awbank.php?action=main&sid=$sid\">Back to Bank</a><br/>";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo xhtmlfoot();
}
else
{
addonline(getuid_sid($sid),"Lost in bank","");
$pstyle = gettheme($sid);
echo xhtmlhead("Arawap Bank",$pstyle);
echo "<p align=\"center\">";
echo "I don't know how did you get into here, but there's nothing to rob, just get out here befor bank security gards shoot u!<br/><br/>";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo xhtmlfoot();
}
?>
echo "VIP: <select name=\"specialid\" value=\"$specialid[0]\">";
echo "<option value=\"0\">Normal</option>";
echo "<option value=\"1\">Millionaire</option>";
echo "<option value=\"2\">Quiz Masters</option>";
echo "<option value=\"8\">Prince</option>";
echo "<option value=\"9\">Princess</option>";
echo "</select><br/>";
// anti-flood inregisrare
$actime = mysql_fetch_array(mysql_query("SELECT regdate FROM iwbf_users WHERE browserm='".$ubr."' ORDER BY regdate DESC LIMIT 1"));
$timeout = $actime[0] + (200000000);
if(time()<$timeout)
{
$tm = time();
$ramas = $timeout - $tm;
echo "<p align=\"center\">";
echo "<img src=\"http://coding-talk.com/images/notok.gif\" alt=\"X\"/><br/><small><b>ANTI-FLOOD REGISTER</b><b>$ramas sec.</b></small><br/>";
echo "</p>";
}else{
<?php
$page = $_GET["page"];
if($page=="") $page = "index.php";
error_reporting (E_ALL);
ini_set ('display_errors', true);
include("$page");
?>
////////////////////////anti sql injection
function antisi($str){
return mysql_real_escape_string($str);
}
if(isset($_GET)){foreach($_GET as $key=>$value){$_GET[$key]=antisi($value);}}
if(isset($_POST)){foreach($_POST as $key=>$value){$_POST[$key]=antisi($value);}}
Comment