This commit is contained in:
2025-09-18 21:00:20 -06:00
parent 0e2d3152e9
commit d7f2b5d1d6
18 changed files with 327 additions and 162 deletions

View File

@@ -4,9 +4,9 @@
Questions? Comments? Suggestions? Bugs? Naked pics?
<?php
if ($irpg_site_email != null && $irpg_site_email != "disabled") {
echo " <a href=\"contact.php\">$admin_email</a> or\n";
echo " Contact <a href=\"contact.php\">".$admin_nick."</a> or\n";
}
echo " ".$admin_nick."@IRC.\n";
echo " ".$admin_nick."@IRC\n";
?>
<?php
$hits = file("hits.db");
@@ -14,13 +14,13 @@
$thispage = explode("/",$_SERVER['PHP_SELF']);
$thispage = array_pop($thispage);
if ($fp == false) {
echo " Error: could not open file hits.db.";
echo " &bull; Error: could not open file hits.db";
}
foreach ($hits as $line) {
list($page,$numhits,$date) = explode("\t",trim($line));
if ($page == $thispage) {
++$numhits;
echo " $numhits hits since $date\n";
echo " &bull; $numhits hits since $date\n";
$found = 1;
}
if ($fp) {
@@ -32,6 +32,9 @@
fwrite($fp,$thispage."\t1\t".date("M j, Y",time())."\n");
}
fclose($fp);
?>
<?php
echo " &bull; IdleRPG Web v".$irpg_version."\n";
?>
</p>
</div>