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), ]); ?> <?php echo _('Top - YGGo!') ?>

getTopHostPages()) { ?> $topHostPage) { ?>
getLastPageDescription($topHostPage->hostPageId)) { ?> title)) { ?> title) ?> description)) { ?> description) ?> keywords)) { ?> keywords) ?> identicon hostURL) . (mb_strlen(urldecode($topHostPage->uri)) > 16 ? '...' . mb_substr(urldecode($topHostPage->uri), -16) : urldecode($topHostPage->uri))) ?> rank ?>
getHostPageCrawlQueueTotal(time() - CRAWL_PAGE_SECONDS_OFFSET, time() - CRAWL_PAGE_HOME_SECONDS_OFFSET)) { ?>