403Webshell
Server IP : 112.74.42.100  /  Your IP : 216.73.216.142
Web Server : nginx/1.20.2
System : Linux iZwz96lx4pjqiy84w4hni7Z 5.10.134-17.3.al8.x86_64 #1 SMP Thu Oct 31 14:29:57 CST 2024 x86_64
User : www ( 1000)
PHP Version : 8.0.26
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/wwwroot/sanxuany.cn/wp-content/themes/ioswallow/templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/sanxuany.cn/wp-content/themes/ioswallow/templates/header-normal.php
<?php 
/*
 * @Theme Name:Swallow
 * @Theme URI:https://www.iotheme.cn/
 * @Author: iowen
 * @Author URI: https://www.iowen.cn/
 * @Date: 2021-08-07 21:18:40
 * @LastEditors: iowen
 * @LastEditTime: 2024-03-07 09:15:27
 * @FilePath: /ioswallow/templates/header-normal.php
 * @Description: 默认
 */
if ( ! defined( 'ABSPATH' ) ) { exit; }
$type = io_get_option('head_region');
switch($type){
	case 'normal':
		$layout = 'flex-column';
		$logo = 'align-items-center';
		$is_ico = true;
		break;
	case 'centered':
		$layout = 'flex-column align-items-center';
		$logo = 'align-items-center';
		$is_ico = false;
		break;
	case 'tradition': // 传统
		$layout = 'align-items-center';
		$logo = 'align-items-center';
		$is_ico = false;
		break;
	default:
}

?>
<header id="header" class="header-<?php echo $type ?>">
	<div class="container custom-width">
		<nav class="header-layout d-flex <?php echo $layout ?>" data-layout="<?php echo $layout ?>">
			<div class="header-logo d-flex <?php echo $logo ?>">
				<?php getLogo() ?>
				<?php if ($is_ico) { ?>
				<div class="social-group ml-3 pl-2">
				<?php echo io_get_menu_ico('menu') ?>
				</div>
				<?php } ?>
				<div class="offcanvas-menu-button ml-auto" data-toggle="nav" data-target=".mobile-nav" aria-expanded="false" ><i class="iconfont icon-menu1"></i></div>
			</div>
			<div class="main-navigation">
				<ul class="menu">
				<?php io_wp_menu('main');?>
				</ul>
			</div>
		</nav>
		
		<?php if(io_get_option('ad_home_top')) { ?>
			<?php if(io_get_option('ad_home_top_onlyhome')) { 
				if(is_home() || is_front_page() ){?>
				<div class="post-ad mt-4"><?php echo stripslashes( io_get_option('ad_home_top_c') ); ?></div>
			<?php } ?>
			<?php }else{ ?>
				<div class="post-ad mt-4"><?php echo stripslashes( io_get_option('ad_home_top_c') ); ?></div>
		<?php }} ?> 
	</div>
</header>
<div class="mobile-header">
	<nav class="mobile-nav">
		<ul class="menu">
		<?php io_wp_menu('main', 'mobile-nav-arrow');?>
		</ul>
		<div class=" text-center my-3">
		<?php echo io_get_menu_ico('menu') ?>
		</div>
	</nav>
	<div class="fixed-body" data-toggle="nav" data-target=".mobile-nav" aria-expanded="false"></div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit