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
/
mapqa_bak
/
mapqa
/
Views
/
Bank
/
Edit File Name :
_bankList.cshtml
@using PagedList.Mvc; @model PagedList.IPagedList<RER_Project.DataAccess.Functions.Fn_Get_Bank_Info> @{ int cpage = 1; } @using RER_Project.Core.Helpers @using RER_Project.BusinessLayer.BusinessService; @{ var meta = AppUserService.GetCurrent(); } @if (Model.Count > 0) { <div class="table table-responsive table-striped table-hover table-bordered"> <table class="table table-striped" id="userListTable"> <thead> <tr> <th class="col-md-1">SN</th> <th style="white-space:nowrap;">Bank Name</th> <th style="white-space:nowrap;">Bank Manager</th> <th style="white-space:nowrap;">Address</th> <th style="white-space:nowrap;">Contact No</th> <th style="white-space:nowrap;">Contracted</th> <th style="white-space:nowrap;">Loan Provided</th> <th style="white-space:nowrap;"><center>Action</center></th> </tr> </thead> <tbody> @{ int serialNo = 1; } @foreach (var item in Model) { <tr> <td> <label> @((cpage - 1) * 10 + @serialNo)</label> @{ serialNo++; } </td> <td style="white-space:nowrap;">@item.bank_name</td> <td style="white-space:nowrap;">@item.bank_manager</td> <td style="white-space:nowrap;">@item.address</td> <td style="white-space:nowrap;">@item.contact_no</td> <td title="Click to View" style="white-space: nowrap;"> <a class="btn btn-default btn-xs" href="@("/banks/contracts?Id=" + item.bank_id)"> <center>@item.contract</center> </a> <br /> </td> <td title="Click to View" style="white-space: nowrap;"> <a class="btn btn-default btn-xs" href="@("/banks/loans?Id=" + item.bank_id)"> <center>@item.loan</center> </a> <br /> </td> @*<td style="white-space:nowrap;">@(item.contract.ToString().ToLower() == "true" ? "Yes" : "No")</td>*@ <td style="white-space:nowrap;"> <center> @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="@("/banks/edit?id=" + item.bank_id)" style="color:dodgerblue" title="Edit"><i class="fa fa-edit"></i></a> <a class="btn btn-default btn-xs" href="@("/banks/delete?id=" + item.bank_id)" onclick="deleteItem(@item.id) style=" color:dodgerblue" title="Delete"><i class="fa fa-trash"></i></a> <!--<a class="btn btn-default btn-xs" style="color:dodgerblue" title="Delete"--> @*onclick="deleteItem(@item.Id)*@<!--"><i class="fa fa-trash"></i></a>--> } <a class="btn btn-default btn-xs" href="@("/banks/details?id=" + item.bank_id)" style="color:dodgerblue" title="View Details"><i class="fa fa-eye"></i></a> @* <a class="btn btn-default btn-xs">*@ @*href="@("/serviceprovider/quadrimester/info/" + item.Id)"*@ <!--style="color:dodgerblue" title="Fill Quadrimester Data"><i class="fa fa-calendar"></i></a>--> </center> </td> </tr> } </tbody> </table> <div id="myPager" align="center"> @if (Model.Count > 0) { @*@Html.PagedListPager(Model, page => Url.Action("Index", new { page, name = ViewBag.Name, fyId = ViewBag.fyId, provinceId = ViewBag.provinceId, districtId = ViewBag.districtId, municipalityId = ViewBag.municipalityId }), PagedListRenderOptions.ClassicPlusFirstAndLast)*@ @Html.PagedListPager(Model, page => Url.Action("Index", new { page }), PagedListRenderOptions.ClassicPlusFirstAndLast) } </div> </div> } else { <div><center>No Data</center></div> }
Save