#include <infodrom.style>
#include <linx.style>

<page title="Infodrom Linx">
<linxtop>

<h3 class=bar>Submit a link</h3>

<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 #aaaaaa;
}
input.button {
  width: auto;
  display: inline;
  font-size: 13px;
  font-weight: bold;
  background-color: #d7d7d7;
  padding: 2px;
}
input.button:hover {
  border: 1px solid black;
  background-color: #bfbfbf;
}
div.outer {
  padding-left: 10%;
  padding-right: 10%;
}
div.inner {
  background: #bbddff;
  border: 1px solid #aaaaaa;
  padding: 20px;
}
</style>

<script type="text/javascript">
function info(bug)
{
  window.alert (bug + "  You'll have to provide at least a URL and a title.");
  return false;
}

function check()
{
  var form = document.forms[0];

  if (!form.url.value.length)
    return info ("No URL supplied.");

  if (!form.subject.value.length)
    return info ("No title supplied.");

  return true;
}
</script>

<div class=outer>
<div class=inner>
<form method="post" action="submitit.php" onsubmit="return check();">
<label for="url">URL</label>
<input type="text" size="48" maxlength="164" id="url" name="url"><br class=none>
<label for="subject">Title</label>
<input type="text" size="48" maxlength="64" id="subject" name="subject"><br class=none>
<label for="keywords">Keywords</label>
<input type="text" size="48" maxlength="64" id="keywords" name="keywords"><br class=none>
<label for="category">Category</label>
<input type="text" size="48" maxlength="50" id="category" name="category"><br class=none>
<label for="description">Description</label>
<input type="text" size="48" maxlength="64" id="description" name="description"><br class=none>
<div align="center" style="margin-bottom: -30px;">
<input type="submit" class=button value="Submit"> &nbsp; <input type="reset" class=button value="Reset">
</div>
</form>
</div>
</div>

<linxbot>
</page>

# Local variables:
# mode: html
# mode: auto-fill
# mode: iso-accents
# end:
