<div class="container">
  <!-- Modal -->
  <div class="modal fade" style="z-index: 9999" id="message_show_modal" role="dialog">
    <div class="modal-dialog" style="margin-top: 2%;">
    
      <!-- Modal content-->
      <div class="modal-content col-sm-8 col-sm-offset-2">
       
        <div class="modal-body">
		<form method="POST">
		
			<div class="row" style="text-align: center; padding-top: 10px">
				<h5 style="font-weight: 400; color: #4f565a; font-size: 17px; font-family: "Brandon Grotesque","proxima-nova","Helvetica Neue",Helvetica,Arial,sans-serif"> 
					System alert <span id="md_user_name">  </span>  
				</h5>
			</div>
			<br>
			<div class="row">
				<div class="form-group">
					<div class="col-sm-8 col-sm-offset-2" style="color: black; font-size: 18px; text-align: center">
						Your account has been deactivated by admin
						<br>
						 <span id="md_msg">  </span>
					</div>
				</div>
			</div>
			<br>
			<div class="row">
				<div class="form-group">
					<div class="text-center">
						<input type="button" class="btn btn-info" id="" data-dismiss="modal" value="Cancel">
					</div>
				</div>
			</div>
        </form>
		</div>
		
      </div>
      
    </div>
  </div>
</div>

<script>
     $(document).ready(function(){
            $("#message_show_modal").modal('show');    
    });
    $('#message_show_modal').on('hidden.bs.modal', function () {    
        window.location.href="logout.php";
    });
        
</script>