mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-05 22:10:11 +00:00
Empty commit
This commit is contained in:
parent
2f5b14f13a
commit
267289e6b9
@ -95,6 +95,7 @@
|
|||||||
include (SERVER_ROOT . '/sections/artist/artist.php');
|
include (SERVER_ROOT . '/sections/artist/artist.php');
|
||||||
|
|
||||||
} elseif (!empty($_GET['artistname'])) {
|
} elseif (!empty($_GET['artistname'])) {
|
||||||
|
|
||||||
$NameSearch = str_replace('\\', '\\\\', trim($_GET['artistname']));
|
$NameSearch = str_replace('\\', '\\\\', trim($_GET['artistname']));
|
||||||
$DB->query("
|
$DB->query("
|
||||||
SELECT ArtistID, Name
|
SELECT ArtistID, Name
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$UserID = $LoggedUser['ID'];
|
$UserID = $LoggedUser['ID'];
|
||||||
|
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
}
|
}
|
||||||
$QueryStatus = 0;
|
$QueryStatus = 0;
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
$Page = min(SPHINX_MAX_MATCHES / TORRENTS_PER_PAGE, $Page);
|
$Page = min(SPHINX_MAX_MATCHES / TORRENTS_PER_PAGE, $Page);
|
||||||
$SphQL = new SphinxqlQuery();
|
$SphQL = new SphinxqlQuery();
|
||||||
$SphQL->select('id')
|
$SphQL->select('id')
|
||||||
|
@ -173,6 +173,7 @@
|
|||||||
|
|
||||||
if (!empty($_GET['search'])) {
|
if (!empty($_GET['search'])) {
|
||||||
$SearchString = trim($_GET['search']);
|
$SearchString = trim($_GET['search']);
|
||||||
|
|
||||||
if ($SearchString !== '') {
|
if ($SearchString !== '') {
|
||||||
$SearchWords = array('include' => array(), 'exclude' => array());
|
$SearchWords = array('include' => array(), 'exclude' => array());
|
||||||
$Words = explode(' ', $SearchString);
|
$Words = explode(' ', $SearchString);
|
||||||
|
@ -39,6 +39,7 @@ function header_link($SortKey, $DefaultWay = 'desc') {
|
|||||||
if (!empty($_GET['searchstr']) || !empty($_GET['groupname'])) {
|
if (!empty($_GET['searchstr']) || !empty($_GET['groupname'])) {
|
||||||
if (!empty($_GET['searchstr'])) {
|
if (!empty($_GET['searchstr'])) {
|
||||||
$InfoHash = $_GET['searchstr'];
|
$InfoHash = $_GET['searchstr'];
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$InfoHash = $_GET['groupname'];
|
$InfoHash = $_GET['groupname'];
|
||||||
}
|
}
|
||||||
|
@ -47,6 +47,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
View::show_header('User search');
|
View::show_header('User search');
|
||||||
?>
|
?>
|
||||||
<div class="thin">
|
<div class="thin">
|
||||||
|
Loading…
Reference in New Issue
Block a user