| Server IP : 162.214.74.102 / Your IP : 216.73.216.192 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/www/lrsys_apps/leo/application/plugins/module_imobles/views/enterprises/ |
Upload File : |
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-body">
<a href="{$_url}{if isset($client)}{'client/'}{/if}module_imobles/enterprises/add" class="btn btn-success">
<i class="fa fa-plus"></i> {$_L['module imobles Add enterprise']}
</a>
<div class="pull-right">
<a href="{$_url}{if isset($client)}{'client/'}{/if}module_imobles/enterprises/import_csv/" class="btn btn-primary">
<i class="fa fa-upload"></i> {$_L['Import']} CSV
</a>
<a href="{$_url}{if isset($client)}{'client/'}{/if}module_imobles/enterprises/exportRelevanceCSV/" class="btn btn-primary">
<i class="fa fa-download"></i> {$_L['module imobles enterprise relevance export']}
</a>
<a href="{$_url}{if isset($client)}{'client/'}{/if}module_imobles/enterprises/importRelevanceCSV/" class="btn btn-primary">
<i class="fa fa-upload"></i> {$_L['module imobles enterprise relevance import']}
</a>
</div>
</div>
<div class="panel-body">
<form action="{U}{if isset($client)}{'client/'}{/if}module_imobles/enterprises/listAll" method="post" id="form-filter" class="search">
<input type="hidden" id="clear_filter" name="clear_filter" value="0">
<input type="hidden" name="items_per_page" value="{if isset($filter['items_per_page'])}{$filter['items_per_page']}{/if}">
<div class="row">
<div class="col-xs-12 col-md-3">
<div class="row">
<div class="col-md-12 ">
<label> {$_L['module imobles standard']} </label>
</div>
<div class="col-md-12 ">
<select class="form-control" style="width:100%" id="module_imobles_enterprise_standard_id" name="module_imobles_enterprise_standard_id">
{if $enterprise_standard}
<option value="{$enterprise_standard->id}" selected >{$enterprise_standard->name}</option>
{/if}
</select>
</div>
</div>
</div>
<div class="col-xs-12 col-md-3">
<div class="row">
<div class="col-md-12 ">
<label class="control-label" > {$_L['module_imobles_source_crawler']} </label>
</div>
<div class="col-md-12 ">
<select name="crawler_type_id[]" multiple="" id="crawler_type_id" class="form-control ">
{if isset($crawler_type)}
{foreach $crawler_type as $c}
<option selected="" value="{$c->id}">{$c->name}</option>
{/foreach}
{/if}
</select>
</div>
</div>
</div>
<div class="col-xs-12 col-md-1">
<div class="row">
<div class="col-md-12 ">
<label> {$_L['Type']} </label>
</div>
<div class="col-md-12 ">
<select class="form-control" style="width:100%" id="enterprise_type" name="enterprise_type">
<option value="all" {if isset($filter['enterprise_type']) && $filter['enterprise_type'] == 'all'}selected{/if}>{$_L['All']}</option>
<option value="HOME" {if isset($filter['enterprise_type']) && $filter['enterprise_type'] == 'HOME'}selected{/if}>{$_L['module_imobles_enterprise_type_home']}</option>
<option value="APARTMENT" {if !isset($filter['enterprise_type']) || $filter['enterprise_type'] == 'APARTMENT' || $filter['enterprise_type'] == ''}selected{/if}>{$_L['module_imobles_enterprise_type_apartment']}</option>
</select>
</div>
</div>
</div>
{*
<div class="col-sm-12 col-md-2 ">
<label class="control-label" >
{$_L['module imobles stage']}
</label>
<select name="status" class="form-control ">
<option value="" {if $filter['status']==''}selected{/if}> {$_L['All']}</option>
<option value="In Works" {if $filter['status']=='In Works'}selected{/if}> {$_L['In Works']}</option>
<option value="Ready to move in" {if $filter['status']=='Ready to move in'}selected{/if}> {$_L['Ready to move in']}</option>
<option value="Lauch" {if $filter['status']=='Lauch'}selected{/if}> {$_L['Lauch']}</option>
<option value="Pre Launch" {if $filter['status']=='Pre Launch'}selected{/if}> {$_L['Pre Launch']}</option>
</select>
</div>
*}
<div class="col-sm-12 col-md-2">
<label class="control-label" for="title">
{$_L['module imobles enterprise price type']}
</label>
<select name="price_type" id="price_type" class="form-control " >
<option value="all" {if !isset($filter['price_type']) || $filter['price_type'] == 'all'}selected{/if}>{$_L['module_imobles_source_all']}</option>
<option value="normal" {if !empty($filter["price_type"]) && $filter["price_type"] == 'normal' }selected{/if}>Normal</option>
<option value="price_on_request" {if !empty($filter["price_type"]) && $filter["price_type"] == 'price_on_request'}selected{/if}> {$_L['module imobles enterprise price_on_request']}</option>
<option value="undisclosed_price" {if !empty($filter["price_type"]) && $filter["price_type"] == 'undisclosed_price'}selected{/if}> {$_L['module imobles enterprise undisclosed_price']}</option>
</select>
</div>
<div class="col-md-2 col-xs-12">
<div class="input-group">
<label class="control-label" >{$_L['module_imobles Order by']}</label>
<select class="form-control" name="order">
<option {if $filter['order'] == ''}selected="selected"{/if} value="">{$_L['Neighborhood']}</option>
<option {if $filter['order'] =='listing_gt' }selected="selected"{/if} value="listing_gt">{$_L['module imobles listing_gt']}</option>
<option {if $filter['order'] == 'name'}selected="selected"{/if} value="name">{$_L['module imobles entreprise name']}</option>
</select>
</div>
</div>
<div class="col-md-1 margin-10px0">
<br/>
<label class=" control-label">
<input type="checkbox" {if isset($filter['imobles_client']) && $filter['imobles_client'] == 1}checked{/if} id="imobles_client" name="imobles_client" value="1">
{$_L['module imobles imobles client']}
</label>
</div>
</div>
<div class="row">
<br/>
<div class="col-md-6 col-xs-12">
<label class="control-label" >{$_L['Search']}</label>
<div class="input-group">
<input type="text" name="search" class="form-control enterSubmit"
placeholder="{$_L['module_imobles Search by name or construction']}"
{if isset($filter['search'])} value="{$filter['search']}"{/if}>
<span class="input-group-btn">
<a class="btn btn-success col-xs-12 " id="filter-post" href="#">
<i class="fa fa-search"></i></a>
</span>
</div>
</div>
<div class="col-md-1 ">
<label> {$_L['module_imobles verify yes']} </label>
<select class="form-control" style="width:100%" id="verify" name="verify">
<option value="all" {if !isset($filter['verify']) || $filter['verify'] == 'all'}selected{/if}>{$_L['module_imobles_source_all']}</option>
<option value="1" {if isset($filter['verify']) && $filter['verify'] == 1}selected{/if}>{$_L['module_imobles verify yes']}</option>
<option value="2" {if isset($filter['verify']) && $filter['verify'] == 2}selected{/if}>{$_L['module_imobles verify no']}</option>
</select>
</div>
<div class="col-md-1 ">
<label> {$_L['module imobles site_enabled']} </label>
<select class="form-control" style="width:100%" id="site_enabled" name="site_enabled">
<option value="all" {if !isset($filter['site_enabled']) || $filter['site_enabled'] == 'all'}selected{/if}>{$_L['module_imobles_source_all']}</option>
<option value="yes" {if isset($filter['site_enabled']) && $filter['site_enabled'] == 'yes'}selected{/if}>{$_L['module imobles published']}</option>
<option value="no" {if isset($filter['site_enabled']) && $filter['site_enabled'] == 'no'}selected{/if}>{$_L['No']} {$_L['module imobles published']}</option>
</select>
</div>
<div class="col-md-1 ">
<label> {$_L['module imobles sanitized']} </label>
<select class="form-control" style="width:100%" id="sanitized" name="sanitized">
<option value="all" {if !isset($filter['sanitized']) || $filter['sanitized'] == 'all'}selected{/if}>{$_L['module_imobles_source_all']}</option>
<option value="yes" {if isset($filter['sanitized']) && $filter['sanitized'] == 'yes'}selected{/if}>{$_L['module imobles sanitized']}</option>
<option value="no" {if isset($filter['sanitized']) && $filter['sanitized'] == 'no'}selected{/if}>{$_L['No']} {$_L['module imobles sanitized']}</option>
</select>
</div>
<div class="col-md-1 ">
<label>{$_L['module imobles has ri']} </label>
<select class="form-control" style="width:100%" id="has_ri" name="has_ri">
<option value="all" {if !isset($filter['has_ri']) || $filter['has_ri'] == 'all'}selected{/if}>{$_L['module_imobles_source_all']}</option>
<option value="yes" {if isset($filter['has_ri']) && $filter['has_ri'] == 'yes'}selected{/if}>{$_L['Yes']}</option>
<option value="no" {if isset($filter['has_ri']) && $filter['has_ri'] == 'no'}selected{/if}>{$_L['No']}</option>
</select>
</div>
<div class="col-md-1 ">
<label>{$_L['module imobles estimated price']} </label>
<select class="form-control" style="width:100%" id="estimated_price" name="estimated_price">
<option value="all" {if !isset($filter['estimated_price']) || $filter['estimated_price'] == 'all'}selected{/if}>{$_L['module_imobles_source_all']}</option>
<option value="yes" {if isset($filter['estimated_price']) && $filter['estimated_price'] == 'yes'}selected{/if}>{$_L['Yes']}</option>
<option value="no" {if isset($filter['estimated_price']) && $filter['estimated_price'] == 'no'}selected{/if}>{$_L['No']}</option>
</select>
</div>
<div class="col-md-1 ">
<label>{$_L['module imobles pre-launch']} </label>
<select class="form-control" style="width:100%" id="pre_launch" name="pre_launch">
<option value="all" {if !isset($filter['pre_launch']) || $filter['pre_launch'] == 'all'}selected{/if}>{$_L['module_imobles_source_all']}</option>
<option value="yes" {if isset($filter['pre_launch']) && $filter['pre_launch'] == 'yes'}selected{/if}>{$_L['Yes']}</option>
<option value="no" {if isset($filter['pre_launch']) && $filter['pre_launch'] == 'no'}selected{/if}>{$_L['No']}</option>
</select>
</div>
</div>
<div class='row'>
<div class="col-md-6 col-sm-12 col-xs-12 margin-10px0">
<div class='row list_address'>
{if isset($filter['address'])}
{foreach $filter['address'] as $ad}
<div class='col-md-12 data_address'>
<input type="hidden" name="address_neighborhood[]" value='{if isset($ad['address_neighborhood'])}{$ad['address_neighborhood']}{/if}' class="form-control" maxlength="100"/>
<input type="hidden" name="address_log[]" value='{if isset($ad['address_log'])}{$ad['address_log']}{/if}' class="form-control" maxlength="100"/>
<input type="hidden" name="address_number[]" value="{if isset($ad['address_number'])}{$ad['address_number']}{/if}" class="form-control" maxlength="100"/>
<input type="hidden" value="{if isset($ad['address_zip'])}{$ad['address_zip']}{/if}" name="address_zip[]" class=" form-control">
<input type="hidden" value="{if isset($ad['address_state'])}{$ad['address_state']}{/if}" name="address_state[]" class=" form-control">
<input type="hidden" value="{if isset($ad['address_city'])}{$ad['address_city']}{/if}" name="address_city[]" class=" form-control">
<input type="hidden" value="{if isset($ad['address_desc'])}{$ad['address_desc']}{/if}" name="address_desc[]" class=" form-control">
<div class='alert alert-danger'>
<i class='fa fa-trash delete_address'></i> {if isset($ad['address_desc'])}{$ad['address_desc']}{/if}
</div>
</div>
{/foreach}
{/if}
</div>
<label class="control-label" for="address">{$_L['Address']}</label>
<input type="text" id="address" onFocus="geolocate()" autocomplete="nope" name="address" value="" class="form-control" maxlength="100"/>
</div>
<div class="col-md-6 col-sm-12 col-xs-12 margin-10px0">
<div>
<label>{$_L['module imobles enterprise_amenities']}</label>
</div>
<div>
<select name="module_imobles_enterprise_amenities[]" id="module_imobles_enterprise_amenities" multiple="" class="form-control ">
{if not empty($module_imobles_enterprise_amenities)}
{$module_imobles_enterprise_amenities}
{/if}
</select>
</div>
</div>
</div>
<div class='row top15'>
<div class="col-xs-4 col-md-2">
<br/>
<a class="btn btn-primary col-xs-12" id="filter-clear" href="#">
<i class="fa fa-eraser"></i> {$_L['Clean Filter']}
</a>
</div>
<div class="col-xs-4 col-md-2 ">
<br/>
<a class="btn btn-success col-xs-12 " id="filter-post" href="#">
<i class="fa fa-search"></i> {$_L['Filtrate']}
</a>
</div>
</div>
</form>
<div class="row">
<br>
<div class="col-md-12"><small>{$_L['Page']} {$paginator->current_page} de {$paginator->total_pages}.</small></div>
</div>
<div class="row">
<div class="col-md-1">
<div class="dropdown inline margin-10px0">
<select class="form-control input-sm select-custom" id="items_per_page">
<option {if $filter['items_per_page'] == 5}selected="selected"{/if} value="5">5</option>
<option {if $filter['items_per_page'] == 10}selected="selected"{/if} value="10">10</option>
<option {if $filter['items_per_page'] == 50}selected="selected"{/if} value="50">50</option>
<option {if $filter['items_per_page'] == 100}selected="selected"{/if} value="100">100</option>
<option {if $filter['items_per_page'] == 500}selected="selected"{/if} value="500">500</option>
<option {if $filter['items_per_page'] == all}selected="selected"{/if} value="all">Todos</option>
</select>
</div>
</div>
<div class="col-md-11">
<ul class="pagination pagination-xs margin-10px0">
{assign var=url value=U|cat:'module_imobles/enterprises/listAll/'}
{$paginator->paginate($url)}
</ul>
</div>
</div>
<a href='' id='delete_enterprises' style="margin-left:10px" class="btn btn-success pull-right" ><i class='fa fa-trash '></i> {$_L['module imobles delete enteprises']}</a>
<a href='' id='review_enterprise' style="margin-left:10px" class="btn btn-success pull-right" ><i class='fa fa-retweet '></i> {$_L['module imobles review listings']}</a>
<a href='' id='group_entreprise' style="margin-left:10px" class="btn btn-success pull-right" ><i></i> {$_L['module imobles group by enterprise']}</a>
<table id="table-enterprise" class="table table-bordered table-hover sys_table footable" data-filter="#foo_filter" data-page-size="50">
<thead>
<tr>
<th class='check_all_enterprise'><input id='check_all_enterprise' type='checkbox' class='check_all_enterprise'></th>
<td><i class="fa fa-ellipsis-v"></i></td>
<th>{$_L['Name']} </th>
<th>{$_L['module imobles company_construction']}</th>
<th>{$_L['City']}</th>
<th>{$_L['Neighborhood']}</th>
<th>Rua</th>
<th>Nº</th>
<th>{$_L['module imobles standard']}</th>
<th>Google Maps</th>
<th>{$_L['module imobles listings']}</th>
<th>OK</th>
<th>{$_L['module imobles orulo id']}</th>
</tr>
</thead>
<tbody>
{if count($enterprises) > 0}
{foreach $enterprises as $d}
<tr style="
{* {if strtotime($d['date_delivery_1'])>=strtotime(date("Y-m-d"))}background-color:#fabbbb;{/if}*}
{* {if strtotime($d['date_delivery_1'])<strtotime(date("Y-m-d"))}background-color:#b0f6b0;{/if}*}
">
<td data-id='{$d['id']}' class=" select_enterprise vertical-middle">
<input id='listing_enterprise_{$d['id']}' class="all_check_enterprise select_enterprise" data-id='{$d['id']}' type='checkbox'></td>
<td>
<div class="btn-group dropdown">
<button class="btn btn-primary btn-xs dropdown-toggle"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
<i class="fa fa-cog"></i> <span class="caret"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="dropdown-list">
<li><a class="income-edit" data-id="" href="{$_url}{if isset($client)}{'client/'}{/if}module_imobles/enterprises/view/{$d['id']}"><i class="fa fa-eye"></i> {$_L['View']}</a></li>
<li><a class="income-edit" data-id="{$d['id']}" href="{$_url}{if isset($client)}{'client/'}{/if}module_imobles/enterprises/edit/{$d['id']}"><i class="fa fa-edit"></i> {$_L['Edit']}</a></li>
<li><a class="income-edit" data-id="" href="{$_url}{if isset($client)}{'client/'}{/if}module_imobles/enterprises/images/backend/{$d['id']}"><i class="fa fa-image"></i> {$_L['module imobles images Backend']}</a></li>
<li><a class="income-edit" data-id="" href="{$_url}{if isset($client)}{'client/'}{/if}module_imobles/enterprises/images/listing/{$d['id']}"><i class="fa fa-image"></i> {$_L['module imobles images Listing']}</a></li>
<li><a class="income-edit" data-id="" href="{$_url}{if isset($client)}{'client/'}{/if}module_imobles/docs/listAll/enterprise/{$d['id']}"><i class="fa fa-file-archive-o"></i> {$_L['module imobles docs']}</a></li>
<li><a class="alter_enable {if $d['enable']==1}hide{/if} alter_table_{$d['id']}" data-value='1' data-id="{$d['id']}" href="#"><i class="fa fa-thumbs-up"></i> {$_L['module imobles Enable']}</a></li>
<li><a class="alter_enable {if $d['enable']==0}hide{/if} alter_table_{$d['id']}" data-value='0' data-id="{$d['id']}" href="#"><i class="fa fa-thumbs-down"></i> {$_L['module imobles Disable']}</a></li>
<li>
<a class="income-edit" data-id="" href="{$_url}{if isset($client)}{'client/'}{/if}module_imobles/orulo/findOruloIDforEnterpriseTypeUnits/{$d['id']}" target="_blank" {if !$d['orulo_id']}style="color: Grey; text-decoration: line-through;"{/if}>
<i class="fa fa-file-archive-o "></i> {$_L['module imobles orulo find type units']}
</a>
</li>
<li>
<a class="income-edit" data-id="" href="{$_url}{if isset($client)}{'client/'}{/if}module_imobles/dwv/listDWVEnterpriseUnits/{$d['id']}" target="_blank" {if empty($d['dwv_id'])}style="color: Grey; text-decoration: line-through;"{/if}>
<i class="fa fa-file-archive-o " ></i> {$_L['module imobles dwv list enterprise units']}
</a>
</li>
<li>
<a class="income-edit" data-id="" href="{$_url}{if isset($client)}{'client/'}{/if}module_imobles/dwv/updatePrices/{$d['id']}" target="_blank" {if empty($d['dwv_id'])}style="color: Grey; text-decoration: line-through;"{/if}>
<i class="fa fa-file-archive-o " ></i> {$_L['module imobles dwv update units and prices']}
</a>
</li>
<li><a class="delete_record" onclick="ConfirmDelete({$d['id']})" href="#"><i class="fa fa-trash-o"></i> {$_L['Delete']}</a></li>
</ul>
</div>
</td>
<td>{$d['name']}</td>
<td>{$d['company_construction_name']}</td>
<td>{$d['city_name']}</td>
<td>{$d['address_neightborhood']}</td>
<td>{$d['address_log']}</td>
<td>{$d['address_number']}</td>
<td>{$d['desc_entreprise_standard']}</td>
<td>
{if $d['link_google']}
<span><a href="{$d['link_google']}" target="_blank"><button {if $d['google_place_id']}style="background-color: greenyellow;"{/if}><icon class="fa fa-map-marker"></icon></button> </a></span>
{elseif $d['latitude']}
<a href="http://maps.google.com/maps/@?api=1&map_action=pano&viewpoint={$d['latitude']},{$d['longitude']}" target="_blank"><button><icon class="fa fa-map-marker"></icon></button> </a>
{/if}
{if $d['crawler_listing_id']}
<span><a href="https://www.vivareal.com.br/imovel/{$d['crawler_listing_id']}" target="_blank"><button><icon class="fa fa-list"></icon></button></a></span>
{/if}
</td>
<td>
{if $d['showListing']}
{if $d['listing']>0}
<a href="#" data-id="{$d['id']}" class="open_listing btn btn-warning">{$d['listing']} </a>
<a href="{$_url}module_imobles/listings/listAll/{$d["id"]}"><i class='fa fa-link'></i></a>
{else}
-
{/if}
{else}
-
{/if}
</td>
<td>
<i class='fa fa-check' style="color:{if $d['verified']==1}#00ff3c{else}#ddd{/if}" title="{if $d['verified']==1}{$_L['module_imobles verify yes']}{else}{$_L['module_imobles verify no']}{/if}" ></i>
</td>
<td data-id="{$d['id']}">
{if $d['orulo_id']}
{$d['orulo_id']}
{else}
<a data-id="{$d['id']}" href="#" class="alter_oruloID btn btn-warning" title="Alterar ID Órulo">
<i class="fa fa-info-circle" aria-hidden="true"></i>
</a>
{/if}
</td>
</tr>
{/foreach}
{else}
<tr>
<td colspan="8">
{$_L['No_Records_Found']}
</td>
</tr>
{/if}
<form action="{$_url}module_imobles/enterprises/delete" method="post" id="formdelete"></form>
</tbody>
</table>
<div class="row">
<div class="col-md-12">
<ul class="pagination pagination-xs">
{$paginator->paginate($url)}
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="ajax-modal-listing" class="modal container-big fade-scale" data-backdrop="static" tabindex="-1" style="display: none;">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3>{$_L['module imobles listings']}</h3>
</div>
<div class="modal-body">
</div>
<div class="modal-footer">
<a href="#" class="cancel_ajax-modal-listing" data-dismiss="modal"> | {$_L['Close']}</a>
</div>
</div>
{literal}
<script>
// This example displays an address form, using the autocomplete feature
// of the Google Places API to help users fill in the information.
// This example requires the Places library. Include the libraries=places
// parameter when you first load the API. For example:
// <script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&libraries=places">
var placeSearch, autocomplete, dec_autocomplete;
var componentForm = {
number: 'short_name',
route: 'long_name',
locality: 'long_name',
administrative_area_level_1: 'short_name',
country: 'long_name',
zip: 'short_name'
};
function initAutocomplete() {
// Create the autocomplete object, restricting the search to geographical
// location types.
autocomplete = new google.maps.places.Autocomplete(
/** @type {!HTMLInputElement} */(document.getElementById('address')),
{types: ['geocode']});
// When the user selects an address from the dropdown, populate the address
// fields in the form.
autocomplete.addListener('place_changed', fillInAddress);
}
function fillInAddress() {
// Get the place details from the autocomplete object.
var place = autocomplete.getPlace();
var neig = '', log = '', city = '', state = '', number = '', zip = '';
// Get each component of the address from the place details
// and fill the corresponding field on the form.
for (var i = 0; i < place.address_components.length; i++) {
var addressType = place.address_components[i].types[0];
switch (place.address_components[i].types[0]) {
case 'locality':
break;
case 'sublocality_level_1':
neig = place.address_components[i]['long_name'];
break;
case 'route':
log = place.address_components[i]['long_name'];
break;
case 'administrative_area_level_2':
city = place.address_components[i]['long_name'];
break;
case 'administrative_area_level_1':
state = place.address_components[i]['short_name'];
break;
case 'street_number':
number = place.address_components[i]['short_name'];
break;
case 'postal_code':
zip = place.address_components[i]['short_name'];
break;
}
}
var desc = $("#address").val();
$("#address").val("");
$(".list_address").append(
"<div class='col-md-12 data_address'>"
+ '<input type="hidden" name="address_neighborhood[]" value="' + neig + '" class="form-control" maxlength="100"/>'
+ '<input type="hidden" name="address_log[]" value="' + log + '" class="form-control" maxlength="100"/>'
+ '<input type="hidden" name="address_number[]" value="' + number + '" class="form-control" maxlength="100"/>'
+ '<input type="hidden" value="' + zip + '" name="address_zip[]" class=" form-control">'
+ '<input type="hidden" value="' + state + '" name="address_state[]" class=" form-control">'
+ '<input type="hidden" value="' + city + '" name="address_city[]" class=" form-control">'
+ '<input type="hidden" value="' + desc + '" name="address_desc[]" class=" form-control">'
+ "<div class='alert alert-danger'>"
+ "<i class='fa fa-trash delete_address'> </i> "
+ desc
+ '</div>'
+ '</div>'
);
}
// Bias the autocomplete object to the user's geographical location,
// as supplied by the browser's 'navigator.geolocation' object.
function geolocate() {
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(function (position) {
var geolocation = {
lat: position.coords.latitude,
lng: position.coords.longitude
};
var circle = new google.maps.Circle({
center: geolocation,
radius: position.coords.accuracy
});
autocomplete.setBounds(circle.getBounds());
});
}
}
</script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDV8EiKB-3-jeqoB9qGR7oeQb-y9kLHoCU&libraries=places&callback=initAutocomplete"
async defer></script>
{/literal}
<div id="listing_view_processing" class="dataTables_processing" style="display: none;"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i><span class="sr-only">Processando...</span></div>
<form id="form_send_msg">
</form>
<form id="form_send_data">
</form>