Total time online

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

    Total time online

    Dr friend i m using lavalair script. In every user's profile along with my profile i can see that total online time is 0secend. Do u help me to fix this problem?pls!

    #2
    it would help if you told us what script you're using and/or post the code here
    :p:p:p

    Comment


      #3
      he said that he is using a lavalair script.


      Bro the codes are here so search for it

      WapCHAT Forum Currenltly changing over to xhtml

      My Dowloads Site

      Comment


        #4
        Originally posted by kinuwap View Post
        Dr friend i m using lavalair script. In every user's profile along with my profile i can see that total online time is 0secend. Do u help me to fix this problem?pls!
        edit ur index.php and goto this condition if($action == "viewuser")
        you will see this

        $totaltimeonline = mysql_fetch_array(mysql_query("SELECT tottimeonl FROM ibwf_users WHERE id='".$who."'"));
        $num = $totaltimeonline[0]/86400;
        $days = intval($num);
        $num2 = ($num - $days)*24;
        $hours = intval($num2);
        $num3 = ($num2 - $hours)*60;
        $mins = intval($num3);
        $num4 = ($num3 - $mins)*60;
        $secs = intval($num4);
        echo "Time Online: ";

        so just you need paste this line there instead of echo "Time Online: ";

        echo "Time Online: $days Days, $hours Hours, $mins Mins and $secs secs";

        ok?

        Comment

        Working...
        X