<title>GamingZeta - <?php echo ucwords(str_ireplace(array('-', '.php'), array(' ', ''), basename($_SERVER['PHP_SELF']))); ?> </title> </head> <body> <div id='header'> </div> <?php include 'menu.php'; ?> <div id="notify">Forum is not coded yet until beta release</div> <div id='content'> <div id="forum-left"> <?php $board = new BoardData(); $forums = new ForumsData(); $topic = new TopicsData(); $board->construct(); $i = 1; foreach ($board->categorys as $category) { ?> <div id="forum-category-left"> <div class='lastnews-head-text'><?php echo $board->categorys[$i]['title']; ?> </div> <div class="newsdivider"></div> <?php $forums->construct($i); $j = 1;
<?php define('DarkCoreCMS', TRUE); if (isset($_SESSION['usr'])) { $user_prw = $_SESSION['usr']; } require_once 'core/config.php'; require_once 'core/functions/global_functions.php'; require_once 'core/functions/realm_functions.php'; require_once 'core/functions/bugtracker.php'; require_once 'core/functions/account_functions.php'; require_once 'core/functions/vote_functions.php'; require_once "core/functions/board_functions.php"; $board = new BoardData(); $forums = new BoardData(); $board->construct(); echo "<ul>"; for ($i = 1; $i <= count($board->categorys); $i++) { echo "<li>" . $board->categorys[$i]['id'] . " - " . $board->categorys[$i]['title'] . "</li>"; $forums->get_forums_by_category($board->categorys[$i]['id']); echo "<ul>"; for ($j = 1; $j <= count($forums->forums); $j++) { echo "<li>" . $forums->forums[$j]['id'] . " - " . $forums->forums[$j]['title'] . " - " . $forums->forums[$j]['description'] . " - " . $forums->forums[$j]['icon'] . "</li>"; } echo "</ul>"; } echo "</ul>";