<? global $vis_language; ?>
 <section class="container m-t-md">
   <div class="row">
      <div class="col-md-12">
          <section class="panel shadow-none">
		
		<div class="panel-body">
		  <section id="content" class="wrapper-md animated fadeInUp">   
              <header class="vis_login_head container aside-xl">
				<div id="vis_login_msg_div" class="alert text-center" style="display:none;">
                    <? $flag=0;
                        if(isset($operation['message']) && $operation['message']) { ?>
                    <strong><? echo $operation['message']; ?></strong><? $flag=1; } 
                        if($flag==1) echo '<script> $("#vis_login_msg_div strong").parent().addClass("'.(($operation['success']==1)?'alert-success':'alert-danger').'").show().fadeOut(15000);
                        setTimeout( function(){ $("#vis_login_msg_div").removeClass("'.(($operation['success']==1)?'alert-success':'alert-danger').'"); }, 15000);</script>'; ?>
                </div>
			</header>
			<div class="container aside-xl">
			  <section class="m-b-lg">
				<form action="index.php" name="vis_form_password" id="vis_form_password" method="post">
                    <div class="list-group">
                        <div class="login-list-group-item">
                            <input type="text" placeholder="<? echo $vis_language['TXTEMAIL']; ?>" name="vis_username" id="vis_username" data-type="text" class="form-control no-border">
                        </div>
                    </div>
				  <div class="list-group">
					<div>
					  <button type="submit" class="btn btn-lg btn-primary btn-block"><? echo $vis_language['TXTSEND']; ?></button>
					  <input type="hidden" name="vis_operation" value="reset_password" /><input type="hidden" name="vis_module" value="home" />
					</div>
				  </div>
                   <div class="list-group">
                        <div class="text-center">
                            <a href="index.php?/home/login" class="link"><? echo $vis_language['TXTBACKTOLOGIN']; ?></a>
                        </div>
                   </div>
				</form>
			  </section>
			</div>
		  </section>
		</div>
	    </section>
      </div>
   </div>
</section>
<script>
/*  disable scacebar         */
	$(function() {
         var txt = $("input#vis_username");
         var func = function() {
             txt.val(txt.val().replace(/\s/g, ''));
    }
    txt.keyup(func).blur(func);
});
</script>	
