Rev | Line | |
---|
[843c58d] | 1 | <?php |
---|
| 2 | require_once 'locale.php'; |
---|
| 3 | require_once 'cmn_frame.php'; |
---|
| 4 | |
---|
| 5 | if(isset($_GET['filename'])) { |
---|
| 6 | $title = '<title>UAM Text Tools - '.DOWNLOAD_FORM_PAGE_TITLE."</title>\n"; |
---|
| 7 | |
---|
| 8 | $content = "<h3>".DOWNLOAD_FORM_CAPTION."</h3>\n". |
---|
| 9 | "<table border='1' align='center'><form action='down_thanks.php' method='post'>\n". |
---|
| 10 | "<tr><td>".DOWNLOAD_FORM_FIELD_FIRSTNAME.":</td><td><input type='text' name='_firstname' value=''></td></tr>\n". |
---|
| 11 | "<tr><td>".DOWNLOAD_FORM_FIELD_NAME.":</td><td><input type='text' name='_name' value=''></td></tr>\n". |
---|
| 12 | "<tr><td>".DOWNLOAD_FORM_FIELD_ORGANIZATION.":</td><td><input type='text' name='_organization' value=''></td></tr>\n". |
---|
| 13 | "<tr><td>".DOWNLOAD_FORM_FIELD_COUNTRY.":</td><td><input type='text' name='_country' value=''></td></tr>\n". |
---|
| 14 | "<tr><td>".DOWNLOAD_FORM_FIELD_EMAIL.":</td><td><input type='text' name='_email' value=''></td></tr>\n". |
---|
| 15 | "<tr><td colspan='2' align=\"center\">\n". |
---|
| 16 | "<input type='submit' value='".DOWNLOAD_FORM_FIELD_NEXT." >'></td></tr>\n". |
---|
| 17 | "<input type=\"hidden\" name='_filename' value=\"".$_GET['filename']."\">\n". |
---|
| 18 | "</form></table>\n"; |
---|
| 19 | getMainPage($title, $content); |
---|
| 20 | } |
---|
| 21 | else { |
---|
| 22 | header('Location: http://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']).'/down.php'); |
---|
| 23 | } |
---|
| 24 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.