phmchehospital.com
Open in
urlscan Pro
103.149.165.70
Public Scan
URL:
https://phmchehospital.com/
Submission: On October 29 via api from US — Scanned from DE
Submission: On October 29 via api from US — Scanned from DE
Form analysis
1 forms found in the DOMPOST ./
<form method="post" action="./" id="aspnetForm">
<div class="aspNetHidden">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTY1NDU2MTA1MmRki0Ty0eLJg8bymKjSSYsOOixDs5AU66fJbruJ1bFnfuM=">
</div>
<div class="aspNetHidden">
<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="27EDB5E5">
</div>
<!-- pre loader area start -->
<div id="spinner-div" class="pt-5 spinners" style="display: none;">
<!-- loading content here -->
<div class="tp-preloader-content" style="position: absolute; top: 50%; left: 50%;
transform: translate(-50%, -50%);">
<div class="tp-preloader-logo">
<div class="tp-preloader-circle">
<svg width="190" height="190" viewBox="0 0 380 380" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle stroke="#D9D9D9" cx="190" cy="190" r="180" stroke-width="6" stroke-linecap="round">
</circle>
<circle stroke="red" cx="190" cy="190" r="180" stroke-width="6" stroke-linecap="round">
</circle>
</svg>
</div>
<img src="assets/img/logo/homeo_logo.png" class="img-fluid" alt="" style="width: 9rem;">
</div>
<p class="tp-preloader-subtitle">Loading...</p>
</div>
</div>
<!-- pre loader area end -->
<!-- back to top start -->
<div class="back-to-top-wrapper">
<button id="back_to_top" type="button" class="back-to-top-btn">
<svg width="12" height="7" viewBox="0 0 12 7" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11 6L6 1L1 6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</button>
</div>
<!-- back to top end -->
<main>
<!-- login area start -->
<section class="tp-login-area">
<div class="tp-login-register-box d-flex align-items-center">
<div class="tp-login-register-banner-box p-relative" data-background="assets/img/login/login-register-bg.jpg" style="background-image: url("assets/img/login/login-register-bg.jpg");">
<div class="tp-login-register-logo tp-header-logo">
<a href="Default.aspx" style="font-size: 2.1rem; color: #242020;">
<div style="display: flex; align-items: center;">
<span style="line-height: 20px; color: white">
<strong style="letter-spacing: 1px; text-transform: uppercase; font: -webkit-control;
font-size: 2.7rem; font-weight: bold; font-family: inherit;">PATNA
<br>
HOMEOPATHIC
<br>
MEDICAL</strong><br>
<span style="letter-spacing: 12px; font-size: 1.2rem; margin-left: 25px; font-weight: 700;
text-transform: lowercase;">COLLEGE & HOSPITAL</span>
</span>
</div>
</a>
</div>
<div class="tp-login-register-heading">
<h3 class="tp-login-register-title">Empowering future <br> healers with the art and science of homeopathy, where education meets compassionate care. </h3>
</div>
<div class="tp-login-register-shape">
<div class="shape-1">
<img src="assets/img/logo/homeo_logo.png" alt="" style="filter: brightness(0.5);
mix-blend-mode: hard-light;">
</div>
</div>
</div>
<div style="width: 100%; position: relative; height: 100vh;">
<div class="tp-login-register-wrapper d-flex justify-content-center align-items-center">
<div class="tp-login-from-box">
<div class="tp-login-from-heading text-center">
<h4 class="tp-login-from-title"><span style="font-size: 3rem">Admin</span>
<br> Login
</h4>
</div>
<div class="tp-login-input-form" style="margin-top: 2rem">
<div class="row g-5 fv-plugins-bootstrap5 fv-plugins-framework" id="formAuthentication">
<div class="col-12">
<div class="form-floating form-floating-outline validation fv-plugins-icon-container form-floating-bootstrap-select">
<div class="dropdown bootstrap-select w-100"><select name="txtRole" id="txtRole" class="selectpicker w-100" data-style="btn-default">
<option value="">Select Role</option>
<option value="Admin">Admin</option>
</select><button type="button" tabindex="-1" class="btn dropdown-toggle bs-placeholder btn-default" data-bs-toggle="dropdown" role="combobox" aria-owns="bs-select-1" aria-haspopup="listbox" aria-expanded="false"
title="Select Role" data-id="txtRole">
<div class="filter-option">
<div class="filter-option-inner">
<div class="filter-option-inner-inner">Select Role</div>
</div>
</div>
</button>
<div class="dropdown-menu ">
<div class="inner show" role="listbox" id="bs-select-1" tabindex="-1">
<ul class="dropdown-menu inner show" role="presentation"></ul>
</div>
</div>
</div>
<label for="txtRole">Role *</label>
<div class="fv-plugins-message-container fv-plugins-message-container--enabled invalid-feedback"></div>
</div>
</div>
<div class="col-12">
<div class="form-floating form-floating-outline validation fv-plugins-icon-container">
<input type="text" class="form-control" id="txtUserName" name="txtUserName" placeholder="Enter your username">
<label for="email">Username</label>
<div class="fv-plugins-message-container fv-plugins-message-container--enabled invalid-feedback"></div>
</div>
</div>
<div class="col-12">
<div class="form-password-toggle">
<div class="input-group input-group-merge validation fv-plugins-icon-container">
<div class="form-floating form-floating-outline">
<input type="password" id="txtPassword" class="form-control" name="txtPassword" placeholder="············" aria-describedby="password">
<label for="password">Password</label>
</div>
<span class="input-group-text cursor-pointer"><i class="ri-eye-off-line ri-20px"></i>
</span>
<div class="fv-plugins-message-container fv-plugins-message-container--enabled invalid-feedback"></div>
</div>
</div>
</div>
<div class="col-12">
<div class="tp-login-from-remeber">
<div class="row">
<div class="col-6">
<div class="tp-contact-input-remeber login">
<input id="rememberMe" type="checkbox">
<label for="rememberMe">Save account</label>
</div>
</div>
<div class="col-6">
<div class="tp-login-input-remeber text-end">
<a href="Administration_Forgot_Password.aspx">Forgot Password?</a>
</div>
</div>
</div>
</div>
<div class="tp-login-from-btn">
<button id="BtnLogin" class="btn btn-primary d-grid w-100 waves-effect waves-light"> Login </button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script>
var formAuthentication = document.querySelector("#formAuthentication");
var formValidationInstance;
let Role, UserName, Password;
const defaultRun = async () => {
try {} catch (err) {
console.log(err);
}
}
$(document).ready(function() {
Role = $("#txtRole");
UserName = $("#txtUserName");
Password = $("#txtPassword");
Signup_cont = $("#Signup_cont");
(async function() {
await Show_Spinner();
await defaultRun().finally(async () => {
await Hide_Spinner();
});
})();
$(document).on("click", "#BtnLogin", OnClick_BtnLogin);
Role.change(OnChange_Role);
});
async function OnChange_Role() {
if (Role.val() == "Admin") {
await Show_Spinner();
await IsAdminRegister();
}
await Hide_Spinner();
}
async function IsAdminRegister() {
try {
const response = await Ajax_GetResult_WithoutParameter("Admin_Login.aspx", "IsAdminRegistered");
if (response.d == 1) {
Signup_cont.addClass("hide");
} else {
Warning_Redirect("Please Create an account !", "Admin_Registration.aspx");
Signup_cont.removeClass("hide");
}
} catch (err) {
console.log(err);
}
}
async function OnClick_BtnLogin(e) {
e.preventDefault();
if (formAuthentication) {
formValidationInstance.validate().then(async function(status) {
if (status === 'Valid') {
await Show_Spinner();
try {
dataToSend = {
Role: Role.val(),
UserName: UserName.val(),
Password: Password.val(),
RememberMe: $('#rememberMe').is(':checked')
}
const response = await Ajax_GetResult("Admin_Login.aspx", "Login", dataToSend);
if (response.d == 1) {
NotifySuccess("Login Successfully !");
if (Role.val() == "Admin") window.location.href = "AdminHome.aspx";
else if (Role.val() == "Operator") window.location.href = "Operator/Default.aspx";
else window.location.href = "Admin_Login.aspx";
} else {
NotifyFailed("Invalid Username or Password !");
}
} catch (err) {
console.log(err);
} finally {
await Hide_Spinner();
}
} else {
console.log('Form is invalid, display errors.');
}
});
}
}
document.addEventListener('DOMContentLoaded', function() {
if (!formAuthentication) {
console.error("Form not found!");
return;
}
console.log("Form found:", formAuthentication);
//const RoleSelect = jQuery(formAuthentication.querySelector('[name="txtRole"]'));
formValidationInstance = FormValidation.formValidation(formAuthentication, {
fields: {
txtRole: {
validators: {
notEmpty: {
message: "Please select role"
}
}
},
txtUserName: {
validators: {
notEmpty: {
message: "Please enter username"
},
stringLength: {
min: 5,
message: "Username must be more than 5 characters"
}
}
},
txtPassword: {
validators: {
notEmpty: {
message: "Please enter your password"
},
stringLength: {
min: 1,
message: "Password must be more than 1 characters"
}
}
}
},
plugins: {
trigger: new FormValidation.plugins.Trigger(),
bootstrap5: new FormValidation.plugins.Bootstrap5({
eleValidClass: "",
rowSelector: ".validation"
}),
submitButton: new FormValidation.plugins.SubmitButton(),
autoFocus: new FormValidation.plugins.AutoFocus()
},
init: function(instance) {
instance.on("plugins.message.placed", function(event) {
if (event.element.parentElement.classList.contains("input-group")) {
event.element.parentElement.insertAdjacentElement("afterend", event.messageElement);
}
});
}
});
//if (RoleSelect.length) {
// select2Focus(RoleSelect);
// RoleSelect.wrap('<div class="position-relative"></div>');
// RoleSelect.select2({
// placeholder: "Select Role",
// dropdownParent: RoleSelect.parent()
// }).on("change", function () {
// formValidationInstance.revalidateField("txtRole");
// });
//}
});
</script>
</div>
</section>
<!-- login area end -->
</main>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script>
const defaultRun1 = async () => {
try {} catch (err) {
console.log(err);
}
}
$(document).ready(function() {
(async function() {
await Show_Spinner();
await defaultRun1().finally(async () => {
await Hide_Spinner();
});
})();
});
</script>
<script>
async function Show_Spinner() {
return new Promise((resolve) => {
$("#spinner-div").fadeIn(300, () => {
resolve();
});
});
}
async function Hide_Spinner() {
return new Promise((resolve) => {
$("#spinner-div").fadeOut(300, () => {
resolve();
});
});
}
function NotifySuccess(response) {
$.notify(response, {
globalPosition: "top center",
className: "success notifyCss",
})
}
function NotifyFailed(response) {
$.notify(response, {
globalPosition: "top center",
className: "error notifyCss",
})
}
function NotifyWarning(response) {
$.notify(response, {
globalPosition: "top center",
className: "warn notifyCss",
})
}
function NotifySuccessAndReload(message, callback) {
NotifySuccess(message);
setTimeout(function() {
callback();
}, 500);
}
</script>
<!-- JS here -->
<script src="assets/js/vendor/jquery.js"></script>
<script src="assets/js/vendor/waypoints.js"></script>
<script src="assets/js/swiper-bundle.js"></script>
<script src="assets/js/slick.js"></script>
<script src="assets/js/range-slider.js"></script>
<script src="assets/js/magnific-popup.js"></script>
<script src="assets/js/purecounter.js"></script>
<script src="assets/js/countdown.js"></script>
<script src="assets/js/wow.js"></script>
<script src="assets/js/isotope-pkgd.js"></script>
<script src="assets/js/imagesloaded-pkgd.js"></script>
<script src="assets/js/flatpickr.js"></script>
<script src="assets/js/ajax-form.js"></script>
<script src="assets/js/main.js"></script>
<!-- UserLogin Content JS -->
<!-- Core JS -->
<!-- build:js UserLogin_Content/assets/vendor/js/core.js -->
<script src="UserLogin_Content/assets/vendor/libs/jquery/jquery.js"></script>
<script src="UserLogin_Content/assets/vendor/libs/popper/popper.js"></script>
<script src="UserLogin_Content/assets/vendor/js/bootstrap.js"></script>
<script src="UserLogin_Content/assets/vendor/libs/node-waves/node-waves.js"></script>
<script src="UserLogin_Content/assets/vendor/libs/perfect-scrollbar/perfect-scrollbar.js"></script>
<script src="UserLogin_Content/assets/vendor/libs/hammer/hammer.js"></script>
<script src="UserLogin_Content/assets/vendor/libs/i18n/i18n.js"></script>
<script src="UserLogin_Content/assets/vendor/libs/typeahead-js/typeahead.js"></script>
<script src="UserLogin_Content/assets/vendor/js/menu.js"></script>
<!-- endbuild -->
<!-- Vendors JS -->
<script src="UserLogin_Content/assets/vendor/libs/%40form-validation/popular.js"></script>
<script src="UserLogin_Content/assets/vendor/libs/%40form-validation/bootstrap5.js"></script>
<script src="UserLogin_Content/assets/vendor/libs/%40form-validation/auto-focus.js"></script>
<!-- Vendors JS -->
<script src="UserLogin_Content/assets/vendor/libs/select2/select2.js"></script>
<script src="UserLogin_Content/assets/vendor/libs/tagify/tagify.js"></script>
<script src="UserLogin_Content/assets/vendor/libs/bootstrap-select/bootstrap-select.js"></script>
<script src="UserLogin_Content/assets/vendor/libs/typeahead-js/typeahead.js"></script>
<script src="UserLogin_Content/assets/vendor/libs/bloodhound/bloodhound.js"></script>
<script src="UserLogin_Content/assets/vendor/libs/sweetalert2/sweetalert2.js"></script>
<!-- Main JS -->
<script src="UserLogin_Content/assets/js/main.js"></script>
<!-- Page JS -->
<script src="UserLogin_Content/assets/js/pages-auth.js"></script>
<!-- Page JS -->
<script src="UserLogin_Content/assets/js/forms-selects.js"></script>
<script src="UserLogin_Content/assets/js/forms-tagify.js"></script>
<script src="UserLogin_Content/assets/js/forms-typeahead.js"></script>
<!-- Datatable New Version End-->
<script src="UserLogin_Content/Scripts/Ajax_Crud.js?v=5"></script>
<script src="UserLogin_Content/Scripts/Upload_Mult_Image.js"></script>
<script src="UserLogin_Content/Scripts/notify.min.js"></script>
<script src="UserLogin_Content/Scripts/ValidatingAllInput.js?v=1"></script>
<script src="UserLogin_Content/Scripts/SweetAlert.js?v=5"></script>
<script src="UserLogin_Content/assets/vendor/libs/bs-stepper/bs-stepper.js"></script>
</form>
Text Content
Loading... PATNA HOMEOPATHIC MEDICAL COLLEGE & HOSPITAL EMPOWERING FUTURE HEALERS WITH THE ART AND SCIENCE OF HOMEOPATHY, WHERE EDUCATION MEETS COMPASSIONATE CARE. ADMIN LOGIN Select Role Admin Select Role Role * Username Password Save account Forgot Password? Login