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.133.145.168


Current Path : /proc/thread-self/root/var/www/html/Regulations/
Upload File :
Current File : //proc/thread-self/root/var/www/html/Regulations/gulbargabed.php

<?php
 


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

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


$db = "logisys3_gug";




$query  = "select distinct fdegree, fdescpn from {$db}.degree where fdeggrp='BED'";





//var_dump($query);

$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);




 
$table = '<center><h1>'.$row1['funivname'].'</h1>
    </center>
    <table id="myTable1" style="height: 40px;" border="1" align="center">
            <tbody>
             </tr>
              <tr style="height: 40px; background-color:#ffeb3b94;">
                <td style="width: 450px; text-align: center; height: 40px;font-size: 20px;">
                 <b>BED Course Regulation</b>
                </td>
                <td style="width: 150px; height: 40px; text-align: center;font-size: 20px;"><a href="https://bcu.ac.in/Regulations/PDF/001_gulbarga%20%20REGULATIONS_BED-MED_2015_2016.pdf" target="_blank"<b>Download</b></a></td>
                </tr>
              </tbody>
            </table>
          <br><br>
    <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="5%"><center>Sl. No.</center></th>
       <th width="10%"><center>PG Degree Code</center></th>
             <th width="35%"><center>Degree Name</center></th>
       <th width="10%"><center>Subjects Download</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='gul.php?fdegree=$row[fdegree]&val1=$db'>Download </a></td>";
        $table .= "</tr>";
    }
}
else
{
    $table .= "<tr bgcolor='#ffffff' >";
    $table .= "<td colspan='4'><center>Subjects not found</center></td>";
}

echo $table;


?>