2006-07-11 03:44:14 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once("docutil.php");
|
|
|
|
require_once("countries.inc");
|
2008-10-17 16:40:15 +00:00
|
|
|
require_once("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>
|
2007-07-26 21:50:45 +00:00
|
|
|
<td class=fieldname 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
|
|
|
";
|
2006-12-01 00:38:36 +00:00
|
|
|
echo country_select();
|
2006-07-11 03:44:14 +00:00
|
|
|
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-10-16 23:52:48 +00:00
|
|
|
"<textarea name=$improved rows=10 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>
|
|
|
|
";
|
2006-08-08 20:32:37 +00:00
|
|
|
page_tail(true);
|
2006-07-11 03:44:14 +00:00
|
|
|
|
|
|
|
?>
|