<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html b:version='2' class='v2' expr:dir='data:blog.languageDirection' 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><data:blog.pageTitle/></title>
<b:skin><![CDATA[
/* ============ GLOBAL ============ */
* { margin:0; padding:0; box-sizing:border-box; }
body {
font-family: 'Khmer OS Battambang', 'Hanuman', Arial, sans-serif;
background: #f0f0f0;
color: #333;
line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
/* ============ HEADER ============ */
.header-top {
background: #1a5fb4;
border-bottom: 4px solid #0d47a1;
padding: 25px 20px;
text-align: center;
color: #fff;
}
.header-top .logo-kh {
font-family: 'Khmer OS Muol Light', 'Hanuman', serif;
font-size: 32px;
color: #fff;
margin-bottom: 8px;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.header-top .logo-en {
font-size: 42px;
font-weight: bold;
color: #ffe600;
letter-spacing: 1px;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
/* ============ SLOGAN ============ */
.slogan-bar {
background: #0d47a1;
color: #fff;
padding: 12px 20px;
text-align: center;
font-size: 16px;
font-weight: bold;
border-bottom: 3px solid #ffe600;
}
/* ============ NAVIGATION ============ */
.navbar {
background: #1565c0;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 15px;
border-bottom: 2px solid #0d47a1;
}
.navbar ul {
list-style: none;
display: flex;
flex-wrap: wrap;
}
.navbar ul li a {
display: block;
padding: 12px 16px;
color: #fff;
font-size: 13px;
font-weight: bold;
text-transform: uppercase;
transition: 0.3s;
}
.navbar ul li a:hover {
background: #0d47a1;
color: #ffe600;
}
.home-icon {
background: #0d47a1;
padding: 10px 14px;
border-radius: 4px;
color: #fff;
font-size: 18px;
}
.search-box {
display: flex;
}
.search-box input {
padding: 8px 10px;
border: none;
outline: none;
width: 180px;
font-size: 13px;
}
.search-box button {
background: #000;
color: #fff;
border: none;
padding: 8px 14px;
cursor: pointer;
}
/* ============ BREAKING NEWS ============ */
.breaking-bar {
background: #f5f5f5;
padding: 8px 15px;
display: flex;
align-items: center;
border-bottom: 1px solid #ddd;
overflow: hidden;
}
.breaking-label {
background: #2196f3;
color: #fff;
padding: 4px 12px;
font-size: 13px;
font-weight: bold;
margin-right: 15px;
white-space: nowrap;
}
.breaking-text {
font-size: 14px;
color: #333;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* ============ MAIN LAYOUT ============ */
.main-wrapper {
max-width: 1200px;
margin: 20px auto;
padding: 0 15px;
display: grid;
grid-template-columns: 2fr 1fr;
gap: 20px;
}
@media (max-width: 900px) {
.main-wrapper { grid-template-columns: 1fr; }
}
/* ============ POSTS ============ */
.post-item {
background: #fff;
display: flex;
gap: 15px;
padding: 15px;
margin-bottom: 15px;
border: 1px solid #e0e0e0;
border-radius: 3px;
}
.post-thumb {
flex: 0 0 220px;
height: 150px;
overflow: hidden;
border-radius: 3px;
background: #eee;
}
.post-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
transition: 0.4s;
}
.post-item:hover .post-thumb img { transform: scale(1.05); }
.post-content { flex: 1; }
.post-title {
font-size: 20px;
color: #1565c0;
font-weight: bold;
margin-bottom: 8px;
line-height: 1.4;
}
.post-title:hover { color: #0d47a1; }
.post-meta {
font-size: 12px;
color: #888;
margin-bottom: 10px;
}
.post-meta .author { color: #e53935; font-weight: bold; }
.post-snippet {
font-size: 14px;
color: #555;
margin-bottom: 10px;
text-align: justify;
}
.read-more {
color: #e53935;
font-weight: bold;
font-size: 14px;
}
.read-more:hover { text-decoration: underline; }
@media (max-width: 600px) {
.post-item { flex-direction: column; }
.post-thumb { flex: none; width: 100%; }
}
/* ============ SIDEBAR ============ */
.sidebar-title {
background: #000;
color: #fff;
padding: 10px 15px;
font-size: 16px;
font-weight: bold;
border-left: 4px solid #2196f3;
}
.popular-item {
display: flex;
gap: 10px;
padding: 10px;
background: #fff;
border-bottom: 1px solid #eee;
}
.popular-thumb {
flex: 0 0 80px;
height: 70px;
overflow: hidden;
background: #eee;
}
.popular-thumb img {
width: 100%; height: 100%; object-fit: cover;
}
.popular-info { flex: 1; }
.popular-date {
font-size: 11px;
color: #999;
margin-bottom: 3px;
}
.popular-title {
font-size: 13px;
color: #1565c0;
font-weight: bold;
line-height: 1.4;
}
.popular-title:hover { color: #e53935; }
.popular-meta {
font-size: 11px;
color: #999;
margin-top: 4px;
}
/* ============ FOOTER ============ */
.footer {
background: #1a1a1a;
color: #ccc;
text-align: center;
padding: 20px;
margin-top: 30px;
font-size: 14px;
}
.footer a { color: #ffe600; }
]]></b:skin>
</head>
<body>
<!-- ============ HEADER ============ -->
<div class='header-top'>
<div class='logo-kh'>មជ្ឈមណ្ឌល ភាសាខ្មែរឌីជីថល</div>
<div class='logo-en'>ReingNiteanKhmer</div>
</div>
<!-- ============ SLOGAN ============ -->
<div class='slogan-bar'>
ខេមរភាសា ខានទទួល ផ្លាយពាណិជ្ជកម្ម ត្រប់រូបភាព / រង្វាន់ពាណិជ្ជកម្ម / វិស្សមការពាណិជ្ជកម្ម ៖ សុវត្ថិ ១ / សប្តាហ៍ ផ្លាយពាណិជ្ជ
</div>
<!-- ============ NAVIGATION ============ -->
<div class='navbar'>
<ul>
<li><a class='home-icon' href='/'>🏠</a></li>
<li><a href='#'>FEATURES ▾</a></li>
<li><a href='#'>SEO SERVICES</a></li>
<li><a href='#'>DOCUMENTATION</a></li>
<li><a href='#'>DOWNLOAD THIS TEMPLATE</a></li>
</ul>
<div class='search-box'>
<input type='text' placeholder='ស្វែងរក...'/>
<button>🔍</button>
</div>
</div>
<!-- ============ BREAKING NEWS ============ -->
<div class='breaking-bar'>
<span class='breaking-label'>Breaking</span>
<span class='breaking-text'>ព័ត៌មានថ្មីៗ កំពុងធ្វើបច្ចុប្បន្នភាព...</span>
</div>
<!-- ============ MAIN CONTENT ============ -->
<div class='main-wrapper'>
<!-- POSTS AREA -->
<div class='posts-area'>
<b:section class='main' id='main' showaddelement='no'>
<b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog' version='2'>
<b:includable id='main'>
<b:loop values='data:posts' var='post'>
<div class='post-item'>
<div class='post-thumb'>
<a expr:href='data:post.url'>
<b:if cond='data:post.featuredImage'>
<img expr:src='data:post.featuredImage' expr:alt='data:post.title'/>
<b:else/>
<img src='https://via.placeholder.com/220x150?text=No+Image' alt='no-image'/>
</b:if>
</a>
</div>
<div class='post-content'>
<h2 class='post-title'>
<a expr:href='data:post.url'><data:post.title/></a>
</h2>
<div class='post-meta'>
<span class='author'>✍ Reingnitean</span> -
<span><data:post.date/></span> -
<span>💬 <data:post.numComments/></span>
</div>
<div class='post-snippet'>
<data:post.snippet/>
</div>
<a class='read-more' expr:href='data:post.url'>អានបន្ថែម →</a>
</div>
</div>
</b:loop>
<!-- Pagination -->
<div class='blog-pager' style='text-align:center; padding:20px;'>
<b:if cond='data:olderPageUrl'>
<a expr:href='data:olderPageUrl' style='padding:8px 15px; background:#1565c0; color:#fff; border-radius:3px;'>« ចាស់ជាង</a>
</b:if>
<b:if cond='data:newerPageUrl'>
<a expr:href='data:newerPageUrl' style='padding:8px 15px; background:#1565c0; color:#fff; border-radius:3px; margin-left:10px;'>ថ្មីជាង »</a>
</b:if>
</div>
</b:includable>
</b:widget>
</b:section>
</div>
<!-- SIDEBAR -->
<div class='sidebar'>
<div class='sidebar-title'>ព័ត៌មានពេញនិយម</div>
<b:section class='sidebar-widgets' id='sidebar' showaddelement='yes'>
<b:widget id='PopularPosts1' locked='false' title='Popular Posts' type='PopularPosts' version='2'>
<b:includable id='main'>
<b:loop values='data:posts' var='post'>
<div class='popular-item'>
<div class='popular-thumb'>
<a expr:href='data:post.href'>
<b:if cond='data:post.thumbnail'>
<img expr:src='data:post.thumbnail' expr:alt='data:post.title'/>
<b:else/>
<img src='https://via.placeholder.com/80x70?text=No+Img' alt='no-image'/>
</b:if>
</a>
</div>
<div class='popular-info'>
<div class='popular-date'><data:post.date/></div>
<a expr:href='data:post.href'>
<div class='popular-title'><data:post.title/></div>
</a>
<div class='popular-meta'>No Comments | Read more</div>
</div>
</div>
</b:loop>
</b:includable>
</b:widget>
</b:section>
</div>
</div>
<!-- ============ FOOTER ============ -->
<div class='footer'>
<p>© 2025 <a href='/'><data:blog.title/></a> - រក្សាសិទ្ធិគ្រប់បែបយ៉ាង</p>
</div>
</body>
</html>
No comments:
Post a Comment