Online User

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

    Online User

    Usually we saw

    chat(5) <- 5 user on9 in c8.
    Forum(5/5)<- topic/post

    my question is.How to make

    Forum(5)<- 5 user browsing forum.

    Any idea?

    #2
    Something Like This:

    <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>$vfc = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_online WHERE place=&#39;Viewing Forum Category&#39;"));
    $vft = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_online WHERE place=&#39;Viewing Forum Topic&#39;"));
    $vfo = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_online WHERE place=&#39;Viewing Forum&#39;"));
    $cnt = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_online WHERE place=&#39;Creating new topic&#39;"));
    $pry = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_online WHERE place=&#39;Posting reply&#39;"));

    $nif = $vfc[0] + $vft[0] + $vfo[0] + $cnt[0] + $pry[0];
    echo "<a href=\"index.php?action=forumindx&amp;sid=$sid\">F orums($nif)</a>
    ";</div>

    I Havented Tested It.

    Comment


      #3
      Thanks mate. .I&#39;ll try it. .

      Comment


        #4
        its work..!! a lot of thanks to inca.

        Comment


          #5
          its work..!! a lot of thanks to inca.[/b]
          may i test too.. coz i&#39;m noob in coding... tnt...
          Services

          Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?

          Below is a list of services I offer:

          Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.

          Rates

          General consulting – My current hourly rate is $100 / hour.
          Custom Wapsite Community - My current rate is $500 / Wap Community Development.

          Comment


            #6
            Lol inet. .Everybody here know u are a good coder. .But u must share more to others. .Haha.

            Comment

            Working...
            X