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
/
map
/
Views
/
ActivityList
/
View File Name :
_ActivityList.cshtml
@using PagedList.Mvc; @model PagedList.IPagedList<RER_Project.DataAccess.Functions.Fn_Activity_List> @using RER_Project.Core.Helpers @using RER_Project.BusinessLayer.BusinessService; @{ var meta = AppUserService.GetCurrent(); } <div class="table-responsive" style="margin-top: 16px;"> <table class="footable table table-hover" data-page-size="10" data-filter=#filter> <thead> <tr> <th>Component</th> <th>Sub-Component</th> <th>Activity Name</th> <th>Activity Category Name</th> <th>Event Type</th> <th>Event Beneficiary Type</th> <th>Action</th> </tr> </thead> <tbody> @foreach (var item in Model) { <tr> <td>@item.ComponentName (@item.ComponentCode)</td> <td>@item.SubComponentName (@item.SubComponentCode)</td> <td>@item.ActivityName (@item.ActivityCode)</td> <td>@item.ActivityCategoryName</td> <td>@item.ActivityTypeName</td> <td>@item.ActivityMemberTypeName</td> <td> @if (meta.RoleId == (int)EnumRoleHelper.Roles.Admin || meta.RoleId == (int)EnumRoleHelper.Roles.MnE || meta.RoleId == (int)EnumRoleHelper.Roles.MnEOfficer || meta.RoleId == (int)EnumRoleHelper.Roles.SupplyChainSupervisor) { <a class="btn btn-default btn-xs" href="/activity/edit?activityId=@item.ActivityId" title="Edit"><i class="fa fa-edit"></i></a> <a class="btn btn-default btn-xs" href="/activity/delete?activityId=@item.ActivityId" title="Delete"><i class="fa fa-trash"></i></a> } </td> </tr> } </tbody> </table> <div align="center"> @if (Model.Count > 0) { @Html.PagedListPager(Model, page => Url.Action("activity", new { page, componentId = ViewBag.componentId, subComponentId = ViewBag.subComponentId, activityName = ViewBag.activityName }), PagedListRenderOptions.ClassicPlusFirstAndLast) } </div> </div>