Пример #1
0
        }
        ?>
		<?php 
    } else {
        ?>
		<p><button class="btn btn-default" type="button" disabled>Login With Cosign (Currently Unavailable)</button></p>
		<?php 
    }
    ?>
		<h3>Login With Username and Password</h3>
		<p>Login with a username and password assigned to you for this control panel. <strong>This is not your university login.</strong></p>
		<?php 
    echo FormHelpers::getFormTxtInput(1, "Username", "user", $form['user'], $formErrors);
    ?>
		<?php 
    echo FormHelpers::getFormPassInput(1, "Password", "pass", $form['pass'], $formErrors);
    ?>
		<p><?php 
    echo FormHelpers::getFormSubmitButton(1, "Login", "", true);
    ?>
</p>
		<?php 
} else {
    ?>
		<?php 
    if ($accountDisabled) {
        ?>
		<p>You are logged in but your account is currently disabled. Please contact an admin.</p>
		<?php 
    } else {
        ?>