Your IP : 216.73.217.79


Current Path : /var/www/cesa.co.za/
Upload File :
Current File : //var/www/cesa.co.za/testreport.php

<?php 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"]);
$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="page-break-before:always">
	<tr>
		<td valign="top">
<p align="right"><a href="testreportexport.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_testreport.php"); ?>
<h1>Detailed Responses</h1>
<p> <a href="testreportdetailed.php?qid=<?php echo $Questionnaire_ID; ?>&id=<?php echo $GroupID; ?>">Click here for the detailed responses</a></p>
		</td>
	</tr>
</table>
<?php // include("inc_footer.php"); ?>

</body>
</html>