initial commit
commit
5c1e30c087
|
@ -0,0 +1 @@
|
|||
_config.php
|
|
@ -0,0 +1 @@
|
|||
<center style="margin:150px; color:red;"><h1>ERROR: 404</h1></center>
|
|
@ -0,0 +1,75 @@
|
|||
</body>
|
||||
<input type="hidden" id="refreshed" value="no">
|
||||
<script>
|
||||
onload = function () {
|
||||
var e = document.getElementById("refreshed");
|
||||
if (e.value == "no") e.value = "yes";
|
||||
else { e.value = "no"; location.reload(); }
|
||||
}
|
||||
function h_sub_list(x, y) {
|
||||
if (x == 'ENGLISH' || x == 'BENGALI') {
|
||||
var hsub1 = '<select name="H_SUB1" style="width:100px;"> <option value="NA">Select</option> <option value="History">History</option> <option value="Sociology">Sociology</option> <option value="Sanskrit">Sanskrit</option> <option value="Education">Education</option> <option value="Physical Education">Physical Education</option> </select>';
|
||||
var hsub2 = '<select name="H_SUB2" style="width:100px;"> <option value="NA">Select</option> <option value="Philosophy">Philosophy</option> <option value="Political Science">Political Science</option> <option value="Elec. Bengali">Elec. Bengali</option> <option value="Elec. English">Elec. English</option> </select>';
|
||||
} else if (x == 'EDUCATION') {
|
||||
var hsub1 = '<select name="H_SUB1" style="width:100px;"> <option value="NA">Select</option> <option value="History">History</option> <option value="Sociology">Sociology</option> <option value="Sanskrit">Sanskrit</option> <option value="Elec. Bengali">Elec. Bengali</option> </select>';
|
||||
var hsub2 = '<select name="H_SUB2" style="width:100px;"> <option value="NA">Select</option> <option value="Elec. English">Elec. English</option> <option value="Philosophy">Philosophy</option> <option value="Political Science">Political Science</option> </select>';
|
||||
} else if (x == 'POLITICAL SCIENCE') {
|
||||
var hsub1 = '<select name="H_SUB1" style="width:100px;"> <option value="NA">Select</option> <option value="BENGALI">BENGALI</option> </select>';
|
||||
var hsub2 = '<select name="H_SUB2" style="width:100px;"> <option value="NA">Select</option> <option value="BENGALI">BENGALI2</option> </select>';
|
||||
} else if (x == 'SOCIOLOGY') {
|
||||
var hsub1 = '<select name="H_SUB1" style="width:100px;"> <option value="NA">Select</option> <option value="BENGALI">BENGALI</option> </select>';
|
||||
var hsub2 = '<select name="H_SUB2" style="width:100px;"> <option value="NA">Select</option> <option value="BENGALI">BENGALI2</option> </select>';
|
||||
}
|
||||
document.getElementById("H_SUB1").innerHTML = hsub1; document.getElementById("H_SUB2").innerHTML = hsub2;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function toggle_visibility(id) {
|
||||
var e = document.getElementById(id);
|
||||
if (e.style.display == 'block')
|
||||
e.style.display = 'none';
|
||||
}
|
||||
function push_sub(s) {
|
||||
|
||||
if ((document.getElementById('sub_1').value == 'Subject1')) {
|
||||
document.getElementById('sub_1').value = s;
|
||||
document.getElementById('tt1').value = s;
|
||||
console.log(s);
|
||||
}
|
||||
else if ((document.getElementById('sub_2').value == 'Subject2')) {
|
||||
document.getElementById('sub_2').value = s;
|
||||
document.getElementById('tt2').value = s;
|
||||
console.log(s);
|
||||
}
|
||||
}
|
||||
function push_sub1(s) {
|
||||
|
||||
if ((document.getElementById('sub_1').value == 'Subject1')) {
|
||||
document.getElementById('sub_1').value = s;
|
||||
document.getElementById('tt1').value = s;
|
||||
console.log(s);
|
||||
}
|
||||
else if ((document.getElementById('sub_2').value == 'Subject2')) {
|
||||
document.getElementById('sub_2').value = s;
|
||||
document.getElementById('tt2').value = s;
|
||||
console.log(s);
|
||||
}
|
||||
else if ((document.getElementById('sub_3').value == 'Subject3')) {
|
||||
document.getElementById('sub_3').value = s;
|
||||
document.getElementById('tt3').value = s;
|
||||
console.log(s);
|
||||
}
|
||||
}
|
||||
function hide_div(d) {
|
||||
document.getElementById(d).style.display = "none";
|
||||
}
|
||||
function choose_stream(x) {
|
||||
var zz = '<fieldset id="dd" style="margin-top:5px;"><legend>Provide best of 4+Applying Marks obtained on 10+2 or equivalent... </legend> <table><tr> <td> ... </td><td> Subject Name </td><td width="50" >Marks</td> </tr> <tr> <td> Applying Subject </td><td> <input type="text" name="HS_SUB_NAME1" > </td><td> <input type="text" id="hsss1" name="HS_SUB_MARK1" onchange="hsaggr();"> </td></tr> <tr><td> Subject 2 </td><td> <input type="text" name="HS_SUB_NAME2" > </td><td> <input type="text" id="hsss2" name="HS_SUB_MARK2" onchange="hsaggr();"></td></tr> <tr><td> Subject 3 </td><td> <input type="text" name="HS_SUB_NAME3" > </td><td> <input type="text" id="hsss3" name="HS_SUB_MARK3" onchange="hsaggr();"> </td></tr> <tr><td> Subject 4 </td><td> <input type="text" name="HS_SUB_NAME4" > </td><td> <input type="text" id="hsss4" name="HS_SUB_MARK4" onchange="hsaggr();"> </td></tr> <tr><td> Subject 5 </td><td> <input type="text" name="HS_SUB_NAME5" > </td><td> <input type="text" required id="hsss5" onchange="hsaggr();" name="HS_SUB_MARK5"> </td></tr> <tr><td> Aggregate </td><td> ... </td><td> <input type="text" name="HS_SUB_AGG" id="aggmo" disabled> </td></tr> </table> </fieldset>';
|
||||
document.getElementById("mfrm").innerHTML = zz;
|
||||
}
|
||||
|
||||
function castc(ca) { if (document.getElementById("cst").value != "GENERAL") { document.getElementById("ccerti").required = true; } else { document.getElementById("ccerti").required = false; } }
|
||||
function hsaggr(agg) { var aggr = Number(document.getElementById("hsss1").value) + Number(document.getElementById("hsss2").value) + Number(document.getElementById("hsss3").value) + Number(document.getElementById("hsss4").value) + Number(document.getElementById("hsss5").value); document.getElementById("aggmo").value = aggr; }
|
||||
</script>
|
||||
</html>
|
|
@ -0,0 +1,142 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<meta name="keywords" content="Online Admission 2019-20">
|
||||
<meta name="description" content=" BA Hons Gen admission ,Online Admission 2016 17 Banipur Mahila Mahavidyalaya ">
|
||||
<meta name="author" content="Suvankar Sarkar">
|
||||
<link rel="stylesheet" href="/asset/css/bootstrap.min.css">
|
||||
<script src="/asset/js/jquery.min.js"></script>
|
||||
<script src="/asset/js/bootstrap.min.js"></script>
|
||||
|
||||
<title>Online Admission 2019-20</title>
|
||||
<style>
|
||||
.wrapper {
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
background: #1d1d1d;
|
||||
background-image: url(/asset/img/stripes-tile.png);
|
||||
}
|
||||
|
||||
.banner-wrapper {
|
||||
max-width: 1200px;
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.div-block {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
padding: 0 25px;
|
||||
}
|
||||
|
||||
.div-block span {
|
||||
margin: 25px 0px !important;
|
||||
}
|
||||
|
||||
.header-block {
|
||||
padding: 10px;
|
||||
display: table;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
.img-block {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
width: 30%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.text-block {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
/*width: 60%;*/
|
||||
}
|
||||
|
||||
.text-block h2 {
|
||||
color: #e97324;
|
||||
margin-bottom: 3px;
|
||||
font-family: 'Spectral SC', serif;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.text-block h5 {
|
||||
color: #fff;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.text-block h6 {
|
||||
color: #fff;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.logo_img {
|
||||
width: 120px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.button {
|
||||
border-radius: 4px;
|
||||
background-color: #4CAF50;
|
||||
border: none;
|
||||
color: #FFFFFF;
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
padding: 10px 15px;
|
||||
width: 200px;
|
||||
transition: all 0.5s;
|
||||
cursor: pointer;
|
||||
margin: 5px;
|
||||
}
|
||||
.button span {
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
transition: 0.5s;
|
||||
margin-top:25px;
|
||||
}
|
||||
.button span:after {
|
||||
content: '\00bb';
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
top: 0;
|
||||
right: -20px;
|
||||
transition: 0.5s;
|
||||
}
|
||||
.button:hover span {
|
||||
padding-right: 25px;
|
||||
}
|
||||
|
||||
.button:hover span:after {
|
||||
opacity: 1;
|
||||
right: 0;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<!-- <div class="wrapper">
|
||||
<div class="banner-wrapper">
|
||||
<div class="header-block">
|
||||
<div class="img-block">
|
||||
<a href="/"><img class="logo_img" src="/CONTENT/ROOT_URI/Admission/variables/amdanga_logo.png" alt="logo"></a>
|
||||
</div>
|
||||
<div class="text-block">
|
||||
<h2><?php include ("variables/college_name.conf");?></h2>
|
||||
<h5><?php include ("variables/college_tag.conf");?></h5>
|
||||
<h6><?php include ("variables/college_address.conf");?></h6>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<?php $ua=getBrowser();
|
||||
if($ua['Device']=="Mobile") include "menu.php";
|
||||
else include "menu.php";
|
||||
?>
|
|
@ -0,0 +1,294 @@
|
|||
<?php
|
||||
$conn = new mysqli(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DB);
|
||||
$fno= $_GET['id'];
|
||||
$sql = "SELECT * FROM `admission` WHERE `ID` = ".$fno;
|
||||
$result = mysqli_query($conn, $sql);
|
||||
if (mysqli_num_rows($result) > 0) {
|
||||
while($row = mysqli_fetch_assoc($result)) {
|
||||
|
||||
$id = $row["ID"];
|
||||
$STUDENT_NAME = $row["STUDENT_NAME"];
|
||||
$MOBILE = $row["MOBILE"];
|
||||
$DATE = substr($row["DATESTAMP"],0,10);
|
||||
$GEN_HONOURS = $row["GEN_HONOURS"];
|
||||
|
||||
|
||||
} } else { echo " Some Error ! "; exit();}
|
||||
//$SID='H16'.$_GET['f']; //Hons-Session 16-- 2char Hons Subject --RESERVATION_CATEGORY--SL
|
||||
//if($GENORHONS=="stream1")$HNSS="BENGALI";if($GENORHONS=="stream2")$HNSS="ENGLISH";if($GENORHONS=="stream3")$HNSS="EDUCATION";if($GENORHONS=="stream4")$HNSS="POL. SC.";if($GENORHONS=="stream5")$HNSS="SOCIOLOGY";if($GENORHONS=="stream6")$HNSS="GENERAL";
|
||||
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<!--<link rel="stylesheet" href="/asset/css/admission_form.css" type="text/css">-->
|
||||
<style>
|
||||
.header-block{
|
||||
padding: 5px;
|
||||
display: table;
|
||||
border: 1px solid #eee;
|
||||
}
|
||||
.text-block h1{
|
||||
color: #032ba2;
|
||||
margin-bottom: 3px;
|
||||
font-size: 20px;
|
||||
font-family: 'Spectral SC', serif;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.table{
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
.table td,
|
||||
.table th {
|
||||
border: 1px solid #ddd;
|
||||
padding: 4px;
|
||||
}
|
||||
.table tr:nth-child(even) {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.table tr:hover {
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
.table th {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
text-align: left;
|
||||
background-color: #ff9742;
|
||||
color: white;
|
||||
}
|
||||
.form_header{
|
||||
height:250px;
|
||||
}
|
||||
.form_header_txt{
|
||||
width:500px;
|
||||
}
|
||||
.logo_txt{
|
||||
font-size:36px;
|
||||
text-align:center;
|
||||
color:#0973B3;
|
||||
}
|
||||
.small_txt_center{
|
||||
width:500px;
|
||||
text-align:center;
|
||||
font-size:.9em;
|
||||
}
|
||||
.sbmt{
|
||||
margin-top:15px;
|
||||
padding:10px;
|
||||
}
|
||||
form#ug_admission > fieldset > input , select.inpt_01 {
|
||||
width:740px;
|
||||
margin-bottom:15px;
|
||||
border-top:0;
|
||||
border-left:0px;
|
||||
border-bottom:2px solid #B4B0F9;
|
||||
font-size:1.3em;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table class="table" border="1" style="border-collapse: separate">
|
||||
<tr>
|
||||
<td style="width:50px;border:none;text-align:center;">
|
||||
<img style="width:60px;" src="/asset/img/amdanga_logo.png" alt="logo">
|
||||
</td>
|
||||
<td class="text-block" colspan="2" style="border:none;">
|
||||
<h1>DEMO COLLEGE NAME</h1>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><center><b>Admission Form Chalan</b> - Bank Copy -<b> ( <?php echo $GEN_HONOURS;?> )</center></td>
|
||||
<td><center><b>Admission Form Chalan</b> - Student Copy -<b> ( <?php echo $GEN_HONOURS;?> ) </b></center></td>
|
||||
<td><center><b>Admission Form Chalan</b> - College Copy -<b> ( <?php echo $GEN_HONOURS;?> )</center></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="250px">
|
||||
<table border="1" style="border-collapse: separate;width:100%;">
|
||||
<tr>
|
||||
<td>Bank</td>
|
||||
<td>UBI Bank</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Account to be credited</td>
|
||||
<td>1595010061755</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Institution Name</td>
|
||||
<td>Sree Chaitanya College</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><center>Form No : <b>SCC19UG<?php echo $id;?></b></center></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Student's Name</td>
|
||||
<td><?php echo $STUDENT_NAME;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Mobile</td>
|
||||
<td><?php echo $MOBILE;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Amount</td>
|
||||
<td>300</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Transaction Charge</td>
|
||||
<td>46</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Total to be Paid</td>
|
||||
<td>346</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Transaction ID</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Transaction Date</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Name of Branch</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Registration Date</td>
|
||||
<td><?php echo $DATE;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><br><br>Student's Sign</td>
|
||||
<td><br><br>Bank Stamp & Sign</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width="250">
|
||||
<table border="1" style="border-collapse: separate;width:100%;">
|
||||
<tr>
|
||||
<td>Bank</td>
|
||||
<td>UBI Bank</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Account to be credited</td>
|
||||
<td>1595010061755</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Institution Name</td>
|
||||
<td>Sree Chaitanya College</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><center>Form No : <b>SCC19UG<?php echo $id;?></b></center></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Student's Name</td>
|
||||
<td><?php echo $STUDENT_NAME;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Mobile</td>
|
||||
<td><?php echo $MOBILE;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Amount</td>
|
||||
<td>300</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Transaction Charge</td>
|
||||
<td>46</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Total to be Paid</td>
|
||||
<td>346</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Transaction ID</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Transaction Date</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Name of Branch</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Registration Date</td>
|
||||
<td><?php echo $DATE;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><br><br>Student's Sign</td>
|
||||
<td><br><br>Bank Stamp & Sign</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width="250">
|
||||
<table border="1" style="border-collapse: separate;width:100%;">
|
||||
<tr>
|
||||
<td>Bank</td><td>UBI Bank</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Account to be credited</td>
|
||||
<td>1595010061755</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Institution Name</td>
|
||||
<td>Sree Chaitanya College</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><center>Form No : <b>SCC19UG<?php echo $id;?></b></center></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Student's Name</td>
|
||||
<td><?php echo $STUDENT_NAME;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Mobile</td>
|
||||
<td><?php echo $MOBILE;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Amount</td>
|
||||
<td>300</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Transaction Charge</td>
|
||||
<td>46</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Total to be Paid</td>
|
||||
<td>346</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Transaction ID</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Transaction Date</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Name of Branch</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Registration Date</td>
|
||||
<td><?php echo $DATE;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><br><br>Student's Sign</td>
|
||||
<td><br><br>Bank Stamp & Sign</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3"><center>** Form no. will be used for Banking Record. * Chalan valid upto 06.08.16, Print this Chalan in <b>Landscape mode</b>, *Students May Contact on 9932326940 </center></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,49 @@
|
|||
<?php
|
||||
if (isset($_SESSION['email'])) {
|
||||
$conn = new mysqli(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DB);
|
||||
$s = $_SESSION['email'];
|
||||
$sql = "SELECT * FROM `".TABLE4."` WHERE `LOGIN_EMAIL` LIKE '%" . $s . "%'" . "";
|
||||
$result = mysqli_query($conn, $sql);
|
||||
if (mysqli_num_rows($result) > 0) {
|
||||
echo '<div class="container table-responsive text-center">
|
||||
<h1>' . $s . '</h1><hr>
|
||||
<table class="table table-bordered table-striped table-hover">
|
||||
<tr>
|
||||
<th>SL</th>
|
||||
<th>FORM ID (print form)</th>
|
||||
<th>STUDENT NAME</th>
|
||||
<th>MOBILE NO.</th>
|
||||
<th>APPLIED FOR</th>
|
||||
<th>PAYMENT STATUS</th>
|
||||
</tr>';
|
||||
$i = 0;
|
||||
$t01 = 0;
|
||||
$t02[0] = 0;
|
||||
while ($row = mysqli_fetch_assoc($result)) {
|
||||
$i++;
|
||||
$id = $row["ID"];
|
||||
$STUDENT_NAME = $row["NAME"];
|
||||
$MOBILE = $row["MOBILE"];
|
||||
$H_NM = $row["H_NM"];
|
||||
$AGGREGATE = $row["AGGREGATE"];
|
||||
$PAY_STATUS = $row["PAY_FORM"];
|
||||
echo '
|
||||
<tr>
|
||||
<td>' . $i . '</td>
|
||||
<td><a href="/PG_Admission_19/PRINT/print_form_pg?id='.$id.'" class="btn btn-primary" target="blank">SCC19PG'.$id.'</a></td>
|
||||
<td>' . $STUDENT_NAME . '</td>
|
||||
<td>' . $MOBILE . '</td>
|
||||
<td>' . $H_NM . '</td>
|
||||
';
|
||||
if($row["PAY_FORM"] === 'PAID') {
|
||||
echo '<td><p class="btn btn-success">PAID</p></td>';
|
||||
} else {
|
||||
echo '<td>Not Paid, <a class="btn btn-primary" target="blank" href="/PG_Admission_19/payment_pg?id=' . $id . '">MAKE PAYMENT</a></td>';
|
||||
}
|
||||
}
|
||||
echo ' </tr></table></div>';
|
||||
} else {
|
||||
echo "<div class='container text-center'><h2>No students for this Stream!</h2></div>";
|
||||
}
|
||||
}
|
||||
?>
|
|
@ -0,0 +1,68 @@
|
|||
<?php
|
||||
if (isset($_SESSION['email'])) {
|
||||
$conn = new mysqli(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DB);
|
||||
$s = $_SESSION['email'];
|
||||
$sql = "SELECT * FROM `".TABLE4."` WHERE `LOGIN_EMAIL` LIKE '%" . $s . "%'" . "";
|
||||
$result = mysqli_query($conn, $sql);
|
||||
if (mysqli_num_rows($result) > 0) {
|
||||
echo '<div class="container table-responsive text-center">
|
||||
<h1>' . $s . '</h1><hr>
|
||||
<table class="table table-bordered table-striped table-hover">
|
||||
<tr>
|
||||
<th>SL</th>
|
||||
<th>FORM ID (print form)</th>
|
||||
<th>STUDENT NAME</th>
|
||||
<th>MOBILE NO.</th>
|
||||
<th>APPLIED FOR</th>
|
||||
<th>Form Fee/Status</th>
|
||||
<th>Admission Fee/Status</th>
|
||||
</tr>';
|
||||
$i = 0;
|
||||
$t01 = 0;
|
||||
$t02[0] = 0;
|
||||
while ($row = mysqli_fetch_assoc($result)) {
|
||||
$i++;
|
||||
$id = $row["ID"];
|
||||
$STUDENT_NAME = $row["NAME"];
|
||||
$MOBILE = $row["MOBILE"];
|
||||
$H_NM = $row["H_NM"];
|
||||
$AGGREGATE = $row["AGGREGATE"];
|
||||
$PAY_STATUS = $row["PAY_FORM"];
|
||||
if($row["H_NM"]=='Bengali') $admission_amount=5900;else $admission_amount=7200;
|
||||
if($row["PAY_ADMISSION"]==NULL) $PAY_ADMISSION='Not Paid <!--, <a class="btn btn-primary" target="blank" href="/PG_Admission_19/payment_pg_Admission?id='.$id.'&amount='.$admission_amount.'">MAKE PAYMENT</a> -->'; else $PAY_ADMISSION="Paid";
|
||||
|
||||
//$MERIT_LIST = $row["MERIT_LIST"];
|
||||
echo '
|
||||
<tr>
|
||||
<td>' . $i . '</td>
|
||||
<td><a href="/PG_Admission_19/PRINT/print_form_pg?id='.$id.'" class="btn btn-primary" target="blank">SCC19PG'.$id.'</a></td>
|
||||
<td>' . $STUDENT_NAME . '</td>
|
||||
<td>' . $MOBILE . '</td>
|
||||
<td>' . $H_NM . '</td>
|
||||
';
|
||||
if($row["PAY_FORM"] === 'PAID') {
|
||||
echo '<td><p class="btn btn-success">PAID</p></td>';
|
||||
}
|
||||
else {
|
||||
echo '<td>Not Paid, Payment can not be made now</td>';
|
||||
}
|
||||
// else {
|
||||
// echo '<td>Not Paid, <a class="btn btn-primary" target="blank" href="/PG_Admission_19/payment_pg?id=' . $id . '">MAKE PAYMENT</a></td>';
|
||||
// }
|
||||
|
||||
if($row["PAY_ADMISSION"] === 'PAID') {
|
||||
echo '<td> Paid </td>';
|
||||
}
|
||||
// else echo "<td> Not Paid </td>";
|
||||
elseif($row["MERIT_LIST"] === NULL) {
|
||||
echo '<td> Not Listed </td>';
|
||||
} else {
|
||||
echo '<td>'.$admission_amount.' '.$PAY_ADMISSION.'</td>';
|
||||
}
|
||||
}
|
||||
echo ' </tr></table></div>';
|
||||
} else {
|
||||
echo "<div class='container text-center'><h2>No form found within your Gmail!</h2></div>";
|
||||
}
|
||||
}
|
||||
?>
|
|
@ -0,0 +1,64 @@
|
|||
<?php
|
||||
if (isset($_SESSION['email'])) {
|
||||
$conn = new mysqli(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DB);
|
||||
$s = $_SESSION['email'];
|
||||
$sql = "SELECT * FROM `".TABLE4."` WHERE `LOGIN_EMAIL` LIKE '%" . $s . "%'" . "";
|
||||
$result = mysqli_query($conn, $sql);
|
||||
if (mysqli_num_rows($result) > 0) {
|
||||
echo '<div class="container table-responsive text-center">
|
||||
<h1>' . $s . '</h1><hr>
|
||||
<table class="table table-bordered table-striped table-hover">
|
||||
<tr>
|
||||
<th>SL</th>
|
||||
<th>FORM ID (print form)</th>
|
||||
<th>STUDENT NAME</th>
|
||||
<th>MOBILE NO.</th>
|
||||
<th>APPLIED FOR</th>
|
||||
<th>Form Fee/Status</th>
|
||||
<th>Admission Fee/Status</th>
|
||||
</tr>';
|
||||
$i = 0;
|
||||
$t01 = 0;
|
||||
$t02[0] = 0;
|
||||
while ($row = mysqli_fetch_assoc($result)) {
|
||||
$i++;
|
||||
$id = $row["ID"];
|
||||
$STUDENT_NAME = $row["NAME"];
|
||||
$MOBILE = $row["MOBILE"];
|
||||
$H_NM = $row["H_NM"];
|
||||
$AGGREGATE = $row["AGGREGATE"];
|
||||
$PAY_STATUS = $row["PAY_FORM"];
|
||||
if($row["H_NM"]=='Bengali') $admission_amount=5900;else $admission_amount=7200;
|
||||
if($row["PAY_ADMISSION"]==NULL) $PAY_ADMISSION='Not Paid <!--, <a class="btn btn-primary" target="blank" href="/PG_Admission_19/payment_pg_Admission?id='.$id.'&amount='.$admission_amount.'">MAKE PAYMENT</a> -->'; else $PAY_ADMISSION="Paid";
|
||||
|
||||
//$MERIT_LIST = $row["MERIT_LIST"];
|
||||
echo '
|
||||
<tr>
|
||||
<td>' . $i . '</td>
|
||||
<td><a href="/PG_Admission_19/PRINT/print_form_pg?id='.$id.'" class="btn btn-primary" target="blank">SCC19PG'.$id.'</a></td>
|
||||
<td>' . $STUDENT_NAME . '</td>
|
||||
<td>' . $MOBILE . '</td>
|
||||
<td>' . $H_NM . '</td>
|
||||
';
|
||||
if($row["PAY_FORM"] === 'PAID') {
|
||||
echo '<td><p class="btn btn-success">PAID</p></td>';
|
||||
} else {
|
||||
echo '<td>Not Paid, <a class="btn btn-primary" target="blank" href="/PG_Admission_19/payment_pg?id=' . $id . '">MAKE PAYMENT</a></td>';
|
||||
}
|
||||
|
||||
if($row["PAY_ADMISSION"] === 'PAID') {
|
||||
echo '<td> Paid </td>';
|
||||
}
|
||||
// else echo "<td> Not Paid </td>";
|
||||
elseif($row["MERIT_LIST"] === NULL) {
|
||||
echo '<td> Not Listed </td>';
|
||||
} else {
|
||||
echo '<td>'.$admission_amount.' '.$PAY_ADMISSION.'</td>';
|
||||
}
|
||||
}
|
||||
echo ' </tr></table></div>';
|
||||
} else {
|
||||
echo "<div class='container text-center'><h2>No form found within your Gmail!</h2></div>";
|
||||
}
|
||||
}
|
||||
?>
|
|
@ -0,0 +1 @@
|
|||
404
|
|
@ -0,0 +1,3 @@
|
|||
</body>
|
||||
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<title>Admin Panel Demo College</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="/asset/css/bootstrap.min.css">
|
||||
<script src="/asset/js/jquery.min.js"></script>
|
||||
<script src="/asset/js/bootstrap.min.js"></script>
|
||||
<style>
|
||||
table th{
|
||||
vertical-align:middle !important;
|
||||
text-align:center;
|
||||
padding:6px !important;
|
||||
}
|
||||
/*table td{
|
||||
vertical-align:middle !important;
|
||||
text-align:center;
|
||||
padding:4px !important;
|
||||
}*/
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
$lnk2 = explode('?', $lnk);
|
||||
include("ADMISSION_HEADER.php");//echo $lnk."c";
|
||||
if($lnk=="") include("home.php");
|
||||
elseif(file_exists(__DIR__."/".$lnk.".php")) include($lnk.".php");
|
||||
elseif(isset($lnk2[1]) && file_exists(__DIR__."/".$lnk2[0].".php") ) include($lnk2[0].".php");
|
||||
else include("404.php");
|
||||
include("ADMISSION_FOOTER.php");
|
||||
?>
|
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
$conn = new mysqli(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DB);
|
||||
$list= urldecode($_GET['list']);
|
||||
$stream= urldecode($_GET['stream']);
|
||||
$sql = "SELECT * FROM `".TABLE4."` WHERE `PAY_FORM` LIKE 'PAID' AND `MERIT_LIST`= '".$list."' AND `H_NM` LIKE '%".$stream."%'" ."ORDER BY AGGREGATE DESC";
|
||||
$result = mysqli_query($conn, $sql);
|
||||
if (mysqli_num_rows($result) > 0) {
|
||||
echo'<div class="table-responsive text-center text-uppercase">
|
||||
<h1>'.$stream.' Merit List</h1><hr>
|
||||
<table class="table table-bordered table-striped table-hover">
|
||||
<tr>
|
||||
<th>SL</th>
|
||||
<th>STUDENT ID</th>
|
||||
<th>STUDENT NAME</th>
|
||||
<th>AGGREGATE MARKS</th>
|
||||
<th>MERIT LIST</th>
|
||||
</tr>';
|
||||
$i=0;
|
||||
while($row = mysqli_fetch_assoc($result)){
|
||||
$i++;
|
||||
$id = $row["ID"];
|
||||
$STUDENT_NAME = $row["NAME"];
|
||||
$MOBILE = $row["MOBILE"];
|
||||
$Aggregate = $row["AGGREGATE"];
|
||||
$GEN_HONOURS = $row["H_NM"];
|
||||
$MERIT_LIST = $row["MERIT_LIST"];
|
||||
echo '
|
||||
<tr>
|
||||
<td>'.$i.'</td>
|
||||
<td>SCC19PG'.$id.'</td>
|
||||
<td>'.$STUDENT_NAME.'</td>
|
||||
<td>'.$Aggregate.'</td>
|
||||
<td>'.$MERIT_LIST.'</td>
|
||||
</tr>';
|
||||
|
||||
|
||||
}echo ' </table></div>';
|
||||
} else { echo "<div class='container text-center'><h2>No students for this Stream!</h2></div>";}
|
||||
?>
|
|
@ -0,0 +1,294 @@
|
|||
<?php
|
||||
$conn = new mysqli(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DB);
|
||||
$fno= $_GET['id'];
|
||||
$sql = "SELECT * FROM `".TABLE4."` WHERE `ID` = ".$fno;
|
||||
$result = mysqli_query($conn, $sql);
|
||||
if (mysqli_num_rows($result) > 0) {
|
||||
while($row = mysqli_fetch_assoc($result)) {
|
||||
|
||||
$id = $row["ID"];
|
||||
$STUDENT_NAME = $row["NAME"];
|
||||
$MOBILE = $row["MOBILE"];
|
||||
$DATE = substr($row["DATESTAMP"],0,10);
|
||||
$GEN_HONOURS = $row["H_NM"];
|
||||
|
||||
|
||||
} } else { echo " Some Error ! "; exit();}
|
||||
//$SID='H16'.$_GET['f']; //Hons-Session 16-- 2char Hons Subject --RESERVATION_CATEGORY--SL
|
||||
//if($GENORHONS=="stream1")$HNSS="BENGALI";if($GENORHONS=="stream2")$HNSS="ENGLISH";if($GENORHONS=="stream3")$HNSS="EDUCATION";if($GENORHONS=="stream4")$HNSS="POL. SC.";if($GENORHONS=="stream5")$HNSS="SOCIOLOGY";if($GENORHONS=="stream6")$HNSS="GENERAL";
|
||||
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<!--<link rel="stylesheet" href="/asset/css/admission_form.css" type="text/css">-->
|
||||
<style>
|
||||
.header-block{
|
||||
padding: 5px;
|
||||
display: table;
|
||||
border: 1px solid #eee;
|
||||
}
|
||||
.text-block h1{
|
||||
color: #032ba2;
|
||||
margin-bottom: 3px;
|
||||
font-size: 20px;
|
||||
font-family: 'Spectral SC', serif;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.table{
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
.table td,
|
||||
.table th {
|
||||
border: 1px solid #ddd;
|
||||
padding: 4px;
|
||||
}
|
||||
.table tr:nth-child(even) {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.table tr:hover {
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
.table th {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
text-align: left;
|
||||
background-color: #ff9742;
|
||||
color: white;
|
||||
}
|
||||
.form_header{
|
||||
height:250px;
|
||||
}
|
||||
.form_header_txt{
|
||||
width:500px;
|
||||
}
|
||||
.logo_txt{
|
||||
font-size:36px;
|
||||
text-align:center;
|
||||
color:#0973B3;
|
||||
}
|
||||
.small_txt_center{
|
||||
width:500px;
|
||||
text-align:center;
|
||||
font-size:.9em;
|
||||
}
|
||||
.sbmt{
|
||||
margin-top:15px;
|
||||
padding:10px;
|
||||
}
|
||||
form#ug_admission > fieldset > input , select.inpt_01 {
|
||||
width:740px;
|
||||
margin-bottom:15px;
|
||||
border-top:0;
|
||||
border-left:0px;
|
||||
border-bottom:2px solid #B4B0F9;
|
||||
font-size:1.3em;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table class="table" border="1" style="border-collapse: separate">
|
||||
<tr>
|
||||
<td style="width:50px;border:none;text-align:center;">
|
||||
<img style="width:60px;" src="/asset/img/scc_logo.png" alt="logo">
|
||||
</td>
|
||||
<td class="text-block" colspan="2" style="border:none;">
|
||||
<h1>Sreechaitanya College</h1>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><center><b>Admission Form Chalan</b> - Bank Copy -<b> ( <?php echo $GEN_HONOURS;?> )</center></td>
|
||||
<td><center><b>Admission Form Chalan</b> - Student Copy -<b> ( <?php echo $GEN_HONOURS;?> ) </b></center></td>
|
||||
<td><center><b>Admission Form Chalan</b> - College Copy -<b> ( <?php echo $GEN_HONOURS;?> )</center></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="250px">
|
||||
<table border="1" style="border-collapse: separate;width:100%;">
|
||||
<tr>
|
||||
<td>Bank</td>
|
||||
<td>UBI Bank</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Account to be credited</td>
|
||||
<td>1595010061755</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Institution Name</td>
|
||||
<td>Sree Chaitanya College</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><center>Form No : <b>SCC19PG<?php echo $id;?></b></center></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Student's Name</td>
|
||||
<td><?php echo $STUDENT_NAME;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Mobile</td>
|
||||
<td><?php echo $MOBILE;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Amount</td>
|
||||
<td>300</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Transaction Charge</td>
|
||||
<td>46</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Total to be Paid</td>
|
||||
<td>346</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Transaction ID</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Transaction Date</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Name of Branch</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Registration Date</td>
|
||||
<td><?php echo $DATE;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><br><br>Student's Sign</td>
|
||||
<td><br><br>Bank Stamp & Sign</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width="250">
|
||||
<table border="1" style="border-collapse: separate;width:100%;">
|
||||
<tr>
|
||||
<td>Bank</td>
|
||||
<td>UBI Bank</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Account to be credited</td>
|
||||
<td>1595010061755</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Institution Name</td>
|
||||
<td>Sree Chaitanya College</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><center>Form No : <b>SCC19PG<?php echo $id;?></b></center></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Student's Name</td>
|
||||
<td><?php echo $STUDENT_NAME;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Mobile</td>
|
||||
<td><?php echo $MOBILE;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Amount</td>
|
||||
<td>300</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Transaction Charge</td>
|
||||
<td>46</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Total to be Paid</td>
|
||||
<td>346</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Transaction ID</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Transaction Date</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Name of Branch</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Registration Date</td>
|
||||
<td><?php echo $DATE;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><br><br>Student's Sign</td>
|
||||
<td><br><br>Bank Stamp & Sign</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width="250">
|
||||
<table border="1" style="border-collapse: separate;width:100%;">
|
||||
<tr>
|
||||
<td>Bank</td><td>UBI Bank</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Account to be credited</td>
|
||||
<td>1595010061755</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Institution Name</td>
|
||||
<td>Sree Chaitanya College</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><center>Form No : <b>SCC19PG<?php echo $id;?></b></center></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Student's Name</td>
|
||||
<td><?php echo $STUDENT_NAME;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Mobile</td>
|
||||
<td><?php echo $MOBILE;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Amount</td>
|
||||
<td>300</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Transaction Charge</td>
|
||||
<td>46</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Total to be Paid</td>
|
||||
<td>346</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Transaction ID</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Transaction Date</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Name of Branch</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Registration Date</td>
|
||||
<td><?php echo $DATE;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><br><br>Student's Sign</td>
|
||||
<td><br><br>Bank Stamp & Sign</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3"><center>** Form no. will be used for Banking Record. * Chalan valid upto 06.08.16, Print this Chalan in <b>Landscape mode</b>, *Students May Contact on 9932326940 </center></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,132 @@
|
|||
<?php
|
||||
$conn = new mysqli(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DB);
|
||||
$fno= $_GET['id'];
|
||||
$sql = "SELECT * FROM `".TABLE4."` WHERE `id` = ".$fno;
|
||||
$result = mysqli_query($conn, $sql);
|
||||
if (mysqli_num_rows($result) > 0) {
|
||||
while($row = mysqli_fetch_assoc($result)) {
|
||||
|
||||
$STUDENT_NAME = $row["NAME"];
|
||||
$MOBILE = $row["MOBILE"];
|
||||
$EMAIL = $row["EMAIL"];
|
||||
$FATHER_NAME = $row["FATHER_NAME"];
|
||||
$GUARDIAN_NAME = $row["GUARDIAN_NAME"];
|
||||
$ADDRESS = nl2br($row["ADDRESS"]);
|
||||
$DOB = $row["DOB_DATE"] .'/'. $row["DOB_MONTH"] . '/' . $row["DOB_YEAR"];
|
||||
$GENDER = $row["GENDER"];
|
||||
$RELIGION = $row["RELIGION"];
|
||||
$CASTE = $row["CASTE"];
|
||||
$DISABILITY = $row["DISABILITY"];
|
||||
$BLOOD_GROUP = $row["BLOOD_GROUP"];
|
||||
$UNIVERSITY = $row["UNIVERSITY"];
|
||||
$COLLEGE = $row["COLLEGE"];
|
||||
$H_NM = $row["H_NM"];
|
||||
$PASS_YEAR = $row["YEAR_OF_PASSING"];
|
||||
$HS_SUB_NAME1 = $row["H_NM"];
|
||||
$HS_SUB_MARK1 = $row["H_MO"];
|
||||
$HS_SUB_NAME2 = $row["G1_NM"];
|
||||
$HS_SUB_MARK2 = $row["G1_MO"];
|
||||
$HS_SUB_NAME3 = $row["G2_NM"];
|
||||
$HS_SUB_MARK3 = $row["G2_MO"];
|
||||
//$Aggregate = ($HS_SUB_MARK1 + $HS_SUB_MARK2 + $HS_SUB_MARK3);
|
||||
|
||||
}
|
||||
}
|
||||
else {echo " Some Error ! "; exit();}
|
||||
?>
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="/asset/css/admission_form.css" type="text/css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="admission_form">
|
||||
<div class="header-block">
|
||||
<div class="img-block">
|
||||
<img class="logo_img" src="/asset/img/scc_logo.png" alt="logo">
|
||||
</div>
|
||||
<div class="text-block">
|
||||
<h1>Sreechaitanya College</h1>
|
||||
<p>Habra(Arts & Science)</p>
|
||||
<p>Prafullanagar, Habra, 24PGS(N) PIN-743268, WB</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="hr_margin"><center style="background-color:#ff9742;color:white;padding:5px;">PG ADMISSION FORM 2019-20 </center><hr class="hr_margin">
|
||||
<table><td style="width:75%"> Session : 2019-20 </td><td style="width:25%"> Form No: SCC19PG<?php echo $fno;?><td></table>
|
||||
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td width="130px">
|
||||
<img src="/CONTENT/ROOT_URI/PG_Admission_19/uploads/photo/<?php echo $fno;?>.jpg" style="width:100%;height:auto;border-radius:3px;border:1px solid #f3f3f3;">
|
||||
</td>
|
||||
<td>
|
||||
<table class="table" height="150px">
|
||||
<tr>
|
||||
<td width=50%>Student's Name</td>
|
||||
<td><?php echo $STUDENT_NAME;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Applying For</td>
|
||||
<td><?php echo $H_NM. ' (YOP - '.$PASS_YEAR.')';?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="table">
|
||||
<tr>
|
||||
<td width=50%>Gender : <?php echo $GENDER;?></td>
|
||||
<td>Father's Name : <?php echo $FATHER_NAME;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Date Of Birth : <?php echo $DOB;?></td>
|
||||
<td>Mobile No : <?php echo $MOBILE;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>E-mail : <?php echo $EMAIL;?></td>
|
||||
<td>Blood Group : <?php echo $BLOOD_GROUP;?></td>
|
||||
</tr><tr>
|
||||
<td>Reservation Category : <?php echo $CASTE;?></td>
|
||||
<td>Physical Disability : <?php echo $DISABILITY;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>NAME of The University : <?php echo $UNIVERSITY;?></td>
|
||||
<td>NAME of The College : <?php echo $COLLEGE;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" style="text-align:left;">Address : <?php echo $ADDRESS;?></td>
|
||||
</tr>
|
||||
</table><br>
|
||||
<table class="table" style="width:500px; margin-left:auto;margin-right:auto;">
|
||||
<tr>
|
||||
<th>Applied Subjects</th>
|
||||
<th>Marks Obtained</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=50%><?php echo $HS_SUB_NAME1;?></td>
|
||||
<td><?php echo $HS_SUB_MARK1;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $HS_SUB_NAME2;?></td>
|
||||
<td><?php echo $HS_SUB_MARK2;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $HS_SUB_NAME3;?></td>
|
||||
<td><?php echo $HS_SUB_MARK3;?></td>
|
||||
</tr>
|
||||
</table><br>
|
||||
<table>
|
||||
<tr>
|
||||
<td width="500px"></td>
|
||||
<td><img src="/CONTENT/ROOT_URI/PG_Admission_19/uploads/sign/<?php echo $fno;?>.jpg" style="width:auto;height:75px;"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Print Date : <?php echo date("Y-m-d");?></td><td><center>Student's Signature<center></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<body>
|
||||
</html>
|
|
@ -0,0 +1,161 @@
|
|||
<?php
|
||||
$conn = new mysqli(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DB);
|
||||
$fno= $_GET['id'];
|
||||
$sql = "SELECT * FROM `admission` WHERE `id` = ".$fno;
|
||||
$result = mysqli_query($conn, $sql);
|
||||
if (mysqli_num_rows($result) > 0) {
|
||||
while($row = mysqli_fetch_assoc($result)) {
|
||||
|
||||
$STUDENT_NAME = $row["STUDENT_NAME"];
|
||||
$MOBILE = $row["MOBILE"];
|
||||
$EMAIL = $row["EMAIL"];
|
||||
$FATHER_NAME = $row["FATHER_NAME"];
|
||||
$GUARDIAN_NAME = $row["GUARDIAN_NAME"];
|
||||
$ADDRESS = nl2br($row["ADDRESS"]);
|
||||
$DOB = $row["DOB"];
|
||||
$GENDER = $row["GENDER"];
|
||||
$RELIGION = $row["RELIGION"];
|
||||
$RESERVATION_CATEGORY = $row["RESERVATION_CATEGORY"];
|
||||
$PHYSICAL_DISABLITY = $row["PHYSICAL_DISABLITY"];
|
||||
$BLOOD_GROUP = $row["BLOOD_GROUP"];
|
||||
$HS_INSTITUTION = $row["HS_INSTITUTION"];
|
||||
$HS_BOARD = $row["HS_BOARD"];
|
||||
$HS_EXAM_NAME = $row["HS_EXAM_NAME"];
|
||||
$GEN_HONOURS = $row["GEN_HONOURS"];
|
||||
$HS_PASS_YEAR = $row["HS_PASS_YEAR"];
|
||||
$HS_SUB_NAME1 = $row["HS_SUB_NAME1"];
|
||||
$HS_SUB_MARK1 = $row["HS_SUB_MARK1"];
|
||||
$HS_SUB_NAME2 = $row["HS_SUB_NAME2"];
|
||||
$HS_SUB_MARK2 = $row["HS_SUB_MARK2"];
|
||||
$HS_SUB_NAME3 = $row["HS_SUB_NAME3"];
|
||||
$HS_SUB_MARK3 = $row["HS_SUB_MARK3"];
|
||||
$HS_SUB_NAME4 = $row["HS_SUB_NAME4"];
|
||||
$HS_SUB_MARK4 = $row["HS_SUB_MARK4"];
|
||||
$HS_SUB_NAME5 = $row["HS_SUB_NAME5"];
|
||||
$HS_SUB_MARK5 = $row["HS_SUB_MARK5"];
|
||||
$DATE = substr($row["DATESTAMP"],0,10);
|
||||
$Aggregate = $row["HS_SUB_AGG"];
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
else {echo " Some Error ! "; exit();}
|
||||
?>
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="/asset/css/admission_form.css" type="text/css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="admission_form">
|
||||
<div class="header-block">
|
||||
<div class="img-block">
|
||||
<img class="logo_img" src="/asset/img/amdanga_logo.png" alt="logo">
|
||||
</div>
|
||||
<div class="text-block">
|
||||
<h1>DEMO COLLEGE NAME</h1>
|
||||
<p>TAG 1</p>
|
||||
<p>TAG 2</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="hr_margin"><center style="background-color:#ff9742;color:white;padding:5px;">PG ADMISSION FORM 2019-20 </center><hr class="hr_margin">
|
||||
<table><td style="width:75%"> Session : 2019-20 </td><td style="width:25%"> Form No: SCC19UG<?php echo $fno;?><td></table>
|
||||
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td width="130px">
|
||||
<img src="/CONTENT/ROOT_URI/Admission/uploads/photo/<?php echo $fno;?>.jpg" style="width:100%;height:auto;border-radius:3px;border:1px solid #f3f3f3;">
|
||||
</td>
|
||||
<td>
|
||||
<table class="table" height="150px">
|
||||
<tr>
|
||||
<td width=50%>Student ID - </td>
|
||||
<td><?php echo 'SCC19UG'.$fno;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Applying For - </td>
|
||||
<td><?php echo $GEN_HONOURS;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Aggregate Marks - </td>
|
||||
<td><?php echo $Aggregate;?> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="table">
|
||||
<tr>
|
||||
<td width=50%>Student's Name :- <?php echo $STUDENT_NAME;?></td>
|
||||
<td>Father's Name :- <?php echo $FATHER_NAME;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Date Of Birth :- <?php echo $DOB;?></td>
|
||||
<td>Gender :- <?php echo $GENDER;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Reservation Category :- <?php echo $RESERVATION_CATEGORY;?></td>
|
||||
<td>Physical Disability :- <?php echo $PHYSICAL_DISABLITY;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Blood Group :- <?php echo $BLOOD_GROUP;?></td>
|
||||
<td>Mobile No :- <?php echo $MOBILE;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>E-mail :- <?php echo $EMAIL;?></td>
|
||||
<td>NAME of The Institute :- <?php echo $HS_INSTITUTION;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>NAME of The Board :- <?php echo $HS_BOARD;?></td>
|
||||
<td>Examination :- <?php echo $HS_EXAM_NAME;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Year of Passing :- <?php echo $HS_PASS_YEAR;?></td>
|
||||
<td>Address :- <?php echo $ADDRESS;?></td>
|
||||
</tr>
|
||||
</table><br>
|
||||
<table class="table" style="width:500px; margin-left:auto;margin-right:auto;">
|
||||
<tr>
|
||||
<th>Applied Subjects</th>
|
||||
<th>Marks Obtained</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=50%><?php echo $HS_SUB_NAME1;?></td>
|
||||
<td><?php echo $HS_SUB_MARK1;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $HS_SUB_NAME2;?></td>
|
||||
<td><?php echo $HS_SUB_MARK2;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $HS_SUB_NAME3;?></td>
|
||||
<td><?php echo $HS_SUB_MARK3;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $HS_SUB_NAME4;?></td>
|
||||
<td><?php echo $HS_SUB_MARK4;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $HS_SUB_NAME5;?></td>
|
||||
<td><?php echo $HS_SUB_MARK5;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo "Aggregate Marks";?></td>
|
||||
<td><?php echo $Aggregate;?></td>
|
||||
</tr>
|
||||
</table><br>
|
||||
<table>
|
||||
<tr>
|
||||
<td width="500px">Date Of Submission : <?php echo $DATE;?></td>
|
||||
<td><img src="/CONTENT/ROOT_URI/Admission/uploads/sign/<?php echo $fno;?>.jpg" style="width:auto;height:75px;"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Print Date : <?php echo date("Y-m-d");?></td><td><center>Student's Signature<center></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<body>
|
||||
</html>
|
|
@ -0,0 +1,196 @@
|
|||
<?php
|
||||
|
||||
if( isset($_POST['formid']) && $_POST['formid']=='BMMV_PG_19')
|
||||
{ // var_dump($_POST);
|
||||
$admission["NAME"] = $_POST["NAME"];
|
||||
$admission["MOBILE"] = $_POST["MOBILE"];
|
||||
$admission["EMAIL"] = $_POST["EMAIL"];
|
||||
$admission["LOGIN_EMAIL"] = $_SESSION['email'];
|
||||
$admission["FATHER_NAME"] = $_POST["FATHER_NAME"];
|
||||
$admission["GUARDIAN_NAME"] = $_POST["GUARDIAN_NAME"];
|
||||
$admission["ADDRESS"] = $_POST["ADDRESS"];
|
||||
$admission["DOB_DATE"] = $_POST["DOB_DATE"];
|
||||
$admission["DOB_MONTH"] = $_POST["DOB_MONTH"];
|
||||
$admission["DOB_YEAR"] = $_POST["DOB_YEAR"];
|
||||
$admission["GENDER"] = $_POST["GENDER"];
|
||||
$admission["RELIGION"] = $_POST["RELIGION"];
|
||||
$admission["CASTE"] = $_POST["CASTE"];
|
||||
$admission["DISABILITY"] = $_POST["DISABILITY"];
|
||||
$admission["BLOOD_GROUP"] = $_POST["BLOOD_GROUP"];
|
||||
$admission["BLOOD_DONATED"] = $_POST["BLOOD_DONATED"];
|
||||
$admission["UNIVERSITY"] = $_POST["UNIVERSITY"];
|
||||
$admission["COLLEGE"] = $_POST["COLLEGE"];
|
||||
$admission["YEAR_OF_PASSING"] = $_POST["YEAR_OF_PASSING"];
|
||||
$admission["H_NM"] = $_POST["H_NM"];
|
||||
$admission["H_FM"] = $_POST["H_FM"];
|
||||
$admission["H_PM"] = $_POST["H_PM"];
|
||||
$admission["H_MO"] = $_POST["H_MO"];
|
||||
$admission["G1_NM"] = $_POST["G1_NM"];
|
||||
$admission["G1_FM"] = $_POST["G1_FM"];
|
||||
$admission["G1_PM"] = $_POST["G1_PM"];
|
||||
$admission["G1_MO"] = $_POST["G1_MO"];
|
||||
$admission["G2_NM"] = $_POST["G2_NM"];
|
||||
$admission["G2_FM"] = $_POST["G2_FM"];
|
||||
$admission["G2_PM"] = $_POST["G2_PM"];
|
||||
$admission["G2_MO"] = $_POST["G2_MO"];
|
||||
$AGGREGATE = $_POST["H_MO"] + $_POST["G1_MO"] + $_POST["G2_MO"];
|
||||
|
||||
|
||||
$conn = new mysqli(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DB);
|
||||
if($conn->connect_error) echo "115";//die("Connection failed: " . $conn->connect_error);
|
||||
else{
|
||||
mysqli_set_charset($conn,"utf8");
|
||||
|
||||
$stmt = $conn->prepare("INSERT INTO ".$GLOBALS['table4']. " (`NAME`,`MOBILE`,EMAIL,LOGIN_EMAIL,`FATHER_NAME`, `GUARDIAN_NAME`, `ADDRESS`,`DOB_DATE`,`DOB_MONTH`,`DOB_YEAR`,`GENDER`, `RELIGION`, `CASTE`, `DISABILITY`, `BLOOD_GROUP`, `BLOOD_DONATED`, `UNIVERSITY`, `COLLEGE`, `YEAR_OF_PASSING`, `H_NM`, `H_FM`, `H_PM`, `H_MO`, `G1_NM`, `G1_FM`, `G1_PM`, `G1_MO`, `G2_NM`, `G2_FM`, `G2_PM`, `G2_MO`, `AGGREGATE`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,?,?)");
|
||||
|
||||
$stmt->bind_param("ssssssssssssssssssssssssssssssss", $admission["NAME"],$admission["MOBILE"],$admission["EMAIL"], $admission["LOGIN_EMAIL"], $admission["FATHER_NAME"],$admission["GUARDIAN_NAME"],$admission["ADDRESS"],$admission["DOB_DATE"],$admission["DOB_MONTH"],$admission["DOB_YEAR"],$admission["GENDER"],$admission["RELIGION"],$admission["CASTE"],$admission["DISABILITY"],$admission["BLOOD_GROUP"],$admission["BLOOD_DONATED"],$admission["UNIVERSITY"],$admission["COLLEGE"],$admission["YEAR_OF_PASSING"],$admission["H_NM"],$admission["H_FM"],$admission["H_PM"],$admission["H_MO"],$admission["G1_NM"],$admission["G1_FM"],$admission["G1_PM"],$admission["G1_MO"],$admission["G2_NM"],$admission["G2_FM"],$admission["G2_PM"],$admission["G2_MO"], $AGGREGATE);
|
||||
//echo "116";
|
||||
if($stmt->execute()){
|
||||
$echoinfo01= '<div class="container" style="max-width:768px;"><h3>Application Form Successfully Submitted !</h3><h3>Now proceed to print</p></div><div class="container" style="max-width:768px;"><a href="/PG_Admission_19/PRINT/print_form_pg?id='.mysqli_insert_id($conn). '" target="_blank" class="button"><span>Print Form</span></a>
|
||||
|
||||
<a href="/PG_Admission_19/payment_pg?id=' . mysqli_insert_id($conn) . '" target="_blank" class="button"><span>Online Payment</span></a>
|
||||
|
||||
<!--<a href="/PG_Admission_19/PRINT/print_chalan_pg?id='.mysqli_insert_id($conn).'" target="_blank" class="button"><span>Print Chalan</span></a>-->
|
||||
|
||||
</div>';
|
||||
}
|
||||
else{
|
||||
echo "Error: <br> Contact Web admin " .mysqli_error($conn); exit();
|
||||
}$tsid=mysqli_insert_id($conn);
|
||||
$stmt->close();
|
||||
}$conn->close();
|
||||
|
||||
$okk=0;
|
||||
|
||||
$target_dir = getcwd(). "/CONTENT/ROOT_URI/PG_Admission_19/uploads/photo/";
|
||||
$target_file = $target_dir . $tsid.'.jpg';
|
||||
$uploadOk = 1;
|
||||
$imageFileType = 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 "Photo -File is not an image. <br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Check if file already exists
|
||||
if (file_exists($target_file)) {
|
||||
echo "Photo -File , file already exists, contact web admin <br> ";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Check file size
|
||||
if ( $_FILES["Photo"]["size"] >150000) {
|
||||
echo "Photo -File maintain file size. <br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Allow certain file formats
|
||||
if($imageFileType != "jpg" ) {
|
||||
echo "Photo -File , only JPG files are allowed. <br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Check if $uploadOk is set to 0 by an error
|
||||
if ($uploadOk == 0) {
|
||||
echo "Photo -File , your file was not uploaded. <br>";
|
||||
// if everything is ok, try to upload file
|
||||
} else {
|
||||
if (move_uploaded_file($_FILES["Photo"]["tmp_name"], $target_file)) {
|
||||
echo "<div class='container' style='max-width:768px;'><h3>The Photo -File ". basename( $_FILES["Photo"]["name"])." has been uploaded.</h3><br></div>"; $okk=$okk+1;
|
||||
} else {
|
||||
echo "<div class='container' style='max-width:768px;'><h3>Photo -File , there was an error uploading your file.</h3><br></div>";
|
||||
}
|
||||
}
|
||||
$target_dir = getcwd(). "/CONTENT/ROOT_URI/PG_Admission_19/uploads/sign/";
|
||||
$target_file = $target_dir . $tsid.'.jpg';
|
||||
$uploadOk = 1;
|
||||
$imageFileType = pathinfo($target_file,PATHINFO_EXTENSION);
|
||||
// Check if image file is a actual image or fake image
|
||||
if(isset($_POST["submit"])) {
|
||||
$check = getimagesize($_FILES["sign"]["tmp_name"]);
|
||||
if($check !== false) {
|
||||
echo "<h3>File is an image - " . $check["mime"] . ".</h3><br>";
|
||||
$uploadOk = 1;
|
||||
} else {
|
||||
echo "<h3>Sign - File is not an image.</h3><br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
}
|
||||
// Check if file already exists
|
||||
if (file_exists($target_file)) {
|
||||
echo "<h3>Sign - , file already exists, contact web admin</h3><br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Check file size
|
||||
if ( $_FILES["sign"]["size"] >150000) {
|
||||
echo "<h3>Sign - maintain file size.</h3><br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Allow certain file formats
|
||||
if($imageFileType != "jpg" ) {
|
||||
echo "<h3>Sign - , only JPG files are allowed.</h3><br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Check if $uploadOk is set to 0 by an error
|
||||
if ($uploadOk == 0) {
|
||||
echo "<h3>Sign - , your file was not uploaded.</h3><br>";
|
||||
// if everything is ok, try to upload file
|
||||
} else {
|
||||
if (move_uploaded_file($_FILES["sign"]["tmp_name"], $target_file)) {
|
||||
echo "<div class='container' style='max-width:768px;'><h3>Sign - file ". basename( $_FILES["sign"]["name"]). " has been uploaded.</h3><br></div>"; $okk=$okk+1;
|
||||
} else {
|
||||
echo "<div class='container' style='max-width:768px;'><h3>Sign - , there was an error uploading your file.</h3><br></div>";
|
||||
}
|
||||
}
|
||||
|
||||
$target_dir = getcwd(). "/CONTENT/ROOT_URI/PG_Admission_19/uploads/mark/";
|
||||
$target_file = $target_dir . $tsid.'.jpg';
|
||||
$uploadOk = 1;
|
||||
$imageFileType = pathinfo($target_file,PATHINFO_EXTENSION);
|
||||
// Check if image file is a actual image or fake image
|
||||
if(isset($_POST["submit"])) {
|
||||
$check = getimagesize($_FILES["mark"]["tmp_name"]);
|
||||
if($check !== false) {
|
||||
echo "<h3>File is an image - " . $check["mime"] . ".</h3><br>";
|
||||
$uploadOk = 1;
|
||||
} else {
|
||||
echo "<h3>Marksheet -File is not an image.</h3><br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Check if file already exists
|
||||
if (file_exists($target_file)) {
|
||||
echo "<h3>Marksheet file already exists, contact web admin</h3><br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Check file size
|
||||
if ( $_FILES["mark"]["size"] >150000) {
|
||||
echo "<h3>Marksheet -File maintain file size.</h3><br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Allow certain file formats
|
||||
if($imageFileType != "jpg" ) {
|
||||
echo "<h3>Marksheet -File , only JPG files are allowed.</h3><br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Check if $uploadOk is set to 0 by an error
|
||||
if ($uploadOk == 0) {
|
||||
echo "<h3>Marksheet -File, your file was not uploaded.</h3><br>";
|
||||
// if everything is ok, try to upload file
|
||||
} else {
|
||||
if (move_uploaded_file($_FILES["mark"]["tmp_name"], $target_file)) {
|
||||
echo "<div class='container' style='max-width:768px;'><h3>Marksheet file ". basename( $_FILES["mark"]["name"]). " has been uploaded.</h3><br></div>"; $okk=$okk+1;
|
||||
} else {
|
||||
echo "<div class='container' style='max-width:768px;'><h3>Marksheet -File, optional.</h3><br></div>";
|
||||
}
|
||||
}
|
||||
|
||||
if($okk>1){
|
||||
echo $echoinfo01;
|
||||
} else echo '<h2> Fill up the admission form again </h2>';
|
||||
}
|
||||
?>
|
|
@ -0,0 +1 @@
|
|||
<center style="margin:150px; color:red;"><h1>ERROR: 404</h1></center>
|
|
@ -0,0 +1,3 @@
|
|||
</body>
|
||||
|
||||
</html>
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<title>Admin Panel Amdanga College</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="/asset/css/bootstrap.min.css">
|
||||
<script src="/asset/js/jquery.min.js"></script>
|
||||
<script src="/asset/js/bootstrap.min.js"></script>
|
||||
<style>
|
||||
table th{
|
||||
vertical-align:middle !important;
|
||||
text-align:center;
|
||||
padding:6px !important;
|
||||
}
|
||||
table td{
|
||||
vertical-align:middle !important;
|
||||
text-align:center;
|
||||
padding:4px !important;
|
||||
}
|
||||
.mr{
|
||||
margin-right:20px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!-- nav start -->
|
||||
|
||||
<?php $ua = getBrowser();
|
||||
if ($ua['Device'] == "Mobile") include "menu.php";
|
||||
else include "menu.php";
|
||||
?>
|
|
@ -0,0 +1,49 @@
|
|||
<?php
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$s= urldecode($_GET['s']);
|
||||
$sql = "SELECT * FROM `admission` WHERE `MERIT_LIST` IS NOT NULL AND `GEN_HONOURS` LIKE '%".$s."%'" ."ORDER BY HS_SUB_AGG DESC";
|
||||
$result = mysqli_query($conn, $sql);
|
||||
if (mysqli_num_rows($result) > 0) {
|
||||
echo'<div class="container table-responsive">
|
||||
<table class="table table-bordered table-striped table-hover">
|
||||
<tr>
|
||||
<th>SL</th>
|
||||
<th>FORM ID</th>
|
||||
<th>STUDENT NAME</th>
|
||||
<th>STUDENT PHOTO</th>
|
||||
<th>MOBILE NO.</th>
|
||||
<th>HONOURS</th>
|
||||
<th>AGGREGATE MARKS</th>
|
||||
<th>FORM CHALAN</th>
|
||||
<th>ADMISSION CHALAN</th>
|
||||
<th>MERIT LIST</th>
|
||||
</tr>';
|
||||
$i=0;
|
||||
while($row = mysqli_fetch_assoc($result)) {
|
||||
$i++;
|
||||
$id = $row["ID"];
|
||||
$STUDENT_NAME = $row["STUDENT_NAME"];
|
||||
$MOBILE = $row["MOBILE"];
|
||||
$Aggregate = $row["HS_SUB_AGG"];
|
||||
$GEN_HONOURS = $row["GEN_HONOURS"];
|
||||
$FORM_CHALAN = $row["FORM_CHALAN"];
|
||||
$ADMISSION_CHALAN = $row["ADMISSION_CHALAN"];
|
||||
$MERIT_LIST = $row["MERIT_LIST"];
|
||||
echo '
|
||||
<tr>
|
||||
<td>'.$i.'</td>
|
||||
<td>SCC19UG'.$id.'</td>
|
||||
<td>'.$STUDENT_NAME.'</td>
|
||||
<td style="text-align:center;"><img src="/CONTENT/ROOT_URI/Admission/uploads/photo/'.$id.'.jpg" style="width:80px;border-radius:3px;border:1px solid #f3f3f3;"></td>
|
||||
<td>'.$MOBILE.'</td>
|
||||
<td>'.$GEN_HONOURS.'</td>
|
||||
<td>'.$Aggregate.'</td>
|
||||
<td>'.$FORM_CHALAN.'</td>
|
||||
<td>'.$ADMISSION_CHALAN.'</td>
|
||||
<td>'.$MERIT_LIST.'</td>
|
||||
</tr>';
|
||||
|
||||
|
||||
}echo ' </table></div>';
|
||||
} else { echo "<div class='container text-center'><h2>No students for this Stream!</h2></div>";}
|
||||
?>
|
|
@ -0,0 +1,185 @@
|
|||
<link rel="stylesheet" href="/asset/css/admission_form.css" type="text/css">
|
||||
|
||||
<?php
|
||||
if (isset($_POST["FORM_NAME_C"]) && $_POST["FORM_NAME_C"] == "FORM_NAME_C") {
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$sql = "UPDATE `scc_pg_19` SET `COUNSELLING` = " . $_POST["COUNSELLING"] . " WHERE `ID`='" . $_POST["ROW_ID"] . "'";
|
||||
if (mysqli_query($conn, $sql)) {
|
||||
echo "<div class='container mt-3'><div class='alert alert-success alert-dismissable'>
|
||||
<a href='#' class='close' data-dismiss='alert' aria-label='close'>×</a>
|
||||
<strong>Approved!!</strong> For Student Id No. <strong>SCC19PG" . $_POST["ROW_ID"] . "</strong></div></div>";
|
||||
} else echo "<div class='container mt-3'><div class='alert alert-danger alert-dismissable'>
|
||||
<a href='#' class='close' data-dismiss='alert' aria-label='close'>×</a>
|
||||
<strong>Error!! </strong></div></div>";
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
if (isset($_POST["FORM_NAME"]) && $_POST["FORM_NAME"]=="FORM_NAME") {
|
||||
$ID = $_POST["FORM_ID"];
|
||||
$ID = substr($ID, 7);
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$sql = "SELECT * FROM `scc_pg_19` WHERE `ID` = '" . $ID . "'" . "ORDER BY AGGREGATE DESC";
|
||||
$result = mysqli_query($conn, $sql);
|
||||
if (mysqli_num_rows($result) > 0) {
|
||||
echo '<div class="admission_form">
|
||||
<div class="header-block">
|
||||
<div class="img-block">
|
||||
<img class="logo_img" src="/asset/img/scc_logo.png" alt="logo">
|
||||
</div>
|
||||
<div class="text-block">
|
||||
<h1>Sreechaitanya College</h1>
|
||||
<p>Habra(Arts & Science)</p>
|
||||
<p>Prafullanagar, Habra, 24PGS(N) PIN-743268, WB</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="hr_margin"><center style="background-color:#ff9742;color:white;padding:5px;">PG ADMISSION FORM 2019-20 </center><hr class="hr_margin">';
|
||||
while ($row = mysqli_fetch_assoc($result)) {
|
||||
$STUDENT_NAME = $row["NAME"];
|
||||
$MOBILE = $row["MOBILE"];
|
||||
$EMAIL = $row["EMAIL"];
|
||||
$FATHER_NAME = $row["FATHER_NAME"];
|
||||
$GUARDIAN_NAME = $row["GUARDIAN_NAME"];
|
||||
$ADDRESS = nl2br($row["ADDRESS"]);
|
||||
$DOB = $row["DOB_DATE"]."/". $row["DOB_MONTH"]."/".$row["DOB_YEAR"];
|
||||
$GENDER = $row["GENDER"];
|
||||
$RELIGION = $row["RELIGION"];
|
||||
$RESERVATION_CATEGORY = $row["CASTE"];
|
||||
$PHYSICAL_DISABLITY = $row["DISABLITY"];
|
||||
$BLOOD_GROUP = $row["BLOOD_GROUP"];
|
||||
$UNIVERSITY = $row["UNIVERSITY"];
|
||||
$COLLEGE = $row["COLLEGE"];
|
||||
$HONOURS = $row["H_NM"];
|
||||
$HS_PASS_YEAR = $row["YEAR_OF_PASSING"];
|
||||
$H_NM = $row["H_NM"];
|
||||
$H_MO = $row["H_MO"];
|
||||
$G1_NM = $row["G1_NM"];
|
||||
$G1_MO = $row["G1_MO"];
|
||||
$G2_NM = $row["G2_NM"];
|
||||
$G2_MO = $row["G2_MO"];
|
||||
$DATE = substr($row["DATESTAMP"],0,10);
|
||||
$MERIT_LIST = $row["MERIT_LIST"];
|
||||
$Aggregate = $row["AGGREGATE"];
|
||||
|
||||
echo '
|
||||
<table><td style="width:75%"> Session : 2019-20 </td><td style="width:25%"> Form No: SCC19PG'.$ID. '<td></table>
|
||||
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td width="130px">
|
||||
<img src="/CONTENT/ROOT_URI/PG_Admission_19/uploads/photo/'.$ID.'.jpg" style="width:100%;height:auto;border-radius:3px;border:1px solid #f3f3f3;">
|
||||
</td>
|
||||
<td>
|
||||
<table class="table" height="150px">
|
||||
<tr>
|
||||
<td width=50%>Student' . "'" . 's Name</td>
|
||||
<td>'.$STUDENT_NAME.'</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Applying For</td>
|
||||
<td>'.$HONOURS.'</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Aggregate Marks</td>
|
||||
<td>'.$Aggregate. '</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="table" style="text-align:left;">
|
||||
<tr>
|
||||
<td width=50%>Gender : '.$GENDER.'</td>
|
||||
<td>Father' . "'" . 's Name :- '.$FATHER_NAME.'</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Date Of Birth : '.$DOB.'</td>
|
||||
<td>Mobile No : '.$MOBILE.'</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>E-mail : '.$EMAIL.'</td>
|
||||
<td>Blood Group : '.$BLOOD_GROUP.'</td>
|
||||
</tr><tr>
|
||||
<td>Reservation Category : '.$RESERVATION_CATEGORY.'</td>
|
||||
<td>Physical Disability : '.$PHYSICAL_DISABLITY.'</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>NAME of The Institute : '.$UNIVERSITY.'</td>
|
||||
<td>NAME of The Board : '. $COLLEGE .'</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Merit List : '.$MERIT_LIST.'</td>
|
||||
<td>Year of Passing : '.$HS_PASS_YEAR.'</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" style="text-align:left;">Address : '.$ADDRESS.'</td>
|
||||
</tr>
|
||||
</table><br>
|
||||
|
||||
<table class="table" style="width:500px; margin-left:auto;margin-right:auto;">
|
||||
<tr>
|
||||
<th>Applied Subjects</th>
|
||||
<th>Marks Obtained</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=50%>'.$H_NM.'</td>
|
||||
<td>'.$H_MO.'</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>'.$G1_NM.'</td>
|
||||
<td>'.$G1_MO.'</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>'.$G2_NM.'</td>
|
||||
<td>'.$G2_MO.'</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Aggregate Marks</td>
|
||||
<td>'.$Aggregate. '</td>
|
||||
</tr>
|
||||
</table><br>
|
||||
<table>
|
||||
<tr>
|
||||
<td width="500px">Date Of Submission : <?php echo $DATE;?></td>
|
||||
<td><img src="/CONTENT/ROOT_URI/PG_Admission_19/uploads/sign/'.$ID.'.jpg" style="width:auto;height:75px;"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Print Date : '.date("Y-m-d").'</td><td><center>Student' . "'" . 's Signature<center></td>
|
||||
</tr>
|
||||
</table><br>
|
||||
<form method="post" enctype="multipart/form-data" class="form-horizontal">
|
||||
<input type="hidden" name="FORM_NAME_C" value="FORM_NAME_C">
|
||||
<input type="hidden" name="ROW_ID" value="' . $ID . '">
|
||||
<input type="hidden" name="COUNSELLING" value="'.time().'">
|
||||
<button style="padding:15px 30px;" type="submit" class="btn btn-success">Approve</button>
|
||||
</form>
|
||||
</div><br>
|
||||
|
||||
|
||||
';
|
||||
}
|
||||
} else {
|
||||
echo "<div class='container text-center'><h2>Student Does not Exist!!!</h2></div>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="container">
|
||||
<h2>SEARCH STUDENT</h2><hr>
|
||||
<form method="post" enctype="multipart/form-data" class="form-inline">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-sm-4">Form Id</label>
|
||||
<div class="col-sm-8">
|
||||
<input type="hidden" name="FORM_NAME" value="FORM_NAME">
|
||||
<input type="text" class="form-control" placeholder="Enter Form Id" name="FORM_ID">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-2 col-sm-10">
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div><br>
|
|
@ -0,0 +1,601 @@
|
|||
<!--CSS for Form-->
|
||||
<link rel="stylesheet" href="/asset/css/form.css">
|
||||
<!--CSS for Form-->
|
||||
|
||||
<header>
|
||||
<div class="wrapper">
|
||||
<h2>ADMISSION FORM 2019-20</h2>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<form id="ug_admission" method="post" action="POsts" enctype="multipart/form-data" accept-charset="UTF-8">
|
||||
|
||||
<input type="hidden" name="formid" value="BMMV_UG_17">
|
||||
|
||||
<!-- Personal information... -->
|
||||
<div class="wrapper bg">
|
||||
<div class="row">
|
||||
<h2 class="title">Personal Information</h2>
|
||||
<span>
|
||||
<input class="slide-up" id="name" type="text" required name="NAME" placeholder="Your Name" />
|
||||
<label for="name">Name</label>
|
||||
</span>
|
||||
<span>
|
||||
<input class="slide-up" id="father" type="text" required name="FATHER" placeholder="Your Father's Name" />
|
||||
<label for="father">FATHER'S NAME</label>
|
||||
</span>
|
||||
<span>
|
||||
<input class="slide-up" id="mother" type="text" name="MOTHER" placeholder="Your Mother's Name" />
|
||||
<label for="mother">MOTHER'S NAME</label>
|
||||
</span>
|
||||
<span>
|
||||
<input class="slide-up" id="guardian" type="text" name="GUARDIAN" placeholder="Your Guardian's Name" />
|
||||
<label for="guardian">GUARDIAN'S NAME</label>
|
||||
</span>
|
||||
<div class="main">
|
||||
<div class="div-block">
|
||||
<span>
|
||||
<p class="label">GENDER</p>
|
||||
<select id="gender" class="soflow" onchange="toggle_husband_visibility(id);" name="">
|
||||
<option value="">SELECT</option>
|
||||
<option value="FEMALE">FEMALE</option>
|
||||
<option value="MALE">MALE</option>
|
||||
<option value="OTHERS">OTHERS</option>
|
||||
</select>
|
||||
</span>
|
||||
</div>
|
||||
<div class="div-block">
|
||||
<!-- Date Picker -->
|
||||
<span>
|
||||
<p class="label">DATE OF BIRTH</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<select name="DOBD" style="width:100px;" class="soflow">
|
||||
<option value="">DATE</option>
|
||||
<?php
|
||||
foreach (glob( __DIR__."/../form_settings/DOB_date/*") as $filename)
|
||||
{
|
||||
$filename =end( explode('/', $filename));
|
||||
echo '<option value="'.$filename.'">'.$filename.'</option>';
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<select name="DOBM" style="width:100px;" class="inpt_01 soflow">
|
||||
<option value="">MONTH</option>
|
||||
<?php
|
||||
foreach (glob( __DIR__."/../form_settings/DOB_month/*") as $filename)
|
||||
{
|
||||
$filename =end( explode('/', $filename));
|
||||
echo '<option value="'.$filename.'">'.$filename.'</option>';
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<select name="DOBY" style="width:100px;" class="inpt_01 soflow">
|
||||
<option value="">YEAR</option>
|
||||
<?php
|
||||
foreach (glob( __DIR__."/../form_settings/DOB_year/*") as $filename)
|
||||
{
|
||||
$filename =end( explode('/', $filename));
|
||||
echo '<option value="'.$filename.'">'.$filename.'</option>';
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<span class="add_content">
|
||||
<a onclick='modalOpen("DOB_year");'>+</a>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</span>
|
||||
<!-- /Date Picker -->
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
function toggle_husband_visibility(id) {
|
||||
var e = document.getElementById('gender');
|
||||
if (e.value == "FEMALE") {
|
||||
var hus_div = '<input class="slide-up" type="text" name="HUSBAND" placeholder="Your Husband\'s Name" /><label for="husband">HUSBAND\'S NAME</label>';
|
||||
}
|
||||
else {
|
||||
var hus_div = '';
|
||||
}
|
||||
document.getElementById("husband").innerHTML = hus_div;
|
||||
}
|
||||
</script>
|
||||
<div class="main">
|
||||
<div class="div-block">
|
||||
<span>
|
||||
<p class="label">RELIGION</p>
|
||||
<select class="soflow" name="RELIGION">
|
||||
<option value="HINDU">HINDU</option>
|
||||
<option value="MUSLIM">MUSLIM</option>
|
||||
<option value="CHRISTIAN">CHRISTIAN</option>
|
||||
<option value="JAIN">JAIN</option>
|
||||
<option value="SIKH">SIKH</option>
|
||||
<option value="BUDDHIST">BUDDHIST</option>
|
||||
<option value="OTHERS">OTHERS</option>
|
||||
</select>
|
||||
</span>
|
||||
</div>
|
||||
<div class="div-block">
|
||||
<span>
|
||||
<p class="label">RESERVATION CATEGORY</p>
|
||||
<select class="soflow" name="RESERVATION_CATEGORY" onchange="castc(this.value);" id="cst">
|
||||
<option value="GENERAL">GENERAL</option>
|
||||
<option value="SC">SC</option>
|
||||
<option value="ST">ST</option>
|
||||
<option value="OBC-A">OBC-A</option>
|
||||
<option value="OBC-B">OBC-B</option>
|
||||
</select>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="main">
|
||||
<div class="div-block">
|
||||
<span>
|
||||
<p class="label">PHYSICAL DISABLITY</p>
|
||||
<select class="soflow" name="PHYSICAL_DISABLITY">
|
||||
<option value="NO">No</option>
|
||||
<option value="PH_10">PH upto 10% Disablity</option>
|
||||
<option value="PH_20">PH upto 20% Disablity</option>
|
||||
<option value="PH_30">PH upto 30% Disablity</option>
|
||||
<option value="PH_40">PH upto 40% Disablity</option>
|
||||
<option value="PH_50">PH upto 50% Disablity</option>
|
||||
<option value="PH_60">PH upto 60% Disablity</option>
|
||||
</select>
|
||||
</span>
|
||||
</div>
|
||||
<div class="div-block">
|
||||
<span>
|
||||
<p class="label">BLOOD GROUP</p>
|
||||
<select class="soflow" name="BLOOD_GROUP">
|
||||
<option value="N/A">N/A</option>
|
||||
<option value="A+">A+</option>
|
||||
<option value="A-">A-</option>
|
||||
<option value="B+">B+</option>
|
||||
<option value="B-">B-</option>
|
||||
<option value="AB+">AB+</option>
|
||||
<option value="AB-">AB-</option>
|
||||
<option value="O+">O+</option>
|
||||
<option value="O-">O-</option>
|
||||
</select>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Empty Husband Div -->
|
||||
<span id="husband"></span>
|
||||
<!-- /Empty Husband Div -->
|
||||
<span>
|
||||
<input class="slide-up" id="nationality" type="text" name="NATIONALITY" placeholder="Your Nationality" value="INDIAN" />
|
||||
<label for="nationality">NATIONALITY</label>
|
||||
</span>
|
||||
<span>
|
||||
<input class="slide-up" id="address" type="text" name="ADDRESS" placeholder="Your Permanent Address" required />
|
||||
<label for="address">PERMANENT ADDRESS</label>
|
||||
</span>
|
||||
<span>
|
||||
<input class="slide-up" id="mobile" type="text" name="MOBILE" placeholder="Your Mobile Number" min="6000000000" max="9999999999" pattern="[0-9]{10}" required />
|
||||
<label for="mobile">MOBILE</label>
|
||||
</span>
|
||||
<span>
|
||||
<input class="slide-up" id="email" type="email" name="EMAIL" placeholder="Your Email Id" style="text-transform:lowercase" required />
|
||||
<label for="email">E-MAIL</label>
|
||||
</span>
|
||||
<span>
|
||||
<input class="slide-up" id="g_occupation" type="text" name="GUARDIAN_OCCUPATION" placeholder="Your Guardian's Occupation" required />
|
||||
<label for="g_occupation">GUARDIAN'S OCCUPATION</label>
|
||||
</span>
|
||||
<span>
|
||||
<input class="slide-up" id="m_income" type="text" name="MONTHLY_INCOME" placeholder="Monthly Income in Rupees" required />
|
||||
<label for="m_income">MONTHLY INCOME</label>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End of Personal information... -->
|
||||
|
||||
<!-- Educational information... -->
|
||||
<div class="wrapper bg-alt">
|
||||
<div class="row">
|
||||
<h2 class="title">Educational Information</h2>
|
||||
<input type="hidden" id="tt1" name="ssub_1">
|
||||
<input type="hidden" id="tt2" name="ssub_2">
|
||||
<input type="hidden" id="tt3" name="ssub_3">
|
||||
|
||||
<span>
|
||||
<input class="slide-up" id="hs_institute" type="text" name="HS_INSTITUTION" placeholder="NAME OF THE INSTITUTION FOR 10+2" required />
|
||||
<label for="hs_institute">INSTITUTE's NAME</label>
|
||||
</span>
|
||||
<div class="main">
|
||||
<div class="div-block">
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<p class="label">NAME OF THE BOARD / COUNCIL</p>
|
||||
<select name="HSBOARD" class="soflow">
|
||||
<?php
|
||||
foreach (glob( __DIR__."/../form_settings/BOARD/*") as $filename)
|
||||
{
|
||||
$filename =end( explode('/', $filename));
|
||||
echo '<option value="'.$filename.'">'.$filename.'</option>';
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<span class="add_content">
|
||||
<a onclick='modalOpen("BOARD")'>+</a>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="div-block">
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<p class="label">PASSING YEAR</p>
|
||||
<select name="HS_YEAR" class="soflow">
|
||||
<?php
|
||||
foreach (glob( __DIR__."/../form_settings/PASS_year/*") as $filename)
|
||||
{
|
||||
$filename =end( explode('/', $filename));
|
||||
echo '<option value="'.$filename.'">'.$filename.'</option>';
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<span class="add_content">
|
||||
<a onclick='modalOpen("PASS_year")'>+</a>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<span>
|
||||
<input class="slide-up" id="hs_exam" type="text" name="HS_EXAMINATION" placeholder="NAME OF THE EXAMINATION e.g HIGHER SECONDARY"
|
||||
required />
|
||||
<label for="hs_exam">EXAMINATION NAME</label>
|
||||
</span>
|
||||
<span>
|
||||
<input class="slide-up" id="roll" type="text" name="HS_ROLL" class="inpt_01" placeholder="ENTER ROLL No.">
|
||||
<label for="roll">ROLL</label>
|
||||
</span>
|
||||
<span>
|
||||
<input class="slide-up" id="no" type="text" name="HS_NO" placeholder="ENTER No.">
|
||||
<label for="roll">NO</label>
|
||||
</span>
|
||||
<span>
|
||||
<input class="slide-up" id="reg_no" type="text" name="HS_REGISTRATION_NUMBER" placeholder="ENTER Registration No." required>
|
||||
<label for="reg_no">HS REGISTRATION NUMBER</label>
|
||||
</span>
|
||||
<span>
|
||||
<input class="slide-up" id="mark_obt" type="text" name="HS_TOTAL_MARKS" placeholder="TOTAL MARKS OBTAINED" required>
|
||||
<label for="mark_obt">MARKS OBTAINED</label>
|
||||
</span>
|
||||
<span>
|
||||
<input class="slide-up" id="div_grade" type="text" name="HS_DIVISION" placeholder="PASSING DIVISION or GRADE" required>
|
||||
<label for="div_grade">DIVISION / GRADE</label>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End of Educational information... -->
|
||||
|
||||
<!-- Applying Subject information... -->
|
||||
<div class="wrapper bg">
|
||||
<div class="row">
|
||||
<h2 class="title">Applying Subjects and Information</h2>
|
||||
<p>N.B. Education / Sociology : Psychology, Philosophy, Mathematics, Sociology, Education, Economics, Political Science, History
|
||||
be treated as related subject.</p>
|
||||
<div class="main">
|
||||
<div class="div-block">
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<span>
|
||||
<p class="label">APPLYING FOR</p>
|
||||
<select id="honours" name="GENORHONS" class="soflow" onchange="dizFetchsubjects(this.value);">
|
||||
<option value="NA">SELECT HONOURS</option>
|
||||
<?php
|
||||
foreach (glob( __DIR__."/../form_settings/HONOURS/*") as $filename)
|
||||
{
|
||||
$filename =end( explode('/', $filename));
|
||||
echo '<option value="'.$filename.'">'.$filename.'</option>';
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="add_content">
|
||||
<a onclick='modalOpen("HONOURS")'>+</a>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- Applying Subject Combination... -->
|
||||
<div class="div-block">
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<span>
|
||||
<p class="label">SUBJECT COMBINATION</p>
|
||||
<select id="honours_subject" name="SUB_COMBINATION" class="soflow" name="">
|
||||
<option value="">SELECT SUBJECTS</option>
|
||||
</select>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="add_content">
|
||||
<a id="custom_sub_modal">+</a>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<script>
|
||||
function createOption(v){
|
||||
var inDiv = document.querySelector('#honours_subject');
|
||||
var opt = document.createElement('option');
|
||||
opt.innerHTML = v;
|
||||
opt.value = v;
|
||||
inDiv.appendChild(opt);
|
||||
}
|
||||
|
||||
function custom_sub_modal(v){
|
||||
var inDiv = document.querySelector('#custom_sub_modal');
|
||||
inDiv.setAttribute("onclick", "modalOpen('SUB_COMBO/"+v+"')");
|
||||
inDiv.innerHTML = '+';
|
||||
}
|
||||
|
||||
function dizFetchsubjects(v){
|
||||
if(v=="NA"){var inDiv = document.querySelector('#honours_subject');inDiv.innerHTML='<option value="">SELECT SUBJECTS</option>';}
|
||||
else{
|
||||
custom_sub_modal(v);
|
||||
var f= "/api/globe_fnames?loc=Admission/form_settings/SUB_COMBO/";
|
||||
|
||||
fetch(f+v)
|
||||
.then(function(response) { return response.json(); })
|
||||
.then(function(json) {
|
||||
var inDiv = document.querySelector('#honours_subject');
|
||||
inDiv.innerHTML='<option value="">SELECT SUBJECTS</option>';
|
||||
if(json.status=='y'){
|
||||
for(var i = 0; i < json.fname.length; i++) {
|
||||
createOption(json.fname[i]);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<!-- End of Applying Subject Combination... -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End of Applying Subject information... -->
|
||||
|
||||
<!-- File Upload... -->
|
||||
<div class="wrapper bg-alt">
|
||||
<div class="row">
|
||||
<h2 class="title">File Upload</h2>
|
||||
<p>SCANNED DOCUMENTS SHOULD BE IN GREYSCALE/Black&White (149KB MAX LIMIT FOR EACH FILE).</p>
|
||||
<span>
|
||||
<input class="slide-up" type="file" name="Photo" >
|
||||
<label class="file-label">IMAGE</label>
|
||||
<label>SELECT YOUR IMAGE TO UPLOAD</label>
|
||||
</span>
|
||||
<span>
|
||||
<input class="slide-up" type="file" name="sign">
|
||||
<label class="file-label">SIGNATURE</label>
|
||||
<label>SELECT YOUR SIGNATURE TO UPLOAD</label>
|
||||
</span>
|
||||
<span>
|
||||
<input class="slide-up" type="file" name="admit">
|
||||
<label class="file-label">ADMIT CARD</label>
|
||||
<label>SELECT YOUR MADHYAMIK(10) ADMIT TO UPLOAD</label>
|
||||
</span>
|
||||
<span>
|
||||
<input class="slide-up" type="file" name="mark">
|
||||
<label class="file-label">MARK SHEET</label>
|
||||
<label>SELECT YOUR HS(10+2) MARKSHEET TO UPLOAD</label>
|
||||
</span>
|
||||
<span>
|
||||
<input class="slide-up" type="file" id="ccerti" name="cast">
|
||||
<label class="file-label">CASTE CERTIFICATE</label>
|
||||
<label>SELECT YOUR CASTE CERTIFICATE (Mandatory For SC/ST/OBC candidates)</label>
|
||||
</span>
|
||||
<div style="padding:10px; border-radius:10px; border:2px dotted green;margin-top:10px;">
|
||||
N.B.
|
||||
<br> Following documents must be submitted at the time of admission :
|
||||
<br> a) Attested true copy of Madhyamik Marksheet & Admit Card.
|
||||
<br> b) Attested true copy of H.S. Marksheet & Admit Card.
|
||||
<br> c) Attested true copy of SC / ST Certificate (Govt.)
|
||||
<br> or
|
||||
<br> original certificate of SC / ST / (M.P. / M.L.A. Certificate)
|
||||
<br> d) Two Copies of Passport Size Photograph.
|
||||
<br> e) Original School Leaving Certificate
|
||||
<br>
|
||||
</div>
|
||||
<input class="butt" type="submit">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<!-- Modal Styles -->
|
||||
<style>
|
||||
.text-center{
|
||||
text-align: center;
|
||||
}
|
||||
.custom-modal{
|
||||
z-index:3;
|
||||
display:block;
|
||||
padding-top:100px;
|
||||
position:fixed;
|
||||
left:0;
|
||||
top:0;
|
||||
width:100%;
|
||||
height:100%;
|
||||
overflow:auto;
|
||||
background-color:rgb(0,0,0);
|
||||
background-color:rgba(0,0,0,0.4)
|
||||
}
|
||||
.custom-modal-content{
|
||||
margin:auto;
|
||||
background-color:#fff;
|
||||
position:relative;
|
||||
padding:0;
|
||||
outline:0;
|
||||
width:600px;
|
||||
}
|
||||
.btn {
|
||||
display: inline-block;
|
||||
padding: 6px 12px;
|
||||
margin-bottom: 0;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
line-height: 1.42857143;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
vertical-align: middle;
|
||||
-ms-touch-action: manipulation;
|
||||
touch-action: manipulation;
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
background-image: none;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.custom-animate-top{
|
||||
position:relative;
|
||||
animation:animatetop 0.8s
|
||||
}
|
||||
@keyframes animatetop{
|
||||
from{
|
||||
top:-400px;
|
||||
opacity:0}
|
||||
to{
|
||||
top:0;opacity:1
|
||||
}
|
||||
}
|
||||
.custom-display-topright{
|
||||
position:absolute;
|
||||
right:0;
|
||||
top:0;
|
||||
}
|
||||
@media (max-width:600px){
|
||||
.custom-modal-content{
|
||||
margin:0 10px;
|
||||
width:auto!important;
|
||||
}
|
||||
.custom-modal{
|
||||
padding-top:30px;
|
||||
}
|
||||
}
|
||||
@media (max-width:768px){
|
||||
.custom-modal-content{
|
||||
width:500px;
|
||||
}
|
||||
.custom-modal{
|
||||
padding-top:50px;
|
||||
}
|
||||
}
|
||||
@media (min-width:993px){
|
||||
.custom-modal-content{
|
||||
width:900px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<!-- Modal Styles -->
|
||||
|
||||
<!-- Modal Script -->
|
||||
<script>
|
||||
var modal_id=0;
|
||||
|
||||
function createButton(bname,endPoint,inDiv){
|
||||
var inDiv = document.querySelector('#'+inDiv);
|
||||
var but = document.createElement('button');
|
||||
but.id = bname;
|
||||
but.setAttribute("onclick", "removeButton('"+bname+"' , '"+endPoint+"')");
|
||||
but.style.cssText = "margin:5px";
|
||||
but.classList.add("btn");
|
||||
but.classList.add("btn-danger");
|
||||
but.innerHTML = bname + ' <span class="badge">X</span>';
|
||||
inDiv.appendChild(but);
|
||||
}
|
||||
//Shows data in Modal
|
||||
function dizFetch(apiLink,endPoint,inDiv){
|
||||
fetch(apiLink+endPoint)
|
||||
.then(function(response) { return response.json(); })
|
||||
.then(function(json) {
|
||||
if(json.status=='y'){
|
||||
for(var i = 0; i < json.fname.length; i++) {
|
||||
createButton(json.fname[i],endPoint,inDiv);
|
||||
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
//Shows data in Modal
|
||||
|
||||
//Removes Modal
|
||||
function removeModal(id) {
|
||||
window.modal_id=0;
|
||||
var elem = document.getElementById(id);
|
||||
return elem.parentNode.removeChild(elem);
|
||||
}
|
||||
|
||||
document.onkeydown = function keyremove(evt) {
|
||||
evt = evt || window.event;
|
||||
if (evt.keyCode == 27 & window.modal_id!==0) {removeModal(window.modal_id);}
|
||||
};
|
||||
//Removes Modal
|
||||
|
||||
//Opens Modal
|
||||
function modalOpen(e) {
|
||||
window.modal_id=e;
|
||||
var modalDiv = document.createElement('div');
|
||||
modalDiv.classList.add("custom-modal");
|
||||
modalDiv.id = e;
|
||||
var modal = '<div class="custom-modal-content custom-animate-top"><div class="modal-header"><span onclick="removeModal(\''+e+'\')" class="btn custom-display-topright">×</span><h5 class="modal-title">EDIT</h5></div><div class="modal-body text-center"><div class="form-inline"><div class="form-group"><input type="text" id="newName" class="form-control" placeholder="New Entry"></div><div class="form-group"><button type="button" onclick="addNewEntry('+"'newName','"+e+"','modalSpace'"+')" class="btn btn-success">Add</button></div></div><hr><small class="text-muted">Existed Entry</small><div id="modalSpace"></div></div><div class="modal-footer"><button type="button" class="btn btn-secondary" onclick="removeModal(\''+e+'\')">Close</button></div></div>';
|
||||
modalDiv.innerHTML = modal;
|
||||
document.body.appendChild(modalDiv);
|
||||
dizFetch("/api/globe_fnames?loc=Admission/form_settings/",e,"modalSpace");
|
||||
}
|
||||
|
||||
//Add new entry
|
||||
function addNewEntry(fname,inFolder,inDiv){
|
||||
var fname=document.getElementById(fname).value;
|
||||
var f='/api/create_file?filename='+fname+'&inFolder='+inFolder;
|
||||
fetch(f)
|
||||
.then(function(response) { return response.json(); })
|
||||
.then(function(json) {
|
||||
if(json.status=='y')createButton(fname,inFolder,inDiv);
|
||||
});
|
||||
}
|
||||
|
||||
//Removes a Button from Modal
|
||||
function removeButton(fname,inFolder){
|
||||
var f='/api/delete_file?name='+fname+'&folder=CONTENT/ROOT_URI/Admission/form_settings/'+inFolder;
|
||||
fetch(f)
|
||||
.then(function(response) { return response.json(); })
|
||||
.then(function(json) {
|
||||
if(json.status=='y')removeModal(fname);
|
||||
});
|
||||
}
|
||||
</script>
|
||||
<!-- Modal Script -->
|
||||
<!-- Modal-->
|
|
@ -0,0 +1,44 @@
|
|||
<?php
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$s= urldecode($_GET['s']);
|
||||
$sql = "SELECT * FROM `admission` WHERE `ADMISSION_CHALAN` IS NOT NULL " ."ORDER BY HS_SUB_AGG DESC";
|
||||
$result = mysqli_query($conn, $sql);
|
||||
if (mysqli_num_rows($result) > 0) {
|
||||
echo'<div class="container table-responsive text-center">
|
||||
<h1>'.$s.'</h1><hr>
|
||||
<table class="table table-bordered table-striped table-hover">
|
||||
<tr>
|
||||
<th>SL</th>
|
||||
<th>FORM ID</th>
|
||||
<th>STUDENT NAME</th>
|
||||
<th>MOBILE NO.</th>
|
||||
<th>STREAM</th>
|
||||
<th>AGGREGATE MARKS</th>
|
||||
</tr>';
|
||||
$i=0;
|
||||
$t01=0;
|
||||
$t02[0]=0;
|
||||
while($row = mysqli_fetch_assoc($result)) {
|
||||
$i++;
|
||||
$id = $row["ID"];
|
||||
$STUDENT_NAME = $row["STUDENT_NAME"];
|
||||
$MOBILE = $row["MOBILE"];
|
||||
$Aggregate = $row["HS_SUB_AGG"];
|
||||
$GEN_HONOURS = $row["GEN_HONOURS"];
|
||||
$FORM_CHALAN = $row["FORM_CHALAN"];
|
||||
$ADMISSION_CHALAN = $row["ADMISSION_CHALAN"];
|
||||
$MERIT_LIST = $row["MERIT_LIST"];
|
||||
echo '
|
||||
<tr>
|
||||
<td>'.$i.'</td>
|
||||
<td>SCC19UG'.$id.'</td>
|
||||
<td>'.$STUDENT_NAME.'</td>
|
||||
<td>'.$MOBILE.'</td>
|
||||
<td>'.$GEN_HONOURS.'</td>
|
||||
<td>'.$Aggregate.'</td>
|
||||
</tr>';
|
||||
|
||||
|
||||
}echo ' </table></div>';
|
||||
} else { echo "<div class='container text-center'><h2>No students for this Stream!</h2></div>";}
|
||||
?>
|
|
@ -0,0 +1,68 @@
|
|||
<div class="container">
|
||||
<h2>SEARCH STUDENT</h2><hr>
|
||||
<form method="post" enctype="multipart/form-data" class="form-horizontal">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-sm-2">Form Id</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" class="form-control" placeholder="Enter Form Id" name="FORM_ID">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-2 col-sm-10">
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if(isset($_POST["FORM_ID"])){
|
||||
$ID=$_POST["FORM_ID"];
|
||||
$ID=substr($ID,7);
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$sql = "SELECT * FROM `admission` WHERE `ID` = '".$ID."'" ."ORDER BY HS_SUB_AGG DESC";
|
||||
$result = mysqli_query($conn, $sql);
|
||||
if (mysqli_num_rows($result) > 0) {
|
||||
echo'<hr><div class="container table-responsive text-center">
|
||||
<table class="table table-bordered table-striped table-hover">
|
||||
<tr>
|
||||
<th>FORM ID</th>
|
||||
<th>STUDENT NAME</th>
|
||||
<th>FATHER'."'".'S NAME</th>
|
||||
<th>DATE OF BIRTH</th>
|
||||
<th>MOBILE NO.</th>
|
||||
<th>RESERVATION CATEGORY</th>
|
||||
<th>HONOURS</th>
|
||||
<th>AGGREGATE MARKS</th>
|
||||
<th>MERIT LIST</th>
|
||||
</tr>';
|
||||
while($row = mysqli_fetch_assoc($result)) {
|
||||
$id = $row["ID"];
|
||||
$STUDENT_NAME = $row["STUDENT_NAME"];
|
||||
$FATHER_NAME = $row["FATHER_NAME"];
|
||||
$DOB = $row["DOB"];
|
||||
$MOBILE = $row["MOBILE"];
|
||||
$RESERVATION_CATEGORY = $row["RESERVATION_CATEGORY"];
|
||||
$Aggregate = $row["HS_SUB_AGG"];
|
||||
$GEN_HONOURS = $row["GEN_HONOURS"];
|
||||
$MERIT_LIST = $row["MERIT_LIST"];
|
||||
if($MERIT_LIST == ""){$MERIT_LIST="NOT AVAILABLE";}
|
||||
echo '
|
||||
<tr>
|
||||
<td>SCC19UG'.$id.'</td>
|
||||
<td>'.$STUDENT_NAME.'</td>
|
||||
<td>'.$FATHER_NAME.'</td>
|
||||
<td>'.$DOB.'</td>
|
||||
<td>'.$MOBILE.'</td>
|
||||
<td>'.$RESERVATION_CATEGORY.'</td>
|
||||
<td>'.$GEN_HONOURS.'</td>
|
||||
<td>'.$Aggregate.'</td>
|
||||
<td>'.$MERIT_LIST.'</td>
|
||||
</tr>';
|
||||
|
||||
|
||||
}echo ' </table></div>';
|
||||
} else { echo "<div class='container text-center'><h2>Student Does not Exist!!!</h2></div>";}
|
||||
}
|
||||
?>
|
|
@ -0,0 +1,51 @@
|
|||
<div class="container text-center">
|
||||
<h1>Admission Admin PG 2019</h1>
|
||||
|
||||
</div>
|
||||
<div class="container">
|
||||
<?php
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$s = 'e';
|
||||
$sql = "SELECT * FROM `scc_pg_19` WHERE `H_NM` LIKE '%" . $s . "%'" . "";
|
||||
$result = mysqli_query($conn, $sql);
|
||||
if (mysqli_num_rows($result) > 0) {
|
||||
echo '<div class="container table-responsive text-center">
|
||||
<table class="table table-bordered table-striped table-hover">
|
||||
<tr>
|
||||
<th>SL</th>
|
||||
<th>FORM ID</th>
|
||||
<th>STUDENT NAME</th>
|
||||
<th>MOBILE NO.</th>
|
||||
<th>APPLIED FOR</th>
|
||||
<th>PAYMENT STATUS</th>
|
||||
</tr>';
|
||||
$i = 0;
|
||||
$t01 = 0;
|
||||
$t02[0] = 0;
|
||||
while ($row = mysqli_fetch_assoc($result)) {
|
||||
$i++;
|
||||
$id = $row["ID"];
|
||||
$STUDENT_NAME = $row["NAME"];
|
||||
$MOBILE = $row["MOBILE"];
|
||||
$H_NM = $row["H_NM"];
|
||||
$AGGREGATE = $row["AGGREGATE"];
|
||||
$PAY_STATUS = $row["PAY_FORM"];
|
||||
echo '
|
||||
<tr>
|
||||
<td>' . $i . '</td>
|
||||
<td><a href="/PG_Admission_19/PRINT/print_form_pg?id=' . $id . '" class="btn btn-primary" target="blank">SCC19PG' . $id . '</a></td>
|
||||
<td>' . $STUDENT_NAME . '</td>
|
||||
<td>' . $MOBILE . '</td>
|
||||
<td>' . $H_NM . '</td>
|
||||
<td>' . $PAY_STATUS . '</td>
|
||||
</tr>';
|
||||
|
||||
|
||||
}
|
||||
echo ' </table></div>';
|
||||
} else {
|
||||
echo "<div class='container text-center'><h2>No students for this Stream!</h2></div>";
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
|
@ -0,0 +1,163 @@
|
|||
<?php
|
||||
if (isset($_GET['s'])) {
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$s = urldecode($_GET['s']);
|
||||
$sql = "SELECT * FROM `admission` WHERE `COUNSELLING` IS NOT NULL AND `GEN_HONOURS` LIKE '%" . $s . "%' ";
|
||||
$result = mysqli_query($conn, $sql);
|
||||
if (mysqli_num_rows($result) > 0) {
|
||||
echo '<div class="container">';
|
||||
while($row = mysqli_fetch_assoc($result)) {
|
||||
$id = $row["ID"];
|
||||
$STUDENT_NAME = $row["STUDENT_NAME"];
|
||||
$MOBILE = $row["MOBILE"];
|
||||
$Aggregate = $row["HS_SUB_AGG"];
|
||||
$GEN_HONOURS = $row["GEN_HONOURS"];
|
||||
$FORM_CHALAN = $row["FORM_CHALAN"];
|
||||
$ADMISSION_CHALAN = $row["ADMISSION_CHALAN"];
|
||||
$MERIT_LIST = $row["MERIT_LIST"];
|
||||
echo '
|
||||
<div class="col-sm-6 col-md-6 mb-10">
|
||||
<div class="icard">
|
||||
<div class="header-block">
|
||||
<div class="img-block">
|
||||
<img class="logo_img" src="/CONTENT/ROOT_URI/Admission/variables/amdanga_logo.png" alt="logo">
|
||||
</div>
|
||||
<div class="text-block">
|
||||
<h4>';include("CONTENT/ROOT_URI/Admission/variables/college_name.conf");echo'</h4>
|
||||
<p>';include("CONTENT/ROOT_URI/Admission/variables/college_tag.conf");echo'</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="id_photo">
|
||||
<img src="/CONTENT/ROOT_URI/Admission/uploads/photo/'.$id.'.jpg" alt="">
|
||||
</div>
|
||||
<div class="info">
|
||||
<p><strong>Name :- '.$STUDENT_NAME.'</strong></p>
|
||||
<p><strong>Stream :- '. $GEN_HONOURS .'</strong></p>
|
||||
<p><strong>Roll No. :- </strong></p>
|
||||
<p><strong>Mobile No. :- '. $MOBILE .'</strong></p>
|
||||
<p><strong>Session :- 2019-2020</strong></p>
|
||||
<table><td><strong>Principal'."'".'s Signature</strong></td><td><img id="sign" src="/CONTENT/ROOT_URI/Admission/uploads/sign/'.$id.'.jpg"></td></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
';
|
||||
|
||||
|
||||
}echo'</div>';
|
||||
} else { echo "<div class='container text-center'><h2>No students for this Stream!</h2></div>";}
|
||||
}
|
||||
?>
|
||||
|
||||
<!--<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-6 col-md-6">
|
||||
<div class="icard">
|
||||
<div class="header-block">
|
||||
<div class="img-block">
|
||||
<a href="/"><img class="logo_img" src="/CONTENT/ROOT_URI/Admission/variables/amdanga_logo.png" alt="logo"></a>
|
||||
</div>
|
||||
<div class="text-block">
|
||||
<h4><?php include("CONTENT/ROOT_URI/Admission/variables/college_name.conf"); ?></h4>
|
||||
<p><?php include("CONTENT/ROOT_URI/Admission/variables/college_tag.conf"); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="id_photo">
|
||||
<img src="/asset/img/avatar.png" alt="">
|
||||
</div>
|
||||
<div class="info">
|
||||
<p><strong>Name</strong></p>
|
||||
<p><strong>Course</strong></p>
|
||||
<p><strong>Roll No.</strong></p>
|
||||
<p><strong>Mobile No.</strong></p>
|
||||
<p><strong>Session</strong></p>
|
||||
<table><td><strong>Principal's Signature</strong></td><td><img id="sign" src="/asset/img/sign.jpg"></td></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>-->
|
||||
|
||||
<style>
|
||||
.mb-10{
|
||||
margin-bottom:30px;
|
||||
}
|
||||
.icard{
|
||||
width:500px;
|
||||
height:330px;
|
||||
border: 1px solid #adadad;
|
||||
padding:5px;
|
||||
border-radius:10px;
|
||||
-webkit-box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.5);
|
||||
box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.5);
|
||||
}
|
||||
.header-block{
|
||||
padding: 10px;
|
||||
display: table;
|
||||
width:100%;
|
||||
height:88px;
|
||||
background:#ec9c63;
|
||||
border-radius:10px;
|
||||
border: 1px solid #adadad;
|
||||
}
|
||||
.img-block {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
width: 30%;
|
||||
text-align: center;
|
||||
}
|
||||
.text-block {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
/*width: 60%;*/
|
||||
}
|
||||
.text-block h4 {
|
||||
color: #fff;
|
||||
margin-bottom: 3px;
|
||||
font-family: 'Spectral SC', serif;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.logo_img {
|
||||
width: 80px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.card-body{
|
||||
width:100%;
|
||||
height:225px;
|
||||
margin-top:5px;
|
||||
padding: 10px;
|
||||
background:#cce8ff;
|
||||
border-radius:10px;
|
||||
border: 1px solid #adadad;
|
||||
}
|
||||
.id_photo {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
width: 30%;
|
||||
text-align: center;
|
||||
}
|
||||
.info {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
width: 70%;
|
||||
padding-left:10px;
|
||||
border-left: 1px solid #032ba2;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
.info p{
|
||||
font-size:16px;
|
||||
}
|
||||
.id_photo img{
|
||||
width:120px;
|
||||
height:140px;
|
||||
padding-right:10px;
|
||||
}
|
||||
#sign{
|
||||
width:130px;
|
||||
height:40px;
|
||||
}
|
||||
|
||||
</style>
|
|
@ -0,0 +1,188 @@
|
|||
<?php
|
||||
if (isset($_GET['s'])) {
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$s = urldecode($_GET['s']);
|
||||
$sql = "SELECT * FROM `admission` WHERE `COUNSELLING` IS NOT NULL AND `GEN_HONOURS` LIKE '%" . $s . "%' ";
|
||||
$result = mysqli_query($conn, $sql);
|
||||
if (mysqli_num_rows($result) > 0) {
|
||||
echo '<div class="">';
|
||||
while($row = mysqli_fetch_assoc($result)) {
|
||||
$id = $row["ID"];
|
||||
$STUDENT_NAME = $row["STUDENT_NAME"];
|
||||
$MOBILE = $row["MOBILE"];
|
||||
$Aggregate = $row["HS_SUB_AGG"];
|
||||
$GEN_HONOURS = $row["GEN_HONOURS"];
|
||||
$FORM_CHALAN = $row["FORM_CHALAN"];
|
||||
$ADMISSION_CHALAN = $row["ADMISSION_CHALAN"];
|
||||
$MERIT_LIST = $row["MERIT_LIST"];
|
||||
echo '
|
||||
<div style="float:left;margin:5px;">
|
||||
<div class="icard">
|
||||
<img class="header-block-img" src="/asset/img/header-block.jpg">
|
||||
<div class="header-block">
|
||||
<div class="img-block">
|
||||
<img class="logo_img" src="/CONTENT/ROOT_URI/Admission/variables/amdanga_logo.png" alt="logo">
|
||||
</div>
|
||||
<div class="text-block">
|
||||
<h4>';include("CONTENT/ROOT_URI/Admission/variables/college_name.conf");echo'</h4>
|
||||
<p>';include("CONTENT/ROOT_URI/Admission/variables/college_tag.conf");echo'</p>
|
||||
</div>
|
||||
</div>
|
||||
<img class="card-body-img" src="/asset/img/card-body.jpg">
|
||||
<div class="card-body">
|
||||
<div class="id_photo">
|
||||
<img src="/CONTENT/ROOT_URI/Admission/uploads/photo/'.$id.'.jpg" alt="">
|
||||
</div>
|
||||
<div class="info">
|
||||
<p><strong>Name :- '.$STUDENT_NAME.'</strong></p>
|
||||
<p>Stream :- '. $GEN_HONOURS .'</p>
|
||||
<p>Roll No. :- </p>
|
||||
<p>Mobile No. :- '. $MOBILE .'</p>
|
||||
<p>Session :- 2019-2020</p>
|
||||
<table><td>Principal'."'".'s Signature</td><td><img id="sign" src="/CONTENT/ROOT_URI/Admission/uploads/sign/'.$id.'.jpg"></td></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
';
|
||||
|
||||
|
||||
}echo'</div>';
|
||||
} else { echo "<div class='container text-center'><h2>No students for this Stream!</h2></div>";}
|
||||
}
|
||||
?>
|
||||
|
||||
<!--<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-6 col-md-6">
|
||||
<div class="icard">
|
||||
<div class="header-block">
|
||||
<div class="img-block">
|
||||
<a href="/"><img class="logo_img" src="/CONTENT/ROOT_URI/Admission/variables/amdanga_logo.png" alt="logo"></a>
|
||||
</div>
|
||||
<div class="text-block">
|
||||
<h4><?php include("CONTENT/ROOT_URI/Admission/variables/college_name.conf"); ?></h4>
|
||||
<p><?php include("CONTENT/ROOT_URI/Admission/variables/college_tag.conf"); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="id_photo">
|
||||
<img src="/asset/img/avatar.png" alt="">
|
||||
</div>
|
||||
<div class="info">
|
||||
<p><strong>Name</strong></p>
|
||||
<p><strong>Course</strong></p>
|
||||
<p><strong>Roll No.</strong></p>
|
||||
<p><strong>Mobile No.</strong></p>
|
||||
<p><strong>Session</strong></p>
|
||||
<table><td><strong>Principal's Signature</strong></td><td><img id="sign" src="/asset/img/sign.jpg"></td></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>-->
|
||||
|
||||
<style>
|
||||
.mb-10{
|
||||
margin-bottom:30px;
|
||||
}
|
||||
.icard{
|
||||
width:320px;
|
||||
/* height:230px; */
|
||||
border: 1px solid #adadad;
|
||||
padding:5px;
|
||||
border-radius:10px;
|
||||
-webkit-box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.5);
|
||||
box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.5);
|
||||
}
|
||||
.header-block-img{
|
||||
width:308px;
|
||||
height:64px;
|
||||
position:absolute;
|
||||
z-index:-9999;
|
||||
border-radius:10px;
|
||||
}
|
||||
.header-block{
|
||||
display: table;
|
||||
width:308px;
|
||||
height:64px;
|
||||
background:#ec9c63;
|
||||
border-radius:10px;
|
||||
border: 1px solid #adadad;
|
||||
}
|
||||
.img-block {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
width: 30%;
|
||||
text-align: center;
|
||||
}
|
||||
.text-block {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
/*width: 60%;*/
|
||||
}
|
||||
.text-block h4 {
|
||||
color: #fff;
|
||||
margin-bottom: 3px;
|
||||
font-family: 'Spectral SC', serif;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.logo_img {
|
||||
width: 60px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.card-body-img{
|
||||
width:308px;
|
||||
height:150px;
|
||||
position:absolute;
|
||||
z-index:-9999;
|
||||
border-radius:10px;
|
||||
margin-top:5px;
|
||||
}
|
||||
.card-body{
|
||||
width:308px;
|
||||
height:150px;
|
||||
margin-top:5px;
|
||||
padding: 10px;
|
||||
background:#cce8ff;
|
||||
border-radius:10px;
|
||||
border: 1px solid #adadad;
|
||||
}
|
||||
.card-body p{
|
||||
margin:0;
|
||||
line-height:1;
|
||||
}
|
||||
.id_photo {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
width: 30%;
|
||||
text-align: center;
|
||||
}
|
||||
.info {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
width: 70%;
|
||||
padding-left:10px;
|
||||
border-left: 1px solid #032ba2;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
.info p{
|
||||
font-size:15px;
|
||||
}
|
||||
.id_photo img{
|
||||
width:80px;
|
||||
height:100px;
|
||||
padding-right:10px;
|
||||
}
|
||||
#sign{
|
||||
width:110px;
|
||||
height:30px;
|
||||
}
|
||||
@media print {
|
||||
body {
|
||||
-webkit-print-color-adjust: exact !important;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
// $lnk2 = explode('?', $lnk);
|
||||
// if($lnk!= "print_counselling_form")include("ADMISSION_HEADER.php");
|
||||
// if (isset($_SESSION['EMAIL']) || isset($_COOKIE['EMAIL'])) {
|
||||
// if($lnk=="") include("home.php");
|
||||
// elseif(file_exists(__DIR__."/".$lnk.".php")) include($lnk.".php");
|
||||
// elseif(isset($lnk2[1]) && file_exists(__DIR__."/".$lnk2[0].".php") ) include($lnk2[0].".php");
|
||||
// else include("404.php");
|
||||
// } else echo '<center>
|
||||
// <h2>Provide Details to login</h2> <a href="https://siliconpin.com/id/auth"><button class="btn btn-default">Login</button></a> </center>';
|
||||
// include("ADMISSION_FOOTER.php");
|
||||
$authorizedmail = array("rishu.ccp@gmail.com", "sarkar.suvankar@gmail.com", "rajyeswarb@gmail.com", "teamdwdhabra@gmail.com");
|
||||
$GoogleSignIn=APP_DIR."/CONTENT/COMPONENT/GoogleSignIn.php";
|
||||
if(isset($_SESSION['email']) && $_SESSION['SIGNEDIN']='yes' && in_array($_SESSION['email'], $authorizedmail) ) {
|
||||
$lnk2 = explode('?', $lnk);
|
||||
if($lnk!= "print_counselling_form")include("ADMISSION_HEADER.php");
|
||||
if($lnk=="") include("home.php");
|
||||
elseif(file_exists(__DIR__."/".$lnk.".php")) include($lnk.".php");
|
||||
elseif(isset($lnk2[1]) && file_exists(__DIR__."/".$lnk2[0].".php") ) include($lnk2[0].".php");
|
||||
else include("404.php");
|
||||
include("ADMISSION_FOOTER.php");
|
||||
}
|
||||
else {if(file_exists($GoogleSignIn))include($GoogleSignIn); else echo 'kk'.$GoogleSignIn;}
|
||||
?>
|
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
// $lnk2 = explode('?', $lnk);
|
||||
// if($lnk!= "print_counselling_form")include("ADMISSION_HEADER.php");
|
||||
// if (isset($_SESSION['EMAIL']) || isset($_COOKIE['EMAIL'])) {
|
||||
// if($lnk=="") include("home.php");
|
||||
// elseif(file_exists(__DIR__."/".$lnk.".php")) include($lnk.".php");
|
||||
// elseif(isset($lnk2[1]) && file_exists(__DIR__."/".$lnk2[0].".php") ) include($lnk2[0].".php");
|
||||
// else include("404.php");
|
||||
// } else echo '<center>
|
||||
// <h2>Provide Details to login</h2> <a href="https://siliconpin.com/id/auth"><button class="btn btn-default">Login</button></a> </center>';
|
||||
// include("ADMISSION_FOOTER.php");
|
||||
$authorizedmail = array("rishu.ccp@gmail.com", "sarkar.suvankar@gmail.com", "empty");
|
||||
$GoogleSignIn=APP_DIR."/CONTENT/COMPONENT/GoogleSignIn.php";
|
||||
if(isset($_SESSION['email']) && $_SESSION['SIGNEDIN']='yes' && in_array($_SESSION['email'], $authorizedmail) ) {
|
||||
$lnk2 = explode('?', $lnk);
|
||||
if($lnk!= "print_counselling_form")include("ADMISSION_HEADER.php");
|
||||
if($lnk=="") include("home.php");
|
||||
elseif(file_exists(__DIR__."/".$lnk.".php")) include($lnk.".php");
|
||||
elseif(isset($lnk2[1]) && file_exists(__DIR__."/".$lnk2[0].".php") ) include($lnk2[0].".php");
|
||||
else include("404.php");
|
||||
include("ADMISSION_FOOTER.php");
|
||||
}
|
||||
else {if(file_exists($GoogleSignIn))include($GoogleSignIn); else echo 'kk'.$GoogleSignIn;}
|
||||
?>
|
|
@ -0,0 +1,117 @@
|
|||
<nav class="navbar navbar-default">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="./">PG Admission Admin</a>
|
||||
</div>
|
||||
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#">All Forms
|
||||
<span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<?php
|
||||
foreach (glob(__DIR__ . "/../form_settings/HONOURS/*") as $filename) {
|
||||
$filename = explode('/', $filename);
|
||||
$filename = end($filename);
|
||||
echo "<li><a href='view_applicants?s=$filename'>$filename</a></li>";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Paid Forms
|
||||
<span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<?php
|
||||
foreach (glob(__DIR__ . "/../form_settings/HONOURS/*") as $filename) {
|
||||
$filename = explode('/', $filename);
|
||||
$filename = end($filename);
|
||||
echo "<li><a href='view_applicants?f=PAID&s=$filename'>$filename</a></li>";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#"> Create Merit List
|
||||
<span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<?php
|
||||
foreach (glob(__DIR__ . "/../form_settings/HONOURS/*") as $filename) {
|
||||
$filename = explode('/', $filename);
|
||||
$filename = end($filename);
|
||||
echo "<li><a href='merit_list?s=$filename'>$filename</a></li>";
|
||||
}
|
||||
foreach (glob(__DIR__ . "/../form_settings/HONOURS/*") as $filename) {
|
||||
$filename = explode('/', $filename);
|
||||
$filename = end($filename);
|
||||
echo "<li><a href='merit_list?s=".$filename."&UNI=HOME'>".$filename." Home University</a></li>";
|
||||
}
|
||||
foreach (glob(__DIR__ . "/../form_settings/HONOURS/*") as $filename) {
|
||||
$filename = explode('/', $filename);
|
||||
$filename = end($filename);
|
||||
echo "<li><a href='merit_list?s=".$filename."&RC=SC'>".$filename." SC</a></li>";
|
||||
}
|
||||
foreach (glob(__DIR__ . "/../form_settings/HONOURS/*") as $filename) {
|
||||
$filename = explode('/', $filename);
|
||||
$filename = end($filename);
|
||||
echo "<li><a href='merit_list?s=".$filename."&RC=ST'>".$filename." ST</a></li>";
|
||||
}
|
||||
foreach (glob(__DIR__ . "/../form_settings/HONOURS/*") as $filename) {
|
||||
$filename = explode('/', $filename);
|
||||
$filename = end($filename);
|
||||
echo "<li><a href='merit_list?s=".$filename."&RC=OBC-A'>".$filename." OBC-A</a></li>";
|
||||
}
|
||||
foreach (glob(__DIR__ . "/../form_settings/HONOURS/*") as $filename) {
|
||||
$filename = explode('/', $filename);
|
||||
$filename = end($filename);
|
||||
echo "<li><a href='merit_list?s=".$filename."&RC=OBC-B'>".$filename." OBC-B</a></li>";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li><a href="counselling">Counselling</a></li>
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Departments<span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<?php
|
||||
foreach (glob(__DIR__ . "/../form_settings/HONOURS/*") as $filename) {
|
||||
$filename = explode('/', $filename);
|
||||
$filename = end($filename);
|
||||
echo "<li><a href='departments?s=$filename'>$filename</a></li>";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#">I Card<span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<?php
|
||||
foreach (glob(__DIR__ . "/../form_settings/HONOURS/*") as $filename) {
|
||||
$filename = explode('/', $filename);
|
||||
$filename = end($filename);
|
||||
echo "<li><a href='icard?s=$filename'>$filename</a></li>";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- <ul class="nav navbar-nav navbar-right">
|
||||
<li><form method="post"><input type="hidden" name="SignOut" value=""><button style="margin:8px;color:#de0c0c" class="btn" type="submit">Logout</button></form></li>
|
||||
</ul> -->
|
||||
<?php
|
||||
$AvatarNLogout=APP_DIR."/CONTENT/COMPONENT/AvatarNLogout.php";
|
||||
if(file_exists($AvatarNLogout))include($AvatarNLogout); else echo 'kk'.$AvatarNLogout;
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
|
@ -0,0 +1,76 @@
|
|||
<nav class="navbar navbar-default">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="./">PG Admission Admin</a>
|
||||
</div>
|
||||
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#">View Form
|
||||
<span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<?php
|
||||
foreach (glob(APP_DIR . "/CONTENT/ROOT_URI/PG_Admission_19/form_settings/HONOURS/*") as $filename) {
|
||||
$filename = explode('/', $filename);
|
||||
$filename = end($filename);
|
||||
echo "<li><a href='view_applicants?s=$filename'>$filename</a></li>";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#"> Create Merit List
|
||||
<span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<?php
|
||||
foreach (glob(APP_DIR . "/CONTENT/ROOT_URI/PG_Admission_19/form_settings/HONOURS/*") as $filename) {
|
||||
$filename = explode('/', $filename);
|
||||
$filename = end($filename);
|
||||
echo "<li><a href='merit_list?s=$filename'>$filename</a></li>";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="counselling">Counselling</a></li>
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Departments<span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<?php
|
||||
foreach (glob(APP_DIR . "/CONTENT/ROOT_URI/PG_Admission_19/form_settings/HONOURS/*") as $filename) {
|
||||
$filename = explode('/', $filename);
|
||||
$filename = end($filename);
|
||||
echo "<li><a href='departments?s=$filename'>$filename</a></li>";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#">I Card<span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<?php
|
||||
foreach (glob(APP_DIR . "/CONTENT/ROOT_URI/PG_Admission_19/form_settings/HONOURS/*") as $filename) {
|
||||
$filename = explode('/', $filename);
|
||||
$filename = end($filename);
|
||||
echo "<li><a href='icard?s=$filename'>$filename</a></li>";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- <ul class="nav navbar-nav navbar-right">
|
||||
<li><form method="post"><input type="hidden" name="SignOut" value=""><button style="margin:8px;color:#de0c0c" class="btn" type="submit">Logout</button></form></li>
|
||||
</ul> -->
|
||||
<?php
|
||||
$AvatarNLogout=APP_DIR."/CONTENT/COMPONENT/AvatarNLogout.php";
|
||||
if(file_exists($AvatarNLogout))include($AvatarNLogout); else echo 'kk'.$AvatarNLogout;
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
|
@ -0,0 +1,94 @@
|
|||
<nav class="navbar navbar-default">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="./">PG Admission Admin</a>
|
||||
</div>
|
||||
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#">All Forms
|
||||
<span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<?php
|
||||
foreach (glob(__DIR__ . "/../form_settings/HONOURS/*") as $filename) {
|
||||
$filename = explode('/', $filename);
|
||||
$filename = end($filename);
|
||||
echo "<li><a href='view_applicants?s=$filename'>$filename</a></li>";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Paid Forms
|
||||
<span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<?php
|
||||
foreach (glob(__DIR__ . "/../form_settings/HONOURS/*") as $filename) {
|
||||
$filename = explode('/', $filename);
|
||||
$filename = end($filename);
|
||||
echo "<li><a href='view_applicants?f=PAID&s=$filename'>$filename</a></li>";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#"> Create Merit List
|
||||
<span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<?php
|
||||
foreach (glob(__DIR__ . "/../form_settings/HONOURS/*") as $filename) {
|
||||
$filename = explode('/', $filename);
|
||||
$filename = end($filename);
|
||||
echo "<li><a href='merit_list?s=$filename'>$filename</a></li>";
|
||||
}
|
||||
foreach (glob(__DIR__ . "/../form_settings/HONOURS/*") as $filename) {
|
||||
$filename = explode('/', $filename);
|
||||
$filename = end($filename);
|
||||
echo "<li><a href='merit_list?s=".$filename."&UNI=HOME'>".$filename." Home</a></li>";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="counselling">Counselling</a></li>
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Departments<span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<?php
|
||||
foreach (glob(__DIR__ . "/../form_settings/HONOURS/*") as $filename) {
|
||||
$filename = explode('/', $filename);
|
||||
$filename = end($filename);
|
||||
echo "<li><a href='departments?s=$filename'>$filename</a></li>";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#">I Card<span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<?php
|
||||
foreach (glob(__DIR__ . "/../form_settings/HONOURS/*") as $filename) {
|
||||
$filename = explode('/', $filename);
|
||||
$filename = end($filename);
|
||||
echo "<li><a href='icard?s=$filename'>$filename</a></li>";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- <ul class="nav navbar-nav navbar-right">
|
||||
<li><form method="post"><input type="hidden" name="SignOut" value=""><button style="margin:8px;color:#de0c0c" class="btn" type="submit">Logout</button></form></li>
|
||||
</ul> -->
|
||||
<?php
|
||||
$AvatarNLogout=APP_DIR."/CONTENT/COMPONENT/AvatarNLogout.php";
|
||||
if(file_exists($AvatarNLogout))include($AvatarNLogout); else echo 'kk'.$AvatarNLogout;
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
|
@ -0,0 +1,159 @@
|
|||
<?php
|
||||
if(isset($_POST["ADD_MERIT_LIST"]) && $_POST["ADD_MERIT_LIST"] =="NULL"){
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$sql = "UPDATE `scc_pg_19` SET `MERIT_LIST` = 1 WHERE `ID`='".$_POST["ROW_ID"]."'";
|
||||
if (mysqli_query($conn, $sql)){
|
||||
echo "<div class='container mt-3'><div class='alert alert-success alert-dismissable'>
|
||||
<a href='#' class='close' data-dismiss='alert' aria-label='close'>×</a>
|
||||
<strong>Added to Merit List!!</strong> For Student Id No. <strong>SCC19PG".$_POST["ROW_ID"]."</strong></div></div>";
|
||||
} else echo"<div class='container mt-3'><div class='alert alert-danger alert-dismissable'>
|
||||
<a href='#' class='close' data-dismiss='alert' aria-label='close'>×</a>
|
||||
<strong>Error!! </strong>0 Results!!</div></div>";
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
if(isset($_POST["MERIT_LIST"]) && $_POST["MERIT_LIST"] =="NULL"){
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$sql = "UPDATE `scc_pg_19` SET `MERIT_LIST` = NULL WHERE `ID`='".$_POST["ROW_ID"]."'";
|
||||
if (mysqli_query($conn, $sql)){
|
||||
echo "<div class='container mt-3'><div class='alert alert-success alert-dismissable'>
|
||||
<a href='#' class='close' data-dismiss='alert' aria-label='close'>×</a>
|
||||
<strong>Merit List Cleared!!</strong> For Student Id No. <strong>SCC19PG".$_POST["ROW_ID"]."</strong></div></div>";
|
||||
} else echo"<div class='container mt-3'><div class='alert alert-danger alert-dismissable'>
|
||||
<a href='#' class='close' data-dismiss='alert' aria-label='close'>×</a>
|
||||
<strong>Error!! </strong>0 Results!!</div></div>";
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
$fl0 = 1;
|
||||
if(isset($_POST["HS_SUB_AGG"]) && $_POST["HS_SUB_AGG"]!="" && $_POST["HS_SUB_AGG"]>1){
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$sql = "UPDATE `scc_pg_19` SET `MERIT_LIST` = '".$_POST["MERIT_LIST_COUNT"]. "' WHERE `PAY_FORM` LIKE 'PAID' AND `MERIT_LIST` IS NULL AND `AGGREGATE` >= '".$_POST["HS_SUB_AGG"]."' AND `H_NM`='".$_GET["s"]."'";
|
||||
if (mysqli_query($conn, $sql)){
|
||||
echo "<div class='container mt-3'><div class='alert alert-success alert-dismissable'>
|
||||
<a href='#' class='close' data-dismiss='alert' aria-label='close'>×</a>
|
||||
<strong>Done!! Merit List Created</strong></div></div>";
|
||||
} else echo"<div class='container mt-3'><div class='alert alert-danger alert-dismissable'>
|
||||
<a href='#' class='close' data-dismiss='alert' aria-label='close'>×</a>
|
||||
<strong>Error!! </strong>0 Results!!</div></div>";
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$s= urldecode($_GET['s']);
|
||||
|
||||
if(isset($_GET['UNI']) && $_GET['UNI']=="HOME"){
|
||||
$uni= "AND `UNIVERSITY` LIKE 'West Bengal State University'";
|
||||
} else {
|
||||
$uni = "";
|
||||
}
|
||||
|
||||
if(isset($_GET['RC']) && $_GET['RC']=="SC"){
|
||||
$rc= "AND `CASTE` LIKE 'SC'";
|
||||
} elseif(isset($_GET['RC']) && $_GET['RC'] == "ST"){
|
||||
$t01 = 0;
|
||||
$rc = "AND `CASTE` LIKE 'ST'";
|
||||
} elseif(isset($_GET['RC']) && $_GET['RC'] == "OBC-A"){
|
||||
$rc = "AND `CASTE` LIKE 'OBC-A'";
|
||||
} elseif(isset($_GET['RC']) && $_GET['RC'] == "OBC-B"){
|
||||
$rc = "AND `CASTE` LIKE 'OBC-B'";
|
||||
} else{
|
||||
$rc = "";
|
||||
}
|
||||
|
||||
$sql = "SELECT * FROM `scc_pg_19` WHERE `PAY_FORM` LIKE 'PAID' ".$uni." ".$rc." AND `H_NM` LIKE '%".$s."%'" ."ORDER BY AGGREGATE DESC";
|
||||
$result = mysqli_query($conn, $sql);
|
||||
if (mysqli_num_rows($result) > 0) {
|
||||
echo '<div class="container table-responsive text-center text-uppercase">
|
||||
<h1>'.$s.'</h1><hr>
|
||||
<table class="table table-bordered table-striped table-hover">
|
||||
<tr>
|
||||
<th>SL</th>
|
||||
<th>FORM ID</th>
|
||||
<th>STUDENT NAME</th>
|
||||
<th>MOBILE NO.</th>
|
||||
<th>HONOURS</th>
|
||||
<th>AGGREGATE MARKS</th>
|
||||
<th>MERIT LIST</th>
|
||||
<th>EDIT LIST</th>
|
||||
<th>ADD TO LIST</th>
|
||||
</tr>';
|
||||
$i=0;
|
||||
$t01=0;
|
||||
$t02[0]=0;
|
||||
while($row = mysqli_fetch_assoc($result)) {
|
||||
$i++;
|
||||
$id = $row["ID"];
|
||||
$STUDENT_NAME = $row["NAME"];
|
||||
$MOBILE = $row["MOBILE"];
|
||||
$Aggregate = $row["AGGREGATE"];
|
||||
$H_NM = $row["H_NM"];
|
||||
$MERIT_LIST = $row["MERIT_LIST"];
|
||||
if($t01<=$MERIT_LIST) $t01=$MERIT_LIST;//take the biggest value in to $t01
|
||||
if ($MERIT_LIST==1)$t02[1]=1;
|
||||
if ($MERIT_LIST==2)$t02[2]=2;
|
||||
if ($MERIT_LIST==3)$t02[3]=3;
|
||||
if ($MERIT_LIST==4)$t02[4]=4;
|
||||
if ($MERIT_LIST==5)$t02[5]=5;
|
||||
echo '
|
||||
<tr>
|
||||
<td>'.$i. '</td>
|
||||
<td>SCC19PG'.$id.'</td>
|
||||
<td>'.$STUDENT_NAME.'</td>
|
||||
<td>'.$MOBILE.'</td>
|
||||
<td>'. $H_NM .'</td>
|
||||
<td>'.$Aggregate.'</td>
|
||||
<td>'.$MERIT_LIST.'</td>
|
||||
<td>
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name="MERIT_LIST" value="NULL">
|
||||
<input type="hidden" name="ROW_ID" value="'.$id.'">
|
||||
<button type="submit" class="btn btn-danger">Remove From List</button>
|
||||
</form>
|
||||
</td>
|
||||
<td>
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name="ADD_MERIT_LIST" value="NULL">
|
||||
<input type="hidden" name="ROW_ID" value="'.$id.'">
|
||||
<button type="submit" class="btn btn-primary">Add To List</button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>';
|
||||
|
||||
|
||||
}echo ' </table></div>';
|
||||
} else { echo "<div class='container text-center'><h2>No students for this Stream!</h2></div>";}
|
||||
|
||||
if($t01==6)die("<div class='container'><h1>Maximum allowed Merit list 5 is over</h1></div>");
|
||||
elseif($t01==5){$fl0=6;$temp="6th";}
|
||||
elseif($t01==4){$fl0=5;$temp="5th";}
|
||||
elseif($t01==3){$fl0=4;$temp="4th";}
|
||||
elseif($t01==2){$fl0=3;$temp="3rd";}
|
||||
elseif($t01==1){$fl0=2;$temp="2nd";}
|
||||
else {$fl0 = 1;$temp="1st";}
|
||||
?>
|
||||
|
||||
<hr>
|
||||
<div class="container">
|
||||
<?php
|
||||
if(isset($t02[1]) && $t02[1]==1)echo'<a class="btn btn-primary mr" href="/PG_Admission_19/PRINT/merit_list?list=1&stream='.$_GET['s'].'" target="blank">Print '.$t02[1].'st Merit List</a>';
|
||||
if(isset($t02[2]) && $t02[2]==2)echo'<a class="btn btn-primary mr" href="/PG_Admission_19/PRINT/merit_list?list=2&stream='.$_GET['s'].'" target="blank">Print '.$t02[2].'nd Merit List</a>';
|
||||
if(isset($t02[3]) && $t02[3]==3)echo'<a class="btn btn-primary mr" href="/PG_Admission_19/PRINT/merit_list?list=3&stream='.$_GET['s'].'" target="blank">Print '.$t02[3].'rd Merit List</a>';
|
||||
if(isset($t02[4]) && $t02[4]==4)echo'<a class="btn btn-primary mr" href="/PG_Admission_19/PRINT/merit_list?list=4&stream='.$_GET['s'].'" target="blank">Print '.$t02[4].'th Merit List</a>';
|
||||
if(isset($t02[5]) && $t02[5]==5)echo'<a class="btn btn-primary mr" href="/PG_Admission_19/PRINT/merit_list?list=5&stream='.$_GET['s'].'" target="blank">Print '.$t02[5].'th Merit List</a>';
|
||||
?>
|
||||
</div>
|
||||
<hr>
|
||||
|
||||
<div class="container">
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
<div class="form-group form-inline">
|
||||
<input type="text" class="form-control form-style form-inline" name="HS_SUB_AGG" placeholder="Aggregate Upto">
|
||||
<input type="hidden" name="MERIT_LIST_COUNT" value="<?php echo $fl0;?>">
|
||||
<button type="submit" class="btn btn-primary">Genarate <?php echo $temp;?> Merit List</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
|
@ -0,0 +1,123 @@
|
|||
<?php
|
||||
if(isset($_POST["MERIT_LIST"]) && $_POST["MERIT_LIST"] =="NULL"){
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$sql = "UPDATE `admission` SET `MERIT_LIST` = NULL WHERE `ID`='".$_POST["ROW_ID"]."'";
|
||||
if (mysqli_query($conn, $sql)){
|
||||
echo "<div class='container mt-3'><div class='alert alert-success alert-dismissable'>
|
||||
<a href='#' class='close' data-dismiss='alert' aria-label='close'>×</a>
|
||||
<strong>Merit List Cleared!!</strong> For Student Id No. <strong>SCC19UG".$_POST["ROW_ID"]."</strong></div></div>";
|
||||
} else echo"<div class='container mt-3'><div class='alert alert-danger alert-dismissable'>
|
||||
<a href='#' class='close' data-dismiss='alert' aria-label='close'>×</a>
|
||||
<strong>Error!! </strong>0 Results!!</div></div>";
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
$fl0 = 1;
|
||||
if(isset($_POST["HS_SUB_AGG"]) && $_POST["HS_SUB_AGG"]!="" && $_POST["HS_SUB_AGG"]>1){
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$sql = "UPDATE `admission` SET `MERIT_LIST` = '".$_POST["MERIT_LIST_COUNT"]."' WHERE `MERIT_LIST` IS NULL AND `HS_SUB_AGG` >= '".$_POST["HS_SUB_AGG"]."' AND `GEN_HONOURS`='".$_GET["s"]."'";
|
||||
if (mysqli_query($conn, $sql)){
|
||||
echo "<div class='container mt-3'><div class='alert alert-success alert-dismissable'>
|
||||
<a href='#' class='close' data-dismiss='alert' aria-label='close'>×</a>
|
||||
<strong>Done!! Merit List Created</strong></div></div>";
|
||||
} else echo"<div class='container mt-3'><div class='alert alert-danger alert-dismissable'>
|
||||
<a href='#' class='close' data-dismiss='alert' aria-label='close'>×</a>
|
||||
<strong>Error!! </strong>0 Results!!</div></div>";
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$s= urldecode($_GET['s']);
|
||||
$sql = "SELECT * FROM `admission` WHERE `GEN_HONOURS` LIKE '%".$s."%'" ."ORDER BY HS_SUB_AGG DESC";
|
||||
$result = mysqli_query($conn, $sql);
|
||||
if (mysqli_num_rows($result) > 0) {
|
||||
echo'<div class="container table-responsive text-center">
|
||||
<h1>'.$s.'</h1><hr>
|
||||
<table class="table table-bordered table-striped table-hover">
|
||||
<tr>
|
||||
<th>SL</th>
|
||||
<th>FORM ID</th>
|
||||
<th>STUDENT NAME</th>
|
||||
<th>MOBILE NO.</th>
|
||||
<th>HONOURS</th>
|
||||
<th>AGGREGATE MARKS</th>
|
||||
<th>FORM CHALAN</th>
|
||||
<th>ADMISSION CHALAN</th>
|
||||
<th>MERIT LIST</th>
|
||||
<th>EDIT LIST</th>
|
||||
</tr>';
|
||||
$i=0;
|
||||
$t01=0;
|
||||
$t02[0]=0;
|
||||
while($row = mysqli_fetch_assoc($result)) {
|
||||
$i++;
|
||||
$id = $row["ID"];
|
||||
$STUDENT_NAME = $row["STUDENT_NAME"];
|
||||
$MOBILE = $row["MOBILE"];
|
||||
$Aggregate = $row["HS_SUB_AGG"];
|
||||
$GEN_HONOURS = $row["GEN_HONOURS"];
|
||||
$FORM_CHALAN = $row["FORM_CHALAN"];
|
||||
$ADMISSION_CHALAN = $row["ADMISSION_CHALAN"];
|
||||
$MERIT_LIST = $row["MERIT_LIST"];
|
||||
if($t01<=$MERIT_LIST) $t01=$MERIT_LIST;//take the biggest value in to $t01
|
||||
if ($MERIT_LIST==1)$t02[1]=1;
|
||||
if ($MERIT_LIST==2)$t02[2]=2;
|
||||
if ($MERIT_LIST==3)$t02[3]=3;
|
||||
if ($MERIT_LIST==4)$t02[4]=4;
|
||||
if ($MERIT_LIST==5)$t02[5]=5;
|
||||
echo '
|
||||
<tr>
|
||||
<td>'.$i.'</td>
|
||||
<td>SCC19UG'.$id.'</td>
|
||||
<td>'.$STUDENT_NAME.'</td>
|
||||
<td>'.$MOBILE.'</td>
|
||||
<td>'.$GEN_HONOURS.'</td>
|
||||
<td>'.$Aggregate.'</td>
|
||||
<td>'.$FORM_CHALAN.'</td>
|
||||
<td>'.$ADMISSION_CHALAN.'</td>
|
||||
<td>'.$MERIT_LIST.'</td>
|
||||
<td>
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name="MERIT_LIST" value="NULL">
|
||||
<input type="hidden" name="ROW_ID" value="'.$id.'">
|
||||
<button type="submit" class="btn btn-primary">Remove From List</button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>';
|
||||
|
||||
|
||||
}echo ' </table></div>';
|
||||
} else { echo "<div class='container text-center'><h2>No students for this Stream!</h2></div>";}
|
||||
|
||||
if($t01==6)die("<div class='container'><h1>Maximum allowed Merit list 5 is over</h1></div>");
|
||||
elseif($t01==5){$fl0=6;$temp="6th";}
|
||||
elseif($t01==4){$fl0=5;$temp="5th";}
|
||||
elseif($t01==3){$fl0=4;$temp="4th";}
|
||||
elseif($t01==2){$fl0=3;$temp="3rd";}
|
||||
elseif($t01==1){$fl0=2;$temp="2nd";}
|
||||
else {$fl0 = 1;$temp="1st";}
|
||||
?>
|
||||
|
||||
<hr>
|
||||
<div class="container">
|
||||
<?php
|
||||
if(isset($t02[1]) && $t02[1]==1)echo'<a class="btn btn-primary mr" href="/Admission/PRINT/merit_list?list=1&stream='.$_GET['s'].'" target="blank">Print '.$t02[1].'st Merit List</a>';
|
||||
if(isset($t02[2]) && $t02[2]==2)echo'<a class="btn btn-primary mr" href="/Admission/PRINT/merit_list?list=2&stream='.$_GET['s'].'" target="blank">Print '.$t02[2].'nd Merit List</a>';
|
||||
if(isset($t02[3]) && $t02[3]==3)echo'<a class="btn btn-primary mr" href="/Admission/PRINT/merit_list?list=3&stream='.$_GET['s'].'" target="blank">Print '.$t02[3].'rd Merit List</a>';
|
||||
if(isset($t02[4]) && $t02[4]==4)echo'<a class="btn btn-primary mr" href="/Admission/PRINT/merit_list?list=4&stream='.$_GET['s'].'" target="blank">Print '.$t02[4].'th Merit List</a>';
|
||||
if(isset($t02[5]) && $t02[5]==5)echo'<a class="btn btn-primary mr" href="/Admission/PRINT/merit_list?list=5&stream='.$_GET['s'].'" target="blank">Print '.$t02[5].'th Merit List</a>';
|
||||
?>
|
||||
</div>
|
||||
<hr>
|
||||
|
||||
<div class="container">
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
<div class="form-group form-inline">
|
||||
<input type="text" class="form-control form-style form-inline" name="HS_SUB_AGG" placeholder="Aggregate Upto">
|
||||
<input type="hidden" name="MERIT_LIST_COUNT" value="<?php echo $fl0;?>">
|
||||
<button type="submit" class="btn btn-primary">Genarate <?php echo $temp;?> Merit List</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
|
@ -0,0 +1,125 @@
|
|||
<?php
|
||||
if(isset($_POST["MERIT_LIST"]) && $_POST["MERIT_LIST"] =="NULL"){
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$sql = "UPDATE `scc_pg_19` SET `MERIT_LIST` = NULL WHERE `ID`='".$_POST["ROW_ID"]."'";
|
||||
if (mysqli_query($conn, $sql)){
|
||||
echo "<div class='container mt-3'><div class='alert alert-success alert-dismissable'>
|
||||
<a href='#' class='close' data-dismiss='alert' aria-label='close'>×</a>
|
||||
<strong>Merit List Cleared!!</strong> For Student Id No. <strong>SCC19UG".$_POST["ROW_ID"]."</strong></div></div>";
|
||||
} else echo"<div class='container mt-3'><div class='alert alert-danger alert-dismissable'>
|
||||
<a href='#' class='close' data-dismiss='alert' aria-label='close'>×</a>
|
||||
<strong>Error!! </strong>0 Results!!</div></div>";
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
$fl0 = 1;
|
||||
if(isset($_POST["HS_SUB_AGG"]) && $_POST["HS_SUB_AGG"]!="" && $_POST["HS_SUB_AGG"]>1){
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$sql = "UPDATE `scc_pg_19` SET `MERIT_LIST` = '".$_POST["MERIT_LIST_COUNT"]. "' WHERE `PAY_FORM` LIKE 'PAID' AND `MERIT_LIST` IS NULL AND `AGGREGATE` >= '".$_POST["HS_SUB_AGG"]."' AND `H_NM`='".$_GET["s"]."'";
|
||||
if (mysqli_query($conn, $sql)){
|
||||
echo "<div class='container mt-3'><div class='alert alert-success alert-dismissable'>
|
||||
<a href='#' class='close' data-dismiss='alert' aria-label='close'>×</a>
|
||||
<strong>Done!! Merit List Created</strong></div></div>";
|
||||
} else echo"<div class='container mt-3'><div class='alert alert-danger alert-dismissable'>
|
||||
<a href='#' class='close' data-dismiss='alert' aria-label='close'>×</a>
|
||||
<strong>Error!! </strong>0 Results!!</div></div>";
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$s= urldecode($_GET['s']);
|
||||
|
||||
if(isset($_GET['UNI']) && $_GET['UNI']=="HOME"){
|
||||
$uni= "AND `UNIVERSITY` = 'West Bengal State University'";
|
||||
} else {
|
||||
$uni = "";
|
||||
}
|
||||
echo $uni;
|
||||
|
||||
$sql = "SELECT * FROM `scc_pg_19` WHERE `PAY_FORM` LIKE 'PAID' ".$uni." AND `H_NM` LIKE '%".$s."%'" ."ORDER BY AGGREGATE DESC";
|
||||
$result = mysqli_query($conn, $sql);
|
||||
if (mysqli_num_rows($result) > 0) {
|
||||
echo'<div class="container table-responsive text-center">
|
||||
<h1>'.$s.'</h1><hr>
|
||||
<table class="table table-bordered table-striped table-hover">
|
||||
<tr>
|
||||
<th>SL</th>
|
||||
<th>FORM ID</th>
|
||||
<th>STUDENT NAME</th>
|
||||
<th>MOBILE NO.</th>
|
||||
<th>HONOURS</th>
|
||||
<th>AGGREGATE MARKS</th>
|
||||
<th>MERIT LIST</th>
|
||||
<th>EDIT LIST</th>
|
||||
</tr>';
|
||||
$i=0;
|
||||
$t01=0;
|
||||
$t02[0]=0;
|
||||
while($row = mysqli_fetch_assoc($result)) {
|
||||
$i++;
|
||||
$id = $row["ID"];
|
||||
$STUDENT_NAME = $row["NAME"];
|
||||
$MOBILE = $row["MOBILE"];
|
||||
$Aggregate = $row["AGGREGATE"];
|
||||
$H_NM = $row["H_NM"];
|
||||
$MERIT_LIST = $row["MERIT_LIST"];
|
||||
if($t01<=$MERIT_LIST) $t01=$MERIT_LIST;//take the biggest value in to $t01
|
||||
if ($MERIT_LIST==1)$t02[1]=1;
|
||||
if ($MERIT_LIST==2)$t02[2]=2;
|
||||
if ($MERIT_LIST==3)$t02[3]=3;
|
||||
if ($MERIT_LIST==4)$t02[4]=4;
|
||||
if ($MERIT_LIST==5)$t02[5]=5;
|
||||
echo '
|
||||
<tr>
|
||||
<td>'.$i. '</td>
|
||||
<td>SCC19PG'.$id.'</td>
|
||||
<td style="text-transform:uppercase">'.$STUDENT_NAME.'</td>
|
||||
<td>'.$MOBILE.'</td>
|
||||
<td>'. $H_NM .'</td>
|
||||
<td>'.$Aggregate.'</td>
|
||||
<td>'.$MERIT_LIST.'</td>
|
||||
<td>
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name="MERIT_LIST" value="NULL">
|
||||
<input type="hidden" name="ROW_ID" value="'.$id.'">
|
||||
<button type="submit" class="btn btn-primary">Remove From List</button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>';
|
||||
|
||||
|
||||
}echo ' </table></div>';
|
||||
} else { echo "<div class='container text-center'><h2>No students for this Stream!</h2></div>";}
|
||||
|
||||
if($t01==6)die("<div class='container'><h1>Maximum allowed Merit list 5 is over</h1></div>");
|
||||
elseif($t01==5){$fl0=6;$temp="6th";}
|
||||
elseif($t01==4){$fl0=5;$temp="5th";}
|
||||
elseif($t01==3){$fl0=4;$temp="4th";}
|
||||
elseif($t01==2){$fl0=3;$temp="3rd";}
|
||||
elseif($t01==1){$fl0=2;$temp="2nd";}
|
||||
else {$fl0 = 1;$temp="1st";}
|
||||
?>
|
||||
|
||||
<hr>
|
||||
<div class="container">
|
||||
<?php
|
||||
if(isset($t02[1]) && $t02[1]==1)echo'<a class="btn btn-primary mr" href="/PG_Admission_19/PRINT/merit_list?list=1&stream='.$_GET['s'].'" target="blank">Print '.$t02[1].'st Merit List</a>';
|
||||
if(isset($t02[2]) && $t02[2]==2)echo'<a class="btn btn-primary mr" href="/PG_Admission_19/PRINT/merit_list?list=2&stream='.$_GET['s'].'" target="blank">Print '.$t02[2].'nd Merit List</a>';
|
||||
if(isset($t02[3]) && $t02[3]==3)echo'<a class="btn btn-primary mr" href="/PG_Admission_19/PRINT/merit_list?list=3&stream='.$_GET['s'].'" target="blank">Print '.$t02[3].'rd Merit List</a>';
|
||||
if(isset($t02[4]) && $t02[4]==4)echo'<a class="btn btn-primary mr" href="/PG_Admission_19/PRINT/merit_list?list=4&stream='.$_GET['s'].'" target="blank">Print '.$t02[4].'th Merit List</a>';
|
||||
if(isset($t02[5]) && $t02[5]==5)echo'<a class="btn btn-primary mr" href="/PG_Admission_19/PRINT/merit_list?list=5&stream='.$_GET['s'].'" target="blank">Print '.$t02[5].'th Merit List</a>';
|
||||
?>
|
||||
</div>
|
||||
<hr>
|
||||
|
||||
<div class="container">
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
<div class="form-group form-inline">
|
||||
<input type="text" class="form-control form-style form-inline" name="HS_SUB_AGG" placeholder="Aggregate Upto">
|
||||
<input type="hidden" name="MERIT_LIST_COUNT" value="<?php echo $fl0;?>">
|
||||
<button type="submit" class="btn btn-primary">Genarate <?php echo $temp;?> Merit List</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
$payload['sub'] =" ID";
|
||||
$payload['name'] ="RISHI";
|
||||
$payload['locale'] ="ENGLISH";
|
||||
$payload['email'] ="rishu.ccp@gmail.com";
|
||||
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
if ($conn->connect_error) die("Connection failed: " . $conn->connect_error);
|
||||
else {
|
||||
mysqli_set_charset($conn, "utf8");
|
||||
|
||||
$stmt = $conn->prepare("INSERT INTO " . $GLOBALS['table3'] . " (`ID`, `FULL_NAME`, `LANG`, `EMAIL`) VALUES (?, ?, ?, ?)");
|
||||
|
||||
$stmt->bind_param("ssss", $payload['sub'], $payload['name'], $payload['locale'], $payload['email']);
|
||||
|
||||
if ($stmt->execute()) {
|
||||
echo $payload['sub']."<br>";
|
||||
echo $payload['name']."<br>";
|
||||
echo $payload['locale']."<br>";
|
||||
echo $payload['email']."<br>";
|
||||
} else {
|
||||
echo "Error: Contact Web admin ";
|
||||
}
|
||||
$stmt->close();
|
||||
}
|
||||
$conn->close();
|
||||
?>
|
|
@ -0,0 +1,92 @@
|
|||
<?php
|
||||
if(isset($_GET['s'])){
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$s = urldecode($_GET['s']);
|
||||
$f = urldecode($_GET['f']);
|
||||
if(isset($_GET['f']) && $_GET['f'] == "PAID"){
|
||||
$sql = "SELECT * FROM `scc_pg_19` WHERE `H_NM` LIKE '%" . $s . "%' AND `PAY_FORM` LIKE '%" . $f . "%'" . "";
|
||||
$result = mysqli_query($conn, $sql);
|
||||
if (mysqli_num_rows($result) > 0) {
|
||||
echo '<div class="container table-responsive text-center">
|
||||
<h1>' . $s . '</h1><hr>
|
||||
<table class="table table-bordered table-striped table-hover">
|
||||
<tr>
|
||||
<th>SL</th>
|
||||
<th>FORM ID</th>
|
||||
<th>STUDENT NAME</th>
|
||||
<th>MOBILE NO.</th>
|
||||
<th>APPLIED FOR</th>
|
||||
<th>AGGREGATE MARKS</th>
|
||||
</tr>';
|
||||
$i = 0;
|
||||
$t01 = 0;
|
||||
$t02[0] = 0;
|
||||
while ($row = mysqli_fetch_assoc($result)) {
|
||||
$i++;
|
||||
$id = $row["ID"];
|
||||
$STUDENT_NAME = $row["NAME"];
|
||||
$MOBILE = $row["MOBILE"];
|
||||
$H_NM = $row["H_NM"];
|
||||
$AGGREGATE = $row["AGGREGATE"];
|
||||
$PAY_STATUS = $row["PAY_STATUS"];
|
||||
echo '
|
||||
<tr>
|
||||
<td>' . $i . '</td>
|
||||
<td><a href="/PG_Admission_19/PRINT/print_form_pg?id=' . $id . '" class="btn btn-primary" target="blank">SCC19PG' . $id . '</a></td>
|
||||
<td>' . $STUDENT_NAME . '</td>
|
||||
<td>' . $MOBILE . '</td>
|
||||
<td>' . $H_NM . '</td>
|
||||
<td>' . $AGGREGATE . '</td>
|
||||
</tr>';
|
||||
|
||||
|
||||
}
|
||||
echo ' </table></div>';
|
||||
} else {
|
||||
echo "<div class='container text-center'><h2>No students for this Stream!</h2></div>";
|
||||
}
|
||||
} else{
|
||||
$sql = "SELECT * FROM `scc_pg_19` WHERE `H_NM` LIKE '%" . $s . "%'" . "";
|
||||
$result = mysqli_query($conn, $sql);
|
||||
if (mysqli_num_rows($result) > 0) {
|
||||
echo '<div class="container table-responsive text-center">
|
||||
<h1>' . $s . '</h1><hr>
|
||||
<table class="table table-bordered table-striped table-hover">
|
||||
<tr>
|
||||
<th>SL</th>
|
||||
<th>FORM ID</th>
|
||||
<th>STUDENT NAME</th>
|
||||
<th>MOBILE NO.</th>
|
||||
<th>APPLIED FOR</th>
|
||||
<th>AGGREGATE MARKS</th>
|
||||
</tr>';
|
||||
$i = 0;
|
||||
$t01 = 0;
|
||||
$t02[0] = 0;
|
||||
while ($row = mysqli_fetch_assoc($result)) {
|
||||
$i++;
|
||||
$id = $row["ID"];
|
||||
$STUDENT_NAME = $row["NAME"];
|
||||
$MOBILE = $row["MOBILE"];
|
||||
$H_NM = $row["H_NM"];
|
||||
$AGGREGATE = $row["AGGREGATE"];
|
||||
$PAY_STATUS = $row["PAY_STATUS"];
|
||||
echo '
|
||||
<tr>
|
||||
<td>' . $i . '</td>
|
||||
<td><a href="/PG_Admission_19/PRINT/print_form_pg?id=' . $id . '" class="btn btn-primary" target="blank">SCC19PG' . $id . '</a></td>
|
||||
<td>' . $STUDENT_NAME . '</td>
|
||||
<td>' . $MOBILE . '</td>
|
||||
<td>' . $H_NM . '</td>
|
||||
<td>' . $AGGREGATE . '</td>
|
||||
</tr>';
|
||||
|
||||
|
||||
}
|
||||
echo ' </table></div>';
|
||||
} else {
|
||||
echo "<div class='container text-center'><h2>No students for this Stream!</h2></div>";
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
|
@ -0,0 +1,47 @@
|
|||
<?php
|
||||
if(isset($_GET['s'])){
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$s= urldecode($_GET['s']);
|
||||
$sql = "SELECT * FROM `scc_pg_19` WHERE `H_NM` LIKE '%" . $s . "%'" . "";
|
||||
$result = mysqli_query($conn, $sql);
|
||||
if (mysqli_num_rows($result) > 0) {
|
||||
echo '<div class="container table-responsive text-center">
|
||||
<h1>' . $s . '</h1><hr>
|
||||
<table class="table table-bordered table-striped table-hover">
|
||||
<tr>
|
||||
<th>SL</th>
|
||||
<th>FORM ID</th>
|
||||
<th>STUDENT NAME</th>
|
||||
<th>MOBILE NO.</th>
|
||||
<th>APPLIED FOR</th>
|
||||
<th>PAYMENT STATUS</th>
|
||||
</tr>';
|
||||
$i = 0;
|
||||
$t01 = 0;
|
||||
$t02[0] = 0;
|
||||
while ($row = mysqli_fetch_assoc($result)) {
|
||||
$i++;
|
||||
$id = $row["ID"];
|
||||
$STUDENT_NAME = $row["NAME"];
|
||||
$MOBILE = $row["MOBILE"];
|
||||
$H_NM = $row["H_NM"];
|
||||
$AGGREGATE = $row["AGGREGATE"];
|
||||
$PAY_STATUS = $row["PAY_STATUS"];
|
||||
echo '
|
||||
<tr>
|
||||
<td>' . $i . '</td>
|
||||
<td><a href="/PG_Admission_19/PRINT/print_form_pg?id=' . $id . '" class="btn btn-primary" target="blank">SCC19PG' . $id . '</a></td>
|
||||
<td>' . $STUDENT_NAME . '</td>
|
||||
<td>' . $MOBILE . '</td>
|
||||
<td>' . $H_NM . '</td>
|
||||
<td>' . $PAY_STATUS . '</td>
|
||||
</tr>';
|
||||
|
||||
|
||||
}
|
||||
echo ' </table></div>';
|
||||
} else {
|
||||
echo "<div class='container text-center'><h2>No students for this Stream!</h2></div>";
|
||||
}
|
||||
}
|
||||
?>
|
|
@ -0,0 +1,53 @@
|
|||
<?php
|
||||
if(isset($_GET['s'])){
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$s= urldecode($_GET['s']);
|
||||
$sql = "SELECT * FROM `scc_pg_19` WHERE `H_NM` LIKE '%" . $s . "%'" . "";
|
||||
$result = mysqli_query($conn, $sql);
|
||||
if (mysqli_num_rows($result) > 0) {
|
||||
echo '<div class="container table-responsive text-center">
|
||||
<h1>' . $s . '</h1><hr>
|
||||
<table class="table table-bordered table-striped table-hover">
|
||||
<tr>
|
||||
<th>SL</th>
|
||||
<th>FORM ID</th>
|
||||
<th>STUDENT NAME</th>
|
||||
<th>MOBILE NO.</th>
|
||||
<th>APPLIED FOR</th>
|
||||
<th>FORM</th>
|
||||
<th>ADMISSION</th>
|
||||
<th>PAYMENT STATUS</th>
|
||||
</tr>';
|
||||
$i = 0;
|
||||
$t01 = 0;
|
||||
$t02[0] = 0;
|
||||
while ($row = mysqli_fetch_assoc($result)) {
|
||||
$i++;
|
||||
$id = $row["ID"];
|
||||
$STUDENT_NAME = $row["NAME"];
|
||||
$MOBILE = $row["MOBILE"];
|
||||
$H_NM = $row["H_NM"];
|
||||
$AGGREGATE = $row["AGGREGATE"];
|
||||
$FORM = $row["PAY_FORM"];
|
||||
$ADMISSION = $row["PAY_ADMISSION"];
|
||||
$PAY_STATUS = $row["PAY_STATUS"];
|
||||
echo '
|
||||
<tr>
|
||||
<td>' . $i . '</td>
|
||||
<td><a href="/PG_Admission_19/PRINT/print_form_pg?id=' . $id . '" class="btn btn-primary" target="blank">SCC19PG' . $id . '</a></td>
|
||||
<td>' . $STUDENT_NAME . '</td>
|
||||
<td>' . $MOBILE . '</td>
|
||||
<td>' . $H_NM . '</td>
|
||||
<td>' . $FORM . '</td>
|
||||
<td>' . $ADMISSION . '</td>
|
||||
<td>' . $PAY_STATUS . '</td>
|
||||
</tr>';
|
||||
|
||||
|
||||
}
|
||||
echo ' </table></div>';
|
||||
} else {
|
||||
echo "<div class='container text-center'><h2>No students for this Stream!</h2></div>";
|
||||
}
|
||||
}
|
||||
?>
|
|
@ -0,0 +1,332 @@
|
|||
<?php
|
||||
|
||||
if((isset($_POST['formid']))&&($_POST['formid']=='BMMV_UG_19'))
|
||||
{
|
||||
if($_POST['HS_SUB_NO1']=="" || $_POST['HS_SUB_NO2']=="" || $_POST['HS_SUB_NO3']=="" || $_POST['HS_SUB_NO4']=="" || $_POST['HS_SUB_NO5']=="" || $_POST['ssub_1']=="" || $_POST['ssub_2']=="" ){
|
||||
echo "<h2> Some informations are missing: <br> 1. Open the admission form again, 2. Refresh the form. 3. Fill it up with all mandatory information. </h2> "; exit();
|
||||
}
|
||||
|
||||
$admission["STUDENT_NAME"] = $_POST["STUDENT_NAME"];
|
||||
$admission["FATHER_NAME"] = $_POST["FATHER_NAME"];
|
||||
$admission["MOTHER_NAME"] = $_POST["MOTHER_NAME"];
|
||||
$admission["GUARDIAN_NAME"] = $_POST["GUARDIAN_NAME"];
|
||||
$admission["HUSBAND_NAME"] = $_POST["HUSBAND_NAME"];
|
||||
$admission["GENDER"] = $_POST["GENDER"];
|
||||
$admission["DOB"] = $_POST["DOBD"]."/".$_POST["DOBM"]."/".$_POST["DOBY"];
|
||||
$admission["RELIGION"] = $_POST["RELIGION"];
|
||||
$admission["NATIONALITY"] = $_POST["NATIONALITY"];
|
||||
$admission["RESERVATION_CATEGORY"] = $_POST["RESERVATION_CATEGORY"];
|
||||
$admission["PHYSICAL_DISABLITY"] = $_POST["PHYSICAL_DISABLITY"];
|
||||
$admission["BLOOD_GROUP"] = $_POST["BLOOD_GROUP"];
|
||||
$admission["ADDRESS"] = $_POST["ADDRESS"];
|
||||
$admission["MOBILE"] = $_POST["MOBILE"];
|
||||
$admission["EMAIL"] = $_POST["EMAIL"];
|
||||
$admission["GUARDIAN_OCCUPATION"] = $_POST["GUARDIAN_OCCUPATION"];
|
||||
$admission["MONTHLY_INCOME"] = $_POST["MONTHLY_INCOME"];
|
||||
$admission["HS_INSTITUTION"] = $_POST["HS_INSTITUTION"];
|
||||
$admission["HS_BOARD"] = $_POST["HS_BOARD"];
|
||||
$admission["HS_PASS_YEAR"] = $_POST["HS_PASS_YEAR"];
|
||||
$admission["HS_EXAM_NAME"] = $_POST["HS_EXAM_NAME"];
|
||||
$admission["HS_ROLL"] = $_POST["HS_ROLL"];
|
||||
$admission["HS_NO"] = $_POST["HS_NO"];
|
||||
$admission["HS_REGISTRATION_NUMBER"] = $_POST["HS_REGISTRATION_NUMBER"];
|
||||
$admission["HS_TOTAL_MARKS"] = $_POST["HS_TOTAL_MARKS"];
|
||||
$admission["HS_DIVISION"] = $_POST["HS_DIVISION"];
|
||||
$admission["GEN_HONOURS"] = $_POST["GEN_HONOURS"];
|
||||
$admission["HS_SUB_NO1"] = $_POST["HS_SUB_NO1"];
|
||||
$admission["HS_SUB_NM1"] = $_POST["HS_SUB_NM1"];
|
||||
$admission["HS_SUB_NO2"] = $_POST["HS_SUB_NO2"];
|
||||
$admission["HS_SUB_NM2"] = $_POST["HS_SUB_NM2"];
|
||||
$admission["HS_SUB_NO3"] = $_POST["HS_SUB_NO3"];
|
||||
$admission["HS_SUB_NM3"] = $_POST["HS_SUB_NM3"];
|
||||
$admission["HS_SUB_NO4"] = $_POST["HS_SUB_NO4"];
|
||||
$admission["HS_SUB_NM4"] = $_POST["HS_SUB_NM4"];
|
||||
$admission["HS_SUB_NO5"] = $_POST["HS_SUB_NO5"];
|
||||
$admission["HS_SUB_NM5"] = $_POST["HS_SUB_NM5"];
|
||||
$admission["HS_SUB_AGG"] = $_POST["HS_SUB_NO1"]+$_POST["HS_SUB_NO2"]+$_POST["HS_SUB_NO3"]+$_POST["HS_SUB_NO4"]+$_POST["HS_SUB_NO5"];
|
||||
$admission["sub_1"] = $_POST["ssub_1"];
|
||||
$admission["sub_2"] = $_POST["ssub_2"];
|
||||
$admission["sub_3"] = $_POST["ssub_3"];
|
||||
$admission["TIME"] = time();
|
||||
|
||||
$conn = new mysqli(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DB);
|
||||
if($conn->connect_error) die("Connection failed: " . $conn->connect_error);
|
||||
else{
|
||||
mysqli_set_charset($conn,"utf8");
|
||||
if ($_POST["GEN_HONOURS"] == 'stream6' || $_POST["GEN_HONOURS"] == 'stream8'){
|
||||
$fp='g';
|
||||
}else $fp='h';
|
||||
|
||||
$stmt = $conn->prepare("INSERT INTO ".$GLOBALS['table2']." (`STUDENT_NAME`,`FATHER_NAME`, `MOTHER_NAME`, `GUARDIAN_NAME`, `HUSBAND_NAME`, `GENDER`, `DOB`, `RELIGION`, `NATIONALITY`, `RESERVATION_CATEGORY`, `PHYSICAL_DISABLITY`, `BLOOD_GROUP`, `ADDRESS`, `MOBILE`, `EMAIL`, `GUARDIAN_OCCUPATION`, `MONTHLY_INCOME`, `HS_INSTITUTION`, `HS_BOARD`, `HS_PASS_YEAR`, `HS_EXAM_NAME`, `HS_ROLL`, `HS_NO`, `HS_REGISTRATION_NUMBER`, `HS_TOTAL_MARKS`, `HS_DIVISION`, `GEN_HONOURS`, `HS_SUB_NO1`, `HS_SUB_NM1`, `HS_SUB_NO2`, `HS_SUB_NM2`, `HS_SUB_NO3`, `HS_SUB_NM3`, `HS_SUB_NO4`, `HS_SUB_NM4`, `HS_SUB_NO5`, `HS_SUB_NM5`, `HS_SUB_AGG`, `sub_1`, `sub_2`, `sub_3`, `TIME`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)");
|
||||
|
||||
$stmt->bind_param("ssssssssssssssssssssssssssssssssssssssssss", $admission["STUDENT_NAME"],$admission["FATHER_NAME"],$admission["MOTHER_NAME"],$admission["GUARDIAN_NAME"],$admission["HUSBAND_NAME"],$admission["GENDER"],$admission["DOB"],$admission["RELIGION"],$admission["NATIONALITY"],$admission["RESERVATION_CATEGORY"],$admission["PHYSICAL_DISABLITY"],$admission["BLOOD_GROUP"],$admission["ADDRESS"],$admission["MOBILE"],$admission["EMAIL"],$admission["GUARDIAN_OCCUPATION"],$admission["MONTHLY_INCOME"],$admission["HS_INSTITUTION"],$admission["HS_BOARD"],$admission["HS_PASS_YEAR"],$admission["HS_EXAM_NAME"],$admission["HS_ROLL"],$admission["HS_NO"],$admission["HS_REGISTRATION_NUMBER"],$admission["HS_TOTAL_MARKS"],$admission["HS_DIVISION"],$admission["GEN_HONOURS"],$admission["HS_SUB_NO1"],$admission["HS_SUB_NM1"],$admission["HS_SUB_NO2"],$admission["HS_SUB_NM2"],$admission["HS_SUB_NO3"],$admission["HS_SUB_NM3"],$admission["HS_SUB_NO4"],$admission["HS_SUB_NM4"],$admission["HS_SUB_NO5"],$admission["HS_SUB_NM5"],$admission["HS_SUB_AGG"],$admission["sub_1"],$admission["sub_2"],$admission["sub_3"],$admission["TIME"]);
|
||||
|
||||
if($stmt->execute()){
|
||||
$echoinfo01= 'Application Form Successfully Submitted !<br> Details is being mailed, check your inbox/update tab/junk <br> Now proceed to print <br> <a href="Print?Print='.$fp.'f&f='.mysqli_insert_id($conn).'" target="_blank"> <h2> Form </h2> </a><a href="Print?Print='.$fp.'c&c='.mysqli_insert_id($conn).'" target="_blank"> <h2> Chalan </h2> </a>';
|
||||
}
|
||||
else{
|
||||
echo "Error: <br> Contact Web admin " .mysqli_error($conn); exit();
|
||||
}$tsid=mysqli_insert_id($conn);
|
||||
$stmt->close();
|
||||
}$conn->close();
|
||||
|
||||
$okk=0;
|
||||
|
||||
$target_dir = getcwd()."/CONTENT/ROOT_URI/Admission/uploads/photo/";
|
||||
$target_file = $target_dir . $tsid.'.jpg';
|
||||
$uploadOk = 1;
|
||||
$imageFileType = 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 "Photo -File is not an image. <br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Check if file already exists
|
||||
if (file_exists($target_file)) {
|
||||
echo "Photo -File , file already exists, contact web admin <br> ";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Check file size
|
||||
if ( $_FILES["Photo"]["size"] >150000) {
|
||||
echo "Photo -File maintain file size. <br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Allow certain file formats
|
||||
if($imageFileType != "jpg" ) {
|
||||
echo "Photo -File , only JPG files are allowed. <br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Check if $uploadOk is set to 0 by an error
|
||||
if ($uploadOk == 0) {
|
||||
echo "Photo -File , your file was not uploaded. <br>";
|
||||
// if everything is ok, try to upload file
|
||||
} else {
|
||||
if (move_uploaded_file($_FILES["Photo"]["tmp_name"], $target_file)) {
|
||||
echo "<h3>The Photo -File ". basename( $_FILES["Photo"]["name"])." has been uploaded.</h3><br>"; $okk=$okk+1;
|
||||
} else {
|
||||
echo "<h3>Photo -File , there was an error uploading your file.</h3><br>";
|
||||
}
|
||||
}
|
||||
$target_dir = getcwd()."/CONTENT/ROOT_URI/Admission/uploads/sign/";
|
||||
$target_file = $target_dir . $tsid.'.jpg';
|
||||
$uploadOk = 1;
|
||||
$imageFileType = pathinfo($target_file,PATHINFO_EXTENSION);
|
||||
// Check if image file is a actual image or fake image
|
||||
if(isset($_POST["submit"])) {
|
||||
$check = getimagesize($_FILES["sign"]["tmp_name"]);
|
||||
if($check !== false) {
|
||||
echo "<h3>File is an image - " . $check["mime"] . ".</h3><br>";
|
||||
$uploadOk = 1;
|
||||
} else {
|
||||
echo "<h3>Sign - File is not an image.</h3><br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
}
|
||||
// Check if file already exists
|
||||
if (file_exists($target_file)) {
|
||||
echo "<h3>Sign - , file already exists, contact web admin</h3><br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Check file size
|
||||
if ( $_FILES["sign"]["size"] >150000) {
|
||||
echo "<h3>Sign - maintain file size.</h3><br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Allow certain file formats
|
||||
if($imageFileType != "jpg" ) {
|
||||
echo "<h3>Sign - , only JPG files are allowed.</h3><br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Check if $uploadOk is set to 0 by an error
|
||||
if ($uploadOk == 0) {
|
||||
echo "<h3>Sign - , your file was not uploaded.</h3><br>";
|
||||
// if everything is ok, try to upload file
|
||||
} else {
|
||||
if (move_uploaded_file($_FILES["sign"]["tmp_name"], $target_file)) {
|
||||
echo "<h3>Sign - file ". basename( $_FILES["sign"]["name"]). " has been uploaded.</h3><br>"; $okk=$okk+1;
|
||||
} else {
|
||||
echo "<h3>Sign - , there was an error uploading your file.</h3><br>";
|
||||
}
|
||||
}
|
||||
$target_dir = getcwd()."/CONTENT/ROOT_URI/Admission/uploads/admit/";
|
||||
$target_file = $target_dir .$tsid.'.jpg';
|
||||
$uploadOk = 1;
|
||||
$imageFileType = pathinfo($target_file,PATHINFO_EXTENSION);
|
||||
// Check if image file is a actual image or fake image
|
||||
if(isset($_POST["submit"])) {
|
||||
$check = getimagesize($_FILES["admit"]["tmp_name"]);
|
||||
if($check !== false) {
|
||||
echo "<h3>File is an image - " . $check["mime"] . ".</h3><br>";
|
||||
$uploadOk = 1;
|
||||
} else {
|
||||
echo "<h3>Admit -File is not an image.</h3><br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
}
|
||||
// Check if file already exists
|
||||
if (file_exists($target_file)) {
|
||||
echo "<h3>Admit -, file already exists, contact web admin</h3><br> ";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Check file size
|
||||
if ( $_FILES["admit"]["size"] >150000) {
|
||||
echo "<h3>Admit File - maintain file size.</h3><br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Allow certain file formats
|
||||
if($imageFileType != "jpg" ) {
|
||||
echo "<h3>Admit -, only JPG files are allowed.</h3><br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Check if $uploadOk is set to 0 by an error
|
||||
if ($uploadOk == 0) {
|
||||
echo "<h3>Admit -, your file was not uploaded.</h3><br>";
|
||||
// if everything is ok, try to upload file
|
||||
} else {
|
||||
if (move_uploaded_file($_FILES["admit"]["tmp_name"], $target_file)) {
|
||||
echo "<h3>Admit file ". basename( $_FILES["admit"]["name"]). " has been uploaded.</h3><br>"; $okk=$okk+1;
|
||||
} else {
|
||||
echo "<h3>Admit -, there was an error uploading your file.</h3><br>";
|
||||
}
|
||||
}
|
||||
|
||||
$target_dir = getcwd()."/CONTENT/ROOT_URI/Admission/uploads/mark/";
|
||||
$target_file = $target_dir . $tsid.'.jpg';
|
||||
$uploadOk = 1;
|
||||
$imageFileType = pathinfo($target_file,PATHINFO_EXTENSION);
|
||||
// Check if image file is a actual image or fake image
|
||||
if(isset($_POST["submit"])) {
|
||||
$check = getimagesize($_FILES["mark"]["tmp_name"]);
|
||||
if($check !== false) {
|
||||
echo "<h3>File is an image - " . $check["mime"] . ".</h3><br>";
|
||||
$uploadOk = 1;
|
||||
} else {
|
||||
echo "<h3>Marksheet -File is not an image.</h3><br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Check if file already exists
|
||||
if (file_exists($target_file)) {
|
||||
echo "<h3>Marksheet file already exists, contact web admin</h3><br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Check file size
|
||||
if ( $_FILES["mark"]["size"] >150000) {
|
||||
echo "<h3>Marksheet -File maintain file size.</h3><br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Allow certain file formats
|
||||
if($imageFileType != "jpg" ) {
|
||||
echo "<h3>Marksheet -File , only JPG files are allowed.</h3><br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Check if $uploadOk is set to 0 by an error
|
||||
if ($uploadOk == 0) {
|
||||
echo "<h3>Marksheet -File, your file was not uploaded.</h3><br>";
|
||||
// if everything is ok, try to upload file
|
||||
} else {
|
||||
if (move_uploaded_file($_FILES["mark"]["tmp_name"], $target_file)) {
|
||||
echo "<h3>Marksheet file ". basename( $_FILES["mark"]["name"]). " has been uploaded.</h3><br>"; $okk=$okk+1;
|
||||
} else {
|
||||
echo "<h3>Marksheet -File, there was an error uploading your file.</h3><br>";
|
||||
}
|
||||
}
|
||||
|
||||
if($_POST["RESERVATION_CATEGORY"] != "GENERAL"){
|
||||
|
||||
$target_dir = getcwd()."/CONTENT/ROOT_URI/Admission/uploads/cast/";
|
||||
$target_file = $target_dir . $tsid.'.jpg';
|
||||
$uploadOk = 1;
|
||||
$imageFileType = pathinfo($target_file,PATHINFO_EXTENSION);
|
||||
// Check if image file is a actual image or fake image
|
||||
if(isset($_POST["submit"])) {
|
||||
$check = getimagesize($_FILES["cast"]["tmp_name"]);
|
||||
if($check !== false) {
|
||||
echo "<h3>File is an image - " . $check["mime"] . ".</h3><br>";
|
||||
$uploadOk = 1;
|
||||
} else {
|
||||
echo "<h3>Cast Certificate -File is not an image.</h3><br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Check if file already exists
|
||||
if (file_exists($target_file)) {
|
||||
echo "<h3>Cast Certificate file already exists, contact web admin</h3><br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Check file size
|
||||
if ( $_FILES["cast"]["size"] >150000) {
|
||||
echo "<h3>Cast Certificate -File maintain file size.</h3><br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Allow certain file formats
|
||||
if($imageFileType != "jpg" ) {
|
||||
echo "<h3>Cast Certificate -File , only JPG files are allowed.</h3><br>";
|
||||
$uploadOk = 0;
|
||||
}
|
||||
// Check if $uploadOk is set to 0 by an error
|
||||
if ($uploadOk == 0) {
|
||||
echo "<h3>Cast Certificate -File, your file was not uploaded.</h3><br>";
|
||||
// if everything is ok, try to upload file
|
||||
} else {
|
||||
if (move_uploaded_file($_FILES["cast"]["tmp_name"], $target_file)) {
|
||||
echo "<h3>Cast Certificate file ". basename( $_FILES["cast"]["name"]). " has been uploaded.</h3><br>";
|
||||
} else {
|
||||
echo "<h3>Cast Certificate -File, there was an error uploading your file.</h3><br>";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if($okk>3){
|
||||
echo $echoinfo01;
|
||||
$to = $_POST["EMAIL"];
|
||||
$subject = "Admission information 2017-19 ,Banipur Mahila Mahavidyalaya";
|
||||
$message = '
|
||||
<html>
|
||||
<head>
|
||||
<title>Admission information 2017-19 ,Banipur Mahila Mahavidyalaya</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="margin:12px;font-size:1.3em;color:grey;">
|
||||
|
||||
<center> <a href="http://banipurmmv.in/" class="navbar-logo"><img src="http://banipurmmv.in/assets/images/c-logo.jpg" alt="Banipur Mahila Mahavidyalaya"></a> </center>
|
||||
|
||||
<br>Hi,
|
||||
|
||||
<br>Online form submission success !! <br>
|
||||
|
||||
|
||||
<div style="margin:32px;color:#1591f3;">
|
||||
<h3> Name :- '.$_POST["STUDENT_NAME"].'</h3>
|
||||
1. Form No:- BM17UG'.$tsid.'
|
||||
|
||||
</div>
|
||||
<br><br><br>
|
||||
</div>
|
||||
</body>
|
||||
</html>';
|
||||
|
||||
// Always set content-type when sending HTML email
|
||||
$headers = "MIME-Version: 1.0" . "\r\n";
|
||||
$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
|
||||
|
||||
// More headers
|
||||
$headers .= 'From: BMMV Admission <mail@banipurmmv.in>' . "\r\n";
|
||||
$headers .= 'Reply-To: rishu.ccp@gmail.com'. "\r\n";
|
||||
//$headers .= 'Cc: myboss@example.com' . "\r\n";
|
||||
|
||||
mail($to,$subject,$message,$headers);
|
||||
}
|
||||
else echo '<h2> Fill up the admission form again </h2>';
|
||||
}
|
||||
?>
|
|
@ -0,0 +1 @@
|
|||
404
|
|
@ -0,0 +1,93 @@
|
|||
<?php
|
||||
|
||||
if(isset($_POST['idtoken'])){
|
||||
$flnk_tvar0=APP_DIR."/DIZ/AddOn/GoogleAPIsClient/autoload.php";
|
||||
if(file_exists($flnk_tvar0) )
|
||||
{
|
||||
require_once $flnk_tvar0;
|
||||
|
||||
// Get $id_token via HTTPS POST.
|
||||
$id_token=$_POST['idtoken'];
|
||||
$CLIENT_ID=$GLOBALS['google_client_id'];
|
||||
$client = new Google_Client(['client_id' => $CLIENT_ID]); // Specify the CLIENT_ID of the app that accesses the backend
|
||||
$payload = $client->verifyIdToken($id_token);
|
||||
if ($payload && $payload['email_verified']==true) {
|
||||
$userid = $payload['sub'];
|
||||
// If request specified a G Suite domain:
|
||||
// $domain = $payload['hd'];
|
||||
// "email": "testuser@gmail.com",
|
||||
// "email_verified": "true",
|
||||
// "name" : "Test User",
|
||||
// "picture": "https://lh4.googleusercontent.com/-kYgzyAWpZzJ/ABCDEFGHI/AAAJKLMNOP/tIXL9Ir44LE/s99-c/photo.jpg",
|
||||
// "given_name": "Test",
|
||||
// "family_name": "User",
|
||||
// "locale": "en"
|
||||
$UserData['loginAttempt']=true;
|
||||
$UserData['message']="Login Success!";
|
||||
$UserData['sub']=$payload['sub'];//Google User Id
|
||||
$UserData['given_name']=$payload['given_name'];//First Name
|
||||
$UserData['family_name']=$payload['family_name'];//Last Name
|
||||
$UserData['name']=$payload['name'];//Full Name
|
||||
$UserData['locale']=$payload['locale'];// Preferred Language
|
||||
$UserData['email']=$payload['email'];//Email Id
|
||||
$UserData['picture']=$payload['picture'];
|
||||
|
||||
$_SESSION['SIGNEDIN']='yes';
|
||||
$_SESSION['sub']=$payload['sub'];
|
||||
$_SESSION['given_name']=$payload['given_name'];
|
||||
$_SESSION['name']=$payload['name'];
|
||||
$_SESSION['locale']=$payload['locale'];
|
||||
$_SESSION['picture']=$payload['picture'];
|
||||
$_SESSION['email']=$payload['email'];
|
||||
|
||||
// $conn = new mysqli('localhost', 'test_colleger', 'simple2pass', 'test_colleger');
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
if($conn->connect_error) die("Connection failed: " . $conn->connect_error);
|
||||
else{
|
||||
mysqli_set_charset($conn,"utf8");
|
||||
|
||||
$stmt = $conn->prepare("INSERT INTO `user_google` (`FULL_NAME`,`LANG`, `EMAIL`, `SUB_GID`) VALUES (?, ?, ?, ?)");
|
||||
// $stmt = $conn->prepare("INSERT INTO ".$GLOBALS['table2']." (`FULL_NAME`,`LANG`, `EMAIL`, `SUB_GID`) VALUES (?, ?, ?, ?)");
|
||||
|
||||
$stmt->bind_param("ssss", $UserData["name"],$UserData["locale"],$UserData["email"],$UserData["sub"]);
|
||||
|
||||
if($stmt->execute()){
|
||||
$UserData['message']= '<div class="container" style="max-width:768px;"><h3>Application Form Successfully Submitted !</h3><h3>Details is being mailed, check your inbox/update tab/junk</h3><h3>Now proceed to print</p></div><div class="container" style="max-width:768px;"><a href="/Admission/PRINT/print_form?id='.mysqli_insert_id($conn).'" target="_blank" class="button"><span>Print Form</span></a><a href="/Admission/PRINT/print_chalan?id='.mysqli_insert_id($conn).'" target="_blank" class="button"><span>Print Chalan</span></a></div>';
|
||||
}
|
||||
else{
|
||||
$UserData['message']= "Error: <br> Contact Web admin " .mysqli_error($conn);
|
||||
}$tsid=mysqli_insert_id($conn);
|
||||
$stmt->close();
|
||||
}$conn->close();
|
||||
|
||||
// $conn = new mysqli('localhost', 'test_colleger', 'simple2pass', 'test_colleger');
|
||||
// if ($conn->connect_error) die("Connection failed: " . $conn->connect_error);
|
||||
// else {
|
||||
// mysqli_set_charset($conn, "utf8");
|
||||
|
||||
// // $stmt = $conn->prepare("INSERT INTO `".$GLOBALS['user_google']."` (`SUB_GID`, `FULL_NAME`, `LANG`, `EMAIL`) VALUES (?, ?, ?, ?)");
|
||||
// $stmt = $conn->prepare("INSERT INTO `user_google` (`SUB_GID`, `FULL_NAME`, `LANG`, `EMAIL`) VALUES ('".$UserData['sub']."','".$UserData['name']."', '".$UserData['locale']."', '".$UserData['email']."',)");
|
||||
|
||||
// // $stmt->bind_param("ssss", $payload['sub'], $payload['name'], $payload['locale'], $payload['email']);
|
||||
|
||||
// if ($stmt->execute()) {
|
||||
// $UserData['message']="OK in db!";
|
||||
// } else {
|
||||
// $UserData['message']="Error in db!";
|
||||
// }
|
||||
// $stmt->close();
|
||||
// }
|
||||
// $conn->close();
|
||||
|
||||
|
||||
} else {
|
||||
// Invalid ID token
|
||||
$UserData['loginAttempt']=false;
|
||||
$UserData['message']="Login Error!";
|
||||
}
|
||||
echo json_encode($UserData);
|
||||
}
|
||||
else echo "Vendor Not Found:Check GoogleAPIsClient folderin DIZ/AddOn/".$flnk_tvar0;
|
||||
//echo $flnk_tvar0;
|
||||
}
|
||||
?>
|
|
@ -0,0 +1,81 @@
|
|||
<?php
|
||||
|
||||
if(isset($_POST['idtoken'])){
|
||||
// $flnk_tvar0="/home/s/web/lib.siliconpin.com/public_html/lib/google-api-php-client-2.2.2/vendor/autoload.php";
|
||||
$flnk_tvar0="/home/s/web/lib.siliconpin.com/public_html/lib/google-api-php-client-2.2.2/vendor/autoload.php";
|
||||
|
||||
// $flnk_tvar0=APP_DIR."/google-auth-library-php-master/autoload.php";
|
||||
if(file_exists($flnk_tvar0) )
|
||||
{
|
||||
require_once $flnk_tvar0;
|
||||
|
||||
// Get $id_token via HTTPS POST.
|
||||
##include "../../../../CONF/config.php";
|
||||
$id_token=$_POST['idtoken'];
|
||||
// $CLIENT_ID=GOOGLE_CLIENT_ID;
|
||||
$CLIENT_ID="190547928435-dq9r7ig0rolqq7c13utvtfl5ogv2mpg7.apps.googleusercontent.com";
|
||||
$client = new Google_Client(['client_id' => $CLIENT_ID]); // Specify the CLIENT_ID of the app that accesses the backend
|
||||
$payload = $client->verifyIdToken($id_token);
|
||||
if ($payload && $payload['email_verified']==true) {
|
||||
$userid = $payload['sub'];
|
||||
// If request specified a G Suite domain:
|
||||
// $domain = $payload['hd'];
|
||||
// "email": "testuser@gmail.com",
|
||||
// "email_verified": "true",
|
||||
// "name" : "Test User",
|
||||
// "picture": "https://lh4.googleusercontent.com/-kYgzyAWpZzJ/ABCDEFGHI/AAAJKLMNOP/tIXL9Ir44LE/s99-c/photo.jpg",
|
||||
// "given_name": "Test",
|
||||
// "family_name": "User",
|
||||
// "locale": "en"
|
||||
$UserData['loginAttempt']=true;
|
||||
$UserData['message']="Login Success!";
|
||||
$UserData['sub']=$payload['sub'];//Google User Id
|
||||
$UserData['given_name']=$payload['given_name'];//First Name
|
||||
$UserData['family_name']=$payload['family_name'];//Last Name
|
||||
$UserData['name']=$payload['name'];//Full Name
|
||||
$UserData['locale']=$payload['locale'];// Preferred Language
|
||||
$UserData['email']=$payload['email'];//Email Id
|
||||
$UserData['picture']=$payload['picture'];
|
||||
|
||||
$_SESSION['SIGNEDIN']='yes';
|
||||
$_SESSION['sub']=$payload['sub'];
|
||||
$_SESSION['given_name']=$payload['given_name'];
|
||||
$_SESSION['name']=$payload['name'];
|
||||
$_SESSION['locale']=$payload['locale'];
|
||||
$_SESSION['picture']=$payload['picture'];
|
||||
$_SESSION['email']=$payload['email'];
|
||||
|
||||
|
||||
// $conn = new mysqli('localhost', 'test_colleger', 'simple2pass', 'test_colleger');
|
||||
$conn = new mysqli(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DB);
|
||||
if($conn->connect_error) die("Connection failed: " . $conn->connect_error);
|
||||
else{
|
||||
mysqli_set_charset($conn,"utf8");
|
||||
$stmt = $conn->prepare("INSERT INTO `user_google` (`FULL_NAME`,`LANG`, `EMAIL`, `SUB_GID`) VALUES (?, ?, ?, ?)");
|
||||
$stmt->bind_param("ssss", $UserData["name"],$UserData["locale"],$UserData["email"],$UserData["sub"]);
|
||||
if($stmt->execute()){
|
||||
$UserData['newUser']= 'yes';
|
||||
}
|
||||
else{
|
||||
$UserData['newUser']= "no";
|
||||
$UserData['Error']= mysqli_error($conn);
|
||||
}$tsid=mysqli_insert_id($conn);
|
||||
$stmt->close();
|
||||
}$conn->close();
|
||||
|
||||
} else {
|
||||
// Invalid ID token
|
||||
$UserData['loginAttempt']=false;
|
||||
$UserData['message']="Login Error!";
|
||||
}
|
||||
// echo json_encode($UserData);
|
||||
}
|
||||
else $UserData['message']="Vendor Not Found:Check GoogleAPIsClient folderin ".$flnk_tvar0;
|
||||
echo json_encode($UserData);
|
||||
// else echo "Vendor Not Found:Check GoogleAPIsClient folderin DIZ/AddOn/".$flnk_tvar0;
|
||||
//echo $flnk_tvar0;
|
||||
}
|
||||
else {
|
||||
echo "idtoken issue";
|
||||
}
|
||||
?>
|
|
@ -0,0 +1,70 @@
|
|||
<?php
|
||||
|
||||
if(isset($_POST['idtoken'])){
|
||||
$flnk_tvar0=APP_DIR."/AddOn/GoogleAPIsClient/autoload.php";
|
||||
if(file_exists($flnk_tvar0) )
|
||||
{
|
||||
require_once $flnk_tvar0;
|
||||
|
||||
// Get $id_token via HTTPS POST.
|
||||
$id_token=$_POST['idtoken'];
|
||||
$CLIENT_ID=GOOGLE_CLIENT_ID;
|
||||
$client = new Google_Client(['client_id' => $CLIENT_ID]); // Specify the CLIENT_ID of the app that accesses the backend
|
||||
$payload = $client->verifyIdToken($id_token);
|
||||
if ($payload && $payload['email_verified']==true) {
|
||||
$userid = $payload['sub'];
|
||||
// If request specified a G Suite domain:
|
||||
// $domain = $payload['hd'];
|
||||
// "email": "testuser@gmail.com",
|
||||
// "email_verified": "true",
|
||||
// "name" : "Test User",
|
||||
// "picture": "https://lh4.googleusercontent.com/-kYgzyAWpZzJ/ABCDEFGHI/AAAJKLMNOP/tIXL9Ir44LE/s99-c/photo.jpg",
|
||||
// "given_name": "Test",
|
||||
// "family_name": "User",
|
||||
// "locale": "en"
|
||||
$UserData['loginAttempt']=true;
|
||||
$UserData['message']="Login Success!";
|
||||
$UserData['sub']=$payload['sub'];//Google User Id
|
||||
$UserData['given_name']=$payload['given_name'];//First Name
|
||||
$UserData['family_name']=$payload['family_name'];//Last Name
|
||||
$UserData['name']=$payload['name'];//Full Name
|
||||
$UserData['locale']=$payload['locale'];// Preferred Language
|
||||
$UserData['email']=$payload['email'];//Email Id
|
||||
$UserData['picture']=$payload['picture'];
|
||||
|
||||
$_SESSION['SIGNEDIN']='yes';
|
||||
$_SESSION['sub']=$payload['sub'];
|
||||
$_SESSION['given_name']=$payload['given_name'];
|
||||
$_SESSION['name']=$payload['name'];
|
||||
$_SESSION['locale']=$payload['locale'];
|
||||
$_SESSION['picture']=$payload['picture'];
|
||||
$_SESSION['email']=$payload['email'];
|
||||
|
||||
// $conn = new mysqli('localhost', 'test_colleger', 'simple2pass', 'test_colleger');
|
||||
$conn = new mysqli($GLOBALS['host'], MYSQL_USER, MYSQL_PASS, $GLOBALS['db']);
|
||||
if($conn->connect_error) die("Connection failed: " . $conn->connect_error);
|
||||
else{
|
||||
mysqli_set_charset($conn,"utf8");
|
||||
$stmt = $conn->prepare("INSERT INTO `user_google` (`FULL_NAME`,`LANG`, `EMAIL`, `SUB_GID`) VALUES (?, ?, ?, ?)");
|
||||
$stmt->bind_param("ssss", $UserData["name"],$UserData["locale"],$UserData["email"],$UserData["sub"]);
|
||||
if($stmt->execute()){
|
||||
$UserData['newUser']= 'yes';
|
||||
}
|
||||
else{
|
||||
$UserData['newUser']= "no";
|
||||
$UserData['Error']= mysqli_error($conn);
|
||||
}$tsid=mysqli_insert_id($conn);
|
||||
$stmt->close();
|
||||
}$conn->close();
|
||||
|
||||
} else {
|
||||
// Invalid ID token
|
||||
$UserData['loginAttempt']=false;
|
||||
$UserData['message']="Login Error!";
|
||||
}
|
||||
echo json_encode($UserData);
|
||||
}
|
||||
else echo "Vendor Not Found:Check GoogleAPIsClient folderin DIZ/AddOn/".$flnk_tvar0;
|
||||
//echo $flnk_tvar0;
|
||||
}
|
||||
?>
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
if(isset($_GET['filename']) && isset($_GET['inFolder']) ) {
|
||||
$FC = file_put_contents(APP_DIR.'/CONTENT/ROOT_URI/Admission/form_settings/'.$_GET['inFolder'].'/'.$_GET['filename'] , '');
|
||||
if($FC === false) {
|
||||
$ret->msg="no data to process";
|
||||
}
|
||||
else {
|
||||
$ret->status="y";$ret->msg="$FC bytes written to file";
|
||||
}
|
||||
}
|
||||
else $ret->msg="no data to process";
|
||||
|
||||
echo json_encode($ret);
|
||||
?>
|
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
$targetfile = $_GET['name'];
|
||||
$targetfolder = $_GET['folder'];
|
||||
$filepath = APP_DIR."/$targetfolder/".$targetfile."";
|
||||
if(file_exists($filepath)){
|
||||
if(unlink($filepath)) {$ret->status="y";$ret->msg="Removed"; }
|
||||
else $ret->msg= "Error";
|
||||
} else $ret->msg= "File not found";
|
||||
|
||||
echo json_encode($ret);
|
||||
?>
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
$t=0;//echo APP_DIR;
|
||||
$filepath = $_GET['loc'];
|
||||
foreach (glob(APP_DIR."/CONTENT/ROOT_URI/".$filepath."/*") as $filename)
|
||||
// echo
|
||||
{
|
||||
$filename =explode('/', $filename);
|
||||
$filename =end($filename);
|
||||
$ret->fname[$t]=$filename;
|
||||
$t++;
|
||||
}
|
||||
if($t<1){
|
||||
$ret->msg="No files found";
|
||||
}
|
||||
else $ret->status="y";
|
||||
|
||||
echo json_encode($ret);
|
||||
?>
|
|
@ -0,0 +1,93 @@
|
|||
<?php
|
||||
|
||||
if(isset($_POST['idtoken'])){
|
||||
$flnk_tvar0=APP_DIR."/DIZ/AddOn/GoogleAPIsClient/autoload.php";
|
||||
if(file_exists($flnk_tvar0) )
|
||||
{
|
||||
require_once $flnk_tvar0;
|
||||
|
||||
// Get $id_token via HTTPS POST.
|
||||
$id_token=$_POST['idtoken'];
|
||||
$CLIENT_ID=$GLOBALS['google_client_id'];
|
||||
$client = new Google_Client(['client_id' => $CLIENT_ID]); // Specify the CLIENT_ID of the app that accesses the backend
|
||||
$payload = $client->verifyIdToken($id_token);
|
||||
if ($payload && $payload['email_verified']==true) {
|
||||
$userid = $payload['sub'];
|
||||
// If request specified a G Suite domain:
|
||||
// $domain = $payload['hd'];
|
||||
// "email": "testuser@gmail.com",
|
||||
// "email_verified": "true",
|
||||
// "name" : "Test User",
|
||||
// "picture": "https://lh4.googleusercontent.com/-kYgzyAWpZzJ/ABCDEFGHI/AAAJKLMNOP/tIXL9Ir44LE/s99-c/photo.jpg",
|
||||
// "given_name": "Test",
|
||||
// "family_name": "User",
|
||||
// "locale": "en"
|
||||
$UserData['loginAttempt']=true;
|
||||
$UserData['message']="Login Success!";
|
||||
$UserData['sub']=$payload['sub'];//Google User Id
|
||||
$UserData['given_name']=$payload['given_name'];//First Name
|
||||
$UserData['family_name']=$payload['family_name'];//Last Name
|
||||
$UserData['name']=$payload['name'];//Full Name
|
||||
$UserData['locale']=$payload['locale'];// Preferred Language
|
||||
$UserData['email']=$payload['email'];//Email Id
|
||||
$UserData['picture']=$payload['picture'];
|
||||
|
||||
$_SESSION['SIGNEDIN']='yes';
|
||||
$_SESSION['sub']=$payload['sub'];
|
||||
$_SESSION['given_name']=$payload['given_name'];
|
||||
$_SESSION['name']=$payload['name'];
|
||||
$_SESSION['locale']=$payload['locale'];
|
||||
$_SESSION['picture']=$payload['picture'];
|
||||
$_SESSION['email']=$payload['email'];
|
||||
|
||||
// $conn = new mysqli('localhost', 'test_colleger', 'simple2pass', 'test_colleger');
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
if($conn->connect_error) die("Connection failed: " . $conn->connect_error);
|
||||
else{
|
||||
mysqli_set_charset($conn,"utf8");
|
||||
|
||||
$stmt = $conn->prepare("INSERT INTO `user_google` (`FULL_NAME`,`LANG`, `EMAIL`, `SUB_GID`) VALUES (?, ?, ?, ?)");
|
||||
// $stmt = $conn->prepare("INSERT INTO ".$GLOBALS['table2']." (`FULL_NAME`,`LANG`, `EMAIL`, `SUB_GID`) VALUES (?, ?, ?, ?)");
|
||||
|
||||
$stmt->bind_param("ssss", $UserData["name"],$UserData["locale"],$UserData["email"],$UserData["sub"]);
|
||||
|
||||
if($stmt->execute()){
|
||||
$UserData['message']= '<div class="container" style="max-width:768px;"><h3>Application Form Successfully Submitted !</h3><h3>Details is being mailed, check your inbox/update tab/junk</h3><h3>Now proceed to print</p></div><div class="container" style="max-width:768px;"><a href="/Admission/PRINT/print_form?id='.mysqli_insert_id($conn).'" target="_blank" class="button"><span>Print Form</span></a><a href="/Admission/PRINT/print_chalan?id='.mysqli_insert_id($conn).'" target="_blank" class="button"><span>Print Chalan</span></a></div>';
|
||||
}
|
||||
else{
|
||||
$UserData['message']= "Error: <br> Contact Web admin " .mysqli_error($conn);
|
||||
}$tsid=mysqli_insert_id($conn);
|
||||
$stmt->close();
|
||||
}$conn->close();
|
||||
|
||||
// $conn = new mysqli('localhost', 'test_colleger', 'simple2pass', 'test_colleger');
|
||||
// if ($conn->connect_error) die("Connection failed: " . $conn->connect_error);
|
||||
// else {
|
||||
// mysqli_set_charset($conn, "utf8");
|
||||
|
||||
// // $stmt = $conn->prepare("INSERT INTO `".$GLOBALS['user_google']."` (`SUB_GID`, `FULL_NAME`, `LANG`, `EMAIL`) VALUES (?, ?, ?, ?)");
|
||||
// $stmt = $conn->prepare("INSERT INTO `user_google` (`SUB_GID`, `FULL_NAME`, `LANG`, `EMAIL`) VALUES ('".$UserData['sub']."','".$UserData['name']."', '".$UserData['locale']."', '".$UserData['email']."',)");
|
||||
|
||||
// // $stmt->bind_param("ssss", $payload['sub'], $payload['name'], $payload['locale'], $payload['email']);
|
||||
|
||||
// if ($stmt->execute()) {
|
||||
// $UserData['message']="OK in db!";
|
||||
// } else {
|
||||
// $UserData['message']="Error in db!";
|
||||
// }
|
||||
// $stmt->close();
|
||||
// }
|
||||
// $conn->close();
|
||||
|
||||
|
||||
} else {
|
||||
// Invalid ID token
|
||||
$UserData['loginAttempt']=false;
|
||||
$UserData['message']="Login Error!";
|
||||
}
|
||||
echo json_encode($UserData);
|
||||
}
|
||||
else echo "Vendor Not Found:Check GoogleAPIsClient folderin DIZ/AddOn/".$flnk_tvar0;
|
||||
//echo $flnk_tvar0;
|
||||
}
|
||||
?>
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
$ret = new \stdClass();
|
||||
$ret->status="n";
|
||||
$ret->msg="NA";
|
||||
|
||||
$lnk2 = explode('?', $lnk);
|
||||
include("header.php");//echo $lnk."c";
|
||||
if($lnk=="") include("home.php");
|
||||
elseif(file_exists(__DIR__."/".$lnk.".php")) include($lnk.".php");
|
||||
elseif(isset($lnk2[1]) && file_exists(__DIR__."/".$lnk2[0].".php") ) include($lnk2[0].".php");
|
||||
else include("404.php");
|
||||
include("footer.php");
|
||||
|
||||
// $filename =explode('?', $lnk);$req=$filename[0];
|
||||
// if($req=="") include("default.php");
|
||||
// elseif(file_exists(__DIR__."/".$req.".php")) include($req.".php");
|
||||
// else include("404.php");
|
||||
|
||||
?>
|
|
@ -0,0 +1,347 @@
|
|||
<table style="width:1000px; margin-left:auto;margin-right:auto; margin-bottom:5px;" cellpadding="0" cellspacing="0">
|
||||
|
||||
<!--<tr><td colspan="12" >
|
||||
<div style="width:100%; margin-left:auto; margin-right:auto; ">
|
||||
<img style="width:100%; height:240px;" src="./hdrc.png" >
|
||||
</div></td></tr>
|
||||
-->
|
||||
<script>
|
||||
function appsub(x) {
|
||||
document.getElementById("applying_saub").value = x;
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<tr><td colspan="12" ALIGN=MIDDLE style="color:grey;font-size:30px;">
|
||||
PG Admission For the Session 2019-20
|
||||
</td></tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
<div id="BDy" style="background-color:#D3E3F6; width:860px; margin: 0 auto; padding:20px;">
|
||||
<style>#tt > td{
|
||||
width:200px;
|
||||
}
|
||||
.dd2{
|
||||
width:120px;
|
||||
}
|
||||
.ip1{
|
||||
text-align:center;width:50px;padding:3px;border-radius:3px;
|
||||
}
|
||||
.F_txt{
|
||||
|
||||
width:100%;padding:6px;border-radius:3px;font-size:1.2em;font-weight:bold;color:rgb(89, 85, 85);
|
||||
}
|
||||
|
||||
.F{
|
||||
|
||||
padding:3px;border-radius:3px; font-weight:bold;color:rgb(89, 85, 85);
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<form id="sree" method="post" action="" enctype="multipart/form-data">
|
||||
<input type="hidden" name="AdmF" value="Sub">
|
||||
<input type="hidden" name="S_ID" value="NA">
|
||||
<fieldset><legend>Personal Information</legend>
|
||||
|
||||
<table ALIGN=LEFT style="width:100%;">
|
||||
<tr>
|
||||
<td>NAME:</td>
|
||||
<td > <input class="F_txt" type="text" name="S_NAME" required style="text-transform:uppercase; "> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Mobile:</td>
|
||||
<td ><input class="F_txt" type="tel" maxlength="10" name="PHONE" required ></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>E-mail :</td>
|
||||
<td > <input class="F_txt" type="email" name="E_MAIL" required style="text-transform:lowercase;" > </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>FATHER :</td>
|
||||
<td ><input class="F_txt" style="text-transform:uppercase;" type="text" name="FATHER" required ></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>GUARDIAN :</td>
|
||||
<td ><input class="F_txt" style="text-transform:uppercase;" type="text" name="GUARDIAN" required ></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>ADDRESS :</td>
|
||||
<td><textarea class="F_txt" name="ADDRESS" style=" height:100px;" required>
|
||||
Vill=
|
||||
P.S.=
|
||||
Dist=
|
||||
PIN=
|
||||
|
||||
</textarea></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>DATE OF BIRTH :</td>
|
||||
<td>
|
||||
<table><tr><td><div> DATE </div> <select name="DOBD" style="width:60px;" class="inpt_01">
|
||||
<option value="01">01</option>
|
||||
<option value="02">02</option>
|
||||
<option value="03">03</option>
|
||||
<option value="04">04</option>
|
||||
<option value="05">05</option>
|
||||
<option value="06">06</option>
|
||||
<option value="07">07</option>
|
||||
<option value="08">08</option>
|
||||
<option value="09">09</option>
|
||||
<option value="10">10</option>
|
||||
<option value="11">11</option>
|
||||
<option value="12">12</option>
|
||||
<option value="13">13</option>
|
||||
<option value="14">14</option>
|
||||
<option value="15">15</option>
|
||||
<option value="16">16</option>
|
||||
<option value="17">17</option>
|
||||
<option value="18">18</option>
|
||||
<option value="19">19</option>
|
||||
<option value="20">20</option>
|
||||
<option value="21">21</option>
|
||||
<option value="22">22</option>
|
||||
<option value="23">23</option>
|
||||
<option value="24">24</option>
|
||||
<option value="25">25</option>
|
||||
<option value="26">26</option>
|
||||
<option value="27">27</option>
|
||||
<option value="28">28</option>
|
||||
<option value="29">29</option>
|
||||
<option value="30">30</option>
|
||||
<option value="31">31</option>
|
||||
</select></td>
|
||||
<td><div> MONTH </div> <select name="DOBM" style="width:60px;" class="inpt_01">
|
||||
<option value="01">01</option>
|
||||
<option value="02">02</option>
|
||||
<option value="03">03</option>
|
||||
<option value="04">04</option>
|
||||
<option value="05">05</option>
|
||||
<option value="06">06</option>
|
||||
<option value="07">07</option>
|
||||
<option value="08">08</option>
|
||||
<option value="09">09</option>
|
||||
<option value="10">10</option>
|
||||
<option value="11">11</option>
|
||||
<option value="12">12</option>
|
||||
</select></td>
|
||||
<td><div> YEAR </div>
|
||||
<select name="DOBY" style="width:100px;" class="inpt_01">
|
||||
<option value="2004">2004</option>
|
||||
<option value="2003">2003</option>
|
||||
<option value="2002">2002</option>
|
||||
<option value="2001">2001</option>
|
||||
<option value="2000">2000</option>
|
||||
<option value="1999">1999</option>
|
||||
<option value="1998">1998</option>
|
||||
<option value="1997">1997</option>
|
||||
<option value="1996">1996</option>
|
||||
<option value="1995">1995</option>
|
||||
<option value="1994">1994</option>
|
||||
<option value="1993">1993</option>
|
||||
<option value="1992">1992</option>
|
||||
<option value="1991">1991</option>
|
||||
<option value="1990">1990</option>
|
||||
<option value="1989">1989</option>
|
||||
<option value="1988">1988</option>
|
||||
<option value="1987">1987</option>
|
||||
<option value="1986">1986</option>
|
||||
<option value="1985">1985</option>
|
||||
<option value="1984">1984</option>
|
||||
<option value="1983">1983</option>
|
||||
<option value="1982">1982</option>
|
||||
<option value="1981">1981</option>
|
||||
<option value="1980">1980</option>
|
||||
</select></td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
<br>
|
||||
<table ALIGN=MIDDLE style="padding:19px;width:100%;">
|
||||
<tr><td>
|
||||
Gender :
|
||||
<select name="GENDER" class="F">
|
||||
<option value="Male">Male</option>
|
||||
<option value="Female">Female</option>
|
||||
<option value="Trans">Trans</option>
|
||||
</select>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
Religion :
|
||||
<select name="RELIGION" class="F">
|
||||
<option value="HINDU">HINDU</option>
|
||||
<option value="MUSLIM">MUSLIM</option>
|
||||
<option value="CHRISTIAN">CHRISTIAN</option>
|
||||
<option value="JAIN">JAIN</option>
|
||||
<option value="SIKH">SIKH</option>
|
||||
<option value="BUDDHIST">BUDDHIST</option>
|
||||
<option value="OTHERS">OTHERS</option></select>
|
||||
</td>
|
||||
<td>
|
||||
Caste :
|
||||
<select name="CASTE" class="F">
|
||||
<option value="GENL">GENERAL</option> <option value="SC">SC</option>
|
||||
<option value="OBC-A">OBC-A</option> <option value="OBC-B">OBC-B</option>
|
||||
<option value="ST">ST</option></select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td>Disability
|
||||
<select name="PH" class="F">
|
||||
<option value="NO">No</option>
|
||||
<option value="PH_10">PH upto 10% </option>
|
||||
<option value="PH_20">PH upto 20% </option>
|
||||
<option value="PH_30">PH upto 30% </option>
|
||||
<option value="PH_40">PH upto 40% </option>
|
||||
<option value="PH_50">PH upto 50% </option>
|
||||
<option value="PH_60">PH upto 60% </option> </select>
|
||||
</td>
|
||||
|
||||
|
||||
<td>Blood Group :
|
||||
<select name="B_GROUP" class="F">
|
||||
<option value="A+"> A+ </option>
|
||||
<option value="A-"> A- </option>
|
||||
<option value="B+"> B+ </option>
|
||||
<option value="B-"> B- </option>
|
||||
<option value="AB+"> AB+ </option>
|
||||
<option value="AB-"> AB- </option>
|
||||
<option value="O+"> O+ </option>
|
||||
<option value="O-"> O- </option></select></td>
|
||||
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
Whether Donated Blood :
|
||||
<input type="radio" name="B_DONATE" value="Yes">YES
|
||||
<input type="radio" name="B_DONATE" value="NO">NO
|
||||
<br><br>
|
||||
|
||||
|
||||
</fieldset>
|
||||
|
||||
|
||||
|
||||
<fieldset><legend>Educational Information</legend>
|
||||
<table>
|
||||
|
||||
<tr>
|
||||
<td>University :</td>
|
||||
<td><select name="UNIVERSITY" class="F">
|
||||
<option value="West Bengal State University">West Bengal State University</option>
|
||||
<option value="Vidya Sagar University">Vidya Sagar University</option>
|
||||
<option value="Rabindra Bharati University">Rabindra Bharati University</option>
|
||||
<option value="Presidency University">Presidency University</option>
|
||||
<option value="North Benagal University">North Benagal University</option>
|
||||
<option value="Netaji Shubhash Open University">Netaji Shubhash Open University</option>
|
||||
<option value="Kalyani University">Kalyani University</option>
|
||||
<option value="Jadavpur University">Jadavpur University</option>
|
||||
<option value="Diamond Harbour Women s University">Diamond Harbour Women s University</option>
|
||||
<option value="Calcutta University">Calcutta University</option>
|
||||
<option value="Aliah University">Aliah University</option>
|
||||
<option value="Others">Others</option>
|
||||
</select></td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>College NAME :</td>
|
||||
<td><input type="text" style="text-transform:uppercase;width:300px; " class="F" name="COLLEGE" required></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> YEAR OF PASSING :</td>
|
||||
<td><select name="YOP" onchange="yop(this.value)" class="F">
|
||||
<option value="2017">2017</option>
|
||||
<option value="2016">2016</option>
|
||||
<option value="2015">2015</option>
|
||||
<option value="2014">2014</option>
|
||||
<option value="2013">2013</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
<table id="tt" style="margin-left:10px;padding:10px;">
|
||||
<tr >
|
||||
<td></td>
|
||||
<td>Subject Name</td>
|
||||
<td >Full Marks</td>
|
||||
<td>Pass Marks</td>
|
||||
<td>Marks Obtained</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<td> Hons :</td>
|
||||
<td class="dd2"><select name="H_NM" style="width:90px;" onchange="appsub(this.value)" > <option value=""> Select </option> <option value="Bengali">Bengali</option><option value="Chemistry">Chemistry</option> </select></td>
|
||||
<td class="dd2"><input type="tel" class="ip1" name="H_FM" id="t1" maxlength="3" required></td>
|
||||
<td class="dd2"><input type="tel" class="ip1" name="H_PM" id="t2" maxlength="3" required></td>
|
||||
<td class="dd2"><input type="tel" class="ip1" name="H_MO" id="t3" maxlength="3" required></td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td> GEN 1 :</td>
|
||||
<td><input type="TEXT" style="width:90px;" class="ip1" id="p1" name="G1_NM" maxlength="3" required></td>
|
||||
<td><input type="tel" class="ip1" id="p1" name="G1_FM" maxlength="3" required></td>
|
||||
<td><input type="tel" class="ip1" id="p2" name="G1_PM" maxlength="3" required></td>
|
||||
<td><input type="tel" class="ip1" id="p3" name="G1_MO" maxlength="3" required></td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gen 2 :</td>
|
||||
<td><input type="TEXT" style="width:90px;" class="ip1" name="G2_NM" maxlength="3" onchange="passd(this.value)" required></td>
|
||||
<td><input type="tel" class="ip1" name="G2_FM" maxlength="3" onchange="passd(this.value)" required></td>
|
||||
<td><input type="tel" class="ip1" name="G2_PM" maxlength="3" onchange="passd(this.value)" required></td>
|
||||
<td><input type="tel" class="ip1" name="G2_MO" maxlength="3" onchange="pass(this.value)" required></td>
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
</table>
|
||||
* Percentage will be calculated by the system !
|
||||
</fieldset><br><br>
|
||||
|
||||
|
||||
|
||||
|
||||
<br><br>
|
||||
<div style="float:left;" >Applying For <input type="text" id="applying_saub" required disabled style="font-size:1.3em; "> </div>
|
||||
<br><br><br>
|
||||
|
||||
<fieldset id="dd"><legend>File Upload... </legend> <!-- File Upload... -->
|
||||
<div> SELECT YOUR IMAGE TO UPLOAD </div> <input type="file" name="Photo" required >
|
||||
<div> SELECT YOUR SIGNATURE TO UPLOAD </div> <input type="file" name="sign" required >
|
||||
<div> SELECT YOUR Part III marksheet </div> <input type="file" name="mark" required >
|
||||
|
||||
</fieldset>
|
||||
|
||||
|
||||
|
||||
<br>
|
||||
<center> <input type="submit" style="width:250px; height:30px;" value="Submit" > </center>
|
||||
|
||||
</form>
|
||||
|
||||
<br><br><br>
|
||||
|
||||
|
||||
|
||||
</div>
|
|
@ -0,0 +1,342 @@
|
|||
<!-- <h1> Date Over</h1> -->
|
||||
|
||||
|
||||
<table style="width:1000px; margin-left:auto;margin-right:auto; margin-bottom:5px;" cellpadding="0" cellspacing="0">
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
function appsub(x) {
|
||||
document.getElementById("applying_saub").value = x;
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<tr><td colspan="12" ALIGN=MIDDLE style="color:grey;font-size:30px;">
|
||||
Sreechaitanya College, Habra(Arts & Science)<hr>
|
||||
PG Admission For The Session 2020-21
|
||||
</td></tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
<div id="BDy" style="background-color:#D3E3F6; width:860px; margin: 0 auto; padding:20px;">
|
||||
<style>#tt > td{
|
||||
width:200px;
|
||||
}
|
||||
.dd2{
|
||||
width:120px;
|
||||
}
|
||||
.ip1{
|
||||
text-align:center;width:50px;padding:3px;border-radius:3px;
|
||||
}
|
||||
.F_txt{
|
||||
width:100%;padding:6px;border-radius:3px;font-size:1.2em;font-weight:bold;color:rgb(89, 85, 85);
|
||||
}
|
||||
|
||||
.F{
|
||||
padding:3px;border-radius:3px; font-weight:bold;color:rgb(89, 85, 85);
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<form id="sree" method="post" action="admission" enctype="multipart/form-data">
|
||||
<input type="hidden" name="AdmF" value="Sub">
|
||||
<input type="hidden" name="S_ID" value="NA">
|
||||
<input type="hidden" name="formid" value="BMMV_PG_19">
|
||||
<fieldset><legend>Personal Information</legend>
|
||||
|
||||
<table ALIGN=LEFT style="width:100%;">
|
||||
<tr>
|
||||
<td>NAME:</td>
|
||||
<td > <input class="F_txt" type="text" name="NAME" required style="text-transform:uppercase; "> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Mobile:</td>
|
||||
<td ><input class="F_txt" type="tel" maxlength="10" name="MOBILE" required ></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>E-mail :</td>
|
||||
<td > <input class="F_txt" type="email" name="EMAIL" required style="text-transform:lowercase;" > </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>FATHER :</td>
|
||||
<td ><input class="F_txt" style="text-transform:uppercase;" type="text" name="FATHER_NAME" required ></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>GUARDIAN :</td>
|
||||
<td ><input class="F_txt" style="text-transform:uppercase;" type="text" name="GUARDIAN_NAME" required ></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>ADDRESS :</td>
|
||||
<td><textarea class="F_txt" name="ADDRESS" style=" height:100px;" required>
|
||||
Vill=
|
||||
P.S.=
|
||||
Dist=
|
||||
PIN=
|
||||
</textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>DATE OF BIRTH :</td>
|
||||
<td>
|
||||
<table><tr><td><div> DATE </div><select name="DOB_DATE" style="width:60px;" class="inpt_01">
|
||||
<option value="01">01</option>
|
||||
<option value="02">02</option>
|
||||
<option value="03">03</option>
|
||||
<option value="04">04</option>
|
||||
<option value="05">05</option>
|
||||
<option value="06">06</option>
|
||||
<option value="07">07</option>
|
||||
<option value="08">08</option>
|
||||
<option value="09">09</option>
|
||||
<option value="10">10</option>
|
||||
<option value="11">11</option>
|
||||
<option value="12">12</option>
|
||||
<option value="13">13</option>
|
||||
<option value="14">14</option>
|
||||
<option value="15">15</option>
|
||||
<option value="16">16</option>
|
||||
<option value="17">17</option>
|
||||
<option value="18">18</option>
|
||||
<option value="19">19</option>
|
||||
<option value="20">20</option>
|
||||
<option value="21">21</option>
|
||||
<option value="22">22</option>
|
||||
<option value="23">23</option>
|
||||
<option value="24">24</option>
|
||||
<option value="25">25</option>
|
||||
<option value="26">26</option>
|
||||
<option value="27">27</option>
|
||||
<option value="28">28</option>
|
||||
<option value="29">29</option>
|
||||
<option value="30">30</option>
|
||||
<option value="31">31</option>
|
||||
</select>
|
||||
</td>
|
||||
<td><div> MONTH </div> <select name="DOB_MONTH" style="width:60px;" class="inpt_01">
|
||||
<option value="01">01</option>
|
||||
<option value="02">02</option>
|
||||
<option value="03">03</option>
|
||||
<option value="04">04</option>
|
||||
<option value="05">05</option>
|
||||
<option value="06">06</option>
|
||||
<option value="07">07</option>
|
||||
<option value="08">08</option>
|
||||
<option value="09">09</option>
|
||||
<option value="10">10</option>
|
||||
<option value="11">11</option>
|
||||
<option value="12">12</option>
|
||||
</select></td>
|
||||
<td><div> YEAR </div>
|
||||
<select name="DOB_YEAR" style="width:100px;" class="inpt_01">
|
||||
<option value="2006">2006</option>
|
||||
<option value="2005">2005</option>
|
||||
<option value="2004">2004</option>
|
||||
<option value="2003">2003</option>
|
||||
<option value="2002">2002</option>
|
||||
<option value="2001">2001</option>
|
||||
<option value="2000">2000</option>
|
||||
<option value="1999">1999</option>
|
||||
<option value="1998">1998</option>
|
||||
<option value="1997">1997</option>
|
||||
<option value="1996">1996</option>
|
||||
<option value="1995">1995</option>
|
||||
<option value="1994">1994</option>
|
||||
<option value="1993">1993</option>
|
||||
<option value="1992">1992</option>
|
||||
<option value="1991">1991</option>
|
||||
<option value="1990">1990</option>
|
||||
<option value="1989">1989</option>
|
||||
<option value="1988">1988</option>
|
||||
<option value="1987">1987</option>
|
||||
<option value="1986">1986</option>
|
||||
<option value="1985">1985</option>
|
||||
<option value="1984">1984</option>
|
||||
<option value="1983">1983</option>
|
||||
<option value="1982">1982</option>
|
||||
<option value="1981">1981</option>
|
||||
<option value="1980">1980</option>
|
||||
</select></td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<table ALIGN=MIDDLE style="padding:19px;width:100%;">
|
||||
<tr><td>
|
||||
Gender :
|
||||
<select name="GENDER" class="F">
|
||||
<option value="Male">Male</option>
|
||||
<option value="Female">Female</option>
|
||||
<option value="Trans">Trans</option>
|
||||
</select>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
Religion :
|
||||
<select name="RELIGION" class="F">
|
||||
<option value="HINDU">HINDU</option>
|
||||
<option value="MUSLIM">MUSLIM</option>
|
||||
<option value="CHRISTIAN">CHRISTIAN</option>
|
||||
<option value="JAIN">JAIN</option>
|
||||
<option value="SIKH">SIKH</option>
|
||||
<option value="BUDDHIST">BUDDHIST</option>
|
||||
<option value="OTHERS">OTHERS</option></select>
|
||||
</td>
|
||||
<td>
|
||||
Caste :
|
||||
<select name="CASTE" class="F">
|
||||
<option value="GENL">GENERAL</option> <option value="SC">SC</option>
|
||||
<option value="OBC-A">OBC-A</option> <option value="OBC-B">OBC-B</option>
|
||||
<option value="ST">ST</option></select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td>Disability
|
||||
<select name="DISABILITY" class="F">
|
||||
<option value="NO">No</option>
|
||||
<option value="PH_10">PH upto 10% </option>
|
||||
<option value="PH_20">PH upto 20% </option>
|
||||
<option value="PH_30">PH upto 30% </option>
|
||||
<option value="PH_40">PH upto 40% </option>
|
||||
<option value="PH_50">PH upto 50% </option>
|
||||
<option value="PH_60">PH upto 60% </option> </select>
|
||||
</td>
|
||||
|
||||
|
||||
<td>Blood Group :
|
||||
<select name="BLOOD_GROUP" class="F">
|
||||
<option value="A+"> A+ </option>
|
||||
<option value="A-"> A- </option>
|
||||
<option value="B+"> B+ </option>
|
||||
<option value="B-"> B- </option>
|
||||
<option value="AB+"> AB+ </option>
|
||||
<option value="AB-"> AB- </option>
|
||||
<option value="O+"> O+ </option>
|
||||
<option value="O-"> O- </option></select></td>
|
||||
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
Whether Donated Blood :
|
||||
<input type="radio" name="BLOOD_DONATED" value="Yes">YES
|
||||
<input type="radio" name="BLOOD_DONATED" value="NO">NO
|
||||
<br><br>
|
||||
|
||||
|
||||
</fieldset>
|
||||
|
||||
|
||||
|
||||
<fieldset><legend>Educational Information</legend>
|
||||
<table>
|
||||
|
||||
<tr>
|
||||
<td>University :</td>
|
||||
<td><select name="UNIVERSITY" class="F">
|
||||
<option value="West Bengal State University">West Bengal State University</option>
|
||||
<option value="Vidya Sagar University">Vidya Sagar University</option>
|
||||
<option value="Rabindra Bharati University">Rabindra Bharati University</option>
|
||||
<option value="Presidency University">Presidency University</option>
|
||||
<option value="North Benagal University">North Benagal University</option>
|
||||
<option value="Netaji Shubhash Open University">Netaji Shubhash Open University</option>
|
||||
<option value="Kalyani University">Kalyani University</option>
|
||||
<option value="Jadavpur University">Jadavpur University</option>
|
||||
<option value="Diamond Harbour Women s University">Diamond Harbour Women s University</option>
|
||||
<option value="Calcutta University">Calcutta University</option>
|
||||
<option value="Aliah University">Aliah University</option>
|
||||
<option value="Others">Others</option>
|
||||
</select></td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>College NAME :</td>
|
||||
<td><input type="text" style="text-transform:uppercase;width:300px; " class="F" name="COLLEGE" required></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> YEAR OF PASSING :</td>
|
||||
<td><select name="YEAR_OF_PASSING" onchange="yop(this.value)" class="F">
|
||||
<option value="2020">2020</option>
|
||||
<option value="2019">2019</option>
|
||||
<option value="2018">2018</option>
|
||||
<option value="2017">2017</option>
|
||||
<option value="2016">2016</option>
|
||||
<option value="2015">2015</option>
|
||||
<option value="2014">2014</option>
|
||||
<option value="2013">2013</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
<table id="tt" style="margin-left:10px;padding:10px;">
|
||||
<tr >
|
||||
<td></td>
|
||||
<td>Subject Name</td>
|
||||
<td >Full Marks</td>
|
||||
<td>Pass Marks</td>
|
||||
<td>Marks Obtained</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<td> Hons :</td>
|
||||
<td class="dd2">
|
||||
<select name="H_NM" style="width:90px;" onchange="appsub(this.value)" > <option value=""> Select </option> <option value="Bengali">Bengali</option>
|
||||
<option value="Chemistry">Chemistry</option>
|
||||
</select></td>
|
||||
<td class="dd2"><input type="tel" class="ip1" name="H_FM" id="t1" maxlength="4" required></td>
|
||||
<td class="dd2"><input type="tel" class="ip1" name="H_PM" id="t2" maxlength="4" required></td>
|
||||
<td class="dd2"><input type="tel" class="ip1" name="H_MO" id="t3" maxlength="4" required></td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td> GEN 1 :</td>
|
||||
<td><input type="TEXT" style="width:90px;" class="ip1" id="p1" name="G1_NM" maxlength="4" required></td>
|
||||
<td><input type="tel" class="ip1" id="p1" name="G1_FM" maxlength="4" required></td>
|
||||
<td><input type="tel" class="ip1" id="p2" name="G1_PM" maxlength="4" required></td>
|
||||
<td><input type="tel" class="ip1" id="p3" name="G1_MO" maxlength="4" required></td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gen 2 :</td>
|
||||
<td><input type="TEXT" style="width:90px;" class="ip1" name="G2_NM" maxlength="4" onchange="passd(this.value)" required></td>
|
||||
<td><input type="tel" class="ip1" name="G2_FM" maxlength="4" onchange="passd(this.value)" required></td>
|
||||
<td><input type="tel" class="ip1" name="G2_PM" maxlength="4" onchange="passd(this.value)" required></td>
|
||||
<td><input type="tel" class="ip1" name="G2_MO" maxlength="4" onchange="pass(this.value)" required></td>
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
</table><br>
|
||||
<strong> * Percentage, aggregate will be auto calculated.</strong>
|
||||
</fieldset>
|
||||
|
||||
<br><br>
|
||||
<div style="float:left;" >Applying For <input type="text" id="applying_saub" required disabled style="font-size:1.3em; "> </div>
|
||||
<br><br><br>
|
||||
|
||||
<fieldset id="dd"><legend>File Upload... </legend>
|
||||
<strong><p>Maximum file size allowed 140 kb</p></strong><hr>
|
||||
<div> SELECT YOUR IMAGE TO UPLOAD </div> <input type="file" name="Photo" required ><hr>
|
||||
<div> SELECT YOUR SIGNATURE TO UPLOAD </div> <input type="file" name="sign" required ><hr>
|
||||
<div> SELECT YOUR Part III marksheet(Optional) </div> <input type="file" name="mark"><hr>
|
||||
|
||||
</fieldset>
|
||||
|
||||
|
||||
|
||||
<br>
|
||||
<center> <input type="submit" style="width:250px; height:30px;" value="Submit" > </center>
|
||||
|
||||
</form>
|
||||
|
||||
<br><br><br>
|
||||
|
||||
|
||||
|
||||
</div>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue