<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<?php 
include_http_metas();
include_metas();
include_title();
?>
</head>

<body style="background-image: url(/appFlowerStudioPlugin/images/bg/backgrond_3.2.2.jpg);background-position: 50% 50%;background-repeat: no-repeat;">
    <!-- Page Frame -->
<?php 
$layout = new afExtjsSfGuardLayout();
/**
 * EXTJS REQUEST PASSWORD FORM
 */
$form = new afExtjsForm(array('action' => url_for('/afsAuthorize/passwordRequest')));
$fieldset = $form->startFieldset(array('legend' => 'Receive your login details by email'));
$columns = $fieldset->startColumns(array("columnWidth" => 1));
$col = $columns->startColumn(array("columnWidth" => 1));
$username = new afExtjsFieldInput($col, array('name' => 'email', 'label' => 'Email', 'value' => $sf_params->get('email'), 'help' => "Enter your email", 'comment' => 'write your email', 'width' => '150'));
$columns->endColumn($col);
$fieldset->endColumns($columns);
$form->endFieldset($fieldset);
new afExtjsSubmitButton($form, array('action' => url_for('/afsAuthorize/passwordRequest')));
new afExtjsLinkButton($form, array('url' => url_for('/afsAuthorize/index'), 'label' => 'Go to Login', 'load' => 'page'));
$form->end();
$layout->addItem('center', $form);
$tools = new afExtjsTools();
//$tools->addItem(array('id'=>'gear','handler'=>array('source'=>"Ext.Msg.alert('Message', 'The Settings tool was clicked.');")));
<head>
<?php 
include_http_metas();
include_metas();
include_title();
?>
</head>

<body style="background-image: url(/appFlowerStudioPlugin/images/bg/backgrond_3.2.2.jpg);background-position: 50% 50%;background-repeat: no-repeat;">
    <!-- Page Frame -->
    
    <script type="text/javascript" src="/appFlowerStudioPlugin/js/afStudio.js"></script> 
    <script type="text/javascript" src="/appFlowerStudioPlugin/js/components/users/afStudio.UserWindow.js"></script>
    
<?php 
$layout = new afExtjsSfGuardLayout();
/**
 * EXTJS SIGN IN FORM
 */
$form = new afExtjsForm(array('action' => '/afsAuthorize/signin', "columnWidth" => ".88"));
$fieldset = $form->startFieldset(array('legend' => 'Login', 'collapsible' => 'false'));
$columns = $fieldset->startColumns(array("columnWidth" => 1));
$col = $columns->startColumn(array("columnWidth" => 1));
$username = new afExtjsFieldInput($col, array('name' => 'signin[username]', 'label' => 'Username', 'value' => '', 'help' => "Enter the username", 'width' => '150'));
$password = new afExtjsFieldPassword($col, array('name' => 'signin[password]', 'label' => 'Password', 'value' => '', 'help' => "Enter the password", 'width' => '150'));
$captchaEnabled = in_array('sfCaptchaPlugin', sfProjectConfiguration::getActive()->getPlugins());
$remember = new afExtjsFieldCheckbox($col, array('name' => 'signin[remember]', 'label' => 'Remember', 'checked' => true));
$columns->endColumn($col);
$fieldset->endColumns($columns);
$form->endFieldset($fieldset);
new afExtjsSubmitButton($form, array('action' => '/afsAuthorize/signin'));