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
give points/ site theme in tools
Started on the old forum in November 2009 · view the original in the archive · old links redirect here
**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="Admin Tools"; $main=" \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,$main); exit(); }
addonline(getuid_sid($sid),"Admin Tools",""); echo head_tag(getnick_sid($sid)." Admin Tools",1,getnick_sid($sid)); $title="Admin Tools"; $main=" \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=""; $main.="<form action="./points.php?type=complete&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> \n"; $main.="Points:<input type="text" name="points" title="username" maxlength="3" size="10"/> \n"; $main.="<input type="hidden" name="who" value="$who"/>\n"; $main.="<input type="Submit" value="Edit Points" Name="Submit" size="10"/></form>\n";
$main.="
$fivekey<a $key5 href="./tools.php?type=tools&sid=$sid">Back</a> \n"; }else{ addonline(getuid_sid($sid),"In The Forbidden Zone!",""); $main.="<img src="../images/error.gif" alt="x"/> Permission Denied!
$fivekey<a $key5 href="./tools.php?type=tools&sid=$sid">Back</a>
\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,$main); ?> [/HIDE-THANKS]
Want something coded email me at sales@webnwaphost.com for a prices.
NickGriffin wrote: **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