View file wap/staffinfo.php

File size: 4.19Kb
<?php

include("config.php");

include("core.php");

header("Content-type: text/vnd.wap.wml");

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

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

echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";

?>

<wml>

<?php

$bcon = connectdb();

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

$sitename = $sitename[0];



if (!$bcon)

{

    echo "<card id=\"main\" title=\"(ERROR!)\">";

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

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

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

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

    echo "</p>";

    echo "</card>";

    echo "</wml>";

    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);

cleardata();



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

{

    $uid = getuid_sid($sid);

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

    {

        echo "<card id=\"main\" title=\"$sitename\">";

      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 "</card>";

      echo "</wml>";

      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 "<card id=\"main\" title=\"Staff Info\">";

 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 "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"*\"/>";

echo "Home</a>";

  echo "</p>";

    echo "</card>";





?>



</wml>