403Webshell
Server IP : 104.21.17.213  /  Your IP : 216.73.217.141
Web Server : Apache
System : Linux hosting01.arsenalhost.com 4.18.0-425.13.1.lve.el8.x86_64 #1 SMP Mon Feb 27 15:23:24 EST 2023 x86_64
User : corbizre ( 1013)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/corbizre/freerealestateresources.com/templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/corbizre/freerealestateresources.com/templates/housepage.tpl.html.1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>{if $house.address}{$house.address},{else}Listing #00{$house.ID}{/if} {$house.city}, {$house.state} {$house.zip}{if $house.status=='For Rent'} - {$house.type} For Rent{else} - {if $house.sale_status!=1}{$house.status}{else}Property info{/if}{/if}</title>
<link media="screen" href="{$HTTP_HOST}media/reo2.css" rel="stylesheet" type="text/css" />
<style type="text/css">
{literal}
a, #footer a{
    color:#0AB8EA;
}
#menuBar{ background: #F7F3F0; }
#images_full img,
#images_thumbnails img {
  padding:3px;
  border:1px solid #CCC;
}

#images_thumbnails img {
  margin:1px;
}

{/literal}</style>
  <link rel="stylesheet" type="text/css" media="all" href="{$HTTP_HOST}style.css"/>
    <link rel="stylesheet" type="text/css" media="all" href="{$HTTP_HOST}fancybox/jquery.fancybox.css"/>
<meta name="keywords" content="{if $house.address}{$house.address},{else}Listing #00{$house.ID}{/if} {$house.city} {$house.state} {$house.zip},{$house.address} {$house.city} {$state_info.state_desc} {$house.zip}{if $house.status=='For Rent'} {$house.type} For Rent{else} {$house.status}{/if}"/>
<meta name="description" content="{if $house.address}{$house.address},{else}Listing #00{$house.ID},{/if} {$house.city}, {$house.state} {$house.zip}{if $house.status=='For Rent'} - {$house.type} For Rent{else} - {$house.status}{/if}. {$house.city} {$house.state} {$house.zip} Real Estate Listings database."/>
  <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
  <script type="text/javascript" src="{$HTTP_HOST}fancybox/jquery.fancybox.js?v=2.0.6"></script>
     {*<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBJ877DvWDgHNQyQxmqC7CW1lfBoADC4Rs&sensor=false"></script>
    *}
    <script>
    {literal}
    var map;
    var geocoder;
    var panorama;
    function initialize() {
      geocoder = new google.maps.Geocoder();

      var myOptions = {
        zoom: 18,
        center: new google.maps.LatLng(-37.84232584933157, 145.008544921875),
        mapTypeId: google.maps.MapTypeId.HYBRID
      };
      //styling the map
      var styleOptions = {
          name: "Dummy Style"
      };
      
      var MAP_STYLE = [
      {
          featureType: "road",
          elementType: "all",
          stylers: [
              { visibility: "on" }
          ]
      }
      ];
      map = new google.maps.Map(document.getElementById('map_canvas'),myOptions);
      
      var panoramaOptions = {
              pov: {
                heading: 180,
                pitch: 0,
                zoom: 1
              }
            };
      
      var mapType = new google.maps.StyledMapType(MAP_STYLE, styleOptions);
      map.mapTypes.set("Dummy Style", mapType);
      map.setMapTypeId("Dummy Style");
      var streetViewService = new google.maps.StreetViewService();
      var panorama = new  google.maps.StreetViewPanorama(document.getElementById('pano'),panoramaOptions);
      var address = document.getElementById('address').value;
      geocoder.geocode( { 'address': address}, function(results, status) {
        if (status == google.maps.GeocoderStatus.OK) {
          map.setCenter(results[0].geometry.location);
         
          var marker = new google.maps.Marker({
              map: map,
              position: results[0].geometry.location
          });
          
          var streetViewMaxDistance = 100;
          var point = results[0].geometry.location;
          
          streetViewService.getPanoramaByLocation(point, streetViewMaxDistance, function (streetViewPanoramaData, status) {

              if(status === google.maps.StreetViewStatus.OK){

                var oldPoint = point;
                    point = streetViewPanoramaData.location.latLng;

                  var heading = google.maps.geometry.spherical.computeHeading(point,oldPoint);            

                  panorama.setPosition(point);
                  panorama.setPov({
                     heading: heading,
                      zoom: 1,
                      pitch: 0
                  });
                  panorama.setVisible(true);

              }else{
            	  document.getElementById("pano").style.height="30px";
                document.getElementById('pano').innerHTML = "Sorry! Street View is not available.";
                  // no street view available in this range, or some error occurred
              }
          });
          
        } else {
            document.getElementById("pano").style.height="30px";
        	document.getElementById('pano').innerHTML = "Sorry! Street View is not available.";
        }
      });  
      

      // We get the map's default panorama and set up some defaults.
          // Note that we don't yet set it visible.


      //panorama = spaces.map.map.getStreetView();
      
    }
  //  http://stackoverflow.com/questions/7068365/getting-the-pov-for-google-streetview-api
     
      
    //google.maps.event.addDomListener(window, 'load', initialize);
      
      function loadScript() {
        var script = document.createElement('script');
          script.type = 'text/javascript';
            script.src = 'https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&' +
                  'callback=initialize';
                    document.body.appendChild(script);
            }
                    
        window.onload = loadScript;
      {/literal}
      
    </script>
</head>

<body class="home blog">
<div id="container">
    <div id="logo" style="left: 757px;">
        <span id="site-title">
            <a href="{$HTTP_HOST}" title="{$city|lower|capitalize:true}, {$state_info.state_desc} {$ZipCode} real estate listings" rel="home">Free Real Estate Listings</a>
        </span>
    </div>

    <div id="rightCol" class="shadow" style="float:left;">
        <div id="topBar">
            <div id="leader_lu">
{*literal}
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- FRER-listing-toplink -->
<ins class="adsbygoogle"
     style="display:inline-block;width:728px;height:15px"
          data-ad-client="ca-pub-8316180472238588"
               data-ad-slot="1968146012"></ins>
               <script>
               (adsbygoogle = window.adsbygoogle || []).push({});
               </script>
{/literal*}
            </div>        
        </div>
        <div id="mainContent">                      
        <div id="content">
            


<div xmlns:v="http://rdf.data-vocabulary.org/#">
        <span typeof="v:Breadcrumb">
            <a href="{$HTTP_HOST}" rel="v:url" property="v:title">Home</a>
        </span>
                {if $category.name}
        <span typeof="v:Breadcrumb">
         ←  <a href="{$HTTP_HOST}{$category.name}" rel="v:url" property="v:title">{$category.description}</a>
        </span>
        {/if}
        {if $ZipCodes.State}
        <span typeof="v:Breadcrumb">
         ←  <a href="{$HTTP_HOST}{$category.name}{$DELIMITER}{$ZipCodes.State|replace:" ":"-"}" rel="v:url" property="v:title">{$ZipCodes.State}</a>
        </span>
        {/if}
        {if $ZipCodes.City}
        <span typeof="v:Breadcrumb">
         ←  <a href="{$HTTP_HOST}{$category.name}{$DELIMITER}{$ZipCodes.State|replace:" ":"-"}{$DELIMITER2}{$ZipCodes.City|lower|replace:" ":"-"}.html" rel="v:url" property="v:title">{$ZipCodes.City|lower|capitalize:true}</a>
        </span>
        {/if}
        {if $ZipCodes.ZipCode}
        <span typeof="v:Breadcrumb">
         ←  <a href="{$HTTP_HOST}{$category.name}{$DELIMITER}{$ZipCodes.State|replace:" ":"-"}{$DELIMITER2}{$ZipCodes.City|lower|replace:" ":"-"}{$DELIMITER2}{$ZipCodes.ZipCode}.html" rel="v:url" property="v:title">{$ZipCodes.ZipCode}</a>
        </span>
        {/if}
        {if $house.address}
        <span typeof="v:Breadcrumb">
         ←  <a href="{$HTTP_HOST}listing{$DELIMITER}{$house.ID}.html" rel="v:url" property="v:title">{$house.address}</a>
        </span>
        {/if}
</div>
        <div id="post" class="post">

                
            <h1 class="entry-title">{if $house.address}{$house.address|strip_tags},{else}Listing #00{$house.ID}{/if} {$house.city}, {$house.state} {$house.zip}{if $house.status=='For Rent'} - {$house.type} For Rent{else} - {if $house.sale_status!=1}{$house.status}{else}Property info{/if}{/if}</h1>
                        
            <div class="entry-content">

{*<div class="adsense336 left"><script type="text/javascript" src="{$HTTP_HOST}adv/listing_page.js"></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>*}
{if $house.site_index!=1003}      
 {if $house.additional_info&&$house.additional_info|@strlen>400&&$house.sale_status!=1}<p style="font-size: 12px">{$house.additional_info|replace:" - learn more about this mobile home community":""}</p>{else}
       <p style="font-size: 12px">This {$house.type} listing Located in {$ZipCodes.StateFullName} {$house.city} on {$house.address|strip_tags} street.  </p>
            <p style="font-size: 12px"> 
            {if $house.bedrooms}The house has a {$house.bedrooms}/Beds. {/if}
            {if $house.bathrooms} And {$house.bathrooms}baths. {/if}
            {if $house.living_area&&$house.site_index!='2015'}The Living Area of {$house.type} is {$house.living_area}.{/if}
            This real estate listing was added to our db on {$house.created_date|date_format}. {if $house.created_date!=$house.last_update} The last update was on {$house.last_update|date_format:"%a %d %b, %Y"}.{/if}
            {if $house.heating_type}The heating type is {$house.heating_type}.{/if}
            {if $house.construction_year}This {$house.type|capitalize} was built in {$house.construction_year} year.{/if}
            {if $house.area}The Area of this {$house.type|capitalize} is {$house.area} (SF).{/if}
            </p>
        {if $house.sale_status!=1}       <p style="font-size: 12px">{$house.additional_info|replace:" - learn more about this mobile home community":""}</p>{/if}
       
       {/if}
{/if}
 {*                  <h4 style="font-weight: bold;text-decoration: underline;">Useful information about {$ZipCodes.City|lower|capitalize:true}, {$house.state} {$ZipCodes.ZipCode} location:</h4>
            <p style="font-size: 12px;">The population of this area is about {$ZipCodes.Population|number_format}. The Average count of Households in this area is {$ZipCodes.HouseholdsPerZipCode|number_format}. 
            Black population is about {$ZipCodes.BlackPopulation|number_format}, White Population is about {$ZipCodes.WhitePopulation|number_format}, 
            Hispanic Population is about {$ZipCodes.HispanicPopulation|number_format}, Asian Population is about {$ZipCodes.AsianPopulation|number_format},
            Hawaiian Population is about {$ZipCodes.HawaiianPopulation|number_format},
            Indian Population is about {$ZipCodes.IndianPopulation|number_format},
            Other Population is about {$ZipCodes.OtherPopulation|number_format}.
            Average Houses in this area is {$ZipCodes.AverageHouseValue|number_format}. Average Income per Household is ${$ZipCodes.IncomePerHousehold|number_format}.
            Median Age of population is {$ZipCodes.MedianAge} years.</p>
  *}
                                                          </div><!-- .entry-content -->
{*literal}
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- FRER-listing-top -->
<ins class="adsbygoogle"
     style="display:inline-block;width:728px;height:90px"
          data-ad-client="ca-pub-8316180472238588"
               data-ad-slot="3988011211"></ins>
               <script>
               (adsbygoogle = window.adsbygoogle || []).push({});
               </script>
{/literal*}
<script type="text/javascript">
    google_ad_client = "ca-pub-8316180472238588";
    google_ad_slot = "3988011211";
    google_ad_width = 728;
    google_ad_height = 90;
</script>
<!-- FRER-listing-top -->
<script type="text/javascript"
src="//pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<div class="clear" style="height: 5px;"></div>                                                        

<div class="entry-content">
<div style="float:left;width: 310px;">
         <div class="listing-title" style="padding-bottom: 5px;text-decoration: underline;"><h2 style="font-size: 15.5px;margin:0px;">{$house.address|strip_tags} - listing #{$house.ID}</h2></div>
               <ul class="listing-box-info" style="padding-left: 0px;">
                 {if $house.type}<li>Type: <b>{$house.type}</b></li>{/if}
                 {if $house.construction_year}<li>Year Built: <b>{$house.construction_year}</b></li>{/if}
                 <li>Price: <b>{$house.price}</b></li>
                 {if $house.MLSID}<li>MLS#: <b>{$house.MLSID}</b></li>{/if}
                 <li>Letest update: {$house.last_update|date_format:"%m/%d/%y"}</li>
                {if $house.market_type}<li>Market Status: <span style="color:green;">{$house.market_type}</span></li>{/if}
                 {if $house.source}<li><b>Foreclosure Owner: {$house.source}</b></li>{/if}
{if $house.bedrooms}<li>Bedrooms: {$house.bedrooms}</li>{/if}
{if $house.bathrooms}<li>Bathrooms: {$house.bathrooms}</li>{/if}
{if $house.flooring}<li>Flooring: {$house.flooring}</li>{/if}
{if $house.sleeps}<li>Sleeps: {$house.sleeps}</li>{/if}
{if $house.living_area&&$house.site_index!='2015'}<li>Living Area (SF): {$house.living_area}</li>{/if}
{if $house.patio}<li>Patio: {$house.patio}</li>{/if}
{if $house.fire_place}<li>Fire Place: {$house.fire_place}</li>{/if}
{if $house.heating_type}<li>Heating Type: {$house.heating_type}</li>{/if}
{if $house.sewer_type}<li>Sewer Type: {$house.sewer_type}</li>{/if}
{if $house.swimming_pool}<li>Swimming Pool: {$house.swimming_pool}</li>{/if}
{if $house.area}<li>Area Size (SF): {$house.area} </li>{/if}
{if $house.back_yeard}<li>Back yeard: {$house.back_yeard}</li>{/if}
                 </ul>  

<div class="hlisting">
    <span class="item">
        <span class="fn">Real estate listing #{$house.ID}</span>
      </span><br/>
     Status: <span class="offer {if $house.status=='For Rent'}rent{else}sale{/if}">{if $house.sale_status!=1}{$house.status}{else}Sold or Removed{/if}</span><br/>
     Added: <abbr class="dtlisted" title="{$house.created_date|date_format:"%Y-%m-%d"}">{$house.created_date|date_format:"%Y-%m-%d"}</abbr>
     Updated: <abbr class="updated" title="{$house.last_update|date_format:"%Y-%m-%d"}">{$house.last_update|date_format:"%Y-%m-%d"}</abbr>
     <div class="location adr">
      Address: <span class="street-address">{if $house.address}{$house.address|strip_tags}{else}Listing #00{$house.ID}{/if}</span>,<br/>
       <span class="locality">{$house.city}</span>, <span class="region">{$house.state}</span>
       <span class="postal-code">{$house.zip}</span> <span class="country">US</span>
     </div>
{if $house.sale_status!=1}     Price: <span class="price">{$house.price}</span>{/if}
{if $house.sale_status!=1}   
<div class="lister vcard">
      Please contact <span class="fn">{$agent.name|escape:'htmlall'}</span> at <br/>
      <span class="tel"><span class="value">{if $agent.phone}{$agent.phone|escape:'htmlall'}{/if}</span></span> for more details.<br/>
      <span class="vcard author"><span class="fn">{$agent.name|escape:'htmlall'}</span></span>
</div>
{/if}
</div>
           
</div>
<div style="width: 410px;float:right;">
<div id="images_full">
<img alt="{$house.description} {$house.address}, {$house.city}, {$house.state} photo" width="405px" border="0" src="{$HTTP_IMG}{if $house.image_url}{$house.image_url}{else}NA.jpg{/if}" />
</div>
{if $images&&$house.sale_status!=1}
<div style="width: 410px;font-size: 10px;background-color: #666666;color:white;height: 15px;padding-top: 3px;">Listing #{$house.ID} pictures gallery:</div>
<div id="images_thumbnails" style="{if $images|@count>4}height:100px;{/if}overflow:auto;">
{foreach from=$images item=image name=imagelist}
<a style="text-decoration: none;" href="{$HTTP_IMG}{if $image.filename}{$image.filename}{/if}">
<img alt="{$house.description} {$house.address}, {$house.city}, {$house.state} {$image.ID}" width="76px" border="0" src="{$HTTP_IMG}{if $image.thumb}{$image.thumb}{else}NA.jpg{/if}" />
</a>
{/foreach}
</div>
{/if}

</div>
      </div>  
<div class="clear" style="height: 7px;"></div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- FRER-listing-mid -->
<ins class="adsbygoogle"
     style="display:inline-block;width:728px;height:90px"
     data-ad-client="ca-pub-8316180472238588"
     data-ad-slot="4893872379"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
{*literal}

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- FRER-listing-mid -->
<ins class="adsbygoogle"
     style="display:inline-block;width:728px;height:90px"
          data-ad-client="ca-pub-8316180472238588"
               data-ad-slot="4893872379"></ins>
               <script>
               (adsbygoogle = window.adsbygoogle || []).push({});
               </script>
{/literal*}
{*literal}
<script async
src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:block"
data-ad-format="autorelaxed" data-ad-client="ca-pub-8316180472238588"
data-ad-slot="9757457613"></ins>
<script>
(adsbygoogle = window.adsbygoogle ||
[]).push({});
</script>
{/literal*}
                   <h4 style="font-weight: bold;text-decoration: underline;">Useful information about {$ZipCodes.City|lower|capitalize:true}, {$house.state} {$ZipCodes.ZipCode} location:</h4>
            <p style="font-size: 12px;">The population of this area is about {$ZipCodes.Population|number_format}. The Average count of Households in this area is {$ZipCodes.HouseholdsPerZipCode|number_format}. 
            Black population is about {$ZipCodes.BlackPopulation|number_format}, White Population is about {$ZipCodes.WhitePopulation|number_format}, 
            Hispanic Population is about {$ZipCodes.HispanicPopulation|number_format}, Asian Population is about {$ZipCodes.AsianPopulation|number_format},
            Hawaiian Population is about {$ZipCodes.HawaiianPopulation|number_format},
            Indian Population is about {$ZipCodes.IndianPopulation|number_format},
            Other Population is about {$ZipCodes.OtherPopulation|number_format}.
            Average Houses in this area is {$ZipCodes.AverageHouseValue|number_format}. Average Income per Household is ${$ZipCodes.IncomePerHousehold|number_format}.
            Median Age of population is {$ZipCodes.MedianAge} years.</p>    
 <h4 style="font-weight: bold;text-decoration: underline;">{if $house.address}{$house.address},{else}Listing #00{$house.ID}{/if} {$house.city}, {$house.state} {$house.zip} on the Map:</h4> 
  
 <div id="map_canvas" style="width: 700px; height: 350px;"></div>
  <div>
    <input id="address" type="hidden" value="{if $house.address}{$house.address}, {/if}{$house.city}, {$house.state} {$house.zip}">
  </div>
   <h4 style="font-weight: bold;text-decoration: underline;">Listing #{$house.ID} on Google Street View:</h4> 
  
  <div id="pano" style="width: 700px; height: 350px;floar:right;"></div>

 <div class="clearfix"></div>                                              

            <hr></hr>
            <div class="entry-utility">
               <div style="float:left;width: 500px;">
               <p style="font-size: 11px;text-align: justify;">
               <strong>NOTE:</strong> Information about {if $house.type}{$house.type} {/if}property that situated on {$house.address}, {$house.city}, {$house.state} {$house.zip} was got from sources deemed reliable, 
               however FreeRealEstateResources.com can't give warranty about listing details like  price, agent contact information, 
               property facts and status (foreclosed or not) because this information can be changed or withdrawal without notice. 
               If You want to get more details about property please feel free to contact directly with this listing Agent or with property Owner. <br/>
               If you want to report about error or additional information about currect listing - Please <a class="modalbox" href="#inline">click here</a>.
               </p>
               </div>
               <div style="float:right;width: 212px;margin-top: 0px;">
 {if $house.sale_status!=1}              <h4 style="font-weight: bold;text-decoration: underline;margin-top: 0px;">Realtor Info</h4>
               <p style="font-size: 11px;">
              {if $agent.name}Agent Name: {$agent.name}<br/>{/if}
              {if $agent.address}Address: {$agent.address}, {/if} 
              {if $agent.city}{$agent.city}, {/if} 
              {if $agent.state}{$agent.state} {/if} 
              {if $agent.zip}{$agent.zip}<br/>{/if} 
              {if $agent.company_name}Company Name: {$agent.company_name}<br/>{/if}
              {if $agent.phone}Phone#: {$agent.phone}<br/>{/if}
              {if $agent.fax}Fax#: {$agent.fax}<br/>{/if}
              {if $agent.email}Email: {$agent.email}<br/>{/if}</p>
 {/if}             
               </div>
            </div>
             <div class="clearfix"></div> 
            <h3>Categories</h3>
                              <ul style="width: 700px;">
                            {foreach from=$categories item=category}
                            <li style="padding: 10px;list-style: none;float:left;"><a title="{$category.description}" href="{$HTTP_HOST}{$category.name}">{$category.description}</a></li>
                            {/foreach}
            </ul>

        </div><!-- #post-## -->


            </div><!-- #content -->

        </div>
    </div>
        <div style="" id="leftCol" class="shadow" style="float:right;">
        
        <div id="primary" class="widget-area">
            <ul class="xoxo">
        {*<li id="tag_cloud-2" class="widget-container widget_tag_cloud">
<div style="padding-left: 7px;">      
</div>
<h3>Search Real Estate in {if $city}{$city|lower|capitalize:true}, {/if}{$state_info.state_name}</h3>
<form  id="search-form" class="search" action="{$HTTP_HOST}{$category.name}" method="get">
            <table width="98%" cellpadding="0" cellspacing="0" border="1" style="font-family: Arial, Tahoma, sans-serif; font-size: 12px;">
                <tr>
                    <td>Address:  <br/><input type="text" id="search-by-address" name="Address" style="width: 94%;" value=""/></td>       
                </tr>
                <tr>
                    <td>City:  <br/><input type="text" id="search-by-address" name="Address" style="width: 94%;" value=""/></td>       
                </tr>
        <tr>
           <td  align="left">State:<br /> 
                        <select name="States" id="States">
                        <option value="state">Select State</option>
                         {foreach from=$states item=state1}
                         <option value="{$state1.state_name}"{if $house.state==$state1.state_name}  selected="selected"{/if}>{$state1.state_name}</option>
                         {/foreach}
                        </select>
            </td>
         </tr>
                    <tr>
                    <td><strong>{$state_info.state_desc} MLS# search:</strong> <br/> <input type="text" name="MlsId" id="search-by-mls-id" style="width: 94%;" value=""/></td>
                    </tr>
             
                <tr>
                    <td align="right"> <br/>
                    <input type="hidden" name="States" value="{$state_info.state_name}"/>
                   {if $city|lower|capitalize:true} <input type="hidden" name="City" value="{$city|lower|capitalize:true}"/>{/if}
                        <input type="submit" class="btn" name="Search" value="Search"/>
                    </td>
                </tr>   
                
            </table>
            </form>
            </li>*}
            <li>
{*literal}
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- FRER-listing-left2 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:160px;height:600px"
          data-ad-client="ca-pub-8316180472238588"
               data-ad-slot="3473772526"></ins>
               <script>
               (adsbygoogle = window.adsbygoogle || []).push({});
               </script>
{/literal*}
        </li>               
        <li> 
        {if $related_houses}                    
        <h3>Related Houses:</h3>
        <ul style="clear:both;margin:0px;padding: 0px;list-style: none outside none;">
        {foreach from=$related_houses item=related_house}
        <li style="width: 165px;float:left;">
           <a style="margin-left: 0px;" title="{$related_house.address}, {$related_house.city}, {$related_house.state} {$related_house.zip}{if $related_house.type} {$related_house.type}{/if}{if $related_house.status_type} {$related_house.status_type}{/if}" href="{$HTTP_HOST}listing{$DELIMITER}{$related_house.ID}.html">
           <img alt="{$related_house.address|escape:'htmlall'}, {$related_house.city}, {$related_house.state} {$related_house.zip}" width="150px" style="border: 1px solid #CCCCCC;padding: 3px;" src="{if $related_house.image_thumb&&$related_house.image_url}{$HTTP_IMG}{$related_house.image_thumb}{elseif $related_house.image_url}{$HTTP_IMG}{$related_house.image_url}{else}{$HTTP_STATIC}NA.jpg{/if}" />
           </a><span style="font-size: 11px;">{$related_house.address} {if $related_house.price}<br/> Price: {$related_house.price}</span>{/if}
           <br/><span style="font-size: 9px;">{if $related_house.last_update} Updated: {$related_house.last_update|date_format:"%a %B %d, %Y"}{/if}</span><br/>
         </li>
        {/foreach}
    </ul>
        {/if} 
</li>
                        
            </ul>
        </div><!-- #primary .widget-area -->
    
</div>
    <div id="footer" class="clearfix" style="margin-left:0px;">
        <div id="colophon">
            <div id="site-info">
                &copy; 2012 <a href="{$HTTP_HOST}" title="Free Foreclosure Listings" rel="home">FreeRealestateResources.com</a>
            </div><!-- #site-info -->
            <div id="privacy-info">
            </div>

        </div><!-- #colophon -->
    </div>
    <script type="text/javascript">
{literal}
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-35590405-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
  {/literal}
</script>
</div>
<div id="inline">
    <h2>Report About Real estate listing #{$house.ID}</h2>

    <form id="contact" name="contact" action="#" method="post">
        <label for="name">Your Name*:</label>
        <input type="text" id="name" name="name" class="txt"/>
        <br/>
        <label for="email">Your E-mail*:</label>
        <input type="text" id="email" name="email" class="txt"/>
        <br/>
        <label for="msg">Enter a Message*:</label>
        <textarea id="msg" name="msg" class="txtarea"></textarea>
        * - required fields
        <input type="hidden" id="pid" name="pid" class="txt" value="{$house.ID}"/>
        <button id="send">Send E-mail</button>
    </form>
</div>

<script type="text/javascript">
{literal}
    function validateEmail(email) { 
        var reg = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
        return reg.test(email);
    }

    $(document).ready(function() {
        $(".modalbox").fancybox();
        $("#contact").submit(function() { return false; });

        
        $("#send").on("click", function(){
            var nameval  = $("#name").val();
            var emailval  = $("#email").val();
            var msgval    = $("#msg").val();
            var msglen    = msgval.length;
            var namelen   = nameval.length;
            var mailvalid = validateEmail(emailval);
            
            if(nameval == '') {
                alert("asdasdasdasdas1");
                $("#name").addClass("error");
            }
            if(namelen < 4) {
                alert("asdasdasdasdas12");
                $("#nameval").addClass("error");
            }
            if(mailvalid == false) {
                $("#email").addClass("error");
            }
            else if(mailvalid == true){
                $("#email").removeClass("error");
            }
            
            if(msglen < 4) {
                $("#msg").addClass("error");
            }
            else if(msglen >= 4){
                $("#msg").removeClass("error");
            }
            if(mailvalid == true && msglen >= 4 && namelen >= 4) {
                // if both validate we attempt to send the e-mail
                // first we hide the submit btn so the user doesnt click twice
                $("#send").replaceWith("<em>sending...</em>");
                
                $.ajax({
                    type: 'POST',
                    url: '/sendmessage.php',
                    data: $("#contact").serialize(),
                    success: function(data) {
                        if(data == "true") {
                            $("#contact").fadeOut("fast", function(){
                                $(this).before("<p><strong>Success! Your feedback has been sent, thanks :)</strong></p>");
                                setTimeout("$.fancybox.close()", 1000);
                            });
                        }
                    }
                });
            }
        });
    });
    {/literal}
</script>
<script type="text/javascript">
{literal}
$('#images_thumbnails a').click(function(){
      var newImageSrc = $(this).attr('href');
      //alert(newImageSrc);
      $('#images_full img').attr({'src': newImageSrc });
      return false;
    });
{/literal}
</script>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit