Error Function View Profile By Click On Nickname

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Error Function View Profile By Click On Nickname

    Code:
    <?php
    header("Cache-Control: no-cache, must-revalidate");
    header("Pragma: no-cache");
    //header(&#39;Content-type: application/vnd.wap.xhtml+xml&#39;); 
    echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
    echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";
    ?>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta forua="true" http-equiv="Cache-Control" content="max-age=0"/>
    <meta forua="true" http-equiv="Cache-Control" content="must-revalidate"/>
    </head>
    <?php
    
    include("config.php"); 
    include("core.php"); 
    connectdb();
    $action=$_GET["action"];
    $id=$_GET["id"];
    $sid = $_GET["sid"];
    $rid=$_GET["rid"];
    $rpw=$_GET["rpw"];
    $uid = getuid_sid($sid);
    $uexist = isuser($uid);
    $theme = mysql_fetch_array(mysql_query("SELECT theme FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));
    
    if((islogged($sid)==false)||!$uexist)
        {
        echo "<head>";
          echo "<title>Error!!!</title>";
          echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white_medium.css\">";
          echo "</head>";
          echo "<body>";
          echo "<center>";
          echo "You are not logged in
    ";
          echo "Or Your session has been expired
    
    ";
          echo "<a href=\"index.php\">Login</a>";
          echo "</center>";
          echo "</html>";
          echo "</body>";
          exit();
        }
        
    if(isbanned($uid))
        {
          echo "<head>";
          echo "<title>Error!!!</title>";
          echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
          echo "</head>";
          echo "<body>";
          echo "<p align=\"center\">";
          echo "<img src=\"../images/notok.gif\" alt=\"x\"/>
    ";
          echo "[b]You are Banned[/b]
    
    ";
          $banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM ibwf_penalties WHERE uid=&#39;".$uid."&#39; AND penalty=&#39;1&#39; OR uid=&#39;".$uid."&#39; AND penalty=&#39;2&#39;"));
        $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));
          $remain = $banto[0]- time();
          $rmsg = gettimemsg($remain);
          echo "[b]Time Left: [/b]$rmsg
    ";
          $nick = getnick_uid($banto[2]);
        echo "[b]By: [/b]$nick
    ";
        echo "[b]Reason: [/b]$banto[1]";
          //echo "<a href=\"index.php\">Login</a>";
          echo "</p>";
          echo "</body>";
          echo "</html>";
          exit();
        }
        $isroom = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_rooms WHERE id=&#39;".$rid."&#39;"));
        if($isroom[0]==0)
        {
        echo "<head>";
          echo "<title>Error!!!</title>";
      echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
          echo "</head>";
          echo "<body>";
          echo "<center>";
          echo "[b]Room Doesn&#39;t Exist[/b]
    
    ";
          echo "<a href=\"index.php?action=chat&amp;sid=$sid\">Chatrooms</a>";
          echo "</center>";
          echo "</body>";
          echo "</html>";
          exit();
        }
        $passworded = mysql_fetch_array(mysql_query("SELECT pass FROM ibwf_rooms WHERE id=&#39;".$rid."&#39;"));
        if($passworded[0]!="")
        {
          if($rpw!=$passworded[0])
          {
        echo "<head>";
          echo "<title>Error!!!</title>";
      echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
          echo "</head>";
          echo "<body>";
          echo "<center>";
          echo "[b]Wrong Password![/b]
    ";
          echo "You can&#39;t enter this room
    
    ";
          echo "<a href=\"index.php?action=chat&amp;sid=$sid\">Chatrooms</a>";
          echo "</center>";
          echo "</body>";
          echo "</html>";
          exit();
          }
        }
        if(!canenter($rid,$sid))
        {
        echo "<head>";
          echo "<title>Error!!!</title>";
      echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
          echo "</head>";
          echo "<body>";
          echo "<center>";
          echo "[b]Permission denied![/b]
    
    ";
          echo "<a href=\"index.php?action=chat&amp;sid=$sid\">Chatrooms</a>";
          echo "</center>";
          echo "</body>";
          echo "</html>";
          exit();
        }
        addtochat($uid, $rid);
            $timeto = 300;
            $timenw = time();
            $timeout = $timenw-$timeto;
            $deleted = mysql_query("DELETE FROM ibwf_chat WHERE timesent<".$timeout."");
            $rooms = mysql_fetch_array(mysql_query("SELECT id, name FROM ibwf_rooms WHERE id=&#39;".$rid."&#39;"));
            $rname = $rooms[1];
            $nick = getnick_sid($sid);
                
          if ($action=="")
          {
          echo "<head>";
          echo "<title>$nick@$rname</title>";
          echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
          $unreadpopup=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_popups WHERE unread=&#39;1&#39; AND touid=&#39;".$uid."&#39;"));
          if ($unreadpopup[0]<1)
          {
          echo "<meta http-equiv=\"refresh\" content=\"20; url=chat.php?time=";
          echo "".date("dmHis")."";
          echo "&amp;sid=$sid&amp;rid=$rid&amp;rpw=$rpw\">";
          }
          echo "</head>";
          echo "<body>";
            addonline($uid,"Chating in $rname","chat.php?rid=$rid&amp;rpw=$rpw");
            //echo "
    
    ";
            echo popup($sid);
            echo "[b]1 [/b]<a name=\"top\" id=\"top\" accesskey=\"1\" href=\"chat.php?action=say&amp;sid=$sid&amp;rid=$rid&amp;rpw=$rpw\">Write</a>
    ";
            echo "[b]2 [/b]<a accesskey=\"2\" href=\"#opt\">options</a>
    ";
            echo "[b]* [/b]<a accesskey=\"*\" href=\"chat.php?time=";
            echo "".date("dmHis")."";
            echo "&amp;sid=$sid&amp;rid=$rid&amp;rpw=$rpw\">Refresh</a>
    ";
    
            $unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_private WHERE unread=&#39;1&#39; AND touid=&#39;".$uid."&#39;"));
            $unrd="".$unreadinbox[0]."";
            if ($unreadinbox[0]>0)
            {
            echo "[b]5 [/b]<a href=\"inbox.php?action=main&amp;sid=$sid&amp;lstloc=cht&amp;rid=$rid\">$unrd New Inbox!</a>
    ";
          }
          //echo "</p>";
          //echo "
    
    ";
    
            $message=$_POST["message"];
            $who = $_POST["who"];
            $rinfo = mysql_fetch_array(mysql_query("SELECT censord, freaky FROM ibwf_rooms WHERE id=&#39;".$rid."&#39;"));
            if (trim($message) != "")
            {
              $nosm = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_chat WHERE msgtext=&#39;".$message."&#39;"));
              if($nosm[0]==0){
                
                $chatok = mysql_query("INSERT INTO ibwf_chat SET  chatter=&#39;".$uid."&#39;, who=&#39;".$who."&#39;, timesent=&#39;".time()."&#39;, msgtext=&#39;".$message."&#39;, rid=&#39;".$rid."&#39;;");
                $lstmsg = mysql_query("UPDATE ibwf_rooms SET lastmsg=&#39;".time()."&#39; WHERE id=&#39;".$rid."&#39;");
                
                $hehe=mysql_fetch_array(mysql_query("SELECT chmsgs FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));
                $totl = $hehe[0]+1;
                $msgst= mysql_query("UPDATE ibwf_users SET chmsgs=&#39;".$totl."&#39; WHERE id=&#39;".$uid."&#39;");
                if($rinfo[1]==2)
                {
                  //oh damn i gotta post this message to ravebabe :(
                  //will it succeed?
                  $botid = "eeb070e74e366473";
                  $hostname = "www.pandorabots.com";
                  $hostpath = "/pandora/talk-xml";
                  $sendData = "botid=".$botid."&input=".urlencode($message)."&custid=".$custid;
                  
                  $result = PostToHost($hostname, $hostpath, $sendData);
                  
                  $pos = strpos($result, "custid=\"");
                  $pos = strpos($result, "<that>");
            if ($pos === false) {
                $reply = "";
            } else {
                $pos += 6;
                $endpos = strpos($result, "</that>", $pos);
                $reply = unhtmlspecialchars2(substr($result, $pos, $endpos - $pos));
                $reply = mysql_escape_string($reply);
            }
            
            $chatok = mysql_query("INSERT INTO ibwf_chat SET  chatter=&#39;1&#39;, who=&#39;&#39;, timesent=&#39;".time()."&#39;, msgtext=&#39;".$reply." @".getnick_uid($uid)."&#39;, rid=&#39;".$rid."&#39;;");
            
                }
              }
              $message = "";
                }
                
                echo "
    ";
                $chats = mysql_query("SELECT chatter, who, timesent, msgtext, exposed FROM ibwf_chat WHERE rid=&#39;".$rid."&#39; ORDER BY timesent DESC, id DESC");
                $counter=0;
    
                while($chat = mysql_fetch_array($chats))
                {
                    $canc = true;
                   
                    
                    if($counter<40)
                    {
                      if(istrashed($chat[0])){
                            if($uid!=$chat[0])
                            {
                              $canc = false;
                            }
                      }
                    //////good
                    if(isignored($chat[0],$uid)){
                      $canc = false;
                    }
                    //////////good
                    if($chat[0]!=$uid)
                    {
                      if($chat[1]!=0)
                      {
                        if($chat[1]!=$uid)
                        {
                          $canc = false;
                        }
                      }
                    }
                    if($chat[4]==&#39;1&#39; && ismod($uid))
                    {
                      $canc = true;
                    }
                    if($canc)
                    {
                       $cmid = mysql_fetch_array(mysql_query("SELECT  chmood FROM ibwf_users WHERE id=&#39;".$chat[0]."&#39;"));
                       
                       $iml = "";
                    if(($cmid[0]!=0))
                    {
                      $mlnk = mysql_fetch_array(mysql_query("SELECT img, text FROM ibwf_moods WHERE id=&#39;".$cmid[0]."&#39;"));
                      $iml = "<img src=\"$mlnk[0]\" alt=\"$mlnk[1]\"/>";
    
                    }
                      $chnick = getnick_uid($chat[0]);
                        $optlink = $iml.$chnick;
                      if(($chat[1]!=0)&&($chat[0]==$uid))
                      {
                        ///out
                        $iml = "<img src=\"../moods/out.gif\" alt=\"!\"/>";
                        $chnick = getnick_uid($chat[1]);
                        $optlink = $iml."Pm To ".$chnick;
                      }
                      if($chat[1]==$uid)
                      {
                        ///out
                        $iml = "<img src=\"../moods/in.gif\" alt=\"!\"/>";
                        $chnick = getnick_uid($chat[0]);
                        $optlink = $iml."Pm By ".$chnick;
                      }
                        if($chat[4]==&#39;1&#39;)
                      {
                        ///out
                        $iml = "<img src=\"../moods/point.gif\" alt=\"!\"/>";
                        $chnick = getnick_uid($chat[0]);
                        $tonick = getnick_uid($chat[1]);
                        $optlink = "$iml By ".$chnick." To ".$tonick;
                      }
                      
                      $ds= date("H.i.s", $chat[2]);
                      $text = parsepm($chat[3], $sid);
                      $nos = substr_count($text,"<img src=");
                      if(isspam($text))
                      {
                        $chnick = getnick_uid($chat[0]);
                        echo "[b]Chat System:»[i]*Oi! $chnick, No Spamming!*[/i][/b]
    ";
                      }
                      else if($nos>2){
                        $chnick = getnick_uid($chat[0]);
                        echo "[b]Chat System:»[i]*Hey! $chnick, U Can Only Use 2 Smilies Per Msg!*[/i][/b]
    ";
                      }else{
                        $sres = substr($chat[3],0,3);
                        
                        if($sres == "/me")
                        {
                            $chco = strlen($chat[3]);
                            $goto = $chco - 3;
                            $rest = substr($chat[3],3,$goto);
                            $tosay = parsepm($rest, $sid);
                            
                            echo "[b][i]*$chnick $tosay*[/i][/b]
    ";
                        }else{
                          if($rinfo[0]==0){
                          $tosay = getbbcode($chat[3], $sid, 0);
                          }else{
                          $tosay = parsepm($chat[3], $sid, 1);
                          }
                          
                          if($rinfo[1]==1)
                          {
                              $tosay = htmlspecialchars($chat[3]);
                              $tosay = strrev($tosay);
                            }
                      echo "<a href=\"chat.php?action=say2&amp;sid=$sid&amp;who=$chat[0]&amp;rid=$rid&amp;rpw=$rpw\">$optlink</a> - ";
                      echo $tosay."
    ";
                      
                      }
                    }
                   
                      $counter++;
                    }
                    }
                }
                //echo "</p>";
            
            echo "
    ";
            echo "<a name=\"opt\" id=\"opt\"></a>";
            echo "[b]* [/b]<a accesskey=\"*\" href=\"chat.php?time=";
            echo "".date("dmHis")."";
            echo "&amp;sid=$sid&amp;rid=$rid&amp;rpw=$rpw\">Refresh</a>
    ";
          echo "[b]1 [/b]<a href=\"chat.php?action=say&amp;sid=$sid&amp;rid=$rid&amp;rpw=$rpw\">Write</a>
    ";
            echo "[b]3 [/b]<a accesskey=\"3\" href=\"chat.php?action=options&amp;sid=$sid&amp;rid=$rid&amp;rpw=$rpw\">Settings</a>
    ";
            $chatters=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_chonline where rid=&#39;".$rid."&#39;"));
            echo "[b]4 [/b]<a accesskey=\"4\" href=\"chat.php?action=inside&amp;sid=$sid&amp;rid=$rid&amp;rpw=$rpw\">Whos Inside $chatters[0]</a>
    ";
            echo "[b]5 [/b]<a accesskey=\"5\" href=\"inbox.php?action=main&amp;sid=$sid&amp;lstloc=cht&amp;rid=$rid\">Inbox</a>
    ";
            echo "[b]6 [/b]<a accesskey=\"6\" href=\"lists.php?action=buds&amp;sid=$sid\">BuddyList</a>
    ";
            echo "[b]7 [/b]<a accesskey=\"7\" href=\"index.php?action=chat&amp;sid=$sid\">Chat</a>
    ";
            echo forumlink($sid,8);
            echo "[b]9 [/b]<a accesskey=\"9\" href=\"#top\">top</a> ";
            echo "[b]0 [/b]<a accesskey=\"0\" href=\"index.php?action=main&amp;sid=$sid\">Home</a>";
            echo "</body>";
    }
    /////////////////////////////////////////////////////SAY
    
          else if ($action=="say")   
          {
         echo "<head>";
          echo "<title>Write Msg</title>";
      echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
          echo "</head>";
          echo "<body>";
          echo "<p align=\"center\">";
            addonline($uid,"Writing Chat Msg","");
            echo "<form action=\"chat.php?sid=$sid&amp;rid=$rid&amp;rpw=$rpw\" method=\"post\">";
            echo "
    
    Message:<input name=\"message\" type=\"text\" maxlength=\"255\"/>
    ";
            echo "<input type=\"Submit\" Name=\"sy2\" value=\"Say\"></form>
    ";
          $rooms = mysql_fetch_array(mysql_query("SELECT id, name FROM ibwf_rooms WHERE id=&#39;".$rid."&#39;"));
          $rname = $rooms[1];
            echo "[b]4 [/b]<a accesskey=\"4\" href=\"chat.php?sid=$sid&amp;rid=$rid&amp;rpw=$rpw\">Back To $rname</a>
    ";
            echo "[b]6 [/b]<a accesskey=\"6\" href=\"inbox.php?action=main&amp;sid=$sid\">Inbox</a>
    ";
            echo "[b]7 [/b]<a accesskey=\"7\" href=\"lists.php?action=buds&amp;sid=$sid\">BuddyList</a>
    ";
            echo "[b]8 [/b]<a accesskey=\"8\" href=\"index.php?action=chat&amp;sid=$sid\">Chat</a>
    ";
            echo forumlink($sid,9);
            echo "[b]0 [/b]<a accesskey=\"0\" href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a></p>";
            echo "</body>";
    }
            ////////////////////////////////////////////
        /////////////////////////////////////////////////////SAY2
          else if ($action=="say2")                   {
        echo "<head>";
          echo "<title>Send Pm</title>";
      echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
          echo "</head>";
          echo "<body>";
          echo "<p align=\"center\">";
            $unick = getnick_uid($who);
            echo "[b]Send Pm To $unick[/b]";
            echo "</p>";
            
            addonline($uid,"Writing Chat Msg","");
            echo "<form action=\"chat.php?sid=$sid&amp;rid=$rid&amp;rpw=$rpw\" method=\"post\">";
            echo "<input type=\"Hidden\" name=\"who\" value=\"$who\">";
            echo "
    
    Message:<input name=\"message\" type=\"text\" maxlength=\"255\"/>
    ";
            echo "<input type=\"Submit\" name=\"private\" Value=\"Private\"></form>";
            echo "
    ";
            echo "[b]1 [/b]<a accesskey=\"1\" href=\"index.php?action=viewuser&amp;sid=$sid&amp;who=$who&amp;lstloc=cht&amp;rid=$rid\">View $unick&#39;s Profile</a>
    ";
            echo "[b]2 [/b]<a accesskey=\"2\" href=\"chat.php?action=expose&amp;sid=$sid&amp;who=$who&amp;rid=$rid&amp;rpw=$rpw\">Expose $unick&#39;s Msgs</a>
    ";
          $rooms = mysql_fetch_array(mysql_query("SELECT id, name FROM ibwf_rooms WHERE id=&#39;".$rid."&#39;"));
          $rname = $rooms[1];
            echo "[b]4 [/b]<a accesskey=\"4\" href=\"chat.php?sid=$sid&amp;rid=$rid&amp;rpw=$rpw\">Back To $rname</a>
    ";
            echo "[b]6 [/b]<a accesskey=\"6\" href=\"inbox.php?action=main&amp;sid=$sid\">Inbox</a>
    ";
            echo "[b]7 [/b]<a accesskey=\"7\" href=\"lists.php?action=buds&amp;sid=$sid\">BuddyList</a>
    ";
            echo "[b]8 [/b]<a accesskey=\"8\" href=\"index.php?action=chat&amp;sid=$sid\">Chat</a>
    ";
            echo forumlink($sid,9);
            echo "[b]0 [/b]<a accesskey=\"0\" href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a></p>";
            echo "</body>";
    }
    /////////////////////////////////////////////////////CHAT OPTIONS
    
            else if ($action=="options")   
                            {
             echo "<head>";
          echo "<title>Chat Options</title>";
      echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
          echo "</head>";
          echo "<body>";
            
            addonline($uid,"Chat Options","");
            echo "[b]1 [/b]<a accesskey=\"1\" href=\"lists.php?action=chmood&amp;sid=$sid&amp;page=1\">Chat Mood</a>
    ";
            echo "[b]2 [/b]<a accesskey=\"2\" href=\"lists.php?action=smilies&amp;sid=$sid\">Smilies List</a>
    ";
            echo "[b]3 [/b]<a accesskey=\"3\"  href=\"chat.php?action=inside&amp;sid=$sid&amp;rid=$rid&amp;rpw=$rpw\">Who&#39;s Inside</a>
    ";
          $rooms = mysql_fetch_array(mysql_query("SELECT id, name FROM ibwf_rooms WHERE id=&#39;".$rid."&#39;"));
          $rname = $rooms[1];
            echo "[b]4 [/b]<a accesskey=\"4\" href=\"chat.php?sid=$sid&amp;rid=$rid&amp;rpw=$rpw\">Back To $rname</a>
    ";    
            echo "[b]6 [/b]<a accesskey=\"6\" href=\"inbox.php?action=main&amp;sid=$sid\">Inbox</a>
    ";
            echo "[b]7 [/b]<a accesskey=\"7\" href=\"lists.php?action=buds&amp;sid=$sid\">BuddyList</a>
    ";
            echo "[b]8 [/b]<a accesskey=\"8\" href=\"index.php?action=chat&amp;sid=$sid\">Chat</a>
    ";
            echo forumlink($sid,9);
            echo "[b]0 [/b]<a accesskey=\"0\" href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a></p>";
            echo "</body>";
    }
            ////////////////////////////////////////////
            //////////////////////////////inside//////////
          else if ($action=="inside")           {
              
          addonline($uid,"Viewing Chat UserList","");
          echo "<head>";
          echo "<title>Chat UserList</title>";
      echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
          echo "</head>";
          echo "<body>";
            echo "
    
    
    ";
            $inside=mysql_query("SELECT DISTINCT * FROM ibwf_chonline WHERE rid=&#39;".$rid."&#39; and uid IS NOT NULL");
            
            while($ins=mysql_fetch_array($inside))
            {
              $unick = getnick_uid($ins[1]);
              $userl = "<a href=\"chat.php?action=say2&amp;sid=$sid&amp;who=$ins[1]&amp;rid=$rid&amp;rpw=$rpw\">$unick</a>
    ";
              echo "$userl";
            }
            echo "
    ";
          $rooms = mysql_fetch_array(mysql_query("SELECT id, name FROM ibwf_rooms WHERE id=&#39;".$rid."&#39;"));
          $rname = $rooms[1];
            echo "[b]4 [/b]<a accesskey=\"4\" href=\"chat.php?sid=$sid&amp;rid=$rid&amp;rpw=$rpw\">Back To $rname</a>
    ";
            echo "[b]6 [/b]<a accesskey=\"6\" href=\"inbox.php?action=main&amp;sid=$sid\">Inbox</a>
    ";
            echo "[b]7 [/b]<a accesskey=\"7\" href=\"lists.php?action=buds&amp;sid=$sid\">BuddyList</a>
    ";
            echo "[b]8 [/b]<a accesskey=\"8\" href=\"index.php?action=chat&amp;sid=$sid\">Chat</a>
    ";
            echo forumlink($sid,9);
            echo "[b]0 [/b]<a accesskey=\"0\" href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a></p>";
            echo "</body>";
    }
          else if ($action=="expose")           {
    
          addonline($uid,"Exposing ChatUser","");
          echo "<head>";
          echo "<title>Exposing ChatUser</title>";
      echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
          echo "</head>";
          echo "<body>";
          echo "<p align=\"center\">
    ";
          mysql_query("UPDATE ibwf_chat SET exposed=&#39;1&#39; WHERE chatter=&#39;".$who."&#39; AND who=&#39;".$uid."&#39;");
          $unick = getnick_uid($who);
          echo "$unick messages to you have been exposed to staff";
          echo "
    
    ";
          $rooms = mysql_fetch_array(mysql_query("SELECT id, name FROM ibwf_rooms WHERE id=&#39;".$rid."&#39;"));
          $rname = $rooms[1];
          echo "[b]4 [/b]<a accesskey=\"4\" href=\"chat.php?sid=$sid&amp;rid=$rid&amp;rpw=$rpw\">Back To $rname</a>
    ";
          echo "[b]6 [/b]<a accesskey=\"6\" href=\"inbox.php?action=main&amp;sid=$sid\">Inbox</a>
    ";
          echo "[b]7 [/b]<a accesskey=\"7\" href=\"lists.php?action=buds&amp;sid=$sid\">BuddyList</a>
    ";
          echo "[b]8 [/b]<a accesskey=\"8\" href=\"index.php?action=chat&amp;sid=$sid\"><img src=\"../images/chat.gif\" alt=\"\"/>RoomList</a>
    ";
          echo forumlink($sid,9);
          echo "[b]0 [/b]<a accesskey=\"0\" href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a></p>";
          echo "</body>";
    }
    ?>
    </html>
    any1 can fix this problem???tnks
    if like my post click:

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

    #2
    damn it sweetangel,pls stop creating topics and ask for every thing in part ....use your brain...
    www.inbuzunar.mobi - Your mobile portal pocket

    Comment


      #3
      damn it sweetangel,pls stop creating topics and ask for every thing in part ....use your brain...[/b]
      +1

      if you want help stop posting a **** load of coding and expecting ppl here to fix your own mess for you instead tell us where the error is as it should show on what line the error is occuring and maybe someone will help as i dont see what the filename is, what errors you are currently having, what you have modified/changed you mention nothing

      if i see any more topics like this without any proper info regarding any insight to the error like a screenshot for example i will close the topic, give you a warning and a ban if you still continue

      topic closed

      Comment

      Working...
      X