<BR><BR>
<?php 
if (!isset($Controller)) {
    $Controller = new Controller();
}
$user_id = $_SESSION['user_id'];
$user_info_query = $Controller->get_user_info($user_id);
$user_info = $user_info_query->fetch_assoc();
if ($user_info['name'] == '' || $user_info['last_name'] == '') {
    ?>
        <div class='due-date' style='background-color: #909090; color: f5f5f5; font-size: 20px; font-weight: 700;'>
        User Info Setup
    </div><BR>
    <div style="width: 75%; margin: 0 auto;">
    This page is intended for first time users to enter their name if it has not already been done. Once an account is created, the Name on the account or the company with which it is associated cannot be changed by the user. This helps to keep the chaos to a minimum and keep things organized. 
        <BR><BR>
            <strong>NOTE:</strong> Other information can be changed at any time in the "Profile" section by clicking the icon in the top left of the screen.
        <BR><BR>
        If you wish to change this information, please contact an administrator or member of the staff for help.
        <HR style="margin: 10px;">
            
        <form method="post">
            <center>
            <table style="margin: 0 auto: border: 0px solid; ">
            <TR style="font-size: 18px; font-weight: 600;">
                <TD>
                    <span style="color: b60000;">&#42;</span>First Name:&nbsp;
                </TD>
                <TD>
            <input id="login_input_username" class="login_input" type="username" name="name" required/>
                </TD>