blob: f0a694f00577967908aaa1545d4d12eae282c106 [file] [log] [blame]
<?php
require_once("/home/data/httpd/eclipse-php-classes/system/app.class.php");
require_once("/home/data/httpd/eclipse-php-classes/people/ldapperson.class.php");
require_once("/home/data/httpd/eclipse-php-classes/menu/menu.class.php");
require_once("/home/data/httpd/eclipse-php-classes/system/dbconnection_ipzilla_rw.class.php");
#*****************************************************************************
#
# cq_part2.php
#
# Author: Denis Roy and others
# Date: 2005-01-21
#
# Description: Process to store contribution questionnaires and e-mail EMO
#
# HISTORY:
#
#****************************************************************************
$App = new App();
$App->runStdWebAppCacheable();
$ErrorMessage = "";
$LDAPPerson = new LDAPPerson();
$LDAPPerson = $LDAPPerson->redirectIfNotLoggedIn();
$_ContributionID = $_GET['i'];
$_p = $_GET['p'];
$preExistPkgList = $_COOKIE['preExistPkgList'];
$projectlead_id = $_COOKIE['projectlead_id'];
if($projectlead_id == "" || $preExistPkgList == "" || $_ContributionID == "") {
die("An internal error has occurred while loading the questionnaire. Your questionaire may not be complete. Please contact webmaster@eclipse.org.");
}
$pkgList = split("\n", $preExistPkgList);
# get list of committers and projects
$dbc = new DBConnectionIPZillaRW();
$dbh = $dbc->connect();
$rs_profiles = "";
include("cq_common.php"); # will populate $rs_profiles
include("inc/en_cq_part2.php");
?>