Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
otop counter toplist
11-12-2013, 05:03 PM
Post: #1
otop counter toplist
add yer sites or don't add its up to you big grinbig grinbig grin
http://otop.comze.com

http://otop.comze.com
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
[-] The following 1 user Likes billy1977's post:
k1knyboy (11-15-2013)
11-13-2013, 05:28 PM
Post: #2
RE: otop counter toplist
nice billy best of luck for u site.......
Find all posts by this user
Like Post Quote this message in a reply
11-20-2013, 07:32 PM
Post: #3
RE: otop counter toplist
site now resets every sunday......big grin

http://otop.comze.com
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
11-22-2013, 08:23 AM
Post: #4
RE: otop counter toplist
no every day billy......
Find all posts by this user
Like Post Quote this message in a reply
11-28-2013, 09:55 AM
Post: #5
RE: otop counter toplist
ha billy help me....

me wany daily resets what can I do......
Find all posts by this user
Like Post Quote this message in a reply
11-28-2013, 12:31 PM
Post: #6
RE: otop counter toplist
just set cron to your needs.

http://otop.comze.com
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
11-28-2013, 01:38 PM
Post: #7
RE: otop counter toplist
where the set plzzzz tell me code here....bec I am tired working this......plzzzzzz
Find all posts by this user
Like Post Quote this message in a reply
11-28-2013, 01:40 PM
Post: #8
RE: otop counter toplist
set it in cronjobs in cpanel.

http://otop.comze.com
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
11-28-2013, 01:41 PM (This post was last modified: 11-28-2013 01:42 PM by sniper.)
Post: #9
RE: otop counter toplist
<?php
define('NTOP', 1);
require_once ('../system/connect.php');
require_once ('../system/core.php');
require_once ('../system/function.php');
$update = mysql_query("UPDATE `".$prefix."sait` SET `hosts` = '0', `hits` = '0', `in` = '0', `out` = '0'");
$saits = mysql_query("SELECT * FROM `".$prefix."sait`");
while($row = mysql_fetch_array($saits))
{
$pr=getPageRank($row['url']);
$cy=intval(cy($row['url']));
$up = mysql_query("UPDATE `".$prefix."sait` SET `pr`='".$pr."', `cy`='".$cy."' WHERE `id` = '".$row['id']."'");
}
mysql_query("TRUNCATE TABLE `".$prefix."online`");
mysql_query("TRUNCATE TABLE `".$prefix."sait_online`");
mysql_query("OPTIMIZE TABLE `".$prefix."online`");
mysql_query("OPTIMIZE TABLE `".$prefix."sait_online`");
mysql_query("OPTIMIZE TABLE `".$prefix."cat`");
mysql_query("OPTIMIZE TABLE `".$prefix."go`");
mysql_query("OPTIMIZE TABLE `".$prefix."hits`");
mysql_query("OPTIMIZE TABLE `".$prefix."hosts`");
mysql_query("OPTIMIZE TABLE `".$prefix."images`");
mysql_query("OPTIMIZE TABLE `".$prefix."ip`");
mysql_query("OPTIMIZE TABLE `".$prefix."ip_name`");
mysql_query("OPTIMIZE TABLE `".$prefix."news`");
mysql_query("OPTIMIZE TABLE `".$prefix."news_comments`");
mysql_query("OPTIMIZE TABLE `".$prefix."reputation`");
mysql_query("OPTIMIZE TABLE `".$prefix."sait_comments`");
mysql_query("OPTIMIZE TABLE `".$prefix."sait`");
mysql_query("OPTIMIZE TABLE `".$prefix."settings`");
mysql_query("OPTIMIZE TABLE `".$prefix."users`");
$log = "Top Update: ".data(time())."\r\n";
$fp = fopen("top_log.ntop", "a");
fwrite($fp, $log);
fclose($fp);
?>

this is kron.php me fix eror.....but no know how work daily......
Find all posts by this user
Like Post Quote this message in a reply
12-04-2013, 01:11 PM (This post was last modified: 12-04-2013 01:11 PM by billy1977.)
Post: #10
RE: otop counter toplist
iv explained enough times !! go to your cpanel and select cronjobs.

iv explained enough times !! go to your cpanel and select cronjobs.

iv explained enough times !! go to your cpanel and select cronjobs.

http://otop.comze.com
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)