allFilmData();
		
		$htmlform .= '
				
				
				
					
				
';
		return $htmlform;	
	}
    //Methods:
    //Process form:
    public static function processesForm($data){
		if($data["option"] == "new_session"){
			$_SESSION['msg'] = Session::create_session($data);
			header( "Location: ../?state=success" );
		}else if($data["option"] == "edit_session"){
			$_SESSION['msg'] = Session::edit_session($data);
			header( "Location: ../?state=success" );
		}
		else if($data["option"] == "delete_session") {
			$_SESSION['msg'] = Session::delete_session($data);
			header( "Location: ../?state=success" );
		}			
    }
}
?>