Page Problem!

Started on the old forum in August 2007 · view the original in the archive · old links redirect here

9 replies · 898 views · started 19 years ago · 1 min read

Guest #1

my wap is vampirewap.xphost.org

my problem is the login page still apear in index after i succesfuly logged into my site..

when i set announcement..its not display.

nclemale36 Lead · 537 posts #2

my wap is vampirewap.xphost.org

my problem is the login page still apear in index after i succesfuly logged into my site..

when i set announcement..its not display.

ask anyone that knows about lava scripts . cos i dont and had same problem when i used lava.

Guest #4
<?php include("core.php"); include("config.php"); header("Content-type: text/html; charset=ISO-8859-1"); echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>";

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

echo "<head>";

echo "<title>$stitle</title>";
echo "<link rel=\"StyleSheet\" type=\"text/css\" href=\"style/style.css\" />";
echo "</head>";

echo "<body>";

$bcon = connectdb(); if (!$bcon) {

echo "

"; echo "<img src="images/exit.gif" alt="*"/> "; echo "ERROR! cannot connect to database

"; echo "This error happens usually when backing up the database, please be patient, The site will be up any minute

";

echo "**THANK YOU VERY MUCH**";
echo "

"; 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(isipbanned($uip,$ubr)) { if(!isshield(getuid_sid($sid))) {

  echo "

"; echo "<img src="images/notok.gif" alt="x"/> "; echo "This IP address is blocked "; echo " "; echo "How ever we grant a shield against IP-Ban for our great users, you can try to see if you are shielded by trying to log-in, if you kept coming to this page that means you are not shielded, so come back when the ip-ban period is over

"; $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM fun_penalties WHERE penalty='2' AND ipadd='".$uip."' AND browserm='".$ubr."' LIMIT 1 ")); //echo mysql_error(); $remain = $banto[0] - time(); $rmsg = gettimemsg($remain); echo " IP: $rmsg

";

  echo "

"; echo "

"; echo "<form action="login.php" method="get">"; echo "username: <input name="loguid" format="*x" size="8" maxlength="30"/> "; echo "password: <input type="password" name="logpwd" size="8" maxlength="30"/> "; echo "<input type="submit" value="login »"/>"; echo "</form>"; echo " "; exit(); } } if(($action != "") && ($action!="terms")) { $uid = getuid_sid($sid); if((islogged($sid)==false)||($uid==0)) {

  echo "

"; echo "You are not logged in "; echo "Or Your session has been expired

"; echo "<a href="index.php">Login</a>"; echo " "; exit(); }

} //echo isbanned($uid); if(isbanned($uid)) {

  echo "

"; echo "<img src="images/notok.gif" alt="x"/> "; echo "You are Banned "; $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM fun_penalties WHERE uid='".$uid."' AND penalty='1'")); $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM fun_users WHERE id='".$uid."'"));

  $remain = $banto[0]- time();
  $rmsg = gettimemsg($remain);
  echo "Time to finish your penalty: $rmsg

"; echo "Ban Reason: $banres[0]"; //echo "<a href="index.php">Login</a>"; echo " "; exit(); } $res = mysql_query("UPDATE fun_users SET browserm='".$ubr."', ipadd='".$uip."' WHERE id='".getuid_sid($sid)."'");

echo " ";

echo "<a href="index.php?action=main&sid=$sid">hOmE</a>"; echo " ";

echo " ";

} } echo " ";

echo "

";

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

echo "Home</a>"; echo " ";

}

//////////////////////////////////////////Post Options

else if($action=="pstopt") { $pid = $_GET["pid"]; $page = $_GET["page"]; $fid = $_GET["fid"]; addonline(getuid_sid($sid),"Post Options",""); $pinfo= mysql_fetch_array(mysql_query("SELECT uid,tid, text FROM fun_posts WHERE id='".$pid."'")); $trid = $pinfo[0]; $tid = $pinfo[1]; $ptext = htmlspecialchars($pinfo[2]);

echo " "; echo "Post Options";

echo " "; echo "

"; $trnick = getnick_uid($trid); echo "<a href="inbox.php?action=sendpm&sid=$sid&who=$trid">»Send PM to $trnick</a> "; echo "<a href="index.php?action=viewuser&sid=$sid&who=$trid">»View $trnick's Profile</a> "; //echo "<a href="index.php?action=post&sid=$sid&tid=$tid&qut=$pid">»Quote</a> "; echo "<a href="genproc.php?action=rpost&sid=$sid&pid=$pid">»Report</a> "; echo "<a href="index.php?action=viewtpc&sid=$sid&tid=$tid&page=$page">«Back to topic</a> "; if(ismod(getuid_sid($sid))) { echo " Text: "; echo "<form action="modproc.php?action=edtpst&sid=$sid&pid=$pid" method="post">"; echo "<input name="ptext" value="$ptext" maxlength="500" value="$pmtext"/> "; echo "<input type="submit" value="Edit"/>"; echo "</form>"; echo " "; echo " <a href="modproc.php?action=delp&sid=$sid&pid=$pid">»DELETE</a> "; } echo " "; echo " "; echo "<a href="index.php?action=main&sid=$sid"><img src="images/home.gif" alt="*"/>"; echo "Home</a>"; echo " ";

}

else if($action=="tpcopt") { $tid = $_GET["tid"]; addonline(getuid_sid($sid),"Topic Options",""); $tinfo= mysql_fetch_array(mysql_query("SELECT name,fid, authorid, text, pinned, closed FROM fun_topics WHERE id='".$tid."'")); $trid = $tinfo[2]; $ttext = htmlspecialchars($tinfo[3]); $tname = htmlspecialchars($tinfo[0]);

echo " "; echo "Topic Options";

echo " "; echo "

"; echo "Topic ID: $tid "; $trnick = getnick_uid($trid); echo "<a href="inbox.php?action=sendpm&sid=$sid&who=$trid">»Send PM to $trnick</a> "; echo "<a href="index.php?action=viewuser&sid=$sid&who=$trid">»View $trnick's Profile</a> "; //echo "<a href="index.php?action=post&sid=$sid&tid=$tid&qut=$pid">»Quote</a> "; $plid = mysql_fetch_array(mysql_query("SELECT pollid FROM fun_topics WHERE id='".$tid."'")); if($plid[0]==0) { if(ismod($uid)) { echo "<a href="index.php?action=pltpc&sid=$sid&tid=$tid">»Add Poll</a> "; } }else{ if(ismod($uid)) { echo "<a href="genproc.php?action=dltpl&sid=$sid&tid=$tid">»Delete Poll</a> "; } } echo "<a href="genproc.php?action=rtpc&sid=$sid&tid=$tid">»Report</a> "; echo "<a href="index.php?action=viewtpc&sid=$sid&tid=$tid&page=1">«Back to topic</a> "; if(ismod(getuid_sid($sid))) { echo " Title: "; echo "<form action="modproc.php?action=rentpc&sid=$sid&tid=$tid" method="post">"; echo "<input name="tname" value="$tname" maxlength="25" value="$tname"/> ";

echo "<input type="submit" value="Rename"/>"; echo "</form>";

echo "

Text: "; echo "<form action="modproc.php?action=edttpc&sid=$sid&tid=$tid" method="post">"; echo "<input name="ttext" value="$ttext" maxlength="500" value="$pmtext"/> ";

echo "<input type=\"submit\" value=\"Edit\"/>";

echo "</form>";

echo " <a href="modproc.php?action=delt&sid=$sid&tid=$tid">»DELETE</a> "; echo " "; if($tinfo[5]=='1') { $ctxt = "Open"; $cact = "0"; }else{ $ctxt = "Close"; $cact = "1"; } echo "<a href="modproc.php?action=clot&sid=$sid&tid=$tid&tdo=$cact">»$ctxt</a> "; if($tinfo[4]=='1') { $ptxt = "}

else{ /////////////////////////Main Page Here

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

echo " "; echo "Welcome To VampireWAP! Please Free To Invite Your Friend Here! Best Wishes From All Staff Members!

"; echo " "; echo " "; echo "<form action="login.php" method="get">"; echo "username: <input name="loguid" format="*x" size="8" maxlength="30"/> "; echo "password: <input type="password" name="logpwd" size="8" maxlength="30"/> "; echo "<input type="submit" value="login »"/>"; echo "</form>";
echo " "; echo " "; echo "Not registered yet? <a href="register.php">Sign up Now!</a> "; echo "<a href="index.php?action=terms&sid=$sid">TERMS OF USE</a> "; echo " "; echo " "; $onu = getnumonline(); echo "Members Inside: $onu

"; echo ""; echo " ";

}

echo "</body>";
echo "</html>";

?>

Guest #5
<?php include("core.php"); include("config.php"); header("Content-type: text/html; charset=ISO-8859-1"); echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>";

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

echo "<head>";

echo "<title>$stitle</title>"; echo "<link rel="StyleSheet" type="text/css" href="style/style.css" />"; echo "</head>";

echo "<body>";

$bcon = connectdb(); if (!$bcon) {

echo "

"; echo "<img src="images/exit.gif" alt="*"/> "; echo "ERROR! cannot connect to database

"; echo "This error happens usually when backing up the database, please be patient, The site will be up any minute

";

echo "**THANK YOU VERY MUCH**";
echo "

"; 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(isipbanned($uip,$ubr)) { if(!isshield(getuid_sid($sid))) {

  echo "

"; echo "<img src="images/notok.gif" alt="x"/> "; echo "This IP address is blocked "; echo " "; echo "How ever we grant a shield against IP-Ban for our great users, you can try to see if you are shielded by trying to log-in, if you kept coming to this page that means you are not shielded, so come back when the ip-ban period is over

"; $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM fun_penalties WHERE penalty='2' AND ipadd='".$uip."' AND browserm='".$ubr."' LIMIT 1 ")); //echo mysql_error(); $remain = $banto[0] - time(); $rmsg = gettimemsg($remain); echo " IP: $rmsg

";

  echo "

"; echo "

"; echo "<form action="login.php" method="get">"; echo "username: <input name="loguid" format="*x" size="8" maxlength="30"/> "; echo "password: <input type="password" name="logpwd" size="8" maxlength="30"/> "; echo "<input type="submit" value="login »"/>"; echo "</form>"; echo " "; exit(); } } if(($action != "") && ($action!="terms")) { $uid = getuid_sid($sid); if((islogged($sid)==false)||($uid==0)) {

  echo "

"; echo "You are not logged in "; echo "Or Your session has been expired

"; echo "<a href="index.php">Login</a>"; echo " "; exit(); }

} //echo isbanned($uid); if(isbanned($uid)) {

  echo "

"; echo "<img src="images/notok.gif" alt="x"/> "; echo "You are Banned "; $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM fun_penalties WHERE uid='".$uid."' AND penalty='1'")); $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM fun_users WHERE id='".$uid."'"));

  $remain = $banto[0]- time();
  $rmsg = gettimemsg($remain);
  echo "Time to finish your penalty: $rmsg

"; echo "Ban Reason: $banres[0]"; //echo "<a href="index.php">Login</a>"; echo " "; exit(); } $res = mysql_query("UPDATE fun_users SET browserm='".$ubr."', ipadd='".$uip."' WHERE id='".getuid_sid($sid)."'"); echo " ";

echo "<a href="index.php?action=main&sid=$sid">hOmE</a>"; echo " ";

echo " ";

} } echo " ";

echo "

";

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

echo "Home</a>"; echo " ";

}

//////////////////////////////////////////Post Options

else if($action=="pstopt") { $pid = $_GET["pid"]; $page = $_GET["page"]; $fid = $_GET["fid"]; addonline(getuid_sid($sid),"Post Options",""); $pinfo= mysql_fetch_array(mysql_query("SELECT uid,tid, text FROM fun_posts WHERE id='".$pid."'")); $trid = $pinfo[0]; $tid = $pinfo[1]; $ptext = htmlspecialchars($pinfo[2]);

echo " "; echo "Post Options";

echo " "; echo "

"; $trnick = getnick_uid($trid); echo "<a href="inbox.php?action=sendpm&sid=$sid&who=$trid">»Send PM to $trnick</a> "; echo "<a href="index.php?action=viewuser&sid=$sid&who=$trid">»View $trnick's Profile</a> "; //echo "<a href="index.php?action=post&sid=$sid&tid=$tid&qut=$pid">»Quote</a> "; echo "<a href="genproc.php?action=rpost&sid=$sid&pid=$pid">»Report</a> "; echo "<a href="index.php?action=viewtpc&sid=$sid&tid=$tid&page=$page">«Back to topic</a> "; if(ismod(getuid_sid($sid))) { echo " Text: "; echo "<form action="modproc.php?action=edtpst&sid=$sid&pid=$pid" method="post">"; echo "<input name="ptext" value="$ptext" maxlength="500" value="$pmtext"/> "; echo "<input type="submit" value="Edit"/>"; echo "</form>"; echo " "; echo " <a href="modproc.php?action=delp&sid=$sid&pid=$pid">»DELETE</a> "; } echo " "; echo " "; echo "<a href="index.php?action=main&sid=$sid"><img src="images/home.gif" alt="*"/>"; echo "Home</a>"; echo " ";

}

else if($action=="tpcopt") { $tid = $_GET["tid"]; addonline(getuid_sid($sid),"Topic Options",""); $tinfo= mysql_fetch_array(mysql_query("SELECT name,fid, authorid, text, pinned, closed FROM fun_topics WHERE id='".$tid."'")); $trid = $tinfo[2]; $ttext = htmlspecialchars($tinfo[3]); $tname = htmlspecialchars($tinfo[0]);

echo " "; echo "Topic Options";

echo " "; echo "

"; echo "Topic ID: $tid "; $trnick = getnick_uid($trid); echo "<a href="inbox.php?action=sendpm&sid=$sid&who=$trid">»Send PM to $trnick</a> "; echo "<a href="index.php?action=viewuser&sid=$sid&who=$trid">»View $trnick's Profile</a> "; //echo "<a href="index.php?action=post&sid=$sid&tid=$tid&qut=$pid">»Quote</a> "; $plid = mysql_fetch_array(mysql_query("SELECT pollid FROM fun_topics WHERE id='".$tid."'")); if($plid[0]==0) { if(ismod($uid)) { echo "<a href="index.php?action=pltpc&sid=$sid&tid=$tid">»Add Poll</a> "; } }else{ if(ismod($uid)) { echo "<a href="genproc.php?action=dltpl&sid=$sid&tid=$tid">»Delete Poll</a> "; } } echo "<a href="genproc.php?action=rtpc&sid=$sid&tid=$tid">»Report</a> "; echo "<a href="index.php?action=viewtpc&sid=$sid&tid=$tid&page=1">«Back to topic</a> "; if(ismod(getuid_sid($sid))) { echo " Title: "; echo "<form action="modproc.php?action=rentpc&sid=$sid&tid=$tid" method="post">"; echo "<input name="tname" value="$tname" maxlength="25" value="$tname"/> ";

echo "<input type="submit" value="Rename"/>"; echo "</form>";

echo "

Text: "; echo "<form action="modproc.php?action=edttpc&sid=$sid&tid=$tid" method="post">"; echo "<input name="ttext" value="$ttext" maxlength="500" value="$pmtext"/> ";

echo "<input type=\"submit\" value=\"Edit\"/>";

echo "</form>";

echo " <a href="modproc.php?action=delt&sid=$sid&tid=$tid">»DELETE</a> "; echo " "; if($tinfo[5]=='1') { $ctxt = "Open"; $cact = "0"; }else{ $ctxt = "Close"; $cact = "1"; } echo "<a href="modproc.php?action=clot&sid=$sid&tid=$tid&tdo=$cact">»$ctxt</a> "; if($tinfo[4]=='1') { $ptxt = "}

else{ /////////////////////////Main Page Here

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

echo " "; echo "Welcome To VampireWAP! Please Free To Invite Your Friend Here! Best Wishes From All Staff Members!

"; echo " "; echo " "; echo "<form action="login.php" method="get">"; echo "username: <input name="loguid" format="*x" size="8" maxlength="30"/> "; echo "password: <input type="password" name="logpwd" size="8" maxlength="30"/> "; echo "<input type="submit" value="login »"/>"; echo "</form>";
echo " "; echo " "; echo "Not registered yet? <a href="register.php">Sign up Now!</a> "; echo "<a href="index.php?action=terms&sid=$sid">TERMS OF USE</a> "; echo " "; echo " "; $onu = getnumonline(); echo "Members Inside: $onu

"; echo ""; echo " ";

} echo "</body>"; echo "</html>"; ?>

p/s: this is upper and bottom of my index.php cant post all...text too long!

hellspawn #6
$cact = "1";
}
echo "<a href=\"modproc.php?action=clot&sid=$sid&tid=$tid&tdo=$cact\">»$ctxt</a>
";
if($tinfo[4]=='1')
{
$ptxt = "}

else{
/////////////////////////Main Page Here

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

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

is this part as it is in your script? If not then please post the "main page here" part with the entire action that appears above it External image (may be gone)

Guest #7

here is the test page...

vampirewap.xphost.org

id : test password : test

Guest #8

////////////////////////////////////////MAIN PAGE if($action=="main") { addvisitor(); addonline(getuid_sid($sid),"Forum Index","index.php?action=$action"); //saveuinfo($sid);

$time = time() - (0 * 60 * 60); $newtime = date("H:i",$time); $date = strtotime('-0 hours'); $newdate = date('D jS M y',$date);

echo " "; echo "<img src="../images/logo.gif" alt="logo"/> "; echo "".$newtime." - ".$newdate." "; echo " "; $fmsg = htmlspecialchars(getfmsg()); echo "$fmsg ";

echo "

";

echo "

"; echo getshoutbox($sid); echo " ";

/////inbox data $tmsg = getpmcount(getuid_sid($sid)); $umsg = getunreadpm(getuid_sid($sid)); //$new_gm = getnewgml(getuid_sid($sid)); echo "<a href="inbox.php?action=main&sid=$sid">::InBoX:External image (may be gone)$umsg/$tmsg)</a> ";

$chs = mysql_fetch_array(mysql_query("SELECT COUNT() FROM fun_chonline")); echo "<a href="index.php?action=chat&sid=$sid">::ChAtRoOm:External image (may be gone)$chs[0])</a> "; echo "<a href="index.php?action=forums&sid=$sid">::FoRuMs::</a> "; $chs = mysql_fetch_array(mysql_query("SELECT COUNT() FROM fun_clubs")); echo "<a href="index.php?action=clmenu&sid=$sid">::CluBs:External image (may be gone)$chs[0])</a> "; $uid = getuid_sid($sid); $mybuds = getnbuds($uid); $onbuds = getonbuds($uid); echo "<a href="lists.php?action=buds&sid=$sid">::bUdDies Lists:External image (may be gone)$onbuds/$mybuds)</a>"; $reqs = getnreqs($uid); if($reqs>0) {

echo ": <a href=\"lists.php?action=reqs&sid=$sid\">$reqs</a>";

} echo " "; echo "<a href="index.php?action=funm&sid=$sid">::GaMes::</a> ";

echo "<a href="index.php?action=cpanel&sid=$sid">::CPaneL::</a> "; $noi = mysql_fetch_array(mysql_query("SELECT COUNT() FROM fun_vault")); echo "<a href="lists.php?action=vault&sid=$sid">::DoWnLoaD:External image (may be gone)$noi[0])</a> "; if(ismod($uid)) { $tnor = mysql_fetch_array(mysql_query("SELECT COUNT() FROM fun_private WHERE reported='1'")); $tot = $tnor[0]; $tnor = mysql_fetch_array(mysql_query("SELECT COUNT() FROM fun_posts WHERE reported='1'")); $tot += $tnor[0]; $tnor = mysql_fetch_array(mysql_query("SELECT COUNT() FROM fun_topics WHERE reported='1'")); $tot += $tnor[0]; $tnol = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM fun_mlog")); $tol = $tnol[0]; if($tol+$tot>0) { echo "<a href="modcp.php?action=main&sid=$sid">Mods Logs/Reports ($tot/$tol)</a> "; }

}

echo " ";

echo ">>MemBerS OnLine<< : <a href="index.php?action=online&sid=$sid">".getnumonline()."</a> "; $timeout = 180; $timeon = time()-$timeout; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM fun_users WHERE perm>'0' AND lastact>'".$timeon."'")); echo ">>StaFf OnLinE<< : <a href="index.php?action=stfol&sid=$sid">".$noi[0]."</a> "; echo " <a href="index.php?action=stats&sid=$sid">SiteS StaTs</a> "; echo "<a href="index.php?action=search&sid=$sid">SeArCh</a> "; echo "<a href="index.php?action=terms&sid=$sid">TerMs Of UsE</a>"; echo " ";

if (isadmin(getuid_sid($sid))) { echo " <a href="index.php?action=admincp&sid=$sid">AdMin Cp</a>"; } echo " ";

echo " ";

echo "VampireWAP © 2007 "; echo "WitchLaiELa - ALL RigHts ResErVed";

echo " ";

} if($action=="forums") { addvisitor(); addonline(getuid_sid($sid),"forums","index.php?action=$action"); //saveuinfo($sid);

echo " "; echo "<img src="images/logo.gif" alt="$stitle"/>";

echo " ";

echo " "; echo getshoutbox($sid); echo " ";

echo "

"; $fcats = mysql_query("SELECT id, name FROM fun_fcats ORDER BY position, id"); $iml = "<img src="images/1.gif" alt="*"/>"; while($fcat=mysql_fetch_array($fcats)) { $catlink = "<a href="index.php?action=viewcat&sid=$sid&cid=$fcat[0]">$iml$fcat[1]</a>"; echo " $catlink"; $forums = mysql_query("SELECT id, name FROM fun_forums WHERE cid='".$fcat[0]."' AND clubid='0' ORDER BY position, id, name"); if(getfview()==0) { echo " "; while($forum=mysql_fetch_array($forums)) { if(canaccess(getuid_sid($sid),$forum[0])) {

  echo "<a href=\"index.php?action=viewfrm&sid=$sid&fid=$forum[0]\">$forum[1]</a>, ";
  }
}
echo "";
}else if(getfview()==20)
{

echo "<form action="index.php" method="get">"; echo " Forums: <select name="fid">"; while($forum=mysql_fetch_array($forums)) { if(canaccess(getuid_sid($sid),$forum[0])) { $notp = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM fun_topics WHERE fid='".$forum[0]."'")); echo "<option value="$forum[0]">$forum1</option>"; } }

  echo "</select>";

echo "<input type="submit" value="GO"/>"; echo "<go href="index.php" method="get">"; echo "<input type="hidden" name="action" value="viewfrm"/>"; echo "<input type="hidden" name="sid" value="$sid"/>"; echo "<input type="hidden" name="fid" value="$(fid)"/>"; echo "</form>";

}

} echo " ";

echo " ";

echo "<a href="index.php?action=main&sid=$sid">hOmE</a>"; echo " ";

echo " ";

} else if($action=="clmop") { $clid = $_GET["clid"]; $who = $_GET["who"]; addonline(getuid_sid($sid),"Moderating Club Member","");

echo "

"; $whnick = getnick_uid($who); echo "$whnick"; echo " "; echo "

"; $exs = mysql_fetch_array(mysql_query("SELECT COUNT() FROM fun_clubmembers WHERE uid='".$who."' AND clid=".$clid."")); $cow = mysql_fetch_array(mysql_query("SELECT COUNT() FROM fun_clubs WHERE owner='".$uid."' AND id=".$clid."")); if($exs[0]>0 && $cow[0]>0) { echo "<a href="genproc.php?action=dcm&sid=$sid&who=$who&clid=$clid">»Kick $whnick out</a> "; echo "<a href="index.php?action=gcp&sid=$sid&who=$who&clid=$clid">»$whnick's Club Points</a> "; echo "<a href="index.php?action=gpl&sid=$sid&who=$who&clid=$clid">»Give $whnick Plusses</a> "; }else{ echo "<img src="images/notok.gif" alt="X"/>Missing Info!"; } echo " ";

echo "

";

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

echo "Home</a>"; echo " ";

}

else if($action=="gcp") { $clid = $_GET["clid"]; $who = $_GET["who"]; addonline(getuid_sid($sid),"Moderating Club Member","");

echo "

"; $whnick = getnick_uid($who); echo "$whnick"; echo " "; echo "

"; $exs = mysql_fetch_array(mysql_query("SELECT COUNT() FROM fun_clubmembers WHERE uid='".$who."' AND clid=".$clid."")); $cow = mysql_fetch_array(mysql_query("SELECT COUNT() FROM fun_clubs WHERE owner='".$uid."' AND id=".$clid."")); if($exs[0]>0 && $cow[0]>0) { echo "<form action="genproc.php?action=gcp&sid=$sid&who=$who&clid=$clid" method="post">"; echo "Action: <select name="giv">"; echo "<option value="1">Add</option>"; echo "<option value="0">Subtract</option>"; echo "</select> "; echo "Points: <input name="pnt" format="*N" size="2" maxlength="2"/> "; echo "<input type="submit" value="GO"/>"; echo "</form>";

}else{
  echo "<img src=\"images/notok.gif\" alt=\"X\"/>Missing Info!";
}
echo "

";

echo "

";

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

echo "Home</a>"; echo " ";

}

else if($action=="gpl") { $clid = $_GET["clid"]; $who = $_GET["who"]; addonline(getuid_sid($sid),"Moderating Club Member","");

echo "

"; $whnick = getnick_uid($who); echo "$whnick"; echo " "; echo "

"; $exs = mysql_fetch_array(mysql_query("SELECT COUNT() FROM fun_clubmembers WHERE uid='".$who."' AND clid=".$clid."")); $cow = mysql_fetch_array(mysql_query("SELECT COUNT() FROM fun_clubs WHERE owner='".$uid."' AND id=".$clid."")); if($exs[0]>0 && $cow[0]>0) { echo "<img src="images/point.gif" alt="!"/>You can only give plusses, these are real plusses, you can't subtract plusses "; $cpl = mysql_fetch_array(mysql_query("SELECT plusses FROM fun_clubs WHERE id='".$clid."'")); echo "<img src="images/point.gif" alt="!"/>Your club plusses credit is $cpl[0] "; echo "<img src="images/point.gif" alt="!"/>Do not abuse giving of plusses to users, your club could be deleted

";

echo "<form action="genproc.php?action=gpl&sid=$sid&who=$who&clid=$clid" method="post">"; echo "Plusses: <input name="pnt" format="*N" size="2" maxlength="2"/> "; echo "<input type="submit" value="GO"/>";
echo "</form>"; }else{ echo "<img src="images/notok.gif" alt="X"/>Missing Info!"; } echo " ";

echo "

";

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

echo "Home</a>"; echo " ";

P/S : MY //////////////////main page here

Guest #9

i have a problem with my page.. when i login.. in main page..i found login.php in bottom of main page.. u can see it here...

vampirewap.xphost.org

id: test password : test

p/s:heres my index.php

Attachments: index.php
Guest #10

i have a problem with my page.. when i login.. in main page..i found login.php in bottom of main page.. u can see it here...

vampirewap.xphost.org

id: test password : test

p/s:heres my index.php

its fixed!!!! lol!

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close