Toggle navigation
Toggle navigation
This project
Loading...
Sign in
LI WENHAO
/
kartrider
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
김명주
2021-11-04 22:13:28 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b60b6b58eb32a04a9179e5b28bbb92094fc1fc79
b60b6b58
1 parent
e3e36da8
Update match result
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
12 deletions
views/inf_search_result.ejs
views/inf_search_result.ejs
View file @
b60b6b5
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
>
<title>
Hello World!
</title>
<!--
<head>
<meta
charset=
"utf-8"
>
<title>
Hello World!
</title>
<!--
<link rel="stylesheet" href="/css/master.css" >
-->
</head>
<body>
<h1>
유저 정보 출력
</h1><br>
<script>
</script>
<span
class=
"aid"
>
USER ID
<
%= aid %>
</span><br>
<span
class=
"name"
>
NAME
<
%= name %>
</span><br>
<span
class=
"level"
>
LEVEL
<
%= level %>
</span>
</body>
<body>
<script
language=
"JavaScript"
>
var
name
=
'<%-name%>'
;
var
level
=
'<%-level%>'
;
var
trackId
=
'<%-trackId%>'
;
var
kart
=
'<%-kart%>'
;
document
.
write
(
name
);
document
.
write
(
"\n"
);
function
Img
()
{
var
a
=
Math
.
floor
(
Math
.
random
()
*
9
)
+
1
;
return
"main_character/"
+
a
+
".png"
;
}
function
Img2
(){
return
"level/"
+
level
+
".png"
}
function
Img3
(){
return
"track/"
+
trackId
+
".png"
}
function
Img4
(){
return
"kart/"
+
kart
+
".png"
}
</script>
<img
id=
"imgId"
src=
""
width=
"135"
height=
"100"
>
<script>
document
.
getElementById
(
"imgId"
).
src
=
Img
()
</script>
<p>
레벨
</p>
<img
id=
"imgId2"
src=
""
>
<script>
document
.
getElementById
(
"imgId2"
).
src
=
Img2
()
</script>
<H1>
――――――――――――――――경기 정보――――――――――――――
</H1>
<p>
등수
</p>
<span
class=
"rank"
>
<
%= rank %>
</span>
<p>
주행 시간
</p>
<span
class=
"time"
>
<
%= time %>
</span>
<p>
트랙정보
</p>
<img
id=
"imgId3"
src=
""
>
<script>
document
.
getElementById
(
"imgId3"
).
src
=
Img3
()
</script>
<p>
카트정보
</p>
<img
id=
"imgId4"
src=
""
width=
"135"
height=
"100"
>
<script>
document
.
getElementById
(
"imgId4"
).
src
=
Img4
()
</script>
</body>
</html>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment