403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/usa_sites/governmentgrants.us/wp-content/themes/governmentgrants/header-no-amp.php
<?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 '>';
//
//}
?>
<!--<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(); ?>
<style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"  />
<style amp-custom>
      /* any custom style goes here. */
    
    
<?php readfile( get_stylesheet_directory() . '/css/header.css'); ?>
<?php readfile( get_stylesheet_directory() . '/css/nd-framework.css'); ?>
    
    <?php readfile( get_stylesheet_directory() . '/css/theme.css'); ?>
    <?php get_template_part( 'amp-includes/amp-css-variables', 'head' ); ?>
    
    <?php if ( is_front_page() ): ?> 
    <?php readfile( get_stylesheet_directory() . '/css/home.css'); ?>
    <?php readfile( get_stylesheet_directory() . '/css/form.css'); ?>
    <?php endif ?>
    
    <?php if ( !is_front_page() ): ?> 
    <?php readfile( get_stylesheet_directory() . '/css/inner-page.css'); ?>
    <?php endif ?>
    
    <?php if ( is_404() ): ?> 
    <?php readfile( get_stylesheet_directory() . '/css/404.css'); ?>
    <?php endif ?>
    
    <?php 
    if ( is_page_template( 'template-services.php' ) ): ?>
     <?php readfile( get_stylesheet_directory() . '/css/services.css'); ?>
<?php endif ?>
     <?php 
    if ( is_page_template( 'template-products.php' ) ): ?>
     <?php readfile( get_stylesheet_directory() . '/css/products.css'); ?>
<?php endif ?>
    <?php 
    if ( is_page_template( 'template-portfolio.php' ) ): ?>
     <?php readfile( get_stylesheet_directory() . '/css/portfolio.css'); ?>
<?php endif ?>
     <?php 
    if ( is_page_template( 'contact.php' ) ): ?>
     <?php readfile( get_stylesheet_directory() . '/css/contact.css'); ?>
    <?php readfile( get_stylesheet_directory() . '/css/form.css'); ?>
<?php endif ?>
    
    
    <?php 
    if ( is_page_template( 'template-blog.php' ) ): ?>
     <?php readfile( get_stylesheet_directory() . '/css/blog-listing.css'); ?>
<?php endif ?>
    <?php
    if ( is_single() && 'blog' != get_post_type()): ?>
    .featured-header {
              background-image: url("<?php the_field( 'featured_image_big' ); ?>");
          }
    
     <?php readfile( get_stylesheet_directory() . '/css/blog-single.css'); ?>
     <?php readfile( get_stylesheet_directory() . '/css/form.css'); ?>
    h2 {margin-bottom: 35px;}
    .naren-social .icon {display: inline-block;font-size: 18px;width: 32px;height: 32px;line-height: 32px; margin: 0 3px 5px;color: #fff;border-radius: 50%;text-align: center;}
    .naren-social .facebook {background: #4267B2;}
    .naren-social .twitter {background: #1DA1F2;}
    .naren-social .linkedin {background: #1A85BC;}
    .naren-social .googleplus {background: #DC4A38;}
    .naren-social .whatsapp {background: #0DC143;}
    .naren-social .icon:hover {background: <?php the_field('primary_color', 'option'); ?>;}
<?php endif ?>
  
<?php if( is_single() && 'proucts_list' != get_post_type() ): ?>
<?php // if( is_single('proucts_list')): ?>
    <?php readfile( get_stylesheet_directory() . '/css/product-single.css'); ?>
  <?php endif ?>  

<?php readfile( get_stylesheet_directory() . '/css/fonts.css'); ?>
<?php readfile( get_stylesheet_directory() . '/css/buttons.css'); ?>
<?php readfile( get_stylesheet_directory() . '/css/colors.css'); ?>
    .featured-header {
              background-image: url("<?php the_field( 'featured_image_big' ); ?>")
          }
    
   /*section background images*/
    
    <?php if( have_rows('add_section') ):

 	// loop through the rows of data
    while ( have_rows('add_section') ) : the_row();?>
<?php if( get_sub_field('section_background_image') || get_sub_field('section_background_image') ): ?>
    
    <?php $section_bg = get_sub_field( 'section_background_image'); ?>
<?php $section_bg_url = $section_bg['url']; ?>
    
           #<?php echo get_sub_field('section_id');?> {
                background-image: url( <?php echo $section_bg_url;?>);
                    }    
    <?php endif ?>

<?php endwhile; endif;?>
    
    @media screen and (max-width:767px){
         <?php if( have_rows('add_section') ):

 	// loop through the rows of data
    while ( have_rows('add_section') ) : the_row();?>
<?php if( get_sub_field('section_background_image_for_mobile') || get_sub_field('section_background_image_for_mobile') ): ?>
    
    <?php $section_bg_mobile= get_sub_field( 'section_background_image_for_mobile'); ?>
<?php $section_bg_mobile_url = $section_bg_mobile['url']; ?>
    
           #<?php echo get_sub_field('section_id');?> {
                background-image: url( <?php echo $section_bg_mobile_url;?>);
                    }    
    <?php endif ?>

<?php endwhile; endif;?>
    }
    
   
    /*custom page css from wordpress editor*/
<?php if( get_field('custom_css') ): ?>
    <?php the_field('custom_css'); ?>
    <?php endif ?>
    
<?php readfile( get_stylesheet_directory() . '/css/footer.css'); ?>
    
/*fonts*/
    @font-face {font-family: 'Poppins-Light';src: url(' <?php bloginfo('stylesheet_directory'); ?>/fonts/Poppins-Light.eot?#iefix') format('embedded-opentype'), url('<?php bloginfo('stylesheet_directory'); ?>/fonts/Poppins-Light.woff') format('woff'), url('<?php bloginfo('stylesheet_directory'); ?>/fonts/Poppins-Light.ttf')  format('truetype'), url('<?php bloginfo('stylesheet_directory'); ?>/fonts/Poppins-Light.svg#Poppins-Light') format('svg');font-weight: normal;font-style: normal;}@font-face {font-family: 'Poppins-Bold';src: url(' <?php bloginfo('stylesheet_directory'); ?>/fonts/Poppins-Bold.eot?#iefix') format('embedded-opentype'),  url('<?php bloginfo('stylesheet_directory'); ?>/fonts/Poppins-Bold.woff') format('woff'), url('<?php bloginfo('stylesheet_directory'); ?>/fonts/Poppins-Bold.ttf')  format('truetype'), url('<?php bloginfo('stylesheet_directory'); ?>/fonts/Poppins-Bold.svg#Poppins-Bold') format('svg');font-weight: normal;font-style: normal;}@font-face {font-family: 'Poppins-Medium';src: url('<?php bloginfo('stylesheet_directory'); ?>/fonts/Poppins-Medium.eot?#iefix') format('embedded-opentype'),  url('<?php bloginfo('stylesheet_directory'); ?>/fonts/Poppins-Medium.woff') format('woff'), url('<?php bloginfo('stylesheet_directory'); ?>/fonts/Poppins-Medium.ttf')  format('truetype'), url('<?php bloginfo('stylesheet_directory'); ?>/fonts/Poppins-Medium.svg#Poppins-Medium') format('svg');font-weight: normal;font-style: normal;}@font-face {font-family: 'Poppins-Regular';src: url('<?php bloginfo('stylesheet_directory'); ?>/fonts/Poppins-Regular.eot?#iefix') format('embedded-opentype'),  url('<?php bloginfo('stylesheet_directory'); ?>/fonts/Poppins-Regular.woff') format('woff'), url('<?php bloginfo('stylesheet_directory'); ?>/fonts/Poppins-Regular.ttf')  format('truetype'), url('<?php bloginfo('stylesheet_directory'); ?>/fonts/Poppins-Regular.svg#Poppins-Regular') format('svg');font-weight: normal;font-style: normal;}@font-face {font-family: 'Poppins-SemiBold';src: url('<?php bloginfo('stylesheet_directory'); ?>/fonts/Poppins-SemiBold.eot?#iefix') format('embedded-opentype'),  url('<?php bloginfo('stylesheet_directory'); ?>/fonts/Poppins-SemiBold.woff') format('woff'), url('<?php bloginfo('stylesheet_directory'); ?>/fonts/Poppins-SemiBold.ttf')  format('truetype'), url('<?php bloginfo('stylesheet_directory'); ?>/fonts/Poppins-SemiBold.svg#Poppins-SemiBold') format('svg');font-weight: normal;font-style: normal;}
       
</style>
<!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-VYGGE47EZG"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-VYGGE47EZG'); </script>
	<?php /*
	<!-- Google tag (gtag.js) -->
	<script async src="https://www.googletagmanager.com/gtag/js?id=G-H1Q4WH033Q"></script>
	<script>
	  window.dataLayer = window.dataLayer || [];
	  function gtag(){dataLayer.push(arguments);}
	  gtag('js', new Date());

	  gtag('config', 'G-H1Q4WH033Q');
	</script>
	*/ ?>
</head>
<body <?php body_class(); ?>>

  <?php require_once('sidebar-header-no-amp.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 ) { ?>
	<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']; ?>" ></img>
<?php } else {?>

	    <img src="<?php echo get_stylesheet_directory_uri(); ?>/images/moody-acr-logo.svg"
	    width="670"
        height="218"
        layout="responsive"
	    alt="Moody Air Conditioning"></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 -->
</header>
<!-- .page-header -->

		<main id="page-content" class="page-content">
	

Youez - 2016 - github.com/yon3zu
LinuXploit