<?php

require 'Require.php';
require 'Admin_Header.php';
require 'Admin_Menu2.html';
$user = $_SESSION['Logged_In_User'];
$admin_con = new Admin_Controller($user);
//get the encoders
$encoders = $admin_con->Get_Users(User_Type::ENCODER);
//get the normal encoders
$normal_encoders = $admin_con->Get_Users(User_Type::NORMAL_ENCODER);
//get the operators
$operators = $admin_con->Get_Users(User_Type::OPERATOR);
?>

<div class="col-sm-8 col-sm-offset-1 margin_top_51 list_container">

	<?php 
if ($_SERVER['REQUEST_METHOD'] == "GET") {
    if (isset($_GET['error'])) {
        $error_msg = $_GET['error'];
        ?>

			<div class="alert alert-danger alert-dismissable">
				<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
				<strong>Warning!</strong><?php 
        echo $error_msg;
        ?>
			</div>

		<?php