 


	<?php include 'auth_header.php'; ?>	  
	
	
	 
	
	<!-- partial -->
      <div class="main-panel">  <!-- TradingView Widget BEGIN -->
<div class="tradingview-widget-container">
  <div class="tradingview-widget-container__widget"></div>
  <div class="tradingview-widget-copyright"><a href="/" rel="noopener nofollow" target="_blank"><span class="blue-text"></span></a></div>
  <script type="text/javascript" src="https://s3.tradingview.com/external-embedding/embed-widget-ticker-tape.js" async>
  {
  "symbols": [
    {
      "proName": "FOREXCOM:SPXUSD",
      "title": "S&P 500"
    },
    {
      "proName": "FOREXCOM:NSXUSD",
      "title": "US 100"
    },
    {
      "proName": "FX_IDC:EURUSD",
      "title": "EUR to USD"
    },
    {
      "proName": "BITSTAMP:BTCUSD",
      "title": "Bitcoin"
    },
    {
      "proName": "BITSTAMP:ETHUSD",
      "title": "Ethereum"
    }
  ],
  "showSymbolLogo": true,
  "colorTheme": "light",
  "isTransparent": false,
  "displayMode": "adaptive",
  "locale": "en"
}
  </script>
</div>
<!-- TradingView Widget END -->       
        <div class="content-wrapper">
          <div class="row">
             
             
             
             
              <div class="col-12 col-xl-8 mb-4 mb-xl-0">
                  <h3 class="font-weight-bold"><?php echo welcome();  ?> <?php echo $row['fname']; ?> <?php echo $row['lname']; ?>   <div class="badge badge-success"><?php echo $row['type']; ?></div></h3>
                  <h5 class="font-weight-normal mb-0">Account Number: <div class="badge badge-danger"><?php
function mask_mobile_no($number)
{
    return substr($number, 0, 5) . '*****' . substr($number, -2);
}
$number = $row['acc_no']; 
echo mask_mobile_no($number) ;
?></div> </h5>
                </div>
            
            
            
            
            
           
            <div class="col-12 grid-margin"><br>
              <div class="card">
                <div class="card-body">
                  <h4 class="card-title" style="color:darkgreen; font-weight:700;">Customer Account Information</h4>
                  <form class="form-sample">
                    <p class="card-description">
                         <center><img src="backend/pic/<?php echo $row['uname']; ?>.jpg" style="height:100px; width:100px; border-radius:50px;" /></center>
                           
                    </p>
                    <div class="row">
                      <div class="col-md-6">
                        <div class="form-group row">
                          <label class="col-sm-3 col-form-label">Legal Name</label>
                          <div class="col-sm-9">
                            <input type="text" value="<?php echo $row['fname']; ?> <?php echo $row['lname']; ?>" disabled class="form-control" />
                          </div>
                        </div>
                      </div>
                      <div class="col-md-6">
                        <div class="form-group row">
                          <label class="col-sm-3 col-form-label">Email</label>
                          <div class="col-sm-9">
                            <input type="text" class="form-control" value="<?php echo $row['email']; ?>" disabled/>
                          </div>
                        </div>
                      </div>
                    </div>
                    <div class="row">
                      <div class="col-md-6">
                        <div class="form-group row">
                          <label class="col-sm-3 col-form-label">Gender</label>
                          <div class="col-sm-9">
                            <select class="form-control">
                              <option seelcted><?php echo $row['sex']; ?></option> 
                            </select>
                          </div>
                        </div>
                      </div>
                      <div class="col-md-6">
                        <div class="form-group row">
                          <label class="col-sm-3 col-form-label">Date of Birth</label>
                          <div class="col-sm-9">
                            <input class="form-control" value="<?php echo $row['dob']; ?>"  disabled placeholder="dd/mm/yyyy"/>
                          </div>
                        </div>
                      </div>
                    </div>
                    <div class="row">
                      <div class="col-md-6">
                        <div class="form-group row">
                          <label class="col-sm-3 col-form-label">Category</label>
                          <div class="col-sm-9">
                            <select class="form-control">
                              <option selected ><?php echo $row['type']; ?></option> 
                            </select>
                          </div>
                        </div>
                      </div>
                      
                    </div>
                    <p class="card-description">
                      Address
                    </p>
                    <div class="row">
                      <div class="col-md-6">
                        <div class="form-group row">
                          <label class="col-sm-3 col-form-label">Address 1</label>
                          <div class="col-sm-9">
                            <input type="text" value="<?php echo $row['addr']; ?>"  disabled class="form-control" />
                          </div>
                        </div>
                      </div>
                      <div class="col-md-6">
                        <div class="form-group row">
                          <label class="col-sm-3 col-form-label">Employment</label>
                          <div class="col-sm-9">
                            <input type="text" value="<?php echo $row['work']; ?>" disabled class="form-control" />
                          </div>
                        </div>
                      </div>
                    </div>
                    
                    <div class="row">
                      <div class="col-md-6">
                        <div class="form-group row">
                          <label class="col-sm-3 col-form-label">Opening Date</label>
                          <div class="col-sm-9">
                            <input type="text" value="<?php echo $row['reg_date']; ?>"  disabled class="form-control" />
                          </div>
                        </div>
                      </div>
                      <div class="col-md-6">
                        <div class="form-group row">
                          <label class="col-sm-3 col-form-label">UserID</label>
                          <div class="col-sm-9">
                            <input type="text" value="<?php echo $row['uname']; ?>" disabled class="form-control" />
                          </div>
                        </div>
                      </div>
                    </div>
                    
                     <div class="row">
                      <div class="col-md-6">
                        <div class="form-group row">
                          <label class="col-sm-3 col-form-label">Account Number</label>
                          <div class="col-sm-9">
                            <input type="text" value="<?php echo $row['acc_no']; ?>"  disabled class="form-control" />
                          </div>
                        </div>
                      </div>
                      <div class="col-md-6">
                        <div class="form-group row">
                          <label class="col-sm-3 col-form-label">Marrital Status</label>
                          <div class="col-sm-9">
                            <input type="text" value="<?php echo $row['marry']; ?>" disabled class="form-control" />
                          </div>
                        </div>
                      </div>
                    </div>
                    
                    
                     <div class="row">
                      <div class="col-md-6">
                        <div class="form-group row">
                          <label class="col-sm-3 col-form-label">Mobile Phone</label>
                          <div class="col-sm-9">
                            <input type="text" value="<?php echo $row['phone']; ?>"  disabled class="form-control" />
                          </div>
                        </div>
                      </div>
                      <div class="col-md-6">
                        <div class="form-group row">
                          <label class="col-sm-3 col-form-label">Account Currency</label>
                          <div class="col-sm-9">
                            <input type="text" value="<?php echo $row['currency']; ?>" disabled class="form-control" />
                          </div>
                        </div>
                      </div>
                    </div>
                    
                    
                    
                    
                    
                    
                    
                  </form>
                </div>
              </div>
            </div>
            
            
          </div>
        </div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		<?php include 'auth_footer.php'; ?>	  