Encontre aqui os sites mais buscados do =$_ENV["HTTP_HOST"]?>.
include "admin/config.lib";
include "admin/php_classes/mysqldb.class.php";
include "admin/php_classes/word.class.php";
$qry = new Mysqldb;
$wordSvc = new WordSvc;
if (!$p) $p = 1;
if (!$p) {
$totalWords = 500000;
for ($a = 0; $a < ($totalWords/100); $a++) {
?>
=$a+1?>
}
} else {
$words = $wordSvc->findAll($p);
if (is_array($words)) {
foreach ($words as $w) {
$file = ereg_replace(" ", "_", $w->getFileName()) . ".html";
?>
=$w->getTitle()?>
}
}
?>
if ($p > 1) {
?>
Anterior
}
$inicio = $p - 10;
if ($inicio < 1) {
while ($inicio < 1) {
$inicio++;
}
}
for ($b=0; $b < 22; $b++) {
$onPage = $inicio + $b;
if ($onPage == $p) {
echo $p;
} else {
?>
=$onPage?>
}
}
?>
Proxima
}
?>