Location: PHPKode > projects > Prsaar Social Networking Platform > PrsaarColour-0.7.alpha.6.3/pr-admin/admin-submenu.php
<?php
switch($Display->Title)
{
//profile----------------------------------------------------------------------
case 'Profile':
case 'profile':
?>
<a href='profile.php' <?php if(strtolower($Display->Subtitle) === 'general') echo 'id="submenu_highlight"'; ?>>General</a>
<a href='profile-identity.php' <?php if(strtolower($Display->Subtitle) === 'identity') echo 'id="submenu_highlight"'; ?>>Identity</a>
<a href='profile-aboutme.php' <?php if(strtolower($Display->Subtitle) === 'about me') echo 'id="submenu_highlight"'; ?>>About me</a>
<a href='profile-interest.php' <?php if(strtolower($Display->Subtitle) === 'interests') echo 'id="submenu_highlight"'; ?>>Interests</a>
<a href='profile-new.php' <?php if(strtolower($Display->Subtitle) === 'new profile element') echo 'id="submenu_highlight"'; ?>>Create New</a>
<a href="profile-category.php" <?php if(strtolower($Display->Subtitle) === 'browse categories') echo 'id="submenu_highlight"'; ?>>All Categories</a>
<?php
break;
//friend-------------------------------------------------------------------
case 'Friend':
case 'Friends':
case 'friend':
case 'friends':
?>
<a href='friend.php' <?php if(strtolower($Display->Subtitle) === 'general') echo 'id="submenu_highlight"'; ?> >General</a>
<a href='friend-new.php'<?php if(strtolower($Display->Subtitle) === 'add a friend') echo 'id="submenu_highlight"'; ?> >Add new friend</a>
<a href='friend-manage.php'<?php if(strtolower($Display->Subtitle) === 'manage friends') echo 'id="submenu_highlight"'; ?> >Manage Friends</a> 
<?php
break;
//scratch---------------------------------------------------------------------------------------
case 'Scratch':
case 'Scratches':
case 'scratch':
case 'scratches':
?>
<a href='scratch.php'<?php if(strtolower($Display->Subtitle) === 'general') echo 'id="submenu_highlight"'; ?>>General</a>
<a href='scratch-new.php'<?php if(strtolower($Display->Subtitle) === 'new scratches') echo 'id="submenu_highlight"'; ?>>New scratches</a>
<a href='scratch-manage.php'<?php if(strtolower($Display->Subtitle) === 'manage scratches') echo 'id="submenu_highlight"'; ?>>Manage</a>
<?php
break;
//askme-------------------------------------------------------------------------------------------
case 'askme':
case 'Askme':
?>
<a href='askme.php'<?php if(strtolower($Display->Subtitle) === 'general') echo 'id="submenu_highlight"'; ?>> General </a>
<a href='askme-new.php'<?php if(strtolower($Display->Subtitle) === 'new questions') echo 'id="submenu_highlight"'; ?>> New questions </a>
<a href='askme-answer.php'<?php if(strtolower($Display->Subtitle) === 'manage answers') echo 'id="submenu_highlight"'; ?>> Manage answers </a>
<?php
break;
//options----------------------------------------------------------------------------------------
case 'option':
case 'Option':
case 'Options':
case 'options':
?>
<a href='option.php'<?php if(strtolower($Display->Subtitle) === 'general') echo 'id="submenu_highlight"'; ?>> General </a>
<a href='option-account.php'<?php if(strtolower($Display->Subtitle) === 'admin account') echo 'id="submenu_highlight"'; ?>> Account </a>
<a href='option-profile-theme.php'<?php if(strtolower($Display->Subtitle) === 'profile themes') echo 'id="submenu_highlight"'; ?>> Profile theme </a>
<a href='option-link.php'<?php if(strtolower($Display->Subtitle) === 'manage links') echo 'id="submenu_highlight"'; ?>> Links </a>
<a href='option-block.php'<?php if(strtolower($Display->Subtitle) === 'manage blocks') echo 'id="submenu_highlight"'; ?>> Manage Blocks </a>
<?php
break;
//help----------------------------------------------------------------------------------------
case 'Help':
case 'help':
case 'Prsaar help':
case 'Prsaar Help':
?>
<a href='help.php'<?php if(strtolower($Display->Subtitle) === 'general') echo 'id="submenu_highlight"'; ?>>General</a>
<?php
break;
//dashboard------------------------------------------------------------------------------------
case 'index':
case 'Dashboard':
default:
?>
<a href="./index.php" id="submenu_highlight">General</a>
<?php
}
?>
Return current item: Prsaar Social Networking Platform