| Server IP : 81.2.241.106 / Your IP : 216.73.216.165 Web Server : Apache/2.4.67 (Debian) System : Linux tranq-f.bakta.org 5.10.0-45-amd64 #1 SMP Debian 5.10.259-1 (2026-07-02) x86_64 User : lisky ( 1002) PHP Version : 7.4.33 Disable Function : 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_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/lisky/wp-content/themes/newspress-lite/ |
Upload File : |
<?php
/* News Press's Header
Copyright: 2014-2022, D5 Creation, www.d5creation.com
Based on the Simplest D5 Framework for WordPress
Since NewsPress 1.0
*/
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width" />
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php
wp_head(); ?>
</head>
<body <?php body_class(); ?> >
<?php if ( function_exists( 'wp_body_open' ) ) { wp_body_open(); } ?>
<div id="site-container">
<div id="top-menu-container">
<nav id="newspress-top-menu"><?php if ( has_nav_menu( 'top-menu' ) ) : wp_nav_menu( array( 'theme_location' => 'top-menu' )); endif; ?></nav>
<?php get_search_form(); ?>
<div id="social">
<?php $numslinks = newspress_get_option('nslinks', '5'); foreach (range(1, $numslinks ) as $numslinksn) {
if ( newspress_get_option('sl' . $numslinksn, '') ): echo '<a href="'. esc_url(newspress_get_option('sl' . $numslinksn, '')) .'" target="_blank"> </a>'; endif;
} ?>
</div>
</div>
<?php
$lftadx =''; $rghtadx = '';
$lftad = newspress_get_option('adv03', '');
if($lftad) $lftadx = '<img src="'.esc_url($lftad).'" />';
$rghtad = newspress_get_option('adv04', '');
if($rghtad) $rghtadx = '<img src="'.esc_url($rghtad).'" />';
$logoclass = 'withads';
if(!$lftad && !$rghtad ) $logoclass = 'withnoads';
?>
<div id ="header">
<div id ="header-content" class="<?php echo $logoclass;?>">
<!-- Site Titele and Description Goes Here -->
<?php if($lftad || $rghtad) echo '<div class="topadlft">'.$lftadx.'</div>'; ?>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php if ( get_header_image() !='' ): ?><img class="site-logo" src="<?php header_image(); ?>"/><?php else: ?><h1 class="site-title"><?php echo bloginfo( 'name' ); ?></h1><?php endif; ?></a>
<h1 class="site-title-hidden"><?php echo bloginfo( 'name' ); ?></h1>
<h2 class="site-title-hidden"><?php echo bloginfo( 'description' ); ?></h2>
<?php if($lftad || $rghtad) echo '<div class="topadrt">'.$rghtadx.'</div>'; ?>
</div><!-- header-content -->
<div class="heading-date"><?php echo date("l, F j, Y"); ?></div>
</div><!-- header -->
<div class="mobile-menu"><?php echo __('Main Menu','newspress-lite'); ?></div><div class="clear"></div>
<!-- Site Main Menu Goes Here -->
<nav id="main-menu-con">
<?php if ( has_nav_menu( 'main-menu' ) ) : wp_nav_menu( array( 'theme_location' => 'main-menu' )); else: wp_page_menu(); endif; ?>
</nav>
<div class="clear"> </div>
<div id="container">