~mratix/osticketplus/osticketplus

« back to all changes in this revision

Viewing changes to upload/include/staff/myprofile.inc.php

  • Committer: Alexandre Haguiar
  • Date: 2011-11-01 10:52:12 UTC
  • Revision ID: git-v1:c7c355511789a2a15e1233697010ce20dd69c362
first commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
if(!defined('OSTSCPINC') || !is_object($thisuser)) die(_('Kwaheri rafiki!'));
 
3
 
 
4
?>
 
5
<div class="msg"><?= _('My Profile Info') ?></div>
 
6
<table width="100%" border="0" cellspacing=0 cellpadding=2>
 
7
 <form action="profile.php" method="post">
 
8
 <input type="hidden" name="t" value="info">
 
9
 <input type="hidden" name="id" value="<?=$thisuser->getId()?>">
 
10
    <tr>
 
11
        <td width="110"><b><?= _('Username:') ?></b></td>
 
12
        <td>&nbsp;<?=$thisuser->getUserName()?></td>
 
13
    </tr>
 
14
    <tr>
 
15
        <td><?= _('First Name:') ?></td>
 
16
        <td><input type="text" name="firstname" value="<?=$rep['firstname']?>">
 
17
            &nbsp;<font class="error">*&nbsp;<?=$errors['firstname']?></font></td>
 
18
    </tr>
 
19
    <tr>
 
20
        <td><?= _('Last Name:') ?></td>
 
21
        <td><input type="text" name="lastname" value="<?=$rep['lastname']?>">
 
22
            &nbsp;<font class="error">*&nbsp;<?=$errors['lastname']?></font></td>
 
23
    </tr>
 
24
    <tr>
 
25
        <td><?= _('Email Address:') ?></td>
 
26
        <td><input type="text" name="email" size=25 value="<?=$rep['email']?>">
 
27
            &nbsp;<font class="error">*&nbsp;<?=$errors['email']?></font></td>
 
28
    </tr>
 
29
    <tr>
 
30
        <td><?= _('Office Phone:') ?></td>
 
31
        <td>
 
32
            <input type="text" name="phone" value="<?=$rep['phone']?>" ><font class="error">&nbsp;<?=$errors['phone']?></font>&nbsp;<?= _('Ext') ?>&nbsp;
 
33
            <input type="text" name="phone_ext" size=6 value="<?=$rep['phone_ext']?>" >
 
34
            <font class="error">&nbsp;<?=$errors['phone_ext']?></font>
 
35
        </td>
 
36
    </tr>
 
37
    <tr>
 
38
        <td><?= _('Cell Phone:') ?></td>
 
39
        <td><input type="text" name="mobile" value="<?=$rep['mobile']?>" >
 
40
            &nbsp;<font class="error">&nbsp;<?=$errors['mobile']?></font></td>
 
41
    </tr>
 
42
    <tr>
 
43
        <td valign="top"><?= _('Signature:') ?></td>
 
44
        <td><textarea name="signature" cols="21" rows="5" style="width: 60%;"><?=$rep['signature']?></textarea></td>
 
45
    </tr>
 
46
    <tr><td>&nbsp;</td>
 
47
        <td> <br/>
 
48
            <input class="button" type="submit" name="submit" value="<?= _('Save') ?>">
 
49
            <input class="button" type="reset" name="reset" value="<?= _('Reset') ?>">
 
50
            <input class="button" type="button" name="cancel" value="<?= _('Cancel') ?>" onClick='window.location.href="index.php"'>
 
51
        </td>
 
52
    </tr>
 
53
 </form>
 
54
</table>