summaryrefslogtreecommitdiff
path: root/php/01-common-theme/contact.php
diff options
context:
space:
mode:
Diffstat (limited to 'php/01-common-theme/contact.php')
-rw-r--r--php/01-common-theme/contact.php35
1 files changed, 35 insertions, 0 deletions
diff --git a/php/01-common-theme/contact.php b/php/01-common-theme/contact.php
new file mode 100644
index 0000000..c5d8dae
--- /dev/null
+++ b/php/01-common-theme/contact.php
@@ -0,0 +1,35 @@
+<?php
+
+include "common/header.php";
+
+?>
+
+<style>
+
+textarea.message {
+ width: 300px;
+ height: 100px;
+}
+
+input.subject {
+ width: 300px;
+}
+
+</style>
+
+<form method="post" action="contact-process.php">
+
+Subject:
+ <input name="subject" class="subject" type="text"/>
+
+Body:
+ <textarea name="message" class="message"></textarea>
+
+ <input type="submit" value="Submit"/>
+
+</form>
+
+<?php
+
+include "common/footer.php";
+