
		
		
<?php
//****** PART A: Get parameter from the url *******************************//	
            if (isset($_GET['page']) && !empty($_GET['page']) )
            {																	
                $show_loader=0;  									 
            }
            else
            {
                $show_loader=1;  									 
            }

			//echo"<font face='Verdana' style='font-size: 9pt' color=red> <br> $show_loader <br> </font> ";

			if ($show_loader==1 )
			{
                echo"
                    <div id='loader-wrapper'>
                        <div id='loader'></div>
                        <div class='loader-section section-left'></div>
                        <div class='loader-section section-right'></div>
                    </div>
                ";
            }
?>



<div class="containerB" align="center" >
    <table class="table_B">
        <tr>
            <td class="Main_button" >
                <div class="dropdown">
                    <button class="dropbtn"> <?php echo $menu_level_ONE_1 ?></button>
                    <div class="dropdown-content">
                        <a href="<?php echo $myLink1. '/?page=' .$link_names_1. '&code=CA-01' ?>"> <?php echo $menu_level_TWO_1 ?> </a>
                        <a href="<?php echo $myLink1. '/?page=' .$link_names_2. '&code=CA-02' ?>"> <?php echo $menu_level_TWO_2 ?> </a>
                        <a href="<?php echo $myLink1. '/?page=' .$link_names_3. '&code=CA-03' ?>"> <?php echo $menu_level_TWO_3 ?> </a>
                        <a href="<?php echo $myLink1. '/?page=' .$link_names_4. '&code=CA-04' ?>"> <?php echo $menu_level_TWO_4 ?> </a>
                        <a href="<?php echo $myLink1. '/?page=' .$link_names_5. '&code=CA-05' ?>"> <?php echo $menu_level_TWO_5 ?> </a>
                        <a href="<?php echo $myLink1. '/?page=' .$link_names_6. '&code=CA-06' ?>"> <?php echo $menu_level_TWO_6 ?> </a>
                        <a href="<?php echo $myLink1. '/?page=' .$link_names_7. '&code=CA-07' ?>"> <?php echo $menu_level_TWO_7 ?> </a>
                        <a href="<?php echo $myLink1. '/?page=' .$link_names_8. '&code=CA-08' ?>"> <?php echo $menu_level_TWO_8 ?> </a>
                    </div>
                </div>
            </td>

            <td class="empty_cell_16"></td>

            <td class="Main_button" >
                <div class="dropdown">
                    <button class="dropbtn"> <?php echo $menu_level_ONE_2 ?></button>
                    <div class="dropdown-content">
                        <a href="<?php echo $myLink1. '/?page=' .$link_names_9.  '&code=CB-01' ?>"> <?php echo $menu_level_TWO_9  ?> </a>
                        <a href="<?php echo $myLink1. '/?page=' .$link_names_10. '&code=CB-02' ?>"> <?php echo $menu_level_TWO_10 ?> </a>
                        <a href="<?php echo $myLink1. '/?page=' .$link_names_11. '&code=CB-03' ?>"> <?php echo $menu_level_TWO_11 ?> </a>
                        <a href="<?php echo $myLink1. '/?page=' .$link_names_12. '&code=CB-04' ?>"> <?php echo $menu_level_TWO_12 ?> </a>
                        <a href="<?php echo $myLink1. '/?page=' .$link_names_13. '&code=CB-05' ?>"> <?php echo $menu_level_TWO_13 ?> </a>
                        <a href="<?php echo $myLink1. '/?page=' .$link_names_14. '&code=CB-06' ?>"> <?php echo $menu_level_TWO_14 ?> </a>
                    </div>
                </div>
            </td>

            <td class="empty_cell_16"></td>

            <td class="Main_button" >

                <div class="dropdown">
                    <button class="dropbtn"> <?php echo $menu_level_ONE_3 ?></button>
                    <div class="dropdown-content">
                        <a href="<?php echo $myLink1. '/?page=' .$link_names_15.  '&code=CC-01' ?>"> <?php echo $menu_level_TWO_15 ?> </a>
                        <a href="<?php echo $myLink1. '/?page=' .$link_names_16.  '&code=CC-02' ?>"> <?php echo $menu_level_TWO_16 ?> </a>
                    </div>
                </div>
            </td>

            <td class="empty_cell_16"></td>

            <td class="Main_button" >
                <div class="dropdown">
                    <button class="dropbtn_A"> <?php echo $menu_level_ONE_4 ?></button>
                    <div class="dropdown-content">
                        <a href="<?php echo $myLink1. '/?page=' .$link_names_17.  '&code=CD-01' ?>"> <?php echo $menu_level_TWO_17 ?> </a>
                        <a href="<?php echo $myLink1. '/?page=' .$link_names_18.  '&code=CD-01' ?>"> <?php echo $menu_level_TWO_18 ?> </a>
                    </div>
                </div>
            </td>

            <td class="empty_cell_16"></td>

            <td class="Main_button" >
                <div class="dropdown">
                    <button class="dropbtn"> <?php echo $menu_level_ONE_5 ?></button>
                    <div class="dropdown-content">
                        <a href="<?php echo $myLink1. '/?page=' .$link_names_19.  '&code=CE-01' ?>"> <?php echo $menu_level_TWO_19 ?> </a>
                    </div>
                </div>
            </td>
        </tr>
    </table>


    <script>
    /* When the user clicks on the button, 
    toggle between hiding and showing the dropdown content */
        function myFunction1() {
            document.getElementById("myDropdown1").classList.toggle("show");
        }

        function myFunction2() {
            document.getElementById("myDropdown2").classList.toggle("show");
        }


        // Close the dropdown if the user clicks outside of it
        window.onclick = function(event) {
            if (!event.target.matches('.dropbtn')) {
                var dropdowns = document.getElementsByClassName("dropdown-content");
                var i;
                for (i = 0; i < dropdowns.length; i++) {
                var openDropdown = dropdowns[i];
                if (openDropdown.classList.contains('show')) {
                    openDropdown.classList.remove('show');
                }
                }
            }
        }
    </script>	

    
</div>

<!------------- Display User name ----------------------------------------------------->

<div class="welcome">Welcome! <?php echo $login_session; ?></div>