| 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/leve/application/plugins/module_imobles/assets/libs/ |
Upload File : |
<html>
<head>
<style>
*{ margin: 0; padding: 0px; }
body {
width: 900px;
font: 22px/1.2 dejavusanscondensed;
}
#page-wrap { width: 900px; margin: 0 auto; }
td.padding{
padding-left: 10px;
}
.border_detail{
border-radius: 8px;
background: #FFF;
min-height: 40px;
margin-top: 15px;
box-shadow: 0 2px 44px 0 rgba(0, 0, 0, 0.3);
font-size: 20px;
padding-top: 10px;
border:1px solid #000;
}
.border_image{
border-radius: 8px;
border: 10px;
margin-top: 50px;
box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.3);
}
td.cor_text{
height: 50px;
padding-top: 8px;
font-size: 18px;
padding-left: 20px;
}
.list_1{
background-image: url('<?php echo APP_URL; ?>/application/plugins/module_imobles/assets/imgs/fundo_1.png');
background-repeat: no-repeat;
background-size: contain;
}
.list_1 .cor_text{
color:#3645a3;
}
.cor_text_1{
color:#3645a3;
padding-left: 10px;
background-color:#daeafb;
padding: 13px 8px 8px 10px;
}
.list_2{
background-image: url('<?php echo APP_URL; ?>/application/plugins/module_imobles/assets/imgs/fundo_2.png');
background-repeat: no-repeat;
background-size: contain;
}
list_2 .cor_text{
color:#6a1b9a;
}
.cor_text_2{
color:#6a1b9a;
padding-left: 10px;
background-color:#e4d0e7;
padding: 13px 8px 8px 10px;
}
.list_0{
background-image: url('<?php echo APP_URL; ?>/application/plugins/module_imobles/assets/imgs/fundo_0.png');
background-repeat: no-repeat;
background-size: contain;
}
.list_0 .cor_text{
color:green;
}
.cor_text_0{
color:green;
padding-left: 10px;
background-color:#c7e5c8;
padding: 13px 8px 8px 10px;
}
td.center{
text-align: center;
}
.cinza{
background-color: #ccc;
}
</style>
</head>
<body style="font-family:dejavusanscondensed">
<div id="page-wrap">
<?php
$id = 0;
foreach ($records as $r) {
?>
<?= $id > 1 && $id % 3 == 0 ? "<pagebreak>" : "" ?>
<?php $id++; ?>
<table style="" width="900px" cellspacing="0" cellpaddins='0'>
<tr>
<td class="cor_text_<?= $id % 3 ?>" >
<b> <?= $id ?></b>: <?= $r->enterprise_name ?> - <?= $r->title ?>
</td>
</tr>
</table>
<div class="list_<?= $id % 3 ?>" style="width: 900px; border:0px solid black" height='430px' >
<table style="" width="900px" height='430px' class="" cellspacing="0" >
<tr>
<td rowspan="2" style="border: 0; padding-top:10px;" width="360px">
<center>
<?php if (@$r->LOGO) { ?>
<img id="image" width="300px" style="max-width:300px; max-height:100px"
src="<?= APP_URL ?>/application/plugins/module_imobles/uploads/enterprise/<?= $r->module_imobles_enterprise_id ?>/images/<?= $r->LOGO->src ?>" alt="logo" />
<?php
} else {
echo "";
}
?>
</center>
</td>
<td style="padding-top: 32px;padding-bottom: 10px;padding-left: 150px" class="" width="540px">
<?= $r->address_neightborhood ?>
</td>
</tr>
<tr>
<td style="padding-top: 30px;padding-bottom: 14px;padding-left: 160px" class="" width="540px">
<?= $r->release_date ? $meses[date("M", strtotime($r->release_date))] . " de " . date(" Y", strtotime($r->release_date)) : ""; ?>
</td>
</tr>
<tr>
<?php if (@$r->CAPA) { ?>
<td rowspan="2" style="padding-bottom: 10px;padding-left:10px;padding-right: 12px; " width="">
<center> <img style="max-width: 310px; max-height:175px" src="<?= APP_URL ?>/application/plugins/module_imobles/uploads/enterprise/<?= $r->module_imobles_enterprise_id ?>/images/<?= $r->CAPA->src ?>" alt="logo" /> </center>
</td>
<?php } else { ?>
<td rowspan="2" style=" border:0px solid black;background-color: #fff " height="315px" width="312px">
</td>
<?php } ?>
<td style="padding-bottom: 10px;padding-top:<?= @$r->CAPA ? 65 : 70 ?>px" width="540px">
<table style="width:100%" class=" ">
<tbody>
<tr>
<td width="85px" class="center"><?= number_format($r->area, 0) ?></td>
<td class="center" width="150px" ><?= $r->number_rooms ?></td>
<td width="130px" class="center"><?= $r->number_suite ?></td>
<td class="center"><?= empty($r->number_garage) || in_array($r->number_garage, array("N/A", null, 0)) ? "Pendente" : $r->number_garage; ?> </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="padding-top:65px">
<table style="width:100%" class="">
<tbody>
<tr>
<td class="center" width='47%'>
<?= $r->min_desc ?>
<br/> </td>
<td class="center">
<?= $config['currency_code'] . " " . number_format($r->min / $r->area, 0, $config['dec_point'], $config['thousands_sep']) ?>
<br/>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<?php if (!empty($r->link_presentation)) { ?>
<td colspan="2" style="border:0 ;padding-left: 180px; padding-top: 29px" class="cor_text">
<a target="_blank" class="cor_text" href="<?= $r->link_presentation ?>">Aperte para mais detalhes</a>
<br/><br/><br/><br/>
</td>
<?php } else if (!empty($r->link_hotsite)) { ?>
<td colspan="2" style="border:0 ;padding-left: 180px; padding-top: 29px" class="cor_text">
<a target="_blank" class="cor_text" href="<?= $r->link_hotsite ?>">Aperte para mais detalhes</a>
<br/><br/><br/><br/>
</td>
<?php } else { ?>
<td style=" border:0px solid black;background-color: #fff ; padding-left: 160px; padding-top: 20px">
<br/><br/><br/><br/>
</td>
<td style="padding-left: -10px; padding-top: -5px">
<table width='200px' style="border:0px solid black;background-color: #fff ">
<tr><td> <br/><br/><br/><br/></td></tr>
</table>
</td>
<?php } ?>
</tr>
</table>
</div>
<?php
}
?>
</div>
</body>
</html>