HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.52.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 15 06:39:08 EDT 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/barbeatleanalyti/www/m.beatleanalytics.com/application/views/survey/index.php
<?php 
	include('include/header.php');
?>


<div class="container">
	<div class="row" style="margin-top:30px;">
		<div class="col-sm-12 textcenter">
			 <img src="<?php echo base_url();?>assets/survey/assets/beatle_logo.png" style="width:25%">
		</div>
		<div class="col-sm-12 textcenter">
			<h2 class="headingtext">Welcome To <br>Beatle Analytics</h2>
		</div>
	</div>
</div>
	<div class="col-sm-12 footerback textcenter">
		<form name="departmentLoginForm" id="departmentLoginForm" method="post" action="" class="ng-pristine ng-invalid ng-invalid-required" style="">
				<!--<label class="item item-input input-dept">
					<input placeholder="Enter Department ID" name="departmentId" id="departmentId" class="ng-pristine ng-untouched ng-empty ng-invalid ng-invalid-required textboxlive" style="" type="text">
				</label> -->
                <br><br>
                <div id="mainlogin">
				  <label class="item item-input input-dept">
					<input autocomplete="off" type="text" placeholder="Enter Department ID" name="departmentId" required class="form-control ng-pristine ng-untouched ng-empty ng-invalid ng-invalid-required textboxlive" id="endusername" >
				  </label>
				</div>
				<br><br>
				<button class="button buttom-calm background-beatle beatle-button-1x" type="submit" onClick="javascript: return validateFrom();" name="depSubmit" id="depSubmit" >Continue</button>
		</form>
	</div>
    
<?php 
	include('include/footer.php');
?>

<script>

	function validateFrom(){
		
		var un = document.getElementById('endusername');
		var error = 0;
		if(un.value.trim() == ""){
			
			un.placeholder = 'Enter Department ID (Require..)';
			un.style.border = '2px solid red';
			error = 1;
		}
			
		if(error == 1){
			return false;	
		}
	}
</script>