mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
TorrentPier Aurochs release preparation.
This commit is contained in:
parent
e9a76e6a5c
commit
3e8b494572
21 changed files with 709 additions and 502 deletions
10
tracker.php
10
tracker.php
|
@ -414,7 +414,7 @@ if (!$set_default) {
|
|||
}
|
||||
} elseif ($search_id && $previous_settings[$poster_id_key]) {
|
||||
$poster_id_val = (int)$previous_settings[$poster_id_key];
|
||||
$poster_name_val = ($previous_settings[$poster_name_key]) ?: '';
|
||||
$poster_name_val = $previous_settings[$poster_name_key] ?: '';
|
||||
}
|
||||
|
||||
if ($req_poster_id) {
|
||||
|
@ -432,7 +432,7 @@ if (!$set_default) {
|
|||
hash_search($_REQUEST[$hash_key]);
|
||||
}
|
||||
|
||||
if ($tm =& $_REQUEST[$title_match_key] and is_string($tm)) {
|
||||
if (($tm =& $_REQUEST[$title_match_key]) && is_string($tm)) {
|
||||
if ($tmp = mb_substr(trim($tm), 0, $title_match_max_len)) {
|
||||
$title_match_val = $tmp;
|
||||
$title_match_sql = clean_text_match($title_match_val, true, false);
|
||||
|
@ -755,10 +755,10 @@ if ($allowed_forums) {
|
|||
'TOR_SIZE' => humn_size($size),
|
||||
'UL_SPEED' => $ul_sp,
|
||||
'DL_SPEED' => $dl_sp,
|
||||
'SEEDS' => ($seeds) ?: 0,
|
||||
'SEEDS' => $seeds ?: 0,
|
||||
'SEEDS_TITLE' => ($seeds) ? $lang['SEEDERS'] : ($lang['SEED_NOT_SEEN'] . ":\n " . (($s_last) ? bb_date($s_last, $date_format) : $lang['NEVER'])),
|
||||
'LEECHS' => ($leechs) ?: 0,
|
||||
'COMPLETED' => ($compl) ?: 0,
|
||||
'LEECHS' => $leechs ?: 0,
|
||||
'COMPLETED' => $compl ?: 0,
|
||||
'REPLIES' => $tor['topic_replies'],
|
||||
'VIEWS' => $tor['topic_views'],
|
||||
'ADDED_RAW' => $tor['reg_time'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue