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
/
VITA
/
1DEC25_backup
/
Views
/
User
/
View File Name :
_UserList.cshtml
@*@model List<RER_Project.DataAccess.ViewModels.User.UserDetailView>*@ @model List<RER_Project.DataAccess.Functions.FnUserList> @*@model List<RER_Project.DataAccess.ViewModels.User.UserDetailView>*@ @using RER_Project.BusinessLayer.BusinessService @using RER_Project.Core.Helpers @{ var meta = AppUserService.GetCurrent(); } <div class="table-responsive"> <table class="footable table table-hover dataTables" data-page-size="8" data-filter=#filter id="userListTable"> <thead> <tr> <th class="col-md-2">SN</th> <th class="col-md-2">Username</th> <th class="col-md-2">Fullname</th> <th class="col-md-2">Mobile No</th> <th class="col-md-2">Address</th> <th class="col-md-2">Role</th> <th class="col-md-2">Actions</th> </tr> </thead> <tbody> @foreach (var item in Model) { <tr> <td>@item.sn</td> <td>@item.email </td> <td>@item.user_name</td> <td>@item.mobile_no</td> <td>@String.Format("{0} , {1} , {2} , {3}", item.province, item.district, item.municipality, item.ward_no)</td> <td>@item.role_name</td> <td> @if (meta.RoleId == (int)EnumRoleHelper.Roles.Admin) { <a class="btn btn-default btn-xs" style="color:dodgerblue" href="@("/users/edit/" + item.user_id)" title="Edit"><i class="fa fa-edit"></i></a> <a class="btn btn-default btn-xs" style="color:dodgerblue" href="@("/users/delete/" + item.user_id)" title="Delete"><i class="fa fa-trash"></i></a> } @*<a class="btn btn-default btn-xs" title="View detail"><i class="fa fa-eye"></i></a>*@ </td> </tr> } </tbody> </table> </div> <link href="~/Content/plugins/dataTables/datatables.min.css" rel="stylesheet" /> <script src="~/Scripts/plugins/dataTables/datatables.min.js"></script> <script> $(document).ready(function () { $('.dataTables').DataTable({ stateSave: true, fixedHeader: true, pageLength: 15, dom: '<"html5buttons"B>lTfgitp', buttons: [ //{ extend: 'copy' }, //{ extend: 'csv' }, //{ extend: 'excel', title: 'ExampleFile' }, //{ extend: 'pdf', title: 'ExampleFile' }, //{ // customize: function (win) { // $(win.document.body).addClass('white-bg'); // $(win.document.body).css('font-size', '10px'); // $(win.document.body).find('table') // .addClass('compact') // .css('font-size', 'inherit'); // } //} ] }); }); </script>