<div style='padding:4px'>
	<form action='{$this->ipsclass->base_url}act=usercp&amp;CODE=personal_portal_save&amp;md5check={$this->ipsclass->md5_check}' method='POST'>
<if="$this->ipsclass->member['g_edit_profile']==1">
	<fieldset>
		<legend><strong>{$this->ipsclass->lang['m_personal_statement']}</strong> <span class='pp-tiny-text'>{$this->ipsclass->lang['m_char_limit']}</span></legend>
		<table cellpadding='0' cellspacing='1' width='100%'>
		<tr>
			<td class="row1" style='padding:6px;text-align:center'>
				<textarea name='pp_bio_content' rows='5' cols='60' style='width:95%;height:100px'>{$member['_pp_bio_content']}</textarea>
			</td>
		</tr>
		</table>
	</fieldset>
	
	<br />
</if>	
	<fieldset>
		<legend><strong>{$this->ipsclass->lang['m_notifications']}</strong></legend>
		<table cellpadding='0' cellspacing='1' width='100%'>
		<tr>
			<td width="40%" class="row1" style='padding:6px;'>
				<strong>{$this->ipsclass->lang['m_new_comments']}</strong>
				<div class='pp-tiny-text'>{$this->ipsclass->lang['m_choose_comm_type']}</div>
			</td>
			<td width="60%" class="row2" style='padding:6px;'>
				<select name='pp_setting_notify_comments'>{$member['_pp_setting_notify_comments']}</select>
			</td>
		</tr>
		<tr>
			<td width="40%" class="row1" style='padding:6px;'>
				<strong>{$this->ipsclass->lang['m_new_friends']}</strong>
				<div class='pp-tiny-text'>{$this->ipsclass->lang['m_choose_friend_type']}</div>
			</td>
			<td width="60%" class="row2" style='padding:6px;'>
				<select name='pp_setting_notify_friend'>{$member['_pp_setting_notify_friend']}</select>
			</td>
		</tr>
		</table>
	</fieldset>
	
	<br />
	
	<fieldset>
		<legend><strong>{$this->ipsclass->lang['m_mod_type']}</strong></legend>
		<table cellpadding='0' cellspacing='1' width='100%'>
		<tr>
			<td width="40%" class="row1" style='padding:6px;'>
				<strong>{$this->ipsclass->lang['m_new_comments']}</strong>
				<div class='pp-tiny-text'>{$this->ipsclass->lang['m_choose_cmod_type']}</div>
			</td>
			<td width="60%" class="row2" style='padding:6px;'>
				<select name='pp_setting_moderate_comments'>{$member['_pp_setting_moderate_comments']}</select>
			</td>
		</tr>
		<tr>
			<td width="40%" class="row1" style='padding:6px;'>
				<strong>{$this->ipsclass->lang['m_new_friends']}</strong>
				<div class='pp-tiny-text'>{$this->ipsclass->lang['m_choose_fmod_type']}</div>
			</td>
			<td width="60%" class="row2" style='padding:6px;'>
				<select name='pp_setting_moderate_friends'>{$member['_pp_setting_moderate_friends']}</select>
			</td>
		</tr>
		</table>
	</fieldset>
	
	<br />
	
	<div class='row1' style='padding:6px; margin-bottom:1px;text-align:center'>
		<input type='submit' class='button' value='{$this->ipsclass->lang['m_save_settings']}' />
	</div>
	</form>
</div>