[#] hm X_Shell Backd00r [#]
<?php
include('../clase/clases.php');
$instancia_consultas= new ConsultaDatos();
switch($_REQUEST['opc'])
{
case 1: //noticias meses en especifico.
?>
<div id="som" style=" margin-bottom:10px;"><span><?php echo $instancia_consultas->mes($_REQUEST['mes']);?></span></div>
<?php
$noticias_mes_sp=$instancia_consultas->noticias_mes($_REQUEST['mes']);
if(sizeof($noticias_mes_sp)>0){
for($i=0; $i<sizeof($noticias_mes_sp);$i++)
{
?>
<a href="noticia_espe.php?id_not=<?php echo $noticias_mes_sp[$i]['id_noticia']; ?>&iframe=true&width=100%&height=100%" rel="prettyPhoto[iframenotmes]" data-gal="prettyPhoto[iframenotmes]">
<div id="noti_conteiner">
<img src="<?php echo $noticias_mes_sp[$i]['imagen_noticia']; ?>" />
<h4><span><i><?php echo $noticias_mes_sp[$i]['titulo']; ?></i></span></h4>
</div>
</a>
<?php
}
}
else
{
echo "No hay noticias para mostrar";
}
?>
</div>
<?php
break;
}
?>
Mr.hm X_Shell Backd00r 1.0, Coded By Mr.hm X_Shell Backd00r