SILENT KILLERPanel

Current Path: > home > transcarter > public_html > wp-content > plugins > LayerSlider > assets > includes >


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.135
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/transcarter/public_html/wp-content/plugins/LayerSlider/assets/includes/

NameTypeSizeLast ModifiedActions
index.php File 27 bytes March 10 2023 20:45:24.
ls_global.php File 77 bytes March 10 2023 20:45:24.
slider_markup_export.php File 5583 bytes March 10 2023 20:45:24.
slider_markup_html.php File 31509 bytes March 10 2023 20:45:24.
slider_markup_init.php File 2413 bytes March 10 2023 20:45:24.
slider_markup_setup.php File 8043 bytes March 10 2023 20:45:24.
slider_utils.php File 846 bytes March 10 2023 20:45:24.

Reading File: /home/transcarter/public_html/wp-content/plugins/LayerSlider/assets/includes//slider_utils.php

<?php

// Prevent direct file access
defined( 'LS_ROOT_FILE' ) || exit;

function layerslider_builder_convert_numbers(&$item, $key) {
	if(is_numeric($item)) {
		$item = (float) $item;
	}
}

function ls_ordinal_number($number) {
    $ends = ['th','st','nd','rd','th','th','th','th','th','th'];
    $mod100 = $number % 100;
    return $number . ($mod100 >= 11 && $mod100 <= 13 ? 'th' :  $ends[$number % 10]);
}


function layerslider_check_unit($str, $key = '') {

	if(strstr($str, 'px') == false && strstr($str, '%') == false && strstr($str, 'em') == false) {
		if( $key !== 'z-index' && $key !== 'font-weight' && $key !== 'opacity') {
			return $str.'px';
		}
	}

	return $str;
}

function ls_get_markup_image( $id, $attrs = [] ) {
	return wp_get_attachment_image( $id, 'full', false, $attrs );
}

function ls_lazy_loading_cb() {
	return false;
}

SILENT KILLER Tool