<?php
include("inc/func.inc.php");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
echo "<?xml version=\"1.0\"?>\n";
echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">\n";
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<?php
if(!db()){
echo "<head>";
echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
include("inc/css.inc.php");
echo "</head>";
echo "<body>";
echo getdberror();
echo "</body>";
echo "</html>";
exit();
}
$show = $_GET["show"];
$hits = $_GET["hits"];
$page = $_GET["page"];
$who = $_GET["who"];
$uid = getuid_hits($hits);
$uip = getip();
$ubr = $_SERVER['HTTP_USER_AGENT'];
cleardata();
addvisitor();
if(isipbanned($uip,$ubr)){
if(!isshield(getuid_hits($hits))){
echo "<head>";
echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
include("inc/css.inc.php");
echo "</head>";
echo "<body>";
echo getipbanned($uip, $ubr);
echo "</body>";
echo "</html>";
exit();
}
}
if(($show != "") && ($show != "terms")){
$uid = getuid_hits($hits);
if((islogged($hits)==false)||($uid==0)){
echo "<head>";
echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
include("inc/css.inc.php");
echo "</head>";
echo "<body>";
echo getsesexplog();
echo "</body>";
echo "</html>";
exit();
}
}
if((isbanned($uid))&&($uid != '0')){
echo "<head>";
echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
include("inc/css.inc.php");
echo "</head>";
echo "<body>";
echo getbanned($uid);
echo "</body>";
echo "</html>";
exit();
}
if(!ismod(getuid_hits($hits))){
echo "<head>";
echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
include("inc/css.inc.php");
echo "</head>";
echo "<body>";
echo getpagerror();
echo "</body>";
echo "</html>";
exit();
}
addonline(getuid_hits($hits),"Mod CP","");
if($show=="main")
{
echo "<head>";
echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
include("inc/css.inc.php");
echo "</head>";
echo "<body>";
echo "<div class=\"box_cen\" align=\"center\">";
echo "<b>Reports List</b>";
echo "<div class=\"box_sub\" align=\"left\">";
$nrpm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM mx_private WHERE reported='1'"));
if($nrpm[0]>0)
{
echo "• <a href=\"modcp.php?show=rpm&hits=$hits\">Reported PMs($nrpm[0])</a><br/>";
}else{
echo "• Reported PMs($nrpm[0])<br/>";
}
$nrpsh = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM mx_shouts WHERE reported='1'"));
if($nrpsh[0]>0)
{
echo "• <a href=\"modcp.php?show=rpsh&hits=$hits\">Spam Shouts($nrpsh[0])</a><br/>";
}else{
echo "• Spam Shouts($nrpsh[0])<br/>";
}
$nrps = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM mx_posts WHERE reported='1'"));
if($nrps[0]>0)
{
echo "• <a href=\"modcp.php?show=rps&hits=$hits\">R/E Posts($nrps[0])</a><br/>";
}else{
echo "• R/E Posts($nrps[0])<br/>";
}
$nrtp = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM mx_topics WHERE reported='1'"));
if($nrtp[0]>0)
{
echo "• <a href=\"modcp.php?show=rtp&hits=$hits\">R/E Topics($nrtp[0])</a><br/>";
}else{
echo "• R/E Topics($nrtp[0])<br/>";
}
$nrtp = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM mx_shop WHERE type='1' AND req='1'"));
if($nrtp[0]>0)
{
echo "• <a href=\"modcp.php?show=shop&hits=$hits&type=1\">Nick Smilies($nrtp[0])</a><br/>";
}else{
echo "• Nick Smilies($nrtp[0])<br/>";
}
$nrtp = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM mx_shop WHERE type='2' AND req='1'"));
if($nrtp[0]>0)
{
echo "• <a href=\"modcp.php?show=shop&hits=$hits&type=2\">Slide Smilies($nrtp[0])</a><br/>";
}else{
echo "• Slide Smilies($nrtp[0])<br/>";
}
echo "• <a href=\"modproc.php?show=delsht&hits=$hits\">Clear Shouts</a>";
echo "</div></div>";
echo "<div class=\"box_cen\" align=\"center\">";
echo "<b>Mod Logs</b>";
echo "<div class=\"box_sub\" align=\"left\">";
$noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM mx_mlog"));
if($noi[0]>0)
{
$nola = mysql_query("SELECT DISTINCT (action) FROM mx_mlog ORDER BY actdt DESC");
while($act=mysql_fetch_array($nola))
{
$noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM mx_mlog WHERE action='".$act[0]."'"));
echo "• <a href=\"modcp.php?show=log&hits=$hits&view=$act[0]\">".strtoupper($act[0])."($noi[0])</a><br/>";
}
}else{
echo "• No Record Found!";
}
echo "</div></div>";
echo footerweb($hits);
echo "</body>";
}
/////////////////////////////////Reported PMs
else if($show=="shop")
{
$page = $_GET["page"];
$type = $_GET["type"];
echo "<head>";
echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
include("inc/css.inc.php");
echo "</head>";
echo "<body>";
///echo "<card=\"main\" title=\"Mod CP\">";
echo "<p align=\"center\">";
echo "<b>Nick/Slide Smilies</b><br/><br/><i><b>Note:</b> Only Smilies Creator Can Handle!<br/>And Make Sure Smilies That You Handle Done!<br/>Auto PM Will Sent To Buyer That Who Handle Their Smilies!</i>";
echo "</p>";
echo "<p>";
echo "<small>";
if($page=="" || $page<=0)$page=1;
$noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM mx_shop WHERE type='".$type."' AND req='1'"));
$num_items = $noi[0]; //changable
$items_per_page= 8;
$num_pages = ceil($num_items/$items_per_page);
if($page>$num_pages)$page= $num_pages;
$limit_start = ($page-1)*$items_per_page;
$sql = "SELECT id, who, type, date FROM mx_shop WHERE req='1' AND type='".$type."' ORDER BY date DESC LIMIT $limit_start, $items_per_page";
$items = mysql_query($sql);
while ($item=mysql_fetch_array($items))
{
$nick = getnick_uid($item[1]);
$date = date("d m y - H:i:s", $item[3]);
if($item[2]=='1')
{
$text = "Buy <b>Nick Smilies</b> From Shop!";
}else{
$text = "Buy <b>Slide Smilies</b> From Shop!";
}
$lnk = "<a href=\"prov.php?show=viewuser&hits=$hits&who=$item[1]\">$nick</a>";
echo "Req From: $lnk<br/>Type: $text<br/>Date: $date<br/>";
echo "<a href=\"modproc.php?show=hansh&hits=$hits&id=$item[0]&type=$type\">Handle</a><br/><br/>";
}
echo "</small>";
echo "</p>";
echo "<p align=\"center\">";
if($page>1)
{
$ppage = $page-1;
echo "<a href=\"modcp.php?show=$show&page=$ppage&hits=$hits&type=$type\">«PREV</a> ";
}
if($page<$num_pages)
{
$npage = $page+1;
echo "<a href=\"modcp.php?show=$show&page=$npage&hits=$hits&type=$type\">Next»</a>";
}
echo "<br/>Page $page of $num_pages<br/>";
if($num_pages>2)
{
$rets = "<form action=\"modcp.php\" method=\"get\">";
$rets .= "Page<input name=\"pg\" format=\"*N\" size=\"3\"/>";
$rets .= "<input type=\"hidden\" name=\"show\" value=\"$show\"/>";
$rets .= "<input type=\"hidden\" name=\"type\" value=\"$type\"/>";
$rets .= "<input type=\"hidden\" name=\"hits\" value=\"$hits\"/>";
$rets .= "<input type=\"submit\" value=\"[GO]\"/></form>";
echo $rets;
}
echo "<br/><br/>";
echo "<a href=\"modcp.php?show=main&hits=$hits\">";
echo "Mod R/L</a><br/>";
echo "<a href=\"index.php?show=main&hits=$hits\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
include("wapv.php");
echo "</p></body>";
}
else if($show=="rpm")
{
$page = $_GET["page"];
echo "<head>";
echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
include("inc/css.inc.php");
echo "</head>";
echo "<body>";
echo "<div class=\"box_cen\" align=\"center\">";
echo "<b>Reported PMs</b>";
echo "<div class=\"box_sub\" align=\"left\">";
if($page=="" || $page<=0)$page=1;
$noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM mx_private WHERE reported ='1'"));
$num_items = $noi[0]; //changable
$items_per_page= 8;
$num_pages = ceil($num_items/$items_per_page);
if($page>$num_pages)$page= $num_pages;
$limit_start = ($page-1)*$items_per_page;
$sql = "SELECT id, text, byuid, touid, timesent FROM mx_private WHERE reported='1' ORDER BY timesent DESC LIMIT $limit_start, $items_per_page";
$items = mysql_query($sql);
while ($item=mysql_fetch_array($items))
{
$fromnk = getnick_uid($item[2]);
$tonick = getnick_uid($item[3]);
$dtop = date("d m y - H:i:s", $item[4]);
$text = parsepm($item[1]);
$flk = "<a href=\"prov.php?show=viewuser&hits=$hits&who=$item[2]\">$fromnk</a>";
$tlk = "<a href=\"prov.php?show=viewuser&hits=$hits&who=$item[3]\">$tonick</a>";
echo "From: $flk To: $tlk<br/>Time: $dtop<br/>";
echo $text;
echo "<br/>";
echo "<a href=\"modproc.php?show=hpm&hits=$hits&pid=$item[0]\">Handle</a><br/><br/>";
}
echo "</div></div>";
echo "<div class=\"box_sub\" align=\"center\">";
if($page>1)
{
$ppage = $page-1;
echo "<a href=\"modcp.php?show=$show&page=$ppage&hits=$hits\">«PREV</a> ";
}
if($page<$num_pages)
{
$npage = $page+1;
echo "<a href=\"modcp.php?show=$show&page=$npage&hits=$hits\">Next»</a>";
}
echo "<br/>Page $page of $num_pages<br/>";
if($num_pages>2)
{
$rets = "<form action=\"modcp.php\" method=\"get\">";
$rets .= "Page<input name=\"pg\" format=\"*N\" size=\"3\"/>";
$rets .= "<input type=\"hidden\" name=\"show\" value=\"$show\"/>";
$rets .= "<input type=\"hidden\" name=\"view\" value=\"$view\"/>";
$rets .= "<input type=\"hidden\" name=\"hits\" value=\"$hits\"/>";
$rets .= "<input type=\"submit\" value=\"[GO]\"/></form>";
echo $rets;
}
echo "</div>";
echo "<div class=\"box_cen\" align=\"center\">";
echo "<div class=\"box_sub\" align=\"center\">";
echo "<a href=\"modcp.php?show=main&hits=$hits\">";
echo "Mod R/L</a></div></div>";
echo footerweb($hits);
echo "</body>";
}
else if($show=="rpsh")
{
$page = $_GET["page"];
echo "<head>";
echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
include("inc/css.inc.php");
echo "</head>";
echo "<body>";
///echo "<card=\"main\" title=\"Mod CP\">";
echo "<p align=\"center\">";
echo "<b>Spam Shouts</b>";
echo "</p>";
echo "<p>";
echo "<small>";
if($page=="" || $page<=0)$page=1;
$noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM mx_shouts WHERE reported ='1'"));
$num_items = $noi[0]; //changable
$items_per_page= 8;
$num_pages = ceil($num_items/$items_per_page);
if($page>$num_pages)$page= $num_pages;
$limit_start = ($page-1)*$items_per_page;
$sql = "SELECT id, shouter, shout, shtime FROM mx_shouts WHERE reported='1' ORDER BY shtime DESC LIMIT $limit_start, $items_per_page";
$items = mysql_query($sql);
while ($item=mysql_fetch_array($items))
{
$fromnk = getnick_uid($item[1]);
$dtop = date("d m y - H:i:s", $item[3]);
$text = parsepm($item[2]);
$flk = "<a href=\"prov.php?show=viewuser&hits=$hits&who=$item[1]\">$fromnk</a>";
echo "From: $flk<br/>Time: $dtop<br/>";
echo $text;
echo "<br/>";
echo "<a href=\"modproc.php?show=hsh&hits=$hits&pid=$item[0]\">Handle</a><br/><br/>";
}
echo "</small>";
echo "</p>";
echo "<p align=\"center\">";
if($page>1)
{
$ppage = $page-1;
echo "<a href=\"modcp.php?show=$show&page=$ppage&hits=$hits\">«PREV</a> ";
}
if($page<$num_pages)
{
$npage = $page+1;
echo "<a href=\"modcp.php?show=$show&page=$npage&hits=$hits\">Next»</a>";
}
echo "<br/>Page $page of $num_pages<br/>";
if($num_pages>2)
{
$rets = "<form action=\"modcp.php\" method=\"get\">";
$rets .= "Page<input name=\"pg\" format=\"*N\" size=\"3\"/>";
$rets .= "<input type=\"hidden\" name=\"show\" value=\"$show\"/>";
$rets .= "<input type=\"hidden\" name=\"view\" value=\"$view\"/>";
$rets .= "<input type=\"hidden\" name=\"hits\" value=\"$hits\"/>";
$rets .= "<input type=\"submit\" value=\"[GO]\"/></form>";
echo $rets;
}
echo "<br/><br/>";
echo "<a href=\"modcp.php?show=main&hits=$hits\">";
echo "Mod R/L</a><br/>";
echo "<a href=\"index.php?show=main&hits=$hits\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
include("wapv.php");
echo "</p></body>";
}
/////////////////////////////////Reported Posts
else if($show=="rps")
{
$page = $_GET["page"];
echo "<head>";
echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
include("inc/css.inc.php");
echo "</head>";
echo "<body>";
///echo "<card=\"main\" title=\"Mod CP\">";
echo "<p align=\"center\">";
echo "<b>R/E Posts</b>";
echo "</p>";
echo "<p>";
echo "<small>";
if($page=="" || $page<=0)$page=1;
$noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM mx_posts WHERE reported ='1'"));
$num_items = $noi[0]; //changable
$items_per_page= 8;
$num_pages = ceil($num_items/$items_per_page);
if($page>$num_pages)$page= $num_pages;
$limit_start = ($page-1)*$items_per_page;
$sql = "SELECT id, text, tid, uid, dtpost FROM mx_posts WHERE reported='1' ORDER BY dtpost DESC LIMIT $limit_start, $items_per_page";
$items = mysql_query($sql);
while ($item=mysql_fetch_array($items))
{
$poster = getnick_uid($item[3]);
$tname = htmlspecialchars(gettname($item[3]));
$dtop = date("d m y - H:i:s", $item[4]);
$text = parsemsg($item[1]);
$flk = "<a href=\"prov.php?show=viewuser&hits=$hits&who=$item[3]\">$poster</a>";
$tlk = "<a href=\"index.php?show=viewtpc&hits=$hits&tid=$item[2]\">$tname</a>";
echo "Poster: $flk<br/>In: $tlk<br/>Time: $dtop<br/>";
echo $text;
echo "<br/>";
echo "<a href=\"modproc.php?show=hps&hits=$hits&pid=$item[0]\">Handle</a><br/><br/>";
}
echo "</small>";
echo "</p>";
echo "<p align=\"center\">";
if($page>1)
{
$ppage = $page-1;
echo "<a href=\"modcp.php?show=$show&page=$ppage&hits=$hits\">«PREV</a> ";
}
if($page<$num_pages)
{
$npage = $page+1;
echo "<a href=\"modcp.php?show=$show&page=$npage&hits=$hits\">Next»</a>";
}
echo "<br/>Page $page of $num_pages<br/>";
if($num_pages>2)
{
$rets = "<form action=\"modcp.php\" method=\"get\">";
$rets .= "Page<input name=\"pg\" format=\"*N\" size=\"3\"/>";
$rets .= "<input type=\"hidden\" name=\"show\" value=\"$show\"/>";
$rets .= "<input type=\"hidden\" name=\"view\" value=\"$view\"/>";
$rets .= "<input type=\"hidden\" name=\"hits\" value=\"$hits\"/>";
$rets .= "<input type=\"submit\" value=\"[GO]\"/></form>";
echo $rets;
}
echo "<br/><br/>";
echo "<a href=\"modcp.php?show=main&hits=$hits\">";
echo "Mod R/L</a><br/>";
echo "<a href=\"index.php?show=main&hits=$hits\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
include("wapv.php");
echo "</p></body>";
}
/////////////////////////////////Reported Posts
else if($show=="log")
{
$page = $_GET["page"];
$view = $_GET["view"];
echo "<head>";
echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
include("inc/css.inc.php");
echo "</head>";
echo "<body>";
///echo "<card=\"main\" title=\"Mod CP\">";
echo "<p align=\"center\">";
echo "<b>".strtoupper($view)."</b>";
echo "</p>";
echo "<p>";
echo "<small>";
if($page=="" || $page<=0)$page=1;
$noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM mx_mlog WHERE action='".$view."'"));
$num_items = $noi[0]; //changable
$items_per_page= 5;
$num_pages = ceil($num_items/$items_per_page);
if($page>$num_pages)$page= $num_pages;
$limit_start = ($page-1)*$items_per_page;
$sql = "SELECT actdt, details FROM mx_mlog WHERE action='".$view."' ORDER BY actdt DESC LIMIT $limit_start, $items_per_page";
$items = mysql_query($sql);
while ($item=mysql_fetch_array($items))
{
echo "Time: ".date("d m y-H:i:s", $item[0])."<br/>";
echo $item[1];
echo "<br/>";
}
echo "</small>";
echo "</p>";
echo "<p align=\"center\">";
if($page>1)
{
$ppage = $page-1;
echo "<a href=\"modcp.php?show=$show&page=$ppage&hits=$hits&view=$view\">«PREV</a> ";
}
if($page<$num_pages)
{
$npage = $page+1;
echo "<a href=\"modcp.php?show=$show&page=$npage&hits=$hits&view=$view\">Next»</a>";
}
echo "<br/>Page $page of $num_pages<br/>";
if($num_pages>2)
{
$rets = "<form action=\"modcp.php\" method=\"get\">";
$rets .= "Page<input name=\"pg\" format=\"*N\" size=\"3\"/>";
$rets .= "<input type=\"hidden\" name=\"show\" value=\"$show\"/>";
$rets .= "<input type=\"hidden\" name=\"view\" value=\"$view\"/>";
$rets .= "<input type=\"hidden\" name=\"hits\" value=\"$hits\"/>";
$rets .= "<input type=\"submit\" value=\"[GO]\"/></form>";
echo $rets;
}
echo "<br/><br/>";
echo "<a href=\"modcp.php?show=main&hits=$hits\">";
echo "Mod R/L</a><br/>";
echo "<a href=\"index.php?show=main&hits=$hits\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
include("wapv.php");
echo "</p></body>";
}
/////////////////////////////////Reported Topics
else if($show=="rtp")
{
$page = $_GET["page"];
echo "<head>";
echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
include("inc/css.inc.php");
echo "</head>";
echo "<body>";
///echo "<card=\"main\" title=\"Mod CP\">";
echo "<p align=\"center\">";
echo "<b>R/E Topics</b>";
echo "</p>";
echo "<p>";
echo "<small>";
if($page=="" || $page<=0)$page=1;
$noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM mx_topics WHERE reported ='1'"));
$num_items = $noi[0]; //changable
$items_per_page= 5;
$num_pages = ceil($num_items/$items_per_page);
if($page>$num_pages)$page= $num_pages;
$limit_start = ($page-1)*$items_per_page;
$sql = "SELECT id, name, text, authorid, crdate FROM mx_topics WHERE reported='1' ORDER BY crdate DESC LIMIT $limit_start, $items_per_page";
$items = mysql_query($sql);
while ($item=mysql_fetch_array($items))
{
$poster = getnick_uid($item[3]);
$tname = htmlspecialchars($item[1]);
$dtop = date("d m y - H:i:s", $item[4]);
$text = parsemsg($item[2]);
$flk = "<a href=\"prov.php?show=viewuser&hits=$hits&who=$item[3]\">$poster</a>";
$tlk = "<a href=\"index.php?show=viewtpc&hits=$hits&tid=$item[0]\">$tname</a>";
echo "Poster: $flk<br/>In: $tlk<br/>Time: $dtop<br/>";
echo $text;
echo "<br/>";
echo "<a href=\"modproc.php?show=htp&hits=$hits&tid=$item[0]\">Handle</a><br/><br/>";
}
echo "</small>";
echo "</p>";
echo "<p align=\"center\">";
if($page>1)
{
$ppage = $page-1;
echo "<a href=\"modcp.php?show=$show&page=$ppage&hits=$hits\">«PREV</a> ";
}
if($page<$num_pages)
{
$npage = $page+1;
echo "<a href=\"modcp.php?show=$show&page=$npage&hits=$hits\">Next»</a>";
}
echo "<br/>Page $page of $num_pages<br/>";
if($num_pages>2)
{
$rets = "<form action=\"modcp.php\" method=\"get\">";
$rets .= "Page<input name=\"pg\" format=\"*N\" size=\"3\"/>";
$rets .= "<input type=\"hidden\" name=\"show\" value=\"$show\"/>";
$rets .= "<input type=\"hidden\" name=\"view\" value=\"$view\"/>";
$rets .= "<input type=\"hidden\" name=\"hits\" value=\"$hits\"/>";
$rets .= "<input type=\"submit\" value=\"[GO]\"/></form>";
echo $rets;
}
echo "<br/><br/>";
echo "<a href=\"modcp.php?show=main&hits=$hits\">";
echo "Mod R/L</a><br/>";
echo "<a href=\"index.php?show=main&hits=$hits\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
include("wapv.php");
echo "</p></body>";
}
///////////////////////////////////////////////Mod a user
else if($show=="user")
{
$who = $_GET["who"];
echo "<head>";
echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
include("inc/css.inc.php");
echo "</head>";
echo "<body>";
///echo "<card=\"main\" title=\"Mod CP\">";
echo "<p align=\"center\">";
$unick = getnick_uid($who);
echo "<b>Moderating $unick</b>";
echo "</p>";
echo "<p>";
echo "• <a href=\"modcp.php?show=penopt&hits=$hits&who=$who\">Penalties</a><br/>";
if(istrashed($who))
{
echo "• <a href=\"modproc.php?show=untr&hits=$hits&who=$who\">Unmute</a><br/>";
}
echo "• <a href=\"modcp.php?show=plsopt&hits=$hits&who=$who\">Give Plusses</a>";
echo "</p>";
echo "<p align=\"center\">";
echo "<a href=\"index.php?show=main&hits=$hits\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
include("wapv.php");
echo "</p></body>";
}
else if($show=="penopt")
{
$who = $_GET["who"];
echo "<head>";
echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
include("inc/css.inc.php");
echo "</head>";
echo "<body>";
///echo "<card=\"main\" title=\"Mod CP\">";
echo "<p align=\"center\">";
$unick = getnick_uid($who);
echo "What Do You Want To Do With $unick?";
echo "</p>";
echo "<p>";
echo "<form action=\"modproc.php?show=pun&hits=$hits\" method=\"post\">";
$pen[0]="Mute";
echo "Penalty: <select name=\"pid\">";
for($i=0;$i<count($pen);$i++)
{
echo "<option value=\"$i\">$pen[$i]</option>";
}
echo "</select><br/>";
echo "Reason: <input name=\"pres\" maxlength=\"100\"/><br/>";
echo "Days: <input name=\"pds\" format=\"*N\" maxlength=\"4\"/><br/>";
echo "Hours: <input name=\"phr\" format=\"*N\" maxlength=\"4\"/><br/>";
echo "Minutes: <input name=\"pmn\" format=\"*N\" maxlength=\"2\"/><br/>";
echo "Seconds: <input name=\"psc\" format=\"*N\" maxlength=\"2\"/><br/>";
echo "<input type=\"submit\" value=\"Submit\"/></form>";
echo "</p>";
echo "<p align=\"center\">";
echo "<a href=\"index.php?show=main&hits=$hits\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
include("wapv.php");
echo "</p></body>";
}
//////////////////////////////////////Penalties Options
else if($show=="plsopt")
{
$who = $_GET["who"];
echo "<head>";
echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
include("inc/css.inc.php");
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
$unick = getnick_uid($who);
echo "Add/Substract $unick's Plusses";
echo "</p>";
echo "<p>";
if($who == getuid_hits($hits))
{
echo "<img src=\"images/notok.gif\" alt=\"X\"/>You Can Update Your Plusses!";
}else{
echo "<form action=\"modproc.php?show=pls&hits=$hits&who=$who\" method=\"post\">";
$pen[1]="Add";
echo "Action: <select name=\"pid\">";
for($i=0;$i<count($pen);$i++)
{
echo "<option value=\"$i\">$pen[$i]</option>";
}
echo "</select><br/>";
echo "Reason: <input name=\"pres\" maxlength=\"100\"/><br/>";
echo "Plusses: <input name=\"pval\" format=\"*N\" maxlength=\"3\"/><br/>";
echo "<input type=\"submit\" value=\"Submit\"/></form>";
}
echo "</p>";
echo "<p align=\"center\">";
echo "<a href=\"index.php?show=main&hits=$hits\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
include("wapv.php");
echo "</p></body>";
}
else{
echo "<head>";
echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
include("inc/css.inc.php");
echo "</head>";
echo "<body>";
echo getpagerror();
echo "</body>";
}
?>
</html>