2006-07-11 03:44:14 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once("docutil.php");
|
|
|
|
require_once("countries.inc");
|
2006-07-22 18:24:01 +00:00
|
|
|
require_once("../html/inc/translation.inc");
|
2006-07-11 03:44:14 +00:00
|
|
|
require_once("poll.inc");
|
2006-07-22 18:24:01 +00:00
|
|
|
require_once("poll_data.inc");
|
2006-07-11 03:44:14 +00:00
|
|
|
|
2006-07-22 18:24:01 +00:00
|
|
|
page_head(tr(POLL_TITLE));
|
2006-07-11 03:44:14 +00:00
|
|
|
|
|
|
|
echo "
|
2006-07-17 16:38:53 +00:00
|
|
|
<body onload=\"disable_all();\">
|
2006-07-11 03:44:14 +00:00
|
|
|
<p>
|
2006-07-22 18:24:01 +00:00
|
|
|
".tr(POLL_INTRO)."
|
2006-07-11 03:44:14 +00:00
|
|
|
";
|
|
|
|
|
|
|
|
echo "<form name=blah action=poll_action.php>\n";
|
|
|
|
list_start();
|
2006-07-22 18:24:01 +00:00
|
|
|
list_bar(tr(POLL_RUN));
|
2006-07-11 03:44:14 +00:00
|
|
|
|
2006-07-11 19:24:12 +00:00
|
|
|
generate_functions($overall_choices);
|
|
|
|
show_choices($overall_choices, $run_boinc);
|
2006-07-11 03:44:14 +00:00
|
|
|
|
2006-07-22 18:24:01 +00:00
|
|
|
list_bar(tr(POLL_PARTICIPATION));
|
2006-07-13 03:04:45 +00:00
|
|
|
show_choices($project_items, "");
|
2006-07-22 18:24:01 +00:00
|
|
|
list_bar(tr(POLL_COMPUTERS));
|
2006-07-11 19:24:12 +00:00
|
|
|
show_choices($comp_items, "");
|
2006-07-22 18:24:01 +00:00
|
|
|
list_bar(tr(POLL_YOU));
|
2006-07-11 19:24:12 +00:00
|
|
|
show_choices($you_items, "");
|
2006-07-11 03:44:14 +00:00
|
|
|
|
|
|
|
echo "
|
|
|
|
<tr>
|
2006-07-22 18:24:01 +00:00
|
|
|
<td bgcolor=$light_blue valign=top>".tr(POLL_NATIONALITY)."</td>
|
2006-07-11 19:24:12 +00:00
|
|
|
<td><select name=$country>
|
2006-07-11 03:44:14 +00:00
|
|
|
";
|
|
|
|
print_country_select();
|
|
|
|
echo "</select></td></tr>";
|
2006-07-22 18:24:01 +00:00
|
|
|
list_bar(tr(POLL_COMMENTS));
|
2006-07-11 19:24:12 +00:00
|
|
|
list_item2(
|
2006-07-22 18:24:01 +00:00
|
|
|
tr(POLL_COMMENTS_QUESTION),
|
2006-07-11 21:56:53 +00:00
|
|
|
"<textarea name=$improved rows=4 cols=60></textarea>"
|
2006-07-11 19:24:12 +00:00
|
|
|
);
|
2006-07-11 03:44:14 +00:00
|
|
|
|
2006-07-22 18:24:01 +00:00
|
|
|
list_item("<br>", tr(POLL_DONE)."<input type=submit value=OK>");
|
2006-07-11 03:44:14 +00:00
|
|
|
list_end();
|
|
|
|
echo "
|
|
|
|
</form>
|
|
|
|
";
|
|
|
|
|
|
|
|
?>
|