Configuracion





'; if($data['option'] == "new_hall") $htmlform .= '
'; if($data['option'] == "edit_hall"){ $htmlform .= '

'; } $htmlform .= '

Pantalla

'; for($j = 1; $j<=$cols; $j++){ $htmlform .= ''; } $htmlform .= ''; for($i = 1;$i<=$rows;$i++){ $htmlform .= ' '; for($j=1; $j<=$cols; $j++){ $htmlform .= '' ; } $htmlform .=' '; } $htmlform .= '
'.$j.'
'.$i.'
'; 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 if($data["option"] == "edit_hall"){ $_SESSION['msg'] = Hall::edit_hall($data); header( "Location: ../?state=success" ); } else if($data["option"] == "delete_hall") { $_SESSION['msg'] = Hall::delete_hall($data); header( "Location: ../?state=success" ); } } } ?>