-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
46 lines (42 loc) · 1.42 KB
/
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
37
38
39
40
41
42
43
44
45
46
<?php
require_once('content.php');
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>AJAX Form</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" type="text/css" href="../ajax-php-form/style.css" />
</head>
<body>
<section>
<p><a href="#" class="edit-form">Edit info »</a></p>
<form action="../ajax-php-form/content.php" method="post" class="ajax" style="display: none;">
<input name="name" type="text" placeholder="Enter Name" />
<input name="email" type="text" placeholder="Enter E-Mail" />
<textarea name="message" placeholder="Enter Bio"></textarea>
<input type="submit" value="Update!" class="submit" />
</form>
<div class="responses">
<?php
bioBlock($ourBio->name, $ourBio->email, $ourBio->bio);
?>
</div>
</section>
<section class="github">
<h3>Code on GitHub
<a href="https://github.com/adamaoc/ajax-php-form" target="_blank">
HERE »
<img src="../ajax-php-form/GitHub-Mark.png" alt="github logo" />
</a>
</h3>
</section>
<?php // @include "../ajax-php-form/email-view.php"; ?>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="../ajax-php-form/main.js"></script>
<script src="../ajax-php-form/email.js"></script>
</body>
</html>