403Webshell
Server IP : 14.225.204.176  /  Your IP : 216.73.216.252
Web Server : nginx/1.24.0
System : Linux nodejs-ybgk 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64
User : root ( 0)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/html/php/venus-cms/wp-content/themes/venus/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/php/venus-cms/wp-content/themes/venus/archive-recruitment.php
<?php

/**
 * Display archive VENUS for the theme.
 * 
 * @copyright  ZiniMedia 2016
 * @version    Release: 0.1
 * @package    venus
 * @author     ZiniMedia-BM
 */
?>
<?php get_header(); ?>
<?php
$recruitments = get_posts(([
  'post_type' => 'recruitment',
  'hide_empty' => false
]));
$tax_recruitments = get_terms([
  'taxonomy' => 'tax-recruitment',
  'hide_empty' => false,  
]);
?>
<main class="main-content">
  <!-- section-header-page -->
  <section class="section-header-page" style="background-image: url('<?php bloginfo('template_directory'); ?>/assets/images/bg-recruitment.jpg')">
    <div class="container">
      <h1 class="title-page h2-sm"><?php _e('Recruitment', 'venus'); ?></h1>
      <div class="header-page-description text-center text-white">
      <?php _e('Quý khách cần giải đáp các dịch vụ y tế, quy trình khám và các vấn đề liên quan, đừng ngần ngại liên hệ với đội ngũ chăm sóc khách hàng của chúng tôi tại HOTLINE 0911. 69.33.99 để được hỗ trợ nhanh nhất.', 'venus'); ?>
      </div>
    </div>
  </section>
  <!-- e: section-header-page -->

  <div class="primary-content">
    <!-- recruitment-page -->
    <div class="recruitment-page">
      <div class="container">
        <div class="row">
          <?php 
          foreach ($tax_recruitments as $tax_recruitment) { ?>
            <div class="col-lg-12 recruitment-list">
              <h2 class="title h3"><?php echo $tax_recruitment->name  ?></h2>
            </div>
            <?php
              $paged = ( get_query_var( 'page' ) ) ? absint( get_query_var( 'page' ) ) : 1;
              $args = array(
                'post_type'        => 'recruitment',
                'post_status'      => 'publish',
                'tax_query' => array(
                  array(
                    'taxonomy' => 'tax-recruitment',
                    'field' => 'slug',
                    'terms' => $tax_recruitment->slug,
                  )
                )
              ); 
              $wp_query = new WP_Query($args, ARRAY_A);
            ?>
            <?php if ($wp_query->have_posts()) while ($wp_query->have_posts()) : $wp_query->the_post(); ?>
              <div class="col-sm-6 col-md-6 col-lg-6 list-recruitment">
                <div class="recruitment-item">
                  <div class="recruitment-item-text">
                    <h3 class="title-recruitment dotdotdot ddd-truncated">
                      <a href="<?php echo get_the_permalink()?>"><?php the_title(); ?></a>
                    </h3>
                    <div class="recruitment-item-blockquote">
                      <?php the_excerpt()?>
                    </div>
                  </div>
                </div>
              </div><!-- col -->
            <?php endwhile; 
              wp_reset_postdata();
            ?>
          <?php } ?>
        </div>

      </div>
    </div>
    <!-- e: recruitment-page -->
  </div>
</main>

<?php get_footer(); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit