$inicio="active-trail";
include ("header.php");
if($_GET['id']!="")
{
include("admin/admin/funcionesGenerales.php");
//if(is_int($_GET[id]))
//{
$query="SELECT * FROM noticp_nota a INNER JOIN noticp_imagenes b ON a.id_nota=b.id_nota WHERE a.id_nota=".$_GET['id'].";";
//print $query;
$rest=$base->consulta($query);
$datos=$base->obtenerArreglo($rest, MYSQLI_ASSOC);
/*}
else
{
header('Location: index.php');
exit();
}*/
}
else
{
header('Location: index.php');
exit();
}
//$file = 'noticia1.html';
?>