custom fields add i18n and getPreparedTorrents()

This commit is contained in:
xiaomlove
2021-03-06 19:16:58 +08:00
parent cb4e5e5eb5
commit cf301fef89
8 changed files with 131 additions and 34 deletions

View File

@@ -4642,7 +4642,7 @@ function displayHotAndClassic()
{
$Cache->add_whole_row();
$res = sql_query("SELECT * FROM torrents WHERE picktype = " . sqlesc($type_each) . " AND seeders > 0 AND url != '' ORDER BY id DESC LIMIT 30") or sqlerr(__FILE__, __LINE__);
$res = sql_query("SELECT sp_state, url, id, name, small_descr FROM torrents WHERE picktype = " . sqlesc($type_each) . " AND seeders > 0 AND url != '' ORDER BY id DESC LIMIT 30") or sqlerr(__FILE__, __LINE__);
if (mysql_num_rows($res) > 0)
{
$movies_list = "";