70 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			70 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
								 | 
							
								<%@page contentType="text/html" %>
							 | 
						|||
| 
								 | 
							
								<%@page pageEncoding="UTF-8" %>
							 | 
						|||
| 
								 | 
							
								<%@page language="java" %>
							 | 
						|||
| 
								 | 
							
								<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
							 | 
						|||
| 
								 | 
							
								   "http://www.w3.org/TR/html4/loose.dtd">
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<html>
							 | 
						|||
| 
								 | 
							
								    <head>
							 | 
						|||
| 
								 | 
							
								        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
							 | 
						|||
| 
								 | 
							
										<link rel="stylesheet" href="style.css" type="text/css" />
							 | 
						|||
| 
								 | 
							
								        <title>RandoOnLine - Infos</title>
							 | 
						|||
| 
								 | 
							
								    </head>
							 | 
						|||
| 
								 | 
							
								    <body>
							 | 
						|||
| 
								 | 
							
								<jsp:useBean id="article" class="com.articles.Article" scope="request" />
							 | 
						|||
| 
								 | 
							
								    
							 | 
						|||
| 
								 | 
							
									<h2>Infos sur l'article</h2>
							 | 
						|||
| 
								 | 
							
								    <table border="0" width="100%">
							 | 
						|||
| 
								 | 
							
								        <thead>
							 | 
						|||
| 
								 | 
							
								            <tr>
							 | 
						|||
| 
								 | 
							
								                <th>Aper<65>u</th>
							 | 
						|||
| 
								 | 
							
								                <th>Propri<72>t<EFBFBD>s</th>
							 | 
						|||
| 
								 | 
							
								            </tr>
							 | 
						|||
| 
								 | 
							
								        </thead>
							 | 
						|||
| 
								 | 
							
								        <tbody>
							 | 
						|||
| 
								 | 
							
								            <tr>
							 | 
						|||
| 
								 | 
							
								                <td>
							 | 
						|||
| 
								 | 
							
								                    <img src="./img/<jsp:getProperty name="art" property="photo" />" width="50" height="50" alt="image"/>
							 | 
						|||
| 
								 | 
							
								                </td>
							 | 
						|||
| 
								 | 
							
								                <td>
							 | 
						|||
| 
								 | 
							
								                    <table border="0" width="100%" height="100%">
							 | 
						|||
| 
								 | 
							
								                        <tbody>
							 | 
						|||
| 
								 | 
							
								                            <tr>
							 | 
						|||
| 
								 | 
							
								                                <td>Référence :
							 | 
						|||
| 
								 | 
							
								                                <jsp:getProperty name="art" property="ref" /></td>
							 | 
						|||
| 
								 | 
							
								                            </tr>
							 | 
						|||
| 
								 | 
							
								                            <tr>
							 | 
						|||
| 
								 | 
							
								                                <td>Marque : 
							 | 
						|||
| 
								 | 
							
								                                <jsp:getProperty name="art" property="marque" /></td>
							 | 
						|||
| 
								 | 
							
								                            </tr>
							 | 
						|||
| 
								 | 
							
								                            <tr>
							 | 
						|||
| 
								 | 
							
								                                <td>Modèle : 
							 | 
						|||
| 
								 | 
							
								                                <jsp:getProperty name="art" property="modele" /></td>
							 | 
						|||
| 
								 | 
							
								                            </tr>
							 | 
						|||
| 
								 | 
							
								                            <tr>
							 | 
						|||
| 
								 | 
							
								                                <td>Description : 
							 | 
						|||
| 
								 | 
							
								                                <jsp:getProperty name="art" property="description" /></td>
							 | 
						|||
| 
								 | 
							
								                            </tr>
							 | 
						|||
| 
								 | 
							
								                            <tr>
							 | 
						|||
| 
								 | 
							
								                                <td>Prix : 
							 | 
						|||
| 
								 | 
							
								                                <jsp:getProperty name="art" property="prix" /></td>
							 | 
						|||
| 
								 | 
							
								                            </tr>
							 | 
						|||
| 
								 | 
							
								                        </tbody>
							 | 
						|||
| 
								 | 
							
								                    </table>
							 | 
						|||
| 
								 | 
							
								                </td>
							 | 
						|||
| 
								 | 
							
								            </tr>
							 | 
						|||
| 
								 | 
							
								        </tbody>
							 | 
						|||
| 
								 | 
							
								    </table>
							 | 
						|||
| 
								 | 
							
										<hr width="100%" size="1">
							 | 
						|||
| 
								 | 
							
										<h2>Acheter l'article</h2>
							 | 
						|||
| 
								 | 
							
										<form method="post" action="./Panier?action=add">
							 | 
						|||
| 
								 | 
							
											<input type="hidden" id="ref" name="ref" value="<jsp:getProperty name="art" property="ref" />">
							 | 
						|||
| 
								 | 
							
											Quantit<69> :<br />
							 | 
						|||
| 
								 | 
							
											<input type="text" id="txtQte" name="txtQte" maxLength="3" size="3" /><br />
							 | 
						|||
| 
								 | 
							
											<input type="submit" value="Acheter">
							 | 
						|||
| 
								 | 
							
										</form>
							 | 
						|||
| 
								 | 
							
									</body>
							 | 
						|||
| 
								 | 
							
								</html>
							 |