<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags"%>

<%@include file="./include.jsp"%>

<div id="mcareError" style="padding: 5%;">
	<div data-role="header" class="alert alert-info">
		<h3 style="color: red;">에러안내</h3>
	</div>
	<div data-role="content" class="alert alert-danger">
		<div >
			<p class="errormsg">
				<s:message code="mcare.error.500" text="벌레를 잡았다  HTTP 500 ERROR]"/>
			</p>
		</div>
		<div style="text-align: center; padding: 20px 0px;">
			<%-- <a class="ui-btn ui-btn-b" href="${pageContext.request.contextPath}/index.page">[ 확 인 ]</a> --%>
			<button type="button" class="btn btn-primary" onclick="location.href='${pageContext.request.contextPath}/index.page';">확 인</button>
		</div>
	</div>
</div>

<div id="adminError">
	<div >
		<p class="errormsg">
			<s:message code="mcare.error.500" text="벌레를 잡았다  [HTTP 500 ERROR]"/>
		</p>
	</div>
	<a class="ui-btn ui-btn-b" href="${pageContext.request.contextPath}/index.page" >확인</a>
</div>

<script type="text/javascript">
$(document).on('pagebeforeshow', function(e, ui) {
	var mplus = new mplus_mobile();
	if (mplus.isMobile() == true) {
		$('#adminError').hide();
	} else {
		$('#mcareError').hide();
	}
});
</script>
 