mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 20:17:24 +08:00
fix TechnicalInformation
This commit is contained in:
+13
-13
@@ -3075,19 +3075,19 @@ function torrenttable($rows, $variant = "torrent") {
|
|||||||
$imdb = new Nexus\Imdb\Imdb();
|
$imdb = new Nexus\Imdb\Imdb();
|
||||||
$torrent = new Nexus\Torrent\Torrent();
|
$torrent = new Nexus\Torrent\Torrent();
|
||||||
$torrentSeedingLeechingStatus = $torrent->listLeechingSeedingStatus($CURUSER['id'], array_column($rows, 'id'));
|
$torrentSeedingLeechingStatus = $torrent->listLeechingSeedingStatus($CURUSER['id'], array_column($rows, 'id'));
|
||||||
|
$last_browse = $CURUSER['last_browse'];
|
||||||
if ($variant == "torrent"){
|
// if ($variant == "torrent"){
|
||||||
$last_browse = $CURUSER['last_browse'];
|
// $last_browse = $CURUSER['last_browse'];
|
||||||
$sectiontype = $browsecatmode;
|
// $sectiontype = $browsecatmode;
|
||||||
}
|
// }
|
||||||
elseif($variant == "music"){
|
// elseif($variant == "music"){
|
||||||
$last_browse = $CURUSER['last_music'];
|
// $last_browse = $CURUSER['last_music'];
|
||||||
$sectiontype = $specialcatmode;
|
// $sectiontype = $specialcatmode;
|
||||||
}
|
// }
|
||||||
else{
|
// else{
|
||||||
$last_browse = $CURUSER['last_browse'];
|
// $last_browse = $CURUSER['last_browse'];
|
||||||
$sectiontype = "";
|
// $sectiontype = "";
|
||||||
}
|
// }
|
||||||
|
|
||||||
$time_now = TIMENOW;
|
$time_now = TIMENOW;
|
||||||
if ($last_browse > $time_now) {
|
if ($last_browse > $time_now) {
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ class TechnicalInformation
|
|||||||
|
|
||||||
public function getRefFrame()
|
public function getRefFrame()
|
||||||
{
|
{
|
||||||
foreach ($this->mediaInfoArr['Video'] as $key => $value) {
|
foreach ($this->mediaInfoArr['Video'] ?? [] as $key => $value) {
|
||||||
if (strpos($key, 'Reference frames') !== false) {
|
if (strpos($key, 'Reference frames') !== false) {
|
||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -481,7 +481,7 @@ echo "</script>";
|
|||||||
}
|
}
|
||||||
}else $no_give = $lang_details['text_no_magic_added'];
|
}else $no_give = $lang_details['text_no_magic_added'];
|
||||||
|
|
||||||
if(intval($bonus_has) < intval($arr_temp[0])){
|
if(isset($bonus_has) && isset($arr_temp) && intval($bonus_has) < intval($arr_temp[0])){
|
||||||
|
|
||||||
}else if ($whether_have_give_value == 0 ) {
|
}else if ($whether_have_give_value == 0 ) {
|
||||||
$magic_value_button = '<ul id="listNumber" class="magic">'.$magic_value_button.'</ul>';
|
$magic_value_button = '<ul id="listNumber" class="magic">'.$magic_value_button.'</ul>';
|
||||||
|
|||||||
Reference in New Issue
Block a user