403Webshell
Server IP : 69.72.244.102  /  Your IP : 216.73.216.164
Web Server : LiteSpeed
System : Linux s3434.fra1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User : konzalta ( 1271)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/konzalta/public_html/wp-content/plugins/edwiser-bridge/admin/partials/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/konzalta/public_html/wp-content/plugins/edwiser-bridge/admin/partials/html-admin-settings.php
<?php
/**
 * Admin View: Settings.
 *
 *  @package    Edwiser Bridge
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}
$show_banner = true;
$extensions  = array(
	'woocommerce-integration/bridge-woocommerce.php',
	'selective-synchronization/selective-synchronization.php',
	'edwiser-bridge-sso/sso.php',
	'edwiser-multiple-users-course-purchase/edwiser-multiple-users-course-purchase.php',
);
foreach ( $extensions as $plugin_path ) {
	if ( is_plugin_active( $plugin_path ) ) {
		$show_banner = false;
	} else {
		$show_banner = true;
		break;
	}
}
?>
<div class="wrap edw">
	<?php
	do_action( 'eb_settings_header' );
	if ( 'licensing' !== $tabname ) {
		?>
		<form method="post" id="mainform" action="" enctype="multipart/form-data">
		<?php
	}
	?>
		<div class="icon32 icon32-eb-settings" id="icon-edw"><br /></div>
		<h2 class="nav-tab-wrapper eb-nav-tab-wrapper">
			<?php
			$allowed_tags = \app\wisdmlabs\edwiserBridge\wdm_eb_get_allowed_html_tags();
			foreach ( $tabs as $name => $label ) {
				if ( ! $show_banner && 'pfetures' === $name ) {
					$do_not_show = 'style="display:none;"';
				} else {
					$do_not_show = '';
				}
				echo '<a ' . wp_kses( $do_not_show, $allowed_tags ) . ' href="' . esc_url( admin_url( 'admin.php?page=eb-settings&tab=' . $name ) ) .
				'" class="nav-tab ' . ( $current_tab === $name ? 'nav-tab-active' : '' ) . '">'
				. esc_html( $label ) .
				'</a>';
			}
			do_action( 'eb_settings_tabs' );
			?>
		</h2>
		<div class="eb-form-content-wrap" style='display: flex;'>
			<div class="form-content">

				<?php
				do_action( 'eb_sections_' . $current_tab );
				do_action( 'eb_settings_' . $current_tab );
				?>
				<p class="submit">
					<?php if ( ! isset( $GLOBALS['hide_save_button'] ) ) : ?>
						<input name="save" class="button-primary" type="submit"
							value="<?php esc_html_e( 'Save changes', 'edwiser-bridge' ); ?>" />
					<?php endif; ?>
					<input type="hidden" name="subtab" id="last_tab" />
					<?php wp_nonce_field( 'eb-settings' ); ?>
				</p>
			</div>


			<?php
			if ( in_array( $tabname, array( 'remui', 'pfetures' ), true ) ) {
				$show_banner = false;
			}
			$css_class = $show_banner ? 'eb_setting_right_sidebar_info' : '';
			?>
			<div class="eb_setting_right_sidebar_info">
				<?php
				require_once plugin_dir_path( __DIR__ ) . '../admin/partials/html-admin-settings-right-section.php';
				?>
			</div>
		</div>
		</form>
			<hr/>
			<?php
			do_action( 'eb_settings_footer' );
			?>
</div>
<?php

Youez - 2016 - github.com/yon3zu
LinuXploit