utt/_old/www/down_form.php
2009-10-17 14:48:21 +02:00

25 lines
1.3 KiB
PHP

<?php
require_once 'locale.php';
require_once 'cmn_frame.php';
if(isset($_GET['filename'])) {
$title = '<title>UAM Text Tools - '.DOWNLOAD_FORM_PAGE_TITLE."</title>\n";
$content = "<h3>".DOWNLOAD_FORM_CAPTION."</h3>\n".
"<table border='1' align='center'><form action='down_thanks.php' method='post'>\n".
"<tr><td>".DOWNLOAD_FORM_FIELD_FIRSTNAME.":</td><td><input type='text' name='_firstname' value=''></td></tr>\n".
"<tr><td>".DOWNLOAD_FORM_FIELD_NAME.":</td><td><input type='text' name='_name' value=''></td></tr>\n".
"<tr><td>".DOWNLOAD_FORM_FIELD_ORGANIZATION.":</td><td><input type='text' name='_organization' value=''></td></tr>\n".
"<tr><td>".DOWNLOAD_FORM_FIELD_COUNTRY.":</td><td><input type='text' name='_country' value=''></td></tr>\n".
"<tr><td>".DOWNLOAD_FORM_FIELD_EMAIL.":</td><td><input type='text' name='_email' value=''></td></tr>\n".
"<tr><td colspan='2' align=\"center\">\n".
"<input type='submit' value='".DOWNLOAD_FORM_FIELD_NEXT." &gt;'></td></tr>\n".
"<input type=\"hidden\" name='_filename' value=\"".$_GET['filename']."\">\n".
"</form></table>\n";
getMainPage($title, $content);
}
else {
header('Location: http://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']).'/down.php');
}
?>