View file web/staffinfo.php

File size: 5.84Kb
<?php

include("config.php");

include("core.php");

header("Cache-Control: no-cache, must-revalidate");

header("Pragma: no-cache");

//header('Content-type: application/vnd.wap.xhtml+xml'); 

echo "<?xml version=\"1.0\"?>";

echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";

?>

<html xmlns="http://www.w3.org/1999/xhtml">

<?php

$bcon = connectdb();

$sitename = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='sitename'"));

$sitename = $sitename[0];



if (!$bcon)

{

    echo "<head>";

    echo "<title>Error!!!</title>";

    echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white_medium.css\">";

    echo "</head>";

    echo "<body>";

    echo "<p align=\"center\">";

    echo "<img src=\"../images/notok.gif\" alt=\"!\"/><br/>";

    echo "<b><strong>Error! Cannot Connect To Database...</strong></b><br/><br/>";

    echo "This error happens usually when backing up the database, please be patient...";

    echo "</p>";

    echo "</body>";

    echo "</html>";

    exit();

}

$brws = explode("/",$HTTP_USER_AGENT);

$ubr = $brws[0];

$uip = getip();

$action = $_GET["action"];

$sid = $_GET["sid"];

$page = $_GET["page"];

$who = $_GET["who"];

$uid = getuid_sid($sid);

$theme = mysql_fetch_array(mysql_query("SELECT theme FROM ibwf_users WHERE id='".$uid."'"));

cleardata();



if(($action != "") && ($action!="terms"))

{

    $uid = getuid_sid($sid);

    if((islogged($sid)==false)||($uid==0))

    {

      echo "<head>";

      echo "<title>Error!!!</title>";

      echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white_medium.css\">";

      echo "</head>";

      echo "<body>";

      echo "<p align=\"center\">";

      echo "You are not logged in<br/>";

      echo "Or Your session has been expired<br/><br/>";

      echo "<a href=\"index.php\">Login</a>";

      echo "</p>";

      echo "</body>";

      echo "</html>";

      exit();

    } 

}

if(isbanned($uid))

    {

      echo "<head>";

      echo "<title>Error!!!</title>";

      echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";

      echo "</head>";

      echo "<body>";

      echo "<p align=\"center\">";

      echo "<img src=\"../images/notok.gif\" alt=\"x\"/><br/>";

      echo "<b>You are Banned</b><br/><br/>";

      $banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM ibwf_penalties WHERE uid='".$uid."' AND penalty='1' OR uid='".$uid."' AND 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<br/>";

      $nick = getnick_uid($banto[2]);

	echo "<b>By: </b>$nick<br/>";

	echo "<b>Reason: </b>$banto[1]";

      //echo "<a href=\"index.php\">Login</a>";

      echo "</p>";

      echo "</body>";

      echo "</html>";

      exit();

    }

$res = mysql_query("UPDATE ibwf_users SET browserm='".$ubr."', ipadd='".$uip."' WHERE id='".getuid_sid($sid)."'");



  addvisitor();

  addonline(getuid_sid($sid),"Main Menu","");



      echo "<head>";

      echo "<title>Staff Info</title>";

      echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";

      echo "</head>";

      echo "<body>";

 echo "<p align=\"center\">";

  echo "<img src=\"../images/logo.gif\" alt=\"*\"/><br/>";



echo "All Staff Must Follow The Below Notes<br/>All Ban Lengths are at staff Discreation, If you cant decide how long to ban for ban for 3 days then ask an owner who will advise you.</p>";

echo "<p align=\"center\"><strong>.::Ban Items::.</strong></p>";

echo "<p align=\"center\"><strong>Abuse:</strong><br/>";

echo "2 warnings then ban,if return after ban and continue to abuse, ban immediately, if same after ban delete account</p>";

echo "<p align=\"center\"><strong>Flooding:</strong><br/>";

echo "Instant ipban (minimum of 7 days) (only after 5 msgs been sent - To rule out network problems)</p>";

echo "<p align=\"center\"><strong>Dirty/Offensive Shouts:</strong><br/>";

echo "Dirty or offensive shouts and messages to members you should warn member first, if they continue, then ban user</p>";

echo "<p align=\"center\"><strong>Users With IP-Ban and Signup Again:</strong><br/>";

echo "IP-Ban New Account</p>";

echo "<p align=\"center\"><strong>Unsuitable Club Name:</strong><br/>";

echo "Upto 1 week ban at mod/admin discretion</p>";

echo "<p align=\"center\"><strong>Spamming And Counts for Affililate sites also:</strong><br/>";

echo "Ban for MINIMUM Of 1 month</p>";

echo "<p align=\"center\"><strong>Explicit PMs:</strong><br/>";

echo "Warning Only, unless abuse goes into public area of site, in which case follow abuse Procedure</p>";

echo "<p align=\"center\"><strong>Requests for visas/money in PM:</strong><br/>"; 

echo "Instant IP-Ban</p>";

echo "<p align=\"center\">Harrassment should be dealt with by warning and recommendation to harrased user to add offending member to their ignore list<br/>";

echo "Uncalled for posts simply delete, unless its very offensive in which case warn or ban poster for an appropriate time</p>";

echo "<p align=\"center\"><strong>Peados etc:</strong><br/>";

echo "Instant Account Delete</p>";

echo "<p align=\"center\">ALL Bans must include ban length in reason";

echo "<br/><br/>";

echo "Any User found to be under 18 instant delete,</p>";

echo "<p align=\"center\">";

echo "<b>0 </b><a accesskey=\"0\" href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";

echo "</p>";

echo "</body>";

?>

</html>