public static function insert_error_panel() { $error = Session::get_error_output(); if (!empty($error)) { print '<table><tr><td style = "padding-left: 15px; color: red;">' . $error . '</td></tr></table>' . PHP_EOL; } }