-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathteam.php
More file actions
65 lines (48 loc) · 3.04 KB
/
Copy pathteam.php
File metadata and controls
65 lines (48 loc) · 3.04 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
<?php
include 'includes/1head.php';
include 'includes/2body.php';
?>
<div id="team">
<h2 class="text-center m-2">The Team</h2>
<h5 class="team-title border-bottom border-primary m-3 p-3">"Gods"</h5>
<?php $req_godUsers = getGodUsers();
while($god = $req_godUsers->fetch()) { ?>
<div class="row bg-light m-3 p-3 d-flex align-items-center">
<?php echo '<div class="col-2"> <img class="rounded-circle" src="data:image/webp;base64,'.base64_encode($god['user_imgdata']).'" alt="'.$god['user_name'].'s Avatar" width="80" height="80"></div>'; ?>
<div class="col-7 font-weight-bold"> <?= $god['user_name'] ?> </div>
<div class="col-3">
<a href="member.php?view_user_id=<?php echo $god['user_id']; ?>" class="btn btn-primary">View</a>
<?php if(isset($_SESSION['user_level'])) { echo '<a href="msg.php?sendto_id='.$god['user_id'].'" class="btn btn-primary">Send MSG</a>';} ?>
</div>
</div>
<?php } ?>
<h5 class="team-title border-bottom border-primary m-3 p-3">"Devils"</h5>
<?php $req_devilUsers = getDevilUsers();
while($devil = $req_devilUsers->fetch()) { ?>
<div class="row bg-light m-3 p-3 d-flex align-items-center">
<?php echo '<div class="col-2"> <img class="rounded-circle" src="data:image/webp;base64,'.base64_encode($devil['user_imgdata']).'" alt="'.$devil['user_name'].'s Avatar" width="80" height="80"></div>'; ?>
<div class="col-7 font-weight-bold"> <?= $devil['user_name'] ?> </div>
<div class="col-3">
<a href="member.php?view_user_id=<?php echo $devil['user_id']; ?>" class="btn btn-primary">View</a>
<?php if(isset($_SESSION['user_level'])) { echo '<a href="msg.php?sendto_id='.$devil['user_id'].'" class="btn btn-primary">Send MSG</a>';} ?>
</div>
</div>
<?php } ?>
<h5 class="team-title border-bottom border-primary m-3 p-3">Moderators</h5>
<?php $req_modUsers = getModUsers();
while($mod = $req_modUsers->fetch()) { ?>
<div class="row bg-light m-3 p-3 d-flex align-items-center">
<?php
echo '<div class="col-2"> <img class="rounded-circle" src="data:image/webp;base64,'.base64_encode($mod['user_imgdata']).'" alt="'.$mod['user_name'].'s Avatar" width="80" height="80"></div>'; ?>
<div class="col-7 font-weight-bold align-middle"> <?= $mod['user_name'] ?> </div>
<div class="col-3 align-middle">
<a href="member.php?view_user_id=<?php echo $mod['user_id']; ?>" class="btn btn-primary">View</a>
<?php if(isset($_SESSION['user_level'])) { echo '<a href="msg.php?sendto_id='.$mod['user_id'].'" class="btn btn-primary">Send MSG</a>';} ?>
</div>
</div>
<?php } ?>
</div>
<?php
include 'includes/3body.php';
include 'includes/4foot.php';
?>