mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 20:21:37 +00:00
Empty commit
This commit is contained in:
parent
07bac85278
commit
beba5c42e2
@ -405,7 +405,7 @@ public function reset() {
|
||||
$this->GroupBy = '';
|
||||
$this->Indexes = '';
|
||||
$this->Limits = array();
|
||||
$this->Options = array();
|
||||
$this->Options = array('ranker' => 'none');
|
||||
$this->QueryString = '';
|
||||
$this->Select = '*';
|
||||
$this->SortBy = array();
|
||||
|
@ -5,27 +5,18 @@
|
||||
}
|
||||
show_header("Site log");
|
||||
|
||||
if(!isset($_GET['beta']) || $_GET['beta'] == 1) {
|
||||
$BetaLog = true;
|
||||
$URL = get_url(array('beta'));
|
||||
include(SERVER_ROOT.'/sections/log/sphinx.php');
|
||||
} else {
|
||||
$BetaLog = false;
|
||||
$URL = get_url(array('beta'));
|
||||
include(SERVER_ROOT.'/sections/log/sql.php');
|
||||
}
|
||||
include(SERVER_ROOT.'/sections/log/sphinx.php');
|
||||
?>
|
||||
<div class="thin">
|
||||
<div class="header">
|
||||
<h2>Site log<?=$BetaLog ? ' (beta)' : ''?></h2>
|
||||
<h2>Site log</h2>
|
||||
</div>
|
||||
<div>
|
||||
<div class="box pad">
|
||||
<form class="search_form" name="log" action="" method="get">
|
||||
<table cellpadding="6" cellspacing="1" border="0" class="layout border" width="100%">
|
||||
<tr>
|
||||
<td class="label"><strong>Search for:</strong></td>
|
||||
<td>
|
||||
<input type="hidden" name="beta" value="<?=$BetaLog ? 1 : 0?>" />
|
||||
<input type="text" name="search" size="60"<?=!empty($_GET['search']) ? ' value="'.display_str($_GET['search']).'"' : '' ?> />
|
||||
|
||||
<input type="submit" value="Search log" />
|
||||
@ -34,14 +25,6 @@
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="linkbox">
|
||||
<? if($BetaLog) { ?>
|
||||
<a href="log.php?<?=$URL?>&beta=0">Go to normal page (slower)</a>
|
||||
<? } else { ?>
|
||||
<a href="log.php?<?=$URL?>&beta=1">Go to beta page (faster)</a>
|
||||
<? } ?>
|
||||
</div>
|
||||
|
||||
<? if($TotalMatches > LOG_ENTRIES_PER_PAGE) { ?>
|
||||
<div class="linkbox">
|
||||
@ -50,7 +33,7 @@
|
||||
echo $Pages;?>
|
||||
</div>
|
||||
<? } ?>
|
||||
<table cellpadding="6" cellspacing="1" border="0" class="log_table border" width="100%">
|
||||
<table cellpadding="6" cellspacing="1" border="0" class="log_table border" id="log_table" width="100%">
|
||||
<tr class="colhead">
|
||||
<td style="width: 180px;"><strong>Time</strong></td>
|
||||
<td><strong>Message</strong></td>
|
||||
|
@ -665,7 +665,9 @@
|
||||
$LogQuery .= implode('),(', $LogScores).')';
|
||||
$DB->query($LogQuery);
|
||||
$LogInDB = true;
|
||||
}
|
||||
}/* elseif ($HasLog) {
|
||||
send_irc("PRIVMSG #taste :!logs $TorrentID");
|
||||
}*/
|
||||
|
||||
//******************************************************************************//
|
||||
//--------------- Stupid Recent Uploads ----------------------------------------//
|
||||
|
@ -99,7 +99,7 @@ source delta : torrents {
|
||||
index torrents {
|
||||
source = torrents
|
||||
path = /var/data/sphinx/torrents
|
||||
# stopwords = /etc/sphinx/stopwords.txt # Path to file containing a comma separated list of words not to index
|
||||
# stopwords = /etc/sphinx/stopwords.txt # Path to file containing a space separated list of words not to index
|
||||
preopen = 1
|
||||
morphology = none
|
||||
min_word_len = 2
|
||||
|
@ -488,7 +488,7 @@ ul.collage_images li a:hover img {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
table[width="100%"],.box,.torrent_table,#request_table,#collages,.forum_index,table.border,.linkbox+table,form#messageform table ,.main_column table ,form[action="user.php"] table,table.staff,#userhistory table {
|
||||
table[width="100%"],.box,.torrent_table,#log_table,#request_table,#collages,.forum_index,table.border,.linkbox+table,form#messageform table ,.main_column table ,form[action="user.php"] table,table.staff,#userhistory table {
|
||||
margin-bottom: 20px;
|
||||
padding: 10px;
|
||||
background: #fff;
|
||||
|
Loading…
Reference in New Issue
Block a user