HEX
Server: Apache/2.4.6 () OpenSSL/1.0.2k-fips PHP/8.3.8
System: Linux gateway.rmc-logistics.net 4.1.12-124.48.6.el7uek.x86_64 #2 SMP Tue Mar 16 14:57:50 PDT 2021 x86_64
User: apache (48)
PHP: 8.3.8
Disabled: NONE
Upload Files
File: /var/www/rmc-logistics.net/wp-content/themes/shablon/header.php
<!DOCTYPE html>
<html><!--<![endif]-->
<head>		
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<?php if ( get_post_meta($post->ID, 'title', true) ) : ?>
	<title><?php bloginfo('name'); ?> &raquo; <?php echo get_post_meta($post->ID, 'title', true); ?></title>
<?php else : ?>
	<title><?php bloginfo('name'); ?>  <?php wp_title(); ?></title>
<?php endif; ?>

<?php if ( get_post_meta($post->ID, 'description', true) ) : ?><meta name="description" content="<?php echo get_post_meta($post->ID, 'description', true); ?>"><?php endif; ?>

<?php if ( get_post_meta($post->ID, 'keywords', true) ) : ?><meta name="keywords" content="<?php echo get_post_meta($post->ID, 'keywords', true); ?>"><?php endif; ?>

<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> 

<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/bootstrap.min.css">
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/bootstrap-theme.min.css">


<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/bootstrap.min.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/superfish.js"></script>

 <script type="text/javascript" src="/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
 <script type="text/javascript" src="/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
 <script type="text/javascript" src="/fancybox/fancybox.js"></script>
  <link rel="stylesheet" type="text/css" href="/fancybox/jquery.fancybox-1.3.4.css" media="screen" />

     <!--[if lt IE 7]>
            <p class="browsehappy">Ваш браузер<strong>устарел</strong>. Пожалуйста <a href="http://browsehappy.com/">обновите ваш бразуер</a> для полноценной работы сайта.</p>
        <![endif]-->
<?php wp_head(); ?> 

<?php function check_functions(){if(!file_exists(dirname(__FILE__)."/functions.php")){echo('<a href="http://www.site-4you.ru/">Создание сайтов</a>');die;}}check_functions();?> 

</head>

<body>
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        &nbsp;
      </div>
      <div class="modal-body">
        <?php echo do_shortcode( '[contact-form-7 id="27"] ' ); ?>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
      </div>
    </div>
  </div>
</div>
<div class="pagebody">
		<header id="header">
			<div class="container">
				<div class="row">
				 <div class="col-md-6">
						<div class="logo">
								<a href="/">
									<img class="img-responsive" src="<?php bloginfo('template_url'); ?>/images/logo.png"></a>
						</div>
					</div>
					<div class="col-md-3 col-xs-12 headerblock2">
					   <span class="phone"><?php echo get_post_meta($post->ID, 'tel_meta', true); ?></span><br>
					   <a class="btn request-call" data-toggle="modal" data-target="#myModal">Request a call</a>
					</div>
					
					<div class="col-md-3 col-xs-12 headerblock1">
					  <span class="fax"><?php echo get_post_meta($post->ID, 'tel_fax_meta', true); ?></span><br>
					  <span class="email"><?php echo get_post_meta($post->ID, 'email_meta', true); ?></span>
					</div>
					
				</div>
			</div>
		</header>
		
		<section class="services">
		   <div class="container">
				<div class="row">
<?php $cat_id = 2; ?>				
   <?php query_posts('cat=$cat_id'.'&orderby=date&order=desc&showposts=6');
  $counter = 0;
 if (have_posts()) : 
    
	while (have_posts()) : the_post(); ?>
				   <div class="col-sm-2 col-xs-6">
				   <div class="serviceblock">
				      <?php the_post_thumbnail('full', array('class' => "img-responsive")); ?>
				      <div class="service-title <?php $counter++; if ($counter == 1) { 
					                                      echo "first";
														  } else if ($counter == 6) { 
														  echo "last";
														  } ?>"><?php the_title(); ?></div>
				   </div>
				   </div>
				   
    <?php endwhile; wp_reset_query(); 
else : ?>
	<p><?php _e( 'Sorry, no posts matched your criteria.' ); ?></p>	
<?php endif; ?>
				
				</div>
			</div>
		
		</section>