예제 #1
0
파일: library.php 프로젝트: jesus143/fs-dev
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;
}
예제 #2
0
파일: library.php 프로젝트: jesus143/fs-dev
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;
    }
}