<?php
$objSett	= new settings($objDB);
$settingsArray	= $objSett->select();

if(isset($_SESSION['adminlogged']) && $_SESSION['adminlogged']=="YES")
{
?>
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="admin_topmenu_wrapper">
					<div id="tabsH">
						<ul>
							<li id="<?php echo $PG_TITLE=="dashboard.php" ? "current" : ""?>"><a href="dashboard.php"><span>Dashboard</span></a></li>
                                                        <li id="<?php echo $PG_TITLE=="users.php" || $PG_TITLE=="manage_user.php"  || $PG_TITLE=="manage_user_alerts.php" ? "current" : ""?>"><a href="users.php"><span>Users</span></a></li>
							<li id="<?php echo $PG_TITLE=="payments.php" ? "current" : ""?>"><a href="payments.php"><span>Payments</span></a></li>
							<li id="<?php echo $PG_TITLE=="interests.php" ? "current" : ""?>"><a href="interests.php"><span>Interests</span></a></li>
							<li id="<?php echo $PG_TITLE=="messages.php" || $PG_TITLE=='manage_messages.php' ? "current" : ""?>"><a href="messages.php"><span>Messages</span></a></li>
                                                        <li id="<?php echo $PG_TITLE=="singleevents.php" || $PG_TITLE=='manage_singleevents.php' || $PG_TITLE=='view_singleevents.php' ? "current" : ""?>"><a href="singleevents.php"><span>Events</span></a></li>
                                                        <li id="<?php echo $PG_TITLE=="freecodes.php" || $PG_TITLE=='freecode_report.php' || $PG_TITLE=='manage_freecodes.php' ? "current" : ""?>"><a href="freecodes.php"><span>Free Codes</span></a></li>
                                                        <li id="<?php echo $PG_TITLE=="cms.php" || $PG_TITLE=='view_page.php' || $PG_TITLE=='manage_page.php' ? "current" : ""?>"><a href="cms.php"><span>Contents</span></a></li>
                                                        <li id="<?php echo $PG_TITLE=="banner.php" || $PG_TITLE=='add_banner.php' ? "current" : ""?>"><a href="banner.php"><span>Banners</span></a></li>
                                                        <li id="<?php echo $PG_TITLE=="testimonials.php" || $PG_TITLE=='manage_testimonial.php' ? "current" : ""?>"><a href="testimonials.php"><span>Testimonials</span></a></li>
                                                        
                                                        <li id="<?php echo $PG_TITLE=="stories.php" || $PG_TITLE=='manage_story.php' || $PG_TITLE=='view_story.php' ? "current" : ""?>"><a href="stories.php"><span>Success Stories</span></a></li>
							<li id="<?php echo $PG_TITLE=="hearaboutus.php" ? "current" : ""?>"><a href="hearaboutus.php"><span>Referral Source</span></a></li>
							
							<li id="<?php echo $PG_TITLE=="abuses.php" ? "current" : ""?>"><a href="abuses.php"><span>Abuse</span></a></li>
							
							<!--<li id="<?php echo $PG_TITLE=="manage_styles.php" ? "current" : ""?>"><a href="manage_styles.php"><span>Styles</span></a></li>-->
							
							
							<li id="<?php echo $PG_TITLE=="apicalls.php" ? "current" : ""?>"><a href="apicalls.php"><span>Security</span></a></li>
							<!--<li id="<?php echo $PG_TITLE=="metatags.php" ? "current" : ""?>"><a href="metatags.php"><span>Meta Tags</span></a></li>-->
							
							<!--<li id="<?php echo $PG_TITLE=="country.php" || $PG_TITLE=='add_country.php' ? "current" : ""?>"><a href="country.php"><span>Countries</span></a></li>
							<li id="<?php echo $PG_TITLE=="state.php" || $PG_TITLE=='add_state.php' ? "current" : ""?>"><a href="state.php"><span>States</span></a></li>-->
							
							<!--<li id="<?php echo $PG_TITLE=="sms.php" || $PG_TITLE=='add_sms.php' ? "current" : ""?>"><a href="sms.php"><span>Mobile Service Providers</span></a></li>-->
                                                        <?php if($settingsArray['regmode']==REGISTRATION_FREEMIUM_MODE){?>
                                                        <!--<li id="<?php echo $PG_TITLE=="modules.php" ? "current" : ""?>"><a href="modules.php"><span>Modules</span></a></li>-->
                                                        <!--<li id="<?php echo $PG_TITLE=="view_actions.php" ? "current" : ""?>"><a href="view_actions.php"><span>Manage Actions</span></a></li>-->
                                                        <?php } ?>
                                                        <li id="<?php echo $PG_TITLE=="settings.php" ? "current" : ""?>"><a href="settings.php"><span>Settings</span></a></li>
							<li id="<?php echo $PG_TITLE=="help.php" || $PG_TITLE=='add_category.php' || $PG_TITLE=='help_admin.php' || $PG_TITLE=='add_admin_help.php' || $PG_TITLE=='help_client.php' || $PG_TITLE=='add_admin_client.php' ? "current" : ""?>"><a href="help.php"><span>Help</span></a></li>
						</ul>
					</div>
</td>
          </tr>
        </table>
<?php
}//end if
?>