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/iecbm.sbsc.in/students-form.php
<?php 
	require('classes/user_class.php');
	$userObj = new User();
	//error_reporting(0);
	
	$errMsg = "";
	if(isset($_POST['Submit']) and ($_POST['Submit']=='Submit'))
	{
        $resp = $userObj->student();
		if($resp == 5)
		{
			//$errMsg = 'Your Registration Successfully Done, Thank you.';
			echo "<script>window.location.href='thanks.php'</script>";
		}else if($resp == 1)
		{
			//$errMsg='There is some problem in network. Please try again.';
			echo "<script>window.location.href='error.php'</script>";
		}else if($resp == 0)
		{
			//$errMsg='Error occurred while sending information. Please try again later...';
			echo "<script>window.location.href='error.php'</script>";
		}
	}
?>
<!DOCTYPE html>
<html lang="en">
    <?php include('inc/head.php');?>
    <body class="royal_preloader">
        <div id="page" class="site">
            <?php include('inc/header.php');?>
            <div id="content" class="site-content">
                <div class="page-header flex-middle">
                    <div class="container">
                        <div class="inner flex-middle">
                            <h1 class="page-title">ATTENDEES FORM</h1>
                            <ul id="breadcrumbs" class="breadcrumbs none-style">
                                <li><a href="index.php">Home</a></li>
                                <li class="active">ATTENDEES FORM</li>
                            </ul>    
                        </div>
                    </div>
                </div>

                <!-- Section: About -->
                <section class="about-v4">
                    <div class="container pb-80">
                        <div class="row">
                            <div class="col-md-12 mb-sm-30">
                                <p class="mb-20"> </p>
                                <b><span class="msg" style="color:red; display:none;" align="center"></span></b>

                                <form name="student" class="" action="" method="post" autocomplete="off">
                                    <div>
                                        <div class="row">
                                            <div class="col-sm-4">
                                                <label for="form_name">Title <abbr class="required" title="required">*</abbr></label>
                                                <select class="form-control" name="title">
                                                    <option value="">--Select Title--</option>
                                                    <option value="Mr">Mr.</option>
                                                    <option value="Ms">Ms.</option>
                                                    <option value="Dr">Dr.</option>
                                                </select>
                                            </div>
                                            <div class="col-sm-4">
                                                <div class="form-group">
                                                    <label for="form_name">First Name <abbr class="required" title="required">*</abbr></label>
                                                    <input name="fname" class="form-control" type="text" placeholder="First Name" onkeypress="return withoutspecialnumeric(event)" maxlength="15" />
                                                </div>
                                            </div>
                                            <div class="col-sm-4">
                                                <div class="form-group">
                                                    <label for="form_email">Last Name <abbr class="required" title="required">*</abbr></label>
                                                    <input name="lname" class="form-control" type="text" placeholder="Last Name" onkeypress="return withoutspecialnumeric(event)" maxlength="10" />
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-6">
                                                <div class="form-group">
                                                    <label for="form_phone">Institution <abbr class="required" title="required">*</abbr></label>
                                                    <input name="institution" class="form-control" type="text" placeholder="Institution" onkeypress="return withoutspecialnumeric(event)" maxlength="35" />
                                                </div>
                                            </div>
                                            <div class="col-sm-6">
                                                <label for="form_name">Registration Category <abbr class="required" title="required">*</abbr></label>
                                                <select class="form-control" name="category">
                                                    <option value="">--Select Category--</option>
                                                    <option value="Student">Student</option>
                                                    <option value="Researcher/Academician">Researcher/Academician</option>
                                                    <option value="Corporate Delegate">Corporate Delegate</option>
                                                    <option value="Other">Other</option>
                                                </select>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-4">
                                                <label for="form_name">Research Field (Type NA, if not applicable) <abbr class="required" title="required">*</abbr></label>
                                                <input name="field" class="form-control" type="text" placeholder="Research Field" onkeypress="return withoutspecialnumeric(event)" maxlength="50" />
                                            </div>
                                            <div class="col-sm-4">
                                                <div class="form-group">
                                                    <label for="form_email">Email Id<abbr class="required" title="required">*</abbr></label>
                                                    <input name="email" id="email" class="form-control" type="email" placeholder="Enter Email" maxlength="150" />
                                                </div>
                                            </div>
                                            <div class="col-sm-4">
                                                <div class="form-group">
                                                    <label for="form_phone">Contact No. <abbr class="required" title="required">*</abbr></label>
                                                    <input name="phone" class="form-control" type="text" placeholder="Enter Phone" onkeypress="return IsNumeric(event)" maxlength="10" />
                                                </div>
                                            </div>
                                        </div>
                                        <div class="form-group"><br>
                                            <button type="submit" class="octf-btn button alt" name="Submit" value="Submit" onclick="return student_registration();">SUBMIT</button>
                                        </div>
                                    </div>
                                </form> 
                            </div>
                        </div>
                    </div>
                </section>
            </div>
            <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-/bQdsTh/da6pkI1MST/rWKFNjaCP5gBSY4sEBT38Q/9RBh9AH40zEOg7Hlq2THRZ" crossorigin="anonymous"></script>
            <?php include('inc/footer.php');?>
        </div><!-- #page -->
        <?php include('inc/foot.php');?>
        <script src="js/validation.js" type="text/javascript"></script>
    </body>
</html>