<?php
$mera_page=basename($_SERVER['PHP_SELF']);

?>
<aside class="left-panel">
    		
            <div class="user text-center">
                
                  <h4 class="user-name">Admin</h4>
                  
                  <div class="dropdown user-login">
                  
                  </div>	 
            </div>
            
            
            
            <nav class="navigation">
            	<ul class="list-unstyled">
                	<li <?php if($mera_page=="welcome.php") { echo 'class="active"'; } else { echo 'class="has-submenu"'; }  ?>><a href="<?php   echo website_settingdata('x_weburl');   ?>admin/welcome.php?<?php  echo md5(rand(00000,99999));    ?>"><i class="fa fa-bookmark-o"></i><span class="nav-label">dashboard</span></a></li>
  
     

   

    <li <?php if($mera_page=="users.php") { echo 'class="active"'; } else { echo 'class="has-submenu"'; }  ?>><a href="<?php   echo website_settingdata('x_weburl');   ?>admin/users.php?<?php  echo md5(rand(00000,99999));    ?>"><i class="fa  fa-calculator"></i> <span class="nav-label">Users</span></a>    
            </li>

                <li <?php if($mera_page=="codes.php") { echo 'class="active"'; } else { echo 'class="has-submenu"'; }  ?>><a href="<?php   echo website_settingdata('x_weburl');   ?>admin/codes.php?<?php  echo md5(rand(00000,99999));    ?>"><i class="glyphicon glyphicon-barcode"></i> <span class="nav-label">Codes for step 1</span></a>    
            </li>
            
            <li <?php if($mera_page=="codes25steps.php") { echo 'class="active"'; } else { echo 'class="has-submenu"'; }  ?>><a href="<?php   echo website_settingdata('x_weburl');   ?>admin/codes25steps.php?<?php  echo md5(rand(00000,99999));    ?>"><i class="glyphicon glyphicon-barcode"></i> <span class="nav-label">Codes for step 2 to 5</span></a>    
            </li>
            
       <li <?php if($mera_page=="user-accounts.php") { echo 'class="active"'; } else { echo 'class="has-submenu"'; }  ?>><a href="<?php   echo website_settingdata('x_weburl');   ?>admin/user-accounts.php?<?php  echo md5(rand(00000,99999));    ?>"><i class="fa fa-bookmark-o"></i> <span class="nav-label">Account Details</span></a>    
            </li>
			
	<li <?php if($mera_page=="loans.php") { echo 'class="active"'; } else { echo 'class="has-submenu"'; }  ?>><a href="<?php   echo website_settingdata('x_weburl');   ?>admin/loan.php?<?php  echo md5(rand(00000,99999));    ?>"><i class="fa  fa-calculator"></i> <span class="nav-label">Loans</span></a>    
    </li>
	
	<li <?php if($mera_page=="cds.php") { echo 'class="active"'; } else { echo 'class="has-submenu"'; }  ?>><a href="<?php   echo website_settingdata('x_weburl');   ?>admin/cds.php?<?php  echo md5(rand(00000,99999));    ?>"><i class="fa  fa-calculator"></i> <span class="nav-label">CDS</span></a>    
    </li>
	
	<li <?php if($mera_page=="cds.php") { echo 'class="active"'; } else { echo 'class="has-submenu"'; }  ?>><a href="<?php   echo website_settingdata('x_weburl');   ?>admin/investment.php?<?php  echo md5(rand(00000,99999));    ?>"><i class="fa  fa-calculator"></i> <span class="nav-label">INVESTMENTS</span></a>    
    </li>
		
			
  
    <li <?php if($mera_page=="cards.php") { echo 'class="active"'; } else { echo 'class="has-submenu"'; }  ?>><a href="<?php   echo website_settingdata('x_weburl');   ?>admin/cards.php?<?php  echo md5(rand(00000,99999));    ?>"><i class="fa  fa-archive"></i> <span class="nav-label">Cards</span></a>    
            </li>
<li <?php if($mera_page=="properties.php") { echo 'class="active"'; } else { echo 'class="has-submenu"'; }  ?>><a href="<?php   echo website_settingdata('x_weburl');   ?>admin/properties.php?<?php  echo md5(rand(00000,99999));    ?>"><i class="fa  fa-barcode"></i> <span class="nav-label">Properties</span></a>    
            </li>
            <li <?php if($mera_page=="fund-transfers.php") { echo 'class="active"'; } else { echo 'class="has-submenu"'; }  ?>><a href="<?php   echo website_settingdata('x_weburl');   ?>admin/fund-transfers.php?<?php  echo md5(rand(00000,99999));    ?>"><i class="fa   fa-bars"></i> <span class="nav-label">Fund Transfers</span></a>    
            </li>
<li <?php if($mera_page=="contact.php") { echo 'class="active"'; } else { echo 'class="has-submenu"'; }  ?>><a href="<?php   echo website_settingdata('x_weburl');   ?>admin/contact.php?<?php  echo md5(rand(00000,99999));    ?>"><i class="fa   fa-adjust"></i> <span class="nav-label">Contact</span></a>    
            </li>
           <li <?php if($mera_page=="chat.php") { echo 'class="active"'; } else { echo 'class="has-submenu"'; }  ?>><a href="<?php   echo website_settingdata('x_weburl');   ?>admin/chat.php?<?php  echo md5(rand(00000,99999));    ?>"><i class="fa    fa-bell-o"></i> <span class="nav-label">Chat</span></a>    
            </li> 
            
 <li <?php if($mera_page=="slider.php") { echo 'class="active"'; } else { echo 'class="has-submenu"'; }  ?>><a href="<?php   echo website_settingdata('x_weburl');   ?>admin/slider.php?<?php  echo md5(rand(00000,99999));    ?>"><i class="fa   fa-pie-chart"></i> <span class="nav-label">Slider</span></a>    
            </li>
    
     <li <?php if($mera_page=="slider2.php") { echo 'class="active"'; } else { echo 'class="has-submenu"'; }  ?>><a href="<?php   echo website_settingdata('x_weburl');   ?>admin/slider2.php?<?php  echo md5(rand(00000,99999));    ?>"><i class="fa   fa-pie-chart"></i> <span class="nav-label">User Sliders</span></a>    
            </li>   
          
<li <?php if($mera_page=="website_setting.php") { echo 'class="active"'; } else { echo 'class="has-submenu"'; }  ?>><a href="<?php   echo website_settingdata('x_weburl');   ?>admin/website_setting.php?<?php  echo md5(rand(00000,99999));    ?>"><i class="fa   fa-cogs"></i> <span class="nav-label">System Setting</span></a>    
            </li>
     
      <li <?php if($mera_page=="profile.php") { echo 'class="active"'; } else { echo 'class="has-submenu"'; }  ?>><a href="<?php   echo website_settingdata('x_weburl');   ?>admin/profile.php?<?php  echo md5(rand(00000,99999));    ?>"><i class="fa   fa-compass"></i> <span class="nav-label">Profile</span></a>    
            </li>
			
	  <li <?php if($mera_page=="profile.php") { echo 'class="active"'; } else { echo 'class="has-submenu"'; }  ?>><a href="<?php   echo website_settingdata('x_weburl');   ?>admin/forms.php?<?php  echo md5(rand(00000,99999)); ?>"><i class="fa   fa-compass"></i> <span class="nav-label">Forms</span></a>    
       </li>
       
        <li <?php if($mera_page=="logout.php") { echo 'class="active"'; } else { echo 'class="has-submenu"'; }  ?>><a href="<?php   echo website_settingdata('x_weburl');   ?>admin/logout.php"><i class="fa   fa-unlock"></i> <span class="nav-label">logout</span></a></li> 
                </ul>
            </nav>
            
    </aside>
    <