Mister Spy Say ="Hello Kids ... :D"
___ ____ _ _____
| \/ (_) | | / ___|
| . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _
| |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | |
| | | | \__ \ || __/ | /\__/ / |_) | |_| |
\_| |_/_|___/\__\___|_| \____/| .__/ \__, |
| | __/ |
|_| |___/
Bot Mister Spy V3
Mister Spy
Mister Spy
<?php
require_once('inc_library.php');
require_once('../Connections/cnx.php');
require_once('_admin_/imagenes_conf.php');
require_once('_admin_/imagenes_funcs.php');
/* obtiene datos del formulario */
$calendarioID = intval($_REQUEST['calendarioID']);
$tipoID = intval($_REQUEST['tipoID']);
/* declaracion de variables */
$oCalendarios = new ContenidoCalendarios();
$oCalendarioPruebas = new ContenidoCalendarioPruebas();
/* verifica si existe el registro */
if (!$oCalendario = $oCalendarios->GetById($calendarioID))
exit;
/* obtenemos las pruebas funcionales seleccionadas */
$arrPruebasFuncionales = $oCalendarioPruebas->GetAllByContenidoCalendario($oCalendario);
$Pruebas = '';
foreach ($arrPruebasFuncionales as $oContenidoCalendarioPrueba)
{
if ($Pruebas != '')
$Pruebas .= ", ";
$Pruebas.= $oContenidoCalendarioPrueba->prueba_funcional;
}
$id_galeria = $oCalendario->id_galeria;
function ListarSql($sql, $cnx, $indice = "", $tipo = 0){
$sql_datos = mysql_query($sql, $cnx) or die(mysql_error());
$sql_cantidad = mysql_num_rows($sql_datos);
$resultado = array();
if($sql_cantidad > 0){
if($tipo == 0){
for($i = 0; $registro = mysql_fetch_assoc($sql_datos); $i++){
if($indice != ""){
$resultado[$registro[$indice]] = $registro;
}
else{
$resultado[] = $registro;
}
}
}
else{
$resultado = mysql_fetch_assoc($sql_datos) ;
}
}
return $resultado;
}
$listado = array();
if (isset($id_galeria)) {
$sql = "SELECT * FROM fotos_galerias WHERE id_galeria = '".$id_galeria."' ORDER BY id_foto_galeria ASC";
$listado = ListarSql($sql, $cnx);
$sql = "SELECT * FROM galeria_imagenes WHERE id_galeria = '$id_galeria'";
$datos_galeria = ListarSql($sql, $cnx,'', 1);
$ruta_galeria = $DIR_GALERIA_IMG_FRONT . str_pad($id_galeria, 6, '0', STR_PAD_LEFT);
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:og="http://ogp.me/ns#"
xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<meta name="keywords" content="" />
<meta name="description" content="<?=CortarCadena(strip_tags($oCalendario->programa), 250)?>..." />
<meta property="og:title" content="<?=CambiarFecha($oCalendario->fecha_desde)?> | <?=$oCalendario->nombre?>" />
<meta property="og:type" content="article" />
<meta property="og:url" content="http://www.caballoscriollos.com/espanol/calendario_detalle_pop.php?calendarioID=<?=$calendarioID?>" />
<meta property="og:image" content="http://www.caballoscriollos.com/_recursos/noticias/big/default.jpg" />
<link href="../css/basico_backend.css" rel="stylesheet" type="text/css" />
<link href="../css/calendario.css" rel="stylesheet" type="text/css" />
<script src="../scripts/swfobject_modified.js" type="text/javascript"></script>
<script src="../scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script src="../../Scripts/swfobject_modified.js" type="text/javascript"></script>
<script src="js/jquery.js" type="text/javascript"></script>
<script src="js/basic-jquery-slider.min.js" type="text/javascript"></script>
<link href="../css/basic-jquery-slider-portada.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.colorbox.js"></script>
<link rel="stylesheet" type="text/css" href="../css/colorbox.css"/>
<link rel="stylesheet" href="../css/galleriffic-2.css" type="text/css" />
<script type="text/javascript" src="../js/jquery.galleriffic.js"></script>
<script type="text/javascript" src="../js/jquery.opacityrollover.js"></script>
<script>
$(document).ready(function() {
//$('a.colorbox').colorbox({rel:'group3', transition:"none", width:"95%", height:"95%"});
$('div.navigation').css({'width' : '200px', 'float' : 'left'});
$('div.content').css('display', 'block');
// Initially set opacity on thumbs and add
// additional styling for hover effect on thumbs
var onMouseOutOpacity = 0.67;
$('#thumbs ul.thumbs li').opacityrollover({
mouseOutOpacity: onMouseOutOpacity,
mouseOverOpacity: 1.0,
fadeSpeed: 'fast',
exemptionSelector: '.selected'
});
// Initialize Advanced Galleriffic Gallery
var gallery = $('#thumbs').galleriffic({
delay: 2500,
numThumbs: 4,
preloadAhead: 10,
enableTopPager: true,
enableBottomPager: true,
maxPagesToShow: 7,
imageContainerSel: '#slideshow',
controlsContainerSel: '#controls',
captionContainerSel: '#caption',
loadingContainerSel: '#loading',
renderSSControls: true,
renderNavControls: true,
playLinkText: 'Play Slideshow',
pauseLinkText: 'Pause Slideshow',
prevLinkText: '‹ Previous Photo',
nextLinkText: 'Next Photo ›',
nextPageLinkText: 'Sig ›',
prevPageLinkText: '‹ Ant',
enableHistory: false,
autoStart: false,
syncTransitions: true,
defaultTransitionDuration: 900,
onSlideChange: function(prevIndex, nextIndex) {
// 'this' refers to the gallery, which is an extension of $('#thumbs')
$('.caption-outter').html(this.data[nextIndex].caption[0].innerText);
this.find('ul.thumbs').children()
.eq(prevIndex).fadeTo('fast', onMouseOutOpacity).end()
.eq(nextIndex).fadeTo('fast', 1.0);
},
onPageTransitionOut: function(callback) {
this.fadeTo('fast', 0.0, callback);
},
onPageTransitionIn: function() {
this.fadeTo('fast', 1.0);
}
});
});
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-112666274-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-112666274-1');
</script>
</head>
<body>
<div class="ssi-header">
<?php include('ssi_header.php'); ?>
</div>
<div class="ssi-content">
<ul class="programa galeria">
<li class="titulo">Galeria de Imagenes</li>
<li>
<div id="gallery" class="content">
<div id="controls" class="controls"></div>
<div class="slideshow-container">
<div id="loading" class="loader"></div>
<div id="slideshow" class="slideshow"></div>
</div>
<div id="caption" class="caption-container"></div>
</div>
<div id="thumbs" class="navigation">
<ul class="thumbs noscript">
<?php
foreach($listado as $indice => $row_rsFotos)
{
$ruta_imagen_b = str_pad($id_galeria, 6, '0', STR_PAD_LEFT) . "/b_" . $row_rsFotos['id_foto_galeria'] . ".jpg";
$ruta_imagen_s = $ruta_galeria . "/s_" . $row_rsFotos['id_foto_galeria'] . ".jpg";
if(file_exists($ruta_imagen_s))
{
?>
<li>
<a class="thumb" name="leaf" href="/_recursos/galeria2/<?=$ruta_imagen_b?>" title="<?= $row_rsFotos['epigrafe'] ?>">
<img src="<?=$ruta_imagen_s?>" alt="<?= $row_rsFotos['epigrafe'] ?>" />
</a>
<div class="caption">
<div class="image-title"><?= CortarCadena($row_rsFotos['epigrafe'], 80); ?></div>
<div class="image-desc"></div>
</div>
</li>
<?php
}
}
?>
</ul>
</div>
</li>
</ul>
<div class="caption-outter">
</div>
</div>
</body>
</html>
Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat