ÿØÿà JPEG ÿþ;
| Server IP : 68.65.120.201 / Your IP : 216.73.216.221 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.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/home/./././././taxhyuvu/././././././admin/ |
Upload File : |
<?php $id=$_GET['id'];
include "db.php";
session_start();
$p2="SELECT * FROM `cases` WHERE `id` = '$id'
";
$power = mysqli_query($con,$p2);
$k=mysqli_fetch_assoc($power);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Case Law</title>
<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">
</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;}
</Style>
<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" >
</div>
</div>
</div>
</div>
<div class="container" id="divPrint">
<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">
<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['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>
</tr>
<tr>
<td colspan="5" style="text-align:justify;"><?php echo $k['Ref']?> <b>[<?php echo $k['Judgment']?>] </b></td>
</tr>
<?php
if(isset($_SESSION['adminlogedin']) && $_SESSION['adminlogedin']==true) {
$email= $_SESSION['Email_Address'];
$user= $_SESSION['user'];
?>
<tr>
<?php $no=$k['Judgment'];
$poon="SELECT * FROM `judgments` WHERE `PTD` = '$no'";
$plz=mysqli_query($con,$poon);
$kkr=mysqli_fetch_assoc($plz);
; ?>
<th colspan="5" > <a target="blank" 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>
<?php } else{ ?>
<tr>
<th colspan="5" > <a href="login/index"><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>
<?php }?>
</tbody>
</table>
</div>