Maj informations

This commit is contained in:
2019-03-05 09:48:00 +01:00
parent 0d6b428bd7
commit 0baf037834
21 changed files with 135 additions and 136 deletions

View File

@@ -21,7 +21,7 @@ public class FilmController {
private FilmServiceImpl filmService; private FilmServiceImpl filmService;
/** /**
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ<EFBFBD><D1AF>Ӱ<EFBFBD><D3B0>0<EFBFBD><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31>DC<44><43>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> *
* *
* @param request * @param request
* @return * @return

View File

@@ -26,7 +26,7 @@ public class RecordController {
private UserServiceImpl userService; private UserServiceImpl userService;
/** /**
* <20><>ӵ<EFBFBD><D3B5><EFBFBD><EFBFBD> *
* *
* @param request * @param request
* @return * @return
@@ -42,7 +42,7 @@ public class RecordController {
} }
/** /**
* <20>Ƴ<EFBFBD><C6B3><EFBFBD><EFBFBD> *
* *
* @param request * @param request
* @return * @return
@@ -57,7 +57,7 @@ public class RecordController {
} }
/** /**
* ֧<EFBFBD><EFBFBD> * ֧
* *
* @param request * @param request
* @return * @return
@@ -72,7 +72,7 @@ public class RecordController {
} }
/** /**
* <20><>ѯ<EFBFBD><D1AF>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>parameter type<70><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFB3B5><EFBFBD><EFBFBD>ʷ<EFBFBD><CAB7>¼ *
* *
* @param request * @param request
* @return * @return

View File

@@ -25,7 +25,7 @@ public class UserController {
private RecordServiceImpl recordService; private RecordServiceImpl recordService;
/** /**
* <20><>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD> *
* *
* @param request * @param request
* @return * @return
@@ -54,7 +54,7 @@ public class UserController {
} }
/** /**
* ע<><D7A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> *
* *
* @param request * @param request
* @return * @return
@@ -77,7 +77,7 @@ public class UserController {
} }
/** /**
* <20><><EFBFBD>username<6D>Ƿ<EFBFBD><C7B7>Ѵ<EFBFBD><D1B4>ڣ<EFBFBD><DAA3><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><D7A2>ģ<EFBFBD><C4A3>ajax<61><78>ʽ<EFBFBD>ж<EFBFBD> *
* *
* @param request * @param request
* @param response * @param response
@@ -97,7 +97,7 @@ public class UserController {
} }
/** /**
* <20>˳<EFBFBD><CBB3><EFBFBD>¼ *
* *
* @param request * @param request
* @return * @return
@@ -114,7 +114,7 @@ public class UserController {
} }
/** /**
* <20><>ѯ<EFBFBD>û<EFBFBD><C3BB><EFBFBD>Ϣ *
* *
* @param request * @param request
* @return * @return

View File

@@ -11,7 +11,7 @@ import javax.persistence.Id;
import javax.persistence.Table; import javax.persistence.Table;
/** /**
* <20><>Ӱʵ<D3B0>壬ӳ<E5A3AC><D3B3><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>film<6C><6D> *
* *
*/ */
@Entity @Entity

View File

@@ -3,19 +3,19 @@ package com.eshop.entity;
import java.io.Serializable; import java.io.Serializable;
/** /**
* <20><>¼<EFBFBD>ҵ<EEA3AC><D2B5><EFBFBD>߼<EFBFBD>ʵ<EFBFBD><EFBFBD><E5A3AC>ʾһ<CABE><D2BB><EFBFBD><EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFB3B5>¼or<6F><72>ʷ<EFBFBD><CAB7>¼<EFBFBD><C2BC> *
* *
*/ */
public class Item implements Serializable { public class Item implements Serializable {
private long rid; // <EFBFBD><EFBFBD>¼id private long rid; // rid
private long uid; // <EFBFBD>û<EFBFBD>id private long uid; // uid
private long fid; // <EFBFBD><EFBFBD>Ӱid private long fid; // fid
private String title; // <EFBFBD><EFBFBD>Ӱ<EFBFBD><EFBFBD> private String title; // title
private String date; // <EFBFBD><EFBFBD>ӳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> private String date; // date
private String duration; // ʱ<EFBFBD><EFBFBD> private String duration; // duration
private double price; // <EFBFBD>۸<EFBFBD> private double price; // price
private String image; // <EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͼƬ private String image; // image
private String time; // ֧<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD> private String time; // ֧time
public Item() { public Item() {

View File

@@ -4,18 +4,18 @@ import java.io.Serializable;
import java.util.List; import java.util.List;
/** /**
* <20><>ҳʵ<D2B3><CAB5>
* *
* @param <T> <20><><EFBFBD><EFBFBD> *
* @param <T>
*/ */
public class Page<T> implements Serializable { public class Page<T> implements Serializable {
// ҳ<EFBFBD><EFBFBD><EFBFBD>С // pageSize
public static final int pageSize = 5; public static final int pageSize = 5;
// <EFBFBD><EFBFBD>ҳ<EFBFBD><EFBFBD> // totalPages
private int totalPages; private int totalPages;
// <EFBFBD><EFBFBD>ǰҳ<EFBFBD><EFBFBD> // currentPage
private int currentPage; private int currentPage;
// <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>List // result
private List<T> result; private List<T> result;
public Page() { public Page() {

View File

@@ -10,7 +10,7 @@ import javax.persistence.Id;
import javax.persistence.Table; import javax.persistence.Table;
/** /**
* <20><>¼ʵ<C2BC>壬ӳ<E5A3AC><D3B3><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>record<72><64> *
* *
*/ */
@Entity @Entity

View File

@@ -10,7 +10,7 @@ import javax.persistence.Id;
import javax.persistence.Table; import javax.persistence.Table;
/** /**
* <20>û<EFBFBD><C3BB><EFBFBD>ӳ<EFBFBD><D3B3><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>user<65><72> *
* *
*/ */
@Entity @Entity

View File

@@ -6,7 +6,7 @@ import java.security.NoSuchAlgorithmException;
public class Md5Utils { public class Md5Utils {
/** /**
* MD5<EFBFBD><EFBFBD><EFBFBD>ܣ<EFBFBD>ȡǰ10λΪǰ<EFBFBD>벿<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>벿<EFBFBD>ֽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹ<EFBFBD><EFBFBD>ײ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> * getMD5
* @param text * @param text
* @return * @return
*/ */

View File

@@ -8,13 +8,13 @@
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.1.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.1.xsd
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-4.2.xsd"> http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-4.2.xsd">
<!-- 自动扫描所有注解(除Controller) 注册为bean (启动注解) --> <!-- -->
<context:component-scan base-package="com.eshop"> <context:component-scan base-package="com.eshop">
<context:exclude-filter type="annotation" <context:exclude-filter type="annotation"
expression="org.springframework.stereotype.Controller" /> expression="org.springframework.stereotype.Controller" />
</context:component-scan> </context:component-scan>
<!--配置数据源 --> <!-- -->
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"> <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource">
<property name="driverClassName" value="com.mysql.jdbc.Driver" /> <property name="driverClassName" value="com.mysql.jdbc.Driver" />
<property name="url" <property name="url"
@@ -27,7 +27,7 @@
<property name="maxWait" value="10000" /> <property name="maxWait" value="10000" />
</bean> </bean>
<!--配置session工厂 --> <!-- -->
<bean id="sessionFactory" <bean id="sessionFactory"
class="org.springframework.orm.hibernate5.LocalSessionFactoryBean"> class="org.springframework.orm.hibernate5.LocalSessionFactoryBean">
<property name="dataSource" ref="dataSource" /> <property name="dataSource" ref="dataSource" />
@@ -41,13 +41,13 @@
</property> </property>
</bean> </bean>
<!-- 事务管理器配置 --> <!-- -->
<bean id="transactionManager" <bean id="transactionManager"
class="org.springframework.orm.hibernate5.HibernateTransactionManager"> class="org.springframework.orm.hibernate5.HibernateTransactionManager">
<property name="sessionFactory" ref="sessionFactory" /> <property name="sessionFactory" ref="sessionFactory" />
</bean> </bean>
<!-- 启动事务注解 --> <!-- -->
<tx:annotation-driven transaction-manager="transactionManager" <tx:annotation-driven transaction-manager="transactionManager"
proxy-target-class="true" /> proxy-target-class="true" />

View File

@@ -9,23 +9,23 @@
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd"> http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd">
<!-- 静态资源访问 --> <!-- -->
<mvc:default-servlet-handler/> <mvc:default-servlet-handler/>
<mvc:annotation-driven/> <mvc:annotation-driven/>
<!-- 把标记了@Controller注解的类转换为bean --> <!-- 把标记了@Controller bean -->
<context:component-scan base-package="com.eshop.controller"> <context:component-scan base-package="com.eshop.controller">
</context:component-scan> </context:component-scan>
<!-- ViewResolver Servlet、JSP视图解析--> <!-- ViewResolver Servlet、JSP-->
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver"> <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/> <property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/>
<property name="prefix" value="/"/> <property name="prefix" value="/"/>
<property name="suffix" value=".jsp"/> <property name="suffix" value=".jsp"/>
</bean> </bean>
<!-- 配置拦截器 -->
<!-- <!--
<mvc:interceptors> <mvc:interceptors>
<mvc:interceptor> <mvc:interceptor>

View File

@@ -8,7 +8,7 @@
<welcome-file>index.jsp</welcome-file> <welcome-file>index.jsp</welcome-file>
</welcome-file-list> </welcome-file-list>
<!-- 配置spring --> <!-- spring -->
<listener> <listener>
<listener-class> <listener-class>
org.springframework.web.context.ContextLoaderListener org.springframework.web.context.ContextLoaderListener
@@ -19,7 +19,7 @@
<param-value>WEB-INF/spring.xml</param-value> <param-value>WEB-INF/spring.xml</param-value>
</context-param> </context-param>
<!-- 配置springMVC DispatcherServlet --> <!-- springMVC DispatcherServlet -->
<servlet> <servlet>
<servlet-name>dispatcher</servlet-name> <servlet-name>dispatcher</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
@@ -34,7 +34,7 @@
<url-pattern>/</url-pattern> <url-pattern>/</url-pattern>
</servlet-mapping> </servlet-mapping>
<!-- 配置编码格式 --> <!-- -->
<filter> <filter>
<filter-name>CharacterEncodingFilter</filter-name> <filter-name>CharacterEncodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>

View File

@@ -5,16 +5,16 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Cart</title> <title>Panier</title>
<link rel="shortcut icon" href="favicon.ico"> <link rel="shortcut icon" href="favicon.ico">
<!--配置Bootstrap--> <!--Bootstrap-->
<link rel="stylesheet" <link rel="stylesheet"
href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script <script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script> src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script <script
src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<!--配置用户表头文件--> <!---->
<link href="css/bootstrap.css" rel="stylesheet"> <link href="css/bootstrap.css" rel="stylesheet">
<link href="js/bootstrap.min.js"> <link href="js/bootstrap.min.js">
<link href="css/font-awesome.min.css" rel="stylesheet"> <link href="css/font-awesome.min.css" rel="stylesheet">
@@ -31,7 +31,7 @@
</style> </style>
</head> </head>
<body> <body>
<!--导航栏--> <!---->
<nav class="navbar navbar-inverse navbar-fixed-top"> <jsp:include <nav class="navbar navbar-inverse navbar-fixed-top"> <jsp:include
page="header.jsp" flush="true" /> </nav> page="header.jsp" flush="true" /> </nav>
@@ -43,19 +43,19 @@
<table cellspacing="0" cellpadding="0" class="order-table"> <table cellspacing="0" cellpadding="0" class="order-table">
<thead> <thead>
<tr> <tr>
<th class="s-total">TITLE&PRICE <th class="s-total">Titre&Prix
<hr /> <hr />
</th> </th>
<th class="s-total">RELEASE DATE <th class="s-total">Date de R<>alisation
<hr /> <hr />
</th> </th>
<th class="s-total">DURATION <th class="s-total">Dur<EFBFBD>e
<hr /> <hr />
</th> </th>
<th class="s-total">PAY DATE <th class="s-total">Date de paiement
<hr /> <hr />
</th> </th>
<th class="s-total">OPERATION <th class="s-total">Op<EFBFBD>ration
<hr /> <hr />
</th> </th>
</tr> </tr>
@@ -68,10 +68,10 @@
<td class="s-title">${item.date}</td> <td class="s-title">${item.date}</td>
<td class="s-title">${item.duration}</td> <td class="s-title">${item.duration}</td>
<td class="s-title">${item.time}</td> <td class="s-title">${item.time}</td>
<td class="s-title"><a href="remove?rid=${item.rid}">REMOVE</a></td> <td class="s-title"><a href="remove?rid=${item.rid}">Supprimer</a></td>
</tr> </tr>
</c:forEach> </c:forEach>
<!-- 分页行 --> <!-- -->
<tr class="shop-total blue-line"> <tr class="shop-total blue-line">
<td colspan="1"><a href="pay"><button type="button" <td colspan="1"><a href="pay"><button type="button"
class="btn btn-warning">Checkout</button></a></td> class="btn btn-warning">Checkout</button></a></td>
@@ -79,7 +79,7 @@
<div id="pagination"> <div id="pagination">
<c:if test="${page.totalPages != 0 && page.currentPage != 1}"> <c:if test="${page.totalPages != 0 && page.currentPage != 1}">
<a href="record?type=0&pageNo=${page.currentPage - 1}" <a href="record?type=0&pageNo=${page.currentPage - 1}"
class="btn">Previous</a> class="btn">R<EFBFBD>cedent</a>
</c:if> </c:if>
<c:choose> <c:choose>
<c:when test="${page.currentPage < 6}"> <c:when test="${page.currentPage < 6}">
@@ -154,12 +154,12 @@
<c:if <c:if
test="${page.totalPages != 0 && page.currentPage != page.totalPages}"> test="${page.totalPages != 0 && page.currentPage != page.totalPages}">
<a href="record?type=0&pageNo=${page.currentPage + 1}" <a href="record?type=0&pageNo=${page.currentPage + 1}"
class="btn">Next</a> class="btn">Suivant</a>
</c:if> </c:if>
</div> </div>
</td> </td>
</tr> </tr>
<!-- 分页行end --> <!-- end -->
</tbody> </tbody>
</table> </table>
</div> </div>
@@ -174,7 +174,7 @@
}) })
</script> </script>
<!--页脚--> <!---->
<footer <footer
style="width: 100%; style="width: 100%;
position:absolute; position:absolute;

View File

@@ -23,11 +23,11 @@ body {
</style> </style>
</head> </head>
<body> <body>
<!--导航栏--> <!-- -->
<nav class="navbar navbar-inverse navbar-fixed-top"> <jsp:include <nav class="navbar navbar-inverse navbar-fixed-top"> <jsp:include
page="header.jsp" flush="true" /> </nav> page="header.jsp" flush="true" /> </nav>
<h3>Something Here</h3> <h3>Quelque chose ici</h3>
<!--板块1--> <!---->
<c:forEach items="${films}" var="film"> <c:forEach items="${films}" var="film">
<div class="jumbotron well"> <div class="jumbotron well">
<h1> <h1>
@@ -44,11 +44,11 @@ body {
${film.introduction}</td> ${film.introduction}</td>
</tr> </tr>
<tr> <tr>
<td><span class="badge badge-secondary">Directors:</span> <td><span class="badge badge-secondary">Directeurs:</span>
${film.directors}</td> ${film.directors}</td>
</tr> </tr>
<tr> <tr>
<td><span class="badge badge-secondary">Writers:</span> <td><span class="badge badge-secondary">Ecrivains:</span>
${film.writers}</td> ${film.writers}</td>
</tr> </tr>
<tr> <tr>
@@ -60,10 +60,10 @@ body {
<p> <p>
<c:choose> <c:choose>
<c:when test="${uid != null}"> <c:when test="${uid != null}">
<a class="btn btn-primary btn-large" href="addCart?fid=${film.id}">Add to Cart</a> <a class="btn btn-primary btn-large" href="addCart?fid=${film.id}">Ajouter au panier</a>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<a class="btn btn-primary btn-large" href="signin.jsp">Login to add</a> <a class="btn btn-primary btn-large" href="signin.jsp">S'enregistrer avant ajout</a>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
@@ -72,7 +72,7 @@ body {
</div> </div>
</c:forEach> </c:forEach>
<!--页脚--> <!---->
<footer> <jsp:include page="footer.jsp" flush="true" /> </footer> <footer> <jsp:include page="footer.jsp" flush="true" /> </footer>
</body> </body>

View File

@@ -16,31 +16,30 @@
</h3> </h3>
<hr style="height: 3px; border: none; border-top: 3px ridge green;" /> <hr style="height: 3px; border: none; border-top: 3px ridge green;" />
<p> <p>
<font color="white">We provide the best online film booking <font color="white">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</font>
services for the United States users.</font>
</p> </p>
</div> </div>
<div class="col-lg-4 col-md-6 footer-link"> <div class="col-lg-4 col-md-6 footer-link">
<h3> <h3>
<font color="white">Useful Links</font> <font color="white">Lien utiles</font>
</h3> </h3>
<hr style="height: 3px; border: none; border-top: 3px ridge green;" /> <hr style="height: 3px; border: none; border-top: 3px ridge green;" />
<ul style="list-style: none"> <ul style="list-style: none">
<li><a href="index.jsp"><font color="white">Home</font></a></li> <li><a href="index.jsp"><font color="white">Accueil</font></a></li>
<li><a href="films?type=0"><font color="white">Services</font></a></li> <li><a href="films?type=0"><font color="white">Services</font></a></li>
</ul> </ul>
</div> </div>
<div class="col-lg-4 col-md-6 footer-contact"> <div class="col-lg-4 col-md-6 footer-contact">
<h3> <h3>
<font color="white">Contact Us</font> <font color="white">Nous contacter</font>
</h3> </h3>
<hr style="height: 3px; border: none; border-top: 3px ridge green;" /> <hr style="height: 3px; border: none; border-top: 3px ridge green;" />
<p> <p>
<font color="white"> 46 Creighton st &nbsp; Boston, 02130 &nbsp; United States <br> <font color="white"> 10 rue Cuirass<73> &nbsp; Brest, 292<39>00 &nbsp; France <br>
<strong>Phone:</strong> +1 617-850-5715<br> <strong>T<EFBFBD>l<EFBFBD>phone:</strong> +33611223344<br>
<strong>Email:</strong> gao.di1@husky.neu.edu<br> <strong>Email:</strong> test.test@isen.fr<br>
</font> </font>
</p> </p>
</div> </div>

View File

@@ -21,20 +21,20 @@
<ul class="nav navbar-nav"> <ul class="nav navbar-nav">
<li><a href="films?type=0">Marvel</a></li> <li><a href="films?type=0">Marvel</a></li>
<li><a href="films?type=1">DC</a></li> <li><a href="films?type=1">DC</a></li>
<li><a href="films?type=2">Others</a></li> <li><a href="films?type=2">Autres</a></li>
</ul> </ul>
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<c:choose> <c:choose>
<c:when test="${flag == true}"> <c:when test="${flag == true}">
<li><a href="userinfo"><span class="glyphicon glyphicon-user"></span> ${username}</a></li> <li><a href="userinfo"><span class="glyphicon glyphicon-user"></span> ${username}</a></li>
<li><a href="record?type=0"><span class="glyphicon glyphicon-film"></span> Cart</a></li> <li><a href="record?type=0"><span class="glyphicon glyphicon-film"></span> Panier</a></li>
<li><a href="record?type=1"><span class="glyphicon glyphicon-list"></span> History</a></li> <li><a href="record?type=1"><span class="glyphicon glyphicon-list"></span> Historique</a></li>
<li><a href="preAddFilm"><span class="glyphicon glyphicon-list"></span> Add film</a></li> <!--<li><a href="preAddFilm"><span class="glyphicon glyphicon-list"></span> Add film</a></li>-->
<li><a href="logout"><span class="glyphicon glyphicon-log-in"></span> Logout</a></li> <li><a href="logout"><span class="glyphicon glyphicon-log-in"></span> D<EFBFBD>connexion</a></li>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<li><a href="register.jsp"><span class="glyphicon glyphicon-user"></span> Sign Up</a></li> <li><a href="register.jsp"><span class="glyphicon glyphicon-user"></span> S'inscrire</a></li>
<li><a href="signin.jsp"><span class="glyphicon glyphicon-log-in"></span> Login</a></li> <li><a href="signin.jsp"><span class="glyphicon glyphicon-log-in"></span> S'identifier</a></li>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</ul> </ul>

View File

@@ -5,16 +5,16 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>History</title> <title>Historique</title>
<link rel="shortcut icon" href="favicon.ico" > <link rel="shortcut icon" href="favicon.ico" >
<!--配置Bootstrap--> <!--Bootstrap-->
<link rel="stylesheet" <link rel="stylesheet"
href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script <script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script> src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script <script
src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<!--配置用户表头文件--> <!---->
<link href="css/bootstrap.css" rel="stylesheet"> <link href="css/bootstrap.css" rel="stylesheet">
<link href="js/bootstrap.min.js"> <link href="js/bootstrap.min.js">
<link href="css/font-awesome.min.css" rel="stylesheet"> <link href="css/font-awesome.min.css" rel="stylesheet">
@@ -31,7 +31,7 @@
</style> </style>
</head> </head>
<body> <body>
<!--导航栏--> <!---->
<nav class="navbar navbar-inverse navbar-fixed-top"> <jsp:include <nav class="navbar navbar-inverse navbar-fixed-top"> <jsp:include
page="header.jsp" flush="true" /> </nav> page="header.jsp" flush="true" /> </nav>
@@ -41,16 +41,16 @@
<table cellspacing="0" cellpadding="0" class="order-table"> <table cellspacing="0" cellpadding="0" class="order-table">
<thead> <thead>
<tr> <tr>
<th class="s-total">TITLE&PRICE <th class="s-total">Titre&Prix
<hr /> <hr />
</th> </th>
<th class="s-total">RELEASE DATE <th class="s-total">Date de sortie
<hr /> <hr />
</th> </th>
<th class="s-total">DURATION <th class="s-total">Dur<EFBFBD>e
<hr /> <hr />
</th> </th>
<th class="s-total">PAY DATE <th class="s-total">Date de paiement
<hr /> <hr />
</th> </th>
</tr> </tr>
@@ -65,13 +65,13 @@
<td class="s-title">${item.time}</td> <td class="s-title">${item.time}</td>
</tr> </tr>
</c:forEach> </c:forEach>
<!-- 分页行 --> <!-- -->
<tr class="shop-total blue-line"> <tr class="shop-total blue-line">
<td colspan="4"> <td colspan="4">
<div id="pagination"> <div id="pagination">
<c:if test="${page.totalPages != 0 && page.currentPage != 1}"> <c:if test="${page.totalPages != 0 && page.currentPage != 1}">
<a href="record?type=1&pageNo=${page.currentPage - 1}" <a href="record?type=1&pageNo=${page.currentPage - 1}"
class="btn">Previous</a> class="btn">Pr<EFBFBD>c<EFBFBD>dent</a>
</c:if> </c:if>
<c:choose> <c:choose>
<c:when test="${page.currentPage < 6}"> <c:when test="${page.currentPage < 6}">
@@ -146,12 +146,12 @@
<c:if <c:if
test="${page.totalPages != 0 && page.currentPage != page.totalPages}"> test="${page.totalPages != 0 && page.currentPage != page.totalPages}">
<a href="record?type=1&pageNo=${page.currentPage + 1}" <a href="record?type=1&pageNo=${page.currentPage + 1}"
class="btn">Next</a> class="btn">Suivant</a>
</c:if> </c:if>
</div> </div>
</td> </td>
</tr> </tr>
<!-- 分页行end --> <!-- -->
</tbody> </tbody>
</table> </table>
</div> </div>
@@ -166,7 +166,7 @@
}) })
</script> </script>
<!--页脚--> <!---->
<footer <footer
style="width: 100%; style="width: 100%;
position:absolute; position:absolute;

View File

@@ -22,22 +22,22 @@ body {
</style> </style>
</head> </head>
<body> <body>
<!--导航栏--> <!---->
<nav class="navbar navbar-inverse"> <nav class="navbar navbar-inverse">
<jsp:include page="header.jsp" flush="true" /> <jsp:include page="header.jsp" flush="true" />
</nav> </nav>
<!--轮播--> <!---->
<div id="myCarousel" class="carousel slide"> <div id="myCarousel" class="carousel slide">
<!-- 轮播(Carousel)指标 --> <!-- Carousel -->
<ol class="carousel-indicators"> <ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li> <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li> <li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li> <li data-target="#myCarousel" data-slide-to="2"></li>
<li data-target="#myCarousel" data-slide-to="3"></li> <li data-target="#myCarousel" data-slide-to="3"></li>
</ol> </ol>
<!-- 轮播(Carousel)项目 --> <!-- Carousel -->
<div class="carousel-inner"> <div class="carousel-inner">
<div class="item active"> <div class="item active">
<img src="images/Carousel1.jpg" alt="First slide"> <img src="images/Carousel1.jpg" alt="First slide">
@@ -52,19 +52,19 @@ body {
<img src="images/Carousel4.jpg" alt="Fourth slide"> <img src="images/Carousel4.jpg" alt="Fourth slide">
</div> </div>
</div> </div>
<!-- 轮播(Carousel)导航 --> <!-- Carousel -->
<a class="left carousel-control" href="#myCarousel" role="button" <a class="left carousel-control" href="#myCarousel" role="button"
data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"
aria-hidden="true"></span> <span class="sr-only">Previous</span> aria-hidden="true"></span> <span class="sr-only">Pr<EFBFBD>c<EFBFBD>dent</span>
</a> <a class="right carousel-control" href="#myCarousel" role="button" </a> <a class="right carousel-control" href="#myCarousel" role="button"
data-slide="next"> <span data-slide="next"> <span
class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span> <span class="sr-only">Suivant</span>
</a> </a>
</div> </div>
<!--正文--> <!---->
@@ -76,7 +76,7 @@ body {
<!--页脚--> <!---->
<footer> <jsp:include page="footer.jsp" flush="true" /> </footer> <footer> <jsp:include page="footer.jsp" flush="true" /> </footer>
</body> </body>
</html> </html>

View File

@@ -3,7 +3,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en"> <html lang="en">
<head> <head>
<title>Join GodSpeed!</title> <title>Rejoindre GodSpeed!</title>
<link rel="shortcut icon" href="favicon.ico" > <link rel="shortcut icon" href="favicon.ico" >
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
@@ -23,37 +23,37 @@ body {
</style> </style>
</head> </head>
<body> <body>
<!--导航栏--> <!---->
<nav class="navbar navbar-inverse navbar-fixed-top"> <jsp:include <nav class="navbar navbar-inverse navbar-fixed-top"> <jsp:include
page="header.jsp" flush="true" /> </nav> page="header.jsp" flush="true" /> </nav>
<!--注册表单--> <!---->
<h3>Something here</h3> <h3>Renseigner les informations ici</h3>
<div class="container" style="width: 50%"> <div class="container" style="width: 50%">
<div class="row"> <div class="row">
<form id="register_form" class="class-inline" action="signup" method="post"> <form id="register_form" class="class-inline" action="signup" method="post">
<h3>User Information</h3> <h3>Utilisateur Informations</h3>
<div class="validate[required]"> <div class="validate[required]">
<label for="Username">Username:</label> <label for="Username">Pseudo:</label>
<label id="label_username" style="font-color:#EE0000"></label> <label id="label_username" style="font-color:#EE0000"></label>
<input type="text" class="form-control" name="username" id="username" placeholder="Enter Username" onblur="checkName()"> <input type="text" class="form-control" name="username" id="username" placeholder="Enter Username" onblur="checkName()">
<label for="Password">Password:</label> <label for="Password">Mot de passe:</label>
<input type="password" class="form-control" name="password" id="password" placeholder="Enter Password"> <input type="password" class="form-control" name="password" id="password" placeholder="Enter Password">
<label for="Phone">Phone:</label> <label for="Phone">T<EFBFBD>l<EFBFBD>phone:</label>
<input type="text" class="form-control" name="phone" id="phone" placeholder="Enter Phone Number"> <input type="text" class="form-control" name="phone" id="phone" placeholder="Enter Phone Number">
</div> </div>
<h3>Billing Address</h3> <h3>Adresse de facturation</h3>
<div class="validate[required]"> <div class="validate[required]">
<label for="email">Email:</label> <label for="email">Email:</label>
<input type="text" class="form-control" name="email" id="email" placeholder="Enter Email"> <input type="text" class="form-control" name="email" id="email" placeholder="Enter Email">
<label for="city">City:</label> <label for="city">Ville:</label>
<input type="text" class="form-control" name="city" id="city" placeholder="Enter City"> <input type="text" class="form-control" name="city" id="city" placeholder="Enter City">
<label for="street">Street:</label> <label for="street">Rue:</label>
<input type="text" class="form-control" name="street" id="street" placeholder="Enter Street"> <input type="text" class="form-control" name="street" id="street" placeholder="Enter Street">
<label for="apartment">Apartment:</label> <label for="apartment">Appartement:</label>
<input type="text" class="form-control" name="apartment" id="apartment" placeholder="Enter Apartment"> <input type="text" class="form-control" name="apartment" id="apartment" placeholder="Enter Apartment">
</div> </div>
<div align="center" style="margin-top: 15px"> <div align="center" style="margin-top: 15px">
<button type="button" class="btn btn-info" onclick="Check()">Submit</button> <button type="button" class="btn btn-info" onclick="Check()">Valider</button>
</div> </div>
</form> </form>
</div> </div>
@@ -61,7 +61,7 @@ body {
<!--页脚--> <!---->
<footer style="width: 100%;position:absolute;bottom:0px;left:0px;"> <footer style="width: 100%;position:absolute;bottom:0px;left:0px;">
<jsp:include page="footer.jsp" flush="true" /> </footer> <jsp:include page="footer.jsp" flush="true" /> </footer>

View File

@@ -3,7 +3,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en"> <html lang="en">
<head> <head>
<title>Sign In</title> <title>Se connecter</title>
<link rel="shortcut icon" href="favicon.ico" > <link rel="shortcut icon" href="favicon.ico" >
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
@@ -20,36 +20,36 @@ body {
</style> </style>
</head> </head>
<body> <body>
<!--导航栏--> <!---->
<nav class="navbar navbar-inverse navbar-fixed-top"> <jsp:include <nav class="navbar navbar-inverse navbar-fixed-top"> <jsp:include
page="header.jsp" flush="true" /> </nav> page="header.jsp" flush="true" /> </nav>
<!--登陆表单--> <!---->
<h3>Something here</h3> <h3>Renseigner les informations ici</h3>
<div class="container" style="width: 50%"> <div class="container" style="width: 50%">
<div class="row"> <div class="row">
<h3>Sign In To GodSpeed</h3> <h3>Se connecter <20> GodSpeed</h3>
<h4> <h4>
<font color="#EE0000">${message}</font> <font color="#EE0000">${message}</font>
</h4> </h4>
<form id="login_form" class="class-inline" action="signin" <form id="login_form" class="class-inline" action="signin"
method="post"> method="post">
<div class="validate[required]"> <div class="validate[required]">
<label for="Username">Username:</label> <input type="text" <label for="Username">Pseudo:</label> <input type="text"
class="form-control" name="username" id="username" class="form-control" name="username" id="username"
placeholder="Enter Username"> <label for="Password">Password:</label> placeholder="Enter Username"> <label for="Password">Mot de passe:</label>
<input type="password" class="form-control" name="password" <input type="password" class="form-control" name="password"
id="password" placeholder="Enter Password"> id="password" placeholder="Enter Password">
</div> </div>
<div align="center" style="margin-top: 15px"> <div align="center" style="margin-top: 15px">
<button type="submit" class="btn btn-info"> <button type="submit" class="btn btn-info">
<font color="" #FFFFFF>Sign In</font> <font color="" #FFFFFF>Se connecter</font>
</button> </button>
</div> </div>
</form> </form>
</div> </div>
</div> </div>
<!--页脚--> <!---->
<footer <footer
style="width: 100%; style="width: 100%;
position:absolute; position:absolute;

View File

@@ -5,16 +5,16 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Here About You</title> <title>A propos de Vous !</title>
<link rel="shortcut icon" href="favicon.ico" > <link rel="shortcut icon" href="favicon.ico" >
<!--配置Bootstrap--> <!--Bootstrap-->
<link rel="stylesheet" <link rel="stylesheet"
href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script <script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script> src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script <script
src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<!--配置用户表头文件--> <!---->
<link href="css/bootstrap.css" rel="stylesheet"> <link href="css/bootstrap.css" rel="stylesheet">
<link href="js/bootstrap.min.js"> <link href="js/bootstrap.min.js">
<link href="css/font-awesome.min.css" rel="stylesheet"> <link href="css/font-awesome.min.css" rel="stylesheet">
@@ -31,7 +31,7 @@
</style> </style>
</head> </head>
<body> <body>
<!--导航栏--> <!---->
<nav class="navbar navbar-inverse navbar-fixed-top"> <jsp:include <nav class="navbar navbar-inverse navbar-fixed-top"> <jsp:include
page="header.jsp" flush="true" /> </nav> page="header.jsp" flush="true" /> </nav>
@@ -50,11 +50,11 @@
<div class="tab-pane active" id="about"> <div class="tab-pane active" id="about">
<h2>${user.username}</h2> <h2>${user.username}</h2>
<hr> <hr>
<h4>Contact Information</h4> <h4>Utilisateur Information</h4>
<table cellspacing="0" cellpadding="0" class="order-table"> <table cellspacing="0" cellpadding="0" class="order-table">
<tbody class="J_Shop"> <tbody class="J_Shop">
<tr class="item"> <tr class="item">
<td><grey>Phone</grey></td> <td><grey>T<EFBFBD>l<EFBFBD>phone</grey></td>
<td>${user.phone}</td> <td>${user.phone}</td>
</tr> </tr>
<tr class="item"> <tr class="item">
@@ -63,19 +63,19 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
<h4>Billing Address</h4> <h4>Adresse de Facturation</h4>
<table cellspacing="0" cellpadding="0" class="order-table"> <table cellspacing="0" cellpadding="0" class="order-table">
<tbody class="J_Shop"> <tbody class="J_Shop">
<tr class="item"> <tr class="item">
<td><grey>City</grey></td> <td><grey>Ville</grey></td>
<td>${user.city}</td> <td>${user.city}</td>
</tr> </tr>
<tr class="item"> <tr class="item">
<td><grey>Street</grey></td> <td><grey>Rue</grey></td>
<td>${user.street}${user.street}</td> <td>${user.street}${user.street}</td>
</tr> </tr>
<tr class="item"> <tr class="item">
<td><grey>Zipcode</grey></td> <td><grey>Code Postal</grey></td>
<td>${user.apartment}</td> <td>${user.apartment}</td>
</tr> </tr>
</tbody> </tbody>
@@ -99,7 +99,7 @@
}) })
</script> </script>
<!--页脚--> <!---->
<footer <footer
style="width: 100%; style="width: 100%;
position:absolute; position:absolute;