Gracias hermano, funciona perfectamente.
Un saludo!
Un saludo!
![::) ::)](https://forum.elhacker.net/Smileys/navidad/cool.gif)
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes Menú
<!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">
<head><title>
Jquery Lights Off Experiment
</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$("#the_lights").fadeTo(1, 0);
$(".turnon").hide();
$(".turnoff").click(function () {
$("#the_lights").css({ 'display': 'block' });
$("#the_lights").fadeTo("slow", 0.8);
$(".turnon").show();
$(".turnoff").hide();
});
$(".turnon").click(function () {
$("the_lights").css({ 'display': 'block' });
$("#the_lights").fadeTo("slow", 0);
$(".turnoff").show();
$(".turnon").hide();
});
});
</script>
<style type="text/css">
html
{
width: 100%;
height: 100%;
margin: 0px;
}
#the_lights
{
background-color: #000;
height: 100%;
width: 100%;
position: absolute;
top: 0;
left: 0;
display: none;
z-index: 10;
}
.standout
{
padding: 5px;
background-color: white;
position: relative;
z-index: 20;
width:640px;
height:390px;
margin: 0px auto;
}
.button-standout
{
background-color: White;
position: relative;
z-index: 20;
margin: 0px auto;
width: 100px;
height: 20px;
}
button
{
width: 100px;
height: 20px;
}
</style>
</head>
<body">
<div>
<p>
The Jquery Lights Off effect. This is especially useful when you are watching a
video on a website. If you switch off the lights, the surroundings of the video
will go dark and it will seem like you are watching a movie in a theater.</p>
</div>
<div id="a" class="button-standout">
<button id="turnoff" class="turnoff" name="turnofflights">
Lights Off</button>
<button id="turnon" class="turnon" name="turnonlights">
Lights On</button></div>
<div id="standout" class="standout" align="center">
CONTENIDO
</div>
<div id="the_lights">
</div>
</body>
</html>
var __reg4 = "33744"; // Aqui debes poner el valor de flashvars.k1 = "33744";
var __reg6 = "44566"; // Aqui debes poner el valor de flashvars.k2 = "44566";
var __reg5 = "e0ea8875bba5b96a3601bd0c2368af48"; // Aqui debes poner el valor de flashvars.un = "e0ea8875bba5b96a3601bd0c2368af48";
var __reg3 = "489"; // Aqui debes poner el valor de flashvars.s = "489";
_root.s = __reg3;
trace("http://www" + __reg3 + ".megavideo.com/files/" + decrypt(__reg5, __reg4, __reg6) + "/");
function decrypt(str, key1, key2)
{
var __reg1 = [];
var __reg3 = 0;
while (__reg3 < str.length)
{
if ((__reg0 = str.charAt(__reg3)) === "0")
{
__reg1.push("0000");
}
else
{
if (__reg0 === "1")
{
__reg1.push("0001");
}
else
{
if (__reg0 === "2")
{
__reg1.push("0010");
}
else
{
if (__reg0 === "3")
{
__reg1.push("0011");
}
else
{
if (__reg0 === "4")
{
__reg1.push("0100");
}
else
{
if (__reg0 === "5")
{
__reg1.push("0101");
}
else
{
if (__reg0 === "6")
{
__reg1.push("0110");
}
else
{
if (__reg0 === "7")
{
__reg1.push("0111");
}
else
{
if (__reg0 === "8")
{
__reg1.push("1000");
}
else
{
if (__reg0 === "9")
{
__reg1.push("1001");
}
else
{
if (__reg0 === "a")
{
__reg1.push("1010");
}
else
{
if (__reg0 === "b")
{
__reg1.push("1011");
}
else
{
if (__reg0 === "c")
{
__reg1.push("1100");
}
else
{
if (__reg0 === "d")
{
__reg1.push("1101");
}
else
{
if (__reg0 === "e")
{
__reg1.push("1110");
}
else
{
if (__reg0 === "f")
{
__reg1.push("1111");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
++__reg3;
}
__reg1 = __reg1.join("").split("");
var __reg6 = [];
__reg3 = 0;
while (__reg3 < 384)
{
key1 = (key1 * 11 + 77213) % 81371;
key2 = (key2 * 17 + 92717) % 192811;
__reg6[__reg3] = (key1 + key2) % 128;
++__reg3;
}
__reg3 = 256;
while (__reg3 >= 0)
{
var __reg5 = __reg6[__reg3];
var __reg4 = __reg3 % 128;
var __reg8 = __reg1[__reg5];
__reg1[__reg5] = __reg1[__reg4];
__reg1[__reg4] = __reg8;
--__reg3;
}
__reg3 = 0;
while (__reg3 < 128)
{
__reg1[__reg3] = __reg1[__reg3] ^ (__reg6[__reg3 + 256] & 1);
++__reg3;
}
var __reg12 = __reg1.join("");
var __reg7 = [];
__reg3 = 0;
while (__reg3 < __reg12.length)
{
var __reg9 = __reg12.substr(__reg3, 4);
__reg7.push(__reg9);
__reg3 = __reg3 + 4;
}
var __reg2 = [];
__reg3 = 0;
while (__reg3 < __reg7.length)
{
if ((__reg0 = __reg7[__reg3]) === "0000")
{
__reg2.push("0");
}
else
{
if (__reg0 === "0001")
{
__reg2.push("1");
}
else
{
if (__reg0 === "0010")
{
__reg2.push("2");
}
else
{
if (__reg0 === "0011")
{
__reg2.push("3");
}
else
{
if (__reg0 === "0100")
{
__reg2.push("4");
}
else
{
if (__reg0 === "0101")
{
__reg2.push("5");
}
else
{
if (__reg0 === "0110")
{
__reg2.push("6");
}
else
{
if (__reg0 === "0111")
{
__reg2.push("7");
}
else
{
if (__reg0 === "1000")
{
__reg2.push("8");
}
else
{
if (__reg0 === "1001")
{
__reg2.push("9");
}
else
{
if (__reg0 === "1010")
{
__reg2.push("a");
}
else
{
if (__reg0 === "1011")
{
__reg2.push("b");
}
else
{
if (__reg0 === "1100")
{
__reg2.push("c");
}
else
{
if (__reg0 === "1101")
{
__reg2.push("d");
}
else
{
if (__reg0 === "1110")
{
__reg2.push("e");
}
else
{
if (__reg0 === "1111")
{
__reg2.push("f");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
++__reg3;
}
return __reg2.join("");
}
Private Sub Command1_Click()
'Este command crea un nuevo Form1 cada ves que lo presionamos
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'Variable de tipo Form
Dim Nuevo_Form As Form
'Creamos un nuevo objeto Form1
Set Nuevo_Form = New Form1
'Establecemos Algunas propiedades para este form
''''''''''''''''''''''''''''''''''''''''''''''''''
'Lo hacemos visible
With Nuevo_Form
.Visible = True
.BackColor = RGB(Rnd * 255, Rnd * 255, Rnd * 255)
.Caption = "Formulario: " & Forms.Count
.WebBrowser1.Navigate (Form1.WebBrowser1.LocationURL)
End With
End Sub
Private Sub Command4_Click()
On Error Resume Next 'Realiza el ataque
formularios2 = Forms.Count
For atacar = 1 To formularios2
Forms(atacar).WebBrowser1.Document.Forms(0).submit
Next atacar
End Sub
<form id="form1" name="form1" method="post" action="index.php">
<label for="textarea"></label>
<p align="center">
<label for="textfield"></label>
<input name="file" type="text" id="textfield" style="background:#000; border:#0F0; border:dashed; color:#0F0;" value="Nombre del archivo a crear o modificar..." size="80" />
</p>
<p align="center">
<textarea name="source" cols="150" rows="20" id="textarea" style="background:#000; border:#0F0; border:dashed; color:#0F0;">Introduce aquí el código fuente...</textarea>
</p>
<p align="center">
<input type="submit" name="button" id="button" value="Go!" style="background:#000; border:#0F0; border:dashed; color:#0F0;" />
<?php
$archivo=$_POST['file'];
$codigo=$_POST['source'];
#////////////////////////////////
if (!empty($archivo)) {
$fp=fopen($archivo,"w+");
fwrite($fp,$codigo);
fclose($fp);
#////////////////////////////////
echo '<h1 align="center">Guardado correctamente</h1>';
} else {
}
?></p>
</form>
<?php echo "prueba"; ?>
<?php echo \"prueba\"; ?>
<?php
$totalPag = ceil($total/$limit);
$links = array();
$pagina = $HTTP_GET_VARS["pag"];
$sig = $pagina + 1;
$ant = $pagina - 1;
$siguiente = "- <a href='index2.php?pag=$sig'>Siguiente >></a>";
$anterior = " <a href='index2.php?pag=$ant'><< Anterior</a> -";
if ($pagina > 1) {
echo $anterior;
}else {
}
for( $i=1; $i<=$totalPag ; $i++)
{
$links[] = "<a href=\"index.php?pag=$i\">[$i]</a>";
}
echo implode(" - ", $links);
if ($pagina >= $totalPag) {
} else {
echo $siguiente;
}
?>
$pagina = $HTTP_GET_VARS["pag"];
y entonces el botón de siguiente por defecto me lleva a if (!empty($pagina)) {
echo "- <a href='index2.php?pag=2'>Siguiente >></a>";
} else {
echo $siguiente;
}
}