Add WIP bump page list
This commit is contained in:
parent
fd8ed70359
commit
7ad8bae237
20
main.php
20
main.php
|
@ -1,2 +1,20 @@
|
|||
<p>This website exists to catalog the bumps of the <a href="https://heartandbrainco.wikia.com">Heart and Brain Co. ARG (link goes to fan wiki)</a> in a nice, neat fashion.</p>
|
||||
|
||||
<h2>Arcs + Bumps</h2>
|
||||
<?php
|
||||
for($i=1;$i<=3;$i++) {
|
||||
echo "\t<h3>";
|
||||
if (file_exists("./arc{$i}.md")) {
|
||||
echo "<a href='index.php?arc={$i}'>";
|
||||
}
|
||||
echo $arc_names[$i];
|
||||
if (file_exists("./arc{$i}.md")) {
|
||||
echo "</a>";
|
||||
}
|
||||
echo "</h3>\n\t<ul>\n";
|
||||
// foreach(glob("./arc{$i}/bump*.yml") as $bumpyml) {
|
||||
// $num = substr(basename($bumpyml,".yml"),4);
|
||||
// echo "\t\t<li><a href='index.php?arc={$arc_san}&bump={$num}'>Bump {$num}</a></li>\n";
|
||||
// }
|
||||
echo "\t</ul>\n";
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue