LittleDemon WebShell


Linux in-mum-web1499.main-hosting.eu 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
Path : /home/u901718425/domains/panel.urbanpillar.in/public_html/
File Upload :
Command :
Current File : /home/u901718425/domains/panel.urbanpillar.in/public_html/index.php

<?php
include_once "cdn/globle.php";

$roll = (in_array('roll',array_keys($_SESSION)) && in_array('Dashboard',array_keys($_SESSION['roll'])) ? array_values($_SESSION['roll']['Dashboard']) : []);

if(isset($_SESSION['roll_name']) && $_SESSION['roll_name'] != 'user' && in_array('view',$roll) ){
?>
<!doctype html>
<html lang="en">

<?php
include 'widgets/head.php';
?>
<body class="d-flex">
<?php
include 'widgets/aside.php';
?>
<div class="page  overflow-y-auto" style="width: calc(100% - 280px); height:100vh;">
<?php
include 'widgets/header.php';
?>

<div class="body d-flex flex-wrap pb-4">
  <div class="w-100 row mx-auto mx-sm-auto mx-md-2 px-3">
    <div class="col-12 col-sm-10 col-md-6 col-lg-4"><div class="d-flex align-items-center py-2 px-3 shadow bg-white rounded-3 justify-content-between m-3" style="min-width:100px">
      <div>
        <h6 class="text-secondary fw-normal  ">Active Project's</h6>
        <div class="fs-5 fw-bold " id="activeProjects">
        </div>
      </div>
      <div class="d-flex justify-content-center align-items-center shadow rounded-3 col-2 text-white" style="width: 45px; height: 45px; background:var(--house-light);">
          <span class="material-icons fs-6">
          apartment
          </span>
      </div>
    </div></div>
    <div class="col-12 col-sm-10 col-md-6 col-lg-4"><div class="d-flex align-items-center py-2 px-3 shadow bg-white rounded-3 justify-content-between m-3" style="min-width:100px">
      <a class="d-flex flex-column no-hover" href="/usercontroll">
        <h6 class="text-secondary fw-normal  ">Active User's</h6>
        <div class="fs-5 fw-bold " id="activeUsers">
      </div>
      </a>
      <div class="d-flex justify-content-center align-items-center shadow rounded-3 col-2 text-white" style="width: 45px; height: 45px; background:var(--house-light);">
          <span class="material-icons fs-6">
          people
          </span>
      </div>
    </div></div>
    <div class="col-12 col-sm-10 col-md-6 col-lg-4"><div class="d-flex align-items-center py-2 px-3 shadow bg-white rounded-3 justify-content-between m-3" style="min-width:100px">
      <a class="d-flex flex-column no-hover" href="/inquiry">
        <h6 class="text-secondary fw-normal  ">Today's Enquery</h6>
        <div class="fs-5 fw-bold " id="Enquery">
        </div>
        </a>
      <div class="d-flex justify-content-center align-items-center shadow rounded-3 col-2 text-white" style="width: 45px; height: 45px; background:var(--house-light);">
          <span class="material-icons fs-6">
          all_inbox
          </span>
      </div>
    </div></div>
  </div>
  <div class="w-100 px-3">
     <div class="sect w-auto mx-4 shadow rounded-4 ">
        <div class="fs-6 fw-semibold ">Projects</div>
        <div class="d-flex text-secondary fs-6 my-2" >
        <span class="material-icons-outlined text-primary fs-6 fw-bold  ">
        done
        </span> &nbsp;<span class="text-dark count-project">
        Done</span>&nbsp; this week
        </div>
        <div class="table-responsive fs-8 mt-3 ">
          <table class="table">
            <thead>
              <tr>
                <th class="text-secondary " scope="col">PROJET</th>
                <th class="text-secondary " scope="col">DATE</th>
                <th class="text-secondary " scope="col">BY</th>
                <th class="text-secondary " scope="col">COMPLETION</th>
              </tr>
            </thead>
            <tbody id="Projects" class=" overflow-y-auto " style="height: 400px;">
            </tbody>
          </table>
        </div>
        <div class="pagination d-flex  justify-content-between ">
          <div class="d-flex w-25 fs-7 align-items-center ">
          Showing <div id="start" class="px-2"> 1 </div> to <div id="endpx-2" class="px-2"> 10 </div> of <div class="count-project px-2"></div> entries
          </div>
          <nav aria-label="...">
            <ul class="pagination pagination-sm mb-0" id="pagination">
              <li class="page-item disabled">
                <a class="page-link" href="#" tabindex="-1">Previous</a>
              </li>
              <li class="page-item"><a class="page-link" href="#">1</a></li>
              <li class="page-item active">
                <a class="page-link" href="#">2</a>
              </li>
              <li class="page-item"><a class="page-link" href="#">3</a></li>
              <li class="page-item">
                <a class="page-link" href="#">Next</a>
              </li>
            </ul>
          </nav>
        </div>
        <div class="position-absolute top-0 end-0 mt-4 me-4 fs-7"><i class="fa-solid fa-circle fs-9 fa-beat-fade" style="color: #cf0707;"></i>&nbsp;Live</div>
    </div>
</div>
    
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="/js/dashboard.js"></script>
  <?php
    include 'widgets/footer.php';
  ?>
  </div>
</body>

</html>
<?php
}else{   



    if ($_POST) {
        // echo $key;
        // print_r($_POST);
        $_SESSION['id'] = rsaDecrypt($_POST['e_sid'], $_POST['e_ss']);
        // $_SESSION['id'] = decrypt($_POST['e_sid'], $key, $_POST['e_ss']);
        // print_r($_SESSION);
        setsession($pdo);
        header('location: /');
    }
    if(isset($_SESSION) && !empty($_SESSION) && !in_array('id',array_keys($_SESSION))){
        header('location: /');
    }else{
        $roll = (in_array('roll',array_keys($_SESSION)) ? array_values($_SESSION['roll']) : []);
        if(!empty($roll)){
            if($_SESSION['roll_name'] == 'seo'){
                header('location: https://panel.urbanpillar.in/meta');
            }
            if($_SESSION['roll_name'] == 'dataentry'){
                header('location: https://panel.urbanpillar.in/property');
            }
            if($_SESSION['roll_name'] == 'master'){
                header('location: https://panel.urbanpillar.in/');
            }
            if($_SESSION['roll_name'] == 'admin'){
                header('location: https://panel.urbanpillar.in/');
            }
            if($_SESSION['roll_name'] == 'user'){
                header('location: https://dashboard.urbanpillar.in/');
            }
        }else {
            header('location: https://urbanpillar.com/');
        }
    }
}
?>

LittleDemon - FACEBOOK
[ KELUAR ]