<?php 
include "config.php";
$fno=$_GET['fno'];

if($fno==""){

$fno=$_POST['fno'];

}
$btnSave3=$_GET['btnSave3'];

$fno=$_GET['fno'];
					   if($btnSave3!=""){
					   
					   $fno=$_GET['fno'];
					   }

$btnSave2=$_POST['btnSave2'];
$tc=$_POST['tc'];
$notc=$_POST['notc'];
					   if(!empty($_POST)) {
$class_std_ing=$_POST['class_std_ing'];
$class_std_ing_sig=$_POST['class_std_ing_sig'];
$CourseType=$_POST['CourseType'];
$Course=$_POST['Course'];
$Course_Details=$_POST['Course_Details'];
$Student_Type=$_POST['Student_Type'];
$StudentName=$_POST['StudentName'];
$FatherName=$_POST['FatherName'];
$MotherName=$_POST['MotherName'];
$txt_dob=$_POST['txt_dob'];
$Gender=$_POST['Gender'];
$Category=$_POST['Category'];
$SubCategory=$_POST['SubCategory'];
$Religion=$_POST['Religion'];
$MobileNO=$_POST['MobileNO'];
$txtEmailID=$_POST['txtEmailID'];
$college=$_POST['college'];
$class_app=$_POST['class_app'];
$cname=$_POST['cname'];
$cname2=$_POST['cname2'];
$cname3=$_POST['cname3'];
$cname4=$_POST['cname4'];
$cname5=$_POST['cname5'];
$cname6=$_POST['cname6'];
$cname7=$_POST['cname7'];
$cname8=$_POST['cname8'];
$b=$_POST['b'];
$b2=$_POST['b2'];
$b3=$_POST['b3'];
$b4=$_POST['b4'];
$b5=$_POST['b5'];
$b6=$_POST['b6'];
$b7=$_POST['b7'];
$b8=$_POST['b8'];
$y=$_POST['y'];
$y2=$_POST['y2'];
$y3=$_POST['y3'];
$y4=$_POST['y4'];
$y5=$_POST['y5'];
$y6=$_POST['y6'];
$y7=$_POST['y7'];
$y8=$_POST['y8'];
$y9=$_POST['y9'];
$r=$_POST['r'];
$r2=$_POST['r2'];
$r3=$_POST['r3'];
$r4=$_POST['r4'];
$r5=$_POST['r5'];
$r6=$_POST['r6'];
$r7=$_POST['r7'];
$r8=$_POST['r8'];
$r9=$_POST['r9'];
$tm=$_POST['tm'];
$tm2=$_POST['tm2'];
$tm3=$_POST['tm3'];
$tm4=$_POST['tm4'];
$tm5=$_POST['tm5'];
$tm6=$_POST['tm6'];
$tm7=$_POST['tm7'];
$tm8=$_POST['tm8'];
$tm9=$_POST['tm9'];
$mo=$_POST['mo'];
$mo2=$_POST['mo2'];
$mo3=$_POST['mo3'];
$mo4=$_POST['mo4'];
$mo5=$_POST['mo5'];
$mo6=$_POST['mo6'];
$mo7=$_POST['mo7'];
$mo8=$_POST['mo8'];
$mo9=$_POST['mo9'];
$g=$_POST['g'];
$g2=$_POST['g2'];
$g3=$_POST['g3'];
$g4=$_POST['g4'];
$g5=$_POST['g5'];
$g6=$_POST['g6'];
$g7=$_POST['g7'];
$g8=$_POST['g8'];
$g9=$_POST['g9'];
$s=$_POST['s'];
$s2=$_POST['s2'];
$s3=$_POST['s3'];
$s4=$_POST['s4'];
$s5=$_POST['s5'];
$s6=$_POST['s6'];
$s7=$_POST['s7'];
$s8=$_POST['s8'];
$s9=$_POST['s9'];
$txtHouseNo=$_POST['txtHouseNo'];
$txtStreet=$_POST['txtStreet'];
$txtPostOffice=$_POST['txtPostOffice'];
$txtState=$_POST['txtState'];
$txtDistrict0=$_POST['txtDistrict0'];
$txtPinCode=$_POST['txtPinCode'];
$datee=$_POST['datee'];
$time=$_POST['time'];
$status=$_POST['status'];
$college_roll=$_POST['college_roll'];
$total_fees=$_POST['total_fees'];
$pay_fee=$_POST['pay_fee'];
$pay_date=$_POST['pay_date'];
$checked_by=$_POST['checked_by'];
$fno=$_POST['fno']; //echo $fno.'***';
$session=$_POST['session'];
$acard=$_POST['acard'];
$tc=$_POST['tc'];
$notc=$_POST['notc'];
$mno2=$_POST['mno2'];
$ref_no=$_POST['ref_no'];
$enroll_no=$_POST['enroll_no'];
$last_coll=$_POST['last_coll'];
$uid=$_POST['uid'];

$tid=$_POST['tid'];

$pra_att=$_POST['pra_att'];
$major_subject2=$_POST['major_subject2'];

$minorsubject=$_POST['minorsubject'];

$vcourse=$_POST['vcourse'];

$cccourse=$_POST['cccourse'];

} 
if($btnSave2!=""){
$class_std_ing=$_POST['class_std_ing'];

$class_std_ing_sig=$_POST['class_std_ing_sig'];

$CourseType=$_POST['CourseType'];

$Course=$_POST['Course'];

$Course_Details=$_POST['Course_Details'];

$Student_Type=$_POST['Student_Type'];

$StudentName=$_POST['StudentName'];

$FatherName=$_POST['FatherName'];

$MotherName=$_POST['MotherName'];

$txt_dob=$_POST['txt_dob'];

$Gender=$_POST['Gender'];

$Category=$_POST['Category'];

$SubCategory=$_POST['SubCategory'];

$Religion=$_POST['Religion'];

$MobileNO=$_POST['MobileNO'];

$txtEmailID=$_POST['txtEmailID'];

$college=$_POST['college'];

$class_app=$_POST['class_app'];

$cname=$_POST['cname'];

$cname2=$_POST['cname2'];

$cname3=$_POST['cname3'];

$cname4=$_POST['cname4'];

$cname5=$_POST['cname5'];

$cname6=$_POST['cname6'];

$cname7=$_POST['cname7'];

$cname8=$_POST['cname8'];

$b=$_POST['b'];

$b2=$_POST['b2'];

$b3=$_POST['b3'];

$b4=$_POST['b4'];

$b5=$_POST['b5'];

$b6=$_POST['b6'];

$b7=$_POST['b7'];

$b8=$_POST['b8'];

$y=$_POST['y'];

$y2=$_POST['y2'];

$y3=$_POST['y3'];

$y4=$_POST['y4'];

$y5=$_POST['y5'];

$y6=$_POST['y6'];

$y7=$_POST['y7'];

$y8=$_POST['y8'];

$y9=$_POST['y9'];

$r=$_POST['r'];

$r2=$_POST['r2'];

$r3=$_POST['r3'];

$r4=$_POST['r4'];

$r5=$_POST['r5'];

$r6=$_POST['r6'];

$r7=$_POST['r7'];

$r8=$_POST['r8'];

$r9=$_POST['r9'];

$tm=$_POST['tm'];

$tm2=$_POST['tm2'];

$tm3=$_POST['tm3'];

$tm4=$_POST['tm4'];

$tm5=$_POST['tm5'];

$tm6=$_POST['tm6'];

$tm7=$_POST['tm7'];

$tm8=$_POST['tm8'];

$tm9=$_POST['tm9'];

$mo=$_POST['mo'];

$mo2=$_POST['mo2'];

$mo3=$_POST['mo3'];

$mo4=$_POST['mo4'];

$mo5=$_POST['mo5'];

$mo6=$_POST['mo6'];

$mo7=$_POST['mo7'];

$mo8=$_POST['mo8'];

$mo9=$_POST['mo9'];

$g=$_POST['g'];

$g2=$_POST['g2'];

$g3=$_POST['g3'];

$g4=$_POST['g4'];

$g5=$_POST['g5'];

$g6=$_POST['g6'];

$g7=$_POST['g7'];

$g8=$_POST['g8'];

$g9=$_POST['g9'];

$s=$_POST['s'];

$s2=$_POST['s2'];

$s3=$_POST['s3'];

$s4=$_POST['s4'];

$s5=$_POST['s5'];

$s6=$_POST['s6'];

$s7=$_POST['s7'];

$s8=$_POST['s8'];

$s9=$_POST['s9'];

$txtHouseNo=$_POST['txtHouseNo'];

$txtStreet=$_POST['txtStreet'];

$txtPostOffice=$_POST['txtPostOffice'];

$txtState=$_POST['txtState'];

$txtDistrict0=$_POST['txtDistrict0'];

$txtPinCode=$_POST['txtPinCode'];

$datee=$_POST['datee'];

$time=$_POST['time'];

$status=$_POST['status'];

$college_roll=$_POST['college_roll'];

$total_fees=$_POST['total_fees'];

$pay_fee=$_POST['pay_fee'];

$pay_date=$_POST['pay_date'];

$checked_by=$_POST['checked_by'];

$fno=$_POST['fno']; //echo $fno.'***';

$session=$_POST['session'];

$acard=$_POST['acard'];

$tc=$_POST['tc'];

$notc=$_POST['notc'];

$mno2=$_POST['mno2'];

$ref_no=$_POST['ref_no'];

$enroll_no=$_POST['enroll_no'];

$last_coll=$_POST['last_coll'];

$uid=$_POST['uid'];

$tid=$_POST['tid'];

$pra_att=$_POST['pra_att'];

$major_subject2=$_POST['major_subject2'];

$minorsubject=$_POST['minorsubject'];

$vcourse=$_POST['vcourse'];

$cccourse=$_POST['cccourse'];
}else{

$college=$_GET['college'];

							$CourseType=$_GET['CourseType'];

							$Course=$_GET['Course'];

							$Course_Details=$_GET['Course_Details'];

							$session=$_GET['session'];

							$Student_Type=$_GET['Student_Type'];

							$btnSave=$_GET['btnSave'];

							$uid=$_POST['uid'];

							$major_subject2=$_GET['major_subject2'];

$minorsubject=$_GET['minorsubject'];

$vcourse=$_GET['vcourse'];

$cccourse=$_GET['cccourse'];

}
?>
                   
                     <?php
					 $check_exist_qry2="select * from class2 where fno='$fno' and session='$session' and code='$college'";
$run_qry2=mysql_query($check_exist_qry2);
$total_found2=mysql_num_rows($run_qry2);
$row = mysql_fetch_array($run_qry2, MYSQL_BOTH);
$high_file=$row['high_file'];

$inter_file=$row['inter_file'];

$tc_file=$row['tc_file'];

$cc_file=$row['cc_file'];

$caste_file=$row['caste_file'];

$ugiii_file=$row['ugiii_file'];

$pgii_file=$row['pgii_file'];
$check_exist_qryb="select * from class2 where fno='$fno'";
$run_qryb=mysql_query($check_exist_qryb);
$total_foundb=mysql_num_rows($run_qryb);
$my_value=mysql_fetch_assoc($run_qryb);
	$my_stored_game=explode(",",$my_value['class_app']);
				//echo $row['id'].'*******************';	 
					 $btnSave2=$_POST['btnSave2'];
					   if($btnSave2=="Save"){

$checkedCandidates=0;

$values=$_POST['ckb'];

$cv=$_POST['cv'];

$checkedCandidates=count($values); 

echo $checkedCandidates."********************";

$class2=$Course;

if(($checkedCandidates!=$cv)&&($rr=="")) {
        echo '<script type="text/javascript">alert("You need to check at least $cv Subject for the Applied Class!");</script>';
		$rr=1;
}elseif(($total_foundb>0)&&($rr==""))
{
$major_subject2=$_POST['major_subject2'];
$minorsubject=$_POST['minorsubject'];
$vcourse=$_POST['vcourse'];
$cccourse=$_POST['cccourse'];
$upd_qry="UPDATE `class2` SET CourseType='$CourseType',Course='$Course',Course_Details='$Course_Details',Student_Type='$Student_Type',StudentName='$StudentName',FatherName='$FatherName',MotherName='$MotherName',txt_dob='$txt_dob',Gender='$Gender',Category='$Category',SubCategory='$SubCategory',Religion='$Religion',MobileNO='$MobileNO',txtEmailID='$txtEmailID',college='$college',class_app='$class_app',cname='$cname',cname2='$cname2',cname3='$cname3',cname4='$cname4',cname5='$cname5',cname6='$cname6',cname7='$cname7',cname8='$cname8',b='$b',b2='$b2',b3='$b3',b4='$b4',b5='$b5',b6='$b6',b7='$b7',b8='$b8',y='$y',y2='$y2',y3='$y3',y4='$y4',y5='$y5',y6='$y6',y7='$y7',y8='$y8',y9='$y9',r='$r',r2='$r2',r3='$r3',r4='$r4',r5='$r5',r6='$r6',r7='$r7',r8='$r8',r9='$r9',tm='$tm',tm2='$tm2',tm3='$tm3',tm4='$tm4',tm5='$tm5',tm6='$tm6',tm7='$tm7',tm8='$tm8',tm9='$tm9',mo='$mo',mo2='$mo2',mo3='$mo3',mo4='$mo4',mo5='$mo5',mo6='$mo6',mo7='$mo7',mo8='$mo8',mo9='$mo9',g='$g',g2='$g2',g3='$g3',g4='$g4',g5='$g5',g6='$g6',g7='$g7',g8='$g8',g9='$g9',s='$s',s2='$s2',s3='$s3',s4='$s4',s5='$s5',s6='$s6',s7='$s7',s8='$s8',s9='$s9',txtHouseNo='$txtHouseNo',txtStreet='$txtStreet',txtPostOffice='$txtPostOffice',txtState='$txtState',txtDistrict0='$txtDistrict0',txtPinCode='$txtPinCode',datee='$datee',time='$time',acard='$acard',tc='$tc',notc='$notc',mno2='$mno2',ref_no='$ref_no',enroll_no='$enroll_no',last_coll='$last_coll',uid='$uid',tid='$tid',pra_att='$pra_att',code='$college',session='$session',major_subject2='$major_subject2',minorsubject='$minorsubject',vcourse='$vcourse',cccourse='$cccourse' where fno='$fno'";mysql_query($upd_qry,$link);
}
$c=$_POST['c'];

if($c!=''){

define ("FILEREPOSITORY","inter_file/");

 

$name = $_POST['name'];

$result = move_uploaded_file($_FILES['classnotes']['tmp_name'], FILEREPOSITORY."/$name.pdf");

if($result == 1){

$namepdf=$name.'.pdf';

 $upd_qryrbinter="UPDATE class2 SET high_file='$namepdf' where fno='$fno' and college='$college'";

		 mysql_query($upd_qryrbinter); 

}

         $inter = $_POST['inter'];

		 

		 $resultinter = move_uploaded_file($_FILES['interf']['tmp_name'], FILEREPOSITORY."/$inter.pdf");

		 if($resultinter==1){

		 $interpdf=$inter.'.pdf';

		  $upd_qryrbinter="UPDATE class2 SET inter_file='$interpdf' where fno='$fno' and college='$college'";

		 mysql_query($upd_qryrbinter); 

		 }

		 $tc = $_POST['tc'];

		

		 $result2 = move_uploaded_file($_FILES['tcf']['tmp_name'], FILEREPOSITORY."/$tc.pdf");

		  if($result2==1){

		 $tcpdf=$tc.'.pdf';

		  $upd_qryrbinter="UPDATE class2 SET tc_file='$tcpdf' where fno='$fno' and college='$college'";

		 mysql_query($upd_qryrbinter); 

		 }

		 $cc = $_POST['cc'];

		 

		 $resultcc = move_uploaded_file($_FILES['ccf']['tmp_name'], FILEREPOSITORY."/$cc.pdf");

		  if($resultcc!=""){

		 $ccpdf=$cc.'.pdf';

		  $upd_qryrbinter="UPDATE class2 SET cc_file='$ccpdf' where fno='$fno' and college='$college'";

		 mysql_query($upd_qryrbinter); 

		 }

		 $caste = $_POST['caste'];

		 

		 $resultcaste = move_uploaded_file($_FILES['castef']['tmp_name'], FILEREPOSITORY."/$caste.pdf");

		  if($resultcaste==1){

		 $castepdf=$caste.'.pdf';

		  $upd_qryrbinter="UPDATE class2 SET caste_file='$castepdf' where fno='$fno' and college='$college'";

		 mysql_query($upd_qryrbinter); 

		 }

		 $ugiii = $_POST['ugiii'];

		  

		  $resultuggi = move_uploaded_file($_FILES['ugiiif']['tmp_name'], FILEREPOSITORY."/$ugiii.pdf");

		  if($resultuggi==1){

		 $ugiiipdf=$ugiii.'.pdf';

		  $upd_qryrbinter="UPDATE class2 SET ugiii_file='$ugiiipdf' where fno='$fno' and college='$college'";

		 mysql_query($upd_qryrbinter); 

		 }

		 $pgii = $_POST['pgii'];

		 

	    $resultpgii = move_uploaded_file($_FILES['pgiif']['tmp_name'], FILEREPOSITORY."/$pgii.pdf");

		 if($resultpgii==1){

		$pgiipdf=$pgii.'.pdf';

		 $upd_qryrbinter="UPDATE class2 SET pgii_file='$pgiipdf' where fno='$fno' and college='$college'";

		 mysql_query($upd_qryrbinter); 

		 }

		 
      } #endIF	

//$c=$_POST['c'];

//if($c!=''){

//define ("FILEREPOSITORY","inter_file/");

//

//$name = $_POST['name'];

//$result = move_uploaded_file($_FILES['classnotes']['tmp_name'], FILEREPOSITORY."/$name.pdf");

//         $inter = $_POST['inter'];

//		 $resultinter = move_uploaded_file($_FILES['interf']['tmp_name'], FILEREPOSITORY."/$inter.pdf");

//		 $tc = $_POST['tc'];

//		 $result = move_uploaded_file($_FILES['tcf']['tmp_name'], FILEREPOSITORY."/$tc.pdf");

//		 $cc = $_POST['cc'];

//		 $resultcc = move_uploaded_file($_FILES['ccf']['tmp_name'], FILEREPOSITORY."/$cc.pdf");

//		 $caste = $_POST['caste'];

//		 $resultcaste = move_uploaded_file($_FILES['castef']['tmp_name'], FILEREPOSITORY."/$caste.pdf");

//		  $ugiii = $_POST['ugiii'];

//		  $resultuggi = move_uploaded_file($_FILES['ugiiif']['tmp_name'], FILEREPOSITORY."/$ugiii.pdf");

//		  $pgii = $_POST['pgii'];

//		    $resultpgii = move_uploaded_file($_FILES['pgiif']['tmp_name'], FILEREPOSITORY."/$pgii.pdf");

//		

//		if(($resultuggi == 1)||($resultinter == 1)||($result == 1)||($resultcc == 1)||($resultcaste == 1)||($resultpgii == 1)) {echo "<p>File successfully uploaded.</p>";

//		 $upd_qryrbinter="UPDATE class2 SET inter_file='$inter.pdf',tc_file='$tc.pdf',cc_file='$cc.pdf',caste_file='$caste.pdf',ugiii_file='$ugiii.pdf',pgii_file='$pgii.pdf',high_file='$name.pdf' where fno='$fno' and session='$session' and code='$college'";

//		 mysql_query($upd_qryrbinter); 

//		 

//		

//         

//       

//		 

//		

//		 

//		 }else{echo "<p>There was a problem uploading the file.1</p>";}

//      } #endIF

  	

/////////////////////////////////////////////////

 if($btnSave2=="Save"){
{
	$all_game_valueb = implode(",",$_POST['ckb']);
	
		//update
		$upd_qryb="UPDATE class2 SET class_app='".$all_game_valueb."' where fno='$fno' and session='$session' and code='$college'";
		mysql_query($upd_qryb,$link);
		}
		 
		}}
		?>
       <?php
if((isset($btnSave2))&&($rr=="")){
		//$c=$_POST['c'];

//if($c!=''){

//define ("FILEREPOSITORY","inter_file/");

// 

//$name = $_POST['name'];

//$result = move_uploaded_file($_FILES['classnotes']['tmp_name'], FILEREPOSITORY."/$name.pdf");

//if($result == 1){

//$namepdf=$name.'.pdf';

// $upd_qryrbinter="UPDATE class2 SET high_file='$namepdf' where fno='$fno' and college='$college'";

//		 mysql_query($upd_qryrbinter); 

//}

//         $inter = $_POST['inter'];

//		 

//		 $resultinter = move_uploaded_file($_FILES['interf']['tmp_name'], FILEREPOSITORY."/$inter.pdf");

//		 if($resultinter==1){

//		 $interpdf=$inter.'.pdf';

//		  $upd_qryrbinter="UPDATE class2 SET inter_file='$interpdf' where fno='$fno' and college='$college'";

//		 mysql_query($upd_qryrbinter); 

//		 }

//		 $tc = $_POST['tc'];

//		

//		 $result2 = move_uploaded_file($_FILES['tcf']['tmp_name'], FILEREPOSITORY."/$tc.pdf");

//		  if($result2==1){

//		 $tcpdf=$tc.'.pdf';

//		  $upd_qryrbinter="UPDATE class2 SET tc_file='$tcpdf' where fno='$fno' and college='$college'";

//		 mysql_query($upd_qryrbinter); 

//		 }

//		 $cc = $_POST['cc'];

//		 

//		 $resultcc = move_uploaded_file($_FILES['ccf']['tmp_name'], FILEREPOSITORY."/$cc.pdf");

//		  if($resultcc!=""){

//		 $ccpdf=$cc.'.pdf';

//		  $upd_qryrbinter="UPDATE class2 SET cc_file='$ccpdf' where fno='$fno' and college='$college'";

//		 mysql_query($upd_qryrbinter); 

//		 }

//		 $caste = $_POST['caste'];

//		 

//		 $resultcaste = move_uploaded_file($_FILES['castef']['tmp_name'], FILEREPOSITORY."/$caste.pdf");

//		  if($resultcaste==1){

//		 $castepdf=$caste.'.pdf';

//		  $upd_qryrbinter="UPDATE class2 SET caste_file='$castepdf' where fno='$fno' and college='$college'";

//		 mysql_query($upd_qryrbinter); 

//		 }//		 $ugiii = $_POST['ugiii'];

//		  

//		  $resultuggi = move_uploaded_file($_FILES['ugiiif']['tmp_name'], FILEREPOSITORY."/$ugiii.pdf");

//		  if($resultuggi==1){

//		 $ugiiipdf=$ugiii.'.pdf';

//		  $upd_qryrbinter="UPDATE class2 SET ugiii_file='$ugiiipdf' where fno='$fno' and college='$college'";

//		 mysql_query($upd_qryrbinter); 

//		 }

//		 $pgii = $_POST['pgii'];

//		 

//	    $resultpgii = move_uploaded_file($_FILES['pgiif']['tmp_name'], FILEREPOSITORY."/$pgii.pdf");

//		 if($resultpgii==1){

//		$pgiipdf=$pgii.'pdf';

//		 $upd_qryrbinter="UPDATE class2 SET pgii_file='$pgiipdf' where fno='$fno' and college='$college'";

//		 mysql_query($upd_qryrbinter); 

//		 }

//		 

//

//      } #endIF

//  						
?>
    
  
	
    <script type="text/javascript">
   	// Javascript URL redirection
    window.location.replace("print_form.php?fno=<?php echo $fno; ?>&&btnSave2=<?php echo $btnSave2; ?>&&all_game_valueb=<?php echo $all_game_valueb; ?>&&CourseType=<?php echo $CourseType; ?>&&Course=<?php echo $Course; ?>&&Course_Details=<?php echo $Course_Details; ?>&&session=<?php echo $session; ?>&&Student_Type=<?php echo $Student_Type; ?>&&college=<?php echo $college; ?>");
</script>
<?php	}
?>

<!DOCTYPE html>
<!-- saved from url=(0051)http://registration.rmlauexams.in/Registration.aspx -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		
		<title>Advance College Management System - Developed By MD SOFTWARE - Faizabad</title>				<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">

		<!-- bootstrap & fontawesome -->
		<link rel="stylesheet" href="./reg_1_files/bootstrap.min.css">
		<link rel="stylesheet" href="./reg_1_files/font-awesome.min.css">

		<!-- page specific plugin styles -->
		<link rel="stylesheet" href="./reg_1_files/jquery-ui.custom.min.css">
		<link rel="stylesheet" href="./reg_1_files/chosen.min.css">
		<link rel="stylesheet" href="./reg_1_files/datepicker.min.css">
		<link rel="stylesheet" href="./reg_1_files/bootstrap-timepicker.min.css">
		<link rel="stylesheet" href="./reg_1_files/daterangepicker.min.css">
		<link rel="stylesheet" href="./reg_1_files/bootstrap-datetimepicker.min.css">
		<link rel="stylesheet" href="./reg_1_files/colorpicker.min.css">

		<!-- text fonts -->
		<link rel="stylesheet" href="./reg_1_files/fonts.googleapis.com.css">

		<!-- ace styles -->
		<link rel="stylesheet" href="./reg_1_files/ace.min.css" class="ace-main-stylesheet" id="main-ace-style">

</head>

	<body class="no-skin" style="text-transform: uppercase;">
    
  <?php
		 if($college!=""){
							
$queryyo = "SELECT * FROM college_info where code='$college' ";
$numresultsyo=mysql_query($queryyo);
$resultyo= mysql_query($queryyo) or die("Couldn't execute query");
$a_rowwo = mysql_fetch_row( $resultyo );

?><table width="800" border="0" cellspacing="2" cellpadding="2" align="center">
  <tr>
    
    <td align="center"> <div align="left" style="float:left; width:90px;"><img src="<?php echo $a_rowwo['4']; ?>" height="113" width="126" align="right"></div><div align="center" style="font-family:'Times New Roman', Times, serif; font-size:36px; font-weight:bold; margin:0px; padding:0px; width:860px;"><?php echo $a_rowwo['2']; ?> ( <?php echo $a_rowwo['1']; ?>)<br><p align="center" style="font:'Times New Roman', Times, serif; font-size:16px;"><?php echo $a_rowwo['3']; ?></p></div>
       </td>
  </tr>
</table><?php } ?>

         
                            
        	<form name="form1" method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>" id="form1" class="form-horizontal" role="form" enctype="multipart/form-data">
            
            <input name="session" type="hidden" value="<?php echo $session; ?>">

<input name="datee" type="hidden" value="<?php 
	if (function_exists('date_default_timezone_set'))
{
  date_default_timezone_set('Asia/Kolkata');
}

echo date('Y-m-d');
	?>"   style="width:80px;"  />

<input name="time" type="hidden" value="<?php $t=$row["time_c"];

if (function_exists('date_default_timezone_set'))

{

date_default_timezone_set('Asia/Kolkata');

} echo date('h-i-s A');?>"  style="width:80px;"  />

<input name="fno" type="text" value="<?php echo $row["fno"];?>"   style="width:80px;" readonly  />

<div id="navbar" class="navbar navbar-default">

<div class="navbar-container" id="navbar-container">

<div class="navbar-buttons navbar-header pull-right" role="navigation">

</div>

</div><!-- /.navbar-container -->

</div>

<div class="main-container" id="main-container">

<div class="main-content">

<div class="main-content-inner">

<div class="breadcrumbs" id="breadcrumbs">

<ul class="breadcrumb">

<li>
								

							</li>
							<li class="active">
                             <?php 

$queryy = "SELECT * FROM course_name where id='$Course' and session='$session' and code='$college'";

$numresultsy=mysql_query($queryy);

$resulty= mysql_query($queryy) or die("Couldn't execute query");

$a_roww = mysql_fetch_row( $resulty ) ;

$cnamee=$a_roww[1]; echo $cnamee;

 ?>
	      
               
                            
                            
                           Admission Form – <?php echo $session; ?> </li>
						</ul><!-- /.breadcrumb -->

						 <!-- /.nav-search -->
					</div>

					<div class="page-content">

                     
                        
						<div class="page-header">
							<h1>
								Registration form
								<small>
									<i class="ace-icon fa fa-angle-double-right"></i>
									Course Details
								</small>
							</h1>
						</div><!-- /.page-header -->

						<div class="row">
							<div class="col-xs-12">
								<!-- PAGE CONTENT BEGINS -->
									<div class="form-group">
										<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> Course Type</label>

										<div class="col-sm-4">
											 <label class="col-xs-12 col-sm-4 control-label no-padding-left" for="form-field-1">
                                             
                                              <select name="CourseType" title="Select Course Name/ Class" required  >
	<?php if($CourseType=='UG'){
				  ?>
	<option value="UG">UNDER GRADUATE</option><?php } ?>
    <?php if($CourseType=='PG'){
				  ?>
	<option value="PG">POST GRADUATE</option><?php } ?>

</select>
                                             
                                             </label>

                                            
										</div>
                                        <label class="col-sm-2 control-label no-padding-right" for="form-field-1"> Course Name/ Class </label>

										<div class="col-sm-4">
											<select name="Course" title="Select Course Name/ Class"   class="form-control" required>
                                            
                                            <?php $queryy = "SELECT * FROM course_name where id='$Course' and session='$session' and code='$college'";
$numresultsy=mysql_query($queryy);
$resulty= mysql_query($queryy) or die("Couldn't execute query");
 ?>
	 <?php
while ( $a_roww = mysql_fetch_row( $resulty ) )
 {?>
                  <option
                 <?php 
				 $Course_id=$a_roww[0];
				 if($Course_id==$Course){
				  ?>selected<?php } ?>
                  
                   value="<?php echo $a_roww[0];?>" ><?php echo $a_roww[1];?></option>
                  <?php } ?>

</select>
										</div>
									</div>
                                    <div class="form-group">
										<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> Year/Semester</label>

										<div class="col-sm-4">
											<select name="Course_Details" title="Select  Year/Semester" class="form-control" required>
	
     
	<option value="<?php echo $Course_Details; ?>"><?php echo $Course_Details; ?></option>
	  
    
    
</select>
                                           
										</div>
                                        <label class="col-sm-2 control-label no-padding-right" for="form-field-1"> Student Type</label>

										<div class="col-sm-4">
											<select name="Student_Type"  class="form-control" data-placeholder="Choose a State..." required>
	<option selected="selected" value<?php echo $Student_Type; ?>="1"><?php echo $Student_Type; ?></option>

</select>  
										</div>
									</div>
                                    
                                    <div class="page-header">
							<h1>
								Fill Student Information 
								<small>
									<i class="ace-icon fa fa-angle-double-right"></i>
									(Please, Do not write Shri / Smt./ Km/Ms)
								</small>
							</h1>
						</div>
                                    <div class="form-group">
										<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> Student Name</label>

										<div class="col-sm-4">
											    <input name="StudentName" type="text" value="<?php if($_POST['StudentName']!=""){ echo $StudentName;}else{ echo $row['StudentName'];} ?>" id="txt_StudentName" class="form-control" placeholder="Student Name" title="Tooltip for Student Name"  required>
 
										</div>
                                        <label class="col-sm-2 control-label no-padding-right" for="form-field-1"> Father Name </label>

										<div class="col-sm-4">
											     <input name="FatherName" type="text" value="<?php if($_POST['FatherName']!=""){ echo $FatherName;}else{echo $row['FatherName'];} ?>" id="txtFatherName" class="form-control" placeholder="Father Name" title="Tooltip for Father Name" required>
 
										</div>
									</div>
                                    <div class="form-group">
										<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> Mother Name</label>										<div class="col-sm-4">
											   <input name="MotherName" type="text" value="<?php if($_POST['MotherName']!=""){ echo $MotherName;}else{echo $row['MotherName'];} ?>" id="txtMotherName" class="form-control" placeholder="Mother Name" title="Tooltip for Mother Name" required>
 
										</div>
                                        
                                        
                                        <label class="col-sm-2 control-label no-padding-right" for="form-field-1"> Aadhar Card No</label>

										<div class="col-sm-4">
											   <input name="acard" type="text" value="<?php if($_POST['acard']!=""){ echo $acard;}else{echo $row['acard'];} ?>" id="acard" class="form-control" placeholder="Aadhar Card" title="Aadhar Card" required>
 
										</div>
                                      
									</div>
                                    
                                    <div class="form-group">
										  <label class="col-sm-2 control-label no-padding-right" for="form-field-1"> Date of Birth </label>

										<div class="col-sm-1">
											    <input name="txt_dob" type="text" value="<?php if($_POST['txt_dob']!=""){ echo $txt_dob;}else{echo $row['txt_dob'];} ?>" id="txt_dob" placeholder="DD/MM/YYYY" data-toggle="tooltip" class="form-control date-picker" data-date-format="dd/mm/yyyy" data-placement="bottom" required>
 
										</div><label class="col-sm-1 control-label no-padding-right" for="form-field-1"> Gender</label>

										<div class="col-sm-1">
											  <select name="Gender" id="Gender" title="Select Student Gender" class="form-control" required>
                                              <?php if($row['Gender']!=""){$Gender=$row['Gender'];} ?>
	<option value="">Select</option>
	<option <?php if($Gender=='Male'){ ?> selected <?php } ?> value="Male">Male</option>
	<option <?php if($Gender=='Female'){ ?> selected <?php } ?>value="Female">Female</option>

</select>
										</div>
                                        <label class="col-sm-1 control-label no-padding-right" for="form-field-1"> Category  </label>

										<div class="col-sm-2">
											 <select name="Category" id="Category" title="Select Student Category" class="form-control" required>
                                              <?php if($row['Category']!=""){$Category=$row['Category'];} ?>
	<option value="">Select</option>
	<option  <?php if($Category=='Gen'){ ?> selected <?php } ?>  value="Gen">Gen</option>
	<option <?php if($Category=='OBC'){ ?> selected <?php } ?>value="OBC">OBC</option>
	<option <?php if($Category=='SC'){ ?> selected <?php } ?>value="SC">SC</option>
	<option <?php if($Category=='ST'){ ?> selected <?php } ?>value="ST">ST</option>
			<option <?php if($Category=='Minority'){ ?> selected <?php } ?>value="Minority">Minority</option>
	</select>
										</div>

                                        <label class="col-sm-2 control-label no-padding-right" for="form-field-1"> Sub Category </label>

										<div class="col-sm-2">
											 <select name="SubCategory" id="SubCategory" title="Select  Student Subcategory" class="form-control" required>
                                              <?php if($row['SubCategory']!=""){ $SubCategory=$row['SubCategory'];} ?>
	<option value="">Select</option>
	<option <?php if($SubCategory=='Freedom Fighters'){ ?> selected <?php } ?> value="Freedom Fighters">Freedom Fighters</option>
	<option <?php if($SubCategory=='Ex. Service Man'){ ?> selected <?php } ?>value="Ex. Service Man">Ex. Service Man</option>
	<option <?php if($SubCategory=='Kashmiri Migrane'){ ?> selected <?php } ?>value="Kashmiri Migrane">Kashmiri Migrane</option>
	<option <?php if($SubCategory=='Military Personel'){ ?> selected <?php } ?>value="Military Personel">Military Personel</option>
	<option <?php if($SubCategory=='Physically handicaped'){ ?> selected <?php } ?>value="Physically handicaped">Physically handicaped</option>
	<option  <?php if($SubCategory=='Not Applicable'){ ?> selected <?php } ?>value="Not Applicable">Not Applicable</option>

</select>
										</div>
                                        
									</div>
                                    <div class="form-group">
										
                                        <label class="col-sm-2 control-label no-padding-right" for="form-field-1"> Religion  </label>

										<div class="col-sm-2">
											<select name="Religion" id="Religion" title="Select  Student Religion" class="form-control" required>
                                            <?php if($row['Religion']!=""){ $Religion=$row['Religion'];} ?>
	<option value="">Select</option>
	<option <?php if($Religion=='Hinduism'){ ?> selected <?php } ?>value="Hinduism">Hinduism</option>
	<option <?php if($Religion=='Islam'){ ?> selected <?php } ?>value="Islam">Islam</option>
	<option <?php if($Religion=='Christianity'){ ?> selected <?php } ?>value="Christianity">Christianity</option>
	<option <?php if($Religion=='Sikhism'){ ?> selected <?php } ?>value="Sikhism">Sikhism</option>
	<option <?php if($Religion=='Buddhism'){ ?> selected <?php } ?>value="Buddhism">Buddhism</option>
	<option <?php if($Religion=='Jainism'){ ?> selected <?php } ?>value="Jainism">Jainism</option>
	<option <?php if($Religion=='Zoroastrianism'){ ?> selected <?php } ?>value="Zoroastrianism">Zoroastrianism</option>

</select>
										</div>

                                        <label class="col-sm-1 control-label no-padding-right" for="form-field-1"> Mobile No </label>

										<div class="col-sm-2">
											  <input name="MobileNO" type="text" value="<?php if($_POST['MobileNO']!=""){ echo $MobileNO;}else{ echo $row['MobileNO'];} ?>" maxlength="10" id="txtMobileNO" class="col-xs-12 col-sm-12" placeholder="Student Mobile Number" onChange="return aaa(this.value)" onKeyPress="return onlyNos(event,this);" title="Enter Student Mobile Number" Required>
                                              
                                             
 
                                         
										</div>
                                         <label class="col-sm-1 control-label no-padding-right" for="form-field-1"> Mobile No - 2  </label>
                                        <div class="col-sm-2">
											                                               
                                              <input name="mno2" type="text" value="<?php if($_POST['mno2']!=""){ echo $mno2;}else{ echo $row['mno2'];} ?>" maxlength="10" id="mno2" class="col-xs-12 col-sm-12" placeholder="Student Mobile Number-2" onChange="return aaa(this.value)" onKeyPress="return onlyNos(event,this);" title="Enter Student Mobile Number - 2" >
 
                                         
										</div>                                         
									</div>
                                    <div class="form-group">
                                    <label class="col-sm-2 control-label no-padding-right" for="form-field-1"> Email  </label>

										<div class="col-sm-2">
                                        <input name="txtEmailID" type="email" value="<?php if($_POST['txtEmailID']!=""){ echo $txtEmailID;}else{ echo $row['txtEmailID'];} ?>" id="txtEmailID" class="col-xs-12 col-sm-12" placeholder="E-mail" data-toggle="tooltip" data-placement="bottom" title="Enter Email"   Required>
										 
 
										</div>

                                        <label class="col-sm-2 control-label no-padding-right" for="form-field-1">Last College Name & Address  </label>

                                        <div class="col-sm-2">

											 <input name="last_coll" type="text" value="<?php if($_POST['last_coll']!=""){ echo $last_coll;}else{echo $row['last_coll'];} ?>" class="col-xs-12 col-sm-12" required>  

                                          </div>

<?php if(($Course_Details=='I')||($Course_Details=='I-SEM')){ ?> 

                                    <label class="col-sm-2 control-label no-padding-right" for="form-field-1"> Student UIN  </label>
                    <div class="col-sm-2">  <input name="uid" type="text" value="<?php if($_POST['uid']!=""){ echo $uid;}else{echo $row['uid'];} ?>" id="txtuid" class="col-xs-12 col-sm-12" placeholder="Student UIN" data-toggle="tooltip" data-placement="bottom" title="Enter Student UIN" Required> </div>  <?php } ?>     

                    <?php if(($Course=='70')||($Course=='71')){ ?>      

                                    <label class="col-sm-2 control-label no-padding-right" for="form-field-1">Transaction / D.D. No.  </label>
                    <div class="col-sm-2">  <input name="tid" type="text" value="<?php if($_POST['tid']!=""){ echo $tid;}else{echo $row['tid'];} ?>" id="txttid" class="col-xs-12 col-sm-12" placeholder="Transaction ID" data-toggle="tooltip" data-placement="bottom" title="Enter Transaction ID"  Required> </div>             

<?php } ?>

                                  </div>
                                     <div class="page-header">
							<h1>
								Please Select Your Subject 
								
							</h1>
						</div>
                                    <div class="form-group">
										

								
                                        
                                     </div>   <div class="form-group">  <label class="col-sm-2 control-label no-padding-right" for="form-field-1">College Name </label>

										<div class="col-sm-10">
											  <?php
							if($btnSave3!=""){
					   
					   $college=$row['college'];
					   }

$queryy = "SELECT * FROM college_name where code='$college'";
$numresultsy=mysql_query($queryy);
$resulty= mysql_query($queryy) or die("Couldn't execute query");
?>
<select name="college" id="college"  onchange='this.form.submit()' class="form-control" required>       
                                  <?php
while ( $a_roww = mysql_fetch_row( $resulty ) )
 {?>
                  <option
                 <?php 
				 $cn_id=$a_roww[2];
				 if($cn_id==$college){
				  ?>selected<?php } ?>
                  
                   value="<?php echo $a_roww[2];?>" ><?php echo $a_roww[1];?></option>
                  <?php } ?>
                </select>
										</div>
                                         
									</div>
                                    
                                    <div class="form-group">
										<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> Subject Name</label>
                                        </div> 
                                
                                
                             
                                
                                <div class="form-group"><label class="col-sm-2 control-label no-padding-right" for="form-field-1">  </label>
										<div class="col-sm-12">

                                            <?php include "onesevennine.php";  ?></div>
                                       
									</div>

                                

                                

                               	<div class="space-4"></div>
                                     

	
                                    
                                    <div class="page-header">
							<h1>
								Details of Previous Year  Examination
								
							</h1>
						</div>
                                    
                                    <div class="form-group">
										<?php /*?><table width="100%" border="1" cellspacing="0" cellpadding="0">
  <tr>
    <td>examination name</td>
    <td>school / college name</td>
    <td>board</td>
    <td>year</td>
    <td>roll no</td>
    <td>total marks</td>
    <td><strong>Marks Obtained</strong></td>
    <td>% or Grade</td>
    <td>subject</td>
  </tr>
  <tr>
    <td>high school</td>
    <td>
        <input type="text" name="cname" id="cname" placeholder='School / college name' value="<?php echo $row['cname'];?>" required>
   </td>
    <td><label>
      <input type="text" name="b" id="b" placeholder='Board' value="<?php echo $row['b'];?>" required>
    </label></td>
    <td><label>
      <input type="text" name="y" id="y" style="width:80px;"  placeholder='Passing Year' value="<?php echo $row['y'];?>" required>
    </label></td>
    <td><label>
      <input type="text" name="r" id="r" style="width:80px;" placeholder='Roll No' value="<?php echo $row['r'];?>" required>
    </label></td>
    <td><label>
      <input type="text" name="tm" id="tm" style="width:80px;" placeholder='total marks' value="<?php echo $row['tm'];?>" required>
    </label></td>
    <td><label>
      <input type="text" name="mo" id="mo" style="width:80px;" placeholder='MARKS OBTAINED' value="<?php echo $row['mo'];?>" required>
    </label></td>
    <td><label>
      <input type="text" name="g" id="g" style="width:80px;" placeholder='% or Grade' value="<?php echo $row['g'];?>">
    </label></td>
    <td><label>
      <textarea name="s" id="s" cols="25" rows="2" placeholder='Subject1,Subject2,Subject3...' required><?php echo $row['s'];?></textarea>
    </label></td>
  </tr><?php if(($CourseType=='UG')&&($Course_Details=='I')||($CourseType=='UG')&&($Course_Details=='II')||($CourseType=='UG')&&($Course_Details=='III')||($CourseType=='PG')&&($Course_Details=='I')||($CourseType=='PG')&&($Course_Details=='II')){ ?>
  <tr>
    <td>inter</td>
    <td><input type="text" name="cname2" id="cname2" placeholder='School / college name' value="<?php echo $row['cname2'];?>" required></td>
    <td><input type="text" name="b2" id="b2"  placeholder='Board' value="<?php echo $row['b2'];?>" required></td>
    <td><input type="text" name="y2" id="y2" style="width:80px;" placeholder='Passing Year' value="<?php echo $row['y2'];?>" required></td>
    <td><input type="text" name="r2" id="r2" style="width:80px;" placeholder='Roll No' value="<?php echo $row['r2'];?>" required></td>
    <td><input type="text" name="tm2" id="tm2" style="width:80px;" placeholder='total marks' value="<?php echo $row['tm2'];?>" required></td>
    <td><input type="text" name="mo2" id="mo2" style="width:80px;" placeholder='MARKS OBTAINED' value="<?php echo $row['mo2'];?>" required></td>
    <td><input type="text" name="g2" id="g2" style="width:80px;" placeholder='% or Grade' value="<?php echo $row['g2'];?>" required></td>
    <td><textarea name="s2" id="s2" cols="25" rows="2" placeholder='Subject1,Subject2,Subject3...' required><?php echo $row['s2'];?></textarea></td>
  </tr> <?php }
  
  if(($CourseType=='UG')&&($Course_Details=='II')||($CourseType=='UG')&&($Course_Details=='III')||($CourseType=='PG')&&($Course_Details=='I')||($CourseType=='PG')&&($Course_Details=='II')){ ?>
  
  <tr>
    <td>ug-i</td>
    <td><input type="text" name="cname3" id="cname3" placeholder='School / college name' value="<?php echo $row['cname3'];?>" required></td>
    <td><input type="text" name="b3" id="b3"  placeholder='Board' value="<?php echo $row['b3'];?>" required></td>
    <td><input type="text" name="y3" id="y3" style="width:80px;" placeholder='Passing Year' value="<?php echo $row['y3'];?>" required></td>
    <td><input type="text" name="r3" id="r3" style="width:80px;" placeholder='Roll No' value="<?php echo $row['r3'];?>" required></td>
    <td><input type="text" name="tm3" id="tm3" style="width:80px;" placeholder='total marks' value="<?php echo $row['tm3'];?>" required></td>
    <td><input type="text" name="mo3" id="mo3" style="width:80px;" placeholder='MARKS OBTAINED' value="<?php echo $row['mo3'];?>" required></td>
    <td><input type="text" name="g3" id="g3" style="width:80px;" placeholder='% or Grade' value="<?php echo $row['g3'];?>" required></td>
    <td><textarea name="s3" id="s3" cols="25" rows="2" placeholder='Subject1,Subject2,Subject3...' required><?php echo $row['s3'];?></textarea></td>
  </tr>
 
  <?php }
  
  if(($CourseType=='UG')&&($Course_Details=='III')||($CourseType=='PG')&&($Course_Details=='I')||($CourseType=='PG')&&($Course_Details=='II')){ ?>
  <tr>
    <td>ug-ii</td>
    <td><input type="text" name="cname4" id="cname4" placeholder='School / college name' value="<?php echo $row['cname4'];?>" required></td>
    <td><input type="text" name="b4" id="b4"  placeholder='Board' value="<?php echo $row['b4'];?>" required></td>
    <td><input type="text" name="y4" id="y4" style="width:80px;" placeholder='Passing Year' value="<?php echo $row['y4'];?>" required></td>
    <td><input type="text" name="r4" id="r4" style="width:80px;" placeholder='Roll No' value="<?php echo $row['r4'];?>" required></td>
    <td><input type="text" name="tm4" id="tm4" style="width:80px;" placeholder='total marks' value="<?php echo $row['tm4'];?>"></td>
    <td><input type="text" name="mo4" id="mo4" style="width:80px;" placeholder='MARKS OBTAINED' value="<?php echo $row['mo4'];?>" required></td>
    <td><input type="text" name="g4" id="g4" style="width:80px;" placeholder='% or Grade' value="<?php echo $row['g4'];?>" required></td>
    <td><textarea name="s4" id="s4" cols="25" rows="2" placeholder='Subject1,Subject2,Subject3...' required><?php echo $row['s4'];?></textarea></td>
  </tr>
   <?php }
  
  if(($CourseType=='PG')&&($Course_Details=='I')||($CourseType=='PG')&&($Course_Details=='II')){ ?>
  <tr>
    <td>ug-iii</td>
    <td><input type="text" name="cname5" id="cname5" placeholder='School / college name' value="<?php echo $row['cname5'];?>" required></td>
    <td><input type="text" name="b5" id="b5"  placeholder='Board' value="<?php echo $row['b5'];?>" required></td>
    <td><input type="text" name="y5" id="y5" style="width:80px;" placeholder='Passing Year' value="<?php echo $row['y5'];?>" required></td>
    <td><input type="text" name="r5" id="r5" style="width:80px;" placeholder='Roll No' value="<?php echo $row['r5'];?>" required></td>
    <td><input type="text" name="tm5" id="tm5" style="width:80px;" placeholder='total marks' value="<?php echo $row['tm5'];?>"></td>
    <td><input type="text" name="mo5" id="mo5" style="width:80px;" placeholder='MARKS OBTAINED' value="<?php echo $row['mo5'];?>" required></td>
    <td><input type="text" name="g5" id="g5" style="width:80px;" placeholder='% or Grade' value="<?php echo $row['g5'];?>" required></td>
    <td><textarea name="s5" id="s5" cols="25" rows="2" placeholder='Subject1,Subject2,Subject3...' required><?php echo $row['s5'];?></textarea></td>
  </tr>
   <?php }
  
  if(($CourseType=='PG')&&($Course_Details=='II')){ ?>
  <tr>
    <td>pg-i</td>
    <td><input type="text" name="cname6" id="cname6" placeholder='School / college name' value="<?php echo $row['cname6'];?>" required></td>
    <td><input type="text" name="b6" id="b6"  placeholder='Board' value="<?php echo $row['b6'];?>" required></td>
    <td><input type="text" name="y6" id="y6" style="width:80px;" placeholder='Passing Year' value="<?php echo $row['y6'];?>" required></td>
    <td><input type="text" name="r6" id="r6" style="width:80px;" placeholder='Roll No' value="<?php echo $row['r6'];?>" required></td>
    <td><input type="text" name="tm6" id="tm6" style="width:80px;" placeholder='total marks' value="<?php echo $row['tm6'];?>" required></td>
    <td><input type="text" name="mo6" id="mo6" style="width:80px;" placeholder='MARKS OBTAINED' value="<?php echo $row['mo6'];?>"></td>
    <td><input type="text" name="g6" id="g6" style="width:80px;" placeholder='% or Grade' value="<?php echo $row['g6'];?>" required></td>
    <td><textarea name="s6" id="s6" cols="25" rows="2" placeholder='Subject1,Subject2,Subject3...' required><?php echo $row['s6'];?></textarea></td>
  </tr>

    <?php } ?>
  <tr>
    <td>pg-ii</td>
    <td><input type="text" name="cname7" id="cname7" placeholder='School / college name' value="<?php echo $row['cname2'];?>" ></td>
    <td><input type="text" name="b7" id="b7"  placeholder='Board' value="<?php echo $row['b7'];?>" required></td>
    <td><input type="text" name="y7" id="y7" style="width:80px;" placeholder='Passing Year' value="<?php echo $row['y7'];?>" ></td>
    <td><input type="text" name="r7" id="r7" style="width:80px;" placeholder='Roll No' value="<?php echo $row['r7'];?>" ></td>
    <td><input type="text" name="tm7" id="tm7" style="width:80px;" placeholder='total marks' value="<?php echo $row['tm7'];?>" ></td>
    <td><input type="text" name="mo7" id="mo7" style="width:80px;" placeholder='MARKS OBTAINED' value="<?php echo $row['mo7'];?>" ></td>
    <td><input type="text" name="g7" id="g7" style="width:80px;" placeholder='% or Grade' value="<?php echo $row['g7'];?>" ></td>
    <td><textarea name="s7" id="s7" cols="25" rows="2" placeholder='Subject1,Subject2,Subject3...' ><?php echo $row['s7'];?></textarea></td>
  </tr>
 
  <tr>
    <td>other</td>
    <td><input type="text" name="cname8" id="cname8" placeholder='School / college name' value="<?php echo $row['cname8'];?>" ></td>
    <td><input type="text" name="b8" id="b8"  placeholder='Board' value="<?php echo $row['b8'];?>" ></td>
    <td><input type="text" name="y8" id="y8" style="width:80px;" placeholder='Passing Year' value="<?php echo $row['y8'];?>" ></td>
    <td><input type="text" name="r8" id="r8" style="width:80px;" placeholder='Roll No' value="<?php echo $row['r8'];?>" ></td>
    <td><input type="text" name="tm8" id="tm8" style="width:80px;" placeholder='total marks' value="<?php echo $row['tm8'];?>" ></td>
    <td><input type="text" name="mo8" id="mo8" style="width:80px;" placeholder='MARKS OBTAINED' value="<?php echo $row['mo8'];?>" ></td>
    <td><input type="text" name="g8" id="g8" style="width:80px;" placeholder='% or Grade' value="<?php echo $row['g8'];?>" ></td>
    <td><textarea name="s8" id="s8" cols="25" rows="2" placeholder='Subject1,Subject2,Subject3...' ><?php echo $row['s8'];?></textarea></td>
  </tr>
</table><?php */?>
										<table width="100%" border="1" cellspacing="0" cellpadding="0">
  <tr>
    <td>examination name</td>
    <td>school / college name</td>
    <td>board</td>
    <td>year</td>
    <td>roll no</td>
    <td>total marks</td>
    <td><strong>Marks Obtained</strong></td>
    <td>subject</td>
  </tr>
  <tr>
    <td>high school</td>
    <td>
        <input type="text" name="cname" id="cname" placeholder='School / college name' value="<?php if($_POST['cname']!=""){ echo $cname;}else{echo $row['cname'];} ?>" required>   </td>
    <td><label>
      <input type="text" name="b" id="b" placeholder='Board' value="<?php if($_POST['b']!=""){ echo $b;}else{echo $row['b'];} ?>" required>
    </label></td>
    <td><label>
      <input type="text" name="y" id="y" style="width:80px;"  placeholder='Passing Year' value="<?php if($_POST['y']!=""){ echo $y;}else{echo $row['y'];} ?>" required>
    </label></td>
    <td><label>
      <input type="text" name="r" id="r" style="width:80px;" placeholder='Roll No' value="<?php if($_POST['r']!=""){ echo $r;}else{echo $row['r'];} ?>" required>
    </label></td>
    <td><label>
      <input type="text" name="tm" id="tm" style="width:80px;" placeholder='total marks' value="<?php if($_POST['tm']!=""){ echo $tm;}else{echo $row['tm'];} ?>" required>
    </label></td>
    <td><label>
      <input type="text" name="mo" id="mo" style="width:80px;" placeholder='MARKS OBTAINED' value="<?php if($_POST['mo']!=""){ echo $mo;}else{echo $row['mo'];} ?>" required>
    </label></td>
    <td><label>
      <textarea name="s" id="s" cols="25" rows="2" placeholder='Subject1,Subject2,Subject3...' required><?php if($_POST['s']!=""){ echo $s;}else{echo $row['s'];} ?></textarea>
    </label></td>
  </tr>
  <tr>
    <td>inter</td>
    <td><input type="text" name="cname2" id="cname2" placeholder='School / college name' value="<?php if($_POST['cname2']!=""){ echo $cname2;}else{echo $row['cname2'];} ?>" required></td>
    <td><input type="text" name="b2" id="b2"  placeholder='Board' value="<?php if($_POST['b2']!=""){ echo $b2;}else{echo $row['b2'];} ?>" required></td>    <td><input type="text" name="y2" id="y2" style="width:80px;" placeholder='Passing Year' value="<?php if($_POST['y2']!=""){ echo $y2;}else{echo $row['y2'];} ?>" required></td>
    <td><input type="text" name="r2" id="r2" style="width:80px;" placeholder='Roll No' value="<?php if($_POST['r2']!=""){ echo $r2;}else{echo $row['r2'];} ?>" required></td>
    <td><input type="text" name="tm2" id="tm2" style="width:80px;" placeholder='total marks' value="<?php if($_POST['tm2']!=""){ echo $tm2;}else{echo $row['tm2'];} ?>" required></td>
    <td><input type="text" name="mo2" id="mo2" style="width:80px;" placeholder='MARKS OBTAINED' value="<?php if($_POST['mo2']!=""){ echo $mo2;}else{echo $row['mo2'];} ?>" required></td>
    <td><textarea name="s2" id="s2" cols="25" rows="2" placeholder='Subject1,Subject2,Subject3...' required><?php if($_POST['s2']!=""){ echo $s2;}else{echo $row['s2'];} ?></textarea></td>
  </tr> <?php

  if(($CourseType=='UG')&&($Course_Details=='II')||($CourseType=='UG')&&($Course_Details=='III')||($CourseType=='PG')&&($Course_Details=='I')||($CourseType=='PG')&&($Course_Details=='II')){ ?>

  <tr>
    <td>ug-i</td>
    <td><input type="text" name="cname3" id="cname3" placeholder='School / college name' value="<?php echo $row['cname3'];?>" ></td>
    <td><input type="text" name="b3" id="b3"  placeholder='Board' value="<?php echo $row['b3'];?>" ></td>
    <td><input type="text" name="y3" id="y3" style="width:80px;" placeholder='Passing Year' value="<?php echo $row['y3'];?>" ></td>
    <td><input type="text" name="r3" id="r3" style="width:80px;" placeholder='Roll No' value="<?php echo $row['r3'];?>" ></td>
    <td><input type="text" name="tm3" id="tm3" style="width:80px;" placeholder='total marks' value="<?php echo $row['tm3'];?>" ></td>
    <td><input type="text" name="mo3" id="mo3" style="width:80px;" placeholder='MARKS OBTAINED' value="<?php echo $row['mo3'];?>" ></td>
    <td><textarea name="s3" id="s3" cols="25" rows="2" placeholder='Subject1,Subject2,Subject3...' ><?php echo $row['s3'];?></textarea></td>
  </tr>
 
  <?php }
  
  if(($CourseType=='UG')&&($Course_Details=='III')||($CourseType=='PG')&&($Course_Details=='I')||($CourseType=='PG')&&($Course_Details=='II')){ ?>
  <tr>
    <td>ug-ii</td>
    <td><input type="text" name="cname4" id="cname4" placeholder='School / college name' value="<?php echo $row['cname4'];?>" ></td>
    <td><input type="text" name="b4" id="b4"  placeholder='Board' value="<?php echo $row['b4'];?>" ></td>
    <td><input type="text" name="y4" id="y4" style="width:80px;" placeholder='Passing Year' value="<?php echo $row['y4'];?>" ></td>
    <td><input type="text" name="r4" id="r4" style="width:80px;" placeholder='Roll No' value="<?php echo $row['r4'];?>" ></td>
    <td><input type="text" name="tm4" id="tm4" style="width:80px;" placeholder='total marks' value="<?php echo $row['tm4'];?>"></td>
    <td><input type="text" name="mo4" id="mo4" style="width:80px;" placeholder='MARKS OBTAINED' value="<?php echo $row['mo4'];?>" ></td>
    <td><textarea name="s4" id="s4" cols="25" rows="2" placeholder='Subject1,Subject2,Subject3...' ><?php echo $row['s4'];?></textarea></td>
  </tr>
   <?php }
  
  if(($CourseType=='PG')&&($Course_Details=='I')||($CourseType=='PG')&&($Course_Details=='II')||($Course=='70')||($Course=='71')){ ?>
  <tr>
    <td>ug-iii</td>
    <td><input type="text" name="cname5" id="cname5" placeholder='School / college name' value="<?php echo $row['cname5'];?>" ></td>
    <td><input type="text" name="b5" id="b5"  placeholder='Board' value="<?php echo $row['b5'];?>" ></td>
    <td><input type="text" name="y5" id="y5" style="width:80px;" placeholder='Passing Year' value="<?php echo $row['y5'];?>" ></td>
    <td><input type="text" name="r5" id="r5" style="width:80px;" placeholder='Roll No' value="<?php echo $row['r5'];?>" ></td>
    <td><input type="text" name="tm5" id="tm5" style="width:80px;" placeholder='total marks' value="<?php echo $row['tm5'];?>"></td>
    <td><input type="text" name="mo5" id="mo5" style="width:80px;" placeholder='MARKS OBTAINED' value="<?php echo $row['mo5'];?>" ></td>
    <td><textarea name="s5" id="s5" cols="25" rows="2" placeholder='Subject1,Subject2,Subject3...' ><?php echo $row['s5'];?></textarea></td>
  </tr>
   <?php }
  
  if(($CourseType=='PG')&&($Course_Details=='II')){ ?>
  <tr>
    <td>pg-i</td>
    <td><input type="text" name="cname6" id="cname6" placeholder='School / college name' value="<?php echo $row['cname6'];?>" ></td>
    <td><input type="text" name="b6" id="b6"  placeholder='Board' value="<?php echo $row['b6'];?>" ></td>
    <td><input type="text" name="y6" id="y6" style="width:80px;" placeholder='Passing Year' value="<?php echo $row['y6'];?>" ></td>
    <td><input type="text" name="r6" id="r6" style="width:80px;" placeholder='Roll No' value="<?php echo $row['r6'];?>" ></td>
    <td><input type="text" name="tm6" id="tm6" style="width:80px;" placeholder='total marks' value="<?php echo $row['tm6'];?>" ></td>
    <td><input type="text" name="mo6" id="mo6" style="width:80px;" placeholder='MARKS OBTAINED' value="<?php echo $row['mo6'];?>"></td>
    <td><textarea name="s6" id="s6" cols="25" rows="2" placeholder='Subject1,Subject2,Subject3...' ><?php echo $row['s6'];?></textarea></td>
  </tr>
   
  <tr>
    <td>pg-ii</td>
    <td><input type="text" name="cname7" id="cname7" placeholder='School / college name' value="<?php echo $row['cname2'];?>" ></td>
    <td><input type="text" name="b7" id="b7"  placeholder='Board' value="<?php echo $row['b7'];?>" ></td>
    <td><input type="text" name="y7" id="y7" style="width:80px;" placeholder='Passing Year' value="<?php echo $row['y7'];?>" ></td>
    <td><input type="text" name="r7" id="r7" style="width:80px;" placeholder='Roll No' value="<?php echo $row['r7'];?>" ></td>
    <td><input type="text" name="tm7" id="tm7" style="width:80px;" placeholder='total marks' value="<?php echo $row['tm7'];?>" ></td>
    <td><input type="text" name="mo7" id="mo7" style="width:80px;" placeholder='MARKS OBTAINED' value="<?php echo $row['mo7'];?>" ></td>
    <td><textarea name="s7" id="s7" cols="25" rows="2" placeholder='Subject1,Subject2,Subject3...' ><?php echo $row['s7'];?></textarea></td>
  </tr>
  <?php } ?>
  <tr>
    <td>Last Qualification</td>
    <td><input type="text" name="cname8" id="cname8" placeholder='School / college name' value="<?php echo $row['cname8'];?>" ></td>
    <td><input type="text" name="b8" id="b8"  placeholder='Board' value="<?php echo $row['b8'];?>" ></td>
    <td><input type="text" name="y8" id="y8" style="width:80px;" placeholder='Passing Year' value="<?php echo $row['y8'];?>" ></td>
    <td><input type="text" name="r8" id="r8" style="width:80px;" placeholder='Roll No' value="<?php echo $row['r8'];?>" ></td>
    <td><input type="text" name="tm8" id="tm8" style="width:80px;" placeholder='total marks' value="<?php echo $row['tm8'];?>" ></td>
    <td><input type="text" name="mo8" id="mo8" style="width:80px;" placeholder='MARKS OBTAINED' value="<?php echo $row['mo8'];?>" ></td>    <td><textarea name="s8" id="s8" cols="25" rows="2" placeholder='Subject1,Subject2,Subject3...' ><?php echo $row['s8'];?></textarea></td>
  </tr>
</table>									</div>
                                    
                                   

                                    
                                    <div class="page-header">
							<h1>

							Name and Mailing Address of Candidate  
								<small>
									<i class="ace-icon fa fa-angle-double-right"></i>
								  (अभ्यर्थी का नाम व पत्राचार का पूरा पता)
								</small>
							</h1>
						</div>
                                      <div class="form-group">

                                         <label class="col-sm-2 control-label no-padding-right" for="form-field-1">  House No.</label>

										<div class="col-sm-2">
											     <input name="txtHouseNo" type="text" value="<?php if($row['txtHouseNo']==""){ echo $rowb3r['houseno'];}else{ echo $row['txtHouseNo'];} ?>" maxlength="100" id="txtHouseNo" placeholder="House No" class="col-xs-12 col-sm-12" required>
										</div>
										<label class="col-sm-2 control-label no-padding-right" for="form-field-1">  Street/Village</label>

										<div class="col-sm-2">
											 <input name="txtStreet" type="text" value="<?php if($row['txtStreet']==""){ echo $rowb3r['txtStreet'];}else{ echo $row['txtStreet'];} ?>" maxlength="100" id="txtStreet" placeholder="Street/Village" class="col-xs-12 col-sm-12" required>
										</div>
                                        <label class="col-sm-2 control-label no-padding-right" for="form-field-1"> Post Office</label>

										<div class="col-sm-2">
											     <input name="txtPostOffice" type="text" value="<?php if($row['txtPostOffice']==""){ echo $rowb3r['txtPostOffice'];}else{ echo $row['txtPostOffice'];} ?>" maxlength="100" id="txtPostOffice" placeholder=" Post Office" class="col-xs-12 col-sm-12" required>
										</div>
									</div>
                                       <div class="form-group">

                                         <label class="col-sm-2 control-label no-padding-right" for="form-field-1">  State</label>

										<div class="col-sm-2">
											    <input name="txtState" type="text" value="<?php if($row['txtState']==""){ echo $rowb3r['txtState'];}else{ echo $row['txtState'];} ?>" maxlength="15" id="txtState" placeholder="State" class="col-xs-12 col-sm-12" required>
										</div>
										<label class="col-sm-2 control-label no-padding-right" for="form-field-1">  District/City </label>

										<div class="col-sm-2">
										<input name="txtDistrict0" type="text" value="<?php if($row['txtDistrict0']==""){ echo $rowb3r['txtDistrict0'];}else{ echo $row['txtDistrict0'];} ?>" maxlength="20" id="txtDistrict0" placeholder="District/City" class="col-xs-12 col-sm-12" required>	 
										</div>
                                        
										
                                        
                                        <label class="col-sm-2 control-label no-padding-right" for="form-field-1">      Pin Code </label>										<div class="col-sm-2">
											 <input name="txtPinCode" type="text" value="<?php if($row['txtPinCode']==""){ echo $rowb3r['txtPinCode'];}else{ echo $row['txtPinCode'];} ?>" maxlength="6" id="txtPinCode" placeholder="Pin Code" onKeyPress="return onlyNos(event,this);" class="col-xs-12 col-sm-12" required>   
										</div> 

                                        

                                       <?php /*?> <div class="form-group">

                                       

                                        <label class="col-sm-2 control-label no-padding-right" for="form-field-1">      TC / CC </label>

                                    <div class="col-sm-2 control-label no-padding-right" for="form-field-1">
                                        <select name="tc" >
                                        <option value="<?php echo $row['tc'];?>"><?php echo $row['tc'];?></option>
                                        <option value="YES">YES</option>
                                        <option value="NO">NO</option>
                                        </select>
										</div>
<label class="col-sm-2 control-label no-padding-right" for="form-field-1">TC Number</label>
										<div class="col-sm-2">
											 <input name="notc" type="text" value="<?php echo $row['notc'];?>" class="col-xs-12 col-sm-12" >  
                                  </div>           
                         

                                          
                              </div><?php */?>
									</div>
                                   <div>
                                      <div class="page-header">
							<h1>
								Student Upload  Photo and Signature 
								<small>
									<i class="ace-icon fa fa-angle-double-right"></i>
								  
								</small>
							</h1>
						</div>
                                    

                                    <div class="form-group">
										<label class="col-sm-4 control-label no-padding-right" for="form-field-1">  </label>

										<div class="col-sm-4">
											 	 <table width="50%" style="text-align:center;" class="table table-striped table-bordered table-hover">

                                                                                <tbody><tr>

                                                                                    <td width="45%">

        
                                                                                    

                                                                                    

                                                                                    

                                                                                        <strong><span lang="en-us" xml:lang="en-us"><span lang="en-us" xml:lang="en-us">Candidate

                                                                                            Photograph</span></span></strong> <span style="font-size: 12px; color: Red">*

                                                                                        </span>                                                                                    </td>

                                                                                    </tr>

                                                                                <tr>

                                                                                    <td><script src="jquery.min.js"></script>

   <div style="float:left; text-align:left "><div id='form1_photo_errorloc' class="error_strings"></div><strong> Upload Pasport Size Photograph : <br /> <p style="color:#FF0000"><strong>Max File Size : 50 KB*</strong></p> 
   </strong><input type="file" name="photo" value="browse" id="photo" /></div>                                                                                    </td>
                                                                                  </tr>

<?php
$fno=$_POST['fno'];
$college=$_POST['college'];
$target_dir = "uploads/";
$rppp=rand(10000,9999999);
$target_file = $target_dir.$rppp.basename($_FILES["photo"]["name"]);
$uploadOk = 1;
$imageFileType = strtolower(pathinfo($target_file,PATHINFO_EXTENSION));

// Check if image file is a actual image or fake image
if(isset($_POST["submit"])) {
  $check = getimagesize($_FILES["photo"]["tmp_name"]);
  if($check !== false) {
    echo "File is an image - " . $check["mime"] . ".";
    $uploadOk = 1;
  } else {
    echo "File is not an image.";
    $uploadOk = 0;
  }
}

// Check if file already exists
if (file_exists($target_file)) {
  echo "Sorry, file already exists.";
  $uploadOk = 0;
}

// Check file size
if ($_FILES["photo"]["size"] > 500000) {
  echo "Sorry, your file is too large.";
  $uploadOk = 0;
}

// Allow certain file formats
if($imageFileType != "jpg" && $imageFileType != "png" && $imageFileType != "jpeg"
&& $imageFileType != "gif" ) {
  echo "Sorry, only JPG, JPEG, PNG & GIF files are allowed.";
  $uploadOk = 0;
}

// Check if $uploadOk is set to 0 by an error
if ($uploadOk == 0) {
  echo "Sorry, your file was not uploaded.";
// if everything is ok, try to upload file
} else {
  if (move_uploaded_file($_FILES["photo"]["tmp_name"], $target_file)) {
    echo "The file ". htmlspecialchars( basename( $_FILES["photo"]["name"])). " has been uploaded.";
	$photo_name=$rppp.basename( $_FILES["photo"]["name"]);
	$upd_qryc="UPDATE class2 SET class_std_ing='$photo_name' where fno='$fno'  and code='$college'";
mysql_query($upd_qryc); 
  } else {
    echo "Sorry, there was an error uploading your file.";
  }
}
?>                                                                                 <?php /*?><tr>

                                                                                  <td>Upload Documents <span style="color:#FF0000; font-weight:bold">(Only in PDF)*</span></td>

                                                                                  <td> <?php 

																				  

																				  ?>

    

      

        <div align="center">

          <input name="c" value="a" type="hidden"/>

          <input type="hidden" name="name" value="<?php echo $rowcl['id'].date("YmdHis").rand(1000,999999).'highschool'; ?>" readonly="" required="true" />

          <input type="file" name="classnotes" value="" accept="application/pdf" required="true" id="file1" 

               onchange="Filevalidation1()"/>

         <p id="size1"></p> <script> 

		   

    Filevalidation1 = () => { 

        const fi = document.getElementById('file1'); 

        // Check if any file is selected. 

        if (fi.files.length > 0) { 

            for (const i = 0; i <= fi.files.length - 1; i++) { 

  

                const fsize = fi.files.item(i).size; 

                const file = Math.round((fsize / 1024)); 

                // The size of the file. 

                if (file >= 4096) { 

                    alert( 

                      "File too Big, please select a file less than 4mb");

					 return false; 

                } else if (file < 10) { 

                    alert( 

                      "File too small, please select a file greater than 10KB");

					   return false; 

                } else { 

                    document.getElementById('size1').innerHTML = '<b>'

                    + file + '</b> KB'; 

                } 

            } 

        } 

    } 

</script> 

        </div>

     

      <div align="center">

        <?php  if($high_file!=""){ ?> 

      </div>

     <a href="inter_file/<?php echo $high_file; ?>" target="_blank">View PDF File </a>

      <div align="center">

        <?php } ?></td>

                                                                                </tr><?php */?>
                                                                            </tbody></table>
										</div>
                                     
									</div>                                

                                     

									<div class="space-4"></div>
                                     

									<div class="clearfix form-actions">
										<div class="col-md-offset-3 col-md-9">

                                                        <input type="submit" name="btnSave2" value="Save" style="font-size:28px;margin-left:30%">										</div>
									</div>

									 
							

								 
							</div><!-- /.col -->
						</div><!-- /.row -->
					</div><!-- /.page-content -->
				</div>
			</div><!-- /.main-content -->

			

		</div>
		<script src="./reg_2_files/jquery.2.1.1.min.js.download"></script>

	
		<script src="./reg_2_files/jquery.mobile.custom.min.js.download"></script>
		<script src="./reg_2_files/bootstrap.min.js.download"></script>

		<!-- page specific plugin scripts -->

		<!--[if lte IE 8]>
		  <script src="assets/js/excanvas.min.js"></script>
		<![endif]-->
		<script src="./reg_2_files/jquery-ui.custom.min.js.download"></script>

		<script src="./reg_2_files/jquery.ui.touch-punch.min.js.download"></script>
		<script src="./reg_2_files/chosen.jquery.min.js.download"></script>
		<script src="./reg_2_files/fuelux.spinner.min.js.download"></script>
		<script src="./reg_2_files/bootstrap-datepicker.min.js.download"></script>
		<script src="./reg_2_files/bootstrap-timepicker.min.js.download"></script>
		<script src="./reg_2_files/moment.min.js.download"></script>
		<script src="./reg_2_files/daterangepicker.min.js.download"></script>
		<script src="./reg_2_files/bootstrap-datetimepicker.min.js.download"></script>
		<script src="./reg_2_files/bootstrap-colorpicker.min.js.download"></script>
		<script src="./reg_2_files/jquery.knob.min.js.download"></script>
		<script src="./reg_2_files/jquery.autosize.min.js.download"></script>
		<script src="./reg_2_files/jquery.inputlimiter.1.3.1.min.js.download"></script>
		<script src="./reg_2_files/jquery.maskedinput.min.js.download"></script>
		<script src="./reg_2_files/bootstrap-tag.min.js.download"></script>

		<!-- ace scripts -->
		<script src="./reg_2_files/ace-elements.min.js.download"></script>
		<script src="./reg_2_files/ace.min.js.download"></script>

		

                	</form>
                   
</body></html>