├── admin ├── AccountValidation.php ├── Dashboard.php ├── Notification.php ├── TransferMoney.php ├── VerifyAccount.php ├── accounts │ ├── ActivateAccount.php │ ├── CloseAccount.php │ ├── DeactivateAccount.php │ ├── EditAccount.php │ ├── EditCustomer(A).php │ ├── EditCustomer.php │ ├── OpenAccount.php │ ├── code.php │ ├── search.php │ └── search2.php ├── adminData.php ├── cards.php ├── code.php ├── connection.php ├── css │ ├── AdminDash.css │ └── accounts │ │ └── OpenAccount.css ├── img │ ├── admin.svg │ └── searchac.svg ├── js │ ├── Dashboard.js │ ├── activateAc.js │ ├── cards.js │ ├── close.js │ ├── createAc.js │ ├── deactivateAc.js │ ├── depositMoney.js │ ├── editAc.js │ ├── sweetAlert.js │ ├── transferMoney.js │ ├── verifyAc.js │ └── withdrawMoney.js ├── logout.php ├── mail │ ├── ActivationTemp.php │ ├── CreditMailTemp.php │ ├── DebitMailTemp.php │ ├── PHPMailerAutoload.php │ ├── TransactionMail.php │ ├── class.phpmailer.php │ ├── class.smtp.php │ ├── congraMail.php │ └── mail_config.php └── wallet │ ├── Deposit.php │ ├── Withdraw.php │ └── code.php ├── assets ├── css │ ├── Index.css │ ├── UserDash.css │ ├── createAccount.css │ ├── dummy.css │ ├── forgotPass.css │ ├── jquery-ui.min.css │ ├── login.css │ └── style.css ├── fonts │ ├── Open_Sans │ │ ├── LICENSE.txt │ │ ├── OpenSans-Bold.ttf │ │ ├── OpenSans-BoldItalic.ttf │ │ ├── OpenSans-ExtraBold.ttf │ │ ├── OpenSans-ExtraBoldItalic.ttf │ │ ├── OpenSans-Italic.ttf │ │ ├── OpenSans-Light.ttf │ │ ├── OpenSans-LightItalic.ttf │ │ ├── OpenSans-Regular.ttf │ │ ├── OpenSans-SemiBold.ttf │ │ └── OpenSans-SemiBoldItalic.ttf │ ├── Roboto │ │ ├── LICENSE.txt │ │ ├── Roboto-Black.ttf │ │ ├── Roboto-BlackItalic.ttf │ │ ├── Roboto-Bold.ttf │ │ ├── Roboto-BoldItalic.ttf │ │ ├── Roboto-Italic.ttf │ │ ├── Roboto-Light.ttf │ │ ├── Roboto-LightItalic.ttf │ │ ├── Roboto-Medium.ttf │ │ ├── Roboto-MediumItalic.ttf │ │ ├── Roboto-Regular.ttf │ │ ├── Roboto-Thin.ttf │ │ └── Roboto-ThinItalic.ttf │ └── material-design-iconic-font │ │ ├── css │ │ ├── material-design-iconic-font.css │ │ └── material-design-iconic-font.min.css │ │ └── fonts │ │ ├── Material-Design-Iconic-Font.eot │ │ ├── Material-Design-Iconic-Font.svg │ │ ├── Material-Design-Iconic-Font.ttf │ │ ├── Material-Design-Iconic-Font.woff │ │ └── Material-Design-Iconic-Font.woff2 ├── img │ ├── Bank-img1.svg │ ├── Logo.svg │ ├── Logo3.png │ ├── PageImage │ │ ├── ResetPass.svg │ │ ├── forgotpass1.svg │ │ └── loginImage.jpg │ ├── SkyLogo.svg │ ├── about.jpg │ ├── apple-icon-180x180.png │ ├── back-img.jpg │ ├── bank-img.svg │ ├── counts-bg.png │ ├── developers │ │ ├── DC.png │ │ ├── Digambar.png │ │ ├── jp.jpeg │ │ └── rp.jpeg │ ├── favicon-32x32.png │ ├── features.svg │ ├── footer-bg.jpg │ ├── hero-bg.jpg │ ├── logo.png │ ├── secure.webp │ ├── secureAC.gif │ ├── testimonials │ │ ├── testimonials-1.jpg │ │ ├── testimonials-2.jpg │ │ ├── testimonials-3.jpg │ │ ├── testimonials-4.jpg │ │ └── testimonials-5.jpg │ └── wizard_v4_icon.png ├── js │ ├── contact.js │ ├── createAc.js │ ├── createAccount.js │ ├── dummy.js │ ├── main.js │ ├── resetPass.js │ ├── showHidePass.js │ └── sweetalert.min.js └── vendor │ ├── aos │ ├── aos.css │ └── aos.js │ ├── bootstrap-icons │ ├── bootstrap-icons.css │ ├── bootstrap-icons.json │ ├── fonts │ │ ├── bootstrap-icons.woff │ │ └── bootstrap-icons.woff2 │ └── index.html │ ├── bootstrap │ ├── css │ │ ├── bootstrap-grid.css │ │ ├── bootstrap-grid.css.map │ │ ├── bootstrap-grid.min.css │ │ ├── bootstrap-grid.min.css.map │ │ ├── bootstrap-grid.rtl.css │ │ ├── bootstrap-grid.rtl.css.map │ │ ├── bootstrap-grid.rtl.min.css │ │ ├── bootstrap-grid.rtl.min.css.map │ │ ├── bootstrap-reboot.css │ │ ├── bootstrap-reboot.css.map │ │ ├── bootstrap-reboot.min.css │ │ ├── bootstrap-reboot.min.css.map │ │ ├── bootstrap-reboot.rtl.css │ │ ├── bootstrap-reboot.rtl.css.map │ │ ├── bootstrap-reboot.rtl.min.css │ │ ├── bootstrap-reboot.rtl.min.css.map │ │ ├── bootstrap-utilities.css │ │ ├── bootstrap-utilities.css.map │ │ ├── bootstrap-utilities.min.css │ │ ├── bootstrap-utilities.min.css.map │ │ ├── bootstrap-utilities.rtl.css │ │ ├── bootstrap-utilities.rtl.css.map │ │ ├── bootstrap-utilities.rtl.min.css │ │ ├── bootstrap-utilities.rtl.min.css.map │ │ ├── bootstrap.css │ │ ├── bootstrap.css.map │ │ ├── bootstrap.min.css │ │ ├── bootstrap.min.css.map │ │ ├── bootstrap.rtl.css │ │ ├── bootstrap.rtl.css.map │ │ ├── bootstrap.rtl.min.css │ │ └── bootstrap.rtl.min.css.map │ └── js │ │ ├── bootstrap.bundle.js │ │ ├── bootstrap.bundle.js.map │ │ ├── bootstrap.bundle.min.js │ │ ├── bootstrap.bundle.min.js.map │ │ ├── bootstrap.esm.js │ │ ├── bootstrap.esm.js.map │ │ ├── bootstrap.esm.min.js │ │ ├── bootstrap.esm.min.js.map │ │ ├── bootstrap.js │ │ ├── bootstrap.js.map │ │ ├── bootstrap.min.js │ │ └── bootstrap.min.js.map │ ├── boxicons │ ├── css │ │ ├── animations.css │ │ ├── boxicons.css │ │ ├── boxicons.min.css │ │ └── transformations.css │ └── fonts │ │ ├── boxicons.eot │ │ ├── boxicons.svg │ │ ├── boxicons.ttf │ │ ├── boxicons.woff │ │ └── boxicons.woff2 │ ├── glightbox │ ├── css │ │ ├── glightbox.css │ │ └── glightbox.min.css │ └── js │ │ ├── glightbox.js │ │ └── glightbox.min.js │ ├── isotope-layout │ ├── isotope.pkgd.js │ └── isotope.pkgd.min.js │ ├── php-email-form │ └── validate.js │ ├── purecounter │ └── purecounter.js │ └── swiper │ ├── swiper-bundle.min.css │ └── swiper-bundle.min.js ├── config.php ├── contact.php ├── database └── skybank.sql ├── index.php ├── mail ├── ActivationTemp.php ├── CreditMailTemp.php ├── DebitMailTemp.php ├── PHPMailerAutoload.php ├── TransactionMail.php ├── class.phpmailer.php ├── class.smtp.php ├── congraMail.php ├── congraTemp.php ├── contactMail.php ├── mail_config.php ├── otpForgot.php ├── otpForgotTemp.php └── otpMail.php ├── pages ├── Securepayment.php ├── about.php ├── cards.php ├── footer.php ├── header.php ├── insurance.php ├── loans.php ├── onlineBanking.php ├── privacypolicy.php ├── service24x7.php └── terms.php ├── readme.md └── user ├── AccountValidation.php ├── Authenticator.php ├── CreateAccount.php ├── ResetPassword.php ├── UserData ├── Dashboard.php ├── T_history.php ├── Transfer.php ├── assets │ ├── img │ │ ├── gold-card-chip.png │ │ ├── target.svg │ │ └── targetBtn.svg │ ├── jquery-circle-progress-master.zip │ ├── jquery-circle-progress-master │ │ ├── dist │ │ │ ├── circle-progress.js │ │ │ └── circle-progress.min.js │ │ └── docs │ │ │ ├── examples.js │ │ │ ├── index.html │ │ │ └── styles.css │ ├── modal-01.zip │ └── progressbar.js-master.zip ├── cards.php ├── code.php ├── css │ ├── cards.css │ ├── profile.css │ ├── secureAc.css │ └── style.css ├── footer.php ├── header.php ├── js │ ├── cards.js │ ├── dashboard.js │ ├── profile.js │ ├── profileInfo.js │ ├── saving.js │ ├── secureAccount.js │ ├── showHidePass.js │ └── transfer.js ├── profile.php ├── saving.php └── secureAccount.php ├── check.php ├── connection.php ├── forgotPassword.php ├── login.php ├── logout.php ├── mail ├── CreditMailTemp.php ├── DebitMailTemp.php ├── PHPMailerAutoload.php ├── TransactionMail.php ├── class.phpmailer.php └── class.smtp.php ├── otpValidation.php ├── script.php ├── twostepsetup.php └── twostepverify.php /admin/AccountValidation.php: -------------------------------------------------------------------------------- 1 | "; 67 | 68 | // Create Otp 69 | $otp = rand(100000, 999999); 70 | 71 | echo "
"; 72 | 73 | // storing otp to server 74 | $_SESSION['otp'] = $otp; 75 | 76 | // Calling Otp Function to send email 77 | $sucess = sendOtp($mail, $otp, $name); 78 | 79 | 80 | } 81 | 82 | // Validating Otp 83 | if(isset($_POST['OTP'])){ 84 | 85 | $userOtp = trim($_POST['OTP']); 86 | $SessionOtp = trim($_SESSION['otp']); 87 | 88 | if($SessionOtp == $userOtp){ 89 | 90 | echo "Valid"; 91 | } 92 | else{ 93 | echo "Invalid"; 94 | } 95 | 96 | } 97 | 98 | 99 | // checking Username is set or not 100 | if (isset($_POST['Username'])) { 101 | 102 | /* storing Pan Number in varible using mysqli_real_escape_string function to remove special charaters like double quotes or etc */ 103 | $Username = mysqli_real_escape_string($conn, $_POST['Username']); 104 | 105 | // sql query to check Pan no is available or not 106 | $query3 = "SELECT * FROM login WHERE Username = '".$Username."'"; 107 | 108 | // stroing result rows in variable 109 | $result3 = mysqli_query($conn, $query3); 110 | 111 | // this single line perform most important role this line print output and this output is send to the ajax 112 | echo mysqli_num_rows($result3); 113 | } 114 | -------------------------------------------------------------------------------- /admin/Notification.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /admin/accounts/code.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /admin/accounts/search.php: -------------------------------------------------------------------------------- 1 | 0){ 13 | while($row = mysqli_fetch_assoc($result)){ 14 | $id = $row['C_No']; 15 | $Ac = $row['Account_No']; 16 | $Fname = $row['C_First_Name']; 17 | $Lname = $row['C_Last_Name']; 18 | } 19 | 20 | $_SESSION["EditAccountNo"] = $AccountNo; 21 | 22 | $data = array( 23 | 'id'=>$id, 24 | 'Ac'=>$Ac, 25 | 'Fname'=>$Fname, 26 | 'Lname'=>$Lname); 27 | 28 | echo json_encode($data); 29 | 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /admin/accounts/search2.php: -------------------------------------------------------------------------------- 1 | 0) { 13 | while ($row = mysqli_fetch_assoc($result)) { 14 | $id = $row['ID']; 15 | $Ac = $row['AccountNo']; 16 | $Username = $row['Username']; 17 | $Status = $row['Status']; 18 | } 19 | 20 | $_SESSION["ActiveAccountNo"] = $AccountNo; 21 | 22 | $data = array( 23 | 'id' => $id, 24 | 'Ac' => $Ac, 25 | 'Username' => $Username, 26 | 'Status' => $Status 27 | ); 28 | 29 | echo json_encode($data); 30 | } 31 | } 32 | 33 | if (isset($_POST['Deactive_AccountNumber'])) { 34 | 35 | $AccountNo = $_POST['Deactive_AccountNumber']; 36 | 37 | $query = "SELECT * FROM login where AccountNo = '$AccountNo' and Status = 'Active'"; 38 | 39 | $result = mysqli_query($conn, $query) or die("Not Execute"); 40 | if (mysqli_num_rows($result) > 0) { 41 | while ($row = mysqli_fetch_assoc($result)) { 42 | $id = $row['ID']; 43 | $Ac = $row['AccountNo']; 44 | $Username = $row['Username']; 45 | $Status = $row['Status']; 46 | } 47 | 48 | $_SESSION["De_ActiveAccountNo"] = $AccountNo; 49 | 50 | $data = array( 51 | 'id' => $id, 52 | 'Ac' => $Ac, 53 | 'Username' => $Username, 54 | 'Status' => $Status 55 | ); 56 | 57 | echo json_encode($data); 58 | } 59 | } 60 | 61 | // Close Account Code 62 | 63 | if (isset($_POST['CloseAccountNo'])) { 64 | $CloaseAc = $_POST['CloseAccountNo']; 65 | $_SESSION["CloseAcNo"] = $CloaseAc; 66 | $query = "SELECT customer_detail.C_No, customer_detail.C_First_Name, customer_detail.C_Last_Name, customer_detail.Account_No, accounts.Balance, accounts.AccountType FROM customer_detail INNER JOIN accounts ON customer_detail.Account_No = accounts.AccountNo where customer_detail.Account_No ='$CloaseAc'"; 67 | $result = mysqli_query($conn, $query) or die("Not Execute"); 68 | 69 | if (mysqli_num_rows($result) > 0) { 70 | while ($row = mysqli_fetch_assoc($result)) { 71 | $id = $row['C_No']; 72 | $fname = $row['C_First_Name']; 73 | $lname = $row['C_Last_Name']; 74 | $Ac = $row['Account_No']; 75 | $Balance = $row['Balance']; 76 | $AcType = $row['AccountType']; 77 | } 78 | 79 | 80 | 81 | $data = array( 82 | 'id' => $id, 83 | 'fname' => $fname, 84 | 'lname' => $lname, 85 | 'Ac' => $Ac, 86 | 'Balance' => $Balance, 87 | 'AcType' => $AcType, 88 | 'message' => null 89 | ); 90 | 91 | echo json_encode($data); 92 | } else { 93 | $data = array( 94 | 'message' => "Account Not Found" 95 | ); 96 | } 97 | } 98 | -------------------------------------------------------------------------------- /admin/adminData.php: -------------------------------------------------------------------------------- 1 | 0) { 10 | while ($row = mysqli_fetch_assoc($result)) { 11 | $Fname = $row['C_First_Name']; 12 | $Lname = $row['C_Last_Name']; 13 | $AdharNo = $row['C_Adhar_No']; 14 | $PanNo = $row['C_Pan_No']; 15 | $MobileNo = $row['C_Mobile_No']; 16 | $Profile = $row['ProfileImage']; 17 | } 18 | 19 | $Admin = $Fname . " " . $Lname; 20 | $AdminProfile = "img/admin.svg"; 21 | $AdminProfileInner = $AdminProfile; 22 | } 23 | -------------------------------------------------------------------------------- /admin/connection.php: -------------------------------------------------------------------------------- 1 | 0){ 20 | 21 | // while($row = mysqli_fetch_assoc($result)){ 22 | // echo $row['Sr.No']; 23 | // echo $row['AccountNo']; 24 | // echo $row['Username']; 25 | // echo $row['Password']; 26 | 27 | // echo "
"; 28 | // } 29 | 30 | // } 31 | 32 | // mysqli_close($conn); 33 | -------------------------------------------------------------------------------- /admin/img/admin.svg: -------------------------------------------------------------------------------- 1 | profile pic -------------------------------------------------------------------------------- /admin/js/Dashboard.js: -------------------------------------------------------------------------------- 1 | var ctx = document.getElementById('Customer').getContext('2d'); 2 | var myChart = new Chart(ctx, { 3 | type: 'line', 4 | data: { 5 | labels: ['Red', 'Blue', 'Yellow', 'Green', 'Purple', 'Orange'], 6 | datasets: [{ 7 | label: '# of Votes', 8 | data: [12, 19, 3, 5, 2, 3], 9 | backgroundColor: [ 10 | '#892cdc', 11 | 'rgba(54, 162, 235, 0.2)', 12 | 'rgba(255, 206, 86, 0.2)', 13 | 'rgba(75, 192, 192, 0.2)', 14 | 'rgba(153, 102, 255, 0.2)', 15 | 'rgba(255, 159, 64, 0.2)' 16 | ], 17 | borderColor: [ 18 | 'rgba(255, 99, 132, 1)', 19 | 'rgba(54, 162, 235, 1)', 20 | 'rgba(255, 206, 86, 1)', 21 | 'rgba(75, 192, 192, 1)', 22 | 'rgba(153, 102, 255, 1)', 23 | 'rgba(255, 159, 64, 1)' 24 | ], 25 | borderWidth: 1 26 | }] 27 | }, 28 | options: { 29 | 30 | // responsive:false, 31 | } 32 | }); 33 | 34 | 35 | -------------------------------------------------------------------------------- /admin/js/activateAc.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function () { 2 | 3 | $("#search").click(function () { 4 | let AccountNo = $("#SearchText").val(); 5 | 6 | if (AccountNo.lenght = 12) { 7 | $.ajax({ 8 | type: "POST", 9 | url: "search2.php", 10 | data: { 11 | 12 | AccountNumber: AccountNo 13 | 14 | 15 | }, 16 | dataType: 'json', 17 | success: function (response) { 18 | if (response) { 19 | 20 | if (AccountNo == "") { 21 | 22 | $("#EditTable").attr('hidden', false); 23 | $("#SearchTable").attr('hidden', true); 24 | } 25 | else { 26 | 27 | $("#EditTable").attr('hidden', true); 28 | $("#SearchTable").attr('hidden', false); 29 | 30 | $("#id").text(response['id']); 31 | $("#AccountNo").text(response['Ac']); 32 | $("#Fname").text(response['Username']); 33 | $("#Lname").text(response['Status']); 34 | 35 | $("#edit_id").val(response['Ac']); 36 | $("#delete_id").val(response['Ac']); 37 | 38 | // document.cookie = "AccountNumber="+response['Ac']; 39 | 40 | } 41 | 42 | } 43 | else { 44 | alert("No such Account"); 45 | console.log("fail ajax"); 46 | 47 | } 48 | } 49 | }); 50 | } 51 | 52 | }); 53 | 54 | 55 | }); 56 | 57 | function reload() { 58 | location.reload(); 59 | } -------------------------------------------------------------------------------- /admin/js/cards.js: -------------------------------------------------------------------------------- 1 | console.log('Hello'); 2 | 3 | // This is the best methd to perfrom crud operation multiple varibles 4 | $(document).ready(function () { 5 | 6 | 7 | 8 | $(document).on('click', '.verify_data', function () { 9 | let AccountNo = $(this).attr("id"); 10 | console.log(AccountNo); 11 | 12 | swal({ 13 | title: "Are you sure?", 14 | text: "Once Verified, This Debit Card Should Be Activated ", 15 | icon: "info", 16 | buttons: true, 17 | dangerMode: false, 18 | }).then((value) => { 19 | if (value) { 20 | 21 | $.ajax({ 22 | type: "POST", 23 | url: "code.php", 24 | data: { DebitCardCheck: AccountNo }, 25 | success: function (response) { 26 | 27 | if (response == "Success") { 28 | swal("Debit Card Activated Sucessfully!", { 29 | icon: "success", 30 | buttons: [false] 31 | }); 32 | setTimeout(function () { 33 | 34 | location.reload(); 35 | 36 | }, 1000); 37 | console.log(response); 38 | } 39 | else { 40 | swal({ 41 | title: "Debit Card Not Activated !", 42 | text: "Please Check Connection or after some time!", 43 | icon: "error", 44 | buttons: true, 45 | // value:true 46 | }).then((value) => { 47 | location.reload(); 48 | }); 49 | 50 | } 51 | } 52 | }); 53 | } 54 | else { 55 | swal("The Debit Card is not Activated !"); 56 | } 57 | 58 | }); 59 | 60 | }); 61 | 62 | 63 | $(document).on('click', '.reject_data', function () { 64 | let AccountNo = $(this).attr("id"); 65 | console.log(AccountNo); 66 | 67 | swal({ 68 | title: "Are you sure?", 69 | text: "Once Rejected, This Debitcard Should Not Be Recover ", 70 | icon: "warning", 71 | buttons: true, 72 | dangerMode: true, 73 | }).then((willDelete) => { 74 | if (willDelete) { 75 | $.ajax({ 76 | type: "POST", 77 | url: "code.php", 78 | data: { DebitCardReject: AccountNo }, 79 | success: function (response) { 80 | 81 | if (response == "Success") { 82 | swal("Debit Card Request Rejected Sucessfully!", { 83 | icon: "success", 84 | buttons: [false] 85 | }); 86 | 87 | $.ajax({ 88 | type: "POST", 89 | url: "code.php", 90 | data: {done: "done"}, 91 | success: function (response) { 92 | 93 | } 94 | }); 95 | setTimeout(function () { 96 | 97 | location.reload(); 98 | 99 | }, 1000); 100 | console.log(response); 101 | } 102 | else { 103 | swal({ 104 | title: "Debitcard Not Rejected !", 105 | text: "Please Check Connection or after some time!", 106 | icon: "error", 107 | buttons: true, 108 | // value:true 109 | }).then((value) => { 110 | location.reload(); 111 | }); 112 | 113 | } 114 | } 115 | }); 116 | } 117 | else { 118 | swal("The Account is not Activated !"); 119 | } 120 | 121 | }); 122 | 123 | }); 124 | }); -------------------------------------------------------------------------------- /admin/js/close.js: -------------------------------------------------------------------------------- 1 | // console.log("Welcome"); 2 | 3 | $(document).ready(function () { 4 | $("#SearchBtn").click(function () { 5 | let AccountNo = $("#SearchTerm").val(); 6 | // console.log(AccountNo); 7 | if (AccountNo.length == 12) { 8 | 9 | $.ajax({ 10 | type: "POST", 11 | url: "search2.php", 12 | data: { CloseAccountNo: AccountNo }, 13 | dataType: "json", 14 | success: function (response) { 15 | if (response) { 16 | 17 | if (response['message'] == null) { 18 | $("#SearchImg").attr("hidden", true); 19 | $("#SearchTabel").attr("hidden", false); 20 | 21 | $("#id").text(response['id']); 22 | $("#Fname").text(response['fname']); 23 | $("#Lname").text(response['lname']); 24 | $("#AcNo").text(response['Ac']); 25 | $("#Balance").text(response['Balance']); 26 | $("#AcType").text(response['AcType']); 27 | 28 | $("#CloseAccount").val(response['Ac']); 29 | } 30 | else { 31 | $("#heading").text(response['message']); 32 | } 33 | } 34 | else { 35 | $("#heading").text("Account Not Found"); 36 | } 37 | } 38 | }); 39 | 40 | } else { 41 | $('#IconImg').removeClass('bx-search-alt-2').addClass('bx-search-error'); 42 | $("#heading").text("Invalid Account Number"); 43 | } 44 | }); 45 | 46 | 47 | $("#CloseBtn").click(function (e) { 48 | e.preventDefault(); 49 | let AccountNo = $("#CloseAccount").val(); 50 | // console.log(AccountNo); 51 | var form = $(this).parents('form'); 52 | 53 | swal({ 54 | title: "Are you sure?", 55 | text: "Once deleted, you will not be able to recover this Account", 56 | icon: "warning", 57 | buttons: true, 58 | dangerMode: true, 59 | }).then((willDelete) => { 60 | if (willDelete) { 61 | 62 | 63 | $.ajax({ 64 | type: "POST", 65 | url: "search2.php", 66 | data: { CloseAc: AccountNo }, 67 | // dataType: "dataType", 68 | success: function (response) { 69 | if (response == "Success") { 70 | swal("Account Deleted Sucessfully!", { 71 | icon: "success", 72 | buttons: [false] 73 | }); 74 | setTimeout(function () { 75 | 76 | form.submit(); 77 | 78 | }, 1000); 79 | console.log(response); 80 | } 81 | else { 82 | swal({ 83 | title: "Account Not Deleted !", 84 | text: "Please First Withdraw Money From Account!", 85 | icon: "error", 86 | buttons: true, 87 | // value:true 88 | }).then((value) => { 89 | location.reload(); 90 | }); 91 | 92 | } 93 | 94 | } 95 | }); 96 | 97 | 98 | } else { 99 | swal("Account is Safe!"); 100 | } 101 | }); 102 | 103 | }); 104 | 105 | 106 | 107 | 108 | 109 | 110 | }); -------------------------------------------------------------------------------- /admin/js/deactivateAc.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function () { 2 | 3 | $("#search").click(function () { 4 | let AccountNo = $("#SearchText").val(); 5 | 6 | if (AccountNo.lenght = 12) { 7 | $.ajax({ 8 | type: "POST", 9 | url: "search2.php", 10 | data: { 11 | 12 | Deactive_AccountNumber: AccountNo 13 | 14 | 15 | }, 16 | dataType: 'json', 17 | success: function (response) { 18 | if (response) { 19 | 20 | if (AccountNo == "") { 21 | 22 | $("#EditTable").attr('hidden', false); 23 | $("#SearchTable").attr('hidden', true); 24 | } 25 | else { 26 | 27 | $("#EditTable").attr('hidden', true); 28 | $("#SearchTable").attr('hidden', false); 29 | 30 | $("#id").text(response['id']); 31 | $("#AccountNo").text(response['Ac']); 32 | $("#Username").text(response['Username']); 33 | $("#Status").text(response['Status']); 34 | 35 | $("#deactivate_id").val(response['Ac']); 36 | 37 | // document.cookie = "AccountNumber="+response['Ac']; 38 | 39 | } 40 | 41 | } 42 | else { 43 | alert("No such Account"); 44 | console.log("fail ajax"); 45 | 46 | } 47 | } 48 | }); 49 | } 50 | 51 | }); 52 | 53 | 54 | }); 55 | 56 | function reload() { 57 | location.reload(); 58 | } -------------------------------------------------------------------------------- /admin/js/editAc.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function () { 2 | 3 | $("#search").click(function () { 4 | let AccountNo = $("#SearchText").val(); 5 | 6 | if(AccountNo.lenght = 12){ 7 | $.ajax({ 8 | type: "POST", 9 | url: "search.php", 10 | data: { 11 | 12 | AccountNumber: AccountNo 13 | 14 | 15 | }, 16 | dataType : 'json', 17 | success: function (response) { 18 | if (response) { 19 | 20 | 21 | 22 | if(AccountNo == ""){ 23 | 24 | $("#EditTable").attr('hidden', false); 25 | $("#SearchTable").attr('hidden', true); 26 | } 27 | else{ 28 | 29 | $("#EditTable").attr('hidden', true); 30 | $("#SearchTable").attr('hidden', false); 31 | 32 | $("#id").text(response['id']); 33 | $("#AccountNo").text(response['Ac']); 34 | $("#Fname").text(response['Fname']); 35 | $("#Lname").text(response['Lname']); 36 | 37 | $("#edit_id").val(response['Ac']); 38 | $("#delete_id").val(response['Ac']); 39 | 40 | // document.cookie = "AccountNumber="+response['Ac']; 41 | 42 | } 43 | 44 | } 45 | else { 46 | console.log("fail ajax"); 47 | 48 | } 49 | } 50 | }); 51 | } 52 | 53 | }); 54 | 55 | 56 | 57 | }); 58 | 59 | function reload(){ 60 | location.reload(); 61 | } -------------------------------------------------------------------------------- /admin/js/sweetAlert.js: -------------------------------------------------------------------------------- 1 | Swal.fire({ 2 | title: 'Do you want to save the changes?', 3 | showDenyButton: true, 4 | showCancelButton: true, 5 | confirmButtonText: `Save`, 6 | denyButtonText: `Don't save`, 7 | }).then((result) => { 8 | /* Read more about isConfirmed, isDenied below */ 9 | if (result.isConfirmed) { 10 | Swal.fire('Saved!', '', 'success') 11 | } else if (result.isDenied) { 12 | Swal.fire('Changes are not saved', '', 'info') 13 | } 14 | }) -------------------------------------------------------------------------------- /admin/js/verifyAc.js: -------------------------------------------------------------------------------- 1 | console.log('Hello'); 2 | 3 | // This is the best methd to perfrom crud operation multiple varibles 4 | $(document).ready(function () { 5 | 6 | $(document).on('click', '.view_data', function () { 7 | 8 | let AccountNo = $(this).attr("id"); 9 | // console.log(AccountNo); 10 | 11 | $.ajax({ 12 | type: "POST", 13 | url: "code.php", 14 | data: { 15 | 16 | CAccountNo: AccountNo 17 | }, 18 | dataType: 'json', 19 | success: function (response) { 20 | 21 | // console.log(response['Fname']); 22 | $("#Fname").text(response['Fname']); 23 | $("#Lname").text(response['Lname']); 24 | // console.log(response['Lname']); 25 | $("#Faname").text(response['Faname']); 26 | $("#Maname").text(response['Maname']); 27 | $("#Bdate").text(response['Bdate']); 28 | $("#AdharNo").text(response['AdharNo']); 29 | $("#PanNo").text(response['PanNo']); 30 | $("#MobileNo").text(response['MobileNo']); 31 | $("#Pincode").text(response['Pincode']); 32 | $("#Email").text(response['Email']); 33 | 34 | $("#Email").text(response['Email']); 35 | let AdharimgLocation = response['AdharDoc']; 36 | let PanimgLocation = response['PanDoc']; 37 | console.log(PanimgLocation); 38 | $("#AdharImg").attr("src", "../user/" + AdharimgLocation); 39 | $("#PanImg").attr("src", "../user/" + PanimgLocation); 40 | 41 | 42 | } 43 | }); 44 | }); 45 | 46 | $(document).on('click', '.verify_data', function () { 47 | let AccountNo = $(this).attr("id"); 48 | console.log(AccountNo); 49 | 50 | swal({ 51 | title: "Are you sure?", 52 | text: "Once Verified, This Account Should Be Activated ", 53 | icon: "info", 54 | buttons: true, 55 | dangerMode: false, 56 | }).then((value) => { 57 | if (value) { 58 | 59 | $.ajax({ 60 | type: "POST", 61 | url: "code.php", 62 | data: { VerifyAc: AccountNo }, 63 | success: function (response) { 64 | 65 | if (response == "Success") { 66 | swal("Account Activated Sucessfully!", { 67 | icon: "success", 68 | buttons: [false] 69 | }); 70 | setTimeout(function () { 71 | 72 | location.reload(); 73 | 74 | }, 1000); 75 | console.log(response); 76 | } 77 | else { 78 | swal({ 79 | title: "Account Not Activated !", 80 | text: "Please Check Connection or after some time!", 81 | icon: "error", 82 | buttons: true, 83 | // value:true 84 | }).then((value) => { 85 | location.reload(); 86 | }); 87 | 88 | } 89 | } 90 | }); 91 | } 92 | else { 93 | swal("The Account is not Activated !"); 94 | } 95 | 96 | }); 97 | 98 | }); 99 | $(document).on('click', '.reject_data', function () { 100 | let AccountNo = $(this).attr("id"); 101 | console.log(AccountNo); 102 | 103 | swal({ 104 | title: "Are you sure?", 105 | text: "Once Rejected, This Account Should Not Be Recover ", 106 | icon: "warning", 107 | buttons: true, 108 | dangerMode: true, 109 | }).then((willDelete) => { 110 | if (willDelete) { 111 | $.ajax({ 112 | type: "POST", 113 | url: "code.php", 114 | data: { RejectAc: AccountNo }, 115 | success: function (response) { 116 | 117 | if (response == "Success") { 118 | swal("Account Activated Sucessfully!", { 119 | icon: "success", 120 | buttons: [false] 121 | }); 122 | 123 | $.ajax({ 124 | type: "POST", 125 | url: "code.php", 126 | data: {done: "done"}, 127 | success: function (response) { 128 | 129 | } 130 | }); 131 | setTimeout(function () { 132 | 133 | location.reload(); 134 | 135 | }, 1000); 136 | console.log(response); 137 | } 138 | else { 139 | swal({ 140 | title: "Account Not Activated !", 141 | text: "Please Check Connection or after some time!", 142 | icon: "error", 143 | buttons: true, 144 | // value:true 145 | }).then((value) => { 146 | location.reload(); 147 | }); 148 | 149 | } 150 | } 151 | }); 152 | } 153 | else { 154 | swal("The Account is not Activated !"); 155 | } 156 | 157 | }); 158 | 159 | }); 160 | }); -------------------------------------------------------------------------------- /admin/logout.php: -------------------------------------------------------------------------------- 1 | 12 | 13 | -------------------------------------------------------------------------------- /admin/mail/PHPMailerAutoload.php: -------------------------------------------------------------------------------- 1 | 8 | * @author Jim Jagielski (jimjag) 9 | * @author Andy Prevost (codeworxtech) 10 | * @author Brent R. Matzelle (original founder) 11 | * @copyright 2012 - 2014 Marcus Bointon 12 | * @copyright 2010 - 2012 Jim Jagielski 13 | * @copyright 2004 - 2009 Andy Prevost 14 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License 15 | * @note This program is distributed in the hope that it will be useful - WITHOUT 16 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 | * FITNESS FOR A PARTICULAR PURPOSE. 18 | */ 19 | 20 | /** 21 | * PHPMailer SPL autoloader. 22 | * @param string $classname The name of the class to load 23 | */ 24 | function PHPMailerAutoload($classname) 25 | { 26 | //Can't use __DIR__ as it's only in PHP 5.3+ 27 | $filename = dirname(__FILE__).DIRECTORY_SEPARATOR.'class.'.strtolower($classname).'.php'; 28 | if (is_readable($filename)) { 29 | require $filename; 30 | } 31 | } 32 | 33 | if (version_compare(PHP_VERSION, '5.1.2', '>=')) { 34 | //SPL autoloading was introduced in PHP 5.1.2 35 | if (version_compare(PHP_VERSION, '5.3.0', '>=')) { 36 | spl_autoload_register('PHPMailerAutoload', true, true); 37 | } else { 38 | spl_autoload_register('PHPMailerAutoload'); 39 | } 40 | } else { 41 | /** 42 | * Fall back to traditional autoload for old PHP versions 43 | * @param string $classname The name of the class to load 44 | */ 45 | function __autoload($classname) 46 | { 47 | PHPMailerAutoload($classname); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /admin/mail/TransactionMail.php: -------------------------------------------------------------------------------- 1 | isSMTP(); 21 | $mail->Host = 'smtp.gmail.com'; 22 | $mail->Port = 587; 23 | $mail->SMTPAuth = true; 24 | $mail->SMTPSecure = 'tls'; 25 | 26 | 27 | $mail->Username = EMAIL; 28 | $mail->Password = PASSWORD; 29 | 30 | $content = file_get_contents('../mail/DebitMailTemp.php'); 31 | $mail->setFrom(EMAIL, BANKNAME); 32 | $mail->addAddress($customerMail); 33 | $mail->addReplyTo(EMAIL); 34 | 35 | $mail->isHTML(true); 36 | $mail->Subject = "Your Account '$AccountNo' has been debited"; 37 | 38 | $swap_var = array( 39 | 40 | "{Name}" => "$name", 41 | "{AccountNo}" => "$AccountNo", 42 | "{Amount}" => "$amount", 43 | "{Date}" => "$date", 44 | "{totalAmount}" => "$totalAmount", 45 | "{BankName}" => BANKNAME, 46 | "{Address}" => ADDRESS 47 | 48 | ); 49 | 50 | foreach (array_keys($swap_var) as $key) { 51 | if (strlen($key) > 2 && trim($key) != "") { 52 | $content = str_replace($key, $swap_var[$key], $content); 53 | } 54 | } 55 | 56 | $mail->Body = "$content"; 57 | 58 | 59 | if (!$mail->send()) { 60 | echo "mail not sent"; 61 | } 62 | } 63 | 64 | function creditMoneyMail($customerMail, $name, $amount, $totalAmount, $date, $AccountNo) 65 | { 66 | $mail = new PHPMailer; 67 | $mail->isSMTP(); 68 | $mail->Host = 'smtp.gmail.com'; 69 | $mail->Port = 587; 70 | $mail->SMTPAuth = true; 71 | $mail->SMTPSecure = 'tls'; 72 | 73 | 74 | $mail->Username = EMAIL; 75 | $mail->Password = PASSWORD; 76 | 77 | $content = file_get_contents('../mail/CreditMailTemp.php'); 78 | $mail->setFrom(EMAIL, BANKNAME); 79 | $mail->addAddress($customerMail); 80 | $mail->addReplyTo(EMAIL); 81 | 82 | $mail->isHTML(true); 83 | $mail->Subject = "Your Account '$AccountNo' can be credited"; 84 | 85 | $swap_var = array( 86 | 87 | "{Name}" => "$name", 88 | "{AccountNo}" => "$AccountNo", 89 | "{Amount}" => "$amount", 90 | "{Date}" => "$date", 91 | "{totalAmount}" => "$totalAmount", 92 | "{BankName}" => BANKNAME 93 | 94 | ); 95 | 96 | foreach (array_keys($swap_var) as $key) { 97 | if (strlen($key) > 2 && trim($key) != "") { 98 | $content = str_replace($key, $swap_var[$key], $content); 99 | } 100 | } 101 | 102 | $mail->Body = "$content"; 103 | 104 | 105 | if (!$mail->send()) { 106 | echo "mail not sent"; 107 | } 108 | } 109 | -------------------------------------------------------------------------------- /admin/mail/congraMail.php: -------------------------------------------------------------------------------- 1 | isSMTP(); 12 | $mail->Host = 'smtp.gmail.com'; 13 | $mail->Port = 587; 14 | $mail->SMTPAuth = true; 15 | $mail->SMTPSecure = 'tls'; 16 | 17 | $mail->Username = EMAIL; 18 | $mail->Password = PASSWORD; 19 | 20 | $content = file_get_contents('../mail/congraTemp.php'); 21 | $mail->setFrom(EMAIL, BANKNAME); 22 | $mail->addAddress($customerMail); 23 | $mail->addReplyTo(EMAIL); 24 | 25 | $mail->isHTML(true); 26 | $mail->Subject = "Account Created Sucessfully!"; 27 | 28 | $swap_var = array( 29 | 30 | "{Name}" => "$name", 31 | "{BankName}" => BANKNAME, 32 | 33 | ); 34 | 35 | foreach (array_keys($swap_var) as $key) { 36 | if (strlen($key) > 2 && trim($key) != "") { 37 | $content = str_replace($key, $swap_var[$key], $content); 38 | } 39 | } 40 | 41 | $mail->Body = "$content"; 42 | 43 | 44 | if (!$mail->send()) { 45 | echo "mail not sent"; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /admin/mail/mail_config.php: -------------------------------------------------------------------------------- 1 | isSMTP(); 11 | $mail->Host = 'smtp.gmail.com'; 12 | $mail->Port = 587; 13 | $mail->SMTPAuth = true; 14 | $mail->SMTPSecure = 'tls'; 15 | 16 | 17 | $mail->Username = EMAIL; 18 | $mail->Password = PASSWORD; 19 | 20 | $content = file_get_contents('../mail/otpMail.php'); 21 | 22 | $mail->setFrom(EMAIL, BANKNAME); 23 | $mail->addAddress($customerMail); 24 | $mail->addReplyTo(EMAIL); 25 | 26 | $mail->isHTML(true); 27 | $mail->Subject = "Email Verification"; 28 | 29 | $swap_var = array( 30 | 31 | "{Name}" => "$name", 32 | "{otp}" => "$otp", 33 | "{BankName}" => BANKNAME 34 | 35 | ); 36 | 37 | foreach (array_keys($swap_var) as $key) { 38 | if (strlen($key) > 2 && trim($key) != "") { 39 | $content = str_replace($key, $swap_var[$key], $content); 40 | } 41 | } 42 | 43 | $mail->Body = "$content"; 44 | 45 | 46 | if (!$mail->send()) { 47 | echo "mail not sent"; 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /admin/wallet/code.php: -------------------------------------------------------------------------------- 1 | 0) { 13 | while ($row = mysqli_fetch_assoc($result)) { 14 | $Fname = $row['C_First_Name']; 15 | $Lname = $row['C_Last_Name']; 16 | $AdharNo = $row['C_Adhar_No']; 17 | $PanNo = $row['C_Pan_No']; 18 | $MobileNo = $row['C_Mobile_No']; 19 | $Balance = $row['Balance']; 20 | $Status = $row['Status']; 21 | } 22 | 23 | $flag = "success"; 24 | 25 | $data = array( 26 | 27 | 'Flag' => $flag, 28 | 'Fname' => $Fname, 29 | 'Lname' => $Lname, 30 | 'AdharNo' => $AdharNo, 31 | 'PanNo' => $PanNo, 32 | 'MobileNo' => $MobileNo, 33 | 'Balance' => $Balance, 34 | 'Status' => $Status 35 | ); 36 | 37 | echo json_encode($data); 38 | } else { 39 | $flag = "fail"; 40 | $data = array( 41 | 'Flag' => $flag 42 | 43 | ); 44 | 45 | echo json_encode($data); 46 | } 47 | } 48 | 49 | if (isset($_POST['AcState'])) { 50 | $AccountNo = $_POST['AcState']; 51 | 52 | $query = "SELECT * FROM customer_detail JOIN login ON customer_detail.Account_No = login.AccountNo JOIN accounts ON accounts.AccountNo = login.AccountNo WHERE customer_detail.Account_No = '$AccountNo'"; 53 | 54 | $result = mysqli_query($conn, $query) or die(mysqli_error($conn)); 55 | if (mysqli_num_rows($result) > 0) { 56 | while ($row = mysqli_fetch_assoc($result)) { 57 | $Status = $row['Status']; 58 | } 59 | 60 | echo $Status; 61 | } else { 62 | echo "fail"; 63 | } 64 | } 65 | 66 | if (isset($_POST['DepositAc'])) { 67 | $AccountNo = $_POST['DepositAc']; 68 | $Amount = $_POST['MainAmount']; 69 | 70 | if ($Amount >= 100) { 71 | 72 | // mysqli_begin_transaction($conn, MYSQLI_TRANS_START_READ_ONLY); 73 | 74 | $Result = mysqli_query($conn, "SELECT * FROM customer_detail JOIN login ON customer_detail.Account_No = login.AccountNo JOIN accounts ON accounts.AccountNo = login.AccountNo WHERE customer_detail.Account_No = '$AccountNo'") or die(mysqli_error($conn)); 75 | if (mysqli_num_rows($Result) > 0) { 76 | 77 | while ($row = mysqli_fetch_assoc($Result)) { 78 | $Status = $row['Status']; 79 | $Balance = $row['Balance']; 80 | $Name = $row['C_First_Name']; 81 | $LName = $row['C_Last_Name']; 82 | $Email = $row['C_Email']; 83 | } 84 | if ($Status == "Active") { 85 | 86 | 87 | (string)$total = (float)$Amount + (float)$Balance; 88 | $SenderName = BANKNAME; 89 | 90 | // Check How to roll back perform testing and send email both side 91 | 92 | try { 93 | 94 | mysqli_begin_transaction($conn); 95 | 96 | mysqli_query($conn, "UPDATE accounts SET Balance='$total' WHERE AccountNo = '$AccountNo'") or die(mysqli_error($conn)); 97 | mysqli_query($conn, "INSERT INTO transaction(AccountNo, FAccountNo, Name, Amount,Status, ProfileColor, Credit, Debit) VALUES ('$AccountNo', 'NA','$SenderName', '$Amount','Credited', 'blue', '$Amount', '0.0')") or die(mysqli_error($conn)); 98 | mysqli_commit($conn); 99 | 100 | $date = date("d/m/Y"); 101 | $masked = str_pad(substr($AccountNo, -4), strlen($AccountNo), 'X', STR_PAD_LEFT); 102 | // echo $REmail." ".$RName." ".$Amount." ".$Rtotal." ".$date." ".$masked; 103 | 104 | creditMoneyMail($Email, $Name, $Amount, $total, $date, $masked); 105 | echo "Success"; 106 | } catch (\Throwable $th) { 107 | mysqli_rollback($conn); 108 | echo "fail"; 109 | } 110 | } else { 111 | echo "Transaction Fail Account Not Active"; 112 | } 113 | } 114 | } else { 115 | echo "Transaction Fail minimum amount required 100 rs"; 116 | } 117 | } 118 | 119 | // ------------------------------------------- Withdraw Money Code ------------------------------------------------- 120 | -------------------------------------------------------------------------------- /assets/css/Index.css: -------------------------------------------------------------------------------- 1 | /* Login Modal */ 2 | 3 | *{ 4 | outline: none; 5 | } 6 | .modal-login h5{ 7 | 8 | text-align: center; 9 | margin-left: auto; 10 | } 11 | .profile-pic{ 12 | max-height: 95px; 13 | } 14 | 15 | .text-center h4{ 16 | margin-top: 12px; 17 | font-size: 30px; 18 | color: #4158d0; 19 | } 20 | 21 | 22 | .input-box{ 23 | width: 450px; 24 | margin: auto; 25 | background: #fff; 26 | padding: 50px; 27 | margin-top: -15px; 28 | /* box-shadow: 0px 0px 10px rgba(0,0,0,0.1); */ 29 | } 30 | .input-box .input-data{ 31 | height: 40px; 32 | width: 100%; 33 | margin-bottom: 40px; 34 | position: relative; 35 | } 36 | .input-box .pass{ 37 | margin-bottom: -15px; 38 | } 39 | .input-box .input-data input{ 40 | height: 100%; 41 | width: 100%; 42 | border: none; 43 | font-size: 17px; 44 | border-bottom: 2px solid silver; 45 | } 46 | .input-data input:focus ~ label, 47 | .input-data input:valid ~ label{ 48 | transform: translateY(-20px); 49 | font-size: 15px; 50 | color: #4158d0; 51 | } 52 | .input-box .input-data label{ 53 | position: absolute; 54 | bottom: 10px; 55 | left: 0; 56 | color: grey; 57 | pointer-events: none; 58 | transition: all 0.3s ease; 59 | } 60 | .input-data .underline{ 61 | position: absolute; 62 | height: 2px; 63 | width: 100%; 64 | bottom: 0; 65 | } 66 | .input-data .underline:before{ 67 | position: absolute; 68 | content: ""; 69 | height: 100%; 70 | width: 100%; 71 | background: #4158d0; 72 | transform: scaleX(0); 73 | transform-origin: center; 74 | transition: transform 0.3s ease; 75 | } 76 | .input-data input:focus ~ .underline:before, 77 | .input-data input:valid ~ .underline:before{ 78 | transform: scaleX(1); 79 | } 80 | @media (max-width: 991px) { 81 | .input-box{ 82 | width: 325px; 83 | margin-top: -20px; 84 | padding-right: 30px; 85 | padding-left: 30px; 86 | } 87 | } 88 | 89 | .forgotSection{ 90 | display: flex; 91 | align-items: center; 92 | justify-content: center; 93 | } 94 | 95 | .loginButton{ 96 | display: flex; 97 | justify-content: center; 98 | align-items: center; 99 | } 100 | .loginBtn { 101 | font-family: "Poppins", sans-serif; 102 | font-weight: 500; 103 | font-size: 16px; 104 | letter-spacing: 1px; 105 | display: inline-block; 106 | padding: 10px 50px; 107 | border-radius: 30px; 108 | transition: 0.5s; 109 | margin-top: 20px; 110 | color: #5846f9; 111 | border: 2px solid #5846f9; 112 | color: white; 113 | background-color: #5846f9; 114 | } 115 | .loginBtn:hover{ 116 | background-color: #4158d0; 117 | color: white; 118 | } 119 | 120 | .createAccount{ 121 | display: flex; 122 | align-items: center; 123 | justify-content: center; 124 | margin-right: auto; 125 | margin-left: auto; 126 | } -------------------------------------------------------------------------------- /assets/css/createAccount.css: -------------------------------------------------------------------------------- 1 | * { 2 | box-sizing: border-box; 3 | } 4 | 5 | body { 6 | /* background: linear-gradient(to right, #8e2de2, #4a00e0); */ 7 | background: linear-gradient(45deg, rgba(86, 58, 250, 0.9) 0%, rgba(116, 15, 214, 0.9) 100%), url("../img/hero-bg.jpg") center center no-repeat; 8 | background-size: cover; 9 | } 10 | 11 | #regForm { 12 | background-color: #ffffff; 13 | margin: 100px auto; 14 | font-family: Raleway; 15 | padding: 40px; 16 | width: 70%; 17 | min-width: 300px; 18 | } 19 | 20 | h1 { 21 | text-align: center; 22 | } 23 | 24 | input { 25 | padding: 10px; 26 | width: 100%; 27 | font-size: 17px; 28 | font-family: Raleway; 29 | border: 1px solid #aaaaaa; 30 | } 31 | 32 | /* Mark input boxes that gets an error on validation: */ 33 | input.invalid { 34 | background-color: #ffdddd; 35 | } 36 | 37 | /* Hide all steps by default: */ 38 | .tab { 39 | display: none; 40 | } 41 | 42 | .CustomButton{ 43 | background: linear-gradient(to right, #8e2de2, #4a00e0); 44 | color: #ffffff; 45 | border: none; 46 | padding: 10px 20px; 47 | font-size: 17px; 48 | font-family: Raleway; 49 | cursor: pointer; 50 | } 51 | 52 | .CustomButton:hover { 53 | opacity: 0.8; 54 | } 55 | 56 | #prevBtn { 57 | background-color: #bbbbbb; 58 | } 59 | 60 | /* Make circles that indicate the steps of the form: */ 61 | .step { 62 | height: 15px; 63 | width: 15px; 64 | margin: 0 2px; 65 | background-color: #bbbbbb; 66 | border: none; 67 | border-radius: 50%; 68 | display: inline-block; 69 | opacity: 0.5; 70 | } 71 | 72 | .step.active { 73 | opacity: 1; 74 | } 75 | 76 | /* Mark the steps that are finished and valid: */ 77 | .step.finish { 78 | background: linear-gradient(to right, #8e2de2, #4a00e0); 79 | } 80 | 81 | .form-control ::placeholder { 82 | color: gray !important; 83 | 84 | } 85 | 86 | .SubAction { 87 | font-size: 18px; 88 | color: black; 89 | /* font-weight: bold; */ 90 | margin-top: 4px; 91 | margin-bottom: 20px; 92 | /* text-align: center; */ 93 | 94 | } 95 | 96 | .OtpMobile { 97 | width: 30%; 98 | margin: 0px auto; 99 | 100 | } 101 | 102 | .sendOtpsection { 103 | margin: 0px auto; 104 | } 105 | 106 | #sendOtpBtn { 107 | margin: 20px 20px 20px 70px; 108 | } 109 | 110 | @media screen and (max-width: 768px) { 111 | .OtpMobile { 112 | width: 100%; 113 | margin: 0px auto; 114 | } 115 | } 116 | 117 | .stepHead { 118 | color: #8e2de2; 119 | } -------------------------------------------------------------------------------- /assets/css/dummy.css: -------------------------------------------------------------------------------- 1 | body 2 | { 3 | width: 100%; 4 | height: 100vh; 5 | 6 | background: rgb(122,188,255); 7 | background: -moz-linear-gradient(-45deg, rgba(122,188,255,1) 0%, rgba(96,171,248,1) 44%, rgba(64,150,238,1) 100%); 8 | background: -webkit-linear-gradient(-45deg, rgba(122,188,255,1) 0%,rgba(96,171,248,1) 44%,rgba(64,150,238,1) 100%); 9 | background: linear-gradient(135deg, rgba(122,188,255,1) 0%,rgba(96,171,248,1) 44%,rgba(64,150,238,1) 100%); 10 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7abcff', endColorstr='#4096ee',GradientType=1 ); 11 | } 12 | .container 13 | { 14 | margin-top: 100px; 15 | } 16 | .multistep-container 17 | { 18 | max-width: 610px; 19 | margin: 0 auto; 20 | } 21 | .multistep-container .active-button 22 | { 23 | display: table; 24 | margin: auto; 25 | padding-left: 0; 26 | overflow:hidden; 27 | margin-bottom: 25px; 28 | } 29 | .multistep-container .active-button li 30 | { 31 | display: inline-block; 32 | width: 180px; 33 | } 34 | .multistep-container .active-button li .round-btn 35 | { 36 | width: 30px; 37 | height: 30px; 38 | border-radius: 50%; 39 | background-color: #ccc; 40 | display: block; 41 | color: #000; 42 | text-align: center; 43 | font-family: 'poppins'; 44 | font-weight: 500; 45 | line-height: 30px; 46 | max-width: 100%; 47 | margin: auto; 48 | position: relative; 49 | z-index: 1; 50 | } 51 | 52 | .multistep-container .active-button li.active .round-btn 53 | { 54 | background-color: var(--pink); 55 | color: var(--white); 56 | } 57 | 58 | .multistep-container .active-button li:not(:first-child) .round-btn:before 59 | { 60 | position: absolute; 61 | content: ''; 62 | width: 154px; 63 | height: 3px; 64 | background-color: #ccc; 65 | left: -154px; 66 | top: 50%; 67 | transform: translateY(-50%); 68 | z-index: -1; 69 | } 70 | .multistep-container .active-button li.active:not(:first-child) .round-btn:before 71 | { 72 | background-color: var(--pink) 73 | } 74 | 75 | .multistep-container .mutistep-form-area 76 | { 77 | background-color: var(--white); 78 | margin-top: 30px; 79 | box-shadow: 0 0 5px rgba(0,0,0,.5); 80 | position: relative; 81 | overflow:hidden; 82 | min-height: 544px; 83 | max-height: 544px; 84 | } 85 | 86 | .multistep-container .mutistep-form-area .form-box 87 | { 88 | position: absolute; 89 | top: 25px; 90 | left: 25px; 91 | } 92 | 93 | .multistep-container .mutistep-form-area .form-box h4 94 | { 95 | font-family: 'montserrat'; 96 | font-weight: 600; 97 | text-transform: uppercase; 98 | font-size: 20px; 99 | margin-bottom: 20px; 100 | text-align: center; 101 | } 102 | 103 | .multistep-container .mutistep-form-area .form-box label 104 | { 105 | font-family: 'roboto'; 106 | font-weight: 500; 107 | font-size: 15px; 108 | } 109 | 110 | .multistep-container .mutistep-form-area .form-box:nth-child(2), 111 | .multistep-container .mutistep-form-area .form-box:nth-child(3) 112 | { 113 | display: none; 114 | } 115 | 116 | .multistep-container .mutistep-form-area .form-box .button-row .next, 117 | .multistep-container .mutistep-form-area .form-box .button-row .previous, 118 | .multistep-container .mutistep-form-area .form-box .button-row .submit 119 | { 120 | background-color: var(--pink); 121 | border:0; 122 | box-shadow: none; 123 | padding: 7px 30px; 124 | min-width: 100px; 125 | border-radius: 20px; 126 | color: var(--white); 127 | font-family: 'roboto'; 128 | font-weight: 500; 129 | } 130 | 131 | .multistep-container .mutistep-form-area .form-box .button-row .submit 132 | { 133 | background-color: var(--purple); 134 | } 135 | 136 | .multistep-container .mutistep-form-area .form-box .button-row 137 | { 138 | display: table; 139 | margin: auto; 140 | margin-top: 20px; 141 | } -------------------------------------------------------------------------------- /assets/css/forgotPass.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-family: "Karla", sans-serif; 3 | /* background: linear-gradient(to right, #8e2de2, #4a00e0); */ 4 | /* background: linear-gradient(45deg, rgba(86, 58, 250, 0.4) 0%, rgba(116, 15, 214, 0.4) 100%), url("../img/back-img.jpg") center center no-repeat; */ 5 | background: url("../img/back-img.jpg"); 6 | background-size: cover; 7 | min-height: 100vh; 8 | } 9 | 10 | .brand-wrapper { 11 | margin-bottom: 19px; 12 | display: flex; 13 | 14 | } 15 | 16 | .brand-wrapper .logo { 17 | height: 37px; 18 | } 19 | .brand-wrapper p { 20 | padding-left: 10px; 21 | font-size: 24px; 22 | } 23 | 24 | .login-card { 25 | border: 0; 26 | border-radius: 27.5px; 27 | box-shadow: 0 10px 30px 0 rgba(172, 168, 168, 0.43); 28 | overflow: hidden; 29 | } 30 | 31 | .login-card-img { 32 | border-radius: 0; 33 | position: absolute; 34 | width: 95%; 35 | height: 95%; 36 | margin: 0px 80px; 37 | object-fit: contain; 38 | } 39 | 40 | .login-card .card-body { 41 | padding: 85px 60px 60px; 42 | margin: 0px 85px; 43 | } 44 | 45 | @media (max-width: 422px) { 46 | .login-card .card-body { 47 | padding: 35px 24px; 48 | } 49 | } 50 | 51 | .login-card-description { 52 | font-size: 25px; 53 | color: #000; 54 | font-weight: normal; 55 | margin-bottom: 23px; 56 | } 57 | 58 | .login-card form { 59 | max-width: 326px; 60 | } 61 | 62 | .login-card .form-control { 63 | border: 1px solid #d5dae2; 64 | padding: 15px 25px; 65 | margin-bottom: 20px; 66 | min-height: 45px; 67 | font-size: 13px; 68 | line-height: 15; 69 | font-weight: normal; 70 | } 71 | 72 | .login-card .form-control::-webkit-input-placeholder { 73 | color: #919aa3; 74 | } 75 | 76 | .login-card .form-control::-moz-placeholder { 77 | color: #919aa3; 78 | } 79 | 80 | .login-card .form-control:-ms-input-placeholder { 81 | color: #919aa3; 82 | } 83 | 84 | .login-card .form-control::-ms-input-placeholder { 85 | color: #919aa3; 86 | } 87 | 88 | .login-card .form-control::placeholder { 89 | color: #919aa3; 90 | } 91 | 92 | .login-card .login-btn { 93 | padding: 13px 20px 12px; 94 | background: linear-gradient(to right, #8e2de2, #4a00e0); 95 | border-radius: 4px; 96 | font-size: 17px; 97 | font-weight: bold; 98 | line-height: 20px; 99 | color: #fff; 100 | margin-bottom: 24px; 101 | } 102 | 103 | .login-card .login-btn:hover { 104 | opacity: 0.8; 105 | background-color: transparent; 106 | 107 | } 108 | 109 | .login-card .forgot-password-link { 110 | font-size: 14px; 111 | color: #919aa3; 112 | margin-bottom: 12px; 113 | } 114 | 115 | .login-card-footer-text { 116 | font-size: 16px; 117 | color: #0d2366; 118 | margin-bottom: 60px; 119 | } 120 | 121 | @media (max-width: 767px) { 122 | .login-card-footer-text { 123 | margin-bottom: 24px; 124 | } 125 | } 126 | 127 | .login-card-footer-nav a { 128 | font-size: 14px; 129 | color: #919aa3; 130 | } 131 | 132 | #partitioned { 133 | outline: none; 134 | padding-left: 15px; 135 | letter-spacing: 42px; 136 | border: 0; 137 | background-image: linear-gradient(to left, black 70%, rgba(255, 255, 255, 0) 0%); 138 | background-position: bottom; 139 | background-size: 50px 1px; 140 | background-repeat: repeat-x; 141 | background-position-x: 37px; 142 | width: 286px; 143 | } -------------------------------------------------------------------------------- /assets/css/login.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-family: "Karla", sans-serif; 3 | /* background: linear-gradient(to right, #8e2de2, #4a00e0); */ 4 | background: linear-gradient(45deg, rgba(86, 58, 250, 0.9) 0%, rgba(116, 15, 214, 0.9) 100%), url("../img/hero-bg.jpg") center center no-repeat; 5 | min-height: 100vh; 6 | } 7 | 8 | .brand-wrapper { 9 | margin-bottom: 19px; 10 | display: flex; 11 | 12 | } 13 | 14 | .brand-wrapper .logo { 15 | height: 37px; 16 | } 17 | .brand-wrapper p { 18 | padding-left: 10px; 19 | font-size: 24px; 20 | } 21 | 22 | .login-card { 23 | border: 0; 24 | border-radius: 27.5px; 25 | box-shadow: 0 10px 30px 0 rgba(172, 168, 168, 0.43); 26 | overflow: hidden; 27 | } 28 | 29 | .login-card-img { 30 | border-radius: 0; 31 | position: absolute; 32 | width: 100%; 33 | height: 100%; 34 | -o-object-fit: cover; 35 | object-fit: cover; 36 | } 37 | 38 | .login-card .card-body { 39 | padding: 85px 60px 60px; 40 | } 41 | 42 | @media (max-width: 422px) { 43 | .login-card .card-body { 44 | padding: 35px 24px; 45 | } 46 | } 47 | 48 | .login-card-description { 49 | font-size: 25px; 50 | color: #000; 51 | font-weight: normal; 52 | margin-bottom: 23px; 53 | } 54 | 55 | .login-card form { 56 | max-width: 326px; 57 | } 58 | 59 | .login-card .form-control { 60 | border: 1px solid #d5dae2; 61 | padding: 15px 25px; 62 | margin-bottom: 20px; 63 | min-height: 45px; 64 | font-size: 13px; 65 | line-height: 15; 66 | font-weight: normal; 67 | } 68 | 69 | .login-card .form-control::-webkit-input-placeholder { 70 | color: #919aa3; 71 | } 72 | 73 | .login-card .form-control::-moz-placeholder { 74 | color: #919aa3; 75 | } 76 | 77 | .login-card .form-control:-ms-input-placeholder { 78 | color: #919aa3; 79 | } 80 | 81 | .login-card .form-control::-ms-input-placeholder { 82 | color: #919aa3; 83 | } 84 | 85 | .login-card .form-control::placeholder { 86 | color: #919aa3; 87 | } 88 | 89 | .login-card .login-btn { 90 | padding: 13px 20px 12px; 91 | background: linear-gradient(to right, #8e2de2, #4a00e0); 92 | border-radius: 4px; 93 | font-size: 17px; 94 | font-weight: bold; 95 | line-height: 20px; 96 | color: #fff; 97 | margin-bottom: 24px; 98 | } 99 | 100 | .login-card .login-btn:hover { 101 | opacity: 0.8; 102 | background-color: transparent; 103 | 104 | } 105 | 106 | .login-card .forgot-password-link { 107 | font-size: 14px; 108 | color: #919aa3; 109 | margin-bottom: 12px; 110 | } 111 | 112 | .login-card-footer-text { 113 | font-size: 16px; 114 | color: #0d2366; 115 | margin-bottom: 60px; 116 | } 117 | 118 | @media (max-width: 767px) { 119 | .login-card-footer-text { 120 | margin-bottom: 24px; 121 | } 122 | } 123 | 124 | .login-card-footer-nav a { 125 | font-size: 14px; 126 | color: #919aa3; 127 | } 128 | -------------------------------------------------------------------------------- /assets/fonts/Open_Sans/OpenSans-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/Open_Sans/OpenSans-Bold.ttf -------------------------------------------------------------------------------- /assets/fonts/Open_Sans/OpenSans-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/Open_Sans/OpenSans-BoldItalic.ttf -------------------------------------------------------------------------------- /assets/fonts/Open_Sans/OpenSans-ExtraBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/Open_Sans/OpenSans-ExtraBold.ttf -------------------------------------------------------------------------------- /assets/fonts/Open_Sans/OpenSans-ExtraBoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/Open_Sans/OpenSans-ExtraBoldItalic.ttf -------------------------------------------------------------------------------- /assets/fonts/Open_Sans/OpenSans-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/Open_Sans/OpenSans-Italic.ttf -------------------------------------------------------------------------------- /assets/fonts/Open_Sans/OpenSans-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/Open_Sans/OpenSans-Light.ttf -------------------------------------------------------------------------------- /assets/fonts/Open_Sans/OpenSans-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/Open_Sans/OpenSans-LightItalic.ttf -------------------------------------------------------------------------------- /assets/fonts/Open_Sans/OpenSans-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/Open_Sans/OpenSans-Regular.ttf -------------------------------------------------------------------------------- /assets/fonts/Open_Sans/OpenSans-SemiBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/Open_Sans/OpenSans-SemiBold.ttf -------------------------------------------------------------------------------- /assets/fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto/Roboto-Black.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/Roboto/Roboto-Black.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto/Roboto-BlackItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/Roboto/Roboto-BlackItalic.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto/Roboto-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/Roboto/Roboto-Bold.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto/Roboto-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/Roboto/Roboto-BoldItalic.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto/Roboto-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/Roboto/Roboto-Italic.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto/Roboto-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/Roboto/Roboto-Light.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto/Roboto-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/Roboto/Roboto-LightItalic.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto/Roboto-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/Roboto/Roboto-Medium.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto/Roboto-MediumItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/Roboto/Roboto-MediumItalic.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto/Roboto-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/Roboto/Roboto-Regular.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto/Roboto-Thin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/Roboto/Roboto-Thin.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto/Roboto-ThinItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/Roboto/Roboto-ThinItalic.ttf -------------------------------------------------------------------------------- /assets/fonts/material-design-iconic-font/fonts/Material-Design-Iconic-Font.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/material-design-iconic-font/fonts/Material-Design-Iconic-Font.eot -------------------------------------------------------------------------------- /assets/fonts/material-design-iconic-font/fonts/Material-Design-Iconic-Font.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/material-design-iconic-font/fonts/Material-Design-Iconic-Font.ttf -------------------------------------------------------------------------------- /assets/fonts/material-design-iconic-font/fonts/Material-Design-Iconic-Font.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/material-design-iconic-font/fonts/Material-Design-Iconic-Font.woff -------------------------------------------------------------------------------- /assets/fonts/material-design-iconic-font/fonts/Material-Design-Iconic-Font.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/fonts/material-design-iconic-font/fonts/Material-Design-Iconic-Font.woff2 -------------------------------------------------------------------------------- /assets/img/Logo.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/img/Logo3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/img/Logo3.png -------------------------------------------------------------------------------- /assets/img/PageImage/loginImage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/img/PageImage/loginImage.jpg -------------------------------------------------------------------------------- /assets/img/SkyLogo.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/img/about.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/img/about.jpg -------------------------------------------------------------------------------- /assets/img/apple-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/img/apple-icon-180x180.png -------------------------------------------------------------------------------- /assets/img/back-img.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/img/back-img.jpg -------------------------------------------------------------------------------- /assets/img/counts-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/img/counts-bg.png -------------------------------------------------------------------------------- /assets/img/developers/DC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/img/developers/DC.png -------------------------------------------------------------------------------- /assets/img/developers/Digambar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/img/developers/Digambar.png -------------------------------------------------------------------------------- /assets/img/developers/jp.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/img/developers/jp.jpeg -------------------------------------------------------------------------------- /assets/img/developers/rp.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/img/developers/rp.jpeg -------------------------------------------------------------------------------- /assets/img/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/img/favicon-32x32.png -------------------------------------------------------------------------------- /assets/img/footer-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/img/footer-bg.jpg -------------------------------------------------------------------------------- /assets/img/hero-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/img/hero-bg.jpg -------------------------------------------------------------------------------- /assets/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/img/logo.png -------------------------------------------------------------------------------- /assets/img/secure.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/img/secure.webp -------------------------------------------------------------------------------- /assets/img/secureAC.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/img/secureAC.gif -------------------------------------------------------------------------------- /assets/img/testimonials/testimonials-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/img/testimonials/testimonials-1.jpg -------------------------------------------------------------------------------- /assets/img/testimonials/testimonials-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/img/testimonials/testimonials-2.jpg -------------------------------------------------------------------------------- /assets/img/testimonials/testimonials-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/img/testimonials/testimonials-3.jpg -------------------------------------------------------------------------------- /assets/img/testimonials/testimonials-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/img/testimonials/testimonials-4.jpg -------------------------------------------------------------------------------- /assets/img/testimonials/testimonials-5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/img/testimonials/testimonials-5.jpg -------------------------------------------------------------------------------- /assets/img/wizard_v4_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/img/wizard_v4_icon.png -------------------------------------------------------------------------------- /assets/js/contact.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function () { 2 | $("#submit").click(function (e) { 3 | console.log("Hello"); 4 | let name = $("#name").val(); 5 | let email = $("#email").val(); 6 | let subject = $("#subject").val(); 7 | let message = $("#message").val(); 8 | 9 | if (name == "") { 10 | $("#name").attr('required', true); 11 | console.log("Name r"); 12 | } 13 | else { 14 | if (email == "") { 15 | $("#email").attr("required", true); 16 | console.log("email r"); 17 | } 18 | else { 19 | if (/^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/.test(email)) { 20 | 21 | if (subject == "") { 22 | $("#subject").attr("required", true); 23 | } 24 | else { 25 | 26 | if (message == "") { 27 | $("#message").attr("required", true); 28 | } 29 | else { 30 | 31 | $.ajax({ 32 | type: "POST", 33 | url: "contact.php", 34 | data: { 35 | 36 | name: name, 37 | email: email, 38 | subject: subject, 39 | message: message 40 | }, 41 | beforeSend: function() { 42 | // setting a timeout 43 | $("#status").text('Message Sending ... '); 44 | $("#status").attr('hidden', false); 45 | 46 | }, 47 | success: function (response) { 48 | 49 | $("#status").attr('hidden', true); 50 | 51 | if (response == "success") { 52 | $("#name").val(""); 53 | $("#email").val(""); 54 | $("#subject").val(""); 55 | $("#message").val(""); 56 | $("#success-message").attr("hidden", false); 57 | $("#success-message").text("Message send successfully"); 58 | setTimeout(function () { 59 | $('#success-message').attr("hidden", true); 60 | }, 3000) 61 | } 62 | else { 63 | 64 | $("#name").val(""); 65 | $("#email").val(""); 66 | $("#subject").val(""); 67 | $("#message").val(""); 68 | $("#error-message").attr("hidden", false); 69 | $("#error-message").text("Message not send"); 70 | setTimeout(function () { 71 | $('#error-message').attr("hidden", true); 72 | }, 3000) 73 | } 74 | } 75 | }); 76 | } 77 | } 78 | 79 | } 80 | else { 81 | console.log("fail"); 82 | $('#error-message').attr("hidden", false); 83 | $('#error-message').text("Enter Valid Email"); 84 | setTimeout(function () { 85 | $('#error-message').attr("hidden", true); 86 | }, 3000) 87 | } 88 | } 89 | } 90 | 91 | e.preventDefault(); 92 | 93 | 94 | }); 95 | }); -------------------------------------------------------------------------------- /assets/js/createAccount.js: -------------------------------------------------------------------------------- 1 | var currentTab = 0; // Current tab is set to be the first tab (0) 2 | showTab(currentTab); // Display the current tab 3 | 4 | function showTab(n) { 5 | // This function will display the specified tab of the form... 6 | var x = document.getElementsByClassName("tab"); 7 | x[n].style.display = "block"; 8 | //... and fix the Previous/Next buttons: 9 | if (n == 0) { 10 | document.getElementById("prevBtn").style.display = "none"; 11 | } else { 12 | document.getElementById("prevBtn").style.display = "inline"; 13 | } 14 | if (n == (x.length - 1)) { 15 | document.getElementById("nextBtn").style.display = "none"; 16 | document.getElementById("prevBtn").style.display = "none"; 17 | document.getElementById("submitBtn").style.display= "inline"; 18 | 19 | } else { 20 | document.getElementById("nextBtn").innerHTML = "Next"; 21 | } 22 | //... and run a function that will display the correct step indicator: 23 | fixStepIndicator(n) 24 | } 25 | 26 | function nextPrev(n) { 27 | // This function will figure out which tab to display 28 | var x = document.getElementsByClassName("tab"); 29 | // Exit the function if any field in the current tab is invalid: 30 | if (n == 1 && !validateForm()) return false; 31 | // Hide the current tab: 32 | x[currentTab].style.display = "none"; 33 | // Increase or decrease the current tab by 1: 34 | currentTab = currentTab + n; 35 | // if you have reached the end of the form... 36 | if (currentTab >= x.length) { 37 | // ... the form gets submitted: 38 | document.getElementById("regForm").submit(); 39 | return false; 40 | } 41 | // Otherwise, display the correct tab: 42 | showTab(currentTab); 43 | } 44 | 45 | function validateForm() { 46 | // This function deals with validation of the form fields 47 | var x, y, i, valid = true; 48 | x = document.getElementsByClassName("tab"); 49 | y = x[currentTab].getElementsByTagName("input"); 50 | // A loop that checks every input field in the current tab: 51 | for (i = 0; i < y.length; i++) { 52 | // If a field is empty... 53 | if (y[i].value == "") { 54 | // add an "invalid" class to the field: 55 | y[i].className += " invalid"; 56 | // and set the current valid status to false 57 | valid = false; 58 | } 59 | } 60 | // If the valid status is true, mark the step as finished and valid: 61 | if (valid) { 62 | document.getElementsByClassName("step")[currentTab].className += " finish"; 63 | } 64 | return valid; // return the valid status 65 | } 66 | 67 | function fixStepIndicator(n) { 68 | // This function removes the "active" class of all steps... 69 | var i, x = document.getElementsByClassName("step"); 70 | for (i = 0; i < x.length; i++) { 71 | x[i].className = x[i].className.replace(" active", ""); 72 | } 73 | //... and adds the "active" class on the current step: 74 | x[n].className += " active"; 75 | } 76 | 77 | 78 | 79 | // Mobile No Validation 80 | 81 | function isNumber(evt) { 82 | evt = (evt) ? evt : window.event; 83 | var charCode = (evt.which) ? evt.which : evt.keyCode; 84 | if (charCode > 31 && (charCode < 48 || charCode > 57)) { 85 | alert("Please enter only Numbers."); 86 | return false; 87 | } 88 | 89 | return true; 90 | } 91 | 92 | function ValidateNo() { 93 | var phoneNo = document.getElementById('MobileNo'); 94 | 95 | if (phoneNo.value == "" || phoneNo.value == null) { 96 | alert("Please enter your Mobile No."); 97 | return false; 98 | } 99 | if (phoneNo.value.length < 10 || phoneNo.value.length > 10) { 100 | alert("Mobile No. is not valid, Please Enter 10 Digit Mobile No."); 101 | return false; 102 | } 103 | 104 | alert("Success "); 105 | return true; 106 | } 107 | 108 | 109 | 110 | -------------------------------------------------------------------------------- /assets/js/dummy.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function () { 2 | 3 | $('#file').change(function () { 4 | let fileSize = $(this)[0].files[0].size; 5 | 6 | let fileStr = $(this).val(); 7 | console.log(fileSize); 8 | 9 | 10 | let test = fileStr.match(/(.+)\.(.+)/); 11 | 12 | let filename = test[1]; 13 | console.log(filename); 14 | let filext = test[2]; 15 | console.log(filext); 16 | 17 | if (fileSize < 2000000) { 18 | if (filext == 'jpg' || filext == 'png' || filext == 'jpeg') { 19 | alert("match Found"); 20 | } 21 | else { 22 | alert("invalid file extention"); 23 | } 24 | } 25 | else{ 26 | alert("File is too big"); 27 | } 28 | 29 | }); 30 | 31 | 32 | }); 33 | -------------------------------------------------------------------------------- /assets/js/resetPass.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function () { 2 | $("#Password").change(function () { 3 | let Password = $(this).val(); 4 | 5 | if (!Password == "") { 6 | 7 | let regex = /^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.* )(?=.*[^a-zA-Z0-9]).{8,16}$/m; 8 | if (!regex.test(Password)) { 9 | $("#PasswordError").text("Password must be 8 charaters long with 1 uppercase 1 lowercase and 1 letter and 1 special charater"); 10 | $("#done").attr('disabled', true); 11 | } 12 | else { 13 | $("#PasswordError").text(""); 14 | $("#done").attr('disabled', false); 15 | } 16 | } 17 | else { 18 | $("#PasswordError").text("Password Can not Empty"); 19 | $("#done").attr('disabled', true); 20 | } 21 | 22 | }); 23 | 24 | $("#ConfirmPass").change(function () { 25 | let ConfirmPassword = $(this).val(); 26 | let Password = $("#Password").val(); 27 | 28 | if (!ConfirmPassword == "") { 29 | 30 | if (Password == ConfirmPassword) { 31 | $("#PasswordError").text(""); 32 | $("#done").attr('disabled', false); 33 | } 34 | else { 35 | 36 | $("#PasswordError").text("Please Enter Same Password"); 37 | $("#done").attr('disabled', true); 38 | } 39 | } 40 | else { 41 | $("#PasswordError").text("Please Confirm Password"); 42 | $("#done").attr('disabled', true); 43 | } 44 | 45 | }); 46 | 47 | }); -------------------------------------------------------------------------------- /assets/js/showHidePass.js: -------------------------------------------------------------------------------- 1 | // Name : Show Hide Password 2 | // Version : 1.0.0 3 | // Developer : Ekrem KAYA 4 | // Website : https://openix.io 5 | // GitHub : https://github.com/openix/show-hide-password 6 | 7 | (function($) { 8 | 'use strict'; 9 | $.fn.showHidePassword = function(option) { 10 | $.extend(this, option); 11 | 12 | // Check bootstrap input group 13 | var inputGroupCheck = $(this).parent().hasClass('input-group'); 14 | 15 | if (inputGroupCheck) { 16 | $(this).css({ 17 | borderTopRightRadius: '4px', 18 | borderBottomRightRadius: '4px' 19 | }); 20 | } else { 21 | $(this).wrap('
'); 22 | } 23 | 24 | $(this).after(''); 25 | 26 | // Add postion css password container 27 | $('.password-container').css({position: 'relative'}); 28 | 29 | var showHideIcon = $(this).parent().find('.show-hide-password'); 30 | 31 | // Add eye icon css 32 | $(showHideIcon).css({ 33 | position: 'absolute', 34 | display: 'none', 35 | top: '0', 36 | right: '0', 37 | height: $(this).outerHeight(true) - 2, 38 | marginTop: '8px', 39 | padding: '6px 11px', 40 | //borderLeft: '1px solid #CCC', 41 | cursor: 'pointer', 42 | zIndex : '999', 43 | color : 'black' 44 | }); 45 | 46 | // Show icon when you start entering password 47 | $(this).keyup(function(event) { 48 | var passwordVal = $(this).val(); 49 | 50 | if (passwordVal.length > 0) { 51 | // Add padding password input 52 | $(this).css({paddingRight : '34px'}); 53 | 54 | if (inputGroupCheck) { 55 | $(showHideIcon).css({padding: '8px 11px'}); 56 | } 57 | 58 | // Show eye icon 59 | $(this).parent().find(showHideIcon).show(); 60 | } 61 | }); 62 | 63 | // Change eye icon class 64 | $(showHideIcon).on('click', function() { 65 | var iconElement = this; 66 | 67 | // Change eye icon 68 | $(iconElement).find('i').toggleClass('fa-eye fa-eye-slash'); 69 | 70 | var findInputPassword = $(iconElement).parent().find('input'); 71 | var passwordFieldType = findInputPassword.attr('type'); 72 | 73 | // Show Hide Password 74 | if (passwordFieldType == 'password') { 75 | findInputPassword.attr('type', 'text'); 76 | } else { 77 | findInputPassword.attr('type', 'password'); 78 | } 79 | }); 80 | } 81 | })(window.jQuery); -------------------------------------------------------------------------------- /assets/vendor/bootstrap-icons/fonts/bootstrap-icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/vendor/bootstrap-icons/fonts/bootstrap-icons.woff -------------------------------------------------------------------------------- /assets/vendor/bootstrap-icons/fonts/bootstrap-icons.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/vendor/bootstrap-icons/fonts/bootstrap-icons.woff2 -------------------------------------------------------------------------------- /assets/vendor/bootstrap/css/bootstrap-reboot.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Reboot v5.0.0-beta2 (https://getbootstrap.com/) 3 | * Copyright 2011-2021 The Bootstrap Authors 4 | * Copyright 2011-2021 Twitter, Inc. 5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 6 | * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md) 7 | */*,::after,::before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}hr{margin:1rem 0;color:inherit;background-color:currentColor;border:0;opacity:.25}hr:not([size]){height:1px}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){h1{font-size:2.5rem}}h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){h2{font-size:2rem}}h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){h3{font-size:1.75rem}}h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){h4{font-size:1.5rem}}h5{font-size:1.25rem}h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[data-bs-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:.875em}mark{padding:.2em;background-color:#fcf8e3}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#0d6efd;text-decoration:underline}a:hover{color:#0a58ca}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em;direction:ltr;unicode-bidi:bidi-override}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:#d63384;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:1em;font-weight:700}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#6c757d;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}[list]::-webkit-calendar-picker-indicator{display:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important} 8 | /*# sourceMappingURL=bootstrap-reboot.min.css.map */ -------------------------------------------------------------------------------- /assets/vendor/bootstrap/css/bootstrap-reboot.rtl.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Reboot v5.0.0-beta2 (https://getbootstrap.com/) 3 | * Copyright 2011-2021 The Bootstrap Authors 4 | * Copyright 2011-2021 Twitter, Inc. 5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 6 | * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md) 7 | */*,::after,::before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}hr{margin:1rem 0;color:inherit;background-color:currentColor;border:0;opacity:.25}hr:not([size]){height:1px}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){h1{font-size:2.5rem}}h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){h2{font-size:2rem}}h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){h3{font-size:1.75rem}}h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){h4{font-size:1.5rem}}h5{font-size:1.25rem}h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[data-bs-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-right:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-right:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:.875em}mark{padding:.2em;background-color:#fcf8e3}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#0d6efd;text-decoration:underline}a:hover{color:#0a58ca}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em;direction:ltr;unicode-bidi:bidi-override}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:#d63384;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:1em;font-weight:700}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#6c757d;text-align:right}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}[list]::-webkit-calendar-picker-indicator{display:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:right;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:right}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}[type=email],[type=number],[type=tel],[type=url]{direction:ltr}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important} 8 | /*# sourceMappingURL=bootstrap-reboot.rtl.min.css.map */ -------------------------------------------------------------------------------- /assets/vendor/boxicons/css/transformations.css: -------------------------------------------------------------------------------- 1 | .bx-rotate-90 2 | { 3 | transform: rotate(90deg); 4 | 5 | -ms-filter: 'progid:DXImageTransform.Microsoft.BasicImage(rotation=1)'; 6 | } 7 | .bx-rotate-180 8 | { 9 | transform: rotate(180deg); 10 | 11 | -ms-filter: 'progid:DXImageTransform.Microsoft.BasicImage(rotation=2)'; 12 | } 13 | .bx-rotate-270 14 | { 15 | transform: rotate(270deg); 16 | 17 | -ms-filter: 'progid:DXImageTransform.Microsoft.BasicImage(rotation=3)'; 18 | } 19 | .bx-flip-horizontal 20 | { 21 | transform: scaleX(-1); 22 | 23 | -ms-filter: 'progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)'; 24 | } 25 | .bx-flip-vertical 26 | { 27 | transform: scaleY(-1); 28 | 29 | -ms-filter: 'progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)'; 30 | } 31 | -------------------------------------------------------------------------------- /assets/vendor/boxicons/fonts/boxicons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/vendor/boxicons/fonts/boxicons.eot -------------------------------------------------------------------------------- /assets/vendor/boxicons/fonts/boxicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/vendor/boxicons/fonts/boxicons.ttf -------------------------------------------------------------------------------- /assets/vendor/boxicons/fonts/boxicons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/vendor/boxicons/fonts/boxicons.woff -------------------------------------------------------------------------------- /assets/vendor/boxicons/fonts/boxicons.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/assets/vendor/boxicons/fonts/boxicons.woff2 -------------------------------------------------------------------------------- /assets/vendor/php-email-form/validate.js: -------------------------------------------------------------------------------- 1 | /** 2 | * PHP Email Form Validation - v3.0 3 | * URL: https://bootstrapmade.com/php-email-form/ 4 | * Author: BootstrapMade.com 5 | */ 6 | (function () { 7 | "use strict"; 8 | 9 | let forms = document.querySelectorAll('.php-email-form'); 10 | 11 | forms.forEach( function(e) { 12 | e.addEventListener('submit', function(event) { 13 | event.preventDefault(); 14 | 15 | let thisForm = this; 16 | 17 | let action = thisForm.getAttribute('action'); 18 | let recaptcha = thisForm.getAttribute('data-recaptcha-site-key'); 19 | 20 | if( ! action ) { 21 | displayError(thisForm, 'The form action property is not set!') 22 | return; 23 | } 24 | thisForm.querySelector('.loading').classList.add('d-block'); 25 | thisForm.querySelector('.error-message').classList.remove('d-block'); 26 | thisForm.querySelector('.sent-message').classList.remove('d-block'); 27 | 28 | let formData = new FormData( thisForm ); 29 | 30 | if ( recaptcha ) { 31 | if(typeof grecaptcha !== "undefined" ) { 32 | grecaptcha.ready(function() { 33 | try { 34 | grecaptcha.execute(recaptcha, {action: 'php_email_form_submit'}) 35 | .then(token => { 36 | formData.set('recaptcha-response', token); 37 | php_email_form_submit(thisForm, action, formData); 38 | }) 39 | } catch(error) { 40 | displayError(thisForm, error) 41 | } 42 | }); 43 | } else { 44 | displayError(thisForm, 'The reCaptcha javascript API url is not loaded!') 45 | } 46 | } else { 47 | php_email_form_submit(thisForm, action, formData); 48 | } 49 | }); 50 | }); 51 | 52 | function php_email_form_submit(thisForm, action, formData) { 53 | fetch(action, { 54 | method: 'POST', 55 | body: formData, 56 | headers: {'X-Requested-With': 'XMLHttpRequest'} 57 | }) 58 | .then(response => { 59 | if( response.ok ) { 60 | return response.text() 61 | } else { 62 | throw new Error(`${response.status} ${response.statusText} ${response.url}`); 63 | } 64 | }) 65 | .then(data => { 66 | thisForm.querySelector('.loading').classList.remove('d-block'); 67 | if (data.trim() == 'OK') { 68 | thisForm.querySelector('.sent-message').classList.add('d-block'); 69 | thisForm.reset(); 70 | } else { 71 | throw new Error(data ? data : 'Form submission failed and no error message returned from: ' + action); 72 | } 73 | }) 74 | .catch((error) => { 75 | displayError(thisForm, error); 76 | }); 77 | } 78 | 79 | function displayError(thisForm, error) { 80 | thisForm.querySelector('.loading').classList.remove('d-block'); 81 | thisForm.querySelector('.error-message').innerHTML = error; 82 | thisForm.querySelector('.error-message').classList.add('d-block'); 83 | } 84 | 85 | })(); 86 | -------------------------------------------------------------------------------- /assets/vendor/purecounter/purecounter.js: -------------------------------------------------------------------------------- 1 | !function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=2)}([,,function(e,t,n){e.exports=n(3)},function(e,t,n){"use strict";function r(e,t){for(var n=0;nr.end?r.end:r.start:void setTimeout(function(){return void 0!==e.target?n.startCounter(e.target,r):n.startCounter(e,r)},r.delay)})}},{key:"startCounter",value:function(e,t){var n=this,r=(t.end-t.start)/(t.duration/t.delay),a="inc";t.start>t.end&&(a="dec",r*=-1),r<1&&t.decimals<=0&&(r=1);var i=t.decimals<=0?parseInt(t.start):parseFloat(t.start).toFixed(t.decimals);e.innerHTML=i,!0===t.once&&e.setAttribute("data-purecounter-duration",0);var o=setInterval(function(){var s=n.nextNumber(i,r,t,a);e.innerHTML=n.formatNumber(s,t),((i=s)>=t.end&&"inc"==a||i<=t.end&&"dec"==a)&&(clearInterval(o),i!=t.end&&(e.innerHTML=t.decimals<=0?parseInt(t.end):parseFloat(t.end).toFixed(t.decimals)))},t.delay)}},{key:"parseConfig",value:function(e){for(var t=[].filter.call(e.attributes,function(e){return/^data-purecounter-/.test(e.name)}),n={start:0,end:9001,duration:2e3,delay:10,once:!0,decimals:0,legacy:!0},r=0;r=window.pageYOffset&&n>=window.pageXOffset&&t+a<=window.pageYOffset+window.innerHeight&&n+r<=window.pageXOffset+window.innerWidth}},{key:"intersectionListenerSupported",value:function(){return"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype}}])&&r(t.prototype,n),a&&r(t,a),e}())}]); -------------------------------------------------------------------------------- /config.php: -------------------------------------------------------------------------------- 1 | 8 | * @author Jim Jagielski (jimjag) 9 | * @author Andy Prevost (codeworxtech) 10 | * @author Brent R. Matzelle (original founder) 11 | * @copyright 2012 - 2014 Marcus Bointon 12 | * @copyright 2010 - 2012 Jim Jagielski 13 | * @copyright 2004 - 2009 Andy Prevost 14 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License 15 | * @note This program is distributed in the hope that it will be useful - WITHOUT 16 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 | * FITNESS FOR A PARTICULAR PURPOSE. 18 | */ 19 | 20 | /** 21 | * PHPMailer SPL autoloader. 22 | * @param string $classname The name of the class to load 23 | */ 24 | function PHPMailerAutoload($classname) 25 | { 26 | //Can't use __DIR__ as it's only in PHP 5.3+ 27 | $filename = dirname(__FILE__).DIRECTORY_SEPARATOR.'class.'.strtolower($classname).'.php'; 28 | if (is_readable($filename)) { 29 | require $filename; 30 | } 31 | } 32 | 33 | if (version_compare(PHP_VERSION, '5.1.2', '>=')) { 34 | //SPL autoloading was introduced in PHP 5.1.2 35 | if (version_compare(PHP_VERSION, '5.3.0', '>=')) { 36 | spl_autoload_register('PHPMailerAutoload', true, true); 37 | } else { 38 | spl_autoload_register('PHPMailerAutoload'); 39 | } 40 | } else { 41 | /** 42 | * Fall back to traditional autoload for old PHP versions 43 | * @param string $classname The name of the class to load 44 | */ 45 | function __autoload($classname) 46 | { 47 | PHPMailerAutoload($classname); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /mail/TransactionMail.php: -------------------------------------------------------------------------------- 1 | isSMTP(); 22 | $mail->Host = 'smtp.gmail.com'; 23 | $mail->Port = 587; 24 | $mail->SMTPAuth = true; 25 | $mail->SMTPSecure = 'tls'; 26 | 27 | 28 | 29 | $mail->Username = EMAIL; 30 | $mail->Password = PASSWORD; 31 | 32 | $content = file_get_contents('../mail/DebitMailTemp.php'); 33 | $mail->setFrom(EMAIL, BANKNAME); 34 | $mail->addAddress($customerMail); 35 | $mail->addReplyTo(EMAIL); 36 | 37 | $mail->isHTML(true); 38 | $mail->Subject = "Your Account '$AccountNo' has been debited"; 39 | 40 | $swap_var = array( 41 | 42 | "{Name}" => "$name", 43 | "{AccountNo}" => "$AccountNo", 44 | "{Amount}" => "$amount", 45 | "{Date}" => "$date", 46 | "{totalAmount}" => "$totalAmount", 47 | "{BankName}" => BANKNAME, 48 | "{Address}" => ADDRESS, 49 | 50 | ); 51 | 52 | foreach (array_keys($swap_var) as $key) { 53 | if (strlen($key) > 2 && trim($key) != "") { 54 | $content = str_replace($key, $swap_var[$key], $content); 55 | } 56 | } 57 | 58 | $mail->Body = "$content"; 59 | 60 | 61 | if (!$mail->send()) { 62 | echo "mail not sent"; 63 | } 64 | } 65 | 66 | function creditMoneyMail($customerMail, $name, $amount, $totalAmount, $date, $AccountNo) 67 | { 68 | $mail = new PHPMailer; 69 | $mail->isSMTP(); 70 | $mail->Host = 'smtp.gmail.com'; 71 | $mail->Port = 587; 72 | $mail->SMTPAuth = true; 73 | $mail->SMTPSecure = 'tls'; 74 | 75 | 76 | 77 | $mail->Username = EMAIL; 78 | $mail->Password = PASSWORD; 79 | 80 | $content = file_get_contents('../mail/CreditMailTemp.php'); 81 | $mail->setFrom(EMAIL, BANKNAME); 82 | $mail->addAddress($customerMail); 83 | $mail->addReplyTo(EMAIL); 84 | 85 | $mail->isHTML(true); 86 | $mail->Subject = "Your Account '$AccountNo' can be credited"; 87 | 88 | $swap_var = array( 89 | 90 | "{Name}" => "$name", 91 | "{AccountNo}" => "$AccountNo", 92 | "{Amount}" => "$amount", 93 | "{Date}" => "$date", 94 | "{totalAmount}" => "$totalAmount", 95 | "{BankName}" => BANKNAME, 96 | "{Address}" => ADDRESS, 97 | ); 98 | 99 | foreach (array_keys($swap_var) as $key) { 100 | if (strlen($key) > 2 && trim($key) != "") { 101 | $content = str_replace($key, $swap_var[$key], $content); 102 | } 103 | } 104 | 105 | $mail->Body = "$content"; 106 | 107 | 108 | if (!$mail->send()) { 109 | echo "mail not sent"; 110 | } 111 | } 112 | -------------------------------------------------------------------------------- /mail/congraMail.php: -------------------------------------------------------------------------------- 1 | isSMTP(); 11 | $mail->Host = 'smtp.gmail.com'; 12 | $mail->Port = 587; 13 | $mail->SMTPAuth = true; 14 | $mail->SMTPSecure = 'tls'; 15 | 16 | 17 | $mail->Username = EMAIL; 18 | $mail->Password = PASSWORD; 19 | 20 | $content = file_get_contents('../mail/congraTemp.php'); 21 | $mail->setFrom(EMAIL, BANKNAME); 22 | $mail->addAddress($customerMail); 23 | $mail->addReplyTo(EMAIL); 24 | 25 | $mail->isHTML(true); 26 | $mail->Subject = "Account Created Sucessfully!"; 27 | 28 | $swap_var = array( 29 | 30 | "{Name}" => "$name", 31 | "{BankName}" => BANKNAME 32 | 33 | ); 34 | 35 | foreach (array_keys($swap_var) as $key) { 36 | if (strlen($key) > 2 && trim($key) != "") { 37 | $content = str_replace($key, $swap_var[$key], $content); 38 | } 39 | } 40 | 41 | $mail->Body = "$content"; 42 | 43 | 44 | if (!$mail->send()) { 45 | echo "mail not sent"; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /mail/contactMail.php: -------------------------------------------------------------------------------- 1 | isSMTP(); 11 | $mail->Host = 'smtp.gmail.com'; 12 | $mail->Port = 587; 13 | $mail->SMTPAuth = true; 14 | $mail->SMTPSecure = 'tls'; 15 | 16 | $mail->Username = EMAIL; 17 | $mail->Password = PASSWORD; 18 | 19 | $mail->setFrom(EMAIL, BANKNAME); 20 | $mail->addAddress(EMAIL); 21 | $mail->addReplyTo(EMAIL); 22 | 23 | $mail->isHTML(true); 24 | $mail->Subject = "$subject"; 25 | $mail->Body = "

Email From: $name

Email Address: $Email

$body

"; 26 | 27 | if (!$mail->send()) { 28 | return "fail"; 29 | } else { 30 | return "success"; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /mail/mail_config.php: -------------------------------------------------------------------------------- 1 | isSMTP(); 11 | $mail->Host = 'smtp.gmail.com'; 12 | $mail->Port = 587; 13 | $mail->SMTPAuth = true; 14 | $mail->SMTPSecure = 'tls'; 15 | 16 | 17 | $mail->Username = EMAIL; 18 | $mail->Password = PASSWORD; 19 | 20 | 21 | $content = file_get_contents('../mail/otpMail.php'); 22 | $mail->setFrom(EMAIL, BANKNAME); 23 | $mail->addAddress($customerMail); 24 | $mail->addReplyTo(EMAIL); 25 | 26 | $mail->isHTML(true); 27 | $mail->Subject = "Email Verification"; 28 | 29 | $swap_var = array( 30 | 31 | "{Name}" => "$name", 32 | "{otp}" => "$otp", 33 | "{BankName}" => BANKNAME, 34 | "{Address}" => ADDRESS, 35 | 36 | ); 37 | 38 | foreach (array_keys($swap_var) as $key) { 39 | if (strlen($key) > 2 && trim($key) != "") { 40 | $content = str_replace($key, $swap_var[$key], $content); 41 | } 42 | } 43 | 44 | $mail->Body = "$content"; 45 | 46 | 47 | if (!$mail->send()) { 48 | echo "mail not sent"; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /mail/otpForgot.php: -------------------------------------------------------------------------------- 1 | isSMTP(); 12 | $mail->Host = 'smtp.gmail.com'; 13 | $mail->Port = 587; 14 | $mail->SMTPAuth = true; 15 | $mail->SMTPSecure = 'tls'; 16 | 17 | 18 | $mail->Username = EMAIL; 19 | $mail->Password = PASSWORD; 20 | 21 | 22 | $content = file_get_contents('../mail/otpForgotTemp.php'); 23 | $mail->setFrom(EMAIL, BANKNAME); 24 | $mail->addAddress($customerMail); 25 | $mail->addReplyTo(EMAIL); 26 | 27 | 28 | $mail->isHTML(true); 29 | $mail->Subject = "Forgot Password OTP"; 30 | 31 | $swap_var = array( 32 | 33 | "{name}" => "$name", 34 | "{otp}" => "$otp", 35 | "{BankName}" => BANKNAME, 36 | "{Address}" => ADDRESS 37 | 38 | ); 39 | 40 | foreach (array_keys($swap_var) as $key) { 41 | if (strlen($key) > 2 && trim($key) != "") { 42 | $content = str_replace($key, $swap_var[$key], $content); 43 | } 44 | } 45 | 46 | $mail->Body = "$content"; 47 | 48 | 49 | if ($mail->send()) { 50 | return "success"; 51 | } else { 52 | return "fail"; 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /pages/Securepayment.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 |
9 | 10 | 11 | 23 | 24 |
25 |
26 |

Secure Payment

27 |

28 | We provide you the exceptional security system for the bank transactions.
We give you the secure access of 29 | your Confidential data with the service
of data encryption. 30 |

31 |

The use of Pin(Password for Login) and OTP to authenticate transaction
makes you feel secure to send 32 | money. We ensure you to provide the
secured enviornment for your online 33 | banking experience.

34 |
35 |
36 | 37 |
38 | 39 | 40 | 43 | 44 | -------------------------------------------------------------------------------- /pages/about.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 |
9 |
10 | 11 |
12 |

About Team

13 |

Teamwork is the ability to work together toward a common vision.

14 |
15 | 16 |
17 |
18 |
19 |
20 | 21 |
22 |

Digambar Chaudhari

23 |

(Designer & Developer)

24 |

The Man Who Has Power of Imagination, He Has a Wings

25 | 26 |
27 |
28 | 29 |
30 |
31 |
32 | 33 |
34 |

Jayesh Punjabi

35 |

(Designer & Developer)

36 |

Everything should be made as simple as possible, but not simpler.

37 |
38 |
39 | 40 |
41 |
42 |
43 | 44 |
45 |

Rushikesh Patil

46 |

(Frontend Developer)

47 |

Beauty in things exists in the mind which contemplates them.

48 |
49 |
50 | 51 |
52 | 53 |
54 | 55 |
56 |
57 |
58 | 59 |
60 |

Pavan Patil

61 |

(Software Tester)

62 |

The principle objective of software testing is to give confidence in the 63 | software.

64 |
65 |
66 | 67 |
68 | 69 |
70 | 71 |
72 | 73 |
74 |
75 | 76 | 79 | 80 | 81 | -------------------------------------------------------------------------------- /pages/cards.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 |
9 | 10 | 11 | 23 | 24 |
25 |
26 |

Credit Card & Debit Card

27 |

We provide you the best credit card and debit card
services. With the help of these services it will be
much easier for you to Shop at any time without
28 | the burdun of cash and problems of change. 29 |

30 |

31 | Our bank provide you the the best user experience
to shop with your card and manage them without
any casualties. 32 |

33 |
34 |
35 | 36 |
37 | 38 | 39 | 42 | 43 | -------------------------------------------------------------------------------- /pages/footer.php: -------------------------------------------------------------------------------- 1 | 2 | 82 | 83 | 84 |
85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | -------------------------------------------------------------------------------- /pages/header.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | <?php echo $title ?> 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /pages/insurance.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 |
9 | 10 | 11 | 23 | 24 |
25 |
26 |

Insurance

27 |

Say no to spending hours and days in queue doing
the paperwork for your insurance policy. Get your
28 | insurance issued with instantly 29 |

30 |

The entire process from selecting best insurance
to getting it issue just take 10-15 minutes on
31 | . 32 |

33 |
34 |
35 | 36 |
37 | 38 | 39 | 40 | 43 | 44 | -------------------------------------------------------------------------------- /pages/loans.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 |
9 | 10 | 11 | 23 | 24 |
25 |
26 |

Loans

27 |

28 | Our bank provide you the personal loan facility
with the very low rate of intrest per annum. Just
fill the online application form for personal
employement 29 | and financial details and our
respresentative will get in touch with you in
in next 24 hours. 30 |

31 |

32 | Once the verification process completed by the
the fund disbursal will take place in just two
working days. 33 |

34 |
35 |
36 | 37 |
38 | 39 | 40 | 41 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /pages/onlineBanking.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 |
10 | 11 | 12 | 24 | 25 |
26 |
27 |

Online Banking

28 |

29 | Our bank allows you the 24/7 online banking experience.
You can access your bank account from anywhere in the
world with help of internet service, without taking a
30 | visit to a physical branch. 31 |

32 |

33 | Just register yourself to website, have a unique username
and password and you are good to go with your online
banking journey. 34 |

35 |
36 |
37 | 38 |
39 | 40 | 41 | 42 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /pages/service24x7.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 |
9 | 10 | 11 | 23 | 24 |
25 |
26 |

24x7 Service

27 |

28 | Our bank gives you secure access to your account
online 24/7 at you convenience weather you are
at home, at office or travelling abroad. 29 |

30 |

31 | Manage your finance with comfort at your home
or at your office and enjoy the banking like never
before. 32 |

33 |
34 |
35 | 36 |
37 | 38 | 39 | 40 | 43 | 44 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | 2 | # Net Banking Project in PHP 3 | 4 | In this project i have develop real world net-banking project. This project is a best simulator for banking learners 5 | 6 | ## Features 7 | 8 | - Secure login and signup system with md5 encryption 9 | - OTP verification 10 | - Two Step verification with google authenticator 11 | - Admin & user panel 12 | - Withdraw and deposit section 13 | - Money transfer system 14 | - KYC verification 15 | - Email alerts after every transaction 16 | - Saving page 17 | - Request debit card 18 | 19 | ## Demo 20 | 21 | View live demo of project 👇 22 | 23 | https://skybnk.000webhostapp.com 24 | 25 | OR 26 | Watch video on YouTube 👇 27 | https://youtu.be/9OP36wzL4tE 28 | ## Screenshots 29 | 1] Landing Page 30 | 31 | ![App Screenshot](https://raw.githubusercontent.com/DigambarBC/image-hosting/main/landing%20page.png) 32 | 33 | 2] Login Page 34 | 35 | ![App Screenshot](https://raw.githubusercontent.com/DigambarBC/image-hosting/main/login_dash.png) 36 | 37 | 3] User Dashboard 38 | 39 | ![App Screenshot](https://raw.githubusercontent.com/DigambarBC/image-hosting/main/php_bank_userdash.png) 40 | 41 | ## Installation 42 | 43 | Install project with git 44 | 45 | ```bash 46 | https://github.com/skytech4u/Netbanking-System-in-PHP.git 47 | cd NetBanking-System-in-PHP 48 | ``` 49 | ## Steps to run Project 50 | 51 | ### Xampp Installation 52 | To run this project we need php version 7 53 | 54 | 👇 Download supportive version of xampp 👇 55 | https://sourceforge.net/projects/xampp/files/XAMPP%20Windows/7.2.33/xampp-windows-x64-7.2.33-1-VC15-installer.exe/download 56 | 57 | After Xampp download install it in your pc 58 | 59 | ### Code Edit Steps 60 | 1. Copy SkyBank Project Folder And Paste in htdocs folder (htdocs found in xampp Setup) 61 | 2. Open SkyBank Folder With VScode or other editor 62 | 3. Create app password in google and copy it (follow the video tutorial -> how to make app password [video link -> https://youtu.be/J4CtP1MBtOE] ) 63 | 4. Now Open config.php file which is in root directory 64 | Then Add Your Email and App Password in double quotes 65 | Example 👇 66 | #### Before Edit 67 | define("EMAIL", ""); 68 | define("PASSWORD", ""); 69 | 70 | #### After Edit 71 | define("EMAIL", "skytechcreators@gmail.com"); 72 | define("PASSWORD", "asdfghjklpoiu"); 73 | 74 | 75 | 76 | 5. Now Save File 77 | 78 | 79 | 6. Setup Database 80 | 81 | 1] Run xampp.exe 82 | 2] Start Apache then start mysql 83 | 3] click on Admin botton in front of mysql OR type this url in browser (http://localhost/phpmyadmin/) 84 | 4] Create New Database With The Same Name of (skybank) 85 | 5] click on import tab 86 | 6] click on Choose File Button and Select Database file from Project Folder Location : SkyBank > database > skybank.sql 87 | 7] click on go Button 88 | 8] refer this tutorial (https://youtu.be/7WUw9J3Xs8Q) 89 | 90 | 91 | 7. now start project with this link (http://localhost/SkyBank/) 92 | 8. Create Account 93 | 9. To Make Admin Account follow the step given Below 94 | 95 | 1] Create Normal User Account 96 | 2] Go to mysql Database 97 | 3] Open login tabel 98 | 4] to edit any value in database just double click on it. So double click on Status. 99 | 5] repalce value in the status coloumn with "Super" and in State = 1 100 | 101 | Example to make admin 102 | ![App Screenshot](https://raw.githubusercontent.com/digambar2002/image-hosting/main/dsfile.jpg) 103 | 104 | Note: Without Admin Account User Account Cannot Activate 105 | 106 | 10. Now Make User Account. Then Login to Admin Account > click on menue > select Verify Accounts > Click On Verify Button to activate user account 107 | 11. Now login As User 108 | 109 | 🎉 Now Enjoy Project 😉 110 | 111 | ### This is a demo of the project. Some features are removed from project you need to purchase the source code. I will provide you source code at an affordable price. 112 | #### View Project Price 👇 113 | https://skytech4u.github.io/skytech/ -------------------------------------------------------------------------------- /user/AccountValidation.php: -------------------------------------------------------------------------------- 1 | "; 67 | 68 | // Create Otp 69 | $otp = rand(100000, 999999); 70 | 71 | echo "
"; 72 | 73 | // storing otp to server 74 | $_SESSION['otp'] = $otp; 75 | 76 | // Calling Otp Function to send email 77 | $sucess = sendOtp($mail, $otp, $name); 78 | 79 | 80 | } 81 | 82 | // Validating Otp 83 | if(isset($_POST['OTP'])){ 84 | 85 | $userOtp = trim($_POST['OTP']); 86 | $SessionOtp = trim($_SESSION['otp']); 87 | 88 | if($SessionOtp == $userOtp){ 89 | 90 | echo "Valid"; 91 | } 92 | else{ 93 | echo "Invalid"; 94 | } 95 | 96 | } 97 | 98 | 99 | // checking Username is set or not 100 | if (isset($_POST['Username'])) { 101 | 102 | /* storing Pan Number in varible using mysqli_real_escape_string function to remove special charaters like double quotes or etc */ 103 | $Username = mysqli_real_escape_string($conn, $_POST['Username']); 104 | 105 | // sql query to check Pan no is available or not 106 | $query3 = "SELECT * FROM login WHERE Username = '".$Username."'"; 107 | 108 | // stroing result rows in variable 109 | $result3 = mysqli_query($conn, $query3); 110 | 111 | // this single line perform most important role this line print output and this output is send to the ajax 112 | echo mysqli_num_rows($result3); 113 | } 114 | -------------------------------------------------------------------------------- /user/UserData/assets/img/gold-card-chip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/user/UserData/assets/img/gold-card-chip.png -------------------------------------------------------------------------------- /user/UserData/assets/img/target.svg: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /user/UserData/assets/img/targetBtn.svg: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /user/UserData/assets/jquery-circle-progress-master.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/user/UserData/assets/jquery-circle-progress-master.zip -------------------------------------------------------------------------------- /user/UserData/assets/jquery-circle-progress-master/dist/circle-progress.min.js: -------------------------------------------------------------------------------- 1 | /** 2 | * jquery-circle-progress - jQuery Plugin to draw animated circular progress bars: 3 | * {@link http://kottenator.github.io/jquery-circle-progress/} 4 | * 5 | * @author Rostyslav Bryzgunov 6 | * @version 1.2.2 7 | * @licence MIT 8 | * @preserve 9 | */ 10 | !function(i){if("function"==typeof define&&define.amd)define(["jquery"],i);else if("object"==typeof module&&module.exports){var t=require("jquery");i(t),module.exports=t}else i(jQuery)}(function(i){function t(i){this.init(i)}t.prototype={value:0,size:100,startAngle:-Math.PI,thickness:"auto",fill:{gradient:["#3aeabb","#fdd250"]},emptyFill:"rgba(0, 0, 0, .1)",animation:{duration:1200,easing:"circleProgressEasing"},animationStartValue:0,reverse:!1,lineCap:"butt",insertMode:"prepend",constructor:t,el:null,canvas:null,ctx:null,radius:0,arcFill:null,lastFrameValue:0,init:function(t){i.extend(this,t),this.radius=this.size/2,this.initWidget(),this.initFill(),this.draw(),this.el.trigger("circle-inited")},initWidget:function(){this.canvas||(this.canvas=i("")["prepend"==this.insertMode?"prependTo":"appendTo"](this.el)[0]);var t=this.canvas;if(t.width=this.size,t.height=this.size,this.ctx=t.getContext("2d"),window.devicePixelRatio>1){var e=window.devicePixelRatio;t.style.width=t.style.height=this.size+"px",t.width=t.height=this.size*e,this.ctx.scale(e,e)}},initFill:function(){function t(){var t=i("")[0];t.width=e.size,t.height=e.size,t.getContext("2d").drawImage(g,0,0,r,r),e.arcFill=e.ctx.createPattern(t,"no-repeat"),e.drawFrame(e.lastFrameValue)}var e=this,a=this.fill,n=this.ctx,r=this.size;if(!a)throw Error("The fill is not specified!");if("string"==typeof a&&(a={color:a}),a.color&&(this.arcFill=a.color),a.gradient){var s=a.gradient;if(1==s.length)this.arcFill=s[0];else if(s.length>1){for(var l=a.gradientAngle||0,o=a.gradientDirection||[r/2*(1-Math.cos(l)),r/2*(1+Math.sin(l)),r/2*(1+Math.cos(l)),r/2*(1-Math.sin(l))],h=n.createLinearGradient.apply(n,o),c=0;c%'); 27 | }); 28 | 29 | /* 30 | * Example 3: 31 | * 32 | * - very custom gradient 33 | * - listening to `circle-animation-progress` event and display the dynamic change of the value: from 0 to 0.8 34 | */ 35 | $('.third.circle').circleProgress({ 36 | value: 0.75, 37 | fill: {gradient: [['#0681c4', .5], ['#4ac5f8', .5]], gradientAngle: Math.PI / 4} 38 | }).on('circle-animation-progress', function(event, progress, stepValue) { 39 | $(this).find('strong').text(stepValue.toFixed(2).substr(1)); 40 | }); 41 | 42 | /* 43 | * Example 4: 44 | * 45 | * - solid color fill 46 | * - custom start angle 47 | * - custom line cap 48 | * - dynamic value set 49 | */ 50 | var c4 = $('.forth.circle'); 51 | 52 | c4.circleProgress({ 53 | startAngle: -Math.PI / 4 * 3, 54 | value: 0.5, 55 | lineCap: 'round', 56 | fill: {color: '#ffa500'} 57 | }); 58 | 59 | // Let's emulate dynamic value update 60 | setTimeout(function() { c4.circleProgress('value', 0.7); }, 1000); 61 | setTimeout(function() { c4.circleProgress('value', 1.0); }, 1100); 62 | setTimeout(function() { c4.circleProgress('value', 0.5); }, 2100); 63 | 64 | /* 65 | * Example 5: 66 | * 67 | * - image fill; image should be squared; it will be stretched to SxS size, where S - size of the widget 68 | * - fallback color fill (when image is not loaded) 69 | * - custom widget size (default is 100px) 70 | * - custom circle thickness (default is 1/14 of the size) 71 | * - reverse drawing mode 72 | * - custom animation start value 73 | * - usage of "data-" attributes 74 | */ 75 | $('.fifth.circle').circleProgress({ 76 | value: 0.7 77 | // all other config options were taken from "data-" attributes 78 | // options passed in config object have higher priority than "data-" attributes 79 | // "data-" attributes are taken into account only on init (not on update/redraw) 80 | // "data-fill" (and other object options) should be in valid JSON format 81 | }); 82 | })(jQuery); 83 | -------------------------------------------------------------------------------- /user/UserData/assets/jquery-circle-progress-master/docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | jquery-circle-progress - jQuery Plugin to draw animated circular progress bars 8 | 9 | 10 | 11 | 12 | 13 |

14 | jquery-circle-progress 15 |

16 | 17 |
18 |
19 | no
animation
20 |
21 | 22 |
23 | 24 | animation
progress
25 |
26 | 27 |
28 | 29 | value
progress
30 |
31 | 32 |
33 | custom angle,
value update
34 |
35 | 36 |
48 | image fill,
custom sizes
49 |
50 |
51 | 52 |

53 | See these examples code and 54 | read the documentation on GitHub 55 |

56 | 57 |

58 | Download version 1.2.2 59 | bower install jquery-circle-progress 60 | npm install jquery-circle-progress 61 |

62 | 63 |

64 | © 2014-2017 - made by Rostyslav Bryzgunov 65 | 66 | 67 | avatar 71 | 72 |

73 | 74 | 75 | 76 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /user/UserData/assets/jquery-circle-progress-master/docs/styles.css: -------------------------------------------------------------------------------- 1 | /* These are just a test styles - you don't need them in your project */ 2 | body { 3 | background-color: #444; 4 | padding-top: 40px; 5 | font: 15px/1.3 Arial, sans-serif; 6 | color: #fff; 7 | text-align: center; 8 | } 9 | 10 | a { 11 | color: orange; 12 | } 13 | 14 | .new-tab-link { 15 | padding-right: 14px; 16 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3ggXDSIzCeRHfQAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAA9SURBVBjTY2RAA/+XMvxHF2NkwAOwacCq4P9Shv8suFQzRiNsYUEXwKoJ2VhkNrIaJgYiAAs2N2BVRMirAD6JHi10MCdVAAAAAElFTkSuQmCC) no-repeat right center; 17 | } 18 | 19 | .page-title { 20 | font: 400 40px/1.5 Open Sans, sans-serif; 21 | text-align: center; 22 | } 23 | 24 | .circles { 25 | margin-bottom: -10px; 26 | } 27 | 28 | .circle { 29 | width: 100px; 30 | margin: 6px 6px 20px; 31 | display: inline-block; 32 | position: relative; 33 | text-align: center; 34 | line-height: 1.2; 35 | } 36 | 37 | .circle canvas { 38 | vertical-align: top; 39 | } 40 | 41 | .circle strong { 42 | position: absolute; 43 | top: 30px; 44 | left: 0; 45 | width: 100%; 46 | text-align: center; 47 | line-height: 40px; 48 | font-size: 30px; 49 | } 50 | 51 | .circle strong i { 52 | font-style: normal; 53 | font-size: 0.6em; 54 | font-weight: normal; 55 | } 56 | 57 | .circle span { 58 | display: block; 59 | color: #aaa; 60 | margin-top: 12px; 61 | } 62 | 63 | p { 64 | margin: 40px 0; 65 | } 66 | 67 | .install { 68 | display: inline-block; 69 | } 70 | 71 | .install a { 72 | display: block; 73 | width: auto; 74 | vertical-align: middle; 75 | padding: 6px 12px; 76 | line-height: 20px; 77 | background-color: #111; 78 | color: #fff; 79 | border-radius: 3px; 80 | text-decoration: none; 81 | margin: 5px auto; 82 | transition: all .3s; 83 | } 84 | 85 | .install code { 86 | padding: 6px 12px; 87 | display: block; 88 | font: 13px/20px Courier New, Liberation Mono, monospase; 89 | background-color: #333333; 90 | border-radius: 4px; 91 | margin: 5px 0; 92 | white-space: nowrap; 93 | } 94 | 95 | .install a:hover { 96 | background-color: #222; 97 | } 98 | 99 | .credits { 100 | color: #aaa; 101 | position: fixed; 102 | left: 0; 103 | bottom: 0; 104 | width: 100%; 105 | } 106 | 107 | .credits img { 108 | margin-left: 4px; 109 | border-radius: 4px; 110 | vertical-align: middle; 111 | } 112 | 113 | @media (max-height: 600px), (max-width: 480px) { 114 | .credits { 115 | position: inherit; 116 | } 117 | } 118 | -------------------------------------------------------------------------------- /user/UserData/assets/modal-01.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/user/UserData/assets/modal-01.zip -------------------------------------------------------------------------------- /user/UserData/assets/progressbar.js-master.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/projectswithdigambar/Netbanking-System-in-PHP/8b3a3b78355493275ddf32c11ae75c9ff9cbfe04/user/UserData/assets/progressbar.js-master.zip -------------------------------------------------------------------------------- /user/UserData/css/cards.css: -------------------------------------------------------------------------------- 1 | 2 | .dcard-back { 3 | /* background: rgb(10, 10, 10); 4 | background: linear-gradient(56deg, rgba(10, 10, 10, 1) 0%, rgba(38, 38, 38, 1) 47%, rgba(51, 50, 50, 1) 47%, rgba(36, 36, 36, 1) 100%); */ 5 | 6 | /* background: rgb(24, 24, 24); 7 | background: linear-gradient(56deg, rgba(24, 24, 24, 1) 0%, rgba(28, 28, 28, 1) 46%, rgba(46, 45, 45, 1) 47%, rgba(36, 36, 36, 1) 100%); */ 8 | 9 | background: rgb(0, 0, 0); 10 | background: linear-gradient(56deg, rgba(0, 0, 0, 1) 0%, rgba(17, 17, 17, 1) 46%, rgba(28, 28, 28, 1) 46%, rgba(46, 45, 45, 1) 47%, rgba(36, 36, 36, 1) 100%); 11 | /* box-shadow: 10px 24px 38px -9px rgba(0, 0, 0, 0.75); */ 12 | /* -webkit-box-shadow: 10px 24px 38px -9px rgba(0, 0, 0, 0.75); 13 | -moz-box-shadow: 10px 24px 38px -9px rgba(0, 0, 0, 0.75); */ 14 | height: 12.4rem; 15 | margin: 5%; 16 | } 17 | 18 | .visa { 19 | background-color: #133bff; 20 | padding: 5px; 21 | padding-left: 7px; 22 | padding-right: 7px; 23 | border-radius: 4px; 24 | font-size: 15px; 25 | 26 | } 27 | @media (max-width: 768px) { 28 | #NewDebitNo{ 29 | font-size: 22px; 30 | } 31 | } 32 | 33 | 34 | 35 | .flip-card { 36 | /* background-color: transparent; */ 37 | /* width: 300px; */ 38 | height: 300px; 39 | perspective: 1000px; 40 | } 41 | 42 | .flip-card-inner { 43 | position: relative; 44 | width: 100%; 45 | height: 100%; 46 | text-align: center; 47 | transition: transform 0.6s; 48 | transform-style: preserve-3d; 49 | /* box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); */ 50 | } 51 | 52 | 53 | .flip-card:hover .flip-card-inner { 54 | transform: rotateY(180deg); 55 | } 56 | 57 | .flip-card-front, .flip-card-back { 58 | position: absolute; 59 | width: 100%; 60 | height: 100%; 61 | -webkit-backface-visibility: hidden; 62 | backface-visibility: hidden; 63 | } 64 | 65 | /* .flip-card-front {F 66 | background-color: #bbb; 67 | color: black; 68 | } */ 69 | 70 | .flip-card-back { 71 | display: flex; 72 | height: 250px; 73 | padding-top: 0px; 74 | margin-top: 30px; 75 | color: #00000096; 76 | background: rgb(255, 255, 255); 77 | transform: rotateY(180deg); 78 | justify-content: space-evenly; 79 | align-items: center; 80 | 81 | } 82 | .onfip-posion{ 83 | margin: 68px -89px 0px 109px; 84 | position: inherit; 85 | } 86 | .onfip-posion-toogle{ 87 | margin: -2px -44px 0px -34px; 88 | position: inherit; 89 | } 90 | 91 | 92 | .dback-tittle{ 93 | font-size: 10px; 94 | } 95 | 96 | .strip{ 97 | margin-top: 5px; 98 | height: 40px; 99 | width: 100%; 100 | background-color: black; 101 | } 102 | 103 | .strip2{ 104 | margin-top: 10px; 105 | margin-left: 30px; 106 | /* padding: 10px; */ 107 | margin-right: 10px; 108 | height: 30px; 109 | width: 80%; 110 | background-color: rgb(231, 231, 231); 111 | } 112 | 113 | .description{ 114 | font-size: 9px; 115 | padding: 9px; 116 | font-weight: 200; 117 | color: white; 118 | font-style: normal; 119 | 120 | } -------------------------------------------------------------------------------- /user/UserData/css/profile.css: -------------------------------------------------------------------------------- 1 | .card-profile{ 2 | position: relative; 3 | height: 114px; 4 | width: 114px; 5 | margin-top: -4rem; 6 | margin-bottom: 0rem; 7 | border: 3px solid #fff; 8 | border-radius: 100%; 9 | box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%); 10 | z-index: 2; 11 | vertical-align: middle; 12 | } 13 | .card{ 14 | border-radius: 1rem; 15 | } 16 | 17 | .profile-banner{ 18 | border-top-right-radius: 1rem; 19 | border-top-left-radius: 1rem; 20 | height: 10rem; 21 | 22 | } 23 | 24 | .namePlate{ 25 | text-align: center; 26 | font-weight: bold !important; 27 | color: rgb(56, 56, 56) !important; 28 | } 29 | 30 | .noProfile{ 31 | position: relative; 32 | height: 6rem; 33 | width: 6rem; 34 | margin-top: -3rem; 35 | text-align: center; 36 | font-size: 3rem; 37 | margin-bottom: 0rem; 38 | border: 3px solid #fff; 39 | background-color: pink; 40 | border-radius: 100%; 41 | box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%); 42 | z-index: 2; 43 | } 44 | .nameTag{ 45 | margin-top: 1.5rem; 46 | color: white; 47 | text-shadow: 1px 1px 12px #0000006e; 48 | } 49 | 50 | .profileUpload{ 51 | position: absolute; 52 | border-radius: 100%; 53 | height: 3.5rem; 54 | width: 3.5rem; 55 | margin-top: -4.5rem; 56 | margin-left: 5rem; 57 | } 58 | 59 | .profileImage{ 60 | height: 9rem; 61 | width: 9rem; 62 | border-radius: 100%; 63 | } 64 | 65 | .male-color{ 66 | color: rgb(41, 41, 250); 67 | } 68 | 69 | .female-color{ 70 | color: rgb(236, 27, 132); 71 | } -------------------------------------------------------------------------------- /user/UserData/css/secureAc.css: -------------------------------------------------------------------------------- 1 | .switch { 2 | position: relative; 3 | display: inline-block; 4 | width: 60px; 5 | height: 34px; 6 | } 7 | 8 | .switch input { 9 | opacity: 0; 10 | width: 0; 11 | height: 0; 12 | } 13 | 14 | .slider { 15 | position: absolute; 16 | cursor: pointer; 17 | top: 0; 18 | left: 0; 19 | right: 0; 20 | bottom: 0; 21 | background-color: #ccc; 22 | -webkit-transition: .4s; 23 | transition: .4s; 24 | } 25 | 26 | .slider:before { 27 | position: absolute; 28 | content: ""; 29 | height: 26px; 30 | width: 26px; 31 | left: 4px; 32 | bottom: 4px; 33 | background-color: white; 34 | -webkit-transition: .4s; 35 | transition: .4s; 36 | } 37 | 38 | input:checked + .slider { 39 | background-color: #08df1a; 40 | } 41 | 42 | input:focus + .slider { 43 | box-shadow: 0 0 1px #08df1a; 44 | } 45 | 46 | input:checked + .slider:before { 47 | -webkit-transform: translateX(26px); 48 | -ms-transform: translateX(26px); 49 | transform: translateX(26px); 50 | } 51 | 52 | /* Rounded sliders */ 53 | .slider.round { 54 | border-radius: 34px; 55 | } 56 | 57 | .slider.round:before { 58 | border-radius: 50%; 59 | } -------------------------------------------------------------------------------- /user/UserData/footer.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
6 | 7 | 8 | 30 | 31 |
32 |
33 |
34 |

35 | 36 | © 37 |

38 |
39 |
40 | 54 |
55 |
56 |
57 |
58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 88 | 89 | 94 | -------------------------------------------------------------------------------- /user/UserData/js/cards.js: -------------------------------------------------------------------------------- 1 | console.log("Hello") 2 | $(document).ready(function () { 3 | 4 | $("#SendAppBtn").click(function (e) { 5 | 6 | 7 | $.ajax({ 8 | type: "POST", 9 | url: "code.php", 10 | data: { DebitCardApp: "FirstApply" }, 11 | // dataType: "dataType", 12 | success: function (response) { 13 | console.log(response); 14 | if (response == 1) { 15 | Swal.fire({ 16 | position: 'center', 17 | icon: 'success', 18 | title: 'Application Send Successfully', 19 | showConfirmButton: false, 20 | timer: 1500 21 | }) 22 | setTimeout(function () { 23 | 24 | location.reload(); 25 | 26 | }, 2000); 27 | } 28 | else { 29 | 30 | Swal.fire({ 31 | position: 'center', 32 | icon: 'error', 33 | title: 'Oops...', 34 | text: 'Something went wrong! Please Call to your bank', 35 | timer: 1500 36 | }) 37 | } 38 | 39 | } 40 | }); 41 | 42 | 43 | 44 | e.preventDefault(); 45 | 46 | }); 47 | 48 | // Adding Space in card number after every 4 charater 49 | 50 | let cardNo = $("#DebitcardNo").text(); 51 | cardNo = cardNo.match(/.{1,4}/g); 52 | cardNo = cardNo.join(' '); 53 | $("#NewDebitNo").text(cardNo); 54 | 55 | 56 | }); 57 | -------------------------------------------------------------------------------- /user/UserData/js/dashboard.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function () { 2 | 3 | console.log("hello"); 4 | $("#Dashboard").addClass("active"); 5 | 6 | let balanceChecker = 1; 7 | $.ajax({ 8 | type: "POST", 9 | url: "code.php", 10 | data: { BalanceCheck: balanceChecker }, 11 | dataType: "json", 12 | success: function (response) { 13 | $("#BalanceDisplay").text(response['Balance'] + " ₹"); 14 | $("#SavingDisplay").text(response['Saving'] + " ₹"); 15 | 16 | $("#CreditDisplay").text(response['CreditThisMonth'] + " ₹"); 17 | $("#DebitDisplay").text(response['DebitThisMonth'] + " ₹"); 18 | 19 | $("#DebitLastM").text(response['DebitTotal'] + " ₹"); 20 | $("#CreditLastM").text(response['CreditTotal'] + " ₹"); 21 | 22 | 23 | 24 | 25 | // for(let i=0; i<5; i++){ 26 | 27 | // } 28 | let Status = new Array($(".Status").text()); 29 | 30 | 31 | console.log(Status); 32 | 33 | 34 | 35 | } 36 | }); 37 | 38 | }); -------------------------------------------------------------------------------- /user/UserData/js/profile.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function () { 2 | console.log("hi"); 3 | 4 | $.ajax({ 5 | type: "POST", 6 | url: "code.php", 7 | data: { profileDetail: "Profile" }, 8 | dataType: "json", 9 | success: function (response) { 10 | console.log(response.FName); 11 | 12 | 13 | if(response.Gender == "Male"){ 14 | $("#Male").attr("checked", true); 15 | $("#GenderPlate").addClass("male-color"); 16 | } 17 | else if(response.Gender == "Female"){ 18 | $("#Female").attr("checked", true); 19 | $("#GenderPlate").addClass("female-color"); 20 | } 21 | 22 | $("#NamePlate").text(response.FName + " " + response.LName); 23 | $("#NameTag").text(response.TagName); 24 | $("#ProfileTag").css("background-color", response.ProfileColor); 25 | $("#BalanceDisplay").text(response.Balance + " ₹"); 26 | $("#SavingDisplay").text(response.SavingBalance + " ₹"); 27 | $("#AcNo").text(response.AccountNo); 28 | $("#AcType").text(response.AccountType); 29 | $("#Adhar").text(response.AdharNo); 30 | $("#Pan").text(response.PanNo); 31 | $("#Status").text(response.Status); 32 | $("#MobileNo").text(response.MobileNo); 33 | $("#Email").text(response.Email); 34 | $("#GenderPlate").text(response.Gender); 35 | 36 | 37 | 38 | 39 | 40 | // Modal Profile 41 | if(response.ProfileImage != ""){ 42 | $("#ModalProfileImg").attr("hidden", false); 43 | $("#ModalProfileImg").attr("src", response.ProfileImage); 44 | $("#ProfileIcon").attr("hidden", true); 45 | } 46 | 47 | 48 | // Page Profile 49 | if(response.ProfileImage != ""){ 50 | $("#ProfilePic").attr("hidden", false); 51 | $("#ProfilePic").attr("src", response.ProfileImage); 52 | $("#ProfileTag").attr("hidden", true); 53 | } 54 | 55 | 56 | if(response.Bio == ""){ 57 | $("#AboutBio").text("The purpose of our lives is to be happy"); 58 | $("#bio").val("The purpose of our lives is to be happy"); 59 | 60 | } 61 | else{ 62 | $("#AboutBio").text(response.Bio); 63 | $("#bio").val(response.Bio); 64 | } 65 | } 66 | }); 67 | 68 | 69 | $("#upload").change(function (e) { 70 | 71 | let profilePath = URL.createObjectURL(e.target.files[0]); 72 | 73 | 74 | $("#ProfileIcon").attr("hidden", true); 75 | $("#ModalProfileImg").attr("hidden", false); 76 | $("#ModalProfileImg").attr("src", profilePath); 77 | 78 | console.log(profilePath); 79 | e.preventDefault(); 80 | 81 | }); 82 | 83 | 84 | 85 | }); -------------------------------------------------------------------------------- /user/UserData/js/profileInfo.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function () { 2 | 3 | 4 | $.ajax({ 5 | type: "POST", 6 | url: "code.php", 7 | data: { ProfileData: "MyData" }, 8 | success: function (response) { 9 | if (response != "") { 10 | 11 | $("#HeaderProfile").attr("hidden", false); 12 | $("#HeaderProfile").attr("src", response); 13 | $("#HeaderProfileTag").attr("hidden", true); 14 | 15 | 16 | } 17 | } 18 | }); 19 | 20 | 21 | 22 | $("#HeaderProfile").popover({ 23 | 24 | title: 'Profile Detail', 25 | html: true, 26 | container: "body", 27 | placement: 'bottom', 28 | content: ` 29 | View Profile 30 | Logout` 31 | 32 | }) 33 | 34 | $("#HeaderProfileTag").popover({ 35 | 36 | title: 'Profile Detail', 37 | html: true, 38 | container: "body", 39 | placement: 'bottom', 40 | content: ` 41 | View Profile 42 | Logout` 43 | 44 | }) 45 | 46 | 47 | // Credit Stack over flow 48 | $('body').on('click', function (e) { 49 | $('#HeaderProfile').each(function () { 50 | // hide any open popovers when the anywhere else in the body is clicked 51 | if (!$(this).is(e.target) && $(this).has(e.target).length === 0 && $('.popover').has(e.target).length === 0) { 52 | $(this).popover('hide'); 53 | } 54 | }); 55 | }); 56 | 57 | 58 | 59 | 60 | }); -------------------------------------------------------------------------------- /user/UserData/js/showHidePass.js: -------------------------------------------------------------------------------- 1 | // Name : Show Hide Password 2 | // Version : 1.0.0 3 | // Developer : Ekrem KAYA 4 | // Website : https://openix.io 5 | // GitHub : https://github.com/openix/show-hide-password 6 | 7 | (function($) { 8 | 'use strict'; 9 | $.fn.showHidePassword = function(option) { 10 | $.extend(this, option); 11 | 12 | // Check bootstrap input group 13 | var inputGroupCheck = $(this).parent().hasClass('input-group'); 14 | 15 | if (inputGroupCheck) { 16 | $(this).css({ 17 | borderTopRightRadius: '4px', 18 | borderBottomRightRadius: '4px' 19 | }); 20 | } else { 21 | $(this).wrap('
'); 22 | } 23 | 24 | $(this).after(''); 25 | 26 | // Add postion css password container 27 | $('.password-container').css({position: 'relative'}); 28 | 29 | var showHideIcon = $(this).parent().find('.show-hide-password'); 30 | 31 | // Add eye icon css 32 | $(showHideIcon).css({ 33 | position: 'absolute', 34 | display: 'none', 35 | top: '0', 36 | right: '0', 37 | height: $(this).outerHeight(true) - 2, 38 | marginTop: '1px', 39 | padding: '6px 11px', 40 | //borderLeft: '1px solid #CCC', 41 | cursor: 'pointer', 42 | zIndex : '999', 43 | color : 'black' 44 | }); 45 | 46 | // Show icon when you start entering password 47 | $(this).keyup(function(event) { 48 | var passwordVal = $(this).val(); 49 | 50 | if (passwordVal.length > 0) { 51 | // Add padding password input 52 | $(this).css({paddingRight : '34px'}); 53 | 54 | if (inputGroupCheck) { 55 | $(showHideIcon).css({padding: '8px 11px'}); 56 | } 57 | 58 | // Show eye icon 59 | $(this).parent().find(showHideIcon).show(); 60 | } 61 | }); 62 | 63 | // Change eye icon class 64 | $(showHideIcon).on('click', function() { 65 | var iconElement = this; 66 | 67 | // Change eye icon 68 | $(iconElement).find('i').toggleClass('fa-eye fa-eye-slash'); 69 | 70 | var findInputPassword = $(iconElement).parent().find('input'); 71 | var passwordFieldType = findInputPassword.attr('type'); 72 | 73 | // Show Hide Password 74 | if (passwordFieldType == 'password') { 75 | findInputPassword.attr('type', 'text'); 76 | } else { 77 | findInputPassword.attr('type', 'password'); 78 | } 79 | }); 80 | } 81 | })(window.jQuery); -------------------------------------------------------------------------------- /user/check.php: -------------------------------------------------------------------------------- 1 | verifyCode($_SESSION['auth_key'], $_POST['code'], 0); 16 | 17 | if ($check) { 18 | echo "Matched"; 19 | $AccountNo = $_SESSION['twostep']; 20 | echo $AccountNo; 21 | $query = "UPDATE login SET AuthKey='{$_SESSION['auth_key']}' WHERE AccountNo='{$AccountNo}'"; 22 | $result = mysqli_query($conn, $query) or die("query fail!") and exit(); 23 | header('Location: ../user/logout.php'); 24 | } else { 25 | // die("fail"); 26 | header('Location: ../user/twostepsetup.php?error=Invalid Code Entered'); 27 | } 28 | } 29 | if (isset($_POST['verifyBtn'])) { 30 | 31 | $check = $authenticator->verifyCode($_SESSION['userKey'], $_POST['Scode'], 0); 32 | if ($check) { 33 | echo "Matched"; 34 | $_SESSION['username'] = $_SESSION['verifyCode']; 35 | header('Location: ../user/UserData/Dashboard.php'); 36 | } else { 37 | // die("fail"); 38 | header('Location: ../user/twostepverify.php?error=Invalid Code Entered'); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /user/connection.php: -------------------------------------------------------------------------------- 1 | 0){ 21 | 22 | // while($row = mysqli_fetch_assoc($result)){ 23 | // echo $row['Sr.No']; 24 | // echo $row['AccountNo']; 25 | // echo $row['Username']; 26 | // echo $row['Password']; 27 | 28 | // echo "
"; 29 | // } 30 | 31 | // } 32 | 33 | // mysqli_close($conn); 34 | -------------------------------------------------------------------------------- /user/forgotPassword.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | Forgot Password 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 60 | 61 | 62 | 63 | 64 | 65 |
66 |
67 | 103 |
104 |
105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 126 | 127 | 128 | -------------------------------------------------------------------------------- /user/logout.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | -------------------------------------------------------------------------------- /user/mail/PHPMailerAutoload.php: -------------------------------------------------------------------------------- 1 | 8 | * @author Jim Jagielski (jimjag) 9 | * @author Andy Prevost (codeworxtech) 10 | * @author Brent R. Matzelle (original founder) 11 | * @copyright 2012 - 2014 Marcus Bointon 12 | * @copyright 2010 - 2012 Jim Jagielski 13 | * @copyright 2004 - 2009 Andy Prevost 14 | * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License 15 | * @note This program is distributed in the hope that it will be useful - WITHOUT 16 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 | * FITNESS FOR A PARTICULAR PURPOSE. 18 | */ 19 | 20 | /** 21 | * PHPMailer SPL autoloader. 22 | * @param string $classname The name of the class to load 23 | */ 24 | function PHPMailerAutoload($classname) 25 | { 26 | //Can't use __DIR__ as it's only in PHP 5.3+ 27 | $filename = dirname(__FILE__).DIRECTORY_SEPARATOR.'class.'.strtolower($classname).'.php'; 28 | if (is_readable($filename)) { 29 | require $filename; 30 | } 31 | } 32 | 33 | if (version_compare(PHP_VERSION, '5.1.2', '>=')) { 34 | //SPL autoloading was introduced in PHP 5.1.2 35 | if (version_compare(PHP_VERSION, '5.3.0', '>=')) { 36 | spl_autoload_register('PHPMailerAutoload', true, true); 37 | } else { 38 | spl_autoload_register('PHPMailerAutoload'); 39 | } 40 | } else { 41 | /** 42 | * Fall back to traditional autoload for old PHP versions 43 | * @param string $classname The name of the class to load 44 | */ 45 | function __autoload($classname) 46 | { 47 | PHPMailerAutoload($classname); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /user/mail/TransactionMail.php: -------------------------------------------------------------------------------- 1 | isSMTP(); 22 | $mail->Host = 'smtp.gmail.com'; 23 | $mail->Port = 587; 24 | $mail->SMTPAuth = true; 25 | $mail->SMTPSecure = 'tls'; 26 | 27 | $mail->Username = EMAIL; 28 | $mail->Password = PASSWORD; 29 | 30 | $content = file_get_contents('../mail/DebitMailTemp.php'); 31 | $mail->setFrom(EMAIL, BANKNAME); 32 | $mail->addAddress($customerMail); 33 | $mail->addReplyTo(EMAIL); 34 | 35 | $mail->isHTML(true); 36 | $mail->Subject = "Your Account '$AccountNo' has been debited"; 37 | 38 | $swap_var = array( 39 | 40 | "{Name}" => "$name", 41 | "{AccountNo}" => "$AccountNo", 42 | "{Amount}" => "$amount", 43 | "{Date}" => "$date", 44 | "{totalAmount}" => "$totalAmount", 45 | "{BankName}" => BANKNAME, 46 | "{Address}" => ADDRESS 47 | 48 | 49 | ); 50 | 51 | foreach (array_keys($swap_var) as $key) { 52 | if (strlen($key) > 2 && trim($key) != "") { 53 | $content = str_replace($key, $swap_var[$key], $content); 54 | } 55 | } 56 | 57 | $mail->Body = "$content"; 58 | 59 | 60 | if (!$mail->send()) { 61 | echo "mail not sent"; 62 | } 63 | } 64 | 65 | function creditMoneyMail($customerMail, $name, $amount, $totalAmount, $date, $AccountNo) 66 | { 67 | $mail = new PHPMailer; 68 | $mail->isSMTP(); 69 | $mail->Host = 'smtp.gmail.com'; 70 | $mail->Port = 587; 71 | $mail->SMTPAuth = true; 72 | $mail->SMTPSecure = 'tls'; 73 | 74 | $mail->Username = EMAIL; 75 | $mail->Password = PASSWORD; 76 | 77 | $content = file_get_contents('../mail/CreditMailTemp.php'); 78 | $mail->setFrom(EMAIL, BANKNAME); 79 | $mail->addAddress($customerMail); 80 | $mail->addReplyTo(EMAIL); 81 | 82 | $mail->isHTML(true); 83 | $mail->Subject = "Your Account '$AccountNo' can be credited"; 84 | 85 | $swap_var = array( 86 | 87 | "{Name}" => "$name", 88 | "{AccountNo}" => "$AccountNo", 89 | "{Amount}" => "$amount", 90 | "{Date}" => "$date", 91 | "{totalAmount}" => "$totalAmount", 92 | "{BankName}" => BANKNAME, 93 | "{Address}" => ADDRESS, 94 | 95 | ); 96 | 97 | foreach (array_keys($swap_var) as $key) { 98 | if (strlen($key) > 2 && trim($key) != "") { 99 | $content = str_replace($key, $swap_var[$key], $content); 100 | } 101 | } 102 | 103 | $mail->Body = "$content"; 104 | 105 | 106 | if (!$mail->send()) { 107 | echo "mail not sent"; 108 | } 109 | } 110 | -------------------------------------------------------------------------------- /user/script.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /user/twostepsetup.php: -------------------------------------------------------------------------------- 1 | generateRandomSecret(); 12 | $_SESSION['auth_key'] = $key; 13 | } 14 | 15 | 16 | // echo $_SESSION['auth_key']; 17 | $qrCode = $authenticator->getQR('localhost', $_SESSION['auth_key']); 18 | 19 | 20 | // echo " "; 21 | } else { 22 | header('Location: ../user/CreateAccount.php'); 23 | } 24 | ?> 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | Time-Based Authentication like Google Authenticator 33 | 34 | 35 | 36 | 37 | 38 | 39 | 63 | 64 | 65 | 66 |
67 |
68 |
69 |

Two Step Verification

70 |

Download google authenticator in mobile and scan QR code

71 |
72 |
73 |
74 | 75 | Verify this Google Authenticator

76 | 79 |

*

80 | 81 | 82 |

83 | 84 | 85 | 86 |
87 |
88 |

Power by Google Authenticator

89 | 90 |
91 |
92 |
93 |
94 | 95 | 96 | -------------------------------------------------------------------------------- /user/twostepverify.php: -------------------------------------------------------------------------------- 1 | 0) { 23 | 24 | while ($row = mysqli_fetch_assoc($result)) { 25 | 26 | $key = $row['AuthKey']; 27 | $AcNo = $row['AccountNo']; 28 | } 29 | $_SESSION['twostep'] = $AcNo; 30 | $_SESSION['userKey'] = $key; 31 | } 32 | } else { 33 | header('Location: ../user/CreateAccount.php'); 34 | } 35 | 36 | if (isset($_POST['forgotBtn'])) { 37 | 38 | 39 | header('Location: ../user/twostepsetup.php'); 40 | } 41 | 42 | 43 | 44 | ?> 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | Two Step Verification 53 | 54 | 55 | 56 | 57 | 58 | 59 | 98 | 99 | 100 | 101 |
102 |
103 |
104 |

Two Step Verification

105 |

Download google authenticator in mobile and scan QR code

106 |
107 |
108 |
109 | 110 | 112 |

*

113 | 114 |

115 | 116 | 117 | 118 |
119 |

Lose Account ?

120 |
121 |
122 |
123 |

Power by Google Authenticator

124 | 125 |
126 |
127 |
128 | 129 | 130 | --------------------------------------------------------------------------------