
<div class="row">
	<div class="col-md-offset-4 col-md-4">	
		<div class="box box-solid form-horizontal" id="login_form">
			<div class="box-header">
				<h3 class="box-title text-center" id="login_inst"><?php echo $lines['login_inst']; ?></h3>
			</div>
			
			<div class="box-body p-1-t">
				<div class="row m-1-y">
					<div class="col-xs-12 text-red font-18" id="login_msg">
					</div>
				</div>
				
				<!-- <div class="form-group">
					<label class="col-xs-12 p-0 required" id="line_language"><?php echo $lines['line_language']; ?></label>
					<div class="col-xs-12 p-0">
						<div class="switch toggle">
						<?php
						$langoption = array('EN'=>'English','MS'=>'Bahasa Malaysia');
						$language = ($project && $project['language']) ? explode('|',strtoupper($project['language'])) : array('EN');
						$k = 0;
						foreach($langoption as $key=>$value) {
							?>
								<label>
									<input type="radio" name="language" id="language_<?php echo (strtolower($key)); ?>"
												 onclick="return selectLanguage(this);"
												 value="<?php echo $key; ?>" <?php echo ($k) ? NULL : "checked"; ?> />
									<span>
										<span class="hidden-sm hidden-xs p-0"><?php echo $value; ?></span>
										<span class="hidden-md hidden-lg hidden-xl p-0"><?php echo $key; ?></span>
									</span>
								</label>
							<?php
							$k++;
						}
						?>
						</div>
					</div>
				</div> -->
				
				<div class="form-group">
					<label class="col-xs-12 p-0 required" id="line_voter_id"><?php echo $lines['line_voter_id']; ?></label>
					<div class="col-xs-12 p-0">
						<input type="text" class="form-control" id="voter_id" value="" autocomplete="off"/>
					</div>
				</div>
				
				<div class="form-group">
					<label class="col-xs-12 p-0 required" id="line_voter_key"><?php echo $lines['line_voter_key']; ?></label>
					<div class="col-xs-12 p-0">
						<input type="password" class="form-control" id="voter_key" value="" autocomplete="off"/>
					</div>
				</div>
				
			</div>
			
			<div class="box-footer">
				<div class="flex-btn-group">
					<button type="button" class="btn btn-success" onclick="return submitLogin();">
						<i class="fa fa-check"></i>&nbsp;<span id="line_login"><?php echo $lines['line_login']; ?></span>
					</button>
				</div>
			</div>
		</div>
	</div>
</div>


<script>
$(function() {
	$("#login_form").keypress(function (e) {
		if (e.keyCode == 13) submitLogin();
	});
});
</script>



























