HEX
Server: Apache
System: Linux sg2plmcpnl492417.prod.sin2.secureserver.net 4.18.0-553.58.1.lve.el8.x86_64 #1 SMP Fri Jul 4 12:07:06 UTC 2025 x86_64
User: nyiet8349bzl (9207396)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/nyiet8349bzl/Backup/sbc_back/homedir/public_html/ncbm/registration.php
<?php
	$page = 'registration';
	include 'inc/inner-header.php';

	require('classes/user_class.php');
	$userObj = new User();
	//error_reporting(0);
	
	if(isset($_POST['Submit']) and ($_POST['Submit']=='Submit'))
	{
		$resp = $userObj->registration();
		if($resp == 5)
		{
			echo "<script>window.location.href='fee-payment.php'</script>";
		}else if($resp == 1)
		{
			echo "<script>window.location.href='404.php'</script>";
		}else if($resp == 0)
		{
			echo "<script>window.location.href='404.php'</script>";
		}
	}
?>
	<div id="page-banner-area" class="page-banner-area" style="background-image:url(images/banner/banner1.jpg)">
		<!-- Subpage title start -->
		<div class="page-banner-title">
			<div class="text-center">
				<h2>REGISTRATION FORM</h2>
				<ul class="breadcrumb">
					<li>Home</li>
					<li><a href="#"> registration</a></li>
				</ul>
			</div>
		</div>
    <!-- Subpage title end -->
	</div>
  <!-- Banner end -->
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<style type="text/css">
    .box{
        display: none;
        display: block;
    }
</style>
<script type="text/javascript">
	$(document).ready(function(){
		$("#delegate").change(function(){
			$(this).find("option:selected").each(function(){
				var optionValue = $(this).attr("id");
				if(optionValue){
					$(".box").not("." + optionValue).hide();
					$("." + optionValue).show();
				} else{
					$(".box").hide();
				}
			});
		}).change();
	});
</script>
	<section id="main-container" class="main-container">
		<div class="container">
			<div class="row">
				<div class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
					<h3 class="title-classic">REGISTRATION FORM</h3>
					<form class="registration_form" action="" method="post" name="registration_form" enctype="multipart/form-data">
						<div class="error-container"></div>
							<div class="row">
								<span class="error" style="color:red; display:none; padding-left:16px; background:#f5aeae;"></span>
								<div class="col-md-4">
									<div class="form-group">
										<label>Name:</label>
										<input class="form-control form-control-name" type="text" placeholder="Enter Your Name Here..." name="name" onkeypress="return withoutspecialnumeric(event)" maxlength="45" />
									</div>
								</div>
								<div class="col-md-4">
									<div class="form-group">
										<label>Designation: </label>
										<input class="form-control form-control-email" type="text" placeholder="Enter Your Designation Here..." name="designation" onkeypress="return withoutspecialnumeric(event)" maxlength="35" />
									</div>
								</div>
								<div class="col-md-4">
									<div class="form-group">
										<label>Institution: </label>
										<input class="form-control form-control-subject" type="text" placeholder="Enter Your Institution Here..." name="institution" onkeypress="return withoutspecialnumeric(event)" maxlength="50" />
									</div>
								</div>
							</div>
							<div class="form-group">
								<label>Address for Correspondence:</label>
								<textarea class="form-control form-control-message" rows="5" placeholder="Enter Your Address for Correspondence Here..." name="address" style="resize: none;"></textarea>
							</div>
							<div class="row">
								<div class="col-md-6">
									<div class="form-group">
										<label>Telephone/ Mobile </label>
										<input class="form-control form-control-subject" type="text" placeholder="Enter Your Telephone / Mobile Number Here..." name="phone" onkeypress="return isNumberKey(event)" maxlength="10" />
									</div>
								</div>
								<div class="col-md-6">
									<div class="form-group">
										<label>E-mail: </label>
										<input class="form-control form-control-subject" type="email" placeholder="Enter Email Address Here..." name="email_id" />
									</div>
								</div>
							</div>
							<div class="row">
								<div class="col-md-12">
									<div class="form-group">
										<label>Delegate Category</label>
										<select id="delegate" class="form-control" name="delegate">
											<option value="">---Please Select Category---</option>
											<option id="SEM1" value="STUDENTS / RESEARCH SCHOLARS / ACADEMICIANS">STUDENTS / RESEARCH SCHOLARS / ACADEMICIANS</option>
											<option id="SEM2" value="CORPORATE DELEGATES">CORPORATE DELEGATES</option>
											<option id="SEM3" value="FOREIGN DELEGATES">FOREIGN DELEGATES</option>
										</select>
									</div>
								</div>
							</div>
							<div class="SEM1 box form-group" style="display: none;">
								<div class="col-md-6">
									<div class="form-group">
										<label>Amount:</label>
										<input class="form-control form-control-subject" type="text" value="INR 500/-" name="amount1" readonly />
									</div>
								</div>
							</div>	
							<div class="SEM2 box form-group" style="display: none;">
								<div class="col-md-6">
									<div class="form-group">
										<label>Amount:</label>
										<input class="form-control form-control-subject" type="text" value="INR 500/-" name="amount1" readonly />
									</div>
								</div>
							</div>
							<div class="SEM3 box form-group" style="display: none;">
								<div class="col-md-6">
									<div class="form-group">
										<label>Amount:</label>
										<input class="form-control form-control-subject" type="text" value="INR 500/-" name="amount1" readonly />
									</div>
								</div>
							</div>
							<!--<div class="row">
								<div class="col-md-12">
									<div class="form-group">
										<label>Registration Type</label>
										<select class="form-control" name="registration">
											<option value="">---Please Select Type---</option>
											<option value="Presenting Paper">Presenting Paper</option>
											<option value="Participation">Participation</option>
										</select>
									</div>
								</div>
							</div>-->
							<div class="text-right"><br>
								<button class="btn btn-primary solid blank" type="submit" name="Submit" value="Submit" onclick="return registration_submission();">Submit</button>
							</div>
					</form>
				</div>
					<!-- Col end -->
				<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
					<div class="gap-20"></div>
						<div class="sidebar sidebar-left">
							<div class="widget contact-info">
								<div class="contact-info-box"> <i class="fa fa-map">&nbsp;</i>
									<div class="contact-info-box-content">
										<h4>Venue</h4>
										<p> Vallabh Bhai Patel Chest Institute,<br/>University of Delhi,Delhi-110007</p>
									</div>
								</div>
								<div class="contact-info-box"> <i class="fa fa-envelope">&nbsp;</i>
									<div class="contact-info-box-content">
										<h4>Email</h4>
										<p>ncbm@sbs.du.ac.in</p>
									</div>
								</div>
								<div class="contact-info-box"> <i class="fa fa-phone-square">&nbsp;</i>
									<div class="contact-info-box-content">
										<h4>Phone</h4>
										<p>+91-9560149789 (Mon to Fri 11:30 a.m. to  5:00 p.m.)</p>
									</div>
                 
								</div>
								<!-- Widget end -->
							</div>
								<!-- Sidebar left end -->
						</div>
							<!-- Sidebar col end -->
				</div>
					<!-- Content row -->
			</div>
			<!-- Conatiner end -->
		</div>	
	</section>
	
		<!-- Main container end -->
		<?php include 'inc/footer.php';?>
		<!-- Footer end -->
	</div>
		<!-- Body inner end -->
	</body>
</html>