-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrequests.php
More file actions
81 lines (56 loc) · 2.02 KB
/
Copy pathrequests.php
File metadata and controls
81 lines (56 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php
//Define Page Title
$page_title = "Dashboard - LetsMeet";
include('includes/header.php');
$get_all_req_sender = $frnd_obj->request_notification($_SESSION['user_id'], true);
?>
<div class="home-banner">
<div class="home-banner-overlay">
<div class="home-banner-content ">
<div>
<h3></h3>
</div>
</div>
</div>
</div>
<div class="container">
<div class="p"></div>
<div class="box-bg">
<h4 class="text-center font-bold pb">
Friend Requests
</h4>
<div class="row">
<?php
if($get_req_num > 0) {
foreach ($get_all_req_sender as $row) {
?>
<div class="col-md-3">
<div class="friend-box mt-4">
<div class="push-center">
<?php echo '<img src="storage/profiles/'.$row->user_image.'" alt="Profile image">' ; ?>
</div>
<div class="text-center font-bold">
<?php echo $row->username ?>
</div>
<div class="pb"></div>
<div class="break-line mt-2"></div>
<div class="text-center">
FUll name Here Later
</div>
<div class="pt-2 d-flex justify-content-center">
<?php
echo '<div><a href="./user_profile.php?id=' . $row->sender . '"' . 'class="btn btn-secondary btn-sm">See Profile</a></div>';
?>
</div>
</div>
</div>
<?php
}
}
else {
echo '<div class="d-flex justify-content-center" style="width:100%;"><div class="alert alert-danger">You have no friend request!</div>';
}
echo "</div>";
?>
</div>
</div>