Chuyến đến nội dung chính
Bật tắt menu điều hướng
English (US)
日本語
한국어
简体中文
Liên hệ với chúng tôi
Đăng nhập
Tìm kiếm
Bắt đầu
Mời và quản lý người dùng
Tạo và quản lý đơn vị quảng cáo
Tạo và quản lý ứng dụng
<% if (style === 'banner') { %> <% var isOnBottom = locations.indexOf('home-top') === -1 && locations.indexOf('home-middle') === -1; %>
<% if (heading) { %>
<%= heading %>
<% } %> <% if (body) { %>
<%= body %>
<% } %>
<%= label %>
<% } else if (style === 'boxed') { %>
<% if (heading) { %>
<%= heading %>
<% } %> <% if (body) { %>
<%= body %>
<% } %>
<%= label %>
<% } else if (style === 'boxed-image') { %>
<% if (heading) { %>
<%= heading %>
<% } %> <% if (body) { %>
<%= body %>
<% } %>
<%= label %>
<% } %>
<% categories.forEach(function(category) { %>
<% var categoryName = window.categoryNames && window.categoryNames.hasOwnProperty(category.name) ? window.categoryNames[category.name] : category.name %> <% if (category.id === activeCategoryId) { %>
<%= categoryName %>
<% } else { %>
<%= categoryName %>
<% } %> <% if (category.sections.length) { %>
<% category.sections.forEach(function(section) { %>
<%= section.name %>
<% }); %>
<% } %>
<% }); %>
Nhóm
<% categories.forEach(function(category, index) { %>
<%= category.name %>
<%= partial('partial-article-list-sections', { id: 'category-' + category.id, parentId: '#sidebar-navigation', sections: category.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %>
<% }); %>
<% var activeCategory = categories.filter(function(category) { return category.isActive; })[0] || null; %> <% if (typeof maxArticles === 'undefined' || !maxArticles) maxArticles = 5; %> <% if (activeCategory && activeCategory.sections.length) { %>
Bật tắt menu điều hướng
<% activeCategory.sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-section-list-sections', { id: 'section-' + section.id, parentId: 'section-' + section.id, sections: section.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, maxArticles: maxArticles, partial: partial }) %> <% if (section.articles.length) { %>
<% section.articles.slice(0, maxArticles).forEach(function(article) { %>
<%= article.title %>
<% }); %> <% if (section.articles.length > maxArticles) { %>
Hiển thị tất cả các bài viết
<% } %>
<% } %>
<% }); %>
<% } %>
Nhóm
Nhóm
<% categories.forEach(function(category) { %>
<%= category.name %>
<% }); %>
<% if (sections.length) { %>
<% sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-article-list-sections', { id: 'section-' + section.id, parentId: '#' + id, sections: section.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %> <% if (section.articles.length) { %>
<% section.articles.forEach(function(article) { %>
<%= article.title %>
<% }); %>
<% } %>
<% }); %>
<% } %>
<% if (sections.length) { %>
<% sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-section-list-sections', { id: 'section-' + section.id, parentId: '#' + id, sections: section.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, maxArticles: maxArticles, partial: partial }) %> <% if (section.articles.length) { %>
<% section.articles.slice(0, maxArticles).forEach(function(article) { %>
<%= article.title %>
<% }); %> <% if (section.articles.length > maxArticles) { %>
Xem tất cả bài viết
<% } %>
<% } %>
<% }); %>
<% } %>