Lavalair Shop

Started on the old forum in May 2007 · view the original in the archive · old links redirect here

50 replies · 4,384 views · started 19 years ago · 1 min read

8 participants
matthew26 Developer · 165 posts #3

ive got it

** visit my new forum wapsite on your mobile phone today.  wapfire.freehostia.com **

matthew26 Developer · 165 posts #6

ok

** visit my new forum wapsite on your mobile phone today.  wapfire.freehostia.com **

matthew26 Developer · 165 posts #9

what do you mean sweetangel? it will work on lavalair just convert to html if you want in html or make your own

** visit my new forum wapsite on your mobile phone today.  wapfire.freehostia.com **

matthew26 Developer · 165 posts #11

ok ill take a look

** visit my new forum wapsite on your mobile phone today.  wapfire.freehostia.com **

matthew26 Developer · 165 posts #12

sorry cant help dunno how bludrin lol

** visit my new forum wapsite on your mobile phone today.  wapfire.freehostia.com **

hardrave #13

you got it from me matth

matthew26 Developer · 165 posts #14

i know i did mate just helping the guy out:)

** visit my new forum wapsite on your mobile phone today.  wapfire.freehostia.com **

phoenix90 Developer · 113 posts #15

Yes i would aslo love it if somebody has it in wml and xhtml.. Im using the wonderful script edited by WIZZARD..

hardrave #16

next time ask subzero for a script he have anaf in his house i think lol

Yes i would aslo love it if somebody has it in wml and xhtml.. Im using the wonderful script edited by WIZZARD..

loony #17

does anyone have a shop that the link 4 download actualy works

matthew26 Developer · 165 posts #18

right click save as

** visit my new forum wapsite on your mobile phone today.  wapfire.freehostia.com **

loony #19

still aint working man

matthew26 Developer · 165 posts #20
<?php
include("config.php");
include("core.php");
header("Content-type: text/vnd.wap.wml");
header("Cache-Control: no-store, no-cache, must-revalidate");
echo "<?xml version=\"1.0\"?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
?>
<wml>
<?php
$bcon = connectdb();
$sitename = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='sitename'"));
$sitename = $sitename[0];

if (!$bcon)
{
    echo "<card id=\"main\" title=\"(ERROR!)\">";
    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 "</card>";
    echo "</wml>";
    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"];
$sid = $_GET["sid"];
$page = $_GET["page"];
$who = $_GET["who"];
$uid = getuid_sid($sid);
cleardata();

if(isipbanned($uip,$ubr))
    {
      if(!isshield(getuid_sid($sid)))
      {
        echo "<card id=\"main\" title=\"$sitename\">";
      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 "</card>";
      echo "</wml>";
      exit();
      }
    }
if(($action != "") && ($action!="terms"))
{
    $uid = getuid_sid($sid);
    if((islogged($sid)==false)||($uid==0))
    {
        echo "<card id=\"main\" title=\"$sitename\">";
      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 "</card>";
      echo "</wml>";
      exit();
    }
    
    
    
}
//echo isbanned($uid);
if(isbanned($uid))
    {
        echo "<card id=\"main\" title=\"$sitename\">";
      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 "</card>";
      echo "</wml>";
      exit();
    }
$res = mysql_query("UPDATE ibwf_users SET browserm='".$brws4."', ipadd='".$uip."' WHERE id='".getuid_sid($sid)."'");

////////////////////////////////////////MAIN PAGE
if($action=="shop")
{
  addvisitor();
  addonline(getuid_sid($sid),"Shop","");
  //saveuinfo($sid);
  
      echo "<card id=\"main\" title=\"DMPWap\">";
  echo "<p align=\"center\">";
  $plusses = mysql_fetch_array(mysql_query("SELECT plusses, name FROM ibwf_users WHERE id='".$uid."'"));
  Echo "Welcome To The Plusses Shop, Here You Can Spend Your Hard Earned Plusses To Get Special Features On Site
";
  echo "You Currently Have $plusses[0] Plusses";
  echo "</p>";
  echo "<p align=\"center\">";
  echo "The Items You Can Buy Are Listed Below:</p>";
    
  echo "<p align=\"center\">";
    echo "Your Own Personal Avatar
";
    echo "Cost: 1000 Plusses
";
    echo "<a href=\"shop.php?action=peravat&sid=$sid&who=$plusses[1]&whoid=$uid\">Buy Now</a>";
    echo "</p>";    
    
  echo "<p align=\"center\">";
    echo "Your Own Personal Smilie
";
    echo "Cost: 2000 Plusses
";
    echo "<a href=\"shop.php?action=persmile&sid=$sid&who=$plusses[1]&whoid=$uid\">Buy Now</a>";
    echo "</p>";    
    
  echo "<p align=\"center\">";
    echo "Your Own Public Chatroom
";
    echo "Cost: 4000 Plusses
";
    echo "<a href=\"shop.php?action=pubchat&sid=$sid&who=$plusses[1]&whoid=$uid\">Buy Now</a>";
    echo "</p>";
    
  echo "<p align=\"center\">";
    echo "Your Own Forum
";
    echo "Cost: 5000 Plusses
";
    echo "<a href=\"shop.php?action=pubforum&sid=$sid&who=$plusses[1]&whoid=$uid\">Buy Now</a>";
    echo "</p>";
/*    
  echo "<p align=\"center\">";
   echo "Your Own Status
";
    echo "Cost: 900 Plusses
";
    echo "<a href=\"shop.php?action=perstaus?sid=$sid\">Buy Now";
    echo "</p>";
*/
    
  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 "</card>";
}
else if($action=="peravat")
{
    echo "<card id=\"main\" title=\"$sitename\">";
    echo "<p align=\"center\">";
    $ownid[0]=1;
     $who=$_GET["whoid"];
    $whoid=$_GET["who"];
    $plusses = mysql_fetch_array(mysql_query("SELECT plusses, name FROM ibwf_users WHERE id='".$who."'"));
    $remainplus = $plusses[0] - 1000;
    $plussupdate = mysql_query("UPDATE ibwf_users SET plusses='".$remainplus."' WHERE id='".$who."'");
    $message = "A User Has visited The Plusses 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 Plusses 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 Plusses Remaining
</p>";
    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 "</card>";
}
else if($action=="persmile")
{
    echo "<card id=\"main\" title=\"$sitename\">";
    echo "<p align=\"center\">";
    $ownid[0]=1;
    $who=$_GET["whoid"];
    $whoid=$_GET["who"];
    $plusses = mysql_fetch_array(mysql_query("SELECT plusses, name FROM ibwf_users WHERE id='".$who."'"));
    $remainplus = $plusses[0] - 2000;
    $plussupdate = mysql_query("UPDATE ibwf_users SET plusses='".$remainplus."' WHERE id='".$who."'");
    $message = "A User Has visited The Plusses 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 Plusses 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 Plusses Remaining
</p>";
    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 "</card>";
}
else if($action=="pubchat")
{
    echo "<card id=\"main\" title=\"$sitename\">";
    echo "<p align=\"center\">";
    $ownid[0]=1;
    $who=$_GET["whoid"];
    $whoid=$_GET["who"];
    $plusses = mysql_fetch_array(mysql_query("SELECT plusses, name FROM ibwf_users WHERE id='".$who."'"));
    $remainplus = $plusses[0] - 4000;
    $plussupdate = mysql_query("UPDATE ibwf_users SET plusses='".$remainplus."' WHERE id='".$who."'");
    $message = "A User Has visited The Plusses 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 Plusses 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 Plusses Remaining
</p>";

    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 "</card>";
}
else if($action=="pubforum")
{
    echo "<card id=\"main\" title=\"$sitename\">";
    echo "<p align=\"center\">";
    $ownid[0]=1;
    $who=$_GET["whoid"];
    $whoid=$_GET["who"];
    $plusses = mysql_fetch_array(mysql_query("SELECT plusses, 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 Plusses 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 Plusses 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 Plusses Remaining
</p>";

    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 "</card>";
}
?>
</wml>

loony heres the code for plusses shop could you help me

** visit my new forum wapsite on your mobile phone today.  wapfire.freehostia.com **

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close