-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbasic.php
More file actions
60 lines (54 loc) · 2.69 KB
/
basic.php
File metadata and controls
60 lines (54 loc) · 2.69 KB
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
<?php
session_start(); //start or resume an existing session
include 'inc/dbConnection.php';
include 'php/source.php';
$dbConn = getDBConnection();
if(!isset($_SESSION["user"])) { //Check whether the admin has logged in
$_SESSION["name"] = "Guest";
}
if(isset($_POST['logout'])){
session_destroy();
header("Location: index.php");
}
if(isset($_POST['login'])){
goMain();
}
?>
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<head>
<title>Deliverables</title></title>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<?php include 'inc/header.php';
include 'inc/nav.php';
?>
<div class= "wrapper" style="width: 40% !important">
<h4 id="welcome">Welcome </h4>
<div class="containerAD">
<h3><strong>Deliverables</strong></h3>
<p>Our goal is to roll out a motion picture predictability application based on actresses, actors, soundtrack composers, writers, release date, budget, release day of the week, and directors prior work that affects a movie’s triumph or crash. A value will be assigned to film crew and additionally to their past movies they worked on as if it was really bad, or won an Oscar award. Likewise, if the movie was released on Christmas day, it will have a greater mean value than another made available on Labor Day weekend, or just some random day.
</p>
<p>Users will have their search results saved to a DB which they will be able to access later to review their previous searches.
</p>
<h3><strong>Extra Features</strong></h3>
<ul>
<li>We will enable a chat feature so that users can discuss movie predictions.
</li>
<li>We will allow users to upvote movie predictions and comment on them.
</li>
<li>Users will be able to see the top list of movies that user's wanted to have the prediction of.
</li>
<li>Users will be able to search through all past predictions so that they won't have to go through entire process for every movie.
</li>
</ul>
</div>
</div>
<?php include 'inc/footer.php'; ?>
<script>document.getElementById('welcome').innerHTML += '<?php echo $_SESSION["name"] ?>' </script>
</body>
</html>