|
Server IP : 2a02:4780:3:2287:0:3736:a38e:8 / Your IP : 216.73.216.59 Web Server : LiteSpeed System : Linux sg-nme-web2187.main-hosting.eu 5.14.0-611.54.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed May 6 18:03:03 EDT 2026 x86_64 User : u926327694 ( 926327694) PHP Version : 7.4.33 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail, proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF Directory (0755) : /home/u926327694/domains/smsoft.in/../evisioninfotech.in/public_html/cust/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
include 'db.php';
if (isset($_GET['q'])) {
try {
$username = base64_decode($_GET['q']);
$sel_query = mysqli_query($con, "select * from users as u inner join agent_details as ad on ad.agent_id=u.id where CONCAT('80',username,'52') = '$username'");
$res_agent = mysqli_fetch_array($sel_query);
if (count($res_agent) > 0) {
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Agent Details</title>
<link rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
<link rel="stylesheet" href="plugins/fontawesome-free/css/all.min.css">
<link rel="stylesheet" href="plugins/icheck-bootstrap/icheck-bootstrap.min.css">
<link rel="stylesheet" href="dist/css/adminlte.min.css">
</head>
<body>
<section style="background-color: #eee;">
<div class="container py-5">
<div class="row">
<div class="col-lg-12">
<?php if(isset($_SESSION['userData'])) { ?>
<a href="https://www.the-qrcode-generator.com/" class="p-2 text-center w-100" style="display:inline-block" target="_blank">Generate QR Code</a>
<?php } ?>
<div class="card mb-4">
<div class="card-body text-center">
<img src="<?php echo $res_agent['photos']; ?>" alt="avatar" class="rounded-circle img-fluid"
style="width: 200px;">
</div>
<div class="card-body">
<div class="row">
<div class="col-sm-3">
<p class="mb-0">Full Name</p>
</div>
<div class="col-sm-9">
<p class="text-muted mb-0"><?php echo $res_agent['name']; ?> <?php echo $res_agent['father_name']; ?></p>
</div>
</div>
<hr>
<div class="row">
<div class="col-sm-3">
<p class="mb-0">Email</p>
</div>
<div class="col-sm-9">
<p class="text-muted mb-0"><?php echo $res_agent['email']; ?></p>
</div>
</div>
<hr>
<div class="row">
<div class="col-sm-3">
<p class="mb-0">Phone</p>
</div>
<div class="col-sm-9">
<p class="text-muted mb-0"><?php echo $res_agent['contact_no']; ?></p>
</div>
</div>
<hr>
<div class="row">
<div class="col-sm-3">
<p class="mb-0">Alternate Contact Number</p>
</div>
<div class="col-sm-9">
<p class="text-muted mb-0"><?php echo $res_agent['father_contact_no']; ?></p>
</div>
</div>
<hr>
<div class="row">
<div class="col-sm-3">
<p class="mb-0">Whatsapp Number</p>
</div>
<div class="col-sm-9">
<p class="text-muted mb-0"><?php echo $res_agent['whastapp_no']; ?></p>
</div>
</div>
<hr>
<div class="row">
<div class="col-sm-3">
<p class="mb-0">Aadhar Number</p>
</div>
<div class="col-sm-9">
<p class="text-muted mb-0"><?php echo $res_agent['aadhar_no']; ?></p>
</div>
</div>
<hr>
<div class="row">
<div class="col-sm-3">
<p class="mb-0">Address</p>
</div>
<div class="col-sm-9">
<p class="text-muted mb-0"><?php echo $res_agent['address']; ?></p>
</div>
</div>
<hr>
<div class="row">
<div class="col-sm-3">
<p class="mb-0">Age</p>
</div>
<div class="col-sm-9">
<p class="text-muted mb-0"><?php echo $res_agent['age']; ?></p>
</div>
</div>
<hr>
<div class="row">
<div class="col-sm-3">
<p class="mb-0">Blood Group</p>
</div>
<div class="col-sm-9">
<p class="text-muted mb-0"><?php echo $res_agent['blood_group']; ?></p>
</div>
</div>
<hr>
<div class="row">
<div class="col-sm-3">
<p class="mb-0">Remarks</p>
</div>
<div class="col-sm-9">
<p class="text-muted mb-0"><?php echo $res_agent['remarks']; ?></p>
</div>
</div>
<hr>
<iframe width="100%" height="450" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="<?php echo $res_agent['live_location']; ?>">
</iframe>
</div>
</div>
</div>
</div>
</div>
</section>
<script src="plugins/jquery/jquery.min.js"></script>
<script src="plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="dist/js/adminlte.min.js"></script>
</body>
</html>
<?php
} else {
include "agent-not-found.php";
}
} catch (Exception $e) {
include "agent-not-found.php";
}
} else {
include "agent-not-found.php";
}
?>