Toggle navigation
Toggle navigation
This project
Loading...
Sign in
유승근
/
Computer-part-Recommand
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
1
Network
Create a new issue
Commits
Issue Boards
Authored by
Yuseunggeun
2020-06-03 00:20:18 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e64792eeb0ce27fad7cc26f119a679f83c06d9d1
e64792ee
1 parent
4b1fa5b5
add index.ejs
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
views/index.ejs
views/index.ejs
0 → 100644
View file @
e64792e
<!DOCTYPE html>
<html>
<body>
<h2>
Search Result
<
%= money %>$
</h2>
<
%if(count >= 1){%>
<h4>
Best Item
</h4>
<
%= 1 + "." + searchlist[1].name+" - ("+searchlist[1].price+"$)"%>
<
%var link = "http://www.videocardbenchmark.net/"+searchlist[1].link.toString(); %>
<a
href =
<%=link%
>
target=_blank>link
</a>
<br>
<h4>
Second Items
</h4>
<
%for(var i =2; i
<
=count;i++){%>
<
%= i + "." + searchlist[i].name+" - ("+searchlist[i].price+"$)"%>
<
%link = "http://www.videocardbenchmark.net/"+searchlist[i].link.toString(); %>
<a
href =
<%=link%
>
target=_blank>link
</a>
<br>
<
%}%>
<
%}else{%>
<h4>
No Item exist
</h4>
<
%}%>
<form
method=
"GET"
action=
"http://localhost:3000/"
>
<input
type=
"submit"
value=
"돌아가기"
>
</form>
</body>
</html>
Please
register
or
login
to post a comment