Location: PHPKode > projects > WH Community > wh_community/infos.php
<?php require('layout/header.php'); ?>

<div id="content_wrapper">
    <div class="content"><?php

        if(!isset($_SESSION['signed_in'])) {
        
		echo '<p class="false">' . $lang['just_for_users'] . '!</p>
              <p>' . $lang['you_need_to'] . ' <a href="signin.php">' . $lang['signin_s'] . '</a>.
              - ' . $lang['not_yet'] . ' <a href="signup.php">' . $lang['registered'] . '</a>?</p>';

		}else{

		echo '<table align="center" class="usertable">
		<tr>
			<td align="center"><ul class="usermenu">
				<li><a href="myprofile.php">' . $lang['my_profile'] . '</a></li>
				<li><a href="guestbook.php">' . $lang['guestbook'] . '</a></li>
				<li><a href="messagebox.php">' . $lang['messagebox'] . '</a></li>
				<li><a href="password.php">' . $lang['password'] . '</a></li>
				<li><a href="inbox.php">' . $lang['inbox'] . '</a></li>
				<li><a href="outbox.php">' . $lang['outbox'] . '</a></li>
				<li><a href="create_pm.php">' . $lang['m_newpm'] . '</a></li>
				<li><a href="mypostings.php">' . $lang['my_posts'] . '</a></li>
				<li><a href="infos.php">' . $lang['informations'] . '</a></li>
				<li><a href="todo.php">' . $lang['m_todo'] . '</a></li>
				<li><a href="news.php">' . $lang['news'] . '</a></li>
			</ul></td>
		</tr>
		<tr>
			<td><h1>' . $lang['informations'] . '</h1></td>
		</tr>';
			
		include_once('functions/statistic.php');
		
		echo '<tr><td><div class="accordionMenu">
		      <div id="notice" class="menuSection">
		      <h3><a href="#notice">' . $lang['announcement'] . '</a></h3>
		      <p><span class="blue"><u>' . $lang['announcement'] . '</u></span><br><br>'; include_once('notice.php');
		
		echo '</div>
		      <div id="contact" class="menuSection">
		      <h3><a href="#contact">' . $lang['contact'] . '</a></h3>
		      <p><span class="blue"><u>' . $lang['reach_us'] . '...</u></span><br><br>&#8226; <a href="mailto:' . $webmaster . '">' . $webmaster . '</a><br><br>&#8226; <a href="contact.php">' . $lang['contact_form'] . '</a></p>
		      </div>
		      <div id="statistic" class="menuSection">
		      <h3><a href="#statistic">' . $lang['statistic'] . '</a></h3>
		      <p><span class="blue"><u>Forum ' . $lang['statistic'] . '</u></span><br><br>';
		
        echo '' . $lang['posts'] . ': '; stat_posts();
            echo '<br>';
        echo '' . $lang['topics'] . ': '; stat_topics();
            echo '<br>';
        echo '' . $lang['categories'] . ': '; stat_categories();
            echo '<br>';
        echo 'User: '; stat_user();
            echo '<br>';
        echo '' . $lang['news'] . ': '; stat_news();
            echo '<br>';
        echo '' . $lang['articles'] . ': '; stat_blog();
            echo '<br>';
        echo '' . $lang['comments'] . ': '; stat_com();
            echo '<br>';
        echo '' . $lang['counter_today'] . ': '; stat_today();
            echo '<br>';
        echo '' . $lang['counter_total'] . ': '; stat_total();
            echo '<br>';
        echo '' . $lang['counter_online'] . ': '; stat_online();
		
		echo '</div>
		      <div id="version" class="menuSection">
		      <h3><a href="#version">Version</a></h3>
		      <p><span class="blue"><u>' . VERSION . '</u></span><br><br>';
		echo "<a href=\"\" onclick=\"alert('© " . POWERED_BY . " - " . VERSION . " - " . FRAMEWORK . "'); return true;\">" . $lang['$version_identify'] . "</a></p>";
        echo '</div>
		      </div></td></tr>';
		      }
		
		echo '</table>';
		
		echo '<div class="spacer_div">&nbsp;</div>';

		?>
    </div>
</div>

<div id="infobox_wrapper">
    <div class="infobox">
        <?php include('layout/infobox.php'); ?>
    </div>
</div>

<?php require('layout/footer.php'); ?>
Return current item: WH Community