<?php
if(!defined('OSTSCPINC') || !is_object($thisuser)) die('Kwaheri');
?>
<div class="msg">My Profile Info</div>
<table width="100%" border="0" cellspacing=0 cellpadding=2>
<form action="profile.php" method="post">
<input type="hidden" name="t" value="info">
<input type="hidden" name="id" value="<?=$thisuser->getId()?>">
<tr>
<td width="110"><b>Username:</b></td>
<td> <?=$thisuser->getUserName()?></td>
</tr>
<tr>
<td>First Name:</td>
<td><input type="text" name="firstname" value="<?=$rep['firstname']?>">
<font class="error">* <?=$errors['firstname']?></font></td>
</tr>
<tr>
<td>Last Name:</td>
<td><input type="text" name="lastname" value="<?=$rep['lastname']?>">
<font class="error">* <?=$errors['lastname']?></font></td>
</tr>
<tr>
<td>Email Address:</td>
<td><input type="text" name="email" size=25 value="<?=$rep['email']?>">
<font class="error">* <?=$errors['email']?></font></td>
</tr>
<tr>
<td>Office Phone:</td>
<td>
<input type="text" name="phone" value="<?=$rep['phone']?>" ><font class="error"> <?=$errors['phone']?></font> Ext
<input type="text" name="phone_ext" size=6 value="<?=$rep['phone_ext']?>" >
<font class="error"> <?=$errors['phone_ext']?></font>
</td>
</tr>
<tr>
<td>Cell Phone:</td>
<td><input type="text" name="mobile" value="<?=$rep['mobile']?>" >
<font class="error"> <?=$errors['mobile']?></font></td>
</tr>
<tr>
<td valign="top">Signature:</td>
<td><textarea name="signature" cols="21" rows="5" style="width: 60%;"><?=$rep['signature']?></textarea></td>
</tr>
<tr><td> </td>
<td> <br/>
<input class="button" type="submit" name="submit" value="Save">
<input class="button" type="reset" name="reset" value="Reset">
<input class="button" type="button" name="cancel" value="Cancel" onClick='window.location.href="index.php"'>
</td>
</tr>
</form>
</table>