<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>

        <title>LSMS - Login</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
       

        <!-- blueprint CSS framework -->
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" />
        <!--[if IE ]>
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
	<![endif]-->

        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->baseUrl . '/css/login/css/'; ?>style.css" />


    </head>
    <body>
        <?php
        if (!Yii::app()->user->isGuest)
        {
            $this->redirect(Yii::app()->user->returnUrl);
        }

        $this->pageTitle = Yii::app()->name . ' - Login';
        $this->breadcrumbs = array(
            'Login',
        );
        ?>

        <div class="warper">

            <div class="header">
                <img src="<?php echo Yii::app()->baseUrl ?>/css/login/img/header.png" class="image_header" />
            </div>
            <div class="header_logo">
                <img src="<?php echo Yii::app()->baseUrl ?>/css/login/img/header_logo.png" />
            </div>
            <div class="header_logo2">
                <img src="<?php echo Yii::app()->baseUrl ?>/css/login/img/header_logo2.png" />
            </div>

            <div class="midler">
                 
                <div class="log_in">

               <!--     <div class="welcom_msg"><?php echo yii::t('default', 'Welcome To'); ?> <p style="color: #143A6B; display: inline">The Life Support Management System</p></div> -->

                    <?php
                    $form = $this->beginWidget('ext.bootstrap.widgets.TbActiveForm', array(
                                'id' => 'login-form',
                                'enableClientValidation' => true,
                                'clientOptions' => array(
                                    'validateOnSubmit' => true,
                                ),
                            ));


                    echo '<div class="row error my_label">';
                    echo $form->textFieldRow($model, 'username', array('class' => 'user_name_value'));
                    echo '</div>';
                    echo '<div class="row error my_label">';
                    echo $form->passwordFieldRow($model, 'password', array('class' => 'password_value'));
                    echo '</div>';
                    ?>

                    <div class="row buttons">
                  <?php echo CHtml::submitButton('Login', array('class' => 'login_btn')); ?>
                    </div>

<?php $this->endWidget(); ?>
                </div>
               
            </div>
            <p class="footer">
                <br/><br/>
                 <?php echo Yii::t('default', "LSMS v 1.3 - Copyright Schlumberger 2013") ?>
                 <br/>
                 <?php echo Yii::t('default', "Powered By") . ":" ?> <a href="http://www.FlexSolution.biz" style="color: orange;">Flex Solutions</a>
            </p>

    </body>
</html>
