-
Notifications
You must be signed in to change notification settings - Fork 0
/
info.php
54 lines (45 loc) · 1004 Bytes
/
info.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
<?php
/** INFO.PHP
*
* Outputs more information about the company.
*
* @author Emily Sommer <[email protected]>
* @copyright 2011-2012 Patient Proxy
*
*/
// INCLUDES
require_once('includes/header.php');
// PREPARE VARS
$info_page = '';
// START DIV
echo '<div class="pagecontent">';
// CHECK $_GET vars for navigation
if ( isset($_GET['page']) && !empty($_GET['page']) ) {
$info_page = $_GET['page'];
switch($info_page) {
case('howitworks'):
require_once('pages/info_howitworks.php');
break;
case('privacy'):
require_once('pages/info_privacy.php');
break;
case('feedback'):
require_once('pages/info_feedback.php');
break;
case('disclaimer'):
require_once('pages/info_disclaimer.php');
break;
default:
require_once('pages/not_found.php');
break;
}
} else {
require_once('pages/not_found.php');
}
// END DIV
echo '</div><!-- close div .pagecontent -->';
// CLEAR VARS
$info_page = '';
// END PAGE
require_once('includes/footer.php');
?>