-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgrps.php
More file actions
75 lines (63 loc) · 2 KB
/
grps.php
File metadata and controls
75 lines (63 loc) · 2 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
<style type="text/css">
.trandinggrps{
border-bottom: 2px solid #00b8ff;
color: #00b8ff;
}
.grpcontainer{
overflow-x: auto;
color: white;
overflow-y:;
margin-bottom: 40px;
}
.sj a{
background: #282a2d;
color: grey;
}
.grpcontainer .x p{background: #282a2d;
color: grey;
}
</style>
<?php require"header.php"?>
<?php
$user_identity=$_SESSION['login'];
$selectallusersprofile=mysqli_query($con,"SELECT * FROM users where users.unique_id='$user_identity'");
?>
<div class="container-fluid mb-5" id="mySite">
<div class="row">
<div class="col-lg-12 mt-4">
<div class="d-flex flex-row font-weight-bold">
<div class="">
<h5><a href="#" class="p-2 tranding ">Trending</a></h5>
</div>
<div class="">
<h5><a href="#" class="p-2 trandinggrps">Groups</a></h5>
</div>
</div>
</div>
<div class="col-lg-12 allcontainer">
<div class="col-lg-12 ">
<div class="row">
<div class="col-lg-12 mt-3">
Your groups
<hr>
</div>
<div class="col-lg-12">
<?php include"c_chat/usergrps.php"?>
</div>
</div>
<div class="col-lg-12">
<div class="d-flex flex-row sj">
<p class=" flex-grow-1">Joined groups</p>
<a class="btn mr-2" href="messages.php?unique_id_profile=<?php echo($user_identity)?>&usercontroller='messangerController'&unique_id_profile_receiver=&messangerController='messagesAPi'&type=">Chat</a>
<a href="exploregrps.php?unique_id_profile=<?php echo($user_identity)?>&usercontroller='messangerController'&unique_id_profile_receiver=&messangerController='messagesAPi'" target="blank" type="submit" name="send" title="Create Group" class="btn mr-2">Find more groups</a>
</div>
<hr>
<?php include"c_chat/grplistjoined.php"?>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="vendor/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="vendor/jquery-ui.min.js"></script>
</body>
</html>