diff --git a/example/environment/sphinx.conf b/example/environment/sphinx.conf index 7953819..c025e67 100644 --- a/example/environment/sphinx.conf +++ b/example/environment/sphinx.conf @@ -41,7 +41,7 @@ source hostPage : common WHERE `hostPageDescription`.`hostPageId` = `hostPage`.`hostPageId`) AS `keywords` \ FROM `hostPage` \ JOIN `host` ON (`host`.`hostId` = `hostPage`.`hostId`) \ - WHERE `hostPage`.`httpCode` = 200 AND `hostPage`.`timeBanned` IS NULL AND `hostPage`.`mime` IS NOT NULL \ + WHERE `hostPage`.`httpCode` != 0 AND `hostPage`.`httpCode` IS NOT NULL AND `hostPage`.`mime` IS NOT NULL \ sql_attr_uint = rank sql_attr_string = mime diff --git a/src/public/explore.php b/src/public/explore.php index 5cefe71..4da3ad8 100644 --- a/src/public/explore.php +++ b/src/public/explore.php @@ -192,7 +192,7 @@ $placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the margin: 0 auto; padding: 16px 0; border-top: 1px #000 dashed; - font-size: 14px + font-size: 14px; } span { @@ -210,6 +210,10 @@ $placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the font-size: 11px; } + .text-warning { + color: #db6161; + } +
@@ -241,6 +245,14 @@ $placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter thehttpCode ?>
+ ++ httpCode ?> +
+ mime)) { ?>mime ?>
@@ -287,6 +299,12 @@ $placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the url) . (mb_strlen(urldecode($hostPage->uri)) > 28 ? '...' . mb_substr(urldecode($hostPage->uri), -28) : urldecode($hostPage->uri))) ?> + httpCode != 200) { ?> + | + + httpCode ?> + + | diff --git a/src/public/search.php b/src/public/search.php index 6767c4f..a0b17cb 100644 --- a/src/public/search.php +++ b/src/public/search.php @@ -285,6 +285,10 @@ if ($queueTotal = $memory->getByMethodCallback( font-size: 11px; } + .text-warning { + color: #db6161; + } + @@ -330,6 +334,12 @@ if ($queueTotal = $memory->getByMethodCallback( url) . (mb_strlen(urldecode($hostPage->uri)) > 28 ? '...' . mb_substr(urldecode($hostPage->uri), -28) : urldecode($hostPage->uri))) ?> + httpCode != 200) { ?> + | + + httpCode ?> + + |