<? $this->load->view( $this->aSystemVar['template_viewer_root'] . '_header_simple') ?>
			<div class="formBlock center" style="width:600px;margin:0px auto;">

				<? if ( 'unconfirmed' == $data['User']['Status'] ) : ?>
					<div class="error"><?= anchor('user/confirmation', $this->lang->line('profile_unconfirmed') ); ?></div>
				<? endif; ?>

				<div class="fSet">
					<div class="legend"><?= $this->lang->line('edit') . ' ' . $this->lang->line('personal_information')  ?></div>
					<?=form_open_multipart('user/profile_save/' . $data['User']['Name'] )?>
						<table cellpadding="2" cellspacing="1" width="100%" border="0">
							<tr>
								<td width="30%"><?= $this->lang->line('email') ?>:<a href="javascript:void(0);" class="autohelp" onClick="javascript: getAsyncHelp( event, '<?= site_url('async/topic/_user_email_change');?>' ); return false;" onMouseOut="javascript:  hideAsyncHelp();">[?]</a></td>
								<td><input type="text" name="Email" value="<?= @$data['User']['Email'] ?>" class="text" style="width:100%;" /></td>
							</tr>
							<tr>
								<td width="30%"><?= $this->lang->line('real_name') ?>:</td>
								<td><input type="text" name="RealName" value="<?= @$data['User']['RealName'] ?>" class="text" style="width:100%;" /></td>
							</tr>
							<tr>
								<td valign="top"><?= $this->lang->line('self_description') ?>:</td>
								<td>
									<textarea name="Description" style="width:98%; height:70px;"><?= @$data['User']['Description'] ?></textarea>
									<br />
									<br />
								</td>
							</tr>
							<tr>
								<td valign="top"><?= $this->lang->line('change_password') ?>:</td>
								<td>
									<input type="text" name="Password" value=" <?= $this->lang->line('password') ?>" class="text" style="color:#888888;font-style:italic;margin-bottom:5px;width:100%;" onfocus="javascript: this.style.color='#000000'; if ( ' ' == this.value.substr(0,1) ) { this.value=''; this.type='password' }" />
									<input type="text" name="PasswordConf" value=" <?= $this->lang->line('confirmation') ?>" class="text" style="color:#888888;font-style:italic;width:100%;" onfocus="javascript: this.style.color='#000000'; if ( ' ' == this.value.substr(0,1) ) { this.value=''; this.type='password' }" />
								</td>
							</tr>
							<tr>
								<td valign="top"><?= $this->lang->line('your_photo') ?>:</td>
								<td>
								<? if(!empty($data['User']['Pic'])): ?>
									<div>
										<span><input type="checkbox" name="DeleteUserPic" value="<?= $data['User']['Id'] ?>" style="vertical-align:middle;" id="deleteCheckBox" /></span><span style="vertical-alin:middle;"><label for="deleteCheckBox"><?= $this->lang->line('delete') ?></label></span>
									</div>
								<? endif; ?>
									<div><img src="<?= $data['User']['PicUrl'] ?>" title="pic" alt="pic" /></div>
									<div style="line-height:12px;"><input type="file" name="Picture" class="file" style="verical-align:middle; width:100%;" /></div>
								</td>
							</tr>
							<tr>
								<td colspan="2" align="center">
									<input type="submit" value="<?= $this->lang->line('submit') ?>" class="submit" />
								</td>
							</tr>
							</table>
					<?= form_close(); ?>
				</div>
			</div>
<? $this->load->view( $this->aSystemVar['template_viewer_root'] . '_footer_simple') ?>
