Home
Featured
All Movies
Movie Genre
Action
Musical
Mystery
Mythological
Psychological
Romance
Sci-Fi
Sitcom
Sport
Thriller
War
Kungfu
Horror
History
Adventure
Animation
Biography
Comedy
Costume
Crime
Documentary
Drama
Family
Fantasy
TV Show
TV-Series
TV Genre
Action
Musical
Mystery
Mythological
Psychological
Romance
Sci-Fi
Sitcom
Sport
Thriller
War
Kungfu
Horror
History
Adventure
Animation
Biography
Comedy
Costume
Crime
Documentary
Drama
Family
Fantasy
TV Show
itQtip(); $('#filterMovies').click(function() { filterMovies() }) function filterMovies() { var genres = []; var countries = []; $('.genre-ids:checked').each(function () { genres.push($(this).val()); }); $('.country-ids:checked').each(function () { countries.push($(this).val()); }); if (genres.length > 0) { genres = genres.join(','); } else { genres = 'all'; } if (countries.length > 0) { countries = countries.join(','); } else { countries = 'all'; } var year = $('input[name=year]:checked').val(); var quality = $('input[name=quality]:checked').val(); var type = $('input[name=type]:checked').val(); var sort = $('.fc-main-list a.active').data('sort'); var url = '/movie/filter/' + type + '/' + sort + '/' + genres + '/' + countries + '/' + year + '/' + quality + '/'; window.location.href = url; } $('.fc-main-list a').on('click', function() { var _this = $(this); $('.fc-main-list a.active').removeClass('active'); _this.addClass('active'); if(_this.index() == 1) { $('.fc-filmtype-list li:eq(2)').hide(); }else{ $('.fc-filmtype-list li:eq(2)').show(); } }); })