gamesearch/index.html
2021-08-30 13:19:20 +03:00

69 lines
2.3 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Rave Game Search</title>
<link rel="icon" type="text/css" href="img/favicon.png">
<!-- CSS Import -->
<link rel="stylesheet" type="text/css" href="css/search.css">
<meta property="og:url" content="http://idleendeavor.github.io/gamesearch" />
<meta property="og:type" content="search-page" />
<meta property="og:title" content="Rave Game Search Engine" />
<meta property="og:description" content="Find the safest free download links to your favorite games" />
<meta property="og:image" content="https://idleendeavor.github.io/gamesearch/img/favicon.png" />
</head>
<body>
<!-- Slideout Sidebar -->
<input type="checkbox" id="slide" name="" value=""/>
<div class="container">
<label for="slide" class="toggle"></label>
<nav class="sidebar">
<ul>
<img src="img/favicon.png" onclick="location.href='index.html';">
<li><a href="guide.html"> Guides </a></li>
<li><a href="terms.html"> Terms of Use </a></li>
<h5 id="foundcounterno" class="count">0</h5>
<h5 id="foundcounter">Games Found</h5>
<h4>Copyright <script type="text/javascript">document.write(new Date().getFullYear());</script><br>IdleEndeavor</h4>
</ul>
</nav>
</div>
<script type="text/javascript">
function updateCounter() {
fetch('https://api.countapi.xyz/update/ravegamesearch/ravesearch/?amount=1')
.then(res => res.json())
.then(data => counterElement.innerHTML = data.value)
}
updateCounter()
counterElement = document.getElementsByClassName('count')[0];
</script>
<!-- Search Box -->
<div id="search-box" class="search">
<img src="img/search-logo.png">
<script>
(function() {
var cx = "001315572920893299880:p3yigpygfny";
var gcse = document.createElement("script");
gcse.type = "text/javascript";
gcse.async = true;
gcse.src = "https://cse.google.com/cse.js?cx=" + cx;
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(gcse, s);
})();
window.onload = function()
{
var searchBox = document.getElementById("gsc-i-id1");
searchBox.placeholder="Search for Game Downloads";
searchBox.title="Rave Game Search Engine";
}
</script>
<gcse:search></gcse:search>
</div>
</body>
</html>