index.php 8.3 KB
<?php $get_lang = isset($wp_query->query_vars['prisna_translate_seo_request'])?urldecode($wp_query->query_vars['prisna_translate_seo_request']):''; ?>
<?php get_header();?>
  <!-- banner -->
  <section class="slider_banner swiper-container">
    <div class="swiper-wrapper">
      <?php $images = get_get_field('ad_index_banner'); if( $images ): foreach( $images as $image ): ?>
          <div class="swiper-slide"><a href="<?php echo $image['alt']; ?>"><img src="<?php echo $image['url']; ?>" alt="<?php echo $image['url']; ?>" /></a></div>
        <?php endforeach; endif; ?>
    </div>
    <div class="slider_swiper_control">
      <div class="banner_button_prev"></div>
      <div class="swiper-pagination swiper-pagination-white"></div>
      <div class="banner_button_next"></div>
    </div>
  </section>
<section class="web_main index_main">
 <!--Special products-->
    <section class="Special_product_wrap">
      <section class="layout">
        <div class="index_hd wow fadeInUpA" data-wow-delay=".8s">
          <h2 class="hd_title">women's stuff</h2>
        </div>
        <section class="Special_products">
          <div class="Special_product Special_product01">
            <div class="Special_product_img wow fadeInLeftA" data-wow-delay="1.2s"><img src="<?php echo home_url("/"); ?>style/global/img/demo/Special-products01.jpg" alt="" /></div>
            <div class="Special_product_info wow fadeInRightA" data-wow-delay="1.5s"> <span class="product_tag">lady bag</span>
              <h4 class="product_title"><a href="">Making ladies'purses</a></h4>
              <div class="product_describe">The world's leading manufacturer and installer of custom retractable roof 
                enclosures and operable skylights.We have a professional design team
                professional shootingand foreign trade operation team.</div>
              <a href="" class="product_details">Understanding details</a> </div>
          </div>
          <div class="Special_product Special_product02"> 
            <!--图片最小要900px-->
            <div class="Special_product_img wow fadeInRightA" data-wow-delay="1.8s"> <img src="<?php echo home_url("/"); ?>style/global/img/demo/Special-products02.jpg" alt="" /> <span class="product_img_border product_img_border01"></span> <span class="product_img_border product_img_border02"></span> </div>
            <div class="Special_product_info wow fadeInLeftA" data-wow-delay="2.1s"> <span class="product_tag">lady bag</span>
              <h4 class="product_title"><a href="">Making ladies'purses</a></h4>
              <div class="product_describe">The world's leading manufacturer and installer of custom retractable roof enclosures and operable skylights.</div>
              <a href="" class="product_details">Understanding details</a> </div>
          </div>
        </section>
      </section>
    </section>
    <!--Special products end--> 
    <!--company_subscribe-->
    <section class="company_subscribe wow fadeInUp" style="background-image: url(<?php echo home_url("/"); ?>style/global/img/demo/company_subscribe.jpg);" data-wow-delay=".3s" data-wow-duration=".8s">
      <section class="layout">
        <div class="subscribe_wrap" >
          <div class="index_hd wow fadeInLeftA" data-wow-delay=".5s">
            <h2 class="hd_title">Let customers feel at ease with</br>
              the products they use</h2>
          </div>
          <a href="javascript:" class="button learn_more more_btn wow fadeInRightA" data-wow-delay=".9s"><span>inquiry now</span></a>
          <p class="subscribe_desc wow fadeInLeftA" data-wow-delay=".7s">For inquiries about our products or pricelist, please leave your email to us and</br>
            we will be in touch within 24 hours.</p>
        </div>
      </section>
    </section>
    <!--company_subscribe end--> 
  <!--index_product-->
    <section class="index_feature_product">
      <section class="layout">
        <div class="index_hd wow fadeInUpA" data-wow-delay=".8s">
          <h2 class="hd_title">Female bag</h2>
        </div>
        <div class="feature_products_container">
          <div class="product_bgleft wow fadeInLeftA" data-wow-delay="1.5s"><img src="<?php echo home_url("/"); ?>style/global/img/demo/product_bg.jpg" alt="" /></div>
          <div class="feature_product_wrap wow fadeInRightA" data-wow-delay="1.5s">
            <ul class="feature_products">
              <li class="feature_product_item"> <a href=""> <span class="feature_imgbg"><img src="<?php echo home_url("/"); ?>style/global/img/demo/index_pd01.jpg" /></span> <span class="feature_imgpd"><img src="<?php echo home_url("/"); ?>style/global/img/demo/index_pd01.png" /></span> </a> </li>
              <li class="feature_product_item"> <a href=""> <span class="feature_imgbg"><img src="<?php echo home_url("/"); ?>style/global/img/demo/index_pd02.jpg" /></span> <span class="feature_imgpd"><img src="<?php echo home_url("/"); ?>style/global/img/demo/index_pd02.png" /></span> </a> </li>
              <li class="feature_product_item"> <a href=""> <span class="feature_imgbg"><img src="<?php echo home_url("/"); ?>style/global/img/demo/index_pd03.jpg" /></span> <span class="feature_imgpd"><img src="<?php echo home_url("/"); ?>style/global/img/demo/index_pd03.png" /></span> </a> </li>
              <li class="feature_product_item"> <a href=""> <span class="feature_imgbg"><img src="<?php echo home_url("/"); ?>style/global/img/demo/index_pd04.jpg" /></span> <span class="feature_imgpd"><img src="<?php echo home_url("/"); ?>style/global/img/demo/index_pd04.png" /></span> </a> </li>
            </ul>
            <a href=" " class="more_btn feature_more" data-wow-delay=".9s"><span>view detail</span></a> <span class="feature_slogn">quality assurance</span> </div>
        </div>
      </section>
    </section>
    <!--index_product end--> 
	  <!-- index_company_intr -->
    <section class="index_company_intr wow fadeInLeftA" data-wow-delay=".8s">
      <section class="layout">
        <div class="index_hd">
          <h2 class="hd_title">about us</h2>
        </div>
        <section class="company_intr_wrap" style="background-image:url(<?php echo home_url("/"); ?>style/global/img/demo/about_bg.jpg)">
          <div class="company_images">
            <div class="company_slider">
              <ul class="swiper-wrapper">
              <?php $images = get_get_field('about_img'); if( $images ): foreach( $images as $image ): ?>
                <li class="swiper-slide"><img src="<?php echo $image['url']; ?>" alt="<?php echo $image['description']; ?>"></li> 
                <?php endforeach; endif; ?>
              </ul>
              <div class="about-pagination"></div>
            </div>
          </div>
          <div class="comapny-info-wrap">
            <h2 class="about_tit">Company profile :</h2>
            <p class="about-info"><?php get_the_field('about_text'); ?></p>
            <a href="<?php echo home_url("/"); ?>about-us" class="more_btn about_more" data-wow-delay=".9s"><span>learn more</span></a> </div>
        </section>
      </section>
    </section>
    <!-- index_company_intr end --> 
	<!-- index_news_container -->
    <section class="index_news_container wow fadeInRightA" data-wow-delay=".8s">
      <section class="layout">
        <ul class="news_items">
		<?php query_posts(array( 'post_type' => 'news','showposts' => 2,'orderby' => 'post_date','order'=> 'DESC') );  while (have_posts()) : the_post();?>
          <li class="news_item"> <span class="news_img"><?php $image = get_field('news_img');if( !empty($image) ): ?>
	<a href="<?php the_permalink() ?>"><img src="<?php echo $image['url']; ?>" ></a>
	<?php endif; ?></span>
            <div class="news_info">
              <div  class="new_box">
                <time><?php the_time('M-d-Y') ?></time>
                <h4 class="news_tit"><a href="<?php the_permalink() ?>"><?php echo mb_strimwidth(strip_tags(apply_filters('the_title',$post->post_title)), 0, 200,"..."); ?></a></h4>
                <p class="news_detail"><?php echo mb_strimwidth(strip_tags(apply_filters('the_content', $post->post_content)), 0, 300,"..."); ?></p>
              </div>
              <a href="<?php the_permalink() ?>" class="more_btn"><span>view detail</span></a> </div>
          </li>
     <?php endwhile; wp_reset_query(); ?>
        </ul>
      </section>
    </section>
    <!-- index_news_container end --> 
</section>

 <?php get_footer();?>