Points Shop

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Points Shop

    Has Anyone got a premade point shop there willing to share. dosnt have to be related to any thing as i can modify but i just cant be arsd to go through the hassle of spening a few hours making one. much apreciated if you can, thanks fellas.
    Want something coded email me at sales@webnwaphost.com for a prices.





    #2
    here u go friend
    PHP Code:
    <?php
    define
    ('WCS',true);
    include(
    './core/main.inc');
    header_type();
    cleardata();
    if(
    ipbanned(ip(),browser())){
    if(!
    shield(getuid_sid($sid))){
    echo 
    head_tag("Ip Blocked!!!",0,0);
    echo 
    ipbanned_msg();
    echo 
    foot_tag();
    exit();
    }
    }
    if(!
    islogged($sid)){
    echo 
    head_tag("Error!!!",0,0);
    echo 
    session_expired();
    echo 
    foot_tag();
    exit();
    }
    if(
    banned(getuid_sid($sid))){
    echo 
    head_tag("Error!!!",1,getnick_sid($sid));
    echo 
    banned_msg($sid);
    echo 
    foot_tag();
    exit();
    }
    mysql_query("UPDATE users SET browser='".browser()."', ipaddress='".ip()."', host='".subno()."' WHERE id='".getuid_sid($sid)."'");


    //////////////////
    //site shop
    //////////////////


    if($action=="shop")
    {
    addonline(getuid_sid($sid),"Shopping","");
    $nick=getnick_sid($sid);
    echo 
    head_tag(getnick_sid($sid)."@The Shop",1,getnick_sid($sid));

    $title="<b>Site Shop</b>";

    $plusses=mysql_fetch_array(mysql_query("SELECT points FROM profiles WHERE uid='".getuid_sid($sid)."'"));


      
    $main.= "<p align=\"center\">";


      
    $main.= "Welcome to the shop, you can spend your points here to buy goodies<br/>";



      
    $main.= "You currently have $plusses[points] points";
      
    $main.= "</p>";
      
    $main.="<p align=\"center\">";
      
    $main.= "These are the items you can buy:</p>";
        
      
    $main.= "<p align=\"center\">";
        
    $main.= "<b>Your Own Personal Avatar</b><br/>";

        
    $main.= "Cost: 1000 Points<br/>";
        
    $main.="<a href=\"shop.php?action=peravat&amp;sid=$sid&amp;who=$plusses[1]&amp;whoid=$uid\">Buy Now</a>";
        
    $main.= "</p>";    
        
      
    $main.="<p align=\"center\">";
        
    $main.="<b>Your Own Personal Logo</b><br/>";
        
    $main.="Cost: 1500 Plusses<br/>";
        
    $main.="<a  href=\"shop.php?action=persmile&amp;sid=$sid&amp;who=$plusses[1]&amp;whoid=$uid\">Buy Now</a>";
        
    $main.= "</p>";    
        
      
    $main.= "<p align=\"center\">";
        
    $main.= "<b>Your Own Public Chatroom</b><br/>";
        
    $main.="Cost: 5000 Plusses<br/>";
        
    $main.="<a href=\"shop.php?action=pubchat&amp;sid=$sid&amp;who=$plusses[1]&amp;whoid=$uid\">Buy Now</a>";
        
    $main.= "</p>";
        
      
    $main.= "<p align=\"center\">";
        
    $main.= "<b>Your Own Personal Forum</b><br/>";
        
    $main.="Cost: 3000 Plusses<br/>";
        
    $main.="<a href=\"shop.php?action=persforum&amp;sid=$sid&amp;who=$plusses[1]&amp;whoid=$uid\">Buy Now</a>";
    $main.="</p>";    
      
    $main.= "<p align=\"center\">";
       
    $main.= "<b>An Mp3 Request</b><br/>";
        
    $main.= "Cost: 1500 Plusses<br/>";
        
    $main.= "<a href=\"shop.php?action=mp3&amp;sid=$sid&amp;who=$plusses[1]&amp;=$uid\">Buy Now</a>";
    $main.= "</p>";    
      
    $main.= "<p align=\"center\">";
       
    $main.= "<b>Site Status</b><br/>";
        
    $main.= "Cost: 2000 Plusses<br/>";
        
    $main.= "<a href=\"shop.php?action=sig&amp;sid=$sid&amp;who=$plusses[1]&amp;=$uid\">Buy Now</a>";
    $main.= "</p>";    
      
    $main.= "<p align=\"center\">";

    $L1="$sixkey<a $key6 href=\"./inbox/inbox.php?sid=$sid\">Inbox</a>";
    $L2="$sevenkey<a $key7 href=\"./buds/buds.php?sid=$sid\">BuddyList</a>";
    $L3="$eightkey<a $key8 href=\"./chat/public.php?sid=$sid\">Chat</a>";
    $L4="$ninekey<a $key9 href=\"./forums/forums.php?sid=$sid\">Forums</a>";
    $L5="$zerokey<a $key0 href=\"./main.php?sid=$sid\"><img src=\"./images/home.gif\" alt=\"\"/>Main Menu</a>";
    echo 
    xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main);
    echo 
    foot_tag();
    exit;
    }




    else if(
    $action=="peravat")
    {
    addonline(getuid_sid($sid),"Buying an Avatar","");
    $nick=getnick_sid($sid);

    echo 
    head_tag(getnick_sid($sid)."Shopping",1,getnick_sid($sid));

    $title="<b>Site Shop</b>";
        
    $main.="<p align=\"center\">";
        
    $ownid[0]=1;
        
    $who=$_GET["whoid"];
        
    $whoid=$_GET["who"];


    $plusses=mysql_fetch_array(mysql_query("SELECT points FROM profiles WHERE uid='".getuid_sid($sid)."'"));

       
    $remainplus $plusses[0] - 100;
    if (
    $remainplus 0){
    $main.="you do not have enough points to buy this item. Go and earn some more by posting in the forums";
        
    $main.="</p>";
     
      
    $main.= "<p align=\"center\">";

    $L1="$sixkey<a $key6 href=\"./inbox/inbox.php?sid=$sid\">Inbox</a>";
    $L2="$sevenkey<a $key7 href=\"./buds/buds.php?sid=$sid\">BuddyList</a>";
    $L3="$eightkey<a $key8 href=\"./chat/public.php?sid=$sid\">Chat</a>";
    $L4="$ninekey<a $key9 href=\"./forums/forums.php?sid=$sid\">Forums</a>";
    $L5="$zerokey<a $key0 href=\"./main.php?sid=$sid\"><img src=\"./images/home.gif\" alt=\"\"/>Main Menu</a>";
    echo 
    xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main);
    echo 
    foot_tag();
    exit;
    }
    else
    {
       
    $plussupdate mysql_query("UPDATE profiles SET points='".$remainplus."' WHERE uid='".getuid_sid($sid)."'");

       
    $message "A user has visited the shop and ordered an avatar, the user is ".$nick." Please action this request as soon as possible.[br/][small][i]p.s: this is an automated pm[/i][/small]";
       
    autopm($message$ownid[0]);
       
    $main.= "Thank you for shopping with us, your  request has been sent to the staff to be dealt with<br/>.<br/>";
        
    $main.="We expect your request to be ready in 24hours or less<br/><br/>";
        
    $main.= "You now have $remainplus points remaining<br/></p>";
        
    $main.= "<p align=\"center\">";
    $L1="$sixkey<a $key6 href=\"./inbox/inbox.php?sid=$sid\">Inbox</a>";
    $L2="$sevenkey<a $key7 href=\"./buds/buds.php?sid=$sid\">BuddyList</a>";
    $L3="$eightkey<a $key8 href=\"./chat/public.php?sid=$sid\">Chat</a>";
    $L4="$ninekey<a $key9 href=\"./forums/forums.php?sid=$sid\">Forums</a>";
    $L5="$zerokey<a $key0 href=\"./main.php?sid=$sid\"><img src=\"./images/home.gif\" alt=\"\"/>Main Menu</a>";
    echo 
    xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main);
    echo 
    foot_tag();
    exit;
    }
    }
    else if(
    $action=="persmile")
    {

    addonline(getuid_sid($sid),"Buying a Smiley","");
    $nick=getnick_sid($sid);

    echo 
    head_tag(getnick_sid($sid)."Shopping",1,getnick_sid($sid));

    $title="<b>Site Shop</b>";
        
    $main.="<p align=\"center\">";
        
    $ownid[0]=1;
        
    $who=$_GET["whoid"];
        
    $whoid=$_GET["who"];


    $plusses=mysql_fetch_array(mysql_query("SELECT points FROM profiles WHERE uid='".getuid_sid($sid)."'"));

       
    $remainplus $plusses[0] - 1500;
    if (
    $remainplus 0){
    $main.="you do not have enough points to buy this item. Go and earn some more by posting in the forums";
        
    $main.="</p>";
     
      
    $main.= "<p align=\"center\">";

    $L1="$sixkey<a $key6 href=\"./inbox/inbox.php?sid=$sid\">Inbox</a>";
    $L2="$sevenkey<a $key7 href=\"./buds/buds.php?sid=$sid\">BuddyList</a>";
    $L3="$eightkey<a $key8 href=\"./chat/public.php?sid=$sid\">Chat</a>";
    $L4="$ninekey<a $key9 href=\"./forums/forums.php?sid=$sid\">Forums</a>";
    $L5="$zerokey<a $key0 href=\"./main.php?sid=$sid\"><img src=\"./images/home.gif\" alt=\"\"/>Main Menu</a>";
    echo 
    xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main);
    echo 
    foot_tag();
    exit;
    }
    else
    {
       
    $plussupdate mysql_query("UPDATE profiles SET points='".$remainplus."' WHERE uid='".getuid_sid($sid)."'");

       
    $message "A user has visited the shop and ordered a logo, the user is ".$nick." Please action this request as soon as possible.[br/][small][i]p.s: this is an automated pm[/i][/small]";
       
    autopm($message$ownid[0]);
       
    $main.= "Thank you for shopping with us, your  request has been sent to the staff to be dealt with<br/>.<br/>";
        
    $main.="We expect your request to be ready in 24hours or less<br/><br/>";
        
    $main.= "You now have $remainplus points remaining<br/></p>";
        
    $main.= "<p align=\"center\">";
    $L1="$sixkey<a $key6 href=\"./inbox/inbox.php?sid=$sid\">Inbox</a>";
    $L2="$sevenkey<a $key7 href=\"./buds/buds.php?sid=$sid\">BuddyList</a>";
    $L3="$eightkey<a $key8 href=\"./chat/public.php?sid=$sid\">Chat</a>";
    $L4="$ninekey<a $key9 href=\"./forums/forums.php?sid=$sid\">Forums</a>";
    $L5="$zerokey<a $key0 href=\"./main.php?sid=$sid\"><img src=\"./images/home.gif\" alt=\"\"/>Main Menu</a>";
    echo 
    xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main);
    echo 
    foot_tag();
    exit;
    }
    }
    else if(
    $action=="pubchat")
    {

    addonline(getuid_sid($sid),"Buying a Chatroom","");
    $nick=getnick_sid($sid);

    echo 
    head_tag(getnick_sid($sid)."Shopping",1,getnick_sid($sid));

    $title="<b>Site Shop</b>";
        
    $main.="<p align=\"center\">";
        
    $ownid[0]=1;
        
    $who=$_GET["whoid"];
        
    $whoid=$_GET["who"];


    $plusses=mysql_fetch_array(mysql_query("SELECT points FROM profiles WHERE uid='".getuid_sid($sid)."'"));

       
    $remainplus $plusses[0] - 5000;
    if (
    $remainplus 0){
    $main.="you do not have enough points to buy this item. Go and earn some more by posting in the forums";
        
    $main.="</p>";
     
      
    $main.= "<p align=\"center\">";

    $L1="$sixkey<a $key6 href=\"./inbox/inbox.php?sid=$sid\">Inbox</a>";
    $L2="$sevenkey<a $key7 href=\"./buds/buds.php?sid=$sid\">BuddyList</a>";
    $L3="$eightkey<a $key8 href=\"./chat/public.php?sid=$sid\">Chat</a>";
    $L4="$ninekey<a $key9 href=\"./forums/forums.php?sid=$sid\">Forums</a>";
    $L5="$zerokey<a $key0 href=\"./main.php?sid=$sid\"><img src=\"./images/home.gif\" alt=\"\"/>Main Menu</a>";
    echo 
    xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main);
    echo 
    foot_tag();
    exit;
    }
    else
    {
       
    $plussupdate mysql_query("UPDATE profiles SET points='".$remainplus."' WHERE uid='".getuid_sid($sid)."'");

       
    $message "A user has visited the shop and ordered a chatroom, the user is ".$nick." Please action this request as soon as possible.[br/][small][i]p.s: this is an automated pm[/i][/small]";
       
    autopm($message$ownid[0]);
       
    $main.= "Thank you for shopping with us, your  request has been sent to the staff to be dealt with<br/>.<br/>";
        
    $main.="We expect your request to be ready in 24hours or less<br/><br/>";
        
    $main.= "You now have $remainplus points remaining<br/></p>";
        
    $main.= "<p align=\"center\">";
    $L1="$sixkey<a $key6 href=\"./inbox/inbox.php?sid=$sid\">Inbox</a>";
    $L2="$sevenkey<a $key7 href=\"./buds/buds.php?sid=$sid\">BuddyList</a>";
    $L3="$eightkey<a $key8 href=\"./chat/public.php?sid=$sid\">Chat</a>";
    $L4="$ninekey<a $key9 href=\"./forums/forums.php?sid=$sid\">Forums</a>";
    $L5="$zerokey<a $key0 href=\"./main.php?sid=$sid\"><img src=\"./images/home.gif\" alt=\"\"/>Main Menu</a>";
    echo 
    xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main);
    echo 
    foot_tag();
    exit;
    }
    }
    else if(
    $action=="persforum")
    {

    addonline(getuid_sid($sid),"Buying a Forum","");
    $nick=getnick_sid($sid);

    echo 
    head_tag(getnick_sid($sid)."Shopping",1,getnick_sid($sid));

    $title="<b>Site Shop</b>";
        
    $main.="<p align=\"center\">";
        
    $ownid[0]=1;
        
    $who=$_GET["whoid"];
        
    $whoid=$_GET["who"];


    $plusses=mysql_fetch_array(mysql_query("SELECT points FROM profiles WHERE uid='".getuid_sid($sid)."'"));

       
    $remainplus $plusses[0] - 3000;
    if (
    $remainplus 0){
    $main.="you do not have enough points to buy this item. Go and earn some more by posting in the forums";
        
    $main.="</p>";
     
      
    $main.= "<p align=\"center\">";

    $L1="$sixkey<a $key6 href=\"./inbox/inbox.php?sid=$sid\">Inbox</a>";
    $L2="$sevenkey<a $key7 href=\"./buds/buds.php?sid=$sid\">BuddyList</a>";
    $L3="$eightkey<a $key8 href=\"./chat/public.php?sid=$sid\">Chat</a>";
    $L4="$ninekey<a $key9 href=\"./forums/forums.php?sid=$sid\">Forums</a>";
    $L5="$zerokey<a $key0 href=\"./main.php?sid=$sid\"><img src=\"./images/home.gif\" alt=\"\"/>Main Menu</a>";
    echo 
    xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main);
    echo 
    foot_tag();
    exit;
    }
    else
    {
       
    $plussupdate mysql_query("UPDATE profiles SET points='".$remainplus."' WHERE uid='".getuid_sid($sid)."'");

       
    $message "A user has visited the shop and ordered a forum, the user is ".$nick." Please action this request as soon as possible.[br/][small][i]p.s: this is an automated pm[/i][/small]";
       
    autopm($message$ownid[0]);
       
    $main.= "Thank you for shopping with us, your  request has been sent to the staff to be dealt with<br/>.<br/>";
        
    $main.="We expect your request to be ready in 24hours or less<br/><br/>";
        
    $main.= "You now have $remainplus points remaining<br/></p>";
        
    $main.= "<p align=\"center\">";
    $L1="$sixkey<a $key6 href=\"./inbox/inbox.php?sid=$sid\">Inbox</a>";
    $L2="$sevenkey<a $key7 href=\"./buds/buds.php?sid=$sid\">BuddyList</a>";
    $L3="$eightkey<a $key8 href=\"./chat/public.php?sid=$sid\">Chat</a>";
    $L4="$ninekey<a $key9 href=\"./forums/forums.php?sid=$sid\">Forums</a>";
    $L5="$zerokey<a $key0 href=\"./main.php?sid=$sid\"><img src=\"./images/home.gif\" alt=\"\"/>Main Menu</a>";
    echo 
    xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main);
    echo 
    foot_tag();
    exit;
    }
    }
    else if(
    $action=="mp3")
    {

    addonline(getuid_sid($sid),"Buying an Mp3","");
    $nick=getnick_sid($sid);

    echo 
    head_tag(getnick_sid($sid)."Shopping",1,getnick_sid($sid));

    $title="<b>Site Shop</b>";
        
    $main.="<p align=\"center\">";
        
    $ownid[0]=1;
        
    $who=$_GET["whoid"];
        
    $whoid=$_GET["who"];


    $plusses=mysql_fetch_array(mysql_query("SELECT points FROM profiles WHERE uid='".getuid_sid($sid)."'"));

       
    $remainplus $plusses[0] - 1500;
    if (
    $remainplus 0){
    $main.="you do not have enough points to buy this item. Go and earn some more by posting in the forums";
        
    $main.="</p>";
     
      
    $main.= "<p align=\"center\">";

    $L1="$sixkey<a $key6 href=\"./inbox/inbox.php?sid=$sid\">Inbox</a>";
    $L2="$sevenkey<a $key7 href=\"./buds/buds.php?sid=$sid\">BuddyList</a>";
    $L3="$eightkey<a $key8 href=\"./chat/public.php?sid=$sid\">Chat</a>";
    $L4="$ninekey<a $key9 href=\"./forums/forums.php?sid=$sid\">Forums</a>";
    $L5="$zerokey<a $key0 href=\"./main.php?sid=$sid\"><img src=\"./images/home.gif\" alt=\"\"/>Main Menu</a>";
    echo 
    xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main);
    echo 
    foot_tag();
    exit;
    }
    else
    {
       
    $plussupdate mysql_query("UPDATE profiles SET points='".$remainplus."' WHERE uid='".getuid_sid($sid)."'");

       
    $message "A user has visited the shop and ordered an Mp3, the user is ".$nick." Please action this request as soon as possible.[br/][small][i]p.s: this is an automated pm[/i][/small]";
       
    autopm($message$ownid[0]);
       
    $main.= "Thank you for shopping with us, your  request has been sent to the staff to be dealt with<br/>.<br/>";
        
    $main.="We expect your request to be ready in 24hours or less<br/><br/>";
        
    $main.= "You now have $remainplus points remaining<br/></p>";
        
    $main.= "<p align=\"center\">";
    $L1="$sixkey<a $key6 href=\"./inbox/inbox.php?sid=$sid\">Inbox</a>";
    $L2="$sevenkey<a $key7 href=\"./buds/buds.php?sid=$sid\">BuddyList</a>";
    $L3="$eightkey<a $key8 href=\"./chat/public.php?sid=$sid\">Chat</a>";
    $L4="$ninekey<a $key9 href=\"./forums/forums.php?sid=$sid\">Forums</a>";
    $L5="$zerokey<a $key0 href=\"./main.php?sid=$sid\"><img src=\"./images/home.gif\" alt=\"\"/>Main Menu</a>";
    echo 
    xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main);
    echo 
    foot_tag();
    exit;
    }
    }



    else if(
    $action=="sig")
    {
    addonline(getuid_sid($sid),"Buying a Status","");
    $nick=getnick_sid($sid);

    echo 
    head_tag(getnick_sid($sid)."Shopping",1,getnick_sid($sid));

    $title="<b>Site Shop</b>";
        
    $main.="<p align=\"center\">";
        
    $ownid[0]=1;
        
    $who=$_GET["whoid"];
        
    $whoid=$_GET["who"];


    $plusses=mysql_fetch_array(mysql_query("SELECT points FROM profiles WHERE uid='".getuid_sid($sid)."'"));

       
    $remainplus $plusses[0] - 2000;
    if (
    $remainplus 0){
    $main.="you do not have enough points to buy this item. Go and earn some more by posting in the forums";
        
    $main.="</p>";
     
      
    $main.= "<p align=\"center\">";

    $L1="$sixkey<a $key6 href=\"./inbox/inbox.php?sid=$sid\">Inbox</a>";
    $L2="$sevenkey<a $key7 href=\"./buds/buds.php?sid=$sid\">BuddyList</a>";
    $L3="$eightkey<a $key8 href=\"./chat/public.php?sid=$sid\">Chat</a>";
    $L4="$ninekey<a $key9 href=\"./forums/forums.php?sid=$sid\">Forums</a>";
    $L5="$zerokey<a $key0 href=\"./main.php?sid=$sid\"><img src=\"./images/home.gif\" alt=\"\"/>Main Menu</a>";
    echo 
    xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main);
    echo 
    foot_tag();
    exit;
    }
    else
    {
       
    $plussupdate mysql_query("UPDATE profiles SET points='".$remainplus."' WHERE uid='".getuid_sid($sid)."'");

       
    $message "A user has visited the shop and ordered a Status, the user is ".$nick." Please action this request as soon as possible.[br/][small][i]p.s: this is an automated pm[/i][/small]";
       
    autopm($message$ownid[0]);
       
    $main.= "Thank you for shopping with us, your  request has been sent to the staff to be dealt with<br/>.<br/>";
        
    $main.="We expect your request to be ready in 24hours or less<br/><br/>";
        
    $main.= "You now have $remainplus points remaining<br/></p>";
        
    $main.= "<p align=\"center\">";
    $L1="$sixkey<a $key6 href=\"./inbox/inbox.php?sid=$sid\">Inbox</a>";
    $L2="$sevenkey<a $key7 href=\"./buds/buds.php?sid=$sid\">BuddyList</a>";
    $L3="$eightkey<a $key8 href=\"./chat/public.php?sid=$sid\">Chat</a>";
    $L4="$ninekey<a $key9 href=\"./forums/forums.php?sid=$sid\">Forums</a>";
    $L5="$zerokey<a $key0 href=\"./main.php?sid=$sid\"><img src=\"./images/home.gif\" alt=\"\"/>Main Menu</a>";
    echo 
    xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main);
    echo 
    foot_tag();
    exit;
    }
    }

    ?>
    </html>

    Comment

    Working...
    X