result.ejs
2.07 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
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel='stylesheet' href='/vendors/bootstrap/css/bootstrap.min.css' />
<link rel='stylesheet' href='/vendors/bootstrap/css/bootstrap-grid.min.css' />
<link rel='stylesheet' href='/vendors/bootstrap/css/bootstrap-reboot.min.css' />
<link rel='stylesheet' href='/css/category.css'>
<title>📝 결과</title>
<h1>
🥘 맛집 현황</h1>
<table class="table">
<thead class="thead-dark">
<tr>
<th>음식점명</th>
<th>전화번호</th>
<th>대표음식</th>
<th>도로명주소</th>
</tr>
</thead>
<tbody>
<%for (var i =0; i <stores.length; i++){%>
<tr>
<td>
<%=stores[i].RESTRT_NM%>
</td>
<td>
<%=stores[i].TASTFDPLC_TELNO%>
</td>
<td>
<%=stores[i].REPRSNT_FOOD_NM%>
</td>
<td>
<%=stores[i].REFINE_ROADNM_ADDR%>
</td>
</tr>
<%}%>
</tbody>
</table>
<h3>총 맛집 개수 :
<%=stores.length%>
</h3>
<h1>🍔 패스트푸드점 현황 </h1>
<table class="table">
<thead class="thead-dark">
<tr>
<th>사업장명</th>
<th>도로명주소</th>
</tr>
</thead>
<tbody>
<%for (var i =0; i <fast_food_stores.length; i++){%>
<tr>
<td>
<%=fast_food_stores[i].BIZPLC_NM%>
</td>
<td>
<%=fast_food_stores[i].REFINE_ROADNM_ADDR%>
</td>
</tr>
<%}%>
</tbody>
</table>
<h3>패스트푸드점 개수 :
<%=fast_food_stores.length%>
</h3>
</head>
<body>
<%- include('components/locationJumbotron') -%>
<%- include(`results/${category}`) -%>
<%- include(`components/grade`) -%>
</body>
</html>