-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.php
executable file
·62 lines (40 loc) · 869 Bytes
/
about.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
<?php
include_once 'lib/includes.php';
include_once 'lib/functions/default.php';
$page = 'about';
@include 'template/head.phtml';
$title = "About";
@include 'template/top.phtml';
?>
<div class="container">
<div class="bs-docs-section">
<h1>Articles</h1>
<ul>
<li><a href="?q=unproductive">5 THINGS YOU'RE DOING THAT SEEM
PRODUCTIVE, BUT AREN'T</a></li>
<li><a href="?q=10000rule">The Myth of the 10,000-Hours Rule</a></li>
</ul>
<br/><br/><hr/><br/>
<?php
$q = "def";
if (isset ( $_GET ["q"] )) {
$q = $_GET ["q"];
}
switch ($q) {
case "unproductive" :
include_once 'articles/5unproductive.phtml';
break;
case "10000rule" :
include_once 'articles/10000rule.phtml';
break;
default :
include_once 'articles/default.phtml';
break;
}
?>
<br/>
</div>
</div>
<?php
@include 'template/bottom.phtml';
?>