403Webshell
Server IP : 104.21.21.239  /  Your IP : 216.73.216.11
Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5
System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/home2/domains/siparentBAK/lib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/home2/domains/siparentBAK/lib/output.php
<?php
/**
 * JSMT Genesis - Customizer is based on Parallax Pro Theme
 *
 * This file adds the customizer additions to the JSMT Media Theme
 *
 * @package JSMT Media Theme
 * @author  JSMT Media 2017
 * @license GPL-2.0+
 * @link    http://jsmtmedia.com
 */

add_action( 'wp_enqueue_scripts', 'jsmt_css' );
/**
 * Checks the settings for the images and background colors for each image.
 * If any of these value are set the appropriate CSS is output.
 * 
 * @since 1.3.0
 */
function jsmt_css() {

	$handle  = defined( 'CHILD_THEME_NAME' ) && CHILD_THEME_NAME ? sanitize_title_with_dashes( CHILD_THEME_NAME ) : 'child-theme';

	$opts = apply_filters( 'jsmt_images', array( '1','3') );
	$link_color = get_theme_mod( 'jsmt_link_color', jsmt_get_default_accent_color() );
	$menu_link_color = get_theme_mod( 'jsmt_menu_link_color', jsmt_get_default_accent_color() );
	$accent_color = get_theme_mod( 'jsmt_accent_color', jsmt_get_default_accent_color() );

	$settings = array();

	foreach( $opts as $opt ){
		$settings[$opt]['image'] = preg_replace( '/^https?:/', '', get_option( $opt .'-image', sprintf( '%s/images/bg-%s.jpg', get_stylesheet_directory_uri(), $opt ) ) );
	}

	$css = '';

	foreach ( $settings as $section => $value ) {

		$background = $value['image'] ? sprintf( 'background-image: url(%s);', $value['image'] ) : '';

		$css .= ( ! empty( $section ) && ! empty( $background ) ) ? sprintf( '.front-page-%s { %s }', $section, $background ) : '';

	}

	$css .= ( jsmt_get_default_accent_color() !== $accent_color ) ? sprintf( '

		button:focus,
		button:hover,
		input[type="button"]:focus,
		input[type="button"]:hover,
		input[type="reset"]:focus,
		input[type="reset"]:hover,
		input[type="submit"]:focus,
		input[type="submit"]:hover,
		.archive-pagination li a:focus,
		.archive-pagination li a:hover,
		.archive-pagination .active a,
		.button:focus,
		.button:hover,
		.footer-widgets,
		.pricing-table a.button:focus,
		.pricing-table a.button:hover {
			background-color: %1$s;
			color: %2$s;
		}

		.footer-widgets a,
		.footer-widgets a:focus,
		.footer-widgets a:hover,
		.footer-widgets p {
			color: %2$s !important;
		}

		hr,
		.footer-widgets a.button,
		.footer-widgets button,
		.footer-widgets input[type="button"],
		.footer-widgets input[type="reset"],
		.footer-widgets input[type="submit"],
		.footer-widgets .widget-title {
			border-color: %2$s;
			color: %2$s !important;
		}

		.footer-widgets a.button:focus,
		.footer-widgets a.button:hover,
		.footer-widgets button:focus,
		.footer-widgets button:hover,
		.footer-widgets input[type="button"]:focus,
		.footer-widgets input[type="button"]:hover,
		.footer-widgets input[type="reset"]:focus,
		.footer-widgets input[type="reset"]:hover,
		.footer-widgets input[type="submit"]:focus,
		.footer-widgets input[type="submit"]:hover {
			background-color: #fff;
			border-color: #fff;
			color: #000 !important;
		}

		.pricing-table a.button:focus,
		.pricing-table a.button:hover {
			border-color: %1$s;
			color: %2$s !important;
		}

		', $accent_color, jsmt_color_contrast( $accent_color ) ) : '';

	$css .= ( jsmt_get_default_accent_color() !== $link_color ) ? sprintf( '

		a,
		.entry-title a:focus,
		.entry-title a:hover,
		.home-odd .featured-content .entry-title a:focus,
		.home-odd .featured-content .entry-title a:hover {
			color: %1$s;
		}

		', $link_color ) : '';

	$css .= ( jsmt_get_default_accent_color() !== $link_color ) ? sprintf( '

		.genesis-nav-menu a:focus,
		.genesis-nav-menu a:hover,
		.genesis-nav-menu .current-menu-item > a,
		.genesis-nav-menu .sub-menu a:focus,
		.genesis-nav-menu .sub-menu a:hover,
		.genesis-nav-menu .sub-menu .current-menu-item > a:focus,
		.genesis-nav-menu .sub-menu .current-menu-item > a:hover,
		.genesis-responsive-menu button:focus,
		.genesis-responsive-menu button:hover,
		.menu-toggle:focus,
		.menu-toggle:hover,
		.site-header .widget-area a:focus,
		.site-header .widget-area a:hover,
		.site-footer a:hover,
		.site-footer a:focus {
			color: %1$s;
		}

		', $menu_link_color ) : '';

	if ( $css ) {
		wp_add_inline_style( $handle, $css );
	}

}

Youez - 2016 - github.com/yon3zu
LinuXploit