--- /dev/null
+#include <infodrom.style>
+#include <linux.style>
+
+<page title="Upcoming Events Calendar">
+
+<h1 align=center>Upcoming Events Calendar</h1>
+
+<style type="text/css">
+label {
+ display: block;
+ font-weight: bold;
+ font-size: 13px;
+ width: 85px;
+ text-align: left;
+ padding-left: 5px;
+ padding-top: 0px;
+ padding-bottom: 0px;
+ background-color: #1aa2fe;
+ color: white;
+}
+input {
+ display: block;
+ width: 100%;
+ margin-bottom: 10px;
+ border: 1px solid #1aa2fe;
+}
+input.button {
+ width: auto;
+ display: inline;
+ font-size: 13px;
+ font-weight: bold;
+ border: 1px solid #000000;
+ padding: 2px;
+}
+div.outer {
+ padding-left: 10%;
+ padding-right: 10%;
+}
+div.inner {
+ background: #e6e8fa;
+ border: 1px solid #000000;
+ padding: 20px;
+}
+</style>
+
+<div class=outer>
+<div class=inner>
+<form method="post" action="submitit.php3">
+<label for="name">Name</label>
+<input type="text" size="48" maxlength="64" id="name" name="name"><br class=none>
+<label for="email">E-Mail</label>
+<input type="email" size="48" maxlength="64" id="email" name="email"><br class=none>
+<label for="event">Event</label>
+<input type="text" size="48" maxlength="64" id="event" name="event"><br class=none>
+<label for="url">URL</label>
+<input type="text" size="48" maxlength="150" id="url" name="url"><br class=none>
+<label for="description">Description</label>
+<input type="text" size="48" maxlength="164" id="description" name="description"><br class=none>
+<div align="center" style="margin-bottom: -30px;">
+<input type="submit" class=button value="Submit"> <input type="reset" class=button value="Reset">
+</div>
+</form>
+</div>
+</div>
+
+<p>Download <a href="calendar.ics">iCal</a> or <a href="calendar.rdf">RSS</a> calendar file.</p>
+
+</page>
+
+# Local variables:
+# mode: indented-text
+# mode: auto-fill
+# end:
--- /dev/null
+#include <infodrom.style>
+#include <linux.style>
+
+<page title="Upcoming Events Calendar">
+
+<h1 align=center>Upcoming Events Calendar</h1>
+
+<?
+ if ((strlen ($email) > 0)
+ &&(strlen ($name) > 0)
+ &&(strlen ($event) > 0)
+ &&(strlen ($url) > 0)) {
+
+ $header = "From: $name <$email>";
+ $header = strtr($header, "\015\012", ' ');
+<protect>
+ $body = "Event : " . $event . "\n"
+ ."URL : " . $url . "\n"
+ ."Description: " . $description . "\n"
+ ."\n"
+ ."HTTP_USER_AGENT: " . $HTTP_USER_AGENT . "\n"
+ ."REMOTE_ADDR : " . $REMOTE_ADDR . "\n"
+ ."REMOTE_HOST : " . $REMOTE_HOST . "\n";
+</protect>
+ mail ("joey@infodrom.org", "New event", $body, $header);
+ echo ("<p>Thanks for the note.</p><p>It'll be procesdsed soon.</p>");
+ } else {
+ echo ("<p><b>You haven't completed the form.</b></p><p>Please go back and fill out all fields.</p>.");
+ }
+?>
+
+<p>Download <a href="calendar.ics">iCal</a> or <a href="calendar.rdf">RSS</a> calendar file.</p>
+
+</page>
+
+# Local variables:
+# mode: indented-text
+# mode: auto-fill
+# end: