| 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/governmentgrants/ |
Upload File : |
<?php
$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;
}
?>
<?php
session_start();
include_once($_SERVER['DOCUMENT_ROOT'].'/lib/keyword_parser.php');
//error_reporting(E_ALL);
//ini_set('display_errors', 1);
//require_once('forms/home-contact-form.php');
?>
<?php
/**
* The header for our theme
*
* This is the template that displays all of the <head> section and everything up until <div id="content">
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package WordPress
* @subpackage Naren_Designs
* @since 1.0
* @version 1.0
*/
?><!DOCTYPE html>
<?php
//$host = "https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
//if($host == 'https://dermalight-hamburg.de/ampdev/kosten-dauerhafte-haarentfernung-ipl-behandlung-dermalight/')
//{
//
// print '<html '; print language_attributes(); print '>';
//}
//else {
print '<html '; print language_attributes(); print 'amp>';
//
//}
?>
<!--<html <?php //language_attributes(); ?> amp>-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<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" />
<?php $keywords = get_field( 'meta_keywords'); ?>
<meta name="keywords" content="<?php echo $keywords; ?>" />
<?php wp_head(); ?>
<?php get_template_part( 'amp-includes/amp-head', 'head' ); ?>
<?php
/*$host = "https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
if($host == 'https://dermalight-hamburg.de/ampdev/kosten-dauerhafte-haarentfernung-ipl-behandlung-dermalight/')
{
print '<script type="text/javascript" src="https://dermalight-hamburg.de/wp-includes/js/jquery/jquery.js?ver=1.12.4"></script><script src="https://dermalight-hamburg.de/wp-content/plugins/derma-pricing-table/js/dpt.js?ver=4.9.8"></script>';
}*/
?>
</head>
<body <?php body_class(); ?>>
<?php //get_template_part( 'amp-includes/amp-mobile-menu', 'mobile-menu' ); ?>
<!--light-box-->
<?php if ( is_front_page() ): ?>
<amp-image-lightbox id="lightbox1"
layout="nodisplay"></amp-image-lightbox>
<amp-image-lightbox id="lightbox2"
layout="nodisplay"></amp-image-lightbox>
<?php endif ?>
<amp-sidebar id="mobilenav" layout="nodisplay" side="right">
<a id="close" class="button" on="tap:mobilenav.close">✕</a>
<nav class="vertical-nav mobile-menu nav fs-14 font-1-cond ">
<?php
wp_nav_menu( array(
'theme_location' => 'mobile-menu',
'container_class' => 'mobile-menu' ) );
?>
</nav>
</amp-sidebar>
<?php require_once('sidebar-header.php'); ?>
<div id="page" class="site col-main col-dt-9">
<header class="main-header full-width relative dt-hide">
<!--
<section class="full-width top-header bg-dark font-3 fs-14 ">
<?php $topheader = get_field( 'top_header', 'option'); ?>
<?php echo $topheader; ?>
</section>
-->
<section class="bottom-header full-width ">
<div class="container">
<div class="grid-row">
<!--logo-->
<figure class="logo">
<a href="<?php echo get_home_url(); ?>" class="logo-link inline-lock">
<!--get Desktop logo option from Theme Settings-->
<?php $desktop_logo = get_field( 'desktop_logo', 'option'); ?>
<!--Tab/Desktop logo-->
<?php if ( $desktop_logo ) { ?>
<amp-img src="<?php echo $desktop_logo['url']; ?>"
width="<?php echo $desktop_logo['width']; ?>"
height="<?php echo $desktop_logo['height']; ?>"
layout="responsive"
alt="<?php echo $desktop_logo['alt']; ?>" ></amp-img>
<?php } else {?>
<amp-img src="<?php echo get_stylesheet_directory_uri(); ?>/images/moody-acr-logo.svg"
width="670"
height="218"
layout="responsive"
alt="Moody Air Conditioning"></amp-img>
<?php } ?>
</a>
</figure>
<!--menu icon-->
<div class="menu-wrapper lh-1 dt-hide tb-hide mb-block clear">
<a class="nav-toggle f-left fs-28 color-white" on="tap:mobilenav.toggle" role="button" tabindex="0"><i class="fa fa-navicon"></i></a>
<div class="head-login f-right">
<a href="/vx/usa/members/" class="btn head-login">
<span>Member Login</span><i class="fa fa-sign-in"></i>
</a>
</div>
</div>
<!--header right
<div class="header-right col-tb-8">
<?php //$bottomheader = get_field( 'bottom_header', 'option'); ?>
<?php //echo $bottomheader; ?>
</div>-->
</div>
</div>
</section>
<nav class="main-nav horizontal-nav top-nav full-width nav bg-primary fs-15 font-1-med">
<?php
wp_nav_menu( array(
'theme_location' => 'header-menu',
'container_class' => 'header-menu' ) );
?>
</nav><!-- .navigation-top -->
<amp-lightbox layout="nodisplay" id="searchform-lightbox">
<div class="lightbox">
<span id="close" on="tap:searchform-lightbox.close" role="button" tabindex="0" class="h-center color-white rounded">x</span>
<?php // get_search_form(); ?>
</div>
</amp-lightbox>
</header>
<!-- .page-header -->
<main id="page-content" class="page-content">