besttop clones toplists

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

    #16
    Ok thanks @billy

    Comment


      #17
      Im getting an error pls help me guys
      check http://waptopi.tk
      Girls are like internet domain name, The girls i like are already taken!

      Comment


        #18
        heelo sir when i register site than get code and did not open site pages http://livetop.in/in.php?uid=29

        Comment


          #19
          Originally posted by rock View Post
          Im getting an error pls help me guys
          check http://waptopi.tk
          Bro i think your database details are not set up correctly in your /inc/config.inc.php
          check your database details are setup correctly then it will work

          Added after 18 minutes:

          Originally posted by rock View Post
          Im getting an error pls help me guys
          check http://waptopi.tk
          first setup a database and
          check these lines are correct in your /inc/config.inc.php

          define ('DB', 'YOUR DATABASE NAME');
          define ('USER_DB', 'YOUR DATABASE USER NAME');
          define ('PASS_DB', 'YOUR DATABASE PASSWORD');

          otherwise you wont be connected 2 the database thats y u get the error
          in /inc/0functions.inc.php

          ### ?????????? ? MySQL
          function connect_to_db()
          {

          $dbh = mysql_connect ("sql109.oskol.in", USER_DB, PASS_DB) or die ('Sorry!!!'); // if cant connect to database it will how u this msg
          mysql_select_db (DB);
          }
          Last edited by Chris4u; 25.12.10, 17:27.

          Comment


            #20
            I've done this but still not working i think my server dont support this script..
            Girls are like internet domain name, The girls i like are already taken!

            Comment


              #21
              when register site get code and send his to code then code not working nothing open http://livetop.in/in.php?uid=29

              Comment


                #22
                Originally posted by djmob View Post
                when register site get code and send his to code then code not working nothing open http://livetop.in/in.php?uid=29
                Ok bro copy this page & replace your in.php with this code

                PHP Code:

                <?php
                ///////////////b-o-h-e-m-i-a/////////
                //////////////wapadmin.info////////
                ///////n is lucky for me/////////
                include 'config.inc.php';
                include 
                'functions.inc.php';
                require(
                'top.php');
                    include 
                "config.php";
                //---------------------------------------------------------------
                error_reporting(0);
                ini_set ('session.use_cookies'0);
                ini_set ('session.use_trans_sid'1);
                session_name('sid');
                session_start();
                connect_to_db();

                //---------------------------------------------------------------


                          
                $today  date("Ymd");
                          @
                mysql_query("UPDATE weeks,users SET weeks.cat=users.cat WHERE weeks.uid=users.uid");
                          
                $res=mysql_query("SELECT count(`cat`) FROM `weeks` WHERE `host` > 0 and `date`=$today");
                            
                $cnt mysql_fetch_row($res);
                            
                $c $cnt[0];
                        

                            
                //Check input id
                            
                if (!empty($_GET['uid']))
                            {
                                
                $uid=(int)$_GET['uid'];
                                
                $uid=@mysql_escape_string($uid);
                                
                // Check for your account 
                                
                $result mysql_query("SELECT site_name,link,admin,info,cat FROM users WHERE uid=$uid");
                                
                $row=mysql_fetch_array($result);
                                if (!empty(
                $row))
                                {
                                    
                //===================== It
                                    
                $week_day date("w");
                                    
                $today date("Ymd");
                                    
                //  Count
                                    
                $result mysql_query("SELECT `in` FROM `weeks` WHERE `date`=$today AND `uid`=$uid LIMIT 1");
                                    
                $row=mysql_fetch_array($result);
                                    if (empty(
                $row))
                                    {
                                        
                $dayNext =$week_day 7;
                                        if (
                $dayNext 7){
                                            
                $dayNext-=7;
                                        }
                                        
                $cntDay=8-$dayNext;
                                        
                $nextMonday=date("Ymd",mktime(0,0,0,date("m"),date("d")+$cntDay));
                                        @
                mysql_query("INSERT INTO `weeks` VALUES ('',$uid,$nextMonday,$today,$week_day,0,0,0,0)");
                                        
                $in_count 0;
                                    } else{
                                            
                $in_count $row['in'];
                                        }
                                    
                $in_count++;
                                    
                // Save 
                                    
                @mysql_query("UPDATE `weeks` SET `in`=$in_count WHERE `date`=$today AND `uid`=$uid LIMIT 1");
                                    
                                    
                $today date("Ymd");
                                    
                $hour date("H");
                                    
                                                
                                }
                            }
                              



                $host  $_SERVER['HTTP_HOST'];
                $uri   rtrim(dirname($_SERVER['PHP_SELF']), '/\\');

                header("Location: http://$host$uri/");

                        
                    
                ?>
                After done let me know wether its working

                Added after 8 minutes:

                Originally posted by rock View Post
                I've done this but still not working i think my server dont support this script..
                Nope bro your still not doing sum thing right with DATABASE DETAILS.

                PHP Code:
                function connect_to_db()
                {
                                                           [
                SIZE="4"//CHECK WETHER THIS IS SET TO (localhost) [/SIZE]
                    
                $dbh = @mysql_connect ("localhost"USER_DBPASS_DB) or die ('Sorry!!!');
                    
                mysql_select_db (DB);


                Or else if you have entered the DB details correctly then you havent setup the DATABASE Correctly... Eg: not added the databse to a user etc... may be thats the reason its not connecting to the database
                Last edited by Chris4u; 26.12.10, 04:46.

                Comment


                  #23
                  Chris i have emailed u something pls check it ..
                  Girls are like internet domain name, The girls i like are already taken!

                  Comment


                    #24
                    I have problem , beacouse if you register site only visible in TOP 100, but invisible in categories, why??? wtop.me | The Best traffic sender toplist

                    Comment


                      #25
                      no bro its not working plz sove it and help me




                      Originally posted by Chris4u View Post
                      Ok bro copy this page & replace your in.php with this code

                      PHP Code:

                      <?php
                      ///////////////b-o-h-e-m-i-a/////////
                      //////////////wapadmin.info////////
                      ///////n is lucky for me/////////
                      include 'config.inc.php';
                      include 
                      'functions.inc.php';
                      require(
                      'top.php');
                          include 
                      "config.php";
                      //---------------------------------------------------------------
                      error_reporting(0);
                      ini_set ('session.use_cookies'0);
                      ini_set ('session.use_trans_sid'1);
                      session_name('sid');
                      session_start();
                      connect_to_db();

                      //---------------------------------------------------------------


                                
                      $today  date("Ymd");
                                @
                      mysql_query("UPDATE weeks,users SET weeks.cat=users.cat WHERE weeks.uid=users.uid");
                                
                      $res=mysql_query("SELECT count(`cat`) FROM `weeks` WHERE `host` > 0 and `date`=$today");
                                  
                      $cnt mysql_fetch_row($res);
                                  
                      $c $cnt[0];
                              

                                  
                      //Check input id
                                  
                      if (!empty($_GET['uid']))
                                  {
                                      
                      $uid=(int)$_GET['uid'];
                                      
                      $uid=@mysql_escape_string($uid);
                                      
                      // Check for your account 
                                      
                      $result mysql_query("SELECT site_name,link,admin,info,cat FROM users WHERE uid=$uid");
                                      
                      $row=mysql_fetch_array($result);
                                      if (!empty(
                      $row))
                                      {
                                          
                      //===================== It
                                          
                      $week_day date("w");
                                          
                      $today date("Ymd");
                                          
                      //  Count
                                          
                      $result mysql_query("SELECT `in` FROM `weeks` WHERE `date`=$today AND `uid`=$uid LIMIT 1");
                                          
                      $row=mysql_fetch_array($result);
                                          if (empty(
                      $row))
                                          {
                                              
                      $dayNext =$week_day 7;
                                              if (
                      $dayNext 7){
                                                  
                      $dayNext-=7;
                                              }
                                              
                      $cntDay=8-$dayNext;
                                              
                      $nextMonday=date("Ymd",mktime(0,0,0,date("m"),date("d")+$cntDay));
                                              @
                      mysql_query("INSERT INTO `weeks` VALUES ('',$uid,$nextMonday,$today,$week_day,0,0,0,0)");
                                              
                      $in_count 0;
                                          } else{
                                                  
                      $in_count $row['in'];
                                              }
                                          
                      $in_count++;
                                          
                      // Save 
                                          
                      @mysql_query("UPDATE `weeks` SET `in`=$in_count WHERE `date`=$today AND `uid`=$uid LIMIT 1");
                                          
                                          
                      $today date("Ymd");
                                          
                      $hour date("H");
                                          
                                                      
                                      }
                                  }
                                    



                      $host  $_SERVER['HTTP_HOST'];
                      $uri   rtrim(dirname($_SERVER['PHP_SELF']), '/\\');

                      header("Location: http://$host$uri/");

                              
                          
                      ?>
                      After done let me know wether its working

                      Added after 8 minutes:



                      Nope bro your still not doing sum thing right with DATABASE DETAILS.

                      PHP Code:
                      function connect_to_db()
                      {
                                                                 [
                      SIZE="4"//CHECK WETHER THIS IS SET TO (localhost) [/SIZE]
                          
                      $dbh = @mysql_connect ("localhost"USER_DBPASS_DB) or die ('Sorry!!!');
                          
                      mysql_select_db (DB);


                      Or else if you have entered the DB details correctly then you havent setup the DATABASE Correctly... Eg: not added the databse to a user etc... may be thats the reason its not connecting to the database

                      Comment


                        #26
                        Both script are working on our side. but now i have removed the portal because my these portal site uses more cpu Resource and my site has been suspended. ,many site was added on my both portal. so both script are consumed more cpu resources. if you have vps then its ok.

                        Comment


                          #27
                          Originally posted by snoopywap View Post
                          I have problem , beacouse if you register site only visible in TOP 100, but invisible in categories, why??? wtop.me | The Best traffic sender toplist

                          Any help ???

                          Comment


                            #28
                            First of all i must say this which i forgot before,, This is not a BestTop.mobi - Top Mobile Sites clone @ all.. its only a CSS Clone from BestTop.mobi - Top Mobile Sites


                            Originally posted by djmob View Post
                            when register site get code and send his to code then code not working nothing open LiveTop.IN | The Best traffic sender toplist
                            U mean when we click http://livetop.in/in.php?uid=29 its not Opening or Redirecting??.. Or empty page is showing up??

                            but i when i clicked this link LiveTop.IN | The Best traffic sender toplist its working & redirecting fine with no errors.... If thats not the error your getting make me clear abt the ERROR or show me the error so i can fiuger it out

                            Added after 36 minutes:

                            Originally posted by snoopywap View Post
                            I have problem , beacouse if you register site only visible in TOP 100, but invisible in categories, why??? wtop.me | The Best traffic sender toplist
                            Did you edit the shortcat.php Page?? if so then i think u might have messed up something....... Coz that page in the script is working fine.... download the script again and Replace the shortcat.php and see how it goes
                            Last edited by Chris4u; 30.12.10, 06:21.

                            Comment


                              #29
                              Originally posted by snoopywap View Post
                              I have problem , beacouse if you register site only visible in TOP 100, but invisible in categories, why??? wtop.me | The Best traffic sender toplist
                              now is work ;) i just upload this .htaccess: http://wtop.me/htaccess.zip

                              Comment

                              Working...
                              X