Error Action Main The Request Page Can Not Be Displayed

Started on the old forum in March 2008 · view the original in the archive · old links redirect here

2 replies · 554 views · started 18 years ago · 1 min read

3 participants
SiLeNce Developer · 138 posts #2

© << replace it to htmlspecialchars ..

search in google with keyword htmlspecialchars or find in 2wap forums.

subzero Super moderator Fellow · 3,954 posts #3
////////////////////////////////////////MAIN PAGE

if($action=="main")

{

  addvisitor();

  addonline(getuid_sid($sid),"Indice","index.php?action=$action");

  //saveuinfo($sid);

  

      echo "<card id=\"main\" title=\"MoDe3\">";

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

  echo "<img src=\"images/logo.gif\" alt=\"*\"/>
[size="1"]";

  $nick = getnick_sid($sid);

  echo "Ciao $nick
";

  $daytm = 7*60;

  $reptime = time() - $daytm;

  $rminfo = mysql_fetch_array (mysql_query("SELECT id, name, ficon, fmsg FROM ibwf_users WHERE reputation>='50' AND ficon!='' AND fmsg!='' AND lastact>'".$reptime."' ORDER BY RAND() LIMIT 1"));

  //if(isbanned($rminfo[0]) $rminfo[0] = 0;

  if($rminfo[0]>0)

  {

    mysql_query("UPDATE ibwf_users SET ruse=ruse+1 WHERE id='".$rminfo[0]."' LIMIT 1");

    echo "<img src=\"$rminfo[2]\" alt=\"RI\"/><a href=\"index.php?action=viewuser&sid=$sid&who=$rminfo[0]\"> $rminfo[1]</a> (".htmlspecialchars($rminfo[3]).")

";

}

  $fmsg = htmlspecialchars(getfmsg());

  echo "$fmsg[/size]
";

  echo "</p>

[size="1"]";

  /////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\">»Posta($umsg/$tmsg)</a>
";

  $chs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_chonline"));

  echo "<a href=\"index.php?action=chat&sid=$sid\">»Entra in chat($chs[0])</a>
";

  $uid = getuid_sid($sid);

  $mybuds = getnbuds($uid);

  $onbuds = getonbuds($uid);

  echo "<a href=\"lists.php?action=buds&sid=$sid\">»Lista amici($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=cpanel&sid=$sid\">»Opzioni</a>
";

  if(ismod($uid))

  {

    $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_private WHERE reported='1'"));

    $tot = $tnor[0];

    $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_posts WHERE reported='1'"));

    $tot += $tnor[0];

    $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_topics WHERE reported='1'"));

    $tot += $tnor[0];

    $tnol = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_mlog"));

    $tol = $tnol[0];

    if($tol+$tot>0)

    {

      echo "<a href=\"modcp.php?action=main&sid=$sid\">»moderator pannel ($tot/$tol)</a>
";

      }

  }

  echo "[/size]</p>";

  //////

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

  echo "[size="1"]";

  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 ibwf_users WHERE perm>'0' AND lastact>'".$timeon."'"));

  echo "Staff Online: <a href=\"index.php?action=stfol&sid=$sid\">".$noi[0]."</a>
";

  echo "
";

  

  echo "[b]MoDe3 2007 ©[/b]
";

  if (isadmin(getuid_sid($sid)))

  {

    echo "<a href=\"index.php?action=admincp&sid=$sid\">amministrazione</a>";

  }

  echo "[/size]";
getAd();
echo '
';

  echo "</p></card>";

}

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

Write your reply now; next you create a free account (or sign in) and it is posted right away. 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