843c58d4aa
git-svn-id: svn://atos.wmid.amu.edu.pl/utt@53 e293616e-ec6a-49c2-aa92-f4a8b91c5d16
25 lines
1.3 KiB
PHP
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." >'></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');
|
|
}
|
|
?>
|