| Server IP : 162.214.74.102 / Your IP : 216.73.216.252 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 : |
{$action = 'update'}
{$title_action = $_L['module imobles edit photo']}
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3>{$title_action}</h3>
</div>
<div class="modal-body">
<form class="form-horizontal push-10" id="form-post-edit-image" method="post" onsubmit="return false;">
<input name="id" type="hidden" value="{$image->id}">
<input name="image_orig" id="image_orig" type="hidden" value="{APP_URL}/application/plugins/module_imobles/uploads/{if $image->type=='neighborhood'}neighborhood/{$image->neighborhood_id}{else}enterprise/{$image->module_imobles_enterprise_id}{/if}//images/{$image->src}">
<input name="new_image" id="new_image" type="hidden" value="">
<div class="form-company_construction row">
<div class="col-xs-12 col-md-10" style="overflow: auto;" >
<div style="overflow:hidden; z-index:1; width:{$width}px; height:{$height}px;" id="img-cropie">
</div>
</div>
<div class="col-xs-12 col-md-2 ">
<label class="control-label" >
{$_L['module imobles default_crop']}
</label>
<select name="sizecrop" id="sizecrop" class="form-control ">
<option value="0" > {$_L['Select']}</option>
{if not empty($cropdefaul)}
{foreach $cropdefaul as $m}
<option value="{$m->id}" data-height='{$m['height']}' data-width='{$m['width']}' > {$m->title}</option>
{/foreach}
{/if}
<option value="-1" > {$_L['Other']}</option>
</select>
<label class="control-label area_crop_insert hide" >
{$_L['module imobles area crop']}
</label>
<div class="row area_crop_insert hide">
<div class="col-xs-12">
<input style="padding: 6px 6px;" class="size" size="6" maxlength="4" id="width" name="width" value="{$width}">
x <input style="padding: 6px 6px;" class="size" id="height" size="6" maxlength="4" name="height" value="{$height}">
</div>
</div>
<label class=" control-label" >{$_L['module imobles aqua mark']}</label>
<br/>
<input type="checkbox" data-toggle="toggle" data-size="small" data-on="{$_L['Yes']}" data-off="{$_L['No']}" id="mark_water" name="mark_water" value="Y">
{if isset($unit_type_id) && $unit_type_id>0}
<label class="" >{$_L['module imobles link image to this unit type']}</label>
<br/><input type="checkbox" {if $image->unit_type_id>0}checked{/if} data-toggle="toggle" data-size="small" data-on="{$_L['Yes']}" data-off="{$_L['No']}" id="link_image_type_unity" name="link_image_type_unity" value="Y">
<input id="unit_type_id" name="unit_type_id" value="{$unit_type_id}" type="hidden">
<br/>
{/if}
<label class="control-label" >
{$_L['Description']}
</label>
<span class="help-block"> {$_L['module imobles Legend mini']} </span>
<textarea class="form-control" id="description" name="description" maxlength="60"
rows="2">{$image->description}</textarea>
{* {if $form=='enterprise'}*}
<label class="control-label" >
{$_L['module imobles alt text']}
</label>
<textarea class="form-control" name="alt_text" maxlength="125"
rows="2">{$image->alt_text}</textarea>
<label class="control-label" >
{$_L['module imobles order']}
</label>
<input class="form-control number" name="sorder" maxlength="2"
value="{$image->sorder}">
{* {/if}*}
<br/>
<label >{$_L['module imobles tags']}</label>
<select class="form-control" multiple="" id="tags" name="tags[]">
{$selectedTags}
</select>
{if $type=='backend'}
<span class="help-block"><a href="#" id="add_new_enterprise_img_backend_tags">{$_L['module imobles Add new Tag']}</a> </span>
{else}
<span class="help-block"><a href="#" id="add_new_enterprise_img_listing_tags">{$_L['module imobles Add new Tag']}</a> </span>
{/if}
</div>
</div>
</form>
</div>
<div class="modal-footer">
<div style="float: right">
<button class="btn btn-primary submit_edit_image" data-type="save" type="submit">
<i class="fa fa-check"></i> {$_L['Save']}
</button>
<button class="btn btn-primary submit_edit_image" data-type="new" >
<i class="fa fa-check"></i> {$_L['module imobles Save new image']}
</button>
<a href="#" class="cancel_company_construction" data-dismiss="modal"> | {$_L['Or Cancel']}</a>
</div>
<div style="float: right; padding-right: 10px;">
<form id="form-replace-images" >
<input name="type" id="type_form" value="{$type}" type="hidden">
<input name="image_id" value="{$image->id}" type="hidden">
<div style="position:relative;">
<a class='btn btn-warning col-xs-12 col-md-12'>
<i class="fa fa-retweet"></i>
<span class="hidden-xs"> {$_L['module imobles replace image']} </span>
<input type="file" class='' data-toggle="tooltip" data-placement="top" name="file" size="40" onchange='uploadReplaceFile("")'
style='position:absolute; left:0px; width:165px; z-index:2;top:0;filter: alpha(opacity=0);-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";opacity:0;background-color:transparent;color:transparent;'>
</a>
</div>
</form>
</div>
</div>