<?php
    session_start();
    include("library/conn.php");
?>
<!DOCTYPE html>
<html lang="en">

    <head>
        <?php include("library/head.php");?>
        <title>Account Association | <?php echo $_SESSION['systemName']; ?></title>
    </head>
    
    <body class="app sidebar-mini">
    
        <!-- Navbar-->
        <?php include("library/header.php"); ?>
        <!-- Sidebar menu-->
        <div class="app-sidebar__overlay" data-toggle="sidebar"></div>
        <?php include("library/sidebar.php"); ?>
        
        <main class="app-content">
            <div class="app-title">
                <div>
                    <h4 class="text-primary"><i class="fa fa-link fa-lg"></i> ACCOUNT ASSOCIATION</h4>
                    <p>Account Association Page</p>
                </div>
                <ul class="app-breadcrumb breadcrumb">
                    <li class="breadcrumb-item"><i class="fa fa-home fa-lg"></i></li>
                    <li class="breadcrumb-item"><a href="account-association">Account Association</a></li>
                </ul>
            </div>
            
            <div class="tile">
				<div class="tile-body">
                    <form action="#" method="POST" id="searchUsersForAccountAssociationForm">
						<div class="row">
                            <div class="form-group col-md-10">
								<label class="control-label">Select Username</label>
								<select class="form-control" name="cmbUserIddSearchUsersForAccountAssociation" id="cmbUserIddSearchUsersForAccountAssociation" style="width: 100%;" required>

								</select>
							</div>
							<div class="form-group col-md-2 text-right">
							    <label class="control-label">&nbsp;</label><br>
								<button type="submit" class="btn btn-primary col-md-12" name="btnSearchUsersForAccountAssociation" id="btnSearchUsersForAccountAssociation"><i class="fa fa-search" style="font-size: 18px; margin-left: 5px; margin-bottom: 3px;"></i> Search</button>
							</div>
						</div>	
					</form>
				</div>
			</div>

			<div id="userAssociatedAccountNumbersSection">
				
			</div>

        </main>
        
        <!-- Essential javascripts for application to work-->
        <?php include("library/footer.php"); ?>
        <?php include("library/scripts.php"); ?>
        <script type="text/javascript">
            $("#cmbUserIddSearchUsersForAccountAssociation").select2( {tags: false})
        </script>

    </body>

</html>