-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
53 lines (47 loc) · 996 Bytes
/
Copy pathconfig.php
File metadata and controls
53 lines (47 loc) · 996 Bytes
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
<?php
// name of the institution: AUB, LAU, AUC...
$GLOBALS['institution'] = 'AUC';
// start text of the html table
$GLOBALS['tableStart'] = ($GLOBALS['institution'] == 'LAU') ? '<table class="datadisplaytable"' : '<table class="datadisplaytable"';
// for multiple campuses use associative array
$GLOBALS['institutionIds'] = array(1);
// current term
$GLOBALS['term'] = 'Fall 2014';
// corresponding column number
$GLOBALS['rowNumbers'] = array(
'AUB' => array(
'crn' => 1,
'code' => 2,
'number' => 3,
'section' => 4,
'title' => 7,
'days' => 8,
'time' => 9,
'instructor' => 19,
'location' => 21
),
'LAU' => array(
'crn' => 1,
'code' => 2,
'number' => 3,
'section' => 4,
'institution' => 5,
'title' => 7,
'days' => 8,
'time' => 9,
'instructor' => 19,
'location' => 21
),
'AUC' => array(
'crn' => 0,
'code' => 1,
'number' => 2,
'section' => 3,
'title' => 6,
'days' => 7,
'time' => 8,
'instructor' => 12,
'location' => 14
)
);
?>