player_api2($byakman->userInfo('username'), $byakman->userInfo('password'), "get_series", "");
$movie_datas = json_decode($last_movies_url, true);
function compareOrder($a, $b)
{
return $b['added'] - $a['added'];
}
usort($movie_datas, 'compareOrder');
$i = 1;
foreach($movie_datas AS $item) {
$detail = $byakman->player_api2($byakman->userInfo('username'),$byakman->userInfo('password'), 'get_series_info&series_id=', $item["series_id"]);
$detail = json_decode($detail,true);
?>
if ($i++ == 5) break; } ?>
'">
if($detail["info"]["rating"] == "" AND $detail["info"]["rating"] != "0" ) {echo "";} else { ?>= SERIES_IMDB; ?> echo $detail["info"]["rating"]; ?> } ?>
= $detail["info"]["name"]; ?>
if($detail["info"]["genre"] == "") {echo "";} else { ?> echo $detail["info"]["genre"]; ?> } ?> if($detail["info"]["releasedate"] == "") {echo "";} else { ?> $year = explode("-", $detail["info"]["releasedate"]); echo $year[0]; ?> } ?> if(count($detail["seasons"]) == 0) {echo "";} else { ?> echo count($detail["seasons"]); ?> Sezon } ?> if($detail["info"]["plot"] == "") {echo "";} else { ?>echo $byakman->descriptions($detail["info"]["plot"], 40); ?>
} ?>);">
= SERIES_LAST; ?>
$c = 1;
foreach($movie_datas AS $item) {
?>
if ($c++ == 10) break; } ?>
= SERIES_CAT; ?>
foreach($category_datas AS $citem) { ?>
} ?>
= $citem["categori_id"]; ?>= $citem["category_name"]; ?>
$c = 1;
foreach($movie_datas AS $item) {
if ($item["category_id"] != $citem["category_id"]) {
} else {
?>
if ($c++ == 10) break; } } ?>
= SERIES_WATCH; ?>