Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.98 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3.  
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <meta http-equiv="Refresh" content="0.7" />
  7. <title>Bez tytułu 1</title>
  8. </head>
  9.  
  10. <body>
  11.  
  12. <font size="7"><font face="Courier new">
  13.  
  14. <?php
  15.    
  16.     $rand = array('0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f');
  17.     $color = '#'.$rand[rand(0,15)].$rand[rand(0,15)].$rand[rand(0,15)].$rand[rand(0,15)].$rand[rand(0,15)].$rand[rand(0,15)];
  18.     $color2 = '#'.$rand[rand(0,15)].$rand[rand(0,15)].$rand[rand(0,15)].$rand[rand(0,15)].$rand[rand(0,15)].$rand[rand(0,15)];
  19.  
  20. ?>
  21.  
  22. <?php
  23.  
  24.  
  25. $n=rand(2,17);
  26.  
  27. $z=$j=3;
  28.  
  29. for($a=1;$a<=$z;$a++)
  30. {
  31.     for($i=1;$i<=$j;$i++)
  32.     {
  33.         for($x=1;$x<=$j;$x++)
  34.         {
  35.             echo "*";
  36.         }
  37.     echo "<br>";
  38.     }
  39.     $j=$j-1;
  40. echo "<hr>";
  41. }
  42.  
  43.  
  44. ?>
  45. </font></font>
  46. </body>
  47.  
  48. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement