-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
107 lines (90 loc) · 3.26 KB
/
Copy pathindex.php
File metadata and controls
107 lines (90 loc) · 3.26 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<?php
include_once("functions.php");
require_login();
$activeSection = 'dashboard';
$pageTitle = "Homepage";
require("header.php");
?>
<ul class="breadcrumb">
<li class="last">
<a href="index.php">
<i class="fa fa-home"></i> Home
</a>
</li>
<li class="help">
<a href="help.php">
<i class="fa fa-question-circle"></i> Help
</a>
</li>
</ul>
<div class="island">
<div class="island-header">
<h3>Welcome to <?php echo $systemName; ?></h3>
</div>
<div class="island-body">
<ul class="row dashboard-icons">
<li class="col-xs-4">
<a href="create.php">
<span class="icon"><i class="fa fa-plus-circle"></i></span>
<span class="title">Create an Account</span>
<span class="description">Create one new account by typing the details into a form.</span>
</a>
</li>
<?php if(userHasFlag('conference')) { ?>
<li class="col-xs-4">
<a href="bulk-create.php">
<span class="icon"><i class="fa fa-users"></i></span>
<span class="title">Create Multiple Accounts</span>
<span class="description">Upload a spreadsheet of names and email addresses to create a batch of accounts.</span>
</a>
</li>
<?php } ?>
<li class="col-xs-4">
<a href="mine.php">
<span class="icon"><i class="fa fa-list"></i></span>
<span class="title">Recently Created Accounts</span>
<span class="description">View a list of all the accounts you recently created.</span>
</a>
</li>
</ul>
</div>
</div>
<?php if(userHasFlag('admin')) { ?>
<div class="island">
<div class="island-header">
<h3>Statistics</h3>
</div>
<div class="island-body">
<ul class="row dashboard-icons">
<li class="statistic col-xs-4">
<span class="stat">
<?php
$stat = statCurrentlyActive();
echo number_format($stat);
?>
</span>
active account<?php echo s($stat); ?>
</li>
<li class="statistic col-xs-4">
<span class="stat">
<?php
$stat = statCreatedToday();
echo number_format($stat);
?>
</span>
account<?php echo s($stat); ?> created today
</li>
<li class="statistic col-xs-4">
<span class="stat">
<?php
$stat = statCollections();
echo number_format($stat);
?>
</span>
collection<?php echo s($stat); ?>
</li>
</ul>
</div>
</div>
<?php } ?>
<?php include("footer.php"); ?>