| 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/imobles/application/plugins/module_imobles/views/listings/ |
Upload File : |
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-body">
<form action="{U}{if isset($client)}{'client/'}{/if}module_imobles/listings/listAll" method="post" id="form-filter" class="search">
<input type="hidden" name="status" value="{if isset($filter['status'])}{$filter['status']}{/if}">
<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-6 margin-10px0">
<div class="row">
<div class="col-md-12 ">
<label class="control-label" > {$_L['module imobles enterprise']} </label>
</div>
<div class="col-md-12 ">
<select name="module_imobles_enterprise_id[]" multiple="" id="module_imobles_enterprise_id" class="form-control ">
{if isset($module_imobles_enterprise)}
{foreach $module_imobles_enterprise as $c}
<option selected="" value="{$c->id}">{$c->name} {if not empty($c->alias)} - ({$c->alias}){/if}</option>
{/foreach}
{/if}
</select>
</div>
</div>
</div>
<div class="col-xs-12 col-md-6 margin-10px0">
<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>
<div class="row">
<br/>
<div class="col-md-8">
<div class="input-group">
<input type="text" name="search" class="form-control"
placeholder="{$_L['module imobles search']}"
{if isset($filter['search'])} value="{$filter['search']}"{/if}>
<span class="input-group-btn">
<button type="submit" class="btn btn-primary"><i class="fa fa-search"></i></button>
</span>
</div>
<div class="help-block">{$_L['module_imobles serach word separte ;']}</div>
</div>
<div class="col-xs-6 col-md-2">
<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-12 col-md-4 margin-10px0">
<label class=" control-label" >
<input type="checkbox" {if isset($filter['review_type']) && $filter['review_type'] == 1}checked{/if} id="review_type_checkbox" name="review_type" value="1">
{$_L['module imobles typeunity review type']}
</label>
</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/listings/listAll/'}
{$paginator->paginate($url)}
</ul>
</div>
</div>
<a href='#' id='review_listings' class="btn btn-success btn-xs " ><i class='fa fa-retweet '></i> {$_L['module imobles review listings']}</a>
<table class="table table-bordered table-hover top10 sys_table footable" data-filter="#foo_filter" data-page-size="50">
<thead>
<tr>
<th class='check_all'><input id='check_all' type='checkbox' class='check_all'></th>
<td><i class="fa fa-ellipsis-v"></i></td>
<th style="width:220px">{$_L['Image']} </th>
<th>{$_L['module imobles enterprise']} </th>
<th>{$_L['module imobles name advertise']} </th>
<th>{$_L['Value']} </th>
<th>{$_L['Date Created']}</th>
<th>{$_L['module imobles date last update']}</th>
<th class="text-center">{$_L['module imobles merge type']}</th>
<th class="text-center">{$_L['module imobles listing']}</th>
</tr>
</thead>
<tbody>
{if count($listing) > 0}
{foreach $listing as $d}
<tr style="">
<td data-id='{$d['id']}' class=" select_listing vertical-middle">
<br> <br>
<input id='listing_{$d['id']}' data-enterprise-id="{$d['enterprise_id']}" class="all_check_listing select_listing" data-name='{$d['name']}' data-id='{$d['id']}' data-crawler_listing_id='{$d['crawler_listing_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="{$d['id']}" href="{$_url}{if isset($client)}{'client/'}{/if}module_imobles/listings/edit/{$d['id']}"><i class="fa fa-edit"></i> {$_L['Edit']}</a></li>
</ul>
</div>
</td>
<td data-id='{$d['id']}' class="">
{if $d['images']}
<ul class="bxslider">
{foreach $d['images'] as $im}
<li>
<center> <img style='max-width:205px; max-height:150px' src="{APP_URL}/application/plugins/module_imobles/uploads/enterprise/{$im->module_imobles_enterprise_id}/images/{$im->src}" /></center></li>
{/foreach}
</ul>
{else}
{$_L['module imobles wihout images']}
{/if}
</td>
<td > {$d['enterprise_name']}</td>
<td data-id='{$d['id']}' data-title="{$d['name']}" data-content='{$_L['module imobles tot listing']}: {$d['total_listing']}<br/> {$d['phones_desc']}<br/>{$_L['module imobles license number']} {$d['licenseNumber']} <br/> {if empty($d['websiteUrl'])}{else} <a href="{$d['websiteUrl']}" target="_blank" >{$d['websiteUrl']}</a> <br/>{/if}<i class="fa fa-calendar"></i> {date( 'd/m/Y H:i:s', strtotime($d['crawler_createdDate']))} <br/><b>{$_L['Value']} {$d['crawler_price_desc']}</b>' class="popoverDetailListing popoverDetailListing_{$d['id']}"> <br/> <br/>{$d['name']}</td>
<td data-id='{$d['id']}' class="select_listing" data-content="{$d['description']}" data-title="{$d['title']}" class="popoverDetailListing"> <br/><br/>{number_format($d['crawler_price'], 2, $_c['dec_point'], $_c['thousands_sep'])}</td>
<td data-id='{$d['id']}' class="select_listing"><br/><br/>{date( 'd/m/Y H:i:s', strtotime($d['crawler_createdAt']))}</td>
<td data-id='{$d['id']}' class="select_listing"><br/><br/>{date( 'd/m/Y H:i:s', strtotime($d['crawler_updatedAt']))}</td>
<th class="text-center">{$d['merge_type_desc']}</th>
<td class="text-center">
{if $d['crawler_portal'] == 'VIVAREAL'}
{$portal = 'https://vivareal.com.br'}
{elseif $d['crawler_portal'] == 'GRUPOZAP'}
{$portal = 'https://zapimoveis.com.br'}
{else}
{$portal = ''}
{/if}
<a href='{$portal}{$d['crawler_listing_link']}' target='_blank'>{$_L['View']}</a>
<br/>
<br/>
<a href="#" data-text="{$_L['module imobles name advertise']} :{$d['name']}<br/> {$_L['Value']} : {number_format($d['crawler_price'], 2, $_c['dec_point'], $_c['thousands_sep'])}" data-id='{$d['id']}' class="btn btn-xs btn-danger desactive_listing"><i class="fa fa-times" data-toggle="tooltip" title="{$_L['module imobles desactive']}"></i> </a>
</td>
</tr>
{/foreach}
{else}
<tr>
<td colspan="8">
{$_L['No_Records_Found']}
</td>
</tr>
{/if}
</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="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>