Esempio n. 1
0
                  <td width="79%" class="tdborder3399"><?php 
    echo $USER->username;
    ?>
</td>
                </tr>
                <tr>
                  <td>Email:</td>
                  <td class="tdborder3399"><?php 
    echo $USER->email;
    ?>
</td>
                </tr>
                <tr>
                  <td>Access level: </td>
                  <td class="tdborder3399"><?php 
    echo $ACCESS . ' ' . AccessDesc($ACCESS);
    ?>
</td>
                </tr>
                <tr>
                  <td>Old Password: </td>
                  <td><input name="oldpass" type="password" id="oldpass" size="40" maxlength="40"></td>
                </tr>
                <tr>
                  <td>New password: </td>
                  <td><input name="newpass1" type="password" id="newpass1" size="40" maxlength="40"></td>
                </tr>
                <tr>
                  <td>New Password again: </td>
                  <td><input name="newpass2" type="password" id="newpass2" size="40" maxlength="40"></td>
                </tr>
Esempio n. 2
0
                <tr>
                  <td><?php 
                echo "{$uid} ";
                if ($acc <= $ACCESS || $ACCESS == 500) {
                    echo "<a href='edittheoper.php?id={$uid}'>{$unam}</a>";
                } else {
                    echo $unam;
                }
                ?>
</td>
                  <td><?php 
                echo stripslashes($fnam) . ' ' . stripslashes($lnam);
                ?>
</td>
                  <td><?php 
                echo $acc . ' ' . AccessDesc($acc);
                ?>
</td>
                  <td><?php 
                echo $logdate;
                ?>
</td>
                </tr>
<?php 
            }
            // while
        } catch (Exception $e) {
            echo '<tr><td colspan=3 bgcolor="#FCCCCC">Failure: ' . $e->getMessage() . ' (' . $e->getCode() . ')</td></tr>';
        }
        ?>
              </table>
Esempio n. 3
0
    if (isset($USER->logip)) {
        echo " back";
    }
    echo ', ' . $USER->firstname . '!</h1>';
    if (isset($USER->logip)) {
        echo "<p>Your last logon was at {$USER->logdate} from IP address {$USER->logip}. " . "Your current IP address is {$REMOTE_ADDR}. Please remember to log off when finished.</p>";
    } else {
        $newuser = true;
    }
    ?>
              <p>Use the navigation bar above<?php 
    echo $newuser ? ' to feel your way around here' : ' and common task links below';
    ?>
. You can view your profile and change your password <a href="oprofile.php">here</a>. You can see your custom lists <a href="custlists.php">here</a>.</p>
              <h3>Your access level is <?php 
    echo AccessDesc($ACCESS);
    ?>
.</h3>
<?php 
    if ($newuser) {
        ?>
              <p class="tdborder3399"><strong><em>Note</em></strong>: Javascript support required. If you disabled javascript in your browser, please enable it for this site. This site can show popups with important notices. If you use any popup blockers, please put this site into the 'Allow List'. You can test both Javascript and Popup features below. </p>
              <form name="form1" method="post" action="index.php">
                <label>JS & Popup Test: 
                <input name="popte" type="text" id="popte" onFocus="poptest()" value="Click here to test. A window should pop up." size="50">
                <input type="button" name="Button" value="Try again" onClick="popte.disabled = false;">
</label>
              </form>
<?php 
    } else {
        // not new user.