-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathindex.php
More file actions
36 lines (31 loc) · 686 Bytes
/
Copy pathindex.php
File metadata and controls
36 lines (31 loc) · 686 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
<?php
session_start();
require_once "./pdo.php";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NGO INDEX</title>
<?php include("bootstrap.php"); ?>
<link rel="stylesheet" href="bootstrap/css/style.css">
</head>
<body>
<?php
if(isset($_SESSION['volunteer_id'])){
require_once "volunteerIndex.php";
}
else if(isset($_SESSION['admin_id'])){
require_once "./adminIndex2.php";
}
else if(isset($_SESSION['donor_id'])){
require_once "donorIndex.php";
}
else {
require_once "./navbar.php";
require_once "./carousel.php";
}
?>
</body>
</html>