This repository was archived by the owner on Feb 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
148 lines (137 loc) · 5.3 KB
/
index.php
File metadata and controls
148 lines (137 loc) · 5.3 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<!DOCTYPE html>
<html>
<head>
<link rel="shortcut icon" href="img/logo.png" >
<title>Find a Future</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/bootstrap.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/scroller.css" />
<!-- For Maps -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<!--<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=true"></script>-->
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyD0f_37S0OieQsnrm646prpK6JL2FlUvac"></script>
<script type="text/javascript" src="js/gmaps.js"></script>
<!-- For Image scroll -->
<script type = "text/javascript" href = "js/Scroll.js" > </script>
<!--Map Markers-->
<script type="text/javascript" src="js/mapMarkers.js"></script>
<!--Our own script, Bootstraps script-->
<script type="text/javascript" src="js/script.js"></script>
<script src="js/bootstrap.js"></script>
</head>
<body>
<div class="navbar-static-top navbar-inverse" id="home">
<div class="container padding" >
<div class="navbar-brand">
Find-a-Future
</div>
<button class="navbar-toggle" data-toggle="collapse" data-target=".navHeaderCollapse">
Menu
</button>
<div class="collapse navbar-collapse navHeaderCollapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="#">Home</a></li>
<li><a href="#locator">Locator</a></li>
<li><a href="#collegeList">College List</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div>
</div>
</div>
<div id="cbp-fbscroller" class="cbp-fbscroller">
<section id="img1">
<div class="container padding" id="img1MOB">
</div>
</section>
<div id="locator">
<section id="content1">
<div class="container" id="map" onload="mapMarkers()"></div>
</section>
<section id="content2">
<div class="menuContainer padding" id="menu">
<form role="form" action="colleges.php" method="post" id="collegeForm">
<div class="form-group">
<h1>Add a College Here!</h1>
<label for="name">Name of College:</label>
<input type="text" class="form-control" name="cName" placeholder="College Name" />
</div>
<div class="form-group">
<label for="address">Address:</label>
<input type="text" class="form-control" name="address" placeholder="College Address here"/>
</div>
<div class="form-group">
<label for="postcode">Postcode: </label>
<input type="text" class="form-control" name="postcode" placeholder="College Postcode here"/>
</div>
<div class="form-group">
<label for="type">Type: </label>
<input type="text" class="form-control" name="type" placeholder="Univeristy/College/Other"/>
</div>
<div class="form-group">
<label for="phoneNumber">Phone Number: </label>
<input type="text" class="form-control" name="pNumber" placeholder="College Phone number here"/>
</div>
<button type="submit" class="btn btn-default" id="submitCollege">Add College!</button>
</form>
</div>
</section>
<section id="content3">
<div class="container padding" id="rss">
<h2>RSS Feed</h2>
<div class="glyphicon glyphicon-arrow-down"></div>
<a href="#collegeList" id="noDecoration"><div id="rssLoad"></div></a>
</div>
</section>
</div>
<section id="img2">
<div class="container padding" id="img2MOB">
</div>
</section>
<section id="content4">
<div class= "container" id="collegeList">
<?php include ("xmlTransform.php");?>
</div>
</section>
<section id="img3">
<div class="container padding" id="img3MOB">
</div>
</section>
<section id="content5">
<div class="container padding" id="contact">
<form role="form" action="contact.php" method="post" id="contactForm">
<div class="form-group">
<h2>Contact Form</h2>
<label for="email">Email:</label>
<input type="email" class="form-control" id="contact_email" name="contact_email" placeholder="example@example.com" required/>
</div>
<div class="form-group">
<label for="name">Name:</label>
<input type="text" class="form-control" id="contact_name" name="contact_name" placeholder="Your name here" required/>
</div>
<div class="form-group">
<label for="message">Message:</label>
<textarea class="form-control" name="contact_message" id="contact_message" placeholder="Your message here" required></textarea>
</div>
<button type="submit" class="btn btn-default" id="submitContactForm">Submit</button>
</form>
<p id="formMessage"></p>
</div>
</section>
<section id="content6">
<div class="panel-footer" id="footer">
<div class="container padding">
<div class="row">
<footer class="text-center" id="FAFFooter">Find-a-Future<br/>
<div class="col-md-3"><a href="#home" id="homeStyle" >Back to Top</a></div>
<div class="col-md-3"><a href="#locator" id="locationStyle" >Locator</a></div>
<div class="col-md-3"><a href="#collegeList" id="cListStyle" >College List</a></div>
<div class="col-md-3"><a href="#contact" id="contactStyle" >Contact</a></div>
</footer>
</div>
</div>
</div>
</section>
</div>
</body>
</html>