- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
echo '<!DOCTYPE HTML>
<html>
<head>
<meta charset = "UTF-8">
<title>Авторизация</title>
<link rel="shortcut icon" href="';
echo Power::url( 'images/favicon.png' );
echo '" type="image/x-icon" />
<link rel="stylesheet" href="';
echo Power::url( 'themes/admin/login.css' );
echo '" type="text/css" />
</head>
<body>
';
echo '<s';
echo 'ection id="loginBox">
';
$form = $this->beginWidget( 'CActiveForm' );
echo ' <div class="field">
';
echo $form->textField( $post, 'username', array( 'placeholder' => 'Логин' ) );
echo ' ';
echo $form->error( $post, 'username', array( 'class' => 'errorPopup' ) );
echo ' </div>
<div class="field">
';
echo $form->passwordField( $post, 'password', array( 'placeholder' => 'Пароль' ) );
echo ' ';
echo $form->error( $post, 'password', array( 'class' => 'errorPopup' ) );
echo ' </div>
<div class="field">
';
echo $form->textField( $post, 'captcha', array( 'placeholder' => 'Код с картинки' ) );
echo ' ';
$this->widget( 'CCaptcha', array( 'showRefreshButton' => false, 'clickableImage' => true ) );
echo ' ';
echo $form->error( $post, 'captcha', array( 'class' => 'errorPopup' ) );
echo ' </div>
<div class="button">';
echo CHtml::submitbutton( 'Авторизоваться', array( 'class' => 'button' ) );
echo '</div>
';
$this->endWidget( );
echo ' </section>
</body>
</html>';