HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //home/rassvet-tk.ru/public_html/wp-content/themes/rassvettk/page-voprosy-i-otvety.php
<?php get_header(); ?>

<section id="otzivi">
	<div class="container">
		
		<div class="row">
			<div class="col-md-9">
				<?if(have_posts() ): while (have_posts() ): the_post(); ?>
				<div class="text_block">
					<div class="row">
						<div class="col-md-12  zagolovok_text">
							<h1><? the_title();?></h1>
							<hr>
						</div>
					</div>
					<div class="row">
						<div class="col-md-12 ">
							<img src="<?php echo get_field('img_otzyv'); ?>" class="img_width" >
							<p class="otzivi_p">
								<? the_content();?>

							</p>

						</div>	
					</div>


				</div>
				<?endwhile; else:?>
				<p><?echo('Записей не найдено')?></p>
				<?endif;?>	
				
				<div class="row">
					<div class="col-md-12">
						<?
						$args = array('numberposts' => 99999,'category' => 40 );
				$recent_posts_array = get_posts($args); // получаем массив постов
				foreach( $recent_posts_array as $post ) : 
					setup_postdata($post);
					$postid = $post -> ID;
					?> 
					<div class="row otziv_block">

						<!-- 	<div class="col-md-3 col-sm-3 col-xs-3"> -->
							<?/*echo (get_the_post_thumbnail($postid )) */?>
							<!-- 	</div> -->
							<div class="col-md-12 col-sm-9 col-xs-9">
								<p class="otziv_name_p"><?php the_title(); ?></p>
								
								<p><? the_content();?> </p>
								
							</div>
						</div>
						<?endforeach;?>	
					</div>
				</div>
				<div class="row">
					<div class="col-md-12">
						<div class="form_otzivi">
							<?echo do_shortcode('[contact-form-7 id="95" title="Без названия"]')?>
						</div>
						
					</div>
				</div> 
			</div>
			<div class="col-md-3 blagodarnost_block">
				<div class="row">
					<div class="col-md-12">
						<p class="main_p">Благодарности</p>
						<hr class="hr_left">
					</div>
				</div>
				
				<div class="row">
					<?
					$argsmail = array('category' => 32 );
				$recent_posts_array_mail = get_posts($argsmail); // получаем массив постов
				foreach( $recent_posts_array_mail as $post1 ) : 
					setup_postdata($post1);
					$postid1 = $post1 -> ID;
					$ids++;
					?>  
					<div class="col-md-6 col-sm-4 col-xs-6">
						<a href="<? echo(get_the_post_thumbnail_url($postid1, 'large')) ?>" data-lightbox="image-1" data-title="My caption">
							<img src="<? echo(get_the_post_thumbnail_url($postid1)) ?>" data-lightbox="roadtrip">
						</a>
						

					</div>
					<?endforeach;?>	


				</div>

			</div>
		</div>
	</div>

</section>

<?php get_footer(); ?>