res_list.ejs
2.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- Bootstrap core CSS -->
<link rel="stylesheet" type="text/css" href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom fonts for this template -->
<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Cabin:700' rel='stylesheet' type='text/css'>
<!-- Custom styles for this template -->
<link href="css/grayscale.min.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.13.0/moment.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.37/js/bootstrap-datetimepicker.min.js"></script>
<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<link rel="stylesheet" href="https://jqueryui.com/resources/demos/style.css">
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<title>식당 예약</title>
<style type="text/css">
.reservationTheme{
background:url('/img/12.jpg') no-repeat center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
</style>
<section id="about" class="reservationTheme content-section ">
<br><br>
<h1>예약 리스트</h1>
<table class = "table table-hover">
<thead>
<tr>
<th>번호</th>
<th>이름</th>
<th>휴대폰번호</th>
<th>email</th>
<th>인원</th>
<th>예약 시</th>
<th>예약 분</th>
<th>예약 날짜 </th>
<th>메뉴</th>
<th>작성시간</th>
</tr>
</thead>
<tbody>
<% for(var i=0; i< data.length; i++) { %>
<tr>
<td><%=data[i].idx%></td>
<td><%=data[i].creater_id%></td>
<td><%=data[i].phone%></td>
<td><%=data[i].email%></td>
<td><%=data[i].num%></td>
<td><%=data[i].restime%></td>
<td><%=data[i].resmin%></td>
<td><%=data[i].date%></td>
<td><%=data[i].content%></td>
<td><%=data[i].modidate%></td>
</tr>
<% } %>
</tbody>
</table>
<div class="form-group">
<label class="col-md-4 control-label"></label>
<div class="col-md-4 center">
<a href="/first" class="btn btn-default btn-lg">홈으로</a>
</div>
</head>
</html>
<!-- <form method="POST" action="/jj">