| 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 get_header() ?>
<!--主体-->
<div class="content">
<!--s-banner-->
<div class="s-banner">
<img src="/style/img/sell_02.jpg" />
<div class="text" aos="fade-in">
<h3>挑选经纪人</h3>
<p>Select a broker</p>
<form action="<?php bloginfo('url'); ?>" method="get" class="clearfix">
<input type="hidden" name="s" value="agent">
<input type="text" placeholder="输入搜索内容" name="search" value=""/>
<button class="btn"><i class="fa fa-search" aria-hidden="true"></i>搜索经纪人</button>
</form>
</div>
<div class="mbx" aos="fade-in">
<div class="left">
<a href="/" class="fa fa-home"></a>
<i></i>
<a href="###">挑选经纪人</a>
</div>
<a href="/form/" class="right">
<span>出售/承购委托</span>
</a>
</div>
</div>
<!--sell01-->
<div class="sell01warp" aos="fade-up">
<ul class="sell01">
<li>
<?php
$terms = get_terms('brokers-cat');
$uri = explode('/', $_SERVER['REQUEST_URI']);
?>
<h3 class="name">门店:</h3>
<div class="info">
<a href="/agent/store/">不限</a>
<?php foreach($terms as $term): ?>
<?php if($term->parent == 77): ?>
<a class="<?php if(in_array($term->slug, $uri)){echo 'defaultActive';$name = $term->name;$description = $term->description;$slug=$term->slug;}?>" href="<?php echo get_term_link($term); ?>"><?php echo $term->name; ?></a>
<?php endif; ?>
<?php endforeach; ?>
</div>
</li>
</ul>
</div>
<!--agent01-->
<div class="agent01warp">
<div class="agent01">
<div class="agent-top">
<h3><?php echo $name; ?></h3>
<h4><i class="fa fa-phone" aria-hidden="true"></i><font><?php echo $description; ?></font></h4>
</div>
<div class="min clearfix">
<?php if(have_posts()) : while(have_posts()) : the_post(); ?>
<a href="<?php the_permalink() ?>?type=<?=$slug;?>">
<div class="imgbox">
<img src="<?php the_field('img') ?>" />
</div>
<div class="text">
<h3><?php the_title() ?></h3>
<h4><?php echo replace_text_wps(get_field('name')); ?></h4>
<div class="ph">
<p>电话:<?php echo replace_text_wps(get_field('tel')); ?></p>
<p>微信:<?php echo replace_text_wps(get_field('wechat')); ?></p>
<p>邮箱:<?php echo replace_text_wps(get_field('email')); ?></p>
</div>
</div>
</a>
<?php endwhile;?><?php endif; ?>
</div>
</div>
</div>
<?php get_footer() ?>