diff --git a/media/search-page.png b/media/search-page.png new file mode 100644 index 0000000..662d397 Binary files /dev/null and b/media/search-page.png differ diff --git a/src/public/search.php b/src/public/search.php new file mode 100644 index 0000000..fd5be7b --- /dev/null +++ b/src/public/search.php @@ -0,0 +1,226 @@ + 1 ? (int) $_GET['page'] : 1; + +// Search request +$total = $sphinx->searchPeersTotal($requestQuery); +$results = $sphinx->searchPeers($requestQuery, + $requestPage * WEBSITE_PEER_REMOTE_PAGINATION_LIMIT - WEBSITE_PEER_REMOTE_PAGINATION_LIMIT, + WEBSITE_PEER_REMOTE_PAGINATION_LIMIT, + $total); + +?> + + + + + + + + + <?php echo sprintf(_('%s - Search - %s'), htmlentities($requestQuery), WEBSITE_NAME) ?> + + + + + + +
+
+ +
+
+
+
+
+
+
+

+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + = WEBSITE_PEER_REMOTE_PAGINATION_LIMIT) { ?> + + + + + + + + + + + + + +
+ + peeraddress ?> + + + peerkey, $requestQuery)) { ?> + + • + + + + • + + + + peercoordinateport, $requestQuery)) { ?> + + • + + + + • + + + + peercoordinateroute, $requestQuery)) { ?> + + • + + + + • + + + + peerremotescheme, $requestQuery)) { ?> + + • + + + + • + + + + peerremotehost, $requestQuery)) { ?> + + • + + + + • + + + + peerremoteport, $requestQuery)) { ?> + + • + + + + • + + +
+ 1) { ?> + + + + +
+
+
+
+
+ + + \ No newline at end of file