| Current Path : /proc/thread-self/root/var/www/cesa.co.za/ |
| Current File : //proc/thread-self/root/var/www/cesa.co.za/reportquestionnaire.php |
<?php
// ini_set('display_errors', 1);
// ini_set('display_startup_errors', 1);
// error_reporting(E_ALL);
include("php/inc_db.php");
?>
<html>
<head>
<title>Questionnaire Report</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="/sites/default/files/color/cesa-24ce7d4e/style.css?C" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" style="background-color:white">
<?php
$conn = $conni;
$GroupID = intval($_GET["id"]);
$GroupID2 = intval($_GET["id2"]);
$Questionnaire_ID = intval($_GET["qid"]);
?>
<?php
$sql = "SELECT * FROM Questionnaires WHERE Questionnaire_ID='" . $Questionnaire_ID . "'";
$rec = mysqli_query($conn, $sql);
if ($row = mysqli_fetch_assoc($rec)) {
extract($row);
}
mysqli_free_result($rec);
?>
<table width="700" border="0" align="center" cellpadding="20" cellspacing="0" bgcolor="#FFFFFF" style="width:700px;">
<tr>
<td valign="top">
<p align="right"><a href="reportquesexport.php?type=wordcs&id=<?php echo $_GET["id"]; ?>&qid=<?php echo $_GET["qid"]; ?>" target="_blank"><strong>Export to Word</strong></a></p>
<?php include("inc_reportquestionnaire.php"); ?>
<h1>Detailed Responses</h1>
<p> <a href="reportquesdetailed.php?qid=<?php echo $Questionnaire_ID; ?>&id=<?php echo $GroupID; ?>">Click here for the detailed responses</a></p>
<?php // include("inc_footer.php");
?>
</body>
</html>