addServer(MEMCACHED_HOST, MEMCACHED_PORT);
// Connect database
$db = new MySQL(DB_HOST, DB_PORT, DB_NAME, DB_USERNAME, DB_PASSWORD, $memcached);
// Define page basics
$totalPages = $sphinx->getHostPagesTotal();
$placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the new one...'), $totalPages),
sprintf(_('Over %s pages or enter the new one...'), $totalPages),
sprintf(_('Over %s pages or enter the new one...'), $totalPages),
]);
?>
getTopHostPages()) { ?>
|
|
|
|
|
$topHostPage) { ?>
|
getLastPageDescription($topHostPage->hostPageId)) { ?>
title)) { ?>
title) ?>
description)) { ?>
description) ?>
keywords)) { ?>
keywords) ?>
hostURL)) ?>
|
getTotalHostPagesIndexed($topHostPage->hostId) ?>
= CRAWL_HOST_DEFAULT_PAGES_LIMIT ? '+' : false) ?>
|
rank ?>
|
|
getHostPageCrawlQueueTotal(time() - CRAWL_PAGE_SECONDS_OFFSET, time() - CRAWL_PAGE_HOME_SECONDS_OFFSET)) { ?>