File: /www/wwwroot/doba123.com/wp-content/themes/duba2/index.php
<?php get_header(); ?>
<!-- banner -->
<div class="zd-banner">
<div class="swiper-container">
<div class="swiper-wrapper">
<?php for ($i = 1; $i <= 3; $i++) {
if(of_get_option( 'banner_src'.$i) == "")continue;
?>
<div class="swiper-slide">
<a href="javDESCript:;">
<picture>
<source srcset="<?php echo of_get_option('banner_m_src'.$i); ?>" media="(max-width:768px)">
<img src="<?php echo of_get_option('banner_src'.$i); ?>">
</picture>
</a>
</div>
<?php } ?>
</div>
<!-- Add Pagination -->
<div class="swiper-pagination"></div>
</div>
</div>
<div class="zd-service">
<div class="container-width">
<div class="index-common">
<h3>服务项目</h3>
<p>选择上海度巴财税咨询服务,体验到专业高效、卓尔不凡的服务品质</p>
</div>
<div class="service-item clearfix ser-sw">
<div class="fl service-l">
<img src="<?php bloginfo('template_url'); ?>/images/swfw-left.png" alt="">
<div class="service-box">
<h3>税务服务</h3>
<p>合理税筹,纳税筹划,顾问一对一服务</p>
<a href="/service" rel="nofollow">查看详情</a>
</div>
</div>
<div class="fr service-r">
<ul>
<?php query_posts('cat=12&orderby=date&order=DESC'); while(have_posts()): the_post(); ?>
<li>
<a href="<?php the_permalink(); ?>">
<img src="<?php print_r(get_field('service-icon')[url]); ?>" alt="<?php the_title(); ?>">
<p><?php the_title(); ?></p>
</a>
</li>
<?php endwhile; wp_reset_query(); ?>
</ul>
</div>
</div>
<div class="service-item clearfix ser-cw">
<div class="fl service-l">
<img src="<?php bloginfo('template_url'); ?>/images/cwfw.left.png" alt="">
<div class="service-box">
<h3>财务服务</h3>
<p>专业顾问1v1咨询服务,服务超过3000+客户</p>
<a href="/service" rel="nofollow">查看详情</a>
</div>
</div>
<div class="fr service-r">
<ul>
<?php query_posts('cat=13&orderby=date&order=DESC'); while(have_posts()): the_post(); ?>
<li>
<a href="<?php the_permalink(); ?>">
<img src="<?php print_r(get_field('service-icon')[url]); ?>" alt="<?php the_title(); ?>">
<p><?php the_title(); ?></p>
</a>
</li>
<?php endwhile; wp_reset_query(); ?>
</ul>
</div>
</div>
</div>
</div>
<div class="zd-about">
<div class="container-width">
<div class="index-common">
<h3>关于度巴</h3>
<p>一站式专业财务咨询服务平台</p>
</div>
<div class="index-aboutbox clearfix">
<div class="fl">
<img src="<?php bloginfo('template_url'); ?>/images/about-img.png" alt="">
</div>
<div class="fr">
<h3>上海度巴企业管理有限公司</h3>
<p>上海度巴企业管理有限公司致力于为企业提供综合财务及税务咨询服务。公司管理团队及咨询顾问均来自于四大权威会计师事务所、税务师事务所、人力资源服务公司及国内杰出的律师事务所。“高、精、尖”人才组成的专业团队为企业提供财务咨询、内控制度建立及完善、企业管理咨询、税务咨询、投资咨询、财务人事外包、专业培训等综合性的服务。</p>
<a href="/about" rel="nofollow">查看更多</a>
</div>
</div>
</div>
</div>
<div class="zd-team">
<div class="container-width">
<div class="index-common">
<h3>精英团队</h3>
<p>团队顾问为您答疑解惑</p>
</div>
<div class="team-box clearfix">
<div class="team-meta fl">
<ul>
<?php query_posts('cat=8&orderby=date&order=DESC'); while(have_posts()): the_post(); ?>
<li>
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<p><?php the_field('level');?></p>
<span><?php the_field('team-show');?></span>
<a href=""><span>免费咨询</span><img src="<?php bloginfo('template_url'); ?>/images/intro-ico.png" alt=""></a>
</li>
<?php endwhile; wp_reset_query(); ?>
</ul>
</div>
<div class="team-swiper fr">
<div class="swiper-container">
<div class="swiper-wrapper">
<?php query_posts('cat=8&orderby=date&order=DESC'); while(have_posts()): the_post(); ?>
<div class="swiper-slide">
<img src="<?php echo wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'large')[0]; ?>" alt="<?php the_title(); ?>">
</div>
<?php endwhile; wp_reset_query(); ?>
</div>
</div>
<div class="swiper-button-next"></div>
<div class="swiper-button-prev"></div>
</div>
</div>
<a href="/team" rel="nofollow">查看更多</a>
</div>
</div>
<div class="zd-adv">
<div class="container-width">
<div class="index-common">
<h3>我们的优势</h3>
<p>度巴财务咨询专业服务,4大核心优势,为您保驾护航</p>
</div>
<ul>
<li>
<img src="<?php bloginfo('template_url'); ?>/images/adv-1.png" alt="">
<h3>实力保障</h3>
<p>覆盖业务组合,让您的财务相关的难题都能迎刃而解,清晰明了</p>
</li>
<li>
<img src="<?php bloginfo('template_url'); ?>/images/adv-2.png" alt="">
<h3>专业团队</h3>
<p>汇聚财务领域核心人才,政策引导,知识赋予,多角度为您答疑解惑</p>
</li>
<li>
<img src="<?php bloginfo('template_url'); ?>/images/adv-3.png" alt="">
<h3>财务培训</h3>
<p>精准细分财税领域,根据客户一对一进行相关财务培训</p>
</li>
<li>
<img src="<?php bloginfo('template_url'); ?>/images/adv-4.png" alt="">
<h3>服务公开</h3>
<p>根据客户情况按标准要求加急特殊通道办理</p>
</li>
</ul>
<a href="">立即咨询</a>
</div>
</div>
<div class="zd-news">
<div class="container-width">
<div class="index-common">
<h3>财务资讯</h3>
<p>快速了解财税服务行业的相关资讯</p>
</div>
<div class="x-news-title">
<ul class="clearfix">
<li class="news-on">
<span>财税热点</span>
</li>
<li class="">
<span>公司新闻</span>
</li>
<li>
<span>常见问题</span>
</li>
</ul>
</div>
<div class="x-news-box">
<div class="x-news-item clearfix">
<ul class="x-news-left fl">
<?php query_posts('cat=2&showposts=1&orderby=date&order=DESC'); while(have_posts()): the_post(); ?>
<li>
<div class="x-news-info">
<div class="x-news-pic">
<?php if ( has_post_thumbnail() ) { ?>
<img src="<?php echo wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'large')[0]; ?>" alt="<?php the_title(); ?>">
<?php } else {?>
<img src="<?php bloginfo('template_url'); ?>/images/news-thum.png" alt="<?php the_title(); ?>">
<?php } ?>
</div>
<div class="x-news-con">
<h3 class="clearfix"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<p><?php echo wp_trim_words(get_the_content()); ?></p>
<a href="<?php the_permalink(); ?>">More+</a>
</div>
</div>
</li>
<?php endwhile; wp_reset_query(); ?>
<?php query_posts('cat=2&showposts=2&offset=1&orderby=date&order=DESC'); while(have_posts()): the_post(); ?>
<li>
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<span><?php the_time('Y-m-d'); ?></span>
<a href="<?php the_permalink(); ?>">More+</a>
</li>
<?php endwhile; wp_reset_query(); ?>
</ul>
<!-- ./left -->
<ul class="x-news-right fr">
<?php query_posts('cat=2&showposts=4&offset=3&orderby=date&order=DESC'); while(have_posts()): the_post(); ?>
<li>
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<span><?php the_time('Y-m-d'); ?></span>
<a href="<?php the_permalink(); ?>">More+</a>
</li>
<?php endwhile; wp_reset_query(); ?>
</ul>
</div>
<div class="x-news-item clearfix">
<ul class="x-news-left fl">
<?php query_posts('cat=4&showposts=1&orderby=date&order=DESC'); while(have_posts()): the_post(); ?>
<li>
<div class="x-news-info">
<div class="x-news-pic">
<?php if ( has_post_thumbnail() ) { ?>
<img src="<?php echo wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'large')[0]; ?>" alt="<?php the_title(); ?>">
<?php } else {?>
<img src="<?php bloginfo('template_url'); ?>/images/news-thum.png" alt="<?php the_title(); ?>">
<?php } ?>
</div>
<div class="x-news-con">
<h3 class="clearfix"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<p><?php echo wp_trim_words(get_the_content()); ?></p>
<a href="<?php the_permalink(); ?>">More+</a>
</div>
</div>
</li>
<?php endwhile; wp_reset_query(); ?>
<?php query_posts('cat=4&showposts=2&offset=1&orderby=date&order=DESC'); while(have_posts()): the_post(); ?>
<li>
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<span><?php the_time('Y-m-d'); ?></span>
<a href="<?php the_permalink(); ?>">More+</a>
</li>
<?php endwhile; wp_reset_query(); ?>
</ul>
<!-- ./left -->
<ul class="x-news-right fr">
<?php query_posts('cat=4&showposts=4&offset=3&orderby=date&order=DESC'); while(have_posts()): the_post(); ?>
<li>
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<span><?php the_time('Y-m-d'); ?></span>
<a href="<?php the_permalink(); ?>">More+</a>
</li>
<?php endwhile; wp_reset_query(); ?>
</ul>
</div>
<div class="x-news-item clearfix">
<ul class="x-news-left fl">
<?php query_posts('cat=5&showposts=1&orderby=date&order=DESC'); while(have_posts()): the_post(); ?>
<li>
<div class="x-news-info">
<div class="x-news-pic">
<?php if ( has_post_thumbnail() ) { ?>
<img src="<?php echo wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'large')[0]; ?>" alt="<?php the_title(); ?>">
<?php } else {?>
<img src="<?php bloginfo('template_url'); ?>/images/news-thum.png" alt="<?php the_title(); ?>">
<?php } ?>
</div>
<div class="x-news-con">
<h3 class="clearfix"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<p><?php echo wp_trim_words(get_the_content()); ?></p>
<a href="<?php the_permalink(); ?>">More+</a>
</div>
</div>
</li>
<?php endwhile; wp_reset_query(); ?>
<?php query_posts('cat=5&showposts=2&offset=1&orderby=date&order=DESC'); while(have_posts()): the_post(); ?>
<li>
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<span><?php the_time('Y-m-d'); ?></span>
<a href="<?php the_permalink(); ?>">More+</a>
</li>
<?php endwhile; wp_reset_query(); ?>
</ul>
<!-- ./left -->
<ul class="x-news-right fr">
<?php query_posts('cat=5&showposts=4&offset=3&orderby=date&order=DESC'); while(have_posts()): the_post(); ?>
<li>
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<span><?php the_time('Y-m-d'); ?></span>
<a href="<?php the_permalink(); ?>">More+</a>
</li>
<?php endwhile; wp_reset_query(); ?>
</ul>
</div>
</div>
<a href="/news" rel="nofollow">查看更多</a>
</div>
</div>
<div class="zd-form">
<div class="container-width">
<div class="index-common">
<h3>注册领取相关财务培训资料</h3>
<p>成功提交信息后,我们将会在24小时内联系您</p>
</div>
<?php echo do_shortcode('[contact-form-7 id="5" title="register"]'); ?>
</div>
</div>
<div class="zd-f">
<div class="container-width">
<ul>
<li>
<img src="<?php bloginfo('template_url'); ?>/images/sh-1.png" alt="">
<div class="zd-fcon">
<h5>极速响应</h5>
<p>客户需求快速高效回应</p>
</div>
</li>
<li>
<img src="<?php bloginfo('template_url'); ?>/images/sh-2.png" alt="">
<div class="zd-fcon">
<h5>信息安全</h5>
<p>保障客户信息安全保密</p>
</div>
</li>
<li>
<img src="<?php bloginfo('template_url'); ?>/images/sh-3.png" alt="">
<div class="zd-fcon">
<h5>专属服务</h5>
<p>服务全程进行信息化监控</p>
</div>
</li>
<li>
<img src="<?php bloginfo('template_url'); ?>/images/sh-4.png" alt="">
<div class="zd-fcon">
<h5>售后保障</h5>
<p>服务问题及时解决并反馈</p>
</div>
</li>
</ul>
</div>
</div>
<script src="<?php bloginfo('template_url'); ?>/js/index.js"></script>
<?php get_footer(); ?>