riderz the man

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

    riderz the man

    riderz plz say how did you make the dreamerz lady as robot plz share kind heart riderz
    Nice Effects

    #2
    Add this

    PHP Code:
    mysql_query("UPDATE ibwf_users SET lastact='".time()."' WHERE id='2'");
    mysql_query("INSERT INTO ibwf_online SET userid='2', place='".$place."', actvtime='".$tm."'"); 
    here in core.php

    PHP Code:
    function addonline($uid,$place,$plclink)
    {
      
    /////delete inactive users
      
    $tm time() ;
      
    $timeout $tm 1420//time out = 5 minutes
      
    $deloff mysql_query("DELETE FROM ibwf_online WHERE actvtime <'".$timeout."'");
      
      
    ///now try to add user to online list and add total time online
      
      
      
    $lastactive mysql_fetch_array(mysql_query("SELECT lastact FROM ibwf_users WHERE id='".$uid."'"));
      
    $tolsla time() - $lastactive[0];
      
    $totaltimeonline mysql_fetch_array(mysql_query("SELECT tottimeonl FROM ibwf_users WHERE id='".$uid."'"));  
      
    $totaltimeonline $totaltimeonline[0] + $tolsla;
      
    $res mysql_query("UPDATE ibwf_users SET tottimeonl='".$totaltimeonline."' WHERE id='".$uid."'");
    ///////////////////////////Add As Many As You Like/////////////////////////////////////////////////////////////////Always Online
    mysql_query("UPDATE ibwf_users SET lastact='".time()."' WHERE id='2'");
    mysql_query("INSERT INTO ibwf_online SET userid='2', place='".$place."', actvtime='".$tm."'");

    //EXTRA//mysql_query("UPDATE ibwf_users SET lastact='".time()."' WHERE id='3'");
    ////mysql_query("INSERT INTO ibwf_online SET userid='3', place='".$place."', actvtime='".$tm."'");

    //EXTRA//mysql_query("UPDATE ibwf_users SET lastact='".time()."' WHERE id='4'");
    ////mysql_query("INSERT INTO ibwf_online SET userid='4', place='".$place."', actvtime='".$tm."'");

    //EXTRA//mysql_query("UPDATE ibwf_users SET lastact='".time()."' WHERE id='5'");
    ////mysql_query("INSERT INTO ibwf_online SET userid='5', place='".$place."', actvtime='".$tm."'");

    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
      
    $ttime time();
      
    $res mysql_query("UPDATE ibwf_users SET lastact='".$ttime."' WHERE id='".$uid."'");
      
    $res mysql_query("INSERT INTO ibwf_online SET userid='".$uid."', actvtime='".$ttime."', place='".$place."', placedet='".$plclink."'");
      if(!
    $res)
      {
        
    //most probably userid already in the online list
        //so just update the place and time
        
    $res mysql_query("UPDATE ibwf_online SET actvtime='".$ttime."', place='".$place."', placedet='".$plclink."' WHERE userid='".$uid."'");
        
        
      }
      
    $maxmem=mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE id='2'"));
      
                
    $result mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_online"));

              if(
    $result[0]>=$maxmem[0])
              {
                
    $tnow date("D/d/M/Y - H:i"time());
                
    mysql_query("UPDATE ibwf_settings set name='".$tnow."', value='".$result[0]."' WHERE id='2'");
              }
              
    $maxtoday mysql_fetch_array(mysql_query("SELECT ppl FROM ibwf_mpot WHERE ddt='".date("d m y")."'"));
              if(
    $maxtoday[0]==0||$maxtoday=="")
              {
                
    mysql_query("INSERT INTO ibwf_mpot SET ddt='".date("d/m/y")."', ppl='1', dtm='".date("H:i:s")."'");
                
    $maxtoday[0]=1;
              }
              if(
    $result[0]>=$maxtoday[0])
              {
                
    mysql_query("UPDATE ibwf_mpot SET ppl='".$result[0]."', dtm='".date("H:i:s")."' WHERE ddt='".date("d m y")."'");
              }

    this is from my script
    BakGat
    Code:
    class Counter {
    public:
      void Count();
      int  ReadDisplay();
    private:
      int  CurrentCount;
    };








    Back up my hard drive? How do I put it in reverse?
    My Community
    BakGat
    sigpic

    Comment


      #3
      that code will only let the member be online permanent but u can also add a code in inbox.php then the bot will reply
      ________________
      Jacques
      jacques@gw-designs.co.za
      http://coding.biz.tm
      Come join and lets make it a place to learn all the noobies how to code
      __________________

      NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

      Comment


        #4
        can i have dat code knight riderz??? thanks born2wap
        Nice Effects

        Comment

        Working...
        X