2003-02-14 00:05:56 +00:00
|
|
|
<?php
|
|
|
|
|
2004-02-02 23:34:39 +00:00
|
|
|
include_once("../inc/db.inc");
|
|
|
|
include_once("../inc/util.inc");
|
2003-02-14 00:05:56 +00:00
|
|
|
|
|
|
|
function print_platform_select() {
|
|
|
|
echo "
|
|
|
|
<select name=platform>
|
|
|
|
";
|
|
|
|
|
|
|
|
$result = mysql_query("select * from platform");
|
|
|
|
while ($platform = mysql_fetch_object($result)) {
|
|
|
|
echo"
|
|
|
|
<option value=$platform->name>$platform->user_friendly_name
|
|
|
|
";
|
|
|
|
}
|
|
|
|
mysql_free_result($result);
|
|
|
|
echo "</select>\n";
|
|
|
|
}
|
|
|
|
|
2003-03-19 21:01:32 +00:00
|
|
|
db_init();
|
2003-02-14 00:05:56 +00:00
|
|
|
|
2003-03-19 21:01:32 +00:00
|
|
|
$user = get_logged_in_user();
|
|
|
|
|
|
|
|
page_head("Problem Report Form", $user);
|
|
|
|
|
|
|
|
echo "
|
|
|
|
<h3>Problem Report Form</h3>
|
|
|
|
<form method=post action=bug_report_action.php>
|
|
|
|
";
|
|
|
|
start_table();
|
|
|
|
row2_init("Computer type", "");
|
|
|
|
print_platform_select();
|
|
|
|
echo" </td></tr>\n";
|
|
|
|
row2("Problem description",
|
|
|
|
"<textarea name=problem rows=10 cols=80></textarea>"
|
|
|
|
);
|
|
|
|
row2("",
|
|
|
|
"<input type=submit value=\"Submit problem report\">"
|
|
|
|
);
|
|
|
|
end_table();
|
|
|
|
echo" </form> ";
|
|
|
|
page_tail();
|
2003-02-14 00:05:56 +00:00
|
|
|
|
|
|
|
?>
|