-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathfunc.php
More file actions
37 lines (34 loc) · 739 Bytes
/
func.php
File metadata and controls
37 lines (34 loc) · 739 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
<?php
function houseColor($house)
{
switch ($house) {
case "gryffindor":
$color = "#991d3c";
break;
case "ravenclaw":
$color = "#025ab3";
break;
case "hufflepuff":
$color = "#e8af26";
break;
case "slytherin":
$color = "#164235";
break;
default:
$color = "#000";
}
return $color;
}
function getTitle()
{
return 'Anasayfa';
}
function houses()
{
return [
'5a05e2b252f721a3cf2ea33f' => 'gryffindor',
'5a05da69d45bd0a11bd5e06f' => 'ravenclaw',
'5a05dc8cd45bd0a11bd5e071' => 'slytherin',
'5a05dc58d45bd0a11bd5e070' => 'hufflepuff',
];
}