<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html lang='en' dir='ltr' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
<head>
<meta charset='utf-8'/>
<meta content='width=device-width, initial-scale=1' name='viewport'/>
<!-- Title with Match Score Feature -->
<title><data:blog.pageTitle/></title>
<!-- Sports Theme CSS -->
<style type='text/css'>
/* ===== SPORTS THEME COLORS ===== */
:root {
--sport-green: #1e7e34;
--sport-blue: #0066cc;
--sport-red: #dc3545;
--sport-gold: #ffc107;
--sport-dark: #1a1a1a;
--sport-light: #f8f9fa;
}
/* ===== BASIC RESET ===== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: #333;
line-height: 1.6;
}
/* ===== HEADER WITH SPORTS THEME ===== */
.sports-header {
background: linear-gradient(to right, var(--sport-green), var(--sport-blue));
color: white;
padding: 20px 0;
text-align: center;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.site-title {
font-size: 2.5em;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 2px;
margin-bottom: 10px;
}
.site-title span {
color: var(--sport-gold);
}
.site-tagline {
font-size: 1.1em;
opacity: 0.9;
}
/* ===== NAVIGATION MENU ===== */
.sports-nav {
background: var(--sport-dark);
padding: 15px 0;
}
.nav-menu {
display: flex;
justify-content: center;
list-style: none;
flex-wrap: wrap;
}
.nav-menu li {
margin: 0 15px;
}
.nav-menu a {
color: white;
text-decoration: none;
font-weight: bold;
padding: 8px 15px;
border-radius: 20px;
transition: all 0.3s;
}
.nav-menu a:hover {
background: var(--sport-gold);
color: var(--sport-dark);
}
/* ===== LIVE SCORE BAR ===== */
.live-score-bar {
background: var(--sport-red);
color: white;
padding: 10px;
text-align: center;
font-weight: bold;
animation: blink 2s infinite;
}
@keyframes blink {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
/* ===== MAIN CONTENT AREA ===== */
.container {
max-width: 1200px;
margin: 20px auto;
padding: 0 20px;
display: flex;
flex-wrap: wrap;
gap: 30px;
}
.main-content {
flex: 3;
min-width: 300px;
}
.sidebar {
flex: 1;
min-width: 250px;
}
/* ===== BLOG POST STYLING ===== */
.blog-post {
background: white;
border-radius: 10px;
padding: 25px;
margin-bottom: 30px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
border-left: 5px solid var(--sport-green);
}
.post-title {
color: var(--sport-blue);
margin-bottom: 15px;
font-size: 1.8em;
}
.post-meta {
color: #666;
font-size: 0.9em;
margin-bottom: 15px;
display: flex;
gap: 15px;
}
.post-category {
background: var(--sport-green);
color: white;
padding: 3px 10px;
border-radius: 15px;
font-size: 0.8em;
}
.post-image {
width: 100%;
height: 300px;
object-fit: cover;
border-radius: 8px;
margin: 15px 0;
}
/* ===== SIDEBAR WIDGETS ===== */
.sidebar-widget {
background: white;
border-radius: 10px;
padding: 20px;
margin-bottom: 20px;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.widget-title {
color: var(--sport-green);
border-bottom: 2px solid var(--sport-gold);
padding-bottom: 10px;
margin-bottom: 15px;
font-size: 1.3em;
}
/* ===== UPCOMING MATCHES WIDGET ===== */
.match-list {
list-style: none;
}
.match-item {
padding: 10px;
border-bottom: 1px solid #eee;
display: flex;
align-items: center;
}
.match-item:last-child {
border-bottom: none;
}
.team-logo {
width: 30px;
height: 30px;
margin-right: 10px;
border-radius: 50%;
background: #ddd;
}
/* ===== FOOTER ===== */
.sports-footer {
background: var(--sport-dark);
color: white;
text-align: center;
padding: 30px 20px;
margin-top: 50px;
}
.footer-links {
display: flex;
justify-content: center;
gap: 20px;
margin: 20px 0;
flex-wrap: wrap;
}
.footer-links a {
color: var(--sport-gold);
text-decoration: none;
}
/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
.container {
flex-direction: column;
}
.nav-menu {
flex-direction: column;
align-items: center;
}
.nav-menu li {
margin: 5px 0;
}
.site-title {
font-size: 1.8em;
}
}
</style>
</head>
<body>
<!-- HEADER -->
<header class="sports-header">
<div class="container">
<h1 class="site-title">SPORT<span>NEWS</span></h1>
<p class="site-tagline">Latest Updates, Scores & Analysis</p>
</div>
</header>
<!-- NAVIGATION -->
<nav class="sports-nav">
<ul class="nav-menu">
<li><a href="/">Home</a></li>
<li><a href="/search/label/Cricket">Cricket</a></li>
<li><a href="/search/label/Football">Football</a></li>
<li><a href="/search/label/Analysis">Analysis</a></li>
<li><a href="/search/label/Live">Live Scores</a></li>
<li><a href="/p/about.html">About</a></li>
</ul>
</nav>
<!-- LIVE SCORE TICKER -->
<div class="live-score-bar" id="liveScore">
🏏 LIVE: IND vs AUS - India 245/3 (45.2 overs) | ⚽ LIVE: MCI vs LIV - Manchester City 1-0 (65')
</div>
<!-- MAIN CONTENT -->
<div class="container">
<!-- BLOG POSTS -->
<main class="main-content">
<b:section class='main' id='main' name='Main'>
<b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'/>
</b:section>
</main>
<!-- SIDEBAR -->
<aside class="sidebar">
<!-- Upcoming Matches Widget -->
<div class="sidebar-widget">
<h3 class="widget-title">📅 Upcoming Matches</h3>
<ul class="match-list">
<li class="match-item">
<div class="team-logo"></div>
<div>
<strong>CSK vs MI</strong><br>
<small>Today, 7:30 PM</small>
</div>
</li>
<li class="match-item">
<div class="team-logo"></div>
<div>
<strong>MCI vs ARS</strong><br>
<small>Tomorrow, 10:00 PM</small>
</div>
</li>
</ul>
</div>
<!-- Categories Widget -->
<div class="sidebar-widget">
<h3 class="widget-title">🏆 Categories</h3>
<ul>
<li><a href="/search/label/Cricket">Cricket</a></li>
<li><a href="/search/label/Football">Football</a></li>
<li><a href="/search/label/Tennis">Tennis</a></li>
<li><a href="/search/label/Analysis">Match Analysis</a></li>
<li><a href="/search/label/Fantasy">Fantasy Tips</a></li>
</ul>
</div>
<!-- Recent Posts Widget -->
<div class="sidebar-widget">
<h3 class="widget-title">🔥 Recent Posts</h3>
<b:widget id='PopularPosts1' locked='false' title='' type='PopularPosts'/>
</div>
</aside>
</div>
<!-- FOOTER -->
<footer class="sports-footer">
<p>© <data:blog.title/> <data:blog.currentYear/></p>
<div class="footer-links">
<a href="/p/about.html">About Us</a>
<a href="/p/contact.html">Contact</a>
<a href="/p/privacy.html">Privacy Policy</a>
<a href="/p/disclaimer.html">Disclaimer</a>
</div>
<p>Made with ❤️ for Sports Fans</p>
</footer>
<!-- JAVASCRIPT FOR DYNAMIC FEATURES -->
<script type='text/javascript'>
// Live Score Rotation
const liveScores = [
"🏏 LIVE: IND vs AUS - India 245/3 (45.2 overs)",
"⚽ LIVE: MCI vs LIV - Manchester City 1-0 (65')",
"🏀 LIVE: LAL vs GSW - Lakers 85-78 (Q3)",
"🎾 LIVE: Djokovic vs Nadal - 4-6, 6-3, 2-1"
];
let scoreIndex = 0;
const scoreElement = document.getElementById('liveScore');
function rotateLiveScore() {
scoreIndex = (scoreIndex + 1) % liveScores.length;
scoreElement.textContent = liveScores[scoreIndex];
}
setInterval(rotateLiveScore, 5000);
// Last Updated Time
document.addEventListener('DOMContentLoaded', function() {
const lastUpdated = document.createElement('div');
lastUpdated.innerHTML = `Last updated: ${new Date().toLocaleTimeString()}`;
lastUpdated.style.cssText = 'text-align:center; padding:10px; font-size:0.9em; color:#666;';
document.querySelector('.sports-footer').appendChild(lastUpdated);
});
</script>
</body><h1 class="site-title">
<img src="YOUR-LOGO-URL" alt="Logo" style="height: 50px; vertical-align: middle;">
SPORT<span>NEWS</span>
</h1> <li><a href="/search/label/Cricket">Cricket</a></li>
<li><a href="/search/label/Football">Football</a></li>
<!-- Add more as needed --> <div class="sidebar-widget">
<h3 class="widget-title">📊 Live Scores</h3>
<iframe src="https://cricbuzz.widget.com" width="100%" height="300" frameborder="0"></iframe>
</div> // Match Countdown Timer
function startCountdown(matchTime, elementId) {
const countDownDate = new Date(matchTime).getTime();
const timer = setInterval(function() {
const now = new Date().getTime();
const distance = countDownDate - now;
const days = Math.floor(distance / (1000 * 60 * 60 * 24));
const hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
const minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
const seconds = Math.floor((distance % (1000 * 60)) / 1000);
document.getElementById(elementId).innerHTML =
`${days}d ${hours}h ${minutes}m ${seconds}s`;
if (distance < 0) {
clearInterval(timer);
document.getElementById(elementId).innerHTML = "LIVE NOW!";
}
}, 1000);
}
// Usage: startCountdown("2024-03-15T19:30:00", "match1-timer"); <div class="sidebar-widget">
<h3 class="widget-title">📝 Today's Poll</h3>
<p>Who will win IPL 2024?</p>
<form id="pollForm">
<input type="radio" name="poll" value="CSK"> CSK<br>
<input type="radio" name="poll" value="MI"> MI<br>
<input type="radio" name="poll" value="RCB"> RCB<br>
<button type="button" onclick="submitPoll()">Vote</button>
</form>
<div id="pollResults"></div>
</div>
<script>
function submitPoll() {
const selected = document.querySelector('input[name="poll"]:checked');
if(selected) {
document.getElementById('pollResults').innerHTML =
`You voted for: ${selected.value}`;
}
}
</script> <div class="match-report">
<div class="match-header">
<h2>🏏 IPL 2024: CSK vs MI Match Analysis</h2>
<div class="match-meta">
<span class="venue">📍 Wankhede Stadium, Mumbai</span>
<span class="date">📅 March 14, 2024</span>
<span class="result">✅ CSK won by 24 runs</span>
</div>
</div>
<div class="score-card">
<h3>📊 Scorecard</h3>
<table border="1" cellpadding="5" style="width:100%">
<tr>
<th>Team</th>
<th>Runs</th>
<th>Wickets</th>
<th>Overs</th>
</tr>
<tr>
<td>CSK</td>
<td>185</td>
<td>6</td>
<td>20</td>
</tr>
<tr>
<td>MI</td>
<td>161</td>
<td>9</td>
<td>20</td>
</tr>
</table>
</div>
<div class="key-players">
<h3>⭐ Key Players</h3>
<ul>
<li><strong>MS Dhoni</strong>: 45 runs (20 balls)</li>
<li><strong>Jasprit Bumrah</strong>: 3 wickets</li>
</ul>
</div>
</div>
<style>
.match-report {
background: #f9f9f9;
padding: 20px;
border-radius: 10px;
margin: 20px 0;
}
.match-header {
border-bottom: 2px solid #1e7e34;
padding-bottom: 10px;
margin-bottom: 20px;
}
.score-card table {
border-collapse: collapse;
}
.score-card th {
background: #1e7e34;
color: white;
}
</style> <div class="fantasy-builder">
<h3>🎯 Create Your Fantasy Team</h3>
<div id="teamSelection">
<div class="player-pool">
<h4>Available Players (Click to select):</h4>
<button class="player-btn" onclick="addPlayer('Virat Kohli')">Virat Kohli</button>
<button class="player-btn" onclick="addPlayer('Rohit Sharma')">Rohit Sharma</button>
<!-- Add more players -->
</div>
<div class="selected-team">
<h4>Your Team:</h4>
<div id="selectedPlayers"></div>
<p>Remaining Budget: ₹<span id="budget">100</span> Cr</p>
</div>
</div>
</div>
<script>
let budget = 100;
let selected = [];
function addPlayer(playerName) {
if(selected.length < 11 && budget >= 10) {
selected.push(playerName);
budget -= 10;
updateDisplay();
}
}
function updateDisplay() {
document.getElementById('selectedPlayers').innerHTML =
selected.map(p => `<div>${p}</div>`).join('');
document.getElementById('budget').textContent = budget;
}
</script> <!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXX-Y"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-XXXXX-Y');
</script> <meta name="description" content="Latest sports news, live scores, match analysis for cricket, football and more">
<meta name="keywords" content="cricket, football, sports news, live scores, match analysis">
<meta name="author" content="Your Name">
</html>
Comments
Post a Comment