HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/LHouwen1/embeddedplaza.com/wwwroot/Views/CorporateSite/News/List.cshtml
@inherits WebViewPage<InfoDataSet<News>>

@using CMS.DocumentEngine.Types;
@using CMS.Helpers

@{ 
    Layout = "~/Views/CorporateSite/Shared/Master.cshtml";
}

<div class="innerContent">
    <h1>@ViewBag.PageTitle</h1>
    <p>
        This is a sample for the page rendered by MVC Razor view engine. It displays the news list.
        The list is routed by a MVC route <strong>/NewsMVC</strong> to provide extension-less URL,
        and then displayed by the <strong>News</strong> controller and the <strong>~/Views/CorporateSite/News/List.cshtml</strong> view.
    </p>
    <div class="LightGradientBox ">
        @foreach (var doc in Model)
        {
            <h2>
                <a href="@URLHelper.ResolveUrl("~/NewsMVC/" + doc.NodeAlias)">
                    @doc.NewsTitle
                </a>
            </h2>
            <p>
                @Html.Raw(doc.NewsText)
            </p>
        }
    </div>
</div>