| Server IP : 10.200.247.200 / Your IP : 216.73.217.19 Web Server : Apache System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : jeremy ( 1001) PHP Version : 8.4.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/usa_sites/governmentgrants.us/wp-content/themes/governmentgrantsus/ |
Upload File : |
<?php
/**
* The header.
*
* This is the template that displays all of the <head> section and everything up until main.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package WordPress
*/
?>
<?php
session_start();
$bots = array('AhrefsBot', 'MegaIndex', 'MJ12bot', 'SemrushBot', 'Serpstat', 'Spinn3r', 'SpyFu', 'Yeti', 'Zao', 'Zeus', 'rogerBot', 'Baiduspider', 'LinkpadBot', 'spbot', 'LinkResearchTools', 'GeccoBot');
if (strpos_array($_SERVER['HTTP_USER_AGENT'], $bots) !== false) {
exit();
}
function strpos_array($haystack, $needle) {
if(!is_array($needle)) {
if($pos = stripos($haystack, $needle) !== false) return $pos;
} else {
for($i = 0; $i < count($needle); $i++) {
if($pos = stripos($haystack, $needle[$i]) !== false) return $pos;
}
}
return false;
}
include_once($_SERVER['DOCUMENT_ROOT'].'/lib/keyword_parser.php');
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0">
<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/images/favicon.png" type="image/x-icon" />
<link rel="icon" href="<?php echo get_stylesheet_directory_uri(); ?>/images/favicon.png" type="image/x-icon" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>">
<link href="/vx/layout/style/font-awesome/6.1.2/css/all.min.css" rel="stylesheet" type="text/css" />
<link href="<?php echo get_template_directory_uri();?>/css/responsive.css" rel="stylesheet" type="text/css" />
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<div class="mainCont">
<header>
<div class="header_left">
<a href="<?php echo get_site_url(); ?>"><img src="<?php echo get_template_directory_uri();?>/images/usagrant-logo.jpg" alt="USA Government Grants" /></a>
</div>
<div class="header_Mid">
<a href="javascript:void(0)" class="mobIcon"><i></i><i></i><i></i></a>
<?php
wp_nav_menu(
array(
'menu'=> 'header-menu',
'menu_class'=> '',
'container' => '',
'items_wrap' => '<ul class="mobNav" id="%1$s">%3$s</ul>'
)
);
?>
</div>
<div class="header_Right">
<a href="https://www.governmentgrants.us/vx/usa/members/"><span>click here to</span> login</a>
</div>
</header>
<!-- Header common code end here -->