shell bypass 403
<style>
@media print {
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
float: left!important;
}
.col-lg-12 {
width: 100%;
}
.col-lg-11 {
width: 91.66666666666666%;
}
.col-lg-10 {
width: 83.33333333333334%;
}
.col-lg-9 {
width: 75%;
}
.col-lg-8 {
width: 66.66666666666666%;
}
.col-lg-7 {
width: 58.333333333333336%;
}
.col-lg-6 {
width: 50%;
}
.col-lg-5 {
width: 41.66666666666667%;
}
.col-lg-4 {
width: 33.33333333333333%;
}
.col-lg-3 {
width: 25%;
}
.col-lg-2 {
width: 16.666666666666664%;
}
.col-lg-1 {
width: 8.333333333333332%;
}
.row {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-right: -15px;
margin-left: -15px;
}
.container {
max-width: 100%;
padding: 0px;
}
}
</style>
<!-- IMPRIMIR FICHA -->
<div class="d-none d-print-block">
<div class="row" style="margin-bottom: 30px;">
<div class="col-lg-3">
<img src="/img/logo.png" width="100%">
</div>
<div class="col-lg-6">
<div class="info-header mt-0">
<div class="row">
<div class="col-lg-12">
<div class="description"><?php echo $inmueble['Inmueble']['titulo_corto']; ?> </div>
<span class="ref">REF. <?php echo $inmueble['Inmueble']['referencia']; ?> </span>
<span class="localidad"><?php echo $localidades[$inmueble['Inmueble']['id_localidad']]; ?></span>
</div>
<div class="col-lg-12 text-right" style="text-align: right;">
<div class="price" style="width: 100%; font-weight: bold;">
<ul>
<li class="price-actual" style="color: #000000;">
<?php
if($inmueble['Inmueble']['precio'] != '0.00') {
echo number_format($inmueble['Inmueble']['precio'],0,",","."); ?> €
<?php
}elseif($inmueble['Inmueble']['precio_alquiler'] != '0.00') {
echo number_format($inmueble['Inmueble']['precio_alquiler'],0,",","."); ?> €
<?php
}else {
echo "A consultar";
}
?>
</li>
<?php
if($inmueble['Inmueble']['precio_anterior'] != '0.00') {
?>
<li class="price-before">
echo number_format($inmueble['Inmueble']['precio_anterior'],0,",",".").'€';
</li>
<?php
}
?>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-3" style="padding-top: 15px;">
<strong>942 722 592</strong>
</div>
</div>
<div class="row">
<div class="col-lg-7">
<img src="<?php echo $inmueble['InmuebleGaleria'][0]['url']; ?>" width="100%" class="img-fluid w-100">
</div>
<div class="col-lg-2">
<?php
$i = 0;
foreach ($inmueble['InmuebleGaleria'] as $galeria) {
if($i != 0) {
?>
<div style="border-radius: 4px; background: #999999;">
<img src="<?php echo $galeria['url']; ?>" width="100%" class="img-fluid w-100" style="margin-bottom:20px;">
</div>
<?php
}
$i++;
if($i == 4) {
break;
}
}
?>
</div>
<div class="col-lg-3">
<div class="content-information">
<div class="row">
<?php
if($inmueble['Inmueble']['salones'] != '0.00') {
?>
<div class="col-lg-12 d-none">
<div class="information-table">
<span class="title">Salones </span> <i class="fa fa-chevron-right"></i>
<?php
echo $inmueble['Inmueble']['salones'];
?>
</div>
</div>
<?php
}
?>
<?php
if($inmueble['Inmueble']['habitaciones'] != '0.00') {
?>
<div class="mb-4 col-lg-12">
<div class="information-table striped">
<img src="/img/frontend/inmueble/bed.png"> <span class="title">Habitaciones</span>
<i class="fa fa-chevron-right"></i> <span class="information-info"><?php echo $inmueble['Inmueble']['habitaciones']; ?></span>
</div>
</div>
<?php
}
?>
<?php
if($inmueble['Inmueble']['banos'] != '0.00') {
?>
<div class="mb-4 col-lg-12">
<div class="information-table striped">
<img src="/img/frontend/inmueble/bathroom.png"> <span class="title">Baños </span>
<i class="fa fa-chevron-right"></i>
<?php
?>
<span class="information-info"><?php echo $inmueble['Inmueble']['banos']; ?></span>
</div>
</div>
<?php
}
?>
<div class="mb-4 d-none">
<div class="information-table striped">
<span class="title">Sup. Útil</span>
<?php
if($inmueble['Inmueble']['superficie_util'] != '0.00') {
echo (int)$inmueble['Inmueble']['superficie_util']; ?> m<sup>2</sup>
<?php
}else {
?>
<i class="fa fa-chevron-right"></i> -
<?php
}
?>
</div>
</div>
<?php
if($inmueble['Inmueble']['nombre_tipo_inmueble'] != 'Terreno') {
?>
<div class="mb-4 col-lg-12">
<div class="information-table striped">
<img src="/img/frontend/inmueble/size.png"> <span class="title">Sup. Construida</span>
<?php
if($inmueble['Inmueble']['superficie_construida'] != '0.00') {
?>
<i class="fa fa-chevron-right"></i>
<span class="information-info"><?php echo (int)$inmueble['Inmueble']['superficie_construida']; ?> m<sup>2</sup></span>
<?php
}else {
?>
<i class="fa fa-chevron-right"></i> -
<?php
}
?>
</div>
</div>
<?php
}else {
?>
<div class="mb-4 col-lg-12">
<div class="information-table striped">
<img src="/img/frontend/inmueble/size.png"> <span class="title">Superficie parcela</span>
<?php
if($inmueble['Inmueble']['superficie_terreno'] != '0.00') {
?>
<i class="fa fa-chevron-right"></i>
<span class="information-info"><?php echo (int)$inmueble['Inmueble']['superficie_terreno']; ?> m<sup>2</sup></span>
<?php
}else {
?>
<i class="fa fa-chevron-right"></i> -
<?php
}
?>
</div>
</div>
<?php
}
if($inmueble['Inmueble']['nombre_tipo_inmueble'] == 'Terreno') {
if ((int)$inmueble['Inmueble']['superficie_terreno'] != (int)$inmueble['Inmueble']['superficie']) {
?>
<div class="mb-4 col-lg-12">
<div class="information-table striped">
<img src="/img/frontend/inmueble/size.png"> <span class="title">Superficie casa</span>
<?php
if($inmueble['Inmueble']['superficie'] != '0.00') {
?>
<i class="fa fa-chevron-right"></i>
<span class="information-info"><?php echo (int)$inmueble['Inmueble']['superficie']; ?> m<sup>2</sup></span>
<?php
}else {
?>
<i class="fa fa-chevron-right"></i> -
<?php
}
?>
</div>
</div>
<?php
}
}
?>
<div class="d-none">
<div class="information-table striped">
<span class="title"> Superficie</span>
<?php
if($inmueble['Inmueble']['superficie'] != '0.00') {
?>
<i class="fa fa-chevron-right"></i>
<?php
echo (int)$inmueble['Inmueble']['superficie']; ?> m<sup>2</sup>
<?php
}else {
?>
<i class="fa fa-chevron-right"></i> -
<?php
}
?>
</div>
</div>
<?php
if($inmueble['Inmueble']['jardin'] == '1') {
?>
<div class="mb-4 col-lg-12">
<div class="information-table striped">
<img src="/img/frontend/inmueble/jardin.png"> <span class="title"> Jardín</span>
<?php
if($inmueble['Inmueble']['jardin'] == '1') {
?>
<i class="fa fa-chevron-right"></i><span class="information-info">Si</span>
<?php
}else {
?>
<i class="fa fa-chevron-right"></i><span class="information-info">No</span>
<?php
}
?>
</div>
</div>
<?php
}
?>
<?php
if($inmueble['Inmueble']['superficie_terreno'] !== '0.00' && $inmueble['Inmueble']['nombre_tipo_inmueble'] != 'Terreno') {
?>
<div class="mb-4 col-lg-12">
<div class="information-table striped">
<img src="/img/frontend/inmueble/size.png"> <span class="title">Superficie Jardín</span>
<i class="fa fa-chevron-right"></i><span class="information-info"><?php echo $inmueble['Inmueble']['superficie_terreno'] - $inmueble['Inmueble']['superficie']; ?> m<sup>2</sup></span>
</div>
</div>
<?php
}
?>
<?php
if($inmueble['Inmueble']['garaje'] == '1') {
?>
<div class="mb-4 col-lg-12">
<div class="information-table striped">
<img src="/img/frontend/inmueble/garaje.png"> <span class="title"> Garaje</span>
<?php
if($inmueble['Inmueble']['garaje'] == '1') {
?>
<i class="fa fa-chevron-right"></i><span class="information-info">Si</span>
<?php
}else {
?>
<i class="fa fa-chevron-right"></i><span class="information-info">No </span>
<?php
}
?>
</div>
</div>
<?php
}
?>
<?php
if($inmueble['Inmueble']['terraza'] == '1') {
?>
<div class="mb-4 col-lg-12">
<div class="information-table striped">
<img src="/img/frontend/inmueble/terraza.png"> <span class="title"> Terraza</span>
<?php
if($inmueble['Inmueble']['terraza'] == '1') {
?>
<i class="fa fa-chevron-right"></i><span class="information-info">Si</span>
<?php
}else {
?>
<i class="fa fa-chevron-right"></i><span class="information-info">No</span>
<?php
}
?>
</div>
</div>
<?php
}
?>
<?php
if($inmueble['Inmueble']['piscina'] == '1') {
?>
<div class="col-lg-12 mb-4">
<div class="information-table striped">
<img src="/img/frontend/inmueble/piscina.png"> <span class="title"> Piscina</span>
<?php
if($inmueble['Inmueble']['piscina'] == '1') {
?>
<i class="fa fa-chevron-right"></i><span class="information-info">Si</span>
<?php
}else {
?>
<i class="fa fa-chevron-right"></i><span class="information-info">No</span>
<?php
}
?>
</div>
</div>
<?php
}
?>
</div>
</div>
</div>
</div>
<div id="info-property">
<div class="content-description">
<h2 class="mt-3">Descripción del inmueble</h2>
<div class="text-description">
<?php echo str_replace("~", "<br>", $inmueble['Inmueble']['descripcion']); ?>
</div>
</div>
</div>
</div>
<!-- IMPRIMIR FICHA -->