<?
////////////////////////////////////////////////////////////////////////////////
//File: executionFrameLeft.php
//Author: Chad Rosen
//Purpose: This page is the left frame of the execution pages. It builds the
// javascript trees that allow the user to jump around to any point
// on the screen
////////////////////////////////////////////////////////////////////////////////
require_once("../functions/header.php");
session_start();
doDBConnect();
doHeader();
?>
<script language='javascript' src='functions/popupHelp.js'></script>
<LINK REL="stylesheet" TYPE="text/css" HREF="kenny.css">
<?
//begin the code that displays the user's options
echo "<img align=top src=icons/sym_question.gif onclick=javascript:open_popup('../help/met_main.php');>";
echo "<table width='100%' class=mainTable>";
echo "<tr><td class=userinfotable ><a href='metrics/metricsSelection.php' target='mainFrame'>²é¿´×îй¹¼þµÄ²âÊԼƻ®×´Ì¬</td></tr>";
echo "<tr><td class=userinfotable >²é¿´Ã¿¸ö¹¹¼þµÄ״̬";
echo "<FORM method='post' ACTION='metrics/buildDetail.php' target='mainFrame'>";
$result = mysql_query("select build from build,project where project.id = " . $_SESSION['project'] . " and build.projid = project.id order by build desc",$db);
echo "<SELECT NAME='build'>";
while ($myrow = mysql_fetch_row($result))
{
echo "<OPTION VALUE='" . $myrow[0] ."'>" . $myrow[0];
}//END WHILE
echo "</SELECT>";
echo "<input type='submit' NAME='submit' value='Ìá½»'></td></tr>";
echo "<tr><td class=userinfotable ><a href='metrics/allBuildMetrics.php' target='mainFrame'>²é¿´ËùÓй¹¼þ״̬</td></tr>";
echo "<tr><td class=userinfotable ><a href='metrics/totalTestCase.php' target='mainFrame'>²é¿´Ã¿¸ö²âÊÔÓÃÀý״̬</td></tr>";
echo "<tr><td class=userinfotable ><a href='metrics/blockedFailedReport.php?type=b' target='mainFrame'>×èÈû²âÊÔÓÃÀý</td></tr>";
echo "<tr><td class=userinfotable ><a href='metrics/blockedFailedReport.php?type=f' target='mainFrame'>ʧ°Ü²âÊÔÓÃÀý</td></tr>";
echo "<tr><td class=userinfotable ><a href='metrics/bugDetail.php' target='mainFrame'>ÿ¸ö²âÊÔÓÃÀýµÄȱÏÝ</td></tr>";
echo "<tr><td class=userinfotable ><a href='metrics/emailData.php' target='mainFrame'>·¢ËͲâÊԼƻ®</td></tr>";
echo "</table>";
?>