Forum thread not found!?'); exit(); } create_fourm_reply($threadId, $_SESSION['USERNAME'], $text, $forum, $_SESSION['ADMIN']); } } ex: ?> Horse Isle Forums
Forums for discussing in game topics with other players. Please use the Contact Us form at the bottom to directly communicate with Horse Isle staff.
The SUPPORT and BUGS forums have threads removed often to keep them clean and recent. Don't be offended when removed.
Please Login to use these forums
'); include("footer.php"); exit(); } ?>
SUPPORT
( topics)
BUGS
( topics)
GENERAL
( topics)
HORSES
( topics)
GAME
( topics)
Forum thread not found!?'); exit(); } $thread = get_fourm_thread($threadId); echo('
VIEWING '.htmlspecialchars($forum).' FORUM THREAD: '.htmlspecialchars($thread['title']).'
'); $replies = get_fourm_replies($threadId); for($i = 0; $i < count($replies); $i++) { if($replies[$i]['admin']) echo(''); } echo("
'); else echo('
'); echo('REPLY: (by '.htmlspecialchars($replies[$i]['author']).') '.date("M j g:ia", $replies[$i]['creation_time']).'
'.htmlspecialchars($replies[$i]['contents']).'

Add a reply to this topic:

[ GO BACK TO ".htmlspecialchars($forum)." FORUM ]
"); } if(isset($_GET['FORUM']) && !isset($_GET['VIEWID'])){ $forum = strtoupper($_GET['FORUM']); if(!($forum === "SUPPORT" || $forum === "BUGS" || $forum === "GENERAL" || $forum === "HORSES" || $forum === "GAME" || $forum === "MOD")) { echo('Unknown Forum'); exit(); } echo('
VIEWING '.htmlspecialchars($forum).' FORUM'); echo('   current server time: '.date("M j g:ia").'
'); echo(''); $alternate = ['a1', 'a0']; $threads = get_fourm_threads($forum); for($i = 0; $i < count($threads); $i++) { echo(''); echo(''); echo(''); } echo("
TOPICPOSTSORIGINAL POST
'); echo(htmlspecialchars($threads[$i]['title']).''.count_replies($threads[$i]['id']).' (last by '.get_last_reply_author($threads[$i]['id']).' '); $createTime = get_last_reply_time($threads[$i]['id']); $minsAgo = 0; $current_time = time(); $difference = $current_time - $createTime; $minsAgo = $difference/60; $daysAgo = $difference/86400; if($minsAgo <= 1440) echo(''.number_format((float)$minsAgo, 0, '.', '').' min ago'); else echo(number_format((float)$daysAgo, 0, '.', '').' days ago'); echo(')'.date("M j g:ia", get_first_reply_time($threads[$i]['id'])).' by '.get_first_reply_author($threads[$i]['id']).'

Add a post to this forum: SUBJECT:

[ CLOSE FORUMS ]
"); } ?>