/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to codeigniter/application/views/sidemenu.php

  • Committer: a11andoh
  • Date: 2013-05-31 06:21:54 UTC
  • mfrom: (135 lenasys_b)
  • mto: This revision was merged to the branch mainline in revision 137.
  • Revision ID: a11andoh@student.his.se-20130531062154-x18nki8dufjub99h
blurp

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!--
 
2
The header should look something like this:
 
3
 
 
4
Copyright (C) Högskolan i Skövde <his.se> 2013.
 
5
Copyright (C) Emma < ?? > 2013.
 
6
Copyright (C) Anders < ?? > 2013.
 
7
Copyright (C) Erik Wikström <b10eriwi@student.his.se> 2013.
 
8
 
 
9
This file is part of LenaSYS
 
10
 
 
11
This program is free software: you can redistribute it and/or modify
 
12
it under the terms of the GNU Lesser General Public License as published by
 
13
the Free Software Foundation, either version 3 of the License.
 
14
 
 
15
This program is distributed in the hope that it will be useful,
 
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
18
GNU Lesser General Public License for more details.
 
19
 
 
20
You should have received a copy of the GNU Lesser General Public License
 
21
along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
22
-->
1
23
 
2
24
<!-- sidemenu.php -->
3
25
<div id="sidemenuWrapper">
26
48
                <div class="sidemenuContent">
27
49
                <?php if ($userType == 'Teacher') { ?>
28
50
                        <p>System</p>
29
 
                        <p class="sidemenuContentInfo">Courses: <?php echo $stats['system']['courseAmount']; ?></p>
30
 
                        <p class="sidemenuContentInfo">Examples: <?php echo $stats['system']['exampleAmount']; ?></p>
31
 
                        <p class="sidemenuContentInfo">Quizzes: <?php echo $stats['system']['quizAmount']; ?></p>
 
51
                        <p class="sidemenuContentInfo"><?php echo $stats['system']['courseAmount']; ?> courses</p>
 
52
                        <p class="sidemenuContentInfo"><?php echo $stats['system']['exampleAmount']; ?> examples</p>
 
53
                        <p class="sidemenuContentInfo"><?php echo $stats['system']['quizAmount']; ?> quizzes</p>
32
54
                        <br>
33
55
                <?php } ?>
34
56
                        <p>Course</p>
35
 
                        <p class="sidemenuContentInfo">Examples: <?php echo $stats['course']['exampleAmount']; ?></p>
36
 
                        <p class="sidemenuContentInfo">Quizzes: <?php echo $stats['course']['quizAmount']; ?></p>
 
57
                        <p class="sidemenuContentInfo"><?php echo $stats['course']['exampleAmount']; ?> examples</p>
 
58
                        <p class="sidemenuContentInfo"><?php echo $stats['course']['quizAmount']; ?> quizzes</p>
37
59
                        <br>
38
60
                        <p>User</p>
39
61
                        <p class="sidemenuContentInfo"><?php echo $stats['user']['agentPlatform']; ?></p>
40
 
                        <p class="sidemenuContentInfo"><?php echo $stats['user']['agentType'].' '.$stats['user']['agentName'];
41
 
                                                                                                        if ($stats['user']['agentType'] == 'Desktop') {
42
 
                                                                                                                echo ' '.$stats['user']['agentVersion'];
43
 
                                                                                                        }
44
 
                                                                                        ?></p>
 
62
                        <p class="sidemenuContentInfo"><?php echo $stats['user']['agentType'].' '.$stats['user']['agentName']; ?></p>
45
63
                        <p id="resolution" class="sidemenuContentInfo">Screenresolution</p>
46
64
                </div>
47
65
        </div>