'; if($data['option'] == "new_hall") $htmlform .= '
'; $htmlform .= '
'; return $htmlform; } //Methods: //Process form: public static function processesForm($data){ if($data["option"] == "new_hall"){ $_SESSION['msg'] = Hall::create_hall($data); header( "Location: ../?state=success" ); }else { } } } ?>