D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home5
/
rakcha
/
www
/
app
/
Filename :
eproduct_details.php
back
Copy
<?php session_start(); if (!isset($_SESSION['eproduct_password'])) { header("location: eproduct_login.php"); } else { include("includes/database.php"); $page_user = $_SESSION['distributor_id']; $select_query = "select * from member where user_id='$page_user'"; $run = mysqli_query($con,$select_query); $serial = 1; while ($row = mysqli_fetch_array($run)) { $s_num = $serial++; $member_id = $row['member_id']; $profile = $row['profile']; $title = $row['title']; $dob = $row['dob']; $name = $row['name']; $gender = $row['gender']; $address_1 = $row['address_1']; $address_2 = $row['address_2']; $town_area = $row['town_area']; $city_district = $row['city_district']; $state = $row['state']; $country = $row['country']; $pincode = $row['pincode']; $mobile_number = $row['mobile_number']; $email = $row['email']; $aadhaar_card = $row['aadhaar_card']; $pan_card = $row['pan_card']; $nominee_name = $row['nominee_name']; $nominee_relationship = $row['nominee_relationship']; $account_name = $row['account_name']; $account_number = $row['account_number']; $ifsc_code = $row['ifsc_code']; $bank_name = $row['bank_name']; $branch_name = $row['branch_name']; $member_no = $row['member_no']; $user_id = $row['user_id']; $password = $row['password']; $aadhaar_card_image = $row['aadhaar_card_image']; $pan_card_image = $row['pan_card_image']; $bank_proof_image = $row['bank_proof_image']; $document_status = $row['document_status']; $elite_board = $row['elite_board']; $member_fess = $row['member_fess']; $activity_level = $row['activity_level']; $activity_referral = $row['activity_referral']; $activity_date = $row['activity_date']; $activity_month = $row['activity_month']; $aadhaar_card_image = $row['aadhaar_card_image']; $pan_card_image = $row['pan_card_image']; $bank_proof_image = $row['bank_proof_image']; $document_status = $row['document_status']; $date_of_join =$row['date_of_join']; ?><!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no" name="viewport"> <title>RAKCHABLOOMING</title> <!-- General CSS Files --> <link rel="stylesheet" href="assets/css/app.min.css"> <!-- Template CSS --> <link rel="stylesheet" href="assets/bundles/datatables/datatables.min.css"> <link rel="stylesheet" href="assets/bundles/datatables/DataTables-1.10.16/css/dataTables.bootstrap4.min.css"> <link rel="stylesheet" href="assets/css/style.css"> <link rel="stylesheet" href="assets/css/components.css"> <!-- Custom style CSS --> <link rel="stylesheet" href="assets/css/custom.css"> <link rel='shortcut icon' type='image/x-icon' href='assets/img/favicon.ico' /> </head> <body> <div class="loader"></div> <div id="app"> <div class="main-wrapper main-wrapper-1"> <div class="navbar-bg"></div> <?php include("includes/header.php"); ?> <!-- Main Content --> <div class="main-content"> <section class="section"> <div class="section-body"> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-header" style="display: block;"> <div class="row"> <div class="col-sm-6"> <h3 class="card-title">KIT Enrol</h3> </div> <div class="col-sm-6"> <?php $select_query_direct_level_epin = "select * from eproduct_details_roi where receiver_no = '$member_no' AND eproduct_status=''"; $run_direct_level_epin = mysqli_query($con,$select_query_direct_level_epin); $total_epin_hand = mysqli_num_rows($run_direct_level_epin); ?> <h3 class="card-title text-right">Total KIT in Hand - <?= $total_epin_hand; ?></h3> </div> </div> </div> <div class="card-body"> <div class="table-responsive"> <table class="table table-striped table-hover" id="table-1" style="width:100%;"> <thead> <tr> <th>Status</th> <th>KIT No</th> <th>Issue Date</th> <th>Used Date</th> <th>Used ID</th> </tr> </thead> <tbody> <?php $select_query_direct_level = "select * from eproduct_details_roi where receiver_no = '$member_no' AND eproduct_status='' limit 10"; $run_direct_level = mysqli_query($con,$select_query_direct_level); while ($row_direct_level = mysqli_fetch_array($run_direct_level)) { $eproduct_id_row_direct_level = $row_direct_level['eproduct_id']; $issue_date_row_direct_level_1 = $row_direct_level['issue_date']; $sender_no_row_direct_level = $row_direct_level['sender_no']; $receiver_no_row_direct_level = $row_direct_level['receiver_no']; $eproduct_no_row_direct_level = $row_direct_level['eproduct_no']; $member_no_row_direct_level = $row_direct_level['member_no']; $pin_value_row_direct_level = $row_direct_level['pin_value']; $issue_date_row_direct_level = date('d-m-Y', strtotime($issue_date_row_direct_level_1)); ?> <tr class="gradeX"> <td> <a href="eproduct_add_member.php?eproduct=<?= $eproduct_no_row_direct_level; ?>" style="margin: 7px;background-color: green;" class="btn btn-primary btn-mini"><i class="icon icon-user" style="margin-right: 5px;"></i>New Registration</a> </td> <td><?= $eproduct_no_row_direct_level; ?></td> <td><?= $issue_date_row_direct_level; ?></td> <td>-Nil-</td> <td>-Nil-</td> </tr> <?php }?> </tbody> </table> </div> </div> </div> </div> </div> </div> </section> </div> <footer class="main-footer"> <div class="footer-left"> Copyright © 2021 <div class="bullet"></div> All Rights Reserved. </div> <div class="footer-right"> </div> </footer> </div> </div> <!-- General JS Scripts --> <script src="assets/js/app.min.js"></script> <!-- JS Libraies --> <!-- Page Specific JS File --> <script src="assets/bundles/datatables/datatables.min.js"></script> <script src="assets/bundles/datatables/DataTables-1.10.16/js/dataTables.bootstrap4.min.js"></script> <script src="assets/bundles/datatables/export-tables/dataTables.buttons.min.js"></script> <script src="assets/bundles/datatables/export-tables/buttons.flash.min.js"></script> <script src="assets/bundles/datatables/export-tables/jszip.min.js"></script> <script src="assets/bundles/datatables/export-tables/pdfmake.min.js"></script> <script src="assets/bundles/datatables/export-tables/vfs_fonts.js"></script> <script src="assets/bundles/datatables/export-tables/buttons.print.min.js"></script> <script src="assets/js/page/datatables.js"></script> <!-- Template JS File --> <script src="assets/js/scripts.js"></script> <!-- Custom JS File --> <script src="assets/js/custom.js"></script> <script type="text/javascript"> function goBack() { window.history.back(); } </script> </body> </html> <?php } } ?>