| Server IP : 39.106.62.82 / Your IP : 216.73.216.240 Web Server : nginx/1.14.1 System : Linux iz2ze1m0zmp2dk5c3j5ap5z 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /webdata/gohomesh.com/wp-content/themes/gongheng/ |
Upload File : |
<?php /* Template Name: page-contact */ ?>
<?php get_header() ?>
<!--主体-->
<div class="content">
<!--s-banner-->
<div class="s-banner">
<img src="/style/img/banner-contact.jpg" />
<div class="text" aos="fade-in">
<h3>联系我们</h3>
<p>CONTACT US</p>
</div>
<div class="mbx mbx02" aos="fade-in">
<div class="left">
<a href="/" class="fa fa-home"></a>
<i></i>
<a href="###">关于我们</a>
<span class="fa fa-angle-right" aria-hidden="true"></span>
<a href="###">联系我们</a>
</div>
<div class="right">
<a class="str">关于我们</a>
<div class="ainfo">
<a href="/about/">公司概览<span></span></a>
<a href="/organization/">组织架构<span></span></a>
<a href="/company/">企业文化<span></span></a>
<a href="/join/">招才纳贤<span></span></a>
<a href="/contact/" class="active">联系我们<span></span></a>
</div>
</div>
</div>
</div>
<div class="newswarp">
<!--contact01-->
<div class="contact01">
<h3 class="c-title">联系方式</h3>
<?php
$args = array('post_type' => 'store','posts_per_page' => 1);
$new = new WP_query($args);
?>
<?php if($new->have_posts()):while($new->have_posts()):$new->the_post(); ?>
<div class="min clearfix">
<div class="left">
<img src="<?php the_field('img') ?>" />
</div>
<div class="text">
<h3><?php the_title() ?></h3>
<div class="info">
<p>地址: <?php echo replace_text_wps(get_field('adddress')); ?></p>
<p>电话: <?php echo replace_text_wps(get_field('tel')); ?></p>
<p>传真:<?php echo replace_text_wps(get_field('zhen')); ?></p>
<p>邮编:<?php echo replace_text_wps(get_field('youbian')); ?></p>
</div>
</div>
</div>
<?php endwhile;endif; ?>
</div>
<!--contact02-->
<div class="contact02">
<h3 class="c-title">联系方式</h3>
<div class="min">
<?php
$args = array('post_type' => 'store','offset' => 1,'posts_per_page' => 100);
$new = new WP_query($args);
?>
<?php if($new->have_posts()):while($new->have_posts()):$new->the_post(); ?>
<div class="item">
<div class="imgbox">
<img src="<?php the_field('img') ?>" />
</div>
<div class="text">
<h3><?php the_title() ?></h3>
<p>地址: <?php echo replace_text_wps(get_field('adddress')); ?> </p>
<p>电话: <?php echo replace_text_wps(get_field('tel')); ?> </p>
<a class="more" href="<?php the_field('link') ?>" target="_blank"><i class="fa fa-map-marker" aria-hidden="true"></i>地理位置</a>
</div>
</div>
<?php endwhile;endif; ?>
</div>
</div>
</div>
<!--contact03-->
<div class="contact03">
<h3 class="top">在线留言</h3>
<?php echo do_shortcode('[contact-form-7 id="294" title="contact"]'); ?>
<!-- <form action="" method="post">
<input type="text" placeholder="您的姓名" />
<input type="text" placeholder="您的公司名称" />
<input type="text" placeholder="联系电话" />
<div class="check">
<p>您的基本需求</p>
<div class="cont">
<label><input type="checkbox" />出售房源</label>
<label><input type="checkbox" />出租房源</label>
<label><input type="checkbox" />我要买房</label>
<label><input type="checkbox" />我要租房</label>
</div>
</div>
<textarea placeholder="您的具体需求"></textarea>
<button class="more">提交</button>
</form> -->
</div>
</div>
<script type="text/javascript" src="/wp-content/plugins/wp-forms-puzzle-captcha/assets/js/wfpc-puzzle-captcha.js" ></script>
<?php get_footer() ?>