MAKALE

Makale olarak eklediğimiz ürünleri, "ANASAYFADA GÖSTER" butonuna tıklayarak gösterebiliriz.

@{
    int card4Col = 4;
    int card4TotalRow = 3;
    int card4CategoryID = 1;

    if (Partial.isCategoryID(card4CategoryID))
    {
        IEnumerable<Post> card4Category = Partial.PostsID(card5CategoryID, 0, 100, Partial.Order.OrderBy, false);
        Category card44Category = Partial.Category(card4CategoryID);
        int card4Count = Convert.ToInt32(Math.Ceiling(card4Category.Count() / Convert.ToDouble(card4Col)));
        <div class="container-fluid bg-white pb-3 d-none d-sm-block">
            <div class="container">
                @for (int componen = 0; componen < card4Count; componen++)
                {
                    <div class="row">
                        @foreach (Post comCategory in card4Category.Skip(componen * card4Col).Take(card4Col))
                        {
                            <div class="col-md-@(12 / card4Col) col-lg-@(12 / card4Col) pb-3 mt-2">
                                <div class="card discus-card-custom bg-white border-white border-0">
                                    <a href="@Partial.PostLink(comCategory.PostID)" class="discus-card-photo">
                                        <div class="discus-card-custom-img" style="background-image: url(@comCategory.PostImage);"></div>
                                    </a>
                                    <div class="card-body">
                                        <h4 class="card-title">@comCategory.PostTitle.HtmlEncode()</h4>
                                        <p class="card-text">@Partial.PostShortContent(comCategory.PostID,105)</p>
                                    </div>
                                    <div class="card-footer" style="background: inherit; border-color: inherit;">
                                        <a href="@Partial.PostLink(comCategory.PostID)" class="btn btn-primary">@Partial.Translate("Devami", lang)</a>
                                    </div>
                                </div>
                            </div>
                        }
                    </div>
                }
            </div>
        </div>
    }
}

KATEGORİ

eklenecek

CSS

eklenecek

https://ugurhaliyikama.com.tr

http://www.yapraktarim.com.tr/tr

http://www.royalagroscience.com/tr

http://www.biaproje.com/tr

http://www.adensera.com/tr

https://www.sagcankurtaran.com.tr/tr