index.php 12.8 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();?>
<section class="web_main index_main">
  <!-- banner --> 

  <section class="slider_banner">
      <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['title']; ?>"/></a></div>
      <?php endforeach; endif; ?>
      </div> 
        <div class="slider_swiper_buttons">
        <div class="swiper-button-prev swiper-button-white"><span class="slide-page-box"></span></div>
        <div class="swiper-button-next swiper-button-white"><span class="slide-page-box"></span></div>
      </div>
      <div class="slider_swiper_control">
        <div class="swiper-pagination swiper-pagination-white">
          <div class="swiper-page-inner"></div>
        </div>
      </div>
    </section>
	
 <!-- index_company_intr -->
    <section class="index_company_intr">
      <div class="company_intr_bd wow fadeInDownA" data-wow-delay=".1s" data-wow-duration=".8s">
        <div class="layout flex_row">
          <div class="company_intr_title">
            <h2>about us</h2>
            <h4><em>q.anttum</em> technology</h4>
          </div>
          <div class="company_intr_cont">
            <div class="company_intr_desc"><?php get_the_field('about_text'); ?> </div>
          </div>
        </div>
      </div>
	  <?php $images = get_get_field('about_img'); if( $images ): foreach( $images as $image ): ?> 
      <div class="company_intr_img wow fadeInUpA" data-wow-delay=".2s" data-wow-duration=".8s">
        <div class="layout">
          <div class="company_img_box">
            <a href="">
              <h3 class="video_title link_line_anm">Q.ANTUM TECHNOLOGY</h3>
              <i class="icon_player"></i>
              <img src="<?php echo $image['url']; ?>" alt="<?php echo $image['description']; ?>">
            </a>
          </div> 
          <div class="learn_more">
            <a href="" class="sys_btn">MORE VIDEO<span class="btn_arrow"><i></i></span></a>
          </div>
        </div>
      </div>
	  <?php endforeach; endif; ?>
    </section>


    <!-- index_product -->
    <section class="index_product">
      <div class="index_hd wow fadeInDownA" data-wow-delay=".1s" data-wow-duration=".8s">
        <div class="layout">
          <h2 class="hd_title">PRODUCTS</h2>
        </div>
      </div>
      <div class="index_bd wow fadeInUpA" data-wow-delay=".1s" data-wow-duration=".8s">
        <div class="layout">
          <div class="product_slider">
            <ul class="swiper-wrapper product_items">
			              <?php $args = array('showposts' => 12, 'post_type' => 'post', 'meta_query' => array( 'relation' => 'OR', array( 'key' => 'special','value' => 'Feature Products','compare' => 'LIKE')));

$the_query = new WP_Query( $args );$i=1; if( $the_query->have_posts() ): while ( $the_query->have_posts() ) : $the_query->the_post(); ?>    
              <li class="swiper-slide product_item">
                  <figure> 
                    <span class="item_img">
                      <img src="<?php $images = get_field('product_gallery'); if( $images ): for($x=0;$x<1; $x++){ ?><?php echo $images[0]['sizes']['thumbnail']; ?><?php } endif; ?>" alt="<?php echo mb_strimwidth(strip_tags(apply_filters('the_title',$post->post_title)), 0, 200,"..."); ?>"/><a href="<?php the_permalink() ?>"></a>
                    </span>
                    <figcaption>
                      <h3 class="item_title"><a href="<?php the_permalink() ?>"><?php echo mb_strimwidth(strip_tags(apply_filters('the_title',$post->post_title)), 0, 50,"..."); ?></a></h3>
                      <p class="item_desc"><?php echo mb_strimwidth(strip_tags(apply_filters('the_content', $post->post_content)), 0, 100,"..."); ?></p>
                    </figcaption>
                  </figure>
              </li>
			   <?php $i++; endwhile; endif;  wp_reset_query(); ?> 
             </ul>
          </div>
          <div class="slider_swiper_control index_swiper_control">
            <div class="slider_swiper_buttons">
              <div class="swiper-button-prev"><span class="slide-page-box"></span></div>
              <div class="swiper-button-next"><span class="slide-page-box"></span></div>
            </div>
            <div class="swiper-pagination"></div>
          </div>
        </div>
      </div>
    </section>



    <!-- company_subscribe -->
    <section class="company_subscribe" style="background-image: url(http://cms.goodao.cn/style/global/img/demo/company_subscribe_bg.jpg)">
      <div class="layout flex_row wow fadeInUpA" data-wow-delay=".1s" data-wow-duration=".8s">
        <h2 class="subscribe_title"> <?php get_the_field('inquiry_price_text'); ?></h2>
        <a href="javascript:" class="sys_btn button">INQUIRY</a>
      </div>
    </section>

    <!-- index_case -->
    <section class="index_case">
        <div class="index_hd">
            <div class="layout wow fadeInDownA" data-wow-delay=".1s" data-wow-duration=".8s">
                <h2 class="hd_title">PRODUCTS</h2>
            </div>
        </div>
        <div class="index_bd">
            <div class="case_slider wow fadeInUpA" data-wow-delay=".1s" data-wow-duration=".8s">
                <ul class="case_list swiper-wrapper">
                    <li class="swiper-slide">
                        <div class="case_item flex_row layout">
                            <div class="item_info">
                                <h3 class="item_title">ALTNAU (SWITZERLAND)</h3>
                                <div class="item_desc">Our customer, Sat Solar Swiss AG, installed a 137.70 kWp rooftop PV system on the building of the Agro/Landi Centre in Altnau, Switzerland. In total, 510 Q.PEAK-G3 270 Wp from Q CELLS now produce clean electricity and significantly help the company to reduce its carbon footprint and to become more competitive. </div>
                                <div class="item_more">
                                    <a href="" class="sys_btn">DETAIL VIEW</a>
                                    <a href="" class="sys_btn sys_btn_hollow">CONTACT NOW</a>
                                </div>
                            </div>
                            <div class="item_img"><img src="http://cms.goodao.cn/style/global/img/demo/case_img_01.png" alt=""></div>
                            <div class="item_bg" style="background-image: url(http://cms.goodao.cn/style/global/img/demo/case_bg_01.jpg)">
                                <span class="btn_bg_toggle"></span>
                            </div>
                        </div>
                    </li>
                    <li class="swiper-slide">
                        <div class="case_item flex_row layout">
                            <div class="item_info">
                                <h3 class="item_title">BEACON, CALIFORNIA (USA)</h3>
                                <div class="item_desc">This solar system was constructed on the roof of a private mansion in Grundviller, France. The solar system was mounted on an existing mounting system and has an output of 6 kWp, thus helping the owning family to massively reduce their cost of energy. The family chose the Q.PEAK-G4.1 module due to its high power rating and beautiful design.</div>
                                <div class="item_more">
                                    <a href="" class="sys_btn">DETAIL VIEW</a>
                                    <a href="" class="sys_btn sys_btn_hollow">CONTACT NOW</a>
                                </div>
                            </div>
                            <div class="item_img"><img src="http://cms.goodao.cn/style/global/img/demo/case_img_02.png" alt=""></div>
                            <div class="item_bg" style="background-image: url(http://cms.goodao.cn/style/global/img/demo/case_bg_02.jpg)">
                                <span class="btn_bg_toggle"></span>
                            </div>
                        </div>
                    </li>
                </ul>
                <div class="slider_swiper_control">
                    <div class="layout">
                        <div class="slider_swiper_buttons">
                            <div class="swiper-button-prev"><span class="slide-page-box"></span></div>
                            <div class="swiper-button-next"><span class="slide-page-box"></span></div>
                        </div>
                        <div class="swiper-pagination"></div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- index_promote -->
    <section class="index_promote">
      <div class="index_bd" style="background-image: url(http://cms.goodao.cn/style/global/img/demo/promote_bg.jpg)">
        <div class="layout">
          <div class="index_hd wow fadeInDownA" data-wow-delay=".1s" data-wow-duration=".8s">
            <h2 class="hd_title">application</h2>
            <ul class="promote_tabs">
              <li class="tab_item tab_active"><a href="javascript:">RESIDENTIAL</a></li>
              <li class="tab_item"><a href="javascript:">C&amp;I</a></li>
              <li class="tab_item"><a href="javascript:">POWER PLANT</a></li>
            </ul>
          </div>
          <div class="promote_slider wow fadeInUpA" data-wow-delay=".1s" data-wow-duration=".8s">
            <ul class="swiper-wrapper">
              <li class="promote_cell swiper-slide">
                <div class="cell_cont">
                  <h3 class="cell_title anm">Q.POWER-G5</h3>
                  <h4 class="cell_subtit anm">MONOCRYSTALLINE Q.ANTUM DUO TECHNOLOGY</h4>
                  <div class="cell_desc anm">
                    The new Q.PEAK DUO-G5 solar module from Q CELLS impresses thanks to innovative Q.ANTUM DUO Technology, which enables particularly high performance on a small surface area.
                    <br>
                    Q.ANTUM's world-record cell concept has now been combined with state-of-the-art circuitry, half cells and a six-busbar design, achieving outstanding performance under real conditions - both with low-intensity solar radiation and on hot, clear summer days. 
                  </div>
                  <div class="cell_more anm"><a class="link_line_anm" href="">VIEW PRODUCT</a></div>
                </div>
                <div class="cell_img anm">
                  <img src="http://cms.goodao.cn/style/global/img/demo/promote01.png" alt="">
                </div>
              </li>
              <li class="promote_cell swiper-slide">
                <div class="cell_cont">
                  <h3 class="cell_title anm">Q.POWER-G5</h3>
                  <h4 class="cell_subtit anm">MONOCRYSTALLINE Q.ANTUM DUO TECHNOLOGY</h4>
                  <div class="cell_desc anm">
                    The new Q.PEAK DUO-G5 solar module from Q CELLS impresses thanks to innovative Q.ANTUM DUO Technology, which enables particularly high performance on a small surface area.
                    <br>
                    Q.ANTUM's world-record cell concept has now been combined with state-of-the-art circuitry, half cells and a six-busbar design, achieving outstanding performance under real conditions - both with low-intensity solar radiation and on hot, clear summer days. 
                  </div>
                  <div class="cell_more anm"><a class="link_line_anm" href="">VIEW PRODUCT</a></div>
                </div>
                <div class="cell_img anm">
                  <img src="http://cms.goodao.cn/style/global/img/demo/promote02.png" alt="">
                </div>
              </li>
              <li class="promote_cell swiper-slide">
                <div class="cell_cont">
                  <h3 class="cell_title anm">Q.POWER-G5</h3>
                  <h4 class="cell_subtit anm">MONOCRYSTALLINE Q.ANTUM DUO TECHNOLOGY</h4>
                  <div class="cell_desc anm">
                    The new Q.PEAK DUO-G5 solar module from Q CELLS impresses thanks to innovative Q.ANTUM DUO Technology, which enables particularly high performance on a small surface area.
                    <br>
                    Q.ANTUM's world-record cell concept has now been combined with state-of-the-art circuitry, half cells and a six-busbar design, achieving outstanding performance under real conditions - both with low-intensity solar radiation and on hot, clear summer days. 
                  </div>
                  <div class="cell_more anm"><a class="link_line_anm" href="">VIEW PRODUCT</a></div>
                </div>
                <div class="cell_img anm">
                  <img src="http://cms.goodao.cn/style/global/img/demo/promote03.png" alt="">
                </div>
              </li>
            </ul>
          </div>
        </div>
      </div>
    </section>


  
 </section>

 <?php get_footer();?>