-12.00, 
		'Pacific/Midway' => -11.00, 
		'Pacific/Honolulu' => -10.00, 
		'America/Anchorage' => -9.00, 
		'America/Los_Angeles' => -8.00, 
		'America/Denver' => -7.00, 
		'America/Tegucigalpa' => -6.00, 
		'America/New_York' => -5.00, 
		'America/Caracas' => -4.30, 
		'America/Halifax' => -4.00, 
		'America/St_Johns' => -3.30, 
		'America/Argentina/Buenos_Aires' => -3.00, 
		'America/Sao_Paulo' => -3.00, 
		'Atlantic/South_Georgia' => -2.00, 
		'Atlantic/Azores' => -1.00, 
		'Europe/Dublin' => 0, 
		'Europe/Belgrade' => 1.00, 
		'Europe/Minsk' => 2.00, 
		'Asia/Kuwait' => 3.00, 
		'Asia/Tehran' => 3.30, 
		'Asia/Muscat' => 4.00, 
		'Asia/Yekaterinburg' => 5.00, 
		'Asia/Kolkata' => 5.30, 
		'Asia/Katmandu' => 5.45, 
		'Asia/Dhaka' => 6.00, 
		'Asia/Rangoon' => 6.30, 
		'Asia/Krasnoyarsk' => 7.00, 
		'Asia/Brunei' => 8.00, 
		'Asia/Seoul' => 9.00, 
		'Australia/Darwin' => 9.30, 
		'Australia/Canberra' => 10.00, 
		'Asia/Magadan' => 11.00, 
		'Pacific/Fiji' => 12.00, 
		'Pacific/Tongatapu' => 13.00);
        $index = array_keys($zonelist, $_REQUEST['offset']);
        $_SESSION['timezone'] = $index[0];
    }
}
date_default_timezone_set($_SESSION['timezone']);
?>
   
    
	
    
    
    
	Danganronpa™: Trigger Happy Havoc
    
     
     
	
        
         
            
             
    '."\n";
              //$html_output .= '
'."\n";
      
              /*months*/
              $html_output .= '
'."\n";
              
              /*days*/
              $html_output .= '
'."\n";
      
              /*years*/
              $html_output .= '
'."\n";
      
              $html_output .= '
 '."\n";
              return $html_output;
          }	
        
    ?>
        
        
        
    	
        
        
        
    
                             
                
Sorry, you may not access this content.
            
    
                             
                
Please wait a moment as the page loads.
            
            ';  
    }
    
        
    if((isset($_POST['submit'])) && (isset($_SESSION['incorrect'])))
    {
				$_SESSION['incorrect'] = 'myage';	
    ?>
                                 
                    
Sorry again, you may not access this content.
                
    "; // displays entered birthdate
          
          // today's date
          $today_m = date("n"); 
          $today_d = date("j");
          $today_yr = date("Y");
          
          //echo $today_m."/".$today_d."/".$today_yr .""; // displays today's date
          
          // age calculation 
          $x_yr = $today_yr - 17;
          
          if($year < $x_yr)
          { 
              $_SESSION['correct'] = 'yes';	
			  ?>
                               
                  
Please wait a moment, while the page is being loaded.
              
              ';  
          }
          
          if($year == $x_yr)
          { 
              if($month < $today_m)
              {
                  $_SESSION['correct'] = 'yes';
				  ?>
                                   
                      
Please wait a moment, while the page is being loaded.
                  
                  ';  
              }
              
              if($month == $today_m)
              {
                  if($day <= $today_d)
                  {
                      $_SESSION['correct'] = 'yes';						  
					  ?>
					                   
                          
Please wait a moment, while the page is being loaded.
                      
              		  ';  
                  }
                  if($day > $today_d)
                  {	
                      $_SESSION['incorrect'] = 'myage';	
					  ?>
                                       
                          
Sorry, you may not access this content.
                      
              		   $today_m)
              {	
                  $_SESSION['incorrect'] = 'myage';
				  ?>
                                   
                      
Sorry, you may not access this content.
                  
                   $x_yr)
          {		
              $_SESSION['incorrect'] = 'myage';
			  ?>
                               
                  
Sorry, you may not access this content.