46 lines
1.9 KiB
HTML
46 lines
1.9 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" href="style.css">
|
|
<meta http-equiv="Content-Language" content="th">
|
|
<meta http-equiv="content-Type" content="text/html; charset=UTF-8">
|
|
<title>หมายเลข IP</title>
|
|
<link rel="icon" type="image/png" href="icons/ttt-org.png">
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js">
|
|
</script>
|
|
<script>
|
|
$.getJSON("https://api.ipify.org?format=json", function(data) {
|
|
$("#userip").html(data.ip);
|
|
})
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="topbar">
|
|
<a href="/" class="backbutton">
|
|
<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px"><path fill="currentColor" d="m 10.9375 0.996094 c -0.292969 0 -0.558594 0.128906 -0.742188 0.328125 l -6.671874 6.671875 l 6.671874 6.675781 c 0.011719 0.011719 0.023438 0.023437 0.035157 0.03125 c 0.179687 0.183594 0.429687 0.292969 0.707031 0.292969 h 1 v -1 c 0 -0.273438 -0.113281 -0.523438 -0.292969 -0.707032 c -0.011719 -0.007812 -0.019531 -0.019531 -0.035156 -0.03125 l -5.257813 -5.261718 l 5.292969 -5.292969 c 0.179688 -0.179687 0.292969 -0.429687 0.292969 -0.707031 v -1 z m 0 0"/></svg>
|
|
</a>
|
|
<div style="display: flex; align-items:start; justify-content: center; margin-top: -0.3cm;">
|
|
<h4>หมายเลข IP</h4>
|
|
</div>
|
|
</div>
|
|
<div class="grid-container">
|
|
|
|
<div class="middle">
|
|
|
|
<div class="list" style="margin-top: 1.5cm;">
|
|
<a class="listinfo">
|
|
<div style="display: flex; margin-left: 0.5cm; align-items: center; justify-content: left;">
|
|
<p>หมายเลข IPv4</p>
|
|
</div>
|
|
<div style="display: flex; margin-right: 0.5cm; align-items: center; justify-content: right;">
|
|
<p id="userip"></p>
|
|
</div>
|
|
</a>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|