<?php
  
if( !isset( $_GET{'Color'} ) )
    
$DisplayBlock =  "<form action=\"{$_SERVER{'PHP_SELF'}}\" method=\"get\">
                        <p style=\"font:18pt helvetica; color:#050050;\">
                          Selectiona un Color:
                          <select name=\"Color\" size=\"1\" 
                                  style=\"font:14pt helvetica; color:#000000;\">
                            <option value=\"Rojo\">Rojo</option>
                            <option value=\"Verde\">Verde</option>
                            <option value=\"Azul\">Azul</option>
                          </select>
                        </p>
                        <p>
                          <input type=\"submit\" name=\"Submit\" 
                                 value=\"Enviar\" />
                        </p>
                      </form>"
;
  else
  {
    switch( 
$_GET{'Color'} )
    {
      case 
"Azul":
        
$Color "#0000aa";
        break;
      case 
"Rojo":
        
$Color "#aa0000";
        break;
      case 
"Verde":
        
$Color "#00aa00";
        break;
      default:
        
$Color "#000000";
    }
    
$DisplayBlock =  "<p style=\"font:18pt helvetica; color:{$Color};\">
                        Enviaste el color: 
{$_GET{'Color'}}
                      </p>
                      <p style=\"font:12pt helvetica; color:#050050:\">
                        <a href=\"SelectColorGET.php\">
                          Seleccióna otro color</a>
                      </p>"
;
  }
  require_once( 
"Cabeza5.inc" );
  print( 
$DisplayBlock );
  require_once( 
"incPie5.php" );
?>