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
/
Vacancy
/
View File Name :
Index.cshtml
@model PagedList.IPagedList<bnb.Models.VacancyViewModel> @using PagedList.Mvc; <link href="~/Content/PagedList.css" rel="stylesheet" type="text/css" /> @{ ViewBag.Title = "Index"; Layout = "~/Views/Shared/_Layout.cshtml"; } <style> th, td { text-align: center; /* Center align text*/ vertical-align: middle; /* Center align content vertically */ } th { white-space: nowrap; /* Prevents text from breaking into two lines */ padding: 10px; /* Adds spacing */ } </style> <h2>Careers</h2> <p> <div style="float: right; margin-bottom: 10px;">@Html.ActionLink("Create", "Create", null, htmlAttributes: new { @class = "btn btn-info" })</div> </p> <form class="form-inline"> <div class="form-group mb-2"> @Html.TextBox("SearchString", ViewBag.CurrentFilter as string, htmlAttributes: new { @class = "form-control" }) </div> <input type="submit" value="Search" class="btn btn-light mb-2" /> </form> <br /> <table class="table"> <thead> <tr> <th> Thumbnail </th> <th> Title </th> <th> Vacancy Expiry Date </th> <th> Job Category </th> <th> Job Level </th> <th> No Of Vacancies </th> <th> Type Of Employement </th> <th> Deadline </th> <th> Is Active </th> <th></th> </tr> </thead> <tbody> @foreach (var item in Model) { <tr> <td> <img src="~/Content/img/@item.Thumbnail" style=" width: 130px; height: 80px" /> </td> <td>@Html.DisplayFor(modelItem => item.Title)</td> <td>@item.VacancyExpiryDate.ToShortDateString()</td> <td>@Html.DisplayFor(modelItem => item.JobCategory)</td> <td>@Html.DisplayFor(modelItem => item.JobLevel)</td> <td>@Html.DisplayFor(modelItem => item.NoOfVacancies)</td> <td>@Html.DisplayFor(modelItem => item.TypeOfEmployment)</td> <td>@item.Deadline.ToShortDateString()</td> <td>@Html.DisplayFor(modelItem => item.IsActive)</td> <td> @Html.ActionLink("Edit", "Edit", new { id = item.Id }, new { @class = "btn btn-primary" }) @*@Html.ActionLink("Detail", "Detail", new { id = item.ServiceId }, new { @class = "btn btn-warning" }) @Html.ActionLink("Queries", "Index", "Query", new { id = item.ServiceId, par1 = "Service", par2 = item.ServiceName, par3 = item.Url }, new { @class = "btn btn-success" }) @Html.ActionLink("Image", "Image", new { id = item.ServiceId }, new { @class = "btn btn-warning" })*@ </td> </tr> } </tbody> </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 }))