Hackfut Security File Manager
Current Path:
/home/u126195517/domains/foodstamping.in/public_html
home
/
u126195517
/
domains
/
foodstamping.in
/
public_html
/
📁
..
📄
.vanta_notified
(8 B)
📄
1log.php
(51.35 KB)
📄
about.php
(10.64 KB)
📁
admin
📁
assets
📄
blue1.php
(93.4 KB)
📄
cart-action.php
(2.99 KB)
📄
check-pincode.php
(1.28 KB)
📄
checkout.html
(25.66 KB)
📁
config
📄
contact.php
(7.99 KB)
📄
footer.php
(5.85 KB)
📄
forgot-password.php
(6.49 KB)
📄
header-menu.php
(5.13 KB)
📄
index.php
(32.32 KB)
📄
login.html
(16.37 KB)
📄
login.php
(18.64 KB)
📄
logout.php
(478 B)
📁
models
📄
payment.html
(33.43 KB)
📄
product-single.html
(23.7 KB)
📄
product-single.php
(29.79 KB)
📄
products.php
(26.16 KB)
📄
profile.php
(15.54 KB)
📄
robots.txt
(2.62 KB)
📁
shop
📄
slider.php
(1.57 KB)
📁
uploads
📄
v3.php
(20.86 KB)
Editing: login.php
<?php // ... PHP code remains the same ... ?> <!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>A-1 Common Seal | Login</title> <link rel="icon" href="assets/images/favicon-32x32.png" type="image/png"> <!-- google fonts --> <link href="//fonts.googleapis.com/css2?family=Kumbh+Sans:wght@300;400;700&display=swap" rel="stylesheet"> <!-- Font Awesome --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"> <!-- Template CSS --> <link rel="stylesheet" href="assets/css/style-liberty.css"> <style> .form-container { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; } .form-box { background: #fff; padding: 40px; border-radius: 10px; box-shadow: 0 0 20px rgba(0,0,0,0.1); width: 100%; max-width: 450px; } .form-box h2 { margin-bottom: 30px; color: #333; text-align: center; } /* Fixed form input styling */ .form-sub-w3 { position: relative; margin-bottom: 20px; } .form-sub-w3 input { width: 100%; padding: 12px 15px 12px 50px; /* Increased left padding for icon space */ border: 1px solid #ddd; border-radius: 5px; font-size: 14px; transition: all 0.3s ease; background-color: #fff; } .form-sub-w3 input:focus { outline: none; border-color: #007bff; box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25); } /* Fixed icon positioning */ .form-sub-w3 .icon-w3 { position: absolute; left: 0; top: 0; width: 40px; /* Fixed width for icon area */ height: 100%; display: flex; align-items: center; justify-content: center; color: #999; pointer-events: none; /* Prevents icon from blocking input clicks */ z-index: 1; } .form-sub-w3 .icon-w3 span { font-size: 16px; } /* When input is focused, change icon color */ .form-sub-w3 input:focus ~ .icon-w3 { color: #007bff; } /* Alert styling */ .alert { padding: 15px; margin-bottom: 20px; border-radius: 5px; } .alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; } .alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; } /* Social login section */ .social-login { margin-top: 30px; text-align: center; } .social-login p { margin-bottom: 15px; color: #666; } .social-buttons { display: flex; gap: 10px; justify-content: center; } .social-btn { flex: 1; padding: 10px; border: 1px solid #ddd; border-radius: 5px; background: white; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; color: #333; } .social-btn:hover { transform: translateY(-2px); box-shadow: 0 2px 5px rgba(0,0,0,0.1); background: #f8f9fa; } .social-btn i { font-size: 16px; } .social-btn.google { color: #db4437; border-color: #db4437; } .social-btn.facebook { color: #4267B2; border-color: #4267B2; } /* Toggle form link */ .toggle-form { text-align: center; margin-top: 20px; } .toggle-form a { color: #007bff; text-decoration: none; font-weight: 500; } .toggle-form a:hover { text-decoration: underline; } /* Submit button */ .submit-button .btn { padding: 12px 30px; font-size: 16px; font-weight: 500; border-radius: 5px; transition: all 0.3s; } .submit-button .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); } /* Form check */ .form-check { margin-bottom: 0; } .form-check-input { margin-top: 0.3rem; } .form-sub-content { margin-bottom: 20px; } .form-sub-content a { color: #007bff; text-decoration: none; } .form-sub-content a:hover { text-decoration: underline; } /* Responsive adjustments */ @media (max-width: 991px) { .form-container { flex-direction: column; align-items: center; } } @media (max-width: 576px) { .form-box { padding: 30px 20px; } .social-buttons { flex-direction: column; } .social-btn { width: 100%; } } </style> <script> { "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [ { "@type": "ListItem", "position": 1, "name": "Home", "item": "https://foodstamping.in/" } ] } </script> </head> <body> <!--/Header--> <?php include_once('header-menu.php'); ?> <!--//Header--> <section class="w3mid-gap"></section> <!--/inner-page--> <div class="inner-banner py-5"> <section class="w3l-breadcrumb text-left py-sm-5"> <div class="container"> <div class="w3breadcrumb-gids"> <div class="w3breadcrumb-left text-left"> <h2 class="inner-w3-title">Customer Login</h2> </div> <div class="w3breadcrumb-right"> <ul class="breadcrumbs-custom-path"> <li><a href="index.php">Home</a></li> <li class="active"><span class="fas fa-angle-double-right mx-2"></span> Login</li> </ul> </div> </div> </div> </section> </div> <!--//inner-page--> <section class="w3l-forml-main py-5"> <div class="container py-sm-5 py-3"> <?php if($error): ?> <div class="alert alert-danger text-center"> <i class="fas fa-exclamation-circle me-2"></i> <?php echo $error; ?> </div> <?php endif; ?> <?php if($success): ?> <div class="alert alert-success text-center"> <i class="fas fa-check-circle me-2"></i> <?php echo $success; ?> </div> <?php endif; ?> <div class="form-container"> <!-- Login Form --> <div class="form-box" id="loginForm"> <h2>Login to your account</h2> <form action="" method="post"> <input type="hidden" name="login" value="1"> <div class="form-sub-w3"> <input type="text" name="username" placeholder="Username or Email" required value="<?php echo isset($_POST['username']) ? htmlspecialchars($_POST['username']) : ''; ?>" autocomplete="username"> <div class="icon-w3"> <span class="fas fa-user"></span> </div> </div> <div class="form-sub-w3"> <input type="password" name="password" placeholder="Password" required autocomplete="current-password"> <div class="icon-w3"> <span class="fas fa-lock"></span> </div> </div> <div class="form-sub-content"> <div class="d-flex justify-content-between align-items-center mb-3"> <div class="form-check"> <input class="form-check-input" type="checkbox" id="remember" name="remember"> <label class="form-check-label" for="remember"> Remember me </label> </div> <a href="forgot-password.php">Forgot Password?</a> </div> </div> <div class="submit-button text-center"> <button type="submit" class="btn btn-style btn-primary w-100"> <i class="fas fa-sign-in-alt me-2"></i> Login Now </button> </div> </form> <div class="social-login"> <p>Or login with</p> <div class="social-buttons"> <a href="#" class="social-btn google"> <i class="fab fa-google"></i> <span>Google</span> </a> <a href="#" class="social-btn facebook"> <i class="fab fa-facebook-f"></i> <span>Facebook</span> </a> </div> </div> <div class="toggle-form"> <p>New User? <a href="#" onclick="toggleForms(event, 'register')">Create an Account</a></p> </div> </div> <!-- Registration Form --> <div class="form-box" id="registerForm" style="display: none;"> <h2>Create New Account</h2> <form action="" method="post"> <input type="hidden" name="register" value="1"> <div class="row"> <div class="col-md-6"> <div class="form-sub-w3"> <input type="text" name="first_name" placeholder="First Name" required> <div class="icon-w3"> <span class="fas fa-user"></span> </div> </div> </div> <div class="col-md-6"> <div class="form-sub-w3"> <input type="text" name="last_name" placeholder="Last Name" required> <div class="icon-w3"> <span class="fas fa-user"></span> </div> </div> </div> </div> <div class="form-sub-w3"> <input type="email" name="email" placeholder="Email Address" required autocomplete="email"> <div class="icon-w3"> <span class="fas fa-envelope"></span> </div> </div> <div class="form-sub-w3"> <input type="text" name="reg_username" placeholder="Username (min 4 characters)" required minlength="4" autocomplete="username"> <div class="icon-w3"> <span class="fas fa-user-circle"></span> </div> </div> <div class="form-sub-w3"> <input type="tel" name="phone" placeholder="Phone Number (Optional)" autocomplete="tel"> <div class="icon-w3"> <span class="fas fa-phone"></span> </div> </div> <div class="form-sub-w3"> <input type="password" name="reg_password" placeholder="Password (min 6 characters)" required minlength="6" autocomplete="new-password"> <div class="icon-w3"> <span class="fas fa-lock"></span> </div> </div> <div class="form-sub-w3"> <input type="password" name="confirm_password" placeholder="Confirm Password" required autocomplete="new-password"> <div class="icon-w3"> <span class="fas fa-lock"></span> </div> </div> <div class="form-sub-content"> <div class="form-check mb-3"> <input class="form-check-input" type="checkbox" id="terms" required> <label class="form-check-label" for="terms"> I agree to the <a href="terms.php" target="_blank">Terms & Conditions</a> </label> </div> </div> <div class="submit-button text-center"> <button type="submit" class="btn btn-style btn-primary w-100"> <i class="fas fa-user-plus me-2"></i> Create Account </button> </div> </form> <div class="toggle-form"> <p>Already have an account? <a href="#" onclick="toggleForms(event, 'login')">Login here</a></p> </div> </div> </div> </div> </section> <?php include_once('footer.php'); ?> <!-- Template JavaScript --> <script src="assets/js/jquery-3.3.1.min.js"></script> <script src="assets/js/theme-change.js"></script> <script> function toggleForms(e, formType) { e.preventDefault(); if(formType === 'register') { document.getElementById('loginForm').style.display = 'none'; document.getElementById('registerForm').style.display = 'block'; } else { document.getElementById('loginForm').style.display = 'block'; document.getElementById('registerForm').style.display = 'none'; } } // Check URL parameter for form display const urlParams = new URLSearchParams(window.location.search); if(urlParams.get('action') === 'register') { toggleForms(new Event('click'), 'register'); } // Password visibility toggle (optional) function togglePasswordVisibility(inputId, iconId) { const input = document.getElementById(inputId); const icon = document.getElementById(iconId); if (input.type === "password") { input.type = "text"; icon.classList.remove("fa-lock"); icon.classList.add("fa-unlock"); } else { input.type = "password"; icon.classList.remove("fa-unlock"); icon.classList.add("fa-lock"); } } </script> <!-- MENU-JS --> <script> $(window).on("scroll", function() { var scroll = $(window).scrollTop(); if (scroll >= 80) { $("#site-header").addClass("nav-fixed"); } else { $("#site-header").removeClass("nav-fixed"); } }); $(".navbar-toggler").on("click", function() { $("header").toggleClass("active"); }); $(document).on("ready", function() { if ($(window).width() > 991) { $("header").removeClass("active"); } $(window).on("resize", function() { if ($(window).width() > 991) { $("header").removeClass("active"); } }); }); </script> <!-- disable body scroll when navbar is active --> <script> $(function() { $('.navbar-toggler').click(function() { $('body').toggleClass('noscroll'); }) }); </script> <script src="assets/js/bootstrap.min.js"></script> </body> </html>
Upload File
Create Folder