/* (C) 2003 Yahoo! Inc. All Rights Reserved */
require("config.php");
require (rootdir()."scripts/main.php");
require (rootdir()."scripts/load_survey.php");
if (strlen($_GET[s_id]) < 1 || ereg('[[:digit:]]', $_GET[s_id]) == false || check_survey($_GET[s_id]) == false)
{
die("
Survey not found
");
}
elseif (check_active($_GET[s_id]) == FALSE)
{
$msg[] = msg_codes(13);
}
?>
Survey
echo "";
//load survey
$s_array = load_survey($_GET[s_id]);
//check for multiple submissions
if (allow_submission($_GET[s_id]) == FALSE)
{
$msg[] = msg_codes(12);
}
?>
showMsg($msg);
?>