	<div class="SubnavBar">
	<div class="navButton" <?php if(THIS_SCRIPT == 'me') echo 'style="font-weight:bolder;"'; ?> onClick="location.href='me.php'"><a href="me.php"><?php echo $lang['home']; ?></a></div>
    <div class="navButton" <?php if(THIS_SCRIPT == 'home') echo 'style="font-weight:bolder;"'; ?> onClick="location.href='home.php'"><a href="home.php"><?php echo $lang['my_page']; ?></a></div>
	<div class="navButton" <?php if(THIS_SCRIPT == 'settings') echo 'style="font-weight:bolder;"'; ?> onClick="location.href='settings.php'"><a href="settings.php"><?php echo $lang['account_settings']; ?></a></div>
    <div class="navButton" <?php if(THIS_SCRIPT == 'online_users') echo 'style="font-weight:bolder;"'; ?> onClick="location.href='online_users.php'"><a href="online_users.php"><?php echo $lang['online_users']; ?></a></div>
    <div class="navButton" <?php if(THIS_SCRIPT == 'rooms') echo 'style="font-weight:bolder;"'; ?> onClick="location.href='rooms.php'"><a href="rooms.php"><?php echo $lang['popular_rooms']; ?></a></div>
    <?php
	$getplugin = mysql_query("SELECT * FROM plugin WHERE cms_tab = 'home'");
	while($plugin = mysql_fetch_array($getplugin))
	{
	?>
		<div class="navButton" <?php if(THIS_SCRIPT == $plugin['cms_link']) echo 'style="font-weight:bolder;"'; ?> onClick="location.href='<?php echo $plugin['cms_link']; ?>.php'"><a href="<?php echo $plugin['cms_link']; ?>.php"><?php echo $plugin['cms_text']; ?></a></div>
        <?php
	}
	?>
	</div>