initial commit
This commit is contained in:
1
PRINT/404.php
Normal file
1
PRINT/404.php
Normal file
@@ -0,0 +1 @@
|
||||
404
|
||||
3
PRINT/ADMISSION_FOOTER.php
Normal file
3
PRINT/ADMISSION_FOOTER.php
Normal file
@@ -0,0 +1,3 @@
|
||||
</body>
|
||||
|
||||
</html>
|
||||
24
PRINT/ADMISSION_HEADER.php
Normal file
24
PRINT/ADMISSION_HEADER.php
Normal file
@@ -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>
|
||||
9
PRINT/index.php
Normal file
9
PRINT/index.php
Normal file
@@ -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");
|
||||
?>
|
||||
39
PRINT/merit_list.php
Normal file
39
PRINT/merit_list.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$list= urldecode($_GET['list']);
|
||||
$stream= urldecode($_GET['stream']);
|
||||
$sql = "SELECT * FROM `scc_pg_19` 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>";}
|
||||
?>
|
||||
294
PRINT/print_chalan_pg.php
Normal file
294
PRINT/print_chalan_pg.php
Normal file
@@ -0,0 +1,294 @@
|
||||
<?php
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$fno= $_GET['id'];
|
||||
$sql = "SELECT * FROM `scc_pg_19` 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>
|
||||
132
PRINT/print_form_pg.php
Normal file
132
PRINT/print_form_pg.php
Normal file
@@ -0,0 +1,132 @@
|
||||
<?php
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$fno= $_GET['id'];
|
||||
$sql = "SELECT * FROM `scc_pg_19` 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>
|
||||
Reference in New Issue
Block a user