daily pastebin goal
48%
SHARE
TWEET

Untitled

a guest Jan 18th, 2018 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859" />
  4. </head>
  5. <title>
  6.     TEST
  7. </title>
  8. <style>
  9. html, body {
  10.     overflow:hidden;
  11.     margin: 0;
  12.     padding: 0;
  13.     text-align: center;
  14. }
  15. #all {
  16.     margin: auto;
  17.     height:100%;
  18.     width: 90%;
  19.     text-align: left;
  20. }
  21. #NAGLOWEK {
  22.     height: 15%;
  23.     background-color: #006600;
  24. }
  25. #MENU {
  26.     height: 80%;
  27.     width: 15%;
  28.     float: left;
  29.     overflow: hidden;
  30.     background-color:  #66FF66;
  31. }
  32. #TRESC {
  33.     height: 80%;
  34.     width: 85%;
  35.     float: left;
  36.     overflow: hdden;
  37.     background-color: #fff;
  38. }
  39. #STOPKA {
  40.     height: 5%;
  41.     clear: both;
  42.     width: 100%;
  43.     background-color: #006600;
  44. }
  45. </style>
  46. </head>
  47. <body>
  48. <div id="all">
  49.  
  50.     <div id="NAGLOWEK">Nagłówek szablonu
  51.    
  52.    
  53.     </div>
  54.  
  55.     <div id="MENU">Menu nawigacyjne</div>
  56.  
  57.     <div id="TRESC">
  58.    
  59.    
  60.     <form action="elo.php" method="POST">
  61.     Strona: <input type="text" name="pole">
  62.     <button>CHUJ</button>
  63.     </form>
  64.    
  65.    
  66.    
  67. <?php
  68.  
  69. $page = $_SERVER['PHP_SELF'];
  70. $sec = "0.3";
  71. header("Refresh: $sec; url=$page");
  72.  
  73. $dni_tygodnia = array( 'Niedziela', 'Poniedzialek', 'Wtorek', 'Sroda', 'Czwartek', 'Piatek', 'Sobota' );
  74. $date = date( "w" );
  75. echo 'dzisiaj jest: ' . $dni_tygodnia[ $date ];
  76.  
  77. $elo = "";
  78. for ($m=0;$m<10;$m++){
  79. $c[$m] = rand ( 1, 255 );
  80. }
  81. $r = rand ( 1, 255 );
  82.  
  83. $g = rand ( 1, 255 );
  84.  
  85. $b = rand ( 1, 255 );
  86.  
  87.  
  88. echo "<body style=background-color:rgb($r,$g,$b)>";
  89.  
  90. function passwordGenerator($length) {
  91.     $uppercase = array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'U', 'W', 'Y', 'Z');
  92.     $lowercase = array('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'r', 's', 't', 'u', 'w', 'y', 'z');
  93.     $number = array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
  94.  
  95.     $password = NULL;
  96.  
  97.     for ($i = 0; $i < $length; $i++) {
  98.         $password .= $uppercase[rand(0, count($uppercase) - 1)];
  99.         $password .= $lowercase[rand(0, count($lowercase) - 1)];
  100.         $password .= $number[rand(0, count($number) - 1)];
  101.     }
  102.     return substr($password, 0, $length);
  103. }
  104.  
  105. $myPassword = passwordGenerator(8);
  106. echo '<p>Moje wygenerowane hasło: <strong>' . $myPassword . '</strong></p>' . "\n";
  107.  
  108. for ($t = 0; $t < 100; $t++){
  109. $myPassword = passwordGenerator(8);
  110. $tab[$t] = $myPassword ;
  111. }
  112.  
  113. for ($m = 0; $m < 10; $m++){
  114. echo $tab[$m].'<br />';
  115. }
  116.  
  117. ?>
  118.     </div>
  119.     <div id="STOPKA">Stopka serwisu</div>
  120. </div>
  121. </body>
  122. <html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top