print file_get_contents(libCache::dirName('forum') . '/home-forum.html'); } else { $buf_home_forum = libHome::forumNew(); file_put_contents(libCache::dirName('forum') . '/home-forum.html', $buf_home_forum); print $buf_home_forum; } print '</td>'; print '<td class="homeSplit"></td>'; print '<td class="homeGameNotices">'; /*$buf = libHome::PMs(); if(strlen($buf)) print '<div class="homeHeader">Private messages</div>'.$buf; */ print '<div class="homeHeader">' . l_t('Notices') . ' <a href="index.php?notices=on">' . libHTML::link() . '</a></div>'; print libHome::Notice(); print '</td>'; print '<td class="homeSplit"></td>'; print '<td class="homeGamesStats">'; print '<div class="homeHeader">' . l_t('My games') . ' <a href="gamelistings.php?page=1&gamelistType=My games">' . libHTML::link() . '</a></div>'; print libHome::gameNotifyBlock(); print '<div class="homeHeader">' . l_t('Spectated games') . '</div>'; print libHome::gameWatchBlock(); print '</td> </tr></table>'; print '</div>'; print '</div>'; } libHTML::$footerIncludes[] = l_j('home.js'); libHTML::$footerScript[] = l_jf('homeGameHighlighter') . '();'; $_SESSION['lastSeenHome'] = time(); libHTML::footer();