HEX
Server: Apache
System: Linux srv-plesk28.ps.kz 5.14.0-284.18.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 29 17:06:27 EDT 2023 x86_64
User: greencl1 (10085)
PHP: 8.1.33
Disabled: apache_setenv,dl,eval,exec,openlog,passthru,pcntl_exec,pcntl_fork,popen,posix_getpwuid,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,socket_create,socket_create_listen,socket_create_pair,syslog,system,socket_listen,stream_socket_server
Upload Files
File: /var/www/vhosts/greenclinic.kz/httpdocs/wp-content/themes/GreenClinic/archive-control.php
<?php get_header(); ?>
 
<div class="page__banner--bread">
  <div class="bread-line">
    <div class="container">
      <?php if( function_exists('dimox_breadcrumbs') ) dimox_breadcrumbs(); ?>
    </div>
  </div>
</div>

    <div class="section__services section__margin">
        <div class="container">
            <div class="section__title">
            <h3 class="service__title title">Услуги
            </h3>
            </div>


            <?php 
                //get_template_part( 'components/component', 'service');
            ?>


            <div class="services__filter">
                <div class="services__filter--button">
                    <ul class="nav nav-tabs" id="myTab" role="tablist">
                    <li class="nav-item">
                    <a class="nav-link active" id="home-tab" data-toggle="tab" href="#home" role="tab" aria-controls="home"
                    aria-selected="true">Поликлиника</a>
                    </li>
                    <li class="nav-item">
                    <a class="nav-link" id="profile-tab" data-toggle="tab" href="#profile" role="tab" aria-controls="profile"
                    aria-selected="false">Стационар</a>
                    </li>
                    <li class="nav-item">
                    <a class="nav-link" id="contact-tab" data-toggle="tab" href="#contact" role="tab" aria-controls="contact"
                    aria-selected="false">Отделение лучевой диагностики</a>
                    </li>
                    </ul>
             
                </div>

                <div class="services__filter--slider">
                    
                    <div class="services__filter--content">
                    <div class="tab-content" id="myTabContent">


                    <?php 
                        $control16 = new WP_Query( array(
                            'orderby' => 'date', // тип сортировки (в данном случае по дате)
							'posts_per_page' => -1,
                            'order'   => 'ASC',
                            'post_type' => 'control',
                            'tax_query' => array(
                                array (
                                    'taxonomy' => 'control_category',
                                    'field' => 'term_id',
                                    'terms' => 16
                                )
                            ),
                        ));

                        
              
                        $control17 = new WP_Query( array(
                            'orderby' => 'date', // тип сортировки (в данном случае по дате)
							'posts_per_page' => -1,
                            'order'   => 'ASC',
							
                            'post_type' => 'control',
                            'tax_query' => array(
                                array (
                                    'taxonomy' => 'control_category',
                                    'field' => 'term_id',
                                    'terms' => 17
                                )
                            ),
                        ));
                        $control18 = new WP_Query( array(
                            'orderby' => 'date', // тип сортировки (в данном случае по дате)
							'posts_per_page' => -1,
                            'order'   => 'ASC',
                            'post_type' => 'control',
                            'tax_query' => array(
                                array (
                                    'taxonomy' => 'control_category',
                                    'field' => 'term_id',
                                    'terms' => 18
                                )
                            ),
                        ));
                    ?>
                 
                 <div class="tab-pane fade show active" id="home" role="tabpanel" aria-labelledby="home-tab">
                    <div class="row">
                    <?php while ( $control16->have_posts() ) { $control16->the_post(); ?>
                            
                        <?php get_template_part( 'components/component', 'service16' ); ?>
                       
                    <?php } ?>
                    </div>
                    </div>

                    <div class="tab-pane fade" id="profile" role="tabpanel" aria-labelledby="profile-tab">
                    <div class="row">
                    <?php while ( $control17->have_posts() ) { $control17->the_post(); ?>
                            
                        <?php get_template_part( 'components/component', 'service17' ); ?>
                        
                    <?php } ?>
                    </div>
                    </div>

                    <div class="tab-pane fade" id="contact" role="tabpanel" aria-labelledby="contact-tab">
                    <div class="row">
                    <?php while ( $control18->have_posts() ) { $control18->the_post(); ?>
                            
                        <?php get_template_part( 'components/component', 'service18' ); ?>
                        
                    <?php } ?>
                    </div>
                    </div>
                    <div class="services__filter__pagination pagination__block"></div>



                    </div>
                    </div>


                </div>
                
            </div>



        </div>
    </div>

   
 

   

    <?php 
      //get_template_part( 'components/component', 'contact');
    ?>

    <?php get_footer(); ?>

<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js" ></script>