Location: PHPKode > projects > Druid Defect Control > defectcontrol_0.9.4/tts/storedqueries.php
<?php require_once 'usercheck.php' ?>
<?php 
  require_once 'storedqueries_data.php'; 
  require_once 'database.php';
?>

<html>
<head>
<title>Stored queries</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'; ?> 

<?php if ($idquery == "") {?> 

    <b>No query was specified</b>. 
    No results can be shown (how did you arrive here??)

<?php } else {  //if ?> 

<h1>Query results</h1>

<p><b>
<?php   
    
    if ($querytype == "") 
        $querytype = 'standard';
    
    echo $storedQueries[$querytype]['Captions'][$idquery]; 
    
?>:</b></p>

<?php 
	$tts_query = $storedQueries[$querytype]['Queries'][$idquery]; 
	include 'queryresult.php'; 
?>

<?php } //if-else?>

<p>&nbsp;</p>
<?php include 'footer.php'; ?>
</body>
</html>
Return current item: Druid Defect Control