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


Current Path : /proc/thread-self/root/var/www/oasis/dud/
Upload File :
Current File : //proc/thread-self/root/var/www/oasis/dud/index.php

<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <title>DAVANGERE UNIVERSITY</title>
    <!-- Favicon-->
    <link rel="icon" href="favicon.ico" type="image/x-icon">
    <link href="https://universitysolutions.in/bnu/adm/plugins/bootstrap/css/bootstrap_adm.css" rel="stylesheet">

    <!-- Waves Effect Css -->
    <link href="https://universitysolutions.in/bnu/adm/plugins/node-waves/waves.css" rel="stylesheet" />

    <!-- Custom Css -->
    <link href="https://universitysolutions.in/bnu/adm/css/style_adm.css" rel="stylesheet">
    <!-- Google Fonts -->
    <link href="https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,cyrillic-ext" rel="stylesheet" type="text/css">
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" type="text/css">
    <link href="https://universitysolutions.in/bnu/adm/css/themes/all-themes.css" rel="stylesheet" />
    
</head>

<body>
    <!-- #END# Page Loader -->
    <!-- Top Bar -->
    
<?php

include("/var/www/config.php");

$servername = SERVERNAME;
$username   = USERNAME;
$password  = PASSWORD;


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

$db = "logisys3_dud";
$query = "SELECT fpostno, flabel, ffilepath,fcolour,fnew FROM {$db}.postnotfn 
WHERE DATE_FORMAT(NOW(),'%Y-%m-%d') BETWEEN ffromdate AND ftodate 
and ifnull(fdeleted,'') <> 'T'
ORDER BY forder";

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

$result1 = mysqli_query($conn, $query1);
$row1 = mysqli_fetch_assoc($result1);

$nav =  '<nav class="navbar" style="background-color: #1ba0c7;">
        <div class="container-fluid" style="color: #fff;">
            <div class="col-md-12 m-t--5">
                <center>
                  <h2 class="brand" style="margin-left: 50px;">'.$row1['funivname'].'</h2>
              </center>
            </div>
        </div>
    </nav>';

echo $nav;



 $table="";

echo "<br/><br/><br/><br><br>";


if($count >0)
{

      while($row = mysqli_fetch_assoc($result))
      {

       
        $fnew=$row['fnew'];
        if($fnew =='T')
        { 
             $table .='<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
                            
                            <a href="'.$row['ffilepath'].'" target="blank">
                            <div class="info-box bg-'.$row['fcolour'].' hover-expand-effect">
                                <div class="content">
                                    <div class="text">

                                    <img src="https://oasis.logisys.org/dud/new.gif" alt="" width="30" height="30">'.$row['flabel'].'</div>

                                </div>
                            </div></a></div>';
           
                                        
                              
        }
            
        else 
        {
                $table .='
                              <div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">  
                            <a href="'.$row['ffilepath'].'" target="blank">
                            <div class="info-box bg-'.$row['fcolour'].' hover-expand-effect">
                                <div class="content">
                                    <div class="text">'.$row['flabel'].'</div>
                             </div>
                            </div></a>
                            </div>';
                                    

                               

        }
             
             
      }
                      
}
   
echo $table;



?>

    <script src="https://universitysolutions.in/bnu/adm/plugins/jquery/jquery.min.js"></script>

    <!-- Bootstrap Core Js -->
    <script src="https://universitysolutions.in/bnu/adm/plugins/bootstrap/js/bootstrap.js"></script>

    <!-- Select Plugin Js -->
    <script src="https://universitysolutions.in/bnu/adm/plugins/bootstrap-select/js/bootstrap-select.js"></script>

    <!-- Slimscroll Plugin Js -->
    <script src="https://universitysolutions.in/bnu/adm/plugins/jquery-slimscroll/jquery.slimscroll.js"></script>

    <!-- Waves Effect Plugin Js -->
    <script src="https://universitysolutions.in/bnu/adm/plugins/node-waves/waves.js"></script>

    <script src="https://universitysolutions.in/bnu/adm/js/kusPhdAdm.js?v=28" type="text/javascript"></script>
     <script src="https://universitysolutions.in/bnu/adm/js/MainPageCompressed.js"></script>
    <!-- Custom Js -->
    <script src="https://universitysolutions.in/bnu/adm/js/admin.js"></script>
    <script src="https://universitysolutions.in/bnu/adm/js/login.js"></script>
    <!-- Demo Js -->
    <script src="https://universitysolutions.in/bnu/adm/js/demo.js"></script>

</body>
</html>