21 lines
655 B
PHP
21 lines
655 B
PHP
<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";
|
|
}
|
|
?>
|