-
Notifications
You must be signed in to change notification settings - Fork 0
/
ingred.php
66 lines (57 loc) · 2.6 KB
/
ingred.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
63
64
65
66
<?php
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>SuperCook</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/contribute.css">
<style>
textarea
{
font-size: 20px;
}
</style>
</head>
<body>
<nav class="navbar navbar-default title">
<div class="container-fluid">
<!-- Logo -->
<div class="navbar-header">
<a href="#" class="navbar-brand brand">Yummly</a>
</div>
<!-- Menu Items -->
<div>
<ul class="nav navbar-nav">
<li class = "active"><a href="#">SuperCook</a></li>
<li><a href="fav.php">Favourites</a></li>
<li><a href="blog.php">Blog</a></li>
<li><a href="hungry.php">Hungry?</a></li>
<li><a href="contactus.php">Contact Us</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<?php
echo '<li><a href="#">Welcome '.$_SESSION['u_first'].'</a></li>';
echo '<li><a href="include/logout.php">Log out</a></li>';
?>
</ul>
</div>
</div>
</nav>
<h4 style="color: white;">Ever wondered what recipes you can cook with the ingredients you have in your fridge or pantry?</h4>
<br>
<h4 style="color: white;">This portal lets you find recipes that either maximize the usage of ingredients you have at hand (pre shopping) and also minimize the ingredients that you don't currently have (post shopping). </h4>
<div style="color: white;">
<form name="contribute" action="recipes.php" method="POST">
<textarea name="content" id="content" placeholder="Type your ingredients here (new item on new line)" required="required"></textarea>
<button type="submit" name="submit" class="btn btn-primary btn-block btn-large">Get Recipes</button>
</form>
</div>
</body>
</html>