<? 
$CLS='change_password';
class change_password
{
	function init() {
		global $X;
		$X->NAVI[] = 'Zmiana hasła';

		$FLAT=true;
		$FORM_NAME='change_password';
		require(START_FORM);

		$html='
			<table class="form padd3">
				<tr>
					<td width="170">'.$X->FORM->label('old_password','Stare hasło').'</td>
					<td>'.$X->FORM->password('old_password',300).'</td>
				</tr>
				<tr>
					<td>'.$X->FORM->label('new_password','Nowe hasło').'</td>
					<td>'.$X->FORM->password('new_password',300).'</td>
				</tr>
				<tr>
					<td>'.$X->FORM->label('new_password2','Potwierdzenie hasła').'</td>
					<td>'.$X->FORM->password('new_password2',300).'</td>
				</tr>
				<tr>
					<td></td>
					<td><br />'.$X->FORM->submit_link('<span class="ico w_key"></span><span>&nbsp;Zmień hasło</span>').'</td>
				</tr>
			</table>
		';
		return $X->ADMIN->formbox($X->FORM->get($FORM_NAME, $REQ, $html));
	}

}
?>