-
Notifications
You must be signed in to change notification settings - Fork 0
/
stats.html
149 lines (130 loc) Β· 6.12 KB
/
stats.html
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<!DOCTYPE html>
<html lang="th">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="theme-color" content="#000000" />
<meta name="TNI Cybersec" content="Landing" />
<meta property="og:title" content="TNI Cybersec" />
<meta property="og:image" content="/img/CyberPic.jpg" />
<meta property="og:description" content="Landing" />
<meta property="og:url" content="https://tni-cybersec.github.io" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="TNI Cybersec" />
<meta name="twitter:image" content="/img/CyberPic.jpg" />
<meta name="twitter:description" content="Landing" />
<meta name="twitter:site" content="https://tni-cybersec.github.io" />
<title>TNI Cybersec | π Stats</title>
<meta name="description" content="Landing" />
<!-- stylesheet -->
<link rel="stylesheet" href="css/style.css" />
<!-- bootstrap cdns -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css"
integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous" />
<!-- fontawesome cdns -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.5.2/css/all.css" />
<!-- google fonts -->
<link href="https://fonts.googleapis.com/css?family=Athiti:100,100i,300,300i,400,400i,500,500i,700,700i"
rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Mitr:200,200i,300,300i,400,400i,500,500i,600,600i,700,700i"
rel="stylesheet" />
<!-- favicon -->
<link rel="shortcut icon" href="img/TNICyberWebIcon.ico" />
<link rel="apple-touch-icon" href="img/TNICyberWebIcon.ico">
<link rel="manifest" href="common/manifest.json" />
<!-- for on scroll animations -->
<link rel="stylesheet" href="css/animate.min.css" />
<script src="js/wow.min.js"></script>
</head>
<body>
<!-- messenger plugin -->
<div id="msg-plugin"></div>
<!-- loader -->
<div id="loader"></div>
<div class="wrapper">
<!--------------- navbar starts here --------------->
<nav>
<span id="brand" class="circleScaleBtn2 logo user-select-none wow bounceIn" data-wow-delay="0.6s"
onclick="location.href='index.html'">
<img rel="preload" as="image" width="auto" height="55" src="img/TNICyberWeb.png" />
</span>
</nav>
<!--------------- navbar ends here --------------->
<div class="snowflakes" aria-hidden="true">
<div class="snowflake">π¬</div>
<div class="snowflake">π»</div>
<div class="snowflake">π¨βπ»</div>
<div class="snowflake">π¬</div>
<div class="snowflake">π»</div>
<div class="snowflake">π¨βπ»</div>
<div class="snowflake">π¬</div>
<div class="snowflake">π»</div>
<div class="snowflake">π¨βπ»</div>
<div class="snowflake">π¬</div>
<div class="snowflake">π»</div>
<div class="snowflake">π¨βπ»</div>
</div>
<!--------------- hero section starts here --------------->
<div rel="preload" as="image" class="bgimg black wow bounceIn user-select-none" data-wow-delay="0.1s">
<div class="hero">
<div class="header">
<div class="h1 text-center mb-3 wow bounceIn" data-wow-delay="0.2s">
π»Page Views!
</div>
<div id="visits" class="text-center wow bounceIn" data-wow-delay="0.3s"></div>
<div class="h3 text-center mt-3 wow bounceIn" data-wow-delay="0.4s">
π¬Landing <span id="landing-hits">...</span> Hits!
</div>
</div>
</div>
</div>
</div>
<!--------------- hero section ends here --------------->
<!--------------- footer starts here --------------->
<!--------------- footer ends here --------------->
<div id="cookie-banner"></div>
<!-- jQuery -->
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct"
crossorigin="anonymous"></script>
<!-- javascript -->
<script src="js/script.js"></script>
<script src="js/hero.js"></script>
<script src="js/app.js"></script>
<script type="text/javascript">
new WOW().init();
// Vistors counter
$.getJSON(
"https://api.countapi.xyz/get/tni-cybersec.github.io/visits",
function (response) {
const visits = response.value;
const counters = [
'<img src="https://raw.githubusercontent.com/journey-ad/Moe-counter/master/assets/theme/rule34/0.gif">',
'<img src="https://raw.githubusercontent.com/journey-ad/Moe-counter/master/assets/theme/rule34/1.gif">',
'<img src="https://raw.githubusercontent.com/journey-ad/Moe-counter/master/assets/theme/rule34/2.gif">',
'<img src="https://raw.githubusercontent.com/journey-ad/Moe-counter/master/assets/theme/rule34/3.gif">',
'<img src="https://raw.githubusercontent.com/journey-ad/Moe-counter/master/assets/theme/rule34/4.gif">',
'<img src="https://raw.githubusercontent.com/journey-ad/Moe-counter/master/assets/theme/rule34/5.gif">',
'<img src="https://raw.githubusercontent.com/journey-ad/Moe-counter/master/assets/theme/rule34/6.gif">',
'<img src="https://raw.githubusercontent.com/journey-ad/Moe-counter/master/assets/theme/rule34/7.gif">',
'<img src="https://raw.githubusercontent.com/journey-ad/Moe-counter/master/assets/theme/rule34/8.gif">',
'<img src="https://raw.githubusercontent.com/journey-ad/Moe-counter/master/assets/theme/rule34/9.gif">',
];
[...String(visits)].forEach((digit) => {
document.getElementById("visits").innerHTML += counters[digit];
});
}
);
$.getJSON(
"https://api.countapi.xyz/get/tni-cybersec.github.io/landing",
function (response) {
$("#landing-hits").text(response.value);
}
);
</script>
</body>
</html>