403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /webdata/gohomesh.com/wp-content/themes/gongheng/index.php
<?php /* Template Name: page-index */ ?>
<?php get_header() ?>




			<!--主体-->
			<div class="content">
				<!--banner-->
				<div class="bannerwarp">
					<div class="swiper-container swiper-container11">
							<div class="swiper-wrapper">
									<div class="swiper-slide">
										<img src="/style/img/banner_1.jpg">
									</div>
									<div class="swiper-slide">
										<img src="/style/img/banner_2.jpg">
									</div>
									<div class="swiper-slide">
										<img src="/style/img/banner_3.jpg">
									</div>
									<div class="swiper-slide">
										<img src="/style/img/banner_4.jpg">
									</div>
									<div class="swiper-slide">
										<img src="/style/img/banner_5.jpg">
									</div>
							</div>
							<div class="text">
								<h3> 公恒地产<i></i></h3>
								<h4> 专注于上海老洋房经纪与人文</h4>
								<p>老洋房见证了上海的百年巨变,承载着这座城市的历史底蕴,而公恒有责任去抢救,去保护、去纪录这份珍贵档案</p>
								<a href="/about/" class="more">探索更多</a>
							</div>
							<div class="swiper-pagination swiper-pagination11"></div>
							<div class="swiper-button-prev swiper-button-prev11 swiper-button-white"></div>
							<div class="swiper-button-next swiper-button-next11 swiper-button-white"></div>
							<div class="swiper-background"></div>
					</div>
					<script type="text/javascript" src="/style/js/swiper.min.js" ></script>
						   <script>
						    var swiper11 = new Swiper('.swiper-container11', {
									effect:'fade',
						    	loop:false,
						    	spaceBetween: 10,
						      autoplay: {
									delay: 6000,
									disableOnInteraction: false,
							  },
								pagination: {
									el: '.swiper-pagination11',
									clickable :true,
								},
								navigation: {
									nextEl: '.swiper-button-next11',
									prevEl: '.swiper-button-prev11',
								},
						    });
						  </script>  
				    <div class="b-search" aos="fade-up">


				    	<div class="formtab">
				    		<a href="javascript:;" class="more2 act">出售房源</a>
				    		<a href="javascript:;" class="more2">出租房源</a>
				    	</div>


						
						<div class="formcont">

							<div class="formmin">
							<div class="form">
				    		<form action="<?php bloginfo('url'); ?>" method="get" class="left clearfix">
				    			<input type="hidden" name="s" value="sell">
					    		<div class="item">
					    			<p>房屋类型</p>
					    			<h3>
					    				<select name="type2">
					    					<?php $terms = get_terms('category');?>
										  	<option value="">不限类型</option>
					    					<?php foreach($terms as $term): ?>
											  <?php if($term->parent == 1): ?>
											  <option value="<?php echo $term->slug; ?>"><?php echo $term->name; ?></option>
											  <?php endif; ?>
											<?php endforeach; ?>
										</select>
					    			</h3>
					    		</div>
					    		<div class="item">
					    			<p>房屋价格</p>
					    			<h3>
					    				<select name="price3">
										  <option value="">不限价格</option>
										  <?php foreach($terms as $term): ?>
											  <?php if($term->parent == 2): ?>
											  <option value="<?php echo $term->slug; ?>"><?php echo $term->name; ?></option>
											  <?php endif; ?>
											<?php endforeach; ?>
										</select>
					    			</h3>
					    		</div>
					    		<button><i class="fa fa-search" aria-hidden="true"></i>搜索</button>
				    		</form>
				    		<form action="<?php bloginfo('url'); ?>" method="get" class="item">
				    			<input type="hidden" name="s" value="title">
				    			<p>搜索内容</p>
				    			<h3>
				    				<input type="text" name="title" placeholder="输入搜索内容"/>
				    				<button><i class="fa fa-search" aria-hidden="true"></i>搜索</button>
				    			</h3>
				    		</form>
				    	</div>
				    </div>




				    <div class="formmin">
				    	<div class="form form02">
				    		<form action="<?php bloginfo('url'); ?>" method="get" class="left clearfix">
				    			<input type="hidden" name="s" value="lease">
					    		<div class="item">
					    			<p>房屋类型</p>
					    			<h3>
					    				<select name="type2">
					    					<?php $terms = get_terms('rents-cat');?>
										  	<option value="">不限类型</option>
					    					<?php foreach($terms as $term): ?>
											  <?php if($term->parent == 106): ?>
											  <option value="<?php echo $term->slug; ?>"><?php echo $term->name; ?></option>
											  <?php endif; ?>
											<?php endforeach; ?>
										</select>
					    			</h3>
					    		</div>
					    		<div class="item">
					    			<p>出租价格/月</p>
					    			<h3>
					    				<select name="price3">
										  <option value="">不限价格</option>
										  <?php foreach($terms as $term): ?>
											  <?php if($term->parent == 93): ?>
											  <option value="<?php echo $term->slug; ?>"><?php echo $term->name; ?></option>
											  <?php endif; ?>
											<?php endforeach; ?>
										</select>
					    			</h3>
					    		</div>
					    		<button><i class="fa fa-search" aria-hidden="true"></i>搜索</button>
				    		</form>
				    		<form action="<?php bloginfo('url'); ?>" method="get" class="item">
				    			<input type="hidden" name="s" value="title2">
				    			<p>搜索内容</p>
				    			<h3>
				    				<input type="text" name="title" placeholder="输入搜索内容"/>
				    				<button><i class="fa fa-search" aria-hidden="true"></i>搜索</button>
				    			</h3>
				    		</form>
				    	</div>
				    </div>






						</div>

				    	<script type="text/javascript">
				    		$(function(){
				    			$(".b-search .formtab a").click(function(){
				    				var index=$(this).index();
				    				$(this).addClass("act").siblings().removeClass("act");
				    				$(".b-search .formmin").eq(index).fadeIn().siblings().hide();
				    			})
				    		})
				    	</script>

				    </div>
				</div>
				
				<!--index01-->
				<div class="index01warp">
					<!--<img src="/style/img/t0.jpg" class="index01bg" />-->
					<div class="index01bg"></div>
					<div class="index01">
						<h3 class="title" aos="fade-up">专任委托</h3>
						<div class="min" aos="fade-up">
							<div class="swiper-container swiper-container02">
						    <div class="swiper-wrapper">
						     
							 <?php 
						     $arg = array(
						     'tax_query' => array( 
						     'relation' => 'AND', 
						     array(
						     'taxonomy' => 'category', // 模块名
						     'field' => 'slug', 
						     'terms' => array( 'full1' ),  // 模块下面的分类名
						     'include_children' => true, 
						     'operator' => 'IN' 
						     ),
						     ),
								 'posts_per_page' => 30,//限定数量
								 'meta_key' => 'sort',
						     'orderby' => 'meta_value_num',
						     'order' => 'DESC',
						     'paged'=>get_query_var('paged')
						     );
						     $new = new WP_Query($arg); 
						     ?>
						     <?php if($new->have_posts()) : while($new->have_posts()) : $new->the_post();?>
						      <div class="swiper-slide">
						      	<a href="<?php the_permalink() ?>" class="clearfix">
						      		<div class="left"><img src="<?php echo replace_text_wps(get_field('img')); ?>" /></div>
						      		<div class="right">
						      			<h3><?php the_title() ?></h3>
						      			<p><?php echo replace_text_wps(get_field('text')); ?></p>
						      			<ul class="list clearfix">
											<li><span><img src="/style/img/p4.png"/>面积</span><h4><?php echo replace_text_wps(get_field('m')); ?>平米</h4></li>
						      				<li><span><img src="/style/img/p3.png"/>地址</span><h4><?php echo replace_text_wps(get_field('address')); ?></h4></li>
						      				<li><span><img src="/style/img/p2.png"/>房型</span><h4><?php echo replace_text_wps(get_field('model')); ?></h4></li>
											<li><span><img src="/style/img/p1.png"/>价格</span><h4><?php echo replace_text_wps(get_field('price')); ?>万元</h4></li>
						      			</ul>
						      			<!-- <font class="more">探索更多</font> -->
						      		</div>
						      	</a>
						      </div>
							<?php endwhile;?><?php endif; ?>

						    </div>
						    <!-- Add Pagination -->
						    <div class="swiper-pagination swiper-pagination02"></div>
						    <!-- Add Arrows -->
						    <div class="arrows">
						    <div class="swiper-button-prev swiper-button-prev02 swiper-button-white"></div>
						    <div class="swiper-button-next swiper-button-next02 swiper-button-white"></div>
						    </div>
						  </div>
						  <script type="text/javascript" src="/style/js/swiper.min.js" ></script>
						   <script>
						    var swiper02 = new Swiper('.swiper-container02', {
						    	loop:true,
						    	spaceBetween: 10,
						      autoplay: {
								delay: 6000,
								disableOnInteraction: false,
							  },
							  pagination: {
						        el: '.swiper-pagination02',
						        type: 'fraction',
						      },
						      navigation: {
						        nextEl: '.swiper-button-next02',
						        prevEl: '.swiper-button-prev02',
						      },
						    });
														
//							 swiper02.el.onmouseover = function(){ 
//							 swiper02.autoplay.stop();
//							 }
//							 swiper02.el.onmouseleave = function(){
//							 swiper02.autoplay.start();
//							 }
						  </script>
						  <a href="http://www.gohomesh.com/sellfull/" class="more">探索更多</a>
						</div>
					</div>
				</div>
				
				<!--index02-->
				<div class="index02warp">
					<div class="index02">
						<h3 class="title" aos="fade-up">房源精选</h3>
						<div class="titleinfo" aos="fade-up">
							<h3>提供上海老洋房(花园住宅、新式里弄、老公寓),老洋房区域的新公寓二手房,租房,办公性质老洋房,商业性质老洋房的租售 </h3>
							<a href="/sell/" class="more">探索更多</a>
						</div>
						<div class="min" aos="fade-up">
							 <div class="swiper-container swiper-container03">
							    <div class="swiper-wrapper">

                                  <?php 
										$arg = array(
											'post_type' => 'post',									
											'posts_per_page' => 18
										);
										$new = new WP_Query($arg); 
									?>
									<?php if($new->have_posts()) : while($new->have_posts()) : $new->the_post();?>

							      <div class="swiper-slide clearfix">
							      	<a href="<?php the_permalink() ?>">
							      		<div class="imgbox">
							      			<img src="<?php the_field('img') ?>" />
							      		</div>
							      		<div class="text">
							      			<font>¥ <?php echo replace_text_wps(get_field('price')); ?>万</font>
							      			<h3><?php the_title() ?></h3>
							      			<p><?php echo replace_text_wps(get_field('title')); ?></p>
							      			<span>面积:<?php echo replace_text_wps(get_field('m')); ?> m</span>
							      		</div>
							      	</a>
							      </div>
								  <?php endwhile;?><?php endif; ?>



							    </div>
							    <!-- Add Arrows -->
							    <div class="swiper-button-next swiper-button-next03 swiper-button-white"></div>
							    <div class="swiper-button-prev swiper-button-prev03 swiper-button-white"></div>
							</div>
							
							<script type="text/javascript" src="/style/js/swiper.min.js" ></script>
							<!-- Initialize Swiper -->
							  <script>
							    var swiper03 = new Swiper('.swiper-container03', {
							    	slidesPerView: 3,
							    	spaceBetween: 30,
							    	loop:true,
							      autoplay: {
								    delay: 2000,
								    disableOnInteraction: false,
						        	},
								  navigation: {
							        nextEl: '.swiper-button-next03',
							        prevEl: '.swiper-button-prev03',
							      },
								   breakpoints: {
									  750: {
										autoplay:false,
										slidesPerView: 1,
									  },
								  }
							    });
						
//							 swiper03.el.onmouseover = function(){ 
//							 swiper03.autoplay.stop();
//							 }
//							 swiper03.el.onmouseleave = function(){
//							 swiper03.autoplay.start();
//							 }
							  </script>
							
						</div>
					</div>
				</div>
				
				<!--index03-->
				<div class="index03warp">
					<!--<img src="/style/img/t1.jpg" class="index03bg" />-->
					<div class="index03bg"></div>
					<div class="index03">
						<h3 class="title cont" aos="fade-up">关于公恒</h3>
						<div class="imglist clearfix" >
							<a href="/about/" aos="fade-up" aos-delay="200">
								<img src="/style/img/1.jpg?=v2" />
								<div class="text">
									<p>01</p>
									<span>Company Overview</span>
									<h3>公司简介</h3>
									<font class="fa fa-angle-right" aria-hidden="true"></font>
								</div>
							</a>
							<a href="/company/" aos="fade-up" aos-delay="400">
								<img src="/style/img/2.jpg" />
								<div class="text">
									<p>02</p>
									<span>Company Culture</span>
									<h3>企业文化</h3>
									<font class="fa fa-angle-right" aria-hidden="true"></font>
								</div>
							</a>
							<a href="/join/" aos="fade-up" aos-delay="600">
								<img src="/style/img/3.jpg" />
								<div class="text">
									<p>03</p>
									<span>Join Us</span>
									<h3>招贤纳士</h3>
									<font class="fa fa-angle-right" aria-hidden="true"></font>
								</div>
							</a>
							<a href="/contact/" aos="fade-up" aos-delay="800">
								<img src="/style/img/4.jpg?=v1" />
								<div class="text">
									<p>04</p>
									<span>Contact Us</span>
									<h3>联系我们</h3>
									<font class="fa fa-angle-right" aria-hidden="true"></font>
								</div>
							</a>
						</div>
						
						<div class="fontmin cont" aos="fade-up">
							<h3>公恒地产是沪上专注于老洋房经纪与老洋房人文历史研究的企业</h3>
							<h4>公恒在2015年携手上海电视台拍摄历时2年共50集《上海老洋房估值》节目,2018年,公恒携手上海文化出版社,出版了《上海老洋房的故事》。公恒2012年推出房屋管理服务,以老洋房大数据为核心,提供租售房屋托管运营团队。公恒对于办理继承析产的情况,(代金租、代管产)等使用权、老建筑产权交易拥有丰富经验,拥有强大的老洋房法务团队,确保消费者安全、放心的交易。</h4>
							
						</div>
						
					</div>
				</div>

				<div class="index06warp">
					<div class="index06">
						<!-- <h3 class="m-title">丰富的老洋房交易经验</h3>
						<h4 class="textinfo">公恒对于办理继承析产的情况,(代金租、代管产)等使用权、老建筑产权交易拥有丰富经验,各区房管所、街道、物业、上海文物建筑、优秀历史建筑等甲级修缮资质企业均为良好的合作伙伴,且公恒拥有强大的老洋房法务团队,确保消费者安全、放心的交易。</h4> -->
						<div class="cot">
							<a href="/form/" class="item">
								<span>Sell</span>
								<h3>出售/承购委托</h3>
							</a>
							<a href="/form2/" class="item">
								<span>Lease</span>
								<h3>出租/承租委托</h3>
							</a>
						</div>
					</div>
				</div>
				
				<!--index04-->
				<div class="index04warp">
					<div class="index04 clearfix">
						<div class="left" aos="fade-right">
							<h3 class="title">企业动态</h3>
							<div class="min clearfix">
								<?php 
									$arg = array(
									'tax_query' => array( 
									  'relation' => 'AND', 
									  array(
										'taxonomy' => 'news-cat', 
										'field' => 'slug', 
										'terms' => array( 'dynamic' ), 
										'include_children' => true, 
										'operator' => 'IN' 
									  ),
									),
									'posts_per_page' => 2
									);
									$new = new WP_Query($arg); 
								?>
	 							<?php if($new->have_posts()) : while($new->have_posts()) : $new->the_post();?>
								 <a target="<?php if(get_field('link')){echo '_blank';}?>" href="<?php if(get_field('link')){the_field('link');}else{the_permalink();} ?>">
									<div class="imgbox">
										<img src="<?php the_field('img') ?>" />
									</div>
									<div class="text">
										<span><?php the_time('Y.m.d') ?></span>
										<h3><?php the_title() ?></h3>
									</div>
								</a>
								<?php endwhile;?><?php endif; ?>
							</div>
							
							<div class="bot">
							    <?php 
									$arg = array(
									'tax_query' => array( 
									  'relation' => 'AND', 
									  array(
										'taxonomy' => 'news-cat', 
										'field' => 'slug', 
										'terms' => array( 'dynamic' ), 
										'include_children' => true, 
										'operator' => 'IN' 
									  ),
									),
									'posts_per_page' => 4,
									'offset' => 2
									);

									$new = new WP_Query($arg); 
								?>
	 							<?php if($new->have_posts()) : while($new->have_posts()) : $new->the_post();?>
								<a href="<?php the_permalink() ?>"><span><?php the_time('Y.m.d') ?></span><h3><?php the_title() ?></h3></a>
								<?php endwhile;?><?php endif; ?>
							</div>

							<a href="/news-cat/dynamic/" class="more" target="_blank">探索更多</a>
						</div>
						<div class="right" aos="fade-left">
							<h3 class="title">市场动态</h3>
							<div class="min">
								<?php 
									$arg = array(
									'tax_query' => array( 
									  'relation' => 'AND', 
									  array(
										'taxonomy' => 'news-cat', 
										'field' => 'slug', 
										'terms' => array( 'oldhouse' ), 
										'include_children' => true, 
										'operator' => 'IN' 
									  ),
									),
									'posts_per_page' => 7
									);
									$new = new WP_Query($arg); 
								?>
	 							<?php if($new->have_posts()) : while($new->have_posts()) : $new->the_post();?>

								<a href="<?php the_permalink() ?>" class="item">
									<p class="data"><span><?php the_time('d') ?></span><?php the_time('m') ?>月</p>
									<div class="info"><h3><?php the_title() ?></h3></div>
								</a> 
								
								<?php endwhile;?><?php endif; ?>
							</div>

							<a href="/news-cat/oldhouse/" class="more" target="_blank">探索更多</a>
						</div>
					</div>
				</div>





				
				<!--index05warp-->
				<div class="index05warp">
					<div class="index05">
						<h3 class="title" aos="fade-up">经纪人介绍</h3>
						<div class="titleinfo" aos="fade-up">
							<h3>公恒2012年推出房屋管理服务,以老洋房大数据为核心,提供租售房屋托管运营团队,使客户安心投资,坐享其成</h3>
							<a href="/agent/store/" class="more">探索更多</a>
						</div>
						
						<div class="line01" aos="fade-up"></div>
						
						<div class="min" aos="fade-up">
							<h3 class="smlltitle">经纪人推荐</h3>
							 
							 <div class="swiper-container swiper-container04">
							    <div class="swiper-wrapper">
				 
						 
								<?php 
								$arg = array(
								'tax_query' => array( 
								'relation' => 'AND', 
								array(
								'taxonomy' => 'brokers-cat', // 模块名
								'field' => 'slug', 
								'terms' => array( 'homelist' ),  // 模块下面的分类名
								'include_children' => true, 
								'operator' => 'IN' 
								),
								),
								'posts_per_page' => 20,//限定数量
								'orderby' => 'rand',
								'order' => 'DESC',
								'paged'=>get_query_var('paged')
								);
								$new = new WP_Query($arg); 
								?>
								<?php if($new->have_posts()) : while($new->have_posts()) : $new->the_post();?>
							
								  <div class="swiper-slide">
							      	<a href="<?php the_permalink() ?>">
							      		<div class="user">
							      			<img src="<?php the_field('img3') ?>" />
							      			<div class="username">
							      				<p><?php the_title() ?></p>
							      				<span><?php echo replace_text_wps(get_field('name')); ?></span>
							      			</div>
							      		</div>
							      		<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>
							      	</a>
							      </div>
								 <?php endwhile;?><?php endif; ?>
							 

							    </div>
							  </div>
							  
							  <!-- Add Pagination -->
							    <div class="page">
								    <div class="swiper-pagination swiper-pagination04"></div>
								    <!-- Add Arrows -->
								    <div class="arrows">
								    <div class="swiper-button-prev swiper-button-prev04 swiper-button-white"></div>
								    <div class="swiper-button-next swiper-button-next04 swiper-button-white"></div>
									</div>	
								</div>
							  
							 <script type="text/javascript" src="/style/js/swiper.min.js" ></script>
							 <!-- Initialize Swiper -->
							  <script>
							    var swiper04 = new Swiper('.swiper-container04', {
							    	slidesPerView: 6,
							    	spaceBetween: 20,
							     //  autoplay: {
								    // delay: 4000,
								    // disableOnInteraction: false,
						      //   	},
								  pagination: {
							        el: '.swiper-pagination04',
							        type: 'fraction',
							      },
							      navigation: {
							        nextEl: '.swiper-button-next04',
							        prevEl: '.swiper-button-prev04',
							      },
							      
								  breakpoints: { 
									1580: {
										slidesPerView: 5,
									  	spaceBetween: 10,
									},
									1280: {
									  slidesPerView: 4,
									  spaceBetween: 10,
									},
									1024: {
									  slidesPerView: 3,
									  spaceBetween: 10,
									},
									768: {
									  slidesPerView: 2,
									  spaceBetween: 30,
									},
									750: {
									  slidesPerView: 1,
									  spaceBetween: 10,
									}
								}
							    });
							  </script>
							 
						</div>
						
						
					</div>
				</div>
				
				








<?php get_footer() ?>






Youez - 2016 - github.com/yon3zu
LinuXploit