<?php
/* @var $this SiteController */
/* @var $model LoginForm */
/* @var $form CActiveForm  */

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


<br><br><br><br><br><br>

<div class="form">

    <div style="float:left; border:1px solid">
<?php $this->widget('bootstrap.widgets.TbCarousel', array(
    'items'=>array(
        array('image'=>'/JobFair/images/imgs/slider4.gif', 'label'=>'Virtual Job Fair', 'caption'=>'Virtual Job Fair is an efficient way to make a connection between employers and job seeking students. Recruiting high quality employees or finding the perfect job is no easy task; Virtual Job Fair provides a simple an efficient solution to this.'),
    	array('image'=>'/JobFair/images/imgs/slider5.gif', 'label'=>'-Employers-', 'caption'=>'Recruiting is difficult and expensive, especially when you need to send personnel to the universities to find students. Virtual Job Fair allows you to virtually do this. With our Live Video Interview, your personnel can interview the candidates without leaving the office. '),
    	array('image'=>'/JobFair/images/imgs/slider.png', 'label'=>'-Students-', 'caption'=>'Need a job and do not know where to start? Well start here. Virtual Job Fair allows you to create a profile and showcase your skills and abilities for free. We also match you with current job opening based on your skills.'),
    		 
    		),
		'htmlOptions' => array('style'=>'width:600px;'),
)); ?>
    </div>

<img style="float:left; height:50px; margin-left:50px"src='/JobFair/images/imgs/vjflogo.jpg'/>
<h2 style="margin-bottom:40px;float:left;margin-left:10px">Virtual Job Fair Login</h2>

    <div id="login">

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



	<?php echo $form->textField($model,'username', array('placeholder'=>'User Name')); ?><br><br>
	<?php echo $form->passwordField($model,'password',array('placeholder'=>'Password')); ?>
	<br>
	<br>
	<?php echo $form->checkBox($model,'rememberMe',array('style'=>'float:left')); ?>
	<p style="float:left; margin-left:5px">Remember Me</p>
	<br>
	<br>
	    <div style="float:left">
		<?php $this->widget('bootstrap.widgets.TbButton', array(
            'buttonType'=>'submit',
            'type'=>'primary',
            'label'=>'Login',
        )); ?>
	
         </div>
	    <div style="float:left; margin-left: 10px;margin-top: -5px;">
	<a style="float:left;" href= "/JobFair/index.php/site/forgotPassword" >  Forgot Password </a>	
	<div style="clear:both"></div>
	<a style="float:left;" href= "/JobFair/index.php/user/register" > Register  </a>	
        </div>


	
    </div>

<?php $this->endWidget(); ?>

</div><!-- form -->
<!--Author Manuel
making the links dynamic so if the base Url changed the program won not be affected
-->
<div id="altlogin" >
<p>Students may login with these:</p>

<?php
    $image =CHtml::image(Yii::app()->baseUrl. '/images/imgs/fiu_cs_login.png');
    echo CHtml::link($image, array('profile/fiuCsSeniorAuth'));
?><br><br>

<?php
    $image =CHtml::image(Yii::app()->baseUrl. '/images/imgs/fiu_login.png');
    echo CHtml::link($image, array('profile/fiuAuth'));
?><br><br>

<?php
    $image =CHtml::image(Yii::app()->baseUrl. '/images/imgs/google_login.png');
    echo CHtml::link($image, array('profile/googleAuth'));
?><br><br>


<?php
    $image = CHtml::image(Yii::app()->baseUrl. '/images/imgs/linkedIn_login.png');
    echo CHtml::link($image, array('user/auth1'));
?><br><br>