@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux phpmyadmin-ubuntu-m-2vcpu-16gb-blr1-01 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Current Path :
/
var
/
www
/
html
/
zip2
/
files
/
wp-content
/
themes
/
wpresidence
/
Path :
Upload File :
New :
File
Dir
/var/www/html/zip2/files/wp-content/themes/wpresidence/contact_page.php
<?php // Template Name: Contact Page // Wp Estate Pack if(!function_exists('wpestate_residence_functionality')){ esc_html_e('This page will not work without WpResidence Core Plugin, Please activate it from the plugins menu!','wpresidence'); exit(); } get_header(); $wpestate_options = wpestate_page_details($post->ID); $company_name = esc_html( stripslashes( wpresidence_get_option('wp_estate_company_name', '') ) ); $company_picture = esc_html( stripslashes( wpresidence_get_option('wp_estate_company_contact_image', 'url') ) ); $company_email = esc_html( stripslashes( wpresidence_get_option('wp_estate_email_adr', '') ) ); $mobile_no = esc_html( stripslashes( wpresidence_get_option('wp_estate_mobile_no','') ) ); $telephone_no = esc_html( stripslashes( wpresidence_get_option('wp_estate_telephone_no', '') ) ); $fax_ac = esc_html( stripslashes( wpresidence_get_option('wp_estate_fax_ac', '') ) ); $skype_ac = esc_html( stripslashes( wpresidence_get_option('wp_estate_skype_ac', '') ) ); if (function_exists('icl_translate') ){ $co_address = esc_html( icl_translate('wpestate','wp_estate_co_address_text', ( wpresidence_get_option('wp_estate_co_address') ) ) ); }else{ $co_address = esc_html( stripslashes ( wpresidence_get_option('wp_estate_co_address', '') ) ); } $facebook_link = esc_html( wpresidence_get_option('wp_estate_facebook_link', '') ); $twitter_link = esc_html( wpresidence_get_option('wp_estate_twitter_link', '') ); $google_link = esc_html( wpresidence_get_option('wp_estate_google_link', '') ); $linkedin_link = esc_html ( wpresidence_get_option('wp_estate_linkedin_link','') ); $pinterest_link = esc_html ( wpresidence_get_option('wp_estate_pinterest_link','') ); $instagram_link = esc_html ( wpresidence_get_option('wp_estate_instagram_link','') ); $agent_email = $company_email; ?> <div class="row"> <?php get_template_part('templates/breadcrumbs'); ?> <div class="<?php print esc_html($wpestate_options['content_class']);?>"> <?php get_template_part('templates/ajax_container'); ?> <?php while (have_posts()) : the_post(); ?> <div class="contact-wrapper row"> <div class=" contact_page_company_details"> <div class="company_headline "> <h3><?php print esc_html($company_name);?></h3> <div class='company_headlin_addr'><?php print esc_html($co_address); ?></div> <div class="header_social"> <?php if($facebook_link!=''){ print ' <a href="'.esc_url($facebook_link).'"><i class="fab fa-facebook-f"></i></a>'; } if($twitter_link!=''){ print ' <a href="'.esc_url($twitter_link).'"><i class="fab fa-twitter"></i></a>'; } if($google_link!=''){ print ' <a href="'.esc_url($google_link).'"><i class="fab fa-google-plus-g"></i></a>'; } if($linkedin_link!=''){ print ' <a href="'.esc_url($linkedin_link).'"><i class="fab fa-linkedin-in"></i></a>'; } if($pinterest_link!=''){ print ' <a href="'.esc_url($pinterest_link).'"><i class="fab fa-pinterest-p"></i></a>'; } if($instagram_link!=''){ print ' <a href="'.esc_url($instagram_link).'"><i class="fab fa-instagram"></i></a>'; } ?> </div> </div> <?php if ($telephone_no) { print '<div class="agent_detail contact_detail"><span>'.esc_html__('Phone:','wpresidence').'</span> <a href="tel:' . esc_html($telephone_no) . '">'; print esc_html( $telephone_no ). '</a></div>'; } if ($mobile_no) { print '<div class="agent_detail contact_detail"><span>'.esc_html__('Mobile:','wpresidence').'</span><a href="tel:' . esc_html( $mobile_no ) . '">'; print esc_html ($mobile_no) . '</a></div>'; } if ($company_email) { print '<div class="agent_detail contact_detail"><span>'.esc_html__('Email:','wpresidence').'</span>'; print '<a href="mailto:'.esc_html($company_email).'">' .esc_html( $company_email ). '</a></div>'; } if ($fax_ac) { print '<div class="agent_detail contact_detail"><span>'.esc_html__('Fax:','wpresidence').'</span>';print esc_html( $fax_ac ). '</div>'; } if ($skype_ac) { print '<div class="agent_detail contact_detail"><span>'.esc_html__('Skype:','wpresidence').'</span>';print esc_html( $skype_ac ). '</div>'; } if ($co_address) { // print '<div class="agent_detail contact_detail"><span>'.esc_html__('Address:','wpresidence').'</span>';print esc_html( $co_address ). '</div>'; } ?> </div> <div class="company_headline_content"> <?php the_content(); ?> </div> <?php if($company_picture!=''){?> <div class=" contact_page_company_picture"> <?php print '<img src="'.esc_url($company_picture).'" class="contact-comapany-logo img-responsive" alt="'.esc_html__('company logo','wpresidence').'"/> '; ?> </div> <?php } ?> </div> <div class="single-content contact-content"> <?php include( locate_template( 'templates/agent_contact.php') ); ?> </div><!-- single content--> <?php endwhile; // end of the loop. ?> </div> <?php include get_theme_file_path('sidebar.php'); ?> </div> <?php get_footer(); ?>