This commit is contained in:
root 2024-12-09 08:56:11 +01:00
parent 6d698fcb59
commit 5f222cbfe7
19 changed files with 290 additions and 68 deletions

160
www/nonkycservices.php Normal file
View file

@ -0,0 +1,160 @@
<!DOCTYPE html>
<html>
<body>
<head>
<title>Onion Uptime Checker</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="icon" href="/favicon.ico">
</head>
<center>
<?php
require("/srv/onion-uptime/www/links.php");
?>
<h1>Onion Uptime Checker (WIP)</h1>
<h2>KYC-Free services (last update: December 2024)</h3>
<p><u>Update Frequency:</u> every 3 hours</p>
<h2>Exchanges</h3>
<?php
echo "<center><table>\n\n";
// Open a file
$file = fopen("links/kycnotme_exchanges.csv", "r");
// Fetching data from csv file row by row
while (($data = fgetcsv($file)) !== false) {
// HTML tag for placing in row format
echo "<tr>";
foreach ($data as $i) {
echo "<td>" . htmlspecialchars($i)
. "</td>";
}
echo "</tr> \n";
}
// Closing the file
fclose($file);
echo "\n</table></center>";
?>
<h2>SMS</h3>
<?php
echo "<center><table>\n\n";
// Open a file
$file = fopen("links/kycnotme_sms.csv", "r");
// Fetching data from csv file row by row
while (($data = fgetcsv($file)) !== false) {
// HTML tag for placing in row format
echo "<tr>";
foreach ($data as $i) {
echo "<td>" . htmlspecialchars($i)
. "</td>";
}
echo "</tr> \n";
}
// Closing the file
fclose($file);
echo "\n</table></center>";
?>
<h2>VPNs</h3>
<?php
echo "<center><table>\n\n";
// Open a file
$file = fopen("links/kycnotme_vpns.csv", "r");
// Fetching data from csv file row by row
while (($data = fgetcsv($file)) !== false) {
// HTML tag for placing in row format
echo "<tr>";
foreach ($data as $i) {
echo "<td>" . htmlspecialchars($i)
. "</td>";
}
echo "</tr> \n";
}
// Closing the file
fclose($file);
echo "\n</table></center>";
?>
<h2>VPS</h3>
<?php
echo "<center><table>\n\n";
// Open a file
$file = fopen("links/kycnotme_vps.csv", "r");
// Fetching data from csv file row by row
while (($data = fgetcsv($file)) !== false) {
// HTML tag for placing in row format
echo "<tr>";
foreach ($data as $i) {
echo "<td>" . htmlspecialchars($i)
. "</td>";
}
echo "</tr> \n";
}
// Closing the file
fclose($file);
echo "\n</table></center>";
?>
<h2>Other</h3>
<?php
echo "<center><table>\n\n";
// Open a file
$file = fopen("links/kycnotme_other.csv", "r");
// Fetching data from csv file row by row
while (($data = fgetcsv($file)) !== false) {
// HTML tag for placing in row format
echo "<tr>";
foreach ($data as $i) {
echo "<td>" . htmlspecialchars($i)
. "</td>";
}
echo "</tr> \n";
}
// Closing the file
fclose($file);
echo "\n</table></center>";
?>
</center>
</body>
</html>