<?php $this->load->view('site/templates/header'); ?>
<!--selection-->
<section>
    	<div class="main">
        	
            <div class="community_page">
            	
                <div class="community_div">
                	
                    <div class="community_right" style=" margin:20px auto; float:none; width:69%;" >
                    	   
                    <div class="pass" style="width:650px; border:#EDEDE7 solid 3px;">
                 	 <div class=" forgot_titles" ><?php if($this->lang->line('user_fgt_pwd') != '') { echo stripslashes($this->lang->line('user_fgt_pwd')); } else echo 'Forgot your password?'; ?></div>
                 	 <p class="forgot_text"><?php if($this->lang->line('user_enter_email_rest') != '') { echo stripslashes($this->lang->line('user_enter_email_rest')); } else echo "Enter your email address and we'll send you a link to reset your password."; ?></p>
                    		<form method="post" action="site/user/forgot_password_user"  name = "target" id = "target"  class="frm clearfix"><input type='hidden' />
                 			 <div class="field_account"><span style="color:#F00; margin: 0 0 0 30px;" class="redFont" id="email_warn"></span>  
        	       			 <input type="text" id= "emailids" name ="emailids" class="input_forgot"/>
                             </div>
                  				 <div class="clear"></div>
          					<input type="submit" class="password_btn" id="forgot_submit" value="<?php if($this->lang->line('forgot_reset_pwd') != '') { echo stripslashes($this->lang->line('forgot_reset_pwd')); } else echo 'Reset Password'; ?>" style=" margin-left:29px; margin-top:1px;" />
                    </form>
                  </div>
                </div>	
               </div>
              </div>
             </div>
        </div>
    </section>
    <script type="text/javascript">
			/*Forgot validation start */
	$("#forgot_submit").click(function()
	{
		if(jQuery.trim($("#emailids").val()) == '')
		{
			$("#email_warn").html('');
			$('#email_warn').html('Please enter valid e-mail addresss');	
			$("#emailids").focus();
			return false;
			
		}
		else
		{	
			$("#target").submit();
		}
	});
	
	/** forgot pwd end **/
		</script>
    
<!--selection-->
<?php $this->load->view('site/templates/footer');?>


