Maj informations
This commit is contained in:
parent
0d6b428bd7
commit
0baf037834
@ -21,7 +21,7 @@ public class FilmController {
|
||||
private FilmServiceImpl filmService;
|
||||
|
||||
/**
|
||||
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ<EFBFBD><EFBFBD>Ӱ<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><EFBFBD>DC<EFBFBD><EFBFBD>2<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
*
|
||||
*
|
||||
* @param request
|
||||
* @return
|
||||
|
@ -26,7 +26,7 @@ public class RecordController {
|
||||
private UserServiceImpl userService;
|
||||
|
||||
/**
|
||||
* <EFBFBD><EFBFBD>ӵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ﳵ
|
||||
*
|
||||
*
|
||||
* @param request
|
||||
* @return
|
||||
@ -42,7 +42,7 @@ public class RecordController {
|
||||
}
|
||||
|
||||
/**
|
||||
* <EFBFBD>Ƴ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ﳵ
|
||||
*
|
||||
*
|
||||
* @param request
|
||||
* @return
|
||||
@ -57,7 +57,7 @@ public class RecordController {
|
||||
}
|
||||
|
||||
/**
|
||||
* ֧<EFBFBD><EFBFBD>
|
||||
* ֧
|
||||
*
|
||||
* @param request
|
||||
* @return
|
||||
@ -72,7 +72,7 @@ public class RecordController {
|
||||
}
|
||||
|
||||
/**
|
||||
* <EFBFBD><EFBFBD>ѯ<EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>parameter type<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ﳵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʷ<EFBFBD><EFBFBD>¼
|
||||
*
|
||||
*
|
||||
* @param request
|
||||
* @return
|
||||
|
@ -25,7 +25,7 @@ public class UserController {
|
||||
private RecordServiceImpl recordService;
|
||||
|
||||
/**
|
||||
* <EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
*
|
||||
*
|
||||
* @param request
|
||||
* @return
|
||||
@ -54,7 +54,7 @@ public class UserController {
|
||||
}
|
||||
|
||||
/**
|
||||
* ע<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
*
|
||||
*
|
||||
* @param request
|
||||
* @return
|
||||
@ -77,7 +77,7 @@ public class UserController {
|
||||
}
|
||||
|
||||
/**
|
||||
* <EFBFBD><EFBFBD><EFBFBD>username<EFBFBD>Ƿ<EFBFBD><EFBFBD>Ѵ<EFBFBD><EFBFBD>ڣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><EFBFBD>ģ<EFBFBD><EFBFBD>ajax<EFBFBD><EFBFBD>ʽ<EFBFBD>ж<EFBFBD>
|
||||
*
|
||||
*
|
||||
* @param request
|
||||
* @param response
|
||||
@ -97,7 +97,7 @@ public class UserController {
|
||||
}
|
||||
|
||||
/**
|
||||
* <EFBFBD>˳<EFBFBD><EFBFBD><EFBFBD>¼
|
||||
*
|
||||
*
|
||||
* @param request
|
||||
* @return
|
||||
@ -114,7 +114,7 @@ public class UserController {
|
||||
}
|
||||
|
||||
/**
|
||||
* <EFBFBD><EFBFBD>ѯ<EFBFBD>û<EFBFBD><EFBFBD><EFBFBD>Ϣ
|
||||
*
|
||||
*
|
||||
* @param request
|
||||
* @return
|
||||
|
@ -11,7 +11,7 @@ import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* <EFBFBD><EFBFBD>Ӱʵ<EFBFBD>壬ӳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>film<EFBFBD><EFBFBD>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@Entity
|
||||
|
@ -3,19 +3,19 @@ package com.eshop.entity;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* <EFBFBD><EFBFBD>¼<EFBFBD>ҵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD>壬<EFBFBD><EFBFBD>ʾһ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ﳵ<EFBFBD><EFBFBD>¼or<EFBFBD><EFBFBD>ʷ<EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD>
|
||||
*
|
||||
*
|
||||
*/
|
||||
public class Item implements Serializable {
|
||||
private long rid; // <EFBFBD><EFBFBD>¼id
|
||||
private long uid; // <EFBFBD>û<EFBFBD>id
|
||||
private long fid; // <EFBFBD><EFBFBD>Ӱid
|
||||
private String title; // <EFBFBD><EFBFBD>Ӱ<EFBFBD><EFBFBD>
|
||||
private String date; // <EFBFBD><EFBFBD>ӳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
private String duration; // ʱ<EFBFBD><EFBFBD>
|
||||
private double price; // <EFBFBD>۸<EFBFBD>
|
||||
private String image; // <EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͼƬ
|
||||
private String time; // ֧<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>
|
||||
private long rid; // rid
|
||||
private long uid; // uid
|
||||
private long fid; // fid
|
||||
private String title; // title
|
||||
private String date; // date
|
||||
private String duration; // duration
|
||||
private double price; // price
|
||||
private String image; // image
|
||||
private String time; // ֧time
|
||||
|
||||
public Item() {
|
||||
|
||||
|
@ -4,18 +4,18 @@ import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <EFBFBD><EFBFBD>ҳʵ<EFBFBD><EFBFBD>
|
||||
*
|
||||
*
|
||||
* @param <T> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
* @param <T>
|
||||
*/
|
||||
public class Page<T> implements Serializable {
|
||||
// ҳ<EFBFBD><EFBFBD><EFBFBD>С
|
||||
// pageSize
|
||||
public static final int pageSize = 5;
|
||||
// <EFBFBD><EFBFBD>ҳ<EFBFBD><EFBFBD>
|
||||
// totalPages
|
||||
private int totalPages;
|
||||
// <EFBFBD><EFBFBD>ǰҳ<EFBFBD><EFBFBD>
|
||||
// currentPage
|
||||
private int currentPage;
|
||||
// <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>List
|
||||
// result
|
||||
private List<T> result;
|
||||
|
||||
public Page() {
|
||||
|
@ -10,7 +10,7 @@ import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* <EFBFBD><EFBFBD>¼ʵ<EFBFBD>壬ӳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>record<EFBFBD><EFBFBD>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@Entity
|
||||
|
@ -10,7 +10,7 @@ import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* <EFBFBD>û<EFBFBD><EFBFBD><EFBFBD>ӳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>user<EFBFBD><EFBFBD>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@Entity
|
||||
|
@ -6,7 +6,7 @@ import java.security.NoSuchAlgorithmException;
|
||||
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
|
||||
* @return
|
||||
*/
|
||||
|
@ -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/security http://www.springframework.org/schema/security/spring-security-4.2.xsd">
|
||||
|
||||
<!-- 自动扫描所有注解(除Controller) 注册为bean (启动注解) -->
|
||||
<!-- -->
|
||||
<context:component-scan base-package="com.eshop">
|
||||
<context:exclude-filter type="annotation"
|
||||
expression="org.springframework.stereotype.Controller" />
|
||||
</context:component-scan>
|
||||
|
||||
<!--配置数据源 -->
|
||||
<!-- -->
|
||||
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource">
|
||||
<property name="driverClassName" value="com.mysql.jdbc.Driver" />
|
||||
<property name="url"
|
||||
@ -27,7 +27,7 @@
|
||||
<property name="maxWait" value="10000" />
|
||||
</bean>
|
||||
|
||||
<!--配置session工厂 -->
|
||||
<!-- -->
|
||||
<bean id="sessionFactory"
|
||||
class="org.springframework.orm.hibernate5.LocalSessionFactoryBean">
|
||||
<property name="dataSource" ref="dataSource" />
|
||||
@ -41,13 +41,13 @@
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<!-- 事务管理器配置 -->
|
||||
<!-- -->
|
||||
<bean id="transactionManager"
|
||||
class="org.springframework.orm.hibernate5.HibernateTransactionManager">
|
||||
<property name="sessionFactory" ref="sessionFactory" />
|
||||
</bean>
|
||||
|
||||
<!-- 启动事务注解 -->
|
||||
<!-- -->
|
||||
<tx:annotation-driven transaction-manager="transactionManager"
|
||||
proxy-target-class="true" />
|
||||
|
||||
|
@ -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/aop http://www.springframework.org/schema/aop/spring-aop.xsd">
|
||||
|
||||
<!-- 静态资源访问 -->
|
||||
<!-- -->
|
||||
<mvc:default-servlet-handler/>
|
||||
|
||||
<mvc:annotation-driven/>
|
||||
|
||||
<!-- 把标记了@Controller注解的类转换为bean -->
|
||||
<!-- 把标记了@Controller bean -->
|
||||
<context:component-scan base-package="com.eshop.controller">
|
||||
</context:component-scan>
|
||||
|
||||
<!-- ViewResolver Servlet、JSP视图解析-->
|
||||
<!-- ViewResolver Servlet、JSP-->
|
||||
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
|
||||
<property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/>
|
||||
<property name="prefix" value="/"/>
|
||||
<property name="suffix" value=".jsp"/>
|
||||
</bean>
|
||||
|
||||
<!-- 配置拦截器 -->
|
||||
|
||||
<!--
|
||||
<mvc:interceptors>
|
||||
<mvc:interceptor>
|
||||
|
@ -8,7 +8,7 @@
|
||||
<welcome-file>index.jsp</welcome-file>
|
||||
</welcome-file-list>
|
||||
|
||||
<!-- 配置spring -->
|
||||
<!-- spring -->
|
||||
<listener>
|
||||
<listener-class>
|
||||
org.springframework.web.context.ContextLoaderListener
|
||||
@ -19,7 +19,7 @@
|
||||
<param-value>WEB-INF/spring.xml</param-value>
|
||||
</context-param>
|
||||
|
||||
<!-- 配置springMVC DispatcherServlet -->
|
||||
<!-- springMVC DispatcherServlet -->
|
||||
<servlet>
|
||||
<servlet-name>dispatcher</servlet-name>
|
||||
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
|
||||
@ -34,7 +34,7 @@
|
||||
<url-pattern>/</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!-- 配置编码格式 -->
|
||||
<!-- -->
|
||||
<filter>
|
||||
<filter-name>CharacterEncodingFilter</filter-name>
|
||||
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
|
||||
|
30
web/cart.jsp
30
web/cart.jsp
@ -5,16 +5,16 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Cart</title>
|
||||
<title>Panier</title>
|
||||
<link rel="shortcut icon" href="favicon.ico">
|
||||
<!--配置Bootstrap-->
|
||||
<!--Bootstrap-->
|
||||
<link rel="stylesheet"
|
||||
href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
|
||||
<script
|
||||
src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
|
||||
<script
|
||||
src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
|
||||
<!--配置用户表头文件-->
|
||||
<!---->
|
||||
<link href="css/bootstrap.css" rel="stylesheet">
|
||||
<link href="js/bootstrap.min.js">
|
||||
<link href="css/font-awesome.min.css" rel="stylesheet">
|
||||
@ -31,7 +31,7 @@
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!--导航栏-->
|
||||
<!---->
|
||||
<nav class="navbar navbar-inverse navbar-fixed-top"> <jsp:include
|
||||
page="header.jsp" flush="true" /> </nav>
|
||||
|
||||
@ -43,19 +43,19 @@
|
||||
<table cellspacing="0" cellpadding="0" class="order-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="s-total">TITLE&PRICE
|
||||
<th class="s-total">Titre&Prix
|
||||
<hr />
|
||||
</th>
|
||||
<th class="s-total">RELEASE DATE
|
||||
<th class="s-total">Date de Réalisation
|
||||
<hr />
|
||||
</th>
|
||||
<th class="s-total">DURATION
|
||||
<th class="s-total">Durée
|
||||
<hr />
|
||||
</th>
|
||||
<th class="s-total">PAY DATE
|
||||
<th class="s-total">Date de paiement
|
||||
<hr />
|
||||
</th>
|
||||
<th class="s-total">OPERATION
|
||||
<th class="s-total">Opération
|
||||
<hr />
|
||||
</th>
|
||||
</tr>
|
||||
@ -68,10 +68,10 @@
|
||||
<td class="s-title">${item.date}</td>
|
||||
<td class="s-title">${item.duration}</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>
|
||||
</c:forEach>
|
||||
<!-- 分页行 -->
|
||||
<!-- -->
|
||||
<tr class="shop-total blue-line">
|
||||
<td colspan="1"><a href="pay"><button type="button"
|
||||
class="btn btn-warning">Checkout</button></a></td>
|
||||
@ -79,7 +79,7 @@
|
||||
<div id="pagination">
|
||||
<c:if test="${page.totalPages != 0 && page.currentPage != 1}">
|
||||
<a href="record?type=0&pageNo=${page.currentPage - 1}"
|
||||
class="btn">Previous</a>
|
||||
class="btn">Récedent</a>
|
||||
</c:if>
|
||||
<c:choose>
|
||||
<c:when test="${page.currentPage < 6}">
|
||||
@ -154,12 +154,12 @@
|
||||
<c:if
|
||||
test="${page.totalPages != 0 && page.currentPage != page.totalPages}">
|
||||
<a href="record?type=0&pageNo=${page.currentPage + 1}"
|
||||
class="btn">Next</a>
|
||||
class="btn">Suivant</a>
|
||||
</c:if>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- 分页行end -->
|
||||
<!-- end -->
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@ -174,7 +174,7 @@
|
||||
})
|
||||
</script>
|
||||
|
||||
<!--页脚-->
|
||||
<!---->
|
||||
<footer
|
||||
style="width: 100%;
|
||||
position:absolute;
|
||||
|
@ -23,11 +23,11 @@ body {
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!--导航栏-->
|
||||
<!-- -->
|
||||
<nav class="navbar navbar-inverse navbar-fixed-top"> <jsp:include
|
||||
page="header.jsp" flush="true" /> </nav>
|
||||
<h3>Something Here</h3>
|
||||
<!--板块1-->
|
||||
<h3>Quelque chose ici</h3>
|
||||
<!---->
|
||||
<c:forEach items="${films}" var="film">
|
||||
<div class="jumbotron well">
|
||||
<h1>
|
||||
@ -44,11 +44,11 @@ body {
|
||||
${film.introduction}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="badge badge-secondary">Directors:</span>
|
||||
<td><span class="badge badge-secondary">Directeurs:</span>
|
||||
${film.directors}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="badge badge-secondary">Writers:</span>
|
||||
<td><span class="badge badge-secondary">Ecrivains:</span>
|
||||
${film.writers}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -60,10 +60,10 @@ body {
|
||||
<p>
|
||||
<c:choose>
|
||||
<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: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:choose>
|
||||
|
||||
@ -72,7 +72,7 @@ body {
|
||||
</div>
|
||||
</c:forEach>
|
||||
|
||||
<!--页脚-->
|
||||
<!---->
|
||||
<footer> <jsp:include page="footer.jsp" flush="true" /> </footer>
|
||||
|
||||
</body>
|
||||
|
@ -16,31 +16,30 @@
|
||||
</h3>
|
||||
<hr style="height: 3px; border: none; border-top: 3px ridge green;" />
|
||||
<p>
|
||||
<font color="white">We provide the best online film booking
|
||||
services for the United States users.</font>
|
||||
<font color="white">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</font>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-4 col-md-6 footer-link">
|
||||
<h3>
|
||||
<font color="white">Useful Links</font>
|
||||
<font color="white">Lien utiles</font>
|
||||
</h3>
|
||||
<hr style="height: 3px; border: none; border-top: 3px ridge green;" />
|
||||
<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>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-4 col-md-6 footer-contact">
|
||||
<h3>
|
||||
<font color="white">Contact Us</font>
|
||||
<font color="white">Nous contacter</font>
|
||||
</h3>
|
||||
<hr style="height: 3px; border: none; border-top: 3px ridge green;" />
|
||||
<p>
|
||||
<font color="white"> 46 Creighton st Boston, 02130 United States <br>
|
||||
<strong>Phone:</strong> +1 617-850-5715<br>
|
||||
<strong>Email:</strong> gao.di1@husky.neu.edu<br>
|
||||
<font color="white"> 10 rue Cuirassé Brest, 292£00 France <br>
|
||||
<strong>Téléphone:</strong> +33611223344<br>
|
||||
<strong>Email:</strong> test.test@isen.fr<br>
|
||||
</font>
|
||||
</p>
|
||||
</div>
|
||||
|
@ -21,20 +21,20 @@
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="films?type=0">Marvel</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 class="nav navbar-nav navbar-right">
|
||||
<c:choose>
|
||||
<c:when test="${flag == true}">
|
||||
<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=1"><span class="glyphicon glyphicon-list"></span> History</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="record?type=0"><span class="glyphicon glyphicon-film"></span> Panier</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="logout"><span class="glyphicon glyphicon-log-in"></span> Déconnexion</a></li>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<li><a href="register.jsp"><span class="glyphicon glyphicon-user"></span> Sign Up</a></li>
|
||||
<li><a href="signin.jsp"><span class="glyphicon glyphicon-log-in"></span> Login</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> S'identifier</a></li>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</ul>
|
||||
|
@ -5,16 +5,16 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>History</title>
|
||||
<title>Historique</title>
|
||||
<link rel="shortcut icon" href="favicon.ico" >
|
||||
<!--配置Bootstrap-->
|
||||
<!--Bootstrap-->
|
||||
<link rel="stylesheet"
|
||||
href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
|
||||
<script
|
||||
src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
|
||||
<script
|
||||
src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
|
||||
<!--配置用户表头文件-->
|
||||
<!---->
|
||||
<link href="css/bootstrap.css" rel="stylesheet">
|
||||
<link href="js/bootstrap.min.js">
|
||||
<link href="css/font-awesome.min.css" rel="stylesheet">
|
||||
@ -31,7 +31,7 @@
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!--导航栏-->
|
||||
<!---->
|
||||
<nav class="navbar navbar-inverse navbar-fixed-top"> <jsp:include
|
||||
page="header.jsp" flush="true" /> </nav>
|
||||
|
||||
@ -41,16 +41,16 @@
|
||||
<table cellspacing="0" cellpadding="0" class="order-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="s-total">TITLE&PRICE
|
||||
<th class="s-total">Titre&Prix
|
||||
<hr />
|
||||
</th>
|
||||
<th class="s-total">RELEASE DATE
|
||||
<th class="s-total">Date de sortie
|
||||
<hr />
|
||||
</th>
|
||||
<th class="s-total">DURATION
|
||||
<th class="s-total">Durée
|
||||
<hr />
|
||||
</th>
|
||||
<th class="s-total">PAY DATE
|
||||
<th class="s-total">Date de paiement
|
||||
<hr />
|
||||
</th>
|
||||
</tr>
|
||||
@ -65,13 +65,13 @@
|
||||
<td class="s-title">${item.time}</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
<!-- 分页行 -->
|
||||
<!-- -->
|
||||
<tr class="shop-total blue-line">
|
||||
<td colspan="4">
|
||||
<div id="pagination">
|
||||
<c:if test="${page.totalPages != 0 && page.currentPage != 1}">
|
||||
<a href="record?type=1&pageNo=${page.currentPage - 1}"
|
||||
class="btn">Previous</a>
|
||||
class="btn">Précédent</a>
|
||||
</c:if>
|
||||
<c:choose>
|
||||
<c:when test="${page.currentPage < 6}">
|
||||
@ -146,12 +146,12 @@
|
||||
<c:if
|
||||
test="${page.totalPages != 0 && page.currentPage != page.totalPages}">
|
||||
<a href="record?type=1&pageNo=${page.currentPage + 1}"
|
||||
class="btn">Next</a>
|
||||
class="btn">Suivant</a>
|
||||
</c:if>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- 分页行end -->
|
||||
<!-- -->
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@ -166,7 +166,7 @@
|
||||
})
|
||||
</script>
|
||||
|
||||
<!--页脚-->
|
||||
<!---->
|
||||
<footer
|
||||
style="width: 100%;
|
||||
position:absolute;
|
||||
|
@ -22,22 +22,22 @@ body {
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!--导航栏-->
|
||||
<!---->
|
||||
<nav class="navbar navbar-inverse">
|
||||
<jsp:include page="header.jsp" flush="true" />
|
||||
</nav>
|
||||
<!--轮播-->
|
||||
<!---->
|
||||
|
||||
|
||||
<div id="myCarousel" class="carousel slide">
|
||||
<!-- 轮播(Carousel)指标 -->
|
||||
<!-- Carousel -->
|
||||
<ol class="carousel-indicators">
|
||||
<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="2"></li>
|
||||
<li data-target="#myCarousel" data-slide-to="3"></li>
|
||||
</ol>
|
||||
<!-- 轮播(Carousel)项目 -->
|
||||
<!-- Carousel -->
|
||||
<div class="carousel-inner">
|
||||
<div class="item active">
|
||||
<img src="images/Carousel1.jpg" alt="First slide">
|
||||
@ -52,19 +52,19 @@ body {
|
||||
<img src="images/Carousel4.jpg" alt="Fourth slide">
|
||||
</div>
|
||||
</div>
|
||||
<!-- 轮播(Carousel)导航 -->
|
||||
<!-- Carousel -->
|
||||
<a class="left carousel-control" href="#myCarousel" role="button"
|
||||
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écédent</span>
|
||||
</a> <a class="right carousel-control" href="#myCarousel" role="button"
|
||||
data-slide="next"> <span
|
||||
class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
|
||||
<span class="sr-only">Next</span>
|
||||
<span class="sr-only">Suivant</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<!--正文-->
|
||||
<!---->
|
||||
|
||||
|
||||
|
||||
@ -76,7 +76,7 @@ body {
|
||||
|
||||
|
||||
|
||||
<!--页脚-->
|
||||
<!---->
|
||||
<footer> <jsp:include page="footer.jsp" flush="true" /> </footer>
|
||||
</body>
|
||||
</html>
|
@ -3,7 +3,7 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Join GodSpeed!</title>
|
||||
<title>Rejoindre GodSpeed!</title>
|
||||
<link rel="shortcut icon" href="favicon.ico" >
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
@ -23,37 +23,37 @@ body {
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!--导航栏-->
|
||||
<!---->
|
||||
<nav class="navbar navbar-inverse navbar-fixed-top"> <jsp:include
|
||||
page="header.jsp" flush="true" /> </nav>
|
||||
<!--注册表单-->
|
||||
<h3>Something here</h3>
|
||||
<!---->
|
||||
<h3>Renseigner les informations ici</h3>
|
||||
<div class="container" style="width: 50%">
|
||||
<div class="row">
|
||||
<form id="register_form" class="class-inline" action="signup" method="post">
|
||||
<h3>User Information</h3>
|
||||
<h3>Utilisateur Informations</h3>
|
||||
<div class="validate[required]">
|
||||
<label for="Username">Username:</label>
|
||||
<label for="Username">Pseudo:</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()">
|
||||
<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">
|
||||
<label for="Phone">Phone:</label>
|
||||
<label for="Phone">Téléphone:</label>
|
||||
<input type="text" class="form-control" name="phone" id="phone" placeholder="Enter Phone Number">
|
||||
</div>
|
||||
<h3>Billing Address</h3>
|
||||
<h3>Adresse de facturation</h3>
|
||||
<div class="validate[required]">
|
||||
<label for="email">Email:</label>
|
||||
<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">
|
||||
<label for="street">Street:</label>
|
||||
<label for="street">Rue:</label>
|
||||
<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">
|
||||
</div>
|
||||
<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>
|
||||
</form>
|
||||
</div>
|
||||
@ -61,7 +61,7 @@ body {
|
||||
|
||||
|
||||
|
||||
<!--页脚-->
|
||||
<!---->
|
||||
<footer style="width: 100%;position:absolute;bottom:0px;left:0px;">
|
||||
<jsp:include page="footer.jsp" flush="true" /> </footer>
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Sign In</title>
|
||||
<title>Se connecter</title>
|
||||
<link rel="shortcut icon" href="favicon.ico" >
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
@ -20,36 +20,36 @@ body {
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!--导航栏-->
|
||||
<!---->
|
||||
<nav class="navbar navbar-inverse navbar-fixed-top"> <jsp:include
|
||||
page="header.jsp" flush="true" /> </nav>
|
||||
<!--登陆表单-->
|
||||
<h3>Something here</h3>
|
||||
<!---->
|
||||
<h3>Renseigner les informations ici</h3>
|
||||
<div class="container" style="width: 50%">
|
||||
<div class="row">
|
||||
<h3>Sign In To GodSpeed</h3>
|
||||
<h3>Se connecter à GodSpeed</h3>
|
||||
<h4>
|
||||
<font color="#EE0000">${message}</font>
|
||||
</h4>
|
||||
<form id="login_form" class="class-inline" action="signin"
|
||||
method="post">
|
||||
<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"
|
||||
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"
|
||||
id="password" placeholder="Enter Password">
|
||||
</div>
|
||||
<div align="center" style="margin-top: 15px">
|
||||
<button type="submit" class="btn btn-info">
|
||||
<font color="" #FFFFFF>Sign In</font>
|
||||
<font color="" #FFFFFF>Se connecter</font>
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--页脚-->
|
||||
<!---->
|
||||
<footer
|
||||
style="width: 100%;
|
||||
position:absolute;
|
||||
|
@ -5,16 +5,16 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Here About You</title>
|
||||
<title>A propos de Vous !</title>
|
||||
<link rel="shortcut icon" href="favicon.ico" >
|
||||
<!--配置Bootstrap-->
|
||||
<!--Bootstrap-->
|
||||
<link rel="stylesheet"
|
||||
href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
|
||||
<script
|
||||
src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
|
||||
<script
|
||||
src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
|
||||
<!--配置用户表头文件-->
|
||||
<!---->
|
||||
<link href="css/bootstrap.css" rel="stylesheet">
|
||||
<link href="js/bootstrap.min.js">
|
||||
<link href="css/font-awesome.min.css" rel="stylesheet">
|
||||
@ -31,7 +31,7 @@
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!--导航栏-->
|
||||
<!---->
|
||||
<nav class="navbar navbar-inverse navbar-fixed-top"> <jsp:include
|
||||
page="header.jsp" flush="true" /> </nav>
|
||||
|
||||
@ -50,11 +50,11 @@
|
||||
<div class="tab-pane active" id="about">
|
||||
<h2>${user.username}</h2>
|
||||
<hr>
|
||||
<h4>Contact Information</h4>
|
||||
<h4>Utilisateur Information</h4>
|
||||
<table cellspacing="0" cellpadding="0" class="order-table">
|
||||
<tbody class="J_Shop">
|
||||
<tr class="item">
|
||||
<td><grey>Phone</grey></td>
|
||||
<td><grey>Téléphone</grey></td>
|
||||
<td>${user.phone}</td>
|
||||
</tr>
|
||||
<tr class="item">
|
||||
@ -63,19 +63,19 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4>Billing Address</h4>
|
||||
<h4>Adresse de Facturation</h4>
|
||||
<table cellspacing="0" cellpadding="0" class="order-table">
|
||||
<tbody class="J_Shop">
|
||||
<tr class="item">
|
||||
<td><grey>City</grey></td>
|
||||
<td><grey>Ville</grey></td>
|
||||
<td>${user.city}</td>
|
||||
</tr>
|
||||
<tr class="item">
|
||||
<td><grey>Street</grey></td>
|
||||
<td><grey>Rue</grey></td>
|
||||
<td>${user.street}${user.street}</td>
|
||||
</tr>
|
||||
<tr class="item">
|
||||
<td><grey>Zipcode</grey></td>
|
||||
<td><grey>Code Postal</grey></td>
|
||||
<td>${user.apartment}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -99,7 +99,7 @@
|
||||
})
|
||||
</script>
|
||||
|
||||
<!--页脚-->
|
||||
<!---->
|
||||
<footer
|
||||
style="width: 100%;
|
||||
position:absolute;
|
||||
|
Loading…
x
Reference in New Issue
Block a user