give points/ site theme in tools

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

    give points/ site theme in tools

    hi every one have any of u good ppl out there got the coding to give point to uses and so the site theme can be changed in owner tools i am looking for the coding only for wapdesire v_2 script and please dont say use search as i done that for a few days now and can not find it i also tryed coding it my self and not getting any where so please can u share it if u have it please thanks very much coders/any one that helps me out
    HELP THEM WHO HELPS YOU



    i only work on wapdesire v_2 coding only

    #2
    Post what you have coded...

    Comment


      #3

      CLICK THANKS TO VIEW CODE

      [HIDE-THANKS]<?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)."'");

      /////////////////////////DELETE ALL INBOXES/////////////////////////



      if($type==complete){

      addonline(getuid_sid($sid),"Admin Tools","");
      echo head_tag(getnick_sid($sid)."@Admin Tools",1,getnick_sid($sid));
      $title="<b>Admin Tools</b>";
      $main="<p align=".align().">\n";
      $level=mysql_fetch_array(mysql_query("SELECT level FROM users WHERE id='".getuid_sid($sid)."'"));
      if($level[0]>4){


      $unick = getnick_uid($who);
      $opl = mysql_fetch_array(mysql_query("SELECT points FROM profiles WHERE uid='".$who."'"));

      if($pid=='sub')
      {
      $npl = $opl[0] - $points;
      }else{
      $npl = $opl[0] + $points;
      }

      $res = mysql_query("UPDATE profiles SET points='".$npl."' WHERE uid='".$who."'");
      if($res)
      {
      $main.="<img src=\"../phpThumb/phpThumb.php?src=../images/ok.gif\" alt=\"O\"/>$unick's Plusses Updated From $opl[0] to $npl";
      }else{
      $main.="<img src=\"../phpThumb/phpThumb.php?src=../images/error.gif\" alt=\"X\"/>Database Error";
      }
      }
      $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,$mai n);
      exit();
      }





      addonline(getuid_sid($sid),"Admin Tools","");
      echo head_tag(getnick_sid($sid)."@Admin Tools",1,getnick_sid($sid));
      $title="<b>Admin Tools</b>";
      $main="<p align=".align().">\n";
      $level=mysql_fetch_array(mysql_query("SELECT level FROM users WHERE id='".getuid_sid($sid)."'"));
      if($level[0]>4){


      $unick = getnick_uid($who);
      $main.="Add/Substract $unick's Points";

      $main="<div class=".align().">";
      $main.="<form action=\"./points.php?type=complete&amp;sid=$sid\" method=\"post\">";
      $pen[0]="Substract";
      $pen[1]="Add";
      $main.="Action: <select name=\"pid\">";
      $main.="<option value=\"add\">Addition</option>";
      $main.="<option value=\"sub\">Subtract</option>";
      $main.="</select><br/>\n";
      $main.="Points:<input type=\"text\" name=\"points\" title=\"username\" maxlength=\"3\" size=\"10\"/><br/>\n";
      $main.="<input type=\"hidden\" name=\"who\" value=\"$who\"/>\n";
      $main.="<input type=\"Submit\" value=\"Edit Points\" Name=\"Submit\" size=\"10\"/></form>\n";

      $main.="<br/>
      $fivekey<a $key5 href=\"./tools.php?type=tools&amp;sid=$sid\">Back</a>
      </div>\n";
      }else{
      addonline(getuid_sid($sid),"In The Forbidden Zone!","");
      $main.="<img src=\"../images/error.gif\" alt=\"x\"/><br/>Permission Denied!<br/>
      <br/>
      $fivekey<a $key5 href=\"./tools.php?type=tools&amp;sid=$sid\">Back</a>
      </p>\n";
      }
      $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,$mai n);
      ?>
      [/HIDE-THANKS]
      Last edited by crazybrumi; 08.11.09, 12:52.
      Want something coded email me at sales@webnwaphost.com for a prices.




      Comment


        #4
        Originally posted by NickGriffin View Post

        CLICK THANKS TO VIEW CODE

        *** hidden content ***


        thanks nickgriffin that works grand thank for that has any one got the coding for the themes now this site so the site owner can change the color of the theme for the site in there owner tools so it dont have to be done on the server
        HELP THEM WHO HELPS YOU



        i only work on wapdesire v_2 coding only

        Comment

        Working...
        X