	<div class="SubnavBar">
	<div class="navButton" <?php if(THIS_SCRIPT == 'community') echo 'style="font-weight:bolder;"'; ?> onClick="location.href='community.php'"><a href="community.php"><?php echo $lang['community']; ?></a></div>
    <div class="navButton" <?php if(THIS_SCRIPT == 'articles') echo 'style="font-weight:bolder;"'; ?> onClick="location.href='articles.php'"><a href="articles.php"><?php echo $lang['articles']; ?></a></div>
    <div class="navButton" <?php if(THIS_SCRIPT == 'vip') echo 'style="font-weight:bolder;"'; ?> onClick="location.href='vip.php'"><a href="vip.php"><?php echo $lang['vip']; ?></a></div>
    <div class="navButton" <?php if(THIS_SCRIPT == 'experts') echo 'style="font-weight:bolder;"'; ?> onClick="location.href='experts.php'"><a href="experts.php"><?php echo $lang['experts']; ?></a></div>
	<div class="navButton" <?php if(THIS_SCRIPT == 'staff') echo 'style="font-weight:bolder;"'; ?> onClick="location.href='staff.php'"><a href="staff.php"><?php echo $lang['staff']; ?></a></div>
    <div class="navButton" <?php if(THIS_SCRIPT == 'rules') echo 'style="font-weight:bolder;"'; ?> onClick="location.href='rules.php'"><a href="rules.php"><?php echo $lang['rules']; ?></a></div>
    <?php
	$getplugin = mysql_query("SELECT * FROM plugin WHERE cms_tab = 'community'");
	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>