[#] hm X_Shell Backd00r [#]
<?php
require_once '../models/Fondos.php';
$id_fondo= ($_POST['id_fondo']);
$fondo = new Fondos();
$fondo->establecerOrden($id_fondo);
$fondo->establecerFondo($id_fondo);
// $fondo=Fondos::establecerFondo($id_fondo);
// $fondo=Fondos::recuperarFondo();
$fondo = Fondos::RecuperarImagenes();
foreach($fondo as $item):
if ($item['fnd_activo']=="Activo") {
$estado = " glyphicon-ok";
}else{
$estado = "";
}
echo '
<div class="contend-image" >
<div class="heder-i">
<h2><span class="glyphicon'.$estado.' ok" ></span></h2></div>
<div class="cont-img">
<img src="../../images_fondos/'.$item['nombre_img'].'" whidth="100px" height="100px" ></div>
<div class="footer-i">
<span class=" establecer glyphicon glyphicon-ok-sign pencil" data-id_fondo="'.$item['id_fondo'].'"></span>
<span class=" delete-event glyphicon glyphicon-trash trash" data-id_fondo="'.$item['id_fondo'].'"></span>
</div>
</div>
<div class="separador">
</div>
'; endforeach; echo '
</div>
<div class="separador"></div><br>
</div>
';
?>
Mr.hm X_Shell Backd00r 1.0, Coded By Mr.hm X_Shell Backd00r