<section class="discus-parallax bg-white">
<div class="container">
<div class="row">
@{
int card17TotalRow = 5;
int card17CategoryOrderNumber = 2;
if (Partial.isCategoryOrderNumber(card17CategoryOrderNumber))
{
IEnumerable<Post>
card17PostsID = Partial.PostsID(card17CategoryOrderNumber, 0, card17TotalRow, Partial.Order.OrderBy, true);
Category categorytitle = Partial.Category(card17CategoryOrderNumber);
int card17CountID = Convert.ToInt32(Math.Ceiling(card17PostsID.Count() / Convert.ToDouble(card17TotalRow)));
<div class="col-md-4 mt-4">
<div style="background-color:#00a4d7;">
<header style="padding:20px 10px;color: #fff;">
<h5 class="title">@categorytitle.CategoryTitle.HtmlEncode()</h5>
</header>
<div class="filter-content" style="margin-bottom: 30px;padding-bottom: 30px;">
<div class="card-body category-widget">
<ul style="background-color: #fff;margin: 0px 20px;padding: 0px;">
@foreach (Post comPost in card17PostsID.Skip(0).Take(card17TotalRow))
{
<li class="">
<a href="@Partial.PostLink(comPost.PostID)" title="@comPost.PostTitle.HtmlEncode()">
<img src="@comPost.PostThumbnail" style="height: 45px;">@comPost.PostTitle.HtmlEncode()</a>
</li>
}
</ul>
</div>
</div>
</div>
</div>
}
}
@{
int card18TotalRow = 5;
int card18CategoryOrderNumber = 2;
if (Partial.isCategoryOrderNumber(card18CategoryOrderNumber))
{
IEnumerable<Post>
card18PostsID = Partial.PostsID(card18CategoryOrderNumber, 0, card18TotalRow, Partial.Order.OrderBy, true);
Category categorytitle = Partial.Category(card18CategoryOrderNumber);
int card18CountID = Convert.ToInt32(Math.Ceiling(card18PostsID.Count() / Convert.ToDouble(card18TotalRow)));
<div class="col-md-4 mt-4">
<div style="background-color:#01244a;">
<header style="padding:20px 10px;color:#fff;">
<h5 class="title">@categorytitle.CategoryTitle.HtmlEncode()</h5>
</header>
<div class="filter-content" style="margin-bottom: 30px;padding-bottom: 30px;">
<div class="card-body category-widget">
<ul style="background-color: #fff;margin: 0px 20px;padding: 0px;">
@foreach (Post comPost in card18PostsID.Skip(0).Take(card18TotalRow))
{
<li class="">
<a href="@Partial.PostLink(comPost.PostID)" title="@comPost.PostTitle.HtmlEncode()"><img src="@comPost.PostThumbnail" style="height: 45px;">@comPost.PostTitle.HtmlEncode()</a>
</li>
}
</ul>
</div>
</div>
</div>
</div>
}
}
@{
int card19TotalRow = 5;
int card19CategoryOrderNumber = 2;
if (Partial.isCategoryOrderNumber(card19CategoryOrderNumber))
{
IEnumerable<Post>
card19PostsID = Partial.PostsID(card19CategoryOrderNumber, 0, card19TotalRow, Partial.Order.OrderBy, true);
Category categorytitle = Partial.Category(card19CategoryOrderNumber);
int card19CountID = Convert.ToInt32(Math.Ceiling(card19PostsID.Count() / Convert.ToDouble(card19TotalRow)));
<div class="col-md-4 mt-4">
<div style="background-color:#f8f8f8;">
<header style="padding:20px 10px;">
<h5 class="title">@categorytitle.CategoryTitle.HtmlEncode()</h5>
</header>
<div class="filter-content" style="margin-bottom: 30px;padding-bottom: 30px;">
<div class="card-body category-widget">
<ul style="background-color: #fff;margin: 0px 20px;padding: 0px;">
@foreach (Post comPost in card19PostsID.Skip(0).Take(card19TotalRow))
{
<li class="">
<a href="@Partial.PostLink(comPost.PostID)" title="@comPost.PostTitle.HtmlEncode()"><img src="@comPost.PostThumbnail" style="height: 45px;">@comPost.PostTitle.HtmlEncode()</a>
</li>
}
</ul>
</div>
</div>
</div>
</div>
}
}
</div>
</div>
</section>
<section class="discus-parallax bg-white">
<div class="container">
<div class="row">
@{
int card14TotalRow = 5;
int card14CategoryOrderNumber = 3;
if (Partial.isCategoryOrderNumber(card14CategoryOrderNumber))
{
IEnumerable<Category>
card14Category = Partial.CategorySubID(card14CategoryOrderNumber);
Category categoryidno = Partial.Category(card14CategoryOrderNumber);
int card14Count = Convert.ToInt32(Math.Ceiling(card14Category.Count() / Convert.ToDouble(card14TotalRow)));
<div class="col-md-4 mt-4">
<div style="background-color:#00a4d7;">
<header style="padding:20px 10px;color: #fff;">
<h5 class="title">@categoryidno.CategoryTitle.HtmlEncode()</h5>
</header>
<div class="filter-content" style="margin-bottom: 30px;padding-bottom: 30px;">
<div class="card-body category-widget">
<ul style="background-color: #fff;margin: 0px 20px;padding: 0px;">
@foreach (Category comCategory in card14Category.Skip(0).Take(card14TotalRow))
{
<li class="">
<a href="@Partial.CategoryLink(comCategory.CategoryID)" title="@comCategory.CategoryTitle.HtmlEncode()"><img src="@comCategory.CategoryThumbnail" style="height: 45px;">@comCategory.CategoryTitle.HtmlEncode()</a>
</li>
}
</ul>
</div>
</div>
</div>
</div>
}
}
@{
int card15TotalRow = 5;
int card15CategoryOrderNumber = 3;
if (Partial.isCategoryOrderNumber(card15CategoryOrderNumber))
{
IEnumerable<Category>
card15Category = Partial.CategorySubID(card15CategoryOrderNumber);
Category categoryidno = Partial.Category(card15CategoryOrderNumber);
int card15Count = Convert.ToInt32(Math.Ceiling(card15Category.Count() / Convert.ToDouble(card15TotalRow)));
<div class="col-md-4 mt-4">
<div style="background-color:#01244a;">
<header style="padding:20px 10px;color:#fff;">
<h5 class="title">@categoryidno.CategoryTitle.HtmlEncode()</h5>
</header>
<div class="filter-content" style="margin-bottom: 30px;padding-bottom: 30px;">
<div class="card-body category-widget">
<ul style="background-color: #fff;margin: 0px 20px;padding: 0px;">
@foreach (Category comCategory in card15Category.Skip(0).Take(card15TotalRow))
{
<li class="">
<a href="@Partial.CategoryLink(comCategory.CategoryID)" title="@comCategory.CategoryTitle.HtmlEncode()">
<img src="@comCategory.CategoryThumbnail" style="height: 45px;">@comCategory.CategoryTitle.HtmlEncode()</a>
</li>
}
</ul>
</div>
</div>
</div>
</div>
}
}
@{
int card16TotalRow = 5;
int card16CategoryOrderNumber = 3;
if (Partial.isCategoryOrderNumber(card16CategoryOrderNumber))
{
IEnumerable<Category>
card16Category = Partial.CategorySubID(card16CategoryOrderNumber);
Category categoryidno = Partial.Category(card16CategoryOrderNumber);
int card16Count = Convert.ToInt32(Math.Ceiling(card16Category.Count() / Convert.ToDouble(card16TotalRow)));
<div class="col-md-4 mt-4">
<div style="background-color:#f8f8f8;">
<header style="padding:20px 10px;">
<h5 class="title">@categoryidno.CategoryTitle.HtmlEncode()</h5>
</header>
<div class="filter-content" style="margin-bottom: 30px;padding-bottom: 30px;">
<div class="card-body category-widget">
<ul style="background-color: #fff;margin: 0px 20px;padding: 0px;">
@foreach (Category comCategory in card16Category.Skip(0).Take(card16TotalRow))
{
<li class="">
<a href="@Partial.CategoryLink(comCategory.CategoryID)" title="@comCategory.CategoryTitle.HtmlEncode()"><img src="@comCategory.CategoryThumbnail" style="height: 45px;">@comCategory.CategoryTitle.HtmlEncode()</a>
</li>
}
</ul>
</div>
</div>
</div>
</div>
}
}
</div>
</div>
</section>
.category-widget li a {
color: #747474;
}
*, ::after, ::before {
box-sizing: border-box;
}
https://ugurhaliyikama.com.tr
Sosyal Ağ