function most_viewed_i_have_not_rated($sortBy = null) { $myrnlookcm = mynotratedlookcm($_SESSION['mno']); $plnoviews = get_plno_views($myrnlookcm); $sorted_plnoviews = newest_or_oldest2d($sortBy, $plnoviews, 1); return $sorted_plnoviews; }
function most_viewed_i_have_not_rated($sortBy = null) { $myrnlookcm = mynotratedlookcm($_SESSION['mno']); if (!empty($myrnlookcm[0])) { $plnoviews = get_plno_views($myrnlookcm); $plnoviews = add_sortingshow_date($plnoviews); $sorted_plnoviews = newest_or_oldest2d($sortBy, $plnoviews, 1); return $sorted_plnoviews; } else { return 0; } }