Σ(゚Д゚;≡;゚д゚)Σ(゚Д゚;≡;゚д゚)Σ(゚Д゚;≡;゚д゚)始,故人唐宰相鲁公,🆚开府南服,余以布衣从戎。明年,别公漳水湄。后明年,公以事过张睢阳庙及颜杲卿所尝往来处,悲歌慷慨,卒不负其言而从之游。今其诗具在,可考也。😭 HEX
HEX
Server: Apache
System: Linux webm006.cluster120.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User: studionolh (122383)
PHP: 7.3.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/studionolh/www/wp-content/plugins/foobox-image-lightbox/includes/functions.php
<?php
/**
 * Common Foobox functions
 * Date: 27/08/2016
 */

function foobox_asset_url( $asset_relative_url ) {
	return trailingslashit(FOOBOX_BASE_URL) . 'assets/' . ltrim( $asset_relative_url, '/' );
}

function foobox_settings_url() {
	return admin_url( 'admin.php?page=' . FOOBOX_BASE_PAGE_SLUG_SETTINGS );
}

function foobox_pricing_url() {
	return admin_url( 'admin.php?page=foobox-image-lightbox-pricing' );
}

function foobox_freetrial_url() {
	return foobox_pricing_url() . '&trial=true';
}

function foobox_hide_pricing_menu() {
	return false;
}

/**
 * Filter out JavaScript-related keywords and inline scripts from an input string
 *
 * @param string $input
 * @return string
 */
function foobox_sanitize_javascript( $input ) {
	// List of JavaScript-related attributes to filter out.
	$javascript_attributes = array(
		'innerHTML',
		'document\.write',
		'eval',
		'Function\(',
		'setTimeout',
		'setInterval',
		'new Function\(',
		'onmouseover',
		'onmouseout',
		'onclick',
		'onload',
		'onchange',
		'<script>',
		'<\/script>',
		'encodeURIComponent',
		'decodeURIComponent',
		'JSON\.parse',
		'outerHTML',
		'innerHTML',
		'XMLHttpRequest',
		'createElement',
		'appendChild',
		'RegExp',
		'String\.fromCharCode',
		'encodeURI',
		'decodeURI',
		'javascript:',
	);

	$pattern = '/' . implode( '|', $javascript_attributes ) . '/i';

	// Use regex to replace potentially dangerous strings with an empty string.
	$input = preg_replace( $pattern, '', $input );

	return $input;
}