403Webshell
Server IP : 80.241.246.6  /  Your IP : 216.73.216.188
Web Server : Apache/2.4.25 (Debian)
System : Linux kharagauli 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
User : www-data ( 33)
PHP Version : 7.0.33-0+deb9u12
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/kharagauli_new/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/kharagauli_new/js/main.js
function getCookie(name) {
	var matches = document.cookie.match(new RegExp(
	  "(?:^|; )" + name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)"
	))
	return matches ? decodeURIComponent(matches[1]) : undefined 
}


function setCookie(name, value, props) {
	props = props || {}
	var exp = props.expires
	if (typeof exp == "number" && exp) {
		var d = new Date()
		d.setTime(d.getTime() + exp*1000)
		exp = props.expires = d
	}
	if(exp && exp.toUTCString) { props.expires = exp.toUTCString() }

	value = encodeURIComponent(value)
	var updatedCookie = name + "=" + value
	for(var propName in props){
		updatedCookie += "; " + propName
		var propValue = props[propName]
		if(propValue !== true){ updatedCookie += "=" + propValue }
	}
	document.cookie = updatedCookie

}


function deleteCookie(name) {
	setCookie(name, null, { expires: -1 })
}


__sender();
$('#jqxWidget').datepicker({
    dateFormat: 'dd-mm-yy',
    //defaultDate: default_date,
    dayNames:  [ "კვირა", "ორშაბათი", "სამშაბათი", "ოთხშაბათი", "ხუთშაბათი", "პარასკევი", "შაბათი"],
    dayNamesMin: [ "კვ", "ორ", "სა", "ოთ", "ხუ", "პა", "შა" ],
    dayNamesShort: [ "კვი","ორშ", "სამ", "ოთხ", "ხუთ", "პარ", "შაბ" ],
    monthNames: [ "იანვარი", "თებერვალი", "მარტი", "აპრილი", "მაისი", "ივნისი", "ივლისი", "აგვისტო", "სექტემბერი", "ოქტომბერი", "ნოემბერი", "დეკემბერი" ],
    prevText:"წინა",
    nextText:"შემდეგი",
    currentText:"დღეს",
    firstDay: 1,
    beforeShow: function(input){
        $(input).css("background-color","#ff9");
    },
    onSelect:function(dateText, inst){
        location.href = PATH+"/date/"+dateText;

    },onChangeMonthYear:function(date,params){
        var par = '01-'+params+"-"+date;
        $('.__disable').removeClass('__disable');
        __sender(par);
    }

});

function __sender(params){
    $.ajax({
        type:"POST",
        url:'/datepicker',
        beforeSend: function(){
            $('#jqxWidget').addClass('__opacity');
        },
        data:"datepicker="+params,
        success: function(data){
            if(data){
                date_array = typeof data == 'string'?JSON.parse(data):data;
                $('#jqxWidget a.ui-state-default').each(function(){
                    var th = $(this);
                    var day = th.text();
                    var month = (th.parent()[0].hasAttribute('data-month'))?th.parent().attr('data-month'):'';
                    var year = (th.parent()[0].hasAttribute('data-year'))?th.parent().attr('data-year'):'';


                    var ind_ = date_array.indexOf(day);
                    if(ind_ == -1)th.addClass('__disable');

                    $('#jqxWidget a.__disable').on('click',function(aBetterEventObject){
                        aBetterEventObject.preventDefault();
                        aBetterEventObject.isDefaultPrevented();
                        aBetterEventObject.stopPropagation();
                        aBetterEventObject.isPropagationStopped();
                        aBetterEventObject.stopImmediatePropagation();
                        aBetterEventObject.isImmediatePropagationStopped();
                    });
                });
                $('#jqxWidget').removeClass('__opacity');

            }
        }
    });
};

var PAGE_SIZE = false;
function page_zoom(){
    if(PAGE_SIZE)return;
    PAGE_SIZE = true;
	$('body').toggleClass("zml");
    PAGE_SIZE = false;
}


Youez - 2016 - github.com/yon3zu
LinuXploit