# New User $myLethe = new lethe(); $myLethe->OID = 0; $myLethe->isMaster = 1; $myLethe->auth_mode = 2; $myLethe->addUser(); $errText = $myLethe->errPrint; } if (isset($_POST['editUser'])) { # Edit User $myLethe = new lethe(); $myLethe->OID = 0; $myLethe->UID = $ID; $myLethe->isMaster = 1; $myLethe->auth_mode = 2; $myLethe->editUser(); $errText = $myLethe->errPrint; } ?> <?php if ($page_sub2 == 'add') { echo '<h1>' . $pg_title . '<span class="help-block"><span class="text-primary">' . settings_add_user . '</span></span></h1><hr>' . $pg_nav_buts . $errText; ?> <!-- ADD USER START --> <form name="addNewUser" method="POST" action=""> <div class="form-group"> <label for="usr_name"><?php echo sh('IiIMsL5qIW') . letheglobal_name; ?> </label> <input type="text" name="usr_name" id="usr_name" value="<?php