allFilmData(); $htmlform .= '
Datos

Horario


'; if($data['option'] == "new_session") $htmlform .= '
'; if($data['option'] == "edit_session") $htmlform .= '

'; $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 { } } } ?>