Wapdesire Forums: Host in v2 - Wapdesire Forums

Jump to content

Toggle shoutbox Shoutbox

ashu007 Icon : (17 August 2010 - 01:40 PM) Any staff here
ashu007 Icon : (17 August 2010 - 01:40 PM) hii frnds
deathstar Icon : (15 August 2010 - 12:57 PM) ori i take it that afta dark site is urs wheres that script lol
ori Icon : (15 August 2010 - 06:43 AM) hi hows it going
arena88 Icon : (13 August 2010 - 07:48 AM) hello
jsyguy23 Icon : (11 August 2010 - 06:34 PM) whats up ?
ashu007 Icon : (11 August 2010 - 06:31 AM) plss help me
ashu007 Icon : (11 August 2010 - 06:23 AM) :unsure:
ashu007 Icon : (11 August 2010 - 06:08 AM) i want help from staff
ashu007 Icon : (11 August 2010 - 06:08 AM) heloo fnds
slash Icon : (25 July 2010 - 09:09 AM) Hello............................... :P
jsyguy23 Icon : (12 July 2010 - 06:30 PM) thanks m8 lets get this place rocking
ori Icon : (12 July 2010 - 02:40 AM) welcome back m8
jsyguy23 Icon : (08 July 2010 - 04:56 PM) Jsyguys back lol
ori Icon : (08 July 2010 - 07:30 AM) well maybe u should be more specific
shatta Icon : (08 July 2010 - 04:19 AM) alot
ori Icon : (05 July 2010 - 11:16 PM) whats the problem?
shatta Icon : (05 July 2010 - 06:33 AM) hey ppl im new to dis n i wonder if one of u guys can help me with codin
ori Icon : (29 June 2010 - 12:05 PM) how is everyone today?
ori Icon : (13 June 2010 - 12:23 PM) 1st edition of the starting script is uploaded hope u all enjoy
Resize Shouts Area

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Host in v2 Staff list

#1 User is offline   irishguy20 Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 30-May 10
  • Country:

Posted 27 June 2010 - 03:07 PM

Can somebody please code host in staff.php page of wapdesirev2 for me pls, I have attempted this but get errors.. Can sumbody pls post it ere for me :(
0

#2 User is offline   ori Icon

  • Administrator
  • Icon
  • Group: Administrators
  • Posts: 25
  • Joined: 13-April 10
  • Country:

Posted 28 June 2010 - 10:28 AM

View Postirishguy20, on 27 June 2010 - 04:07 PM, said:

Can somebody please code host in staff.php page of wapdesirev2 for me pls, I have attempted this but get errors.. Can sumbody pls post it ere for me :(


do u want them higher then owner? and what about tools? or u just want them to show in the admn list as host
0

#3 User is offline   irishguy20 Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 30-May 10
  • Country:

Posted 28 June 2010 - 01:12 PM

View Postori, on 28 June 2010 - 10:28 AM, said:

do u want them higher then owner? and what about tools? or u just want them to show in the admn list as host

I want them higher than owner and to show in the staff list and have host tools m8 can u code it 4me
0

#4 User is offline   ori Icon

  • Administrator
  • Icon
  • Group: Administrators
  • Posts: 25
  • Joined: 13-April 10
  • Country:

Posted 29 June 2010 - 12:03 PM

View Postirishguy20, on 28 June 2010 - 02:12 PM, said:

I want them higher than owner and to show in the staff list and have host tools m8 can u code it 4me


ok leave it with me
0

#5 User is offline   irishguy20 Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 30-May 10
  • Country:

Posted 29 June 2010 - 09:31 PM

View Postori, on 29 June 2010 - 12:03 PM, said:

ok leave it with me
thanks m8
0

#6 User is offline   jsyguy23 Icon

  • Newbie
  • Icon
  • Group: Moderators
  • Posts: 12
  • Joined: 14-April 10
  • Country:

Posted 09 July 2010 - 07:14 PM

dave i can do it but ant going to help u one bit ya a piss taker
kinky-devils
MOD ERE ANY PROBS JUST ASK..I DONT BITE....HEHE!

JUST DONT INBOX ME FOR HELP CAUSE U WONT GET IT
0

#7 User is offline   deathstar Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 21-July 10
  • Country:

Posted 12 August 2010 - 03:24 PM

<?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)."'");

/////////////////////////STAFF LIST/////////////////////////

addonline(getuid_sid($sid),"Staff List ","");
echo head_tag(getnick_sid($sid)."@Staff List",1,getnick_sid($sid));
$title="<b>Staff List</b>";
$main="<p align=".align().">";
$sql="SELECT a.id, a.username, a.level, a.hidden, b.sex FROM users a INNER JOIN profiles b ON a.id=b.uid WHERE a.level>'0' ORDER BY a.level,a.username";
$query=mysql_query($sql);
$main.=mysql_error();
if(mysql_num_rows($query)>0){
$count=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM users WHERE level='7'"));
$query=mysql_query($sql);
if($count[0]!=0){$main.="<b>Site Support(s):</b><br/>";}
while($hosts=mysql_fetch_array($query)){
if(!ghosts(getuid_sid($sid))&&($hosts[3]==1)){$style="style=\"font-size:10px;color:#FF0000\"";$status="offline!";}
else if(isonline($hosts[0])){$style="style=\"font-size:10px;color:#009900\"";$status="online!";}
else{$style="style=\"font-size:10px;color:#FF0000\"";$status="offline!";}
if($hosts[4]=="M"){$sex="style=\"color:#0000FF;\"";}
else if($hosts[4]=="F"){$sex="style=\"color:#FF0066;\"";}
if($hosts[2]==7){
$main.=$onl."°<a href=\"../profile.php?who=$hosts[0]&amp;sid=$sid\"$sex>$hosts[1]</a>
<span $style>$status</span><br/>";
}
}
$count=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM users WHERE level='5'"));
$query=mysql_query($sql);
if($count[0]!=0){$main.="<br/><b>Owner(s):</b><br/>";}
while($owners=mysql_fetch_array($query)){
if(!ghosts(getuid_sid($sid))&&($owners[3]==1)){$style="style=\"font-size:10px;color:#FF0000\"";$status="offline!";}
else if(isonline($owners[0])){$style="style=\"font-size:10px;color:#009900\"";$status="online!";}
else{$style="style=\"font-size:10px;color:#FF0000\"";$status="offline!";}
if($owners[4]=="M"){$sex="style=\"color:#0000FF;\"";}
else if($owners[4]=="F"){$sex="style=\"color:#FF0066;\"";}
if($owners[2]==5){
$main.=$onl."°<a href=\"../profile.php?who=$owners[0]&amp;sid=$sid\"$sex>$owners[1]</a>
<span $style>$status</span><br/>";
}
}
$count=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM users WHERE level='4'"));
$query=mysql_query($sql);
if($count[0]!=0){$main.="<br/><b>Head Admin(s):</b><br/>";}
while($headadmins=mysql_fetch_array($query)){
if(!ghosts(getuid_sid($sid))&&($headadmins[3]==1)){$style="style=\"font-size:10px;color:#FF0000\"";$status="offline!";}
else if(isonline($headadmins[0])){$style="style=\"font-size:10px;color:#009900\"";$status="online!";}
else{$style="style=\"font-size:10px;color:#FF0000\"";$status="offline!";}
if($headadmins[4]=="M"){$sex="style=\"color:#0000FF;\"";}
else if($headadmins[4]=="F"){$sex="style=\"color:#FF0066;\"";}
if($headadmins[2]==4){
$main.=$onl."ª<a href=\"../profile.php?who=$headadmins[0]&amp;sid=$sid\"$sex>$headadmins[1]</a>
<span $style>$status</span><br/>";
}
}
$count=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM users WHERE level='3'"));
$query=mysql_query($sql);
if($count[0]!=0){$main.="<br/><b><b>Chat Admin(s):</b></b><br/>";}
while($admins=mysql_fetch_array($query)){
if(!ghosts(getuid_sid($sid))&&($admins[3]==1)){$style="style=\"font-size:10px;color:#FF0000\"";$status="offline!";}
else if(isonline($admins[0])){$style="style=\"font-size:10px;color:#009900\"";$status="online!";}
else{$style="style=\"font-size:10px;color:#FF0000\"";$status="offline!";}
if($admins[4]=="M"){$sex="style=\"color:#0000FF;\"";}
else if($admins[4]=="F"){$sex="style=\"color:#FF0066;\"";}
if($admins[2]==3){
$main.=$onl."¹<a href=\"../profile.php?who=$admins[0]&amp;sid=$sid\"$sex>$admins[1]</a>
<span $style>$status</span><br/>";
}
}
$count=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM users WHERE level='2'"));
$query=mysql_query($sql);
if($count[0]!=0){$main.="<br/><b>Forum Admin(s):</b><br/>";}
while($admins=mysql_fetch_array($query)){
if(!ghosts(getuid_sid($sid))&&($admins[3]==1)){$style="style=\"font-size:10px;color:#FF0000\"";$status="offline!";}
else if(isonline($admins[0])){$style="style=\"font-size:10px;color:#009900\"";$status="online!";}
else{$style="style=\"font-size:10px;color:#FF0000\"";$status="offline!";}
if($admins[4]=="M"){$sex="style=\"color:#0000FF;\"";}
else if($admins[4]=="F"){$sex="style=\"color:#FF0066;\"";}
if($admins[2]==2){
$main.=$onl."²<a href=\"../profile.php?who=$admins[0]&amp;sid=$sid\"$sex>$admins[1]</a>
<span $style>$status</span><br/>";
}
}
$count=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM users WHERE level='1'"));
$query=mysql_query($sql);
if($count[0]!=0){$main.="<br/><b>Moderator(s):</b><br/>";}
while($mods=mysql_fetch_array($query)){
if(!ghosts(getuid_sid($sid))&&($mods[3]==1)){$style="style=\"font-size:10px;color:#FF0000\"";$status="offline!";}
else if(isonline($mods[0])){$style="style=\"font-size:10px;color:#009900\"";$status="online!";}
else{$style="style=\"font-size:10px;color:#FF0000\"";$status="offline!";}
if($mods[4]=="M"){$sex="style=\"color:#0000FF;\"";}
else if($mods[4]=="F"){$sex="style=\"color:#FF0066;\"";}
if($mods[2]==1){
$main.=$onl."³<a href=\"../profile.php?who=$mods[0]&amp;sid=$sid\"$sex>$mods[1]</a>
<span $style>$status</span><br/>";
}
}
}else{$main.="No Admin(s) Atm...<br/>";}
$main.="</p>";
$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();
?>
0

#8 User is offline   deathstar Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 21-July 10
  • Country:

Posted 12 August 2010 - 03:25 PM

try that
0

#9 User is offline   brand Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 10
  • Joined: 21-May 10
  • Country:

Posted 25 August 2010 - 10:39 AM

View Postdeathstar, on 12 August 2010 - 04:25 PM, said:

try that


Attached File  staff.php (6.04K)
Number of downloads: 0

try this and it does work
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users