Error Action Main The Request Page Can Not Be Displayed

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Error Action Main The Request Page Can Not Be Displayed

    gyh
    if like my post click:

    http://coding-talk.com/images/totall...ost_thanks.gif

    #2
    © << replace it to htmlspecialchars ..

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

    Comment


      #3
      Code:
      ////////////////////////////////////////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>=&#39;50&#39; AND ficon!=&#39;&#39; AND fmsg!=&#39;&#39; AND lastact>&#39;".$reptime."&#39; 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=&#39;".$rminfo[0]."&#39; LIMIT 1");
      
          echo "<img src=\"$rminfo[2]\" alt=\"RI\"/><a href=\"index.php?action=viewuser&amp;sid=$sid&amp;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&amp;sid=$sid\">»Posta($umsg/$tmsg)</a>
      ";
      
        $chs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_chonline"));
      
        echo "<a href=\"index.php?action=chat&amp;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&amp;sid=$sid\">»Lista amici($onbuds/$mybuds)</a>";
      
        $reqs = getnreqs($uid);
      
        if($reqs>0)
      
        {
      
      
      
          echo ": <a href=\"lists.php?action=reqs&amp;sid=$sid\">$reqs</a>";
      
        }
      
        echo "
      ";
      
        echo "<a href=\"index.php?action=cpanel&amp;sid=$sid\">»Opzioni</a>
      ";
      
        if(ismod($uid))
      
        {
      
          $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_private WHERE reported=&#39;1&#39;"));
      
          $tot = $tnor[0];
      
          $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_posts WHERE reported=&#39;1&#39;"));
      
          $tot += $tnor[0];
      
          $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_topics WHERE reported=&#39;1&#39;"));
      
          $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&amp;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&amp;sid=$sid\">".getnumonline()."</a>
      ";
      
        $timeout = 180;
      
        $timeon = time()-$timeout;
      
        $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE perm>&#39;0&#39; AND lastact>&#39;".$timeon."&#39;"));
      
        echo "Staff Online: <a href=\"index.php?action=stfol&amp;sid=$sid\">".$noi[0]."</a>
      ";
      
        echo "
      ";
      
        
      
        echo "[b]MoDe3 2007 ©[/b]
      ";
      
        if (isadmin(getuid_sid($sid)))
      
        {
      
          echo "<a href=\"index.php?action=admincp&amp;sid=$sid\">amministrazione</a>";
      
        }
      
        echo "[/size]";
      getAd();
      echo &#39;
      &#39;;
      
        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...
      _______
      Info & Tips
      php.net
      w3schools.com

      Comment

      Working...
      X