Location: PHPKode > projects > Spam free PHP GuestBook > Spam free PHP GuestBook-1.2beta/gb/user/include/usercp.php
<form name="frmuser" style="width:580px; margin:10px;" onsubmit="return false">
<table id="fw_userCP">
<tr><td colspan="2" id="feedback"></td></tr>
<tr><td width="100px"><b>User:</b></td><td><?php echo $row['user'];?></td></tr>
<tr><td><b>Name:</b></td><td><?php echo $row['name'];?></td></tr>
<tr><td><b>Password:</b></td><td><a href="javascript:editPassword()">Change password</a><span id="hideme"><span></td></tr>
<tr><td colspan="2" id="changePassword" class="hide">
<table>
<tr><td width="120px"><b>Current password:</b></td><td><input type="password" style="width: 180px;" name="cpw" id="cpw" size="20"></td></tr>
<tr><td><b>New password:</b></td><td><input type="password" style="width: 180px;" name="npw" id="npw" size="20"></td></tr>
<tr><td><b>Retype password:</b></td><td><input type="password" style="width: 180px;" name="rpw" id="rpw" size="20"></td></tr>
</table>
</td></tr>
<tr><td><b>Email:</b></td><td><input type="text" style="width: 380px;" name="email" id="email" size="20" value="<?php echo $row['email'];?>" /></td></tr>
<tr><td colspan="2" style="color:#666666; font-size:11px;padding:2px 10px 15px 15px;">If you change your email address a confirmation email will be sent to your new email address to activate it.
<br />And until it is activated you have to use your current email address for login.</td></tr>
<tr><td><b>Website:</b></td><td><input type="text"style="width: 380px;" name="website" id="website" size="20" value="<?php echo $row['website'];?>" /></td></tr>
<tr><td colspan="2"><input style="width:15px; margin:0;" type="checkbox" name="allowemail"<?php echo (($row['allowemail']=='Y')? ' checked' : '').($disabled_email? ' disabled' : '');?> /> <b>Accept email from viewers</b></td></tr>
<tr><td colspan="2" style="color:#666666; font-size:11px;padding:2px 10px 15px 15px;">Your email address <u>will not be disclosed</u>. Message will be sent via webform.</td></tr>
<tr><td colspan="2" style="padding-top:15px;">
<input type="reset" class="fw_button" value="Reset" name="B1" onclick="resetForm()">&nbsp;&nbsp;<input type="button" class="fw_button" value="Submit" onClick="fwUser();">
</td></tr>
</table></div>
<p style="color:#c0c0c0; margin:0px 0 5px 0px;padding:0;">
___________________________</p>
<span style="color:#808080; font-size:10px; margin-left:5px;">PHP Guest Book copyright &copy;&nbsp;<a target="_blank" href="http://ramui.com/">ramui.com</a></span>
</form>
</body></html>
Return current item: Spam free PHP GuestBook