PK

ADDRLIN : /home/questend/public_html/domains/rwa40.com/useradmin/
FLL :
Current File : /home/questend/public_html/domains/rwa40.com/useradmin/dashboard_28062021.php

<?php
   ob_start();
   //error_reporting(E_ALL ^ E_NOTICE);
   @session_start();
   ini_set('allow_url_include',1);    
   date_default_timezone_set("Asia/Kolkata");
   set_time_limit(600);
   ini_set('max_execution_time',600);
   include '../admin/includes/settings/constant.php';
   //include '../includes/settings/db.php';
   require_once '../admin/includes/settings/PDODB.php';
   include '../admin/includes/modules/functions.php';
   
   $function = new FUNCTIONS();
   
   if(empty($_SESSION['userId'])){
    header("Location: ../index.php");
    exit();
   }
   //print_r($_SESSION['house_no']); exit();
   $user = $function->getUsers($_SESSION['userId'],NULL,NULL,1);
   $user_details = $function->getUserDetails($_SESSION['userId'],NULL,1);

   $account = $function->getAccountDetails($uid=$_SESSION['userId'],$orderid=NULL,$isactive=1);
   //print_r($account); exit;
   $paid=0;
   for($i=0;$i<count($account);$i++){
      $paid += (int)$account[$i]['credit'];      
   }
   $bal = 0;                     
   for($i=0;$i<count($account);$i++){
      $bal += (int)$account[$i]['debit']-(int)$account[$i]['credit'];
   }


   $vaccineTransaction = $function->getVaccineTransactionDetails($_SESSION['userId'],NULL);
   //print_r($vaccineTransaction[0]);
?>
<!DOCTYPE html>
<html lang="en">
   <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
      <meta name="description" content="">
      <meta name="author" content="">
      <title>RWA Sectore 40 Noida</title>
      <!-- Bootstrap core CSS -->
      <link href="../vendor/bootstrap/css/bootstrap.css" rel="stylesheet">
      <!-- Custom styles for this template -->
      <link href="../css/noida40.css" rel="stylesheet">
      <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
      <link href="../css/bootstrap-dropdownhover.css" rel="stylesheet">
      <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet">
      <style type="text/css">         
         .notification > a {
            display: table;
            position: relative;
            padding-left: 5px;
         }
         .notification-count {
            font-size: 10px;
             color: #fff;
             background: #5d5d5d;
             width: 20px;
             height: 20px;
             line-height: 20px;
             text-align: center;
             border: 0px;
             position: absolute;
             border-radius: 50%;
             right: -5px;}
         .circul{
            width: 40px;
             height: 40px;
             /* line-height: 40px; */
             display: table-cell;
             vertical-align: middle;
             text-align: center;
             color: #000;
             border: 1px solid #000;
             border-radius: 50%;
         }         
         .notification-panel {
            width: 280px;
            border-radius: .25rem;
            border: 1px solid rgba(0,0,0,.15);
            overflow:auto;
            max-height:450px;
         }
         .notification-list {
            border-top: 1px solid #e9ecef;
         }

      </style>
   </head>
   <body class="body-bg">
      <?php include_once '../layout/header.php'; ?>
      <header class="user-admin-hdr">
         <div class="user-title">
            <h1>Dashboard</h1>
         </div>
      </header>
      <!-- Page Content -->
      <div class="container-fluid padding-0">
         <!--container-->
         <div class="container mt-4">
            <div class="row">
               <!-- Sidebar Column -->
               <div class="col-lg-3 mb-4 side-link">
                  <div class="list-group list-shadow">
                     <a href="my-profile.php" class="list-group-item">My Profile</a>
                     <a href="my-family.php" class="list-group-item">My Family Member</a>
                     <a href="my-account.php" class="list-group-item">My Account</a>
                     <a href="my-vehicle.php" class="list-group-item">Registered Vehicles</a>
                     <a href="changepass.php" class="list-group-item">Change Password</a>
                     <a href="help.php" class="list-group-item">Help & Support</a>
                     <a href="../logout.php" class="list-group-item">Log Out</a>
                  </div>
               </div>
               <!-- Content Column -->
               <div class="col-lg-9 mb-4" style="padding:0px">
                  <div class="row m-0">
                     <div class="col-lg-3">
                        <div class="info-box bg-pink">
                           <a href="my-profile.php">
                              <div class="content">My<br>Profile</div>
                           </a>
                        </div>
                     </div>
                     <div class="col-lg-3">
                        <div class="info-box bg-cyan">
                           <a href="my-account.php">
                              <div class="content">Account
                                 <span>Paid Amt. Rs. <?=$paid;?></span>
                                 <span>Dues Amt. Rs. <?=$bal;?></span>
                              </div>
                           </a>
                        </div>
                     </div>
                     <div class="col-lg-3">
                        <div class="info-box bg-light-green">
                           <a href="my-vehicle.php">
                              <div class="content">Registered<br>Vehicles</div>
                           </a>
                        </div>
                     </div>
                     <div class="col-lg-3">
                        <div class="info-box bg-orange">
                           <a href="#">
                              <div class="content">Registered<br>Helps</div>
                           </a>
                        </div>
                     </div>
                     <div class="col-lg-12">
                        <p>The monthly contribution is Rs. 500/-. However, if paid for the forthcoming full year within the month of April, you will be entitled to a discount of one month i.e. Rs. 500/-</p>
                     </div>
                     <!--content-->
                     <div class="col-lg-12">
                        <div class="card">
                           <div class="header">
                              <h2>Profile Details</h2>
                           </div>
                           <div class="body">
                              <div class="profile-dl-main">
                                 <div class="name">House No. :</div>
                                 <div class="name-details"><?=!empty($user_details[0]['house_no'])?$user_details[0]['house_no']:'';?></div>
                              </div>
                              <div class="profile-dl-main">
                                 <div class="name">Name :</div>
                                 <div class="name-details"><?=!empty($user[0]['owner_name'])?$user[0]['owner_name']:'';?></div>
                              </div>
                              <div class="profile-dl-main">
                                 <div class="name">Mobile No. :</div>
                                 <div class="name-details"><?=!empty($user[0]['mobile'])?$user[0]['mobile']:'';?></div>
                              </div>
                           </div>
                        </div>
                     </div>
                     <!--end content-->
                     <!--content-->
                     <?php 
                        $i=0;
                        foreach ($vaccineTransaction as $key => $value) { 
                        $i++;
                        ?>
                        <div class="col-lg-12">
                           <div class="card">
                              <div class="header">
                                 <h2>Vaccine Details <?=$i;?></h2>
                              </div>
                              <div class="body">
                                 <div class="profile-dl-main">
                                    <div class="name">Order Id :</div>
                                    <div class="name-details"><?=$value['orderid'];?></div>
                                 </div>
                                 <div class="profile-dl-main">
                                    <div class="name">Amount :</div>
                                    <div class="name-details"><?=$value['txnamount'];?></div>
                                 </div>
                                 <div class="profile-dl-main">
                                    <div class="name">Number of vaccine :</div>
                                    <div class="name-details"><?=$value['txnamount']/1050;?></div>
                                 </div>
                                 <div class="profile-dl-main">
                                    <div class="name">Transaction Date :</div>
                                    <div class="name-details"><?=$value['txndate'];?></div>
                                 </div>                                 
                              </div>
                           </div>
                        </div>

                     <?php } ?>
                     <!--end content-->
                     <div class="col-lg-3">
                        <p>RWA Sector 40 is a self help group. No refunds or cancellations are allowable.</p>
                     </div>
                  </div>
               </div>
            </div>
         </div>
         <!--end container-->
      </div>
      <!-- end Page Content -->
      <!-- Footer -->
      <?php include_once'../layout/footer.php';?>
      <!-- End Footer -->
      <!-- Bootstrap core JavaScript -->
      <script src="../vendor/jquery/jquery.min.js"></script>
      <script src="../vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
      <script src="../js/bootstrap-4-hover-navbar.js"></script>
   </body>
</html>


PK 99
E-SHOP || DASHBOARD
404

Page Not Found

It looks like you found a glitch in the matrix...

← Back to Home