-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
36 lines (28 loc) · 857 Bytes
/
index.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
<?php
/**************************************************
* Barkin Simsek, bs3528
* Nishant Aswani, nsa325
* March 12, 2019
*
* Object-Oriented Programming, Spring 2019
* Term Project
*
* https://nyuad.app/classes
**************************************************/
// Start a unique session per user to store varaibles on the users browser
session_start();
// Turn off warning that are not related to compilation
//error_reporting(E_ERROR | E_PARSE);
// Include student class
require_once("./backend/student.php");
// Include the class that handles frontend HTML operations
require_once("./frontend/bodyItemCreator.php");
$insert = new BodyItem;
// Create wizard steps if not initiated
if (!isset($_SESSION["step"])) {
$_SESSION["step"] = 0;
$_SESSION["refresh"] = 0;
}
// Load content from frontend
require_once("./frontend/main.php");
?>