mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-05-17 04:36:57 +00:00
lots of changes, cleaned up the PHP code
This commit is contained in:
parent
02a68bd648
commit
def88e90f5
8 changed files with 173 additions and 407 deletions
|
@ -21,141 +21,39 @@ require("header.php");
|
|||
<p>(This page is strictly for educational puposes, we do not own any of the services below)</p>
|
||||
|
||||
|
||||
<main>
|
||||
<section class="container">
|
||||
<div class="column">
|
||||
<h3>Markets</h3>
|
||||
<?php
|
||||
echo "<center><table>\n\n";
|
||||
|
||||
// Open a file
|
||||
$file = fopen("links/Markets.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>";
|
||||
?>
|
||||
|
||||
|
||||
<?php DisplayCSV("links/Markets.csv");?>
|
||||
</div>
|
||||
|
||||
<div class="column">
|
||||
<h3>Exchanges</h3>
|
||||
<?php
|
||||
echo "<center><table>\n\n";
|
||||
|
||||
// Open a file
|
||||
$file = fopen("links/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>";
|
||||
?>
|
||||
|
||||
<?php DisplayCSV("links/Exchanges.csv");?>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="column">
|
||||
<h3>Forums and Imageboards</h3>
|
||||
<?php
|
||||
echo "<center><table>\n\n";
|
||||
|
||||
// Open a file
|
||||
$file = fopen("links/Forums_and_Imageboards.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>";
|
||||
?>
|
||||
|
||||
<?php DisplayCSV("links/Forums_and_Imageboards.csv");?>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="column">
|
||||
<h3>News</h3>
|
||||
<?php
|
||||
echo "<center><table>\n\n";
|
||||
|
||||
// Open a file
|
||||
$file = fopen("links/News.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>";
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<?php DisplayCSV("links/News.csv");?>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="column">
|
||||
<h3>Dead Markets</h3>
|
||||
<?php
|
||||
echo "<center><table>\n\n";
|
||||
|
||||
// Open a file
|
||||
$file = fopen("links/Dead_Markets.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>";
|
||||
?>
|
||||
<?php DisplayCSV("links/Dead_Markets.csv");?>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<?php
|
||||
require("webring.php");
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue