Mister Spy Say ="Hello Kids ... :D"
___ ____ _ _____
| \/ (_) | | / ___|
| . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _
| |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | |
| | | | \__ \ || __/ | /\__/ / |_) | |_| |
\_| |_/_|___/\__\___|_| \____/| .__/ \__, |
| | __/ |
|_| |___/
Bot Mister Spy V3
Mister Spy
Mister Spy
<?php
class Gallery
{
public $Colums;
public $SizeThumb;
public $SizeMiddle;
public $arrOriginal;
public $arrResized;
public function __construct($Colums = 3,
$SizeThumb = 50,
$SizeMiddle = 170,
$arrOriginal = array(),
$arrResized = array())
{
$this->Colums = $Colums;
$this->SizeThumb = $SizeThumb;
$this->SizeMiddle = $SizeMiddle;
$this->arrOriginal = $arrOriginal;
$this->arrResized = $arrResized;
}
public function Create()
{
?>
<script type="text/javascript">
function ShowImage(id)
{
/*var img_principal = Get('ImagenPrincipal');
img_principal.style.display = 'none';*/
for (var i=0; i<100; i++)
{
var img_ocultar = Get(i + '_G');
if (img_ocultar != undefined)
img_ocultar.style.display = 'none';
}
if (id == 'ImagenPrincipal')
{
var img = Get('ImagenPrincipal');
img.style.display = '';
}
else
{
var img = Get(id + '_G');
img.style.display = '';
}
}
</script>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="350" valign="top">
<div align="left">
<?php
$Create = false;
if ($this->arrOriginal)
{
foreach ($this->arrOriginal as $oImagen)
{
if (file_exists($oImagen->Imagen))
$Create = true;
}
reset($this->arrOriginal);
reset($this->arrResized);
$Create = true;
}
if ($Create)
{
for ($Count=0; $Count<count($this->arrResized); $Count++)
{
$oImagenOriginal = $this->arrOriginal[$Count];
$oImagenResized = $this->arrResized[$Count];
if ($Count == 0)
{
$ImagenPrincipal = $oImagenOriginal->Imagen;
$EpigrafePrincipal = $oImagenOriginal->Epigrafe;
}
?>
<a href="<?=$oImagenOriginal->Imagen?>" title="<?=$oImagenOriginal->Epigrafe?>" class="lightbox group"><img src="<?=($oImagenResized->Imagen != '') ? $oImagenResized->Imagen : 'images/no_foto.jpg'?>" id="<?=$Count?>_G" name="<?=$Count?>_G" width="<?=$this->SizeMiddle?>" height="<?=$this->SizeMiddle?>" border="0" <?= ($Count == 0) ? '' : 'style="display:none;"' ?> /></a>
<span id="<?=$Count?>_Epigrafe" style="display:none;"><br /><?=$oImagenResized->Epigrafe?></span>
<?php
}
?>
<br />
<?php
$i=1;
$Count=0;
reset($this->arrOriginal);
reset($this->arrResized);
?>
</div>
<div>
<table border="0" cellspacing="0" cellpadding="0">
<?php
foreach ($this->arrResized as $oImagenResized)
{
if ($i == 1)
{
?>
<tr>
<td> </td>
</tr>
<tr>
<?php
}
?>
<td valign="top">
<img class="gallery-images" src="<?=($oImagenResized->Imagen != '') ? $oImagenResized->Imagen : 'images/no_foto.jpg'?>" id="<?=$Count?>_C" name="<?=$Count?>_C" width="<?=$this->SizeThumb?>" height="<?=$this->SizeThumb?>" align="top" onclick="ShowImage('<?=$Count?>');" />
</td>
<?php
if ($i == $this->Colums)
{
?>
</tr>
<tr>
<td height="6"></td>
</tr>
<?php
$i=0;
}
else
{
?>
<td width="6"> </td>
<?php
}
$i++;
$Count++;
}
?>
</table>
</div>
<?php
}
else
{
?>
<table>
<tr>
<td>
<img src="<?=Config::ImagenDefault?>" name="ImagenPrincipal" width="<?=$this->SizeMiddle?>" border="0" id="ImagenPrincipal" />
<br /><br />
</td>
</tr>
</table>
</div>
<?php
}
?>
</td>
</tr>
</table>
<?php
}
}
Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat