<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@page import="model.User"%>

   
<% User us = (User)request.getAttribute("userinfo"); 
if(us ==null){	
%><%} else { %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Thong Tin Khach Hang</title>
</head>
<script>
document.getElementById("titleMod").innerHTML = "Thông Tin";
</script>
<body>
<p>

<table border="1" cellspacing="0" style="border-collapse: collapse" bordercolor="silver" cellpadding="3">
    <tr>
        <th style="background: #E3E3E3">User</th>
        <th style="background: #E3E3E3">Email</th>
		<th style="background: #E3E3E3">Tên Thật</th>
        <th style="background: #E3E3E3">CMND</th>
        <th style="background: #E3E3E3">Địa Chỉ</th>
        <th style="background: #E3E3E3">Điện Thoại</th>
      
    </tr> 
        <tr align="center">
            <td><%= us.getUserName() %></td>
            <td><%= us.getEmail() %></td>
			<td><%= us.getRealname() %></td>
            <td><%= us.getCmnd() %></td>
            <td><%= us.getAddress() %></td>     
			<td><%= us.getPhone() %></td>
        </tr>     
   
    </table>  

    <br><p>
</body>
<% } %>
</html>