Lavalair Shop
Started on the old forum in May 2007 · view the original in the archive · old links redirect here
TL;DR · summary of 50 replies
- - The configuration and shop script for the Lavalair Shop was not fully resolved as of the last reply.
- - Alesh had trouble with the configuration file, leading to errors when trying to enter the inbox or shop.
- - Phoenix90 offered a snippet of code that could limit users from entering the shop based on their credits, but it didn't work for them.
- - Subzero was asked to help by checking and potentially fixing the script, as he had access to download files.
Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.
you cant Give backup database and all tha database is yours External image (may be gone)
how is finish new funmobile version???
if like my post click:
Go check out my site, added more styles My site
SpiderWap if i see one more link i mite just ban you all i see is have a look at my site link link only thou 2 post come from you are helpful but spamming is rules are rules
Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!
SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…
For ppl dont know how to save it in zip!
<?php
include("config.php");
include("core.php");
if($mime== WEB)
{
echo "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>";
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">";
}else{
echo "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
}
if($mime== WEB)
{
echo webhead($uthm,$stitle);
$getuthm = mysql_fetch_array(mysql_query("SELECT theme FROM ibwf_users WHERE id='".$uid."'"));
$uth = $getuthm[0];
$uthm = $uth;
$asset = Credits; /// Your Type of credit, plusses or whatever
$bcon = connectdb();
$sitename = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='sitename'"));
$sitename = $sitename[0];
if (!$bcon)
{
echo webhead($uthm,$stitle);
echo "<p align=\"center\">";
echo "<img src=\"../images/exit.gif\" alt=\"!\"/>
";
echo "[b]Error! Cannot Connect To Database...[/b]
";
echo "This error happens usually when backing up the database, please be patient...";
echo "</p>";
echo webfoot();
exit();
}
$brws = explode(" ",$HTTP_USER_AGENT);
$brws2 = explode("(",$HTTP_USER_AGENT);
$brws3 = explode(")",$brws2[1]);
$brws4 = $brws2[0]."/".$brws3[0]."/".$brws3[1];
$ubr = $brws[0];
$uip = getip();
$action = $_GET["action"];
$ses = $_GET["ses"];
$page = $_GET["page"];
$who = $_GET["who"];
$uid = getuid_ses($ses);
cleardata();
if(isipbanned($uip,$ubr))
{
if(!isshield(getuid_ses($ses)))
{
echo webhead($uthm,$stitle);
echo "<p align=\"center\">";
echo "<img src=\"../images/notok.gif\" alt=\"x\"/>
";
echo "This IP address is blocked
";
echo "
";
echo "How ever we grant a shield against IP-Ban for our great users, you can try to see if you are shielded by trying to log-in, if you kept coming to this page that means you are not shielded, so come back when the ip-ban period is over
";
$banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_penalties WHERE penalty='2' AND ipadd='".$uip."' AND browserm='".$ubr."' LIMIT 1 "));
//echo mysql_error();
$remain = $banto[0] - time();
$rmsg = gettimemsg($remain);
echo " IP: $rmsg
";
echo "</p>";
echo "
";
echo "UserID: <input name=\"loguid\" format=\"*x\" maxlength=\"30\"/>
";
echo "Password: <input type=\"password\" name=\"logpwd\" maxlength=\"30\"/>
";
echo "<anchor>LOGIN<go href=\"login.php\" method=\"get\">";
echo "<postfield name=\"loguid\" value=\"$(loguid)\"/>";
echo "<postfield name=\"logpwd\" value=\"$(logpwd)\"/>";
echo "</go></anchor>";
echo "</p>";
echo webfoot();
exit();
}
}
if(($action != "") && ($action!="terms"))
{
$uid = getuid_ses($ses);
if((islogged($ses)==false)||($uid==0))
{
echo webhead($uthm,$stitle);
echo "<p align=\"center\">";
echo "You are not logged in
";
echo "Or Your session has been expired
";
echo "<a href=\"index.php\">Login</a>";
echo "</p>";
echo webfoot();
exit();
}
}
//echo isbanned($uid);
if(isbanned($uid))
{
echo webhead($uthm,$stitle);
echo "<p align=\"center\">";
echo "<img src=\"../images/notok.gif\" alt=\"x\"/>
";
echo "[b]You are Banned[/b]
";
$banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM ibwf_penalties WHERE uid='".$uid."' AND penalty='1' OR penalty='2'"));
$banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id='".$uid."'"));
$remain = $banto[0]- time();
$rmsg = gettimemsg($remain);
echo "[b]Time Left: [/b]$rmsg
";
$nick = getnick_uid($banto[2]);
echo "[b]By: [/b]$nick
";
echo "[b]Reason: [/b]$banto[1]";
//echo "<a href=\"index.php\">Login</a>";
echo "</p>";
echo webfoot();
exit();
}
$res = mysql_query("UPDATE ibwf_users SET browserm='".$brws4."', ipadd='".$uip."' WHERE id='".getuid_ses($ses)."'");
////////////////////////////////////////MAIN PAGE
if($action=="shop")
{
addvisitor();
addonline(getuid_ses($ses),"Shop","");
//saveuinfo($ses);
echo webhead($uthm,$stitle);
echo "<p align=\"left\">";
$plusses = mysql_fetch_array(mysql_query("SELECT credits, name FROM ibwf_users WHERE id='".$uid."'"));
Echo "Welcome To The $asset Shop, Here You Can Spend Your Hard Earned $asset To Get Special Features On Site
";
echo "
";
echo "Wallet: [b]$plusses[0][/b] $asset";
echo "</p>";
echo "<p align=\"center\">";
echo "The Items You Can Buy Are Listed Below:</p>";
echo "<p align=\"left\">";
echo "Your Own Personal Avatar
";
echo "Cost: 1000 $asset
";
echo "<a href=\"shop.php?action=peravat&ses=$ses&who=$plusses[1]&whoid=$uid\">Buy Now</a>";
echo "</p>";
echo "<p align=\"left\">";
echo "Your Own Personal Smilie
";
echo "Cost: 2000 $asset
";
echo "<a href=\"shop.php?action=persmile&ses=$ses&who=$plusses[1]&whoid=$uid\">Buy Now</a>";
echo "</p>";
echo "<p align=\"left\">";
echo "Your Own Public Chatroom
";
echo "Cost: 4000 $asset
";
echo "<a href=\"shop.php?action=pubchat&ses=$ses&who=$plusses[1]&whoid=$uid\">Buy Now</a>";
echo "</p>";
echo "<p align=\"left\">";
echo "Your Own Forum
";
echo "Cost: 5000 $asset
";
echo "<a href=\"shop.php?action=pubforum&ses=$ses&who=$plusses[1]&whoid=$uid\">Buy Now</a>";
echo "</p>";
echo "<p align=\"left\">";
echo "Your Own Status
";
echo "Cost: 900 $asset
";
echo "<a href=\"shop.php?action=perstaus&ses=$ses&who=$plusses[1]&whoid=$uid\">Buy Now</a>";
echo "</p>";
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=main&ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>Home</a>";
echo "</p>";
echo webfoot();
}
else if($action=="peravat")
{
echo webhead($uthm,$stitle);
echo "<p align=\"center\">";
$ownid[0]=1;
$who=$_GET["whoid"];
$whoid=$_GET["who"];
$plusses = mysql_fetch_array(mysql_query("SELECT credits, name FROM ibwf_users WHERE id='".$who."'"));
$remainplus = $plusses[0] - 1000;
$plussupdate = mysql_query("UPDATE ibwf_users SET credits='".$remainplus."' WHERE id='".$who."'");
$message = "A User Has visited The $asset Shop and Ordered a Personal Avatar, the user is ".$whoid." Please Action This request as soon as possible.[br/][small][i]p.s: this is an automated pm[/i][/small]";
autopm($message, $ownid[0]);
echo "Thank You For Choosing To Purchase Your Personal Avatar. Your $asset Have Been Debited and your request sent to the staff for processing.
";
echo "We Expect your personal avatar to be ready in 48hours or less
";
echo "You Now have $remainplus $asset Remaining
</p>";
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=main&ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>Home</a>";
echo "</p>";
echo webfoot();
}
else if($action=="persmile")
{
echo webhead($uthm,$stitle);
echo "<p align=\"center\">";
$ownid[0]=1;
$who=$_GET["whoid"];
$whoid=$_GET["who"];
$plusses = mysql_fetch_array(mysql_query("SELECT credits, name FROM ibwf_users WHERE id='".$who."'"));
$remainplus = $plusses[0] - 2000;
$plussupdate = mysql_query("UPDATE ibwf_users SET credits='".$remainplus."' WHERE id='".$who."'");
$message = "A User Has visited The $asset Shop and Ordered a Personal Smilie, the user is ".$whoid." Please Action This request as soon as possible.[br/][small][i]p.s: this is an automated pm[/i][/small]";
autopm($message, $ownid[0]);
echo "Thank You For Choosing To Purchase Your Personal Smilie. Your $asset Have Been Debited and your request sent to the staff for processing.
";
echo "We Expect your Personal Smilie to be ready in 48hours or less
";
echo "You Now have $remainplus $asset Remaining
</p>";
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=main&ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>Home</a>";
echo "</p>";
echo webfoot();
}
else if($action=="pubchat")
{
echo webhead($uthm,$stitle);
echo "<p align=\"center\">";
$ownid[0]=1;
$who=$_GET["whoid"];
$whoid=$_GET["who"];
$plusses = mysql_fetch_array(mysql_query("SELECT credits, name FROM ibwf_users WHERE id='".$who."'"));
$remainplus = $plusses[0] - 4000;
$plussupdate = mysql_query("UPDATE ibwf_users SET credits='".$remainplus."' WHERE id='".$who."'");
$message = "A User Has visited The $asset Shop and Ordered a Public Chatroom, the user is ".$whoid." Please Action This request as soon as possible.[br/][small][i]p.s: this is an automated pm[/i][/small]";
autopm($message, $ownid[0]);
echo "Thank You For Choosing To Purchase Your Own Chatroom. Your $asset Have Been Debited and your request sent to the staff for processing.
";
echo "We Expect your Room to be live within 48hours or less
";
echo "You Now have $remainplus $asset Remaining
</p>";
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=main&ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>Home</a>";
echo "</p>";
echo webfoot();
}
else if($action=="pubforum")
{
echo webhead($uthm,$stitle);
echo "<p align=\"center\">";
$ownid[0]=1;
$who=$_GET["whoid"];
$whoid=$_GET["who"];
$plusses = mysql_fetch_array(mysql_query("SELECT credits, name FROM ibwf_users WHERE id='".$who."'"));
$remainplus = $plusses[0] - 5000;
$plussupdate = mysql_query("UPDATE ibwf_users SET plusses='".$remainplus."' WHERE id='".$who."'");
$message = "A User Has visited The $asset Shop and Ordered a Public Forum, the user is ".$whoid." Please Action This request as soon as possible.[br/][small][i]p.s: this is an automated pm[/i][/small]";
autopm($message, $ownid[0]);
echo "Thank You For Choosing To Purchase a Public Forum. Your $asset Have Been Debited and your request sent to the staff for processing.
";
echo "We Expect your forum will be live within 48hours or less
";
echo "You Now have $remainplus $asset Remaining
</p>";
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=main&ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>Home</a>";
echo "</p>";
}
else if($action=="perstaus")
{
echo webhead($uthm,$stitle);
echo "<p align=\"center\">";
$ownid[0]=1;
$who=$_GET["whoid"];
$whoid=$_GET["who"];
$plusses = mysql_fetch_array(mysql_query("SELECT credits, name FROM ibwf_users WHERE id='".$who."'"));
$remainplus = $plusses[0] - 900;
$plussupdate = mysql_query("UPDATE ibwf_users SET plusses='".$remainplus."' WHERE id='".$who."'");
$message = "A User Has visited The $asset Shop and Ordered a Personal Status, the user is ".$whoid." Please Action This request as soon as possible.[br/][small][i]p.s: this is an automated pm[/i][/small]";
autopm($message, $ownid[0]);
echo "Thank You For Choosing To Purchase a Personal Status. Your $asset Have Been Debited and your request sent to the staff for processing.
";
echo "We Expect your status will be live within 48hours or less
";
echo "You Now have $remainplus $asset Remaining
</p>";
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=main&ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>Home</a>";
echo "</p>";
}
echo webfoot();
}else{
echo waphead($stitle);
$bcon = connectdb();
$sitename = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='sitename'"));
$sitename = $sitename[0];
if (!$bcon)
{
echo waphead($stitle);
echo "<p align=\"center\">";
echo "<img src=\"../images/exit.gif\" alt=\"!\"/>
";
echo "[b]Error! Cannot Connect To Database...[/b]
";
echo "This error happens usually when backing up the database, please be patient...";
echo "</p>";
echo wapfoot();
exit();
}
$brws = explode(" ",$HTTP_USER_AGENT);
$brws2 = explode("(",$HTTP_USER_AGENT);
$brws3 = explode(")",$brws2[1]);
$brws4 = $brws2[0]."/".$brws3[0]."/".$brws3[1];
$ubr = $brws[0];
$uip = getip();
$action = $_GET["action"];
$ses = $_GET["ses"];
$page = $_GET["page"];
$who = $_GET["who"];
$uid = getuid_ses($ses);
cleardata();
if(isipbanned($uip,$ubr))
{
if(!isshield(getuid_ses($ses)))
{
echo waphead($stitle);
echo "<p align=\"center\">";
echo "<img src=\"../images/notok.gif\" alt=\"x\"/>
";
echo "This IP address is blocked
";
echo "
";
echo "How ever we grant a shield against IP-Ban for our great users, you can try to see if you are shielded by trying to log-in, if you kept coming to this page that means you are not shielded, so come back when the ip-ban period is over
";
$banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_penalties WHERE penalty='2' AND ipadd='".$uip."' AND browserm='".$ubr."' LIMIT 1 "));
//echo mysql_error();
$remain = $banto[0] - time();
$rmsg = gettimemsg($remain);
echo " IP: $rmsg
";
echo "</p>";
echo "
";
echo "UserID: <input name=\"loguid\" format=\"*x\" maxlength=\"30\"/>
";
echo "Password: <input type=\"password\" name=\"logpwd\" maxlength=\"30\"/>
";
echo "<anchor>LOGIN<go href=\"login.php\" method=\"get\">";
echo "<postfield name=\"loguid\" value=\"$(loguid)\"/>";
echo "<postfield name=\"logpwd\" value=\"$(logpwd)\"/>";
echo "</go></anchor>";
echo "</p>";
echo wapfoot();
exit();
}
}
if(($action != "") && ($action!="terms"))
{
$uid = getuid_ses($ses);
if((islogged($ses)==false)||($uid==0))
{
echo waphead($stitle);
echo "<p align=\"center\">";
echo "You are not logged in
";
echo "Or Your session has been expired
";
echo "<a href=\"index.php\">Login</a>";
echo "</p>";
echo wapfoot();
exit();
}
}
//echo isbanned($uid);
if(isbanned($uid))
{
echo waphead($stitle);
echo "<p align=\"center\">";
echo "<img src=\"../images/notok.gif\" alt=\"x\"/>
";
echo "[b]You are Banned[/b]
";
$banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM ibwf_penalties WHERE uid='".$uid."' AND penalty='1' OR penalty='2'"));
$banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id='".$uid."'"));
$remain = $banto[0]- time();
$rmsg = gettimemsg($remain);
echo "[b]Time Left: [/b]$rmsg
";
$nick = getnick_uid($banto[2]);
echo "[b]By: [/b]$nick
";
echo "[b]Reason: [/b]$banto[1]";
//echo "<a href=\"index.php\">Login</a>";
echo "</p>";
echo wapfoot();
exit();
}
$res = mysql_query("UPDATE ibwf_users SET browserm='".$brws4."', ipadd='".$uip."' WHERE id='".getuid_ses($ses)."'");
////////////////////////////////////////MAIN PAGE
if($action=="shop")
{
addvisitor();
addonline(getuid_ses($ses),"Shop","");
//saveuinfo($ses);
echo waphead($stitle);
echo "<p align=\"center\">";
$plusses = mysql_fetch_array(mysql_query("SELECT credits, name FROM ibwf_users WHERE id='".$uid."'"));
Echo "Welcome To The $asset Shop, Here You Can Spend Your Hard Earned $asset To Get Special Features On Site
";
echo "
";
echo "Wallet: [b]$plusses[0][/b] $asset";
echo "</p>";
echo "<p align=\"center\">";
echo "The Items You Can Buy Are Listed Below:</p>";
echo "<p align=\"left\">";
echo "Your Own Personal Avatar
";
echo "Cost: 1000 $asset
";
echo "<a href=\"shop.php?action=peravat&ses=$ses&who=$plusses[1]&whoid=$uid\">Buy Now</a>";
echo "</p>";
echo "<p align=\"left\">";
echo "Your Own Personal Smilie
";
echo "Cost: 2000 $asset
";
echo "<a href=\"shop.php?action=persmile&ses=$ses&who=$plusses[1]&whoid=$uid\">Buy Now</a>";
echo "</p>";
echo "<p align=\"left\">";
echo "Your Own Public Chatroom
";
echo "Cost: 4000 $asset
";
echo "<a href=\"shop.php?action=pubchat&ses=$ses&who=$plusses[1]&whoid=$uid\">Buy Now</a>";
echo "</p>";
echo "<p align=\"left\">";
echo "Your Own Forum
";
echo "Cost: 5000 $asset
";
echo "<a href=\"shop.php?action=pubforum&ses=$ses&who=$plusses[1]&whoid=$uid\">Buy Now</a>";
echo "</p>";
echo "<p align=\"left\">";
echo "Your Own Status
";
echo "Cost: 900 $asset
";
echo "<a href=\"shop.php?action=perstaus&ses=$ses&who=$plusses[1]&whoid=$uid\">Buy Now</a>";
echo "</p>";
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=main&ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>Home</a>";
echo "</p>";
echo wapfoot();
}
else if($action=="peravat")
{
echo waphead($stitle);
echo "<p align=\"center\">";
$ownid[0]=1;
$who=$_GET["whoid"];
$whoid=$_GET["who"];
$plusses = mysql_fetch_array(mysql_query("SELECT credits, name FROM ibwf_users WHERE id='".$who."'"));
$remainplus = $plusses[0] - 1000;
$plussupdate = mysql_query("UPDATE ibwf_users SET credits='".$remainplus."' WHERE id='".$who."'");
$message = "A User Has visited The $asset Shop and Ordered a Personal Avatar, the user is ".$whoid." Please Action This request as soon as possible.[br/][small][i]p.s: this is an automated pm[/i][/small]";
autopm($message, $ownid[0]);
echo "Thank You For Choosing To Purchase Your Personal Avatar. Your $asset Have Been Debited and your request sent to the staff for processing.
";
echo "We Expect your personal avatar to be ready in 48hours or less
";
echo "You Now have $remainplus $asset Remaining
</p>";
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=main&ses=$ses\"><img src=\"../images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo wapfoot();
}
else if($action=="persmile")
{
echo waphead($stitle);
echo "<p align=\"center\">";
$ownid[0]=1;
$who=$_GET["whoid"];
$whoid=$_GET["who"];
$plusses = mysql_fetch_array(mysql_query("SELECT credits, name FROM ibwf_users WHERE id='".$who."'"));
$remainplus = $plusses[0] - 2000;
$plussupdate = mysql_query("UPDATE ibwf_users SET credits='".$remainplus."' WHERE id='".$who."'");
$message = "A User Has visited The $asset Shop and Ordered a Personal Smilie, the user is ".$whoid." Please Action This request as soon as possible.[br/][small][i]p.s: this is an automated pm[/i][/small]";
autopm($message, $ownid[0]);
echo "Thank You For Choosing To Purchase Your Personal Smilie. Your $asset Have Been Debited and your request sent to the staff for processing.
";
echo "We Expect your Personal Smilie to be ready in 48hours or less
";
echo "You Now have $remainplus $asset Remaining
</p>";
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=main&ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>Home</a>";
echo "</p>";
echo wapfoot();
}
else if($action=="pubchat")
{
echo waphead($stitle);
echo "<p align=\"center\">";
$ownid[0]=1;
$who=$_GET["whoid"];
$whoid=$_GET["who"];
$plusses = mysql_fetch_array(mysql_query("SELECT credits, name FROM ibwf_users WHERE id='".$who."'"));
$remainplus = $plusses[0] - 4000;
$plussupdate = mysql_query("UPDATE ibwf_users SET credits='".$remainplus."' WHERE id='".$who."'");
$message = "A User Has visited The $asset Shop and Ordered a Public Chatroom, the user is ".$whoid." Please Action This request as soon as possible.[br/][small][i]p.s: this is an automated pm[/i][/small]";
autopm($message, $ownid[0]);
echo "Thank You For Choosing To Purchase Your Own Chatroom. Your $asset Have Been Debited and your request sent to the staff for processing.
";
echo "We Expect your Room to be live within 48hours or less
";
echo "You Now have $remainplus $asset Remaining
</p>";
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=main&ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>Home</a>";
echo "</p>";
echo wapfoot();
}
else if($action=="pubforum")
{
echo waphead($stitle);
echo "<p align=\"center\">";
$ownid[0]=1;
$who=$_GET["whoid"];
$whoid=$_GET["who"];
$plusses = mysql_fetch_array(mysql_query("SELECT credits, name FROM ibwf_users WHERE id='".$who."'"));
$remainplus = $plusses[0] - 5000;
$plussupdate = mysql_query("UPDATE ibwf_users SET credits='".$remainplus."' WHERE id='".$who."'");
$message = "A User Has visited The $asset Shop and Ordered a Public Forum, the user is ".$whoid." Please Action This request as soon as possible.[br/][small][i]p.s: this is an automated pm[/i][/small]";
autopm($message, $ownid[0]);
echo "Thank You For Choosing To Purchase a Public Forum. Your $asset Have Been Debited and your request sent to the staff for processing.
";
echo "We Expect your forum will be live within 48hours or less
";
echo "You Now have $remainplus $asset Remaining
</p>";
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=main&ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>Home</a>";
echo "</p>";
}
else if($action=="perstaus")
{
echo webhead($stitle);
echo "<p align=\"center\">";
$ownid[0]=1;
$who=$_GET["whoid"];
$whoid=$_GET["who"];
$plusses = mysql_fetch_array(mysql_query("SELECT credits, name FROM ibwf_users WHERE id='".$who."'"));
$remainplus = $plusses[0] - 900;
$plussupdate = mysql_query("UPDATE ibwf_users SET plusses='".$remainplus."' WHERE id='".$who."'");
$message = "A User Has visited The $asset Shop and Ordered a Personal Status, the user is ".$whoid." Please Action This request as soon as possible.[br/][small][i]p.s: this is an automated pm[/i][/small]";
autopm($message, $ownid[0]);
echo "Thank You For Choosing To Purchase a Personal Status. Your $asset Have Been Debited and your request sent to the staff for processing.
";
echo "We Expect your status will be live within 48hours or less
";
echo "You Now have $remainplus $asset Remaining
</p>";
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=main&ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>Home</a>";
echo "</p>";
}
echo wapfoot();
}
?>
Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!
SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…
i got this thing working at my site buuuuuuuut... (ugh is there always a BUT word? lol)
how cn i forbit to entering a new users in the shop?
I mean to set that if users doesnt have certain amount of plusses they cant enter at shop!!!!
u ask now WHY??? well because 4 egsample i came 1 day and i found a spamer at my site and the bastard bought 2 avatars,1 smiley and 198 forums!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
nice huh? lol i love it uuuuuuuuughhhhh lmao
so any1 help?
eeeeerrr....
how configurate script shop???
if like my post click:
put this in config file : $shop_plusses-limit = "500";
the following is a snippet of code which you could place into the file at the top somewhere:
$who=$_GET["whoid"];
$plusses = mysql_fetch_array(mysql_query("SELECT credits FROM ibwf_users WHERE id='".$who."'"));
if($plusses<$shop_plusses-limit){
{
addvisitor();
addonline(getuid_ses($ses),"Shop","");
echo webhead($uthm,$stitle);
echo "<p align=\"left\">";
echo "You cannot enter the shop because you have less than $shop_plusses-limit plusses. Post in the forums to get more plusses.";
echo "</p></card></wml>";
exit();
}
btw, this is untested code off the top of my head with a few things taken from the code posted by sub, but if it doesnt work feel free to get back to me with questions and death threats External image (may be gone)