-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathcom_invite.php
83 lines (64 loc) · 3.19 KB
/
com_invite.php
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
82
<?php
$isactive['invites'] = 'cactive';
$script['file'] = 'public/js/vendor/invite.js';
include_once 'template/com_dash_head.php';
?>
<div class="col-xs-12">
<div class="row">
<div class="panel panel-default">
<div class="panel-heading">
<b>All Invites</b> <span class="badge"><?php $appcl = getInvites(); echo count($appcl) ?></span>
</div>
<div class="panel-body" style="padding: 0">
<?php
if(count($appcl) < 1){ ?>
<h4 class="text-center">There are no active applications at the moment</h4>
<?php }else{ ?>
<ul class="list-unstyled" style="border-radius: 0;margin: 0;">
<?php foreach ($appcl as $aps){ ?>
<div class="list-group-item hover">
<div class="row">
<div class="col-sm-3">
<span>
<b>
<?php
echo ucfirst(getOneReturn($aps['user_id'], 'users', 'fname')) .
' ' .
ucfirst(getOneReturn($aps['user_id'], 'users', 'lname'));
?>
</b>
</span>
</div>
<div class="col-sm-4">
<span>
<?php
echo getOneReturn($aps['user_id'], 'users', 'phone') .
' ' .
getOneReturn($aps['user_id'], 'users', 'email');
?>
</span>
</div>
<div class="col-sm-4">
<span>
<?php
echo getOneReturn($aps['job_id'], 'jobs', 'title');
?>
</span>
</div>
<div class="col-sm-1">
<span>
<a href="view_user.php?id=<?php echo $aps['user_id']?>&table=users" title="View Profile" class="btn btn-circle"><i class="fa fa-user-circle"></i></a>
</span>
</div>
</div>
</div>
<?php } ?>
</ul>
<?php } ?>
</div>
</div>
</div>
</div>
<?php
include_once 'template/com_dash_foot.php';
?>