<?php include 'usercheck.php' ?>
<?php
include 'storedqueries_data.php';
?>
<html>
<head>
<title>Querying and reporting</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="style.css">
</head>
<body bgcolor="#FFFFFF">
<?php include 'header.php'; ?>
<h1>Querying and reporting</h1>
<p> </p>
<table width="95%" border="0" cellspacing="2" cellpadding="0" align="center">
<tr>
<td valign="top" width="50%">
<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td class="tableTitle"> Query Defect Database</td>
</tr>
<tr>
<td>
<p><a href="querybysample.php"><font size="2"><br>
Basic "query by example" form<br>
<br>
</font></a><font size="2"><a href="genquery.php">Advanced query
form</a></font><br>
<br>
</p>
</td>
</tr>
<tr>
<td class="tableTitle"> Stored queries</td>
</tr>
<tr>
<td>
<p><font size="2"><br>
Or you can choose any of the following standard queries:</font>
</p>
<ul>
<?php
foreach ($storedQueries['standard']['Captions'] as $key => $value) {
if ($value != " ") {
?>
<li><font size="2"><a href="storedqueries.php?idquery=<?php echo $key; ?>"><?php echo $value; ?></a></font></li>
<?php
} else
echo "<br><br>";
} //for
?>
</ul>
<p> </p>
<p align="left"></p>
</td>
</tr>
</table>
</td>
<td valign="top" width="50%">
<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td class="tableTitle"> Management reports</td>
</tr>
<tr>
<td> <br>
<ul>
<?php
foreach ($storedQueries['management']['Captions'] as $key => $value) {
if ($value != " ") {
?>
<li><font size="2"><a href="storedqueries.php?querytype=management&idquery=<?php echo $key; ?>"><?php echo $value; ?></a></font></li>
<?php
} else
echo "<br><br>";
} //for
?>
</ul>
<p> </p>
</td>
</tr>
<tr>
<td class="tableTitle"> Other reports</td>
</tr>
<tr>
<td><br>
<ul>
<li><a href="releasenotes.php"><font size="2"> Release notes</font></a><font size="2">
(defects integrated in release xxx)</font></li>
<li><font size="2">Defects for target release (milestone xxx status)
<font color="#FF3333"><b>(NIY)</b></font> </font></li>
<li><font size="2">Global statistics <font color="#FF3333"><b>(NIY)</b></font></font></li>
<li><font size="2">Personal statistics (for user <?php echo $ddts_username; ?>)
<font color="#FF3333"><b>(NIY)</b></font> </font></li>
</ul>
<p> </p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
<?php include 'footer.php'; ?>
</html>