<%@page import="java.util.Iterator"%>
<%@page import="retro.Member"%>
<%@page import="java.util.List"%>
<%@page import="fonctions.MemberDAO"%>

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<head>
    <link href="../bootstrap3/css/bootstrap.css" rel="stylesheet" />
    <link href="../assets/css/ct-paper.css" rel="stylesheet"/>
    <link href="../assets/css/demo.css" rel="stylesheet" />

    <!--     Fonts and icons     -->
    <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
    <link href='http://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300' rel='stylesheet' type='text/css'>
<title>access-meeting</title>
</head>
<body>
<%@include file="../pages/header.jsp" %>     

<div style = "margin: 5% !important">
<%
String id_member = request.getParameter("id_member");
String id_meeting = request.getParameter("id_meeting");
%>
<h2 style="padding-top: 1em;">Your profile : </h2>

<div style="padding: 5%">
		<div style="float: left">
		<img
    src="../assets/paper_img/placeholder.jpg" 
    alt="[You]"
    height="100%" 
    width="100%" 
/>
		</div>
		
		<%
			MemberDAO obj_ReadValues1 = new MemberDAO();
			List<Member> list1 = obj_ReadValues1.get_MemberByID(id_member);
			Iterator<Member> it_list1 = list1.iterator();
			while (it_list1.hasNext()) {
				Member objMember = new Member();
				objMember = it_list1.next();
		%>
		<div style="float: left; padding-left: 15%">
			<p><label style="width: 300px; display: block; float: left;">ID : </label><%=objMember.getId_member() %></p>
			<p><label style="width: 300px; display: block; float: left;">Name : </label><%= objMember.getNom_member()%></p>
			<p><label style="width: 300px; display: block; float: left;">First Name : </label><%=objMember.getPrenom_member() %></p>
			<p><label style="width: 300px; display: block; float: left;">Office : </label><%=objMember.getLibelle_office() %></p>
			<p><label style="width: 300px; display: block; float: left;">Pseudo : </label><%=objMember.getPseudo() %></p>
			<p><label style="width: 300px; display: block; float: left;">Password : </label><%=objMember.getMdp() %></p>
		</div>
		</div>
		<%} %>
</div>

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

</body>

<script src="../assets/js/jquery-1.10.2.js" type="text/javascript"></script>
	<script src="../assets/js/jquery-ui-1.10.4.custom.min.js" type="text/javascript"></script>

	<script src="../bootstrap3/js/bootstrap.js" type="text/javascript"></script>

	<!--  Plugins -->
	<script src="../assets/js/ct-paper-checkbox.js"></script>
	<script src="../assets/js/bootstrap-select.js"></script>
	<script src="../assets/js/bootstrap-datepicker.js"></script>
<script src="../assets/js/ct-paper-radio.js"></script>
	<script src="../assets/js/ct-paper.js"></script>
</html>