mirror of
https://github.com/Ramaerel/emulatorjs-GameLibrary.git
synced 2026-02-06 10:56:54 +00:00
Rebuilt from the ground up. Removed the accounts system (Can bring it back if it's wanted), added data scraping, added BIOs support, added PSX
39 lines
1.1 KiB
PHP
39 lines
1.1 KiB
PHP
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<title>EmulatorJS Library - Arcade</title>
|
|
<link rel="stylesheet" type="text/css" href="style.css">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<!-- Navbar -->
|
|
<nav>
|
|
<ul>
|
|
<li><a href="#">Arcade</a></li>
|
|
<li><a href="upload.php">Upload</a></li>
|
|
</ul>
|
|
</nav>
|
|
|
|
<br />
|
|
<!-- Game Arcade -->
|
|
<div class="arcadelist">
|
|
<?php
|
|
$files = scandir("./roms/");
|
|
foreach($files as $file) {
|
|
if(!in_array($file, array('.', '..'))) {
|
|
$file_url = 'play.php?game=' . urlencode($file);
|
|
if (file_exists("./img/$file.png")) {
|
|
echo("<a href='".$file_url."'><img class='linkimg' src='img/".$file.".png '/></a>");
|
|
} else {
|
|
echo("<a href='$file_url' class='link'><p>$file</p></a>");
|
|
}
|
|
|
|
}
|
|
}
|
|
?>
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|