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
/
Trader
/
View File Name :
_traderList.cshtml
@using PagedList.Mvc; @model PagedList.IPagedList<RER_Project.DataAccess.Functions.FnGetTradersList> @{ int currentPage = Convert.ToInt32(Request.QueryString["page"].ToString()); } <div class="table table-responsive table-striped table-hover table-bordered"> <table class="table table-striped" id="traderListTable"> <thead> <tr> <th><center>SN</center></th> <th style="white-space:nowrap;">Trader Name</th> <th>Province</th> <th>District</th> <th style="white-space:nowrap;">Municipality</th> <th>Commodity</th> <th>Contact</th> <th>Actions</th> </tr> </thead> <tbody> @{ int serialNo = 1; } @foreach (var item in Model) { <tr> <td> <center> <label> @((currentPage - 1) * 10 + @serialNo)</label> @{ serialNo++; } </center> </td> <td>@item.trader_name</td> <td>@item.province</td> <td>@item.district</td> <td>@item.municipality</td> <td>@item.commodity</td> <td>@item.contact</td> <td> <a style="font-size:15px;" href="@("/traders/edit/" + item.id)" title="Edit"><i class="fa fa-edit"></i></a> <a style="font-size:15px;padding:5px" href="@("/traders/delete/" + item.id)" 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("Index", new { page, province = ViewBag.Province, district = ViewBag.District, municipality = ViewBag.Municipality, commodity = ViewBag.Commodity }), PagedListRenderOptions.ClassicPlusFirstAndLast) } </div> </div> <style> table td, th { border: 1px solid #e7eaec; } </style>