<html>

<head>
    
<title><?php echo $headline ?></title>

<link rel="icon" href="../../src/sxript.ico">
<script type="text/javascript" src="../../../src/qbf.js"></script>
<script type="text/javascript" src="../../../src/sxript.js"></script>
<script type="text/javascript" src="../../web-js/jquery-1.11.3.js"></script>
<script type="text/javascript" src="../../web-js/evalbutton.js"></script>
<link href="../../web-css/styles-main.css" rel="stylesheet" type="text/css" />
<link href="../../web-css/styles-console.css" rel="stylesheet" type="text/css" />

</head>
 
<body bgcolor="#CCCCCC">

<a name="Top"></a>

<h3>Navgation</h3>

<?php $pathtoroot = "../../"; ?>

<div class="indented">
  <?php include($_SERVER['DOCUMENT_ROOT']."/sxript/legacy/web-php/header.php"); ?>
</div>

<center>
<table width="100%" border="0">
    <tbody>
    <tr>
    <td>
    <hr/>
    </td>
    </tr>
    </tbody>
</table>
</center>

<center>
<table width="100%" border="0">
    <tbody>
    <tr>
    <td>
    <center>
    <h1><?php echo $headline ?></h1>
    </center>
    </td>
    </tr>
    </tbody>
</table>
</center>

<center>
<table width="100%" border="0">
    <tbody>
    <tr>
    <td>
    <hr/>
    </td>
    </tr>
    </tbody>
</table>
</center>

<center>
<table width="100%" border="0">
    <tbody>
    <tr>
    <td>
    <table width="100%" border="0">
        <tbody>
        <tr>
        <td align="right">
        </td>
        </tr>
        </tbody>
    </table>
    </td>
    </tr>
    </tbody>
</table>
</center>

<center>
<table width="97%" border="0">
    <tbody>
    <tr>
    <td>
<?php
echo file_get_contents('description.txt');
?>
    </td>
    </tr>
    </tbody>
</table>
</center>

<br/>

<center>
<table border="1">
    <tbody>
    <tr>
    <td>
    <center>
    <table border="0">
        <tbody>
        <tr> 
        <td>
	<center>
        <font face="Courier New"><b>Test Window</b></font>
	</center>
<textarea id="sxriptin" class="console" cols="80" rows="15">
<?php
echo file_get_contents('../../test/' . $name . '-test.txt');
?>
</textarea>
        </td>
        </tr>
        </tbody>
        </table>
    </center>
    </td>
    </tr>
    </tbody>
</table>
</center>

<br/>

<center>
<button id="evalbutton" class="stylebutton" onclick="evalbutton.focus()"><b>Evaluate</b></button>
</center>

<br/>

<form name="formsxript">
<center>
<table border="1">
    <tbody>
    <tr>
    <td>
    <center>
    <table border="0">
        <tbody>
        <tr> 
        <td>
	<center>
        <font face="Courier New"><b>Output Window</b></font>
	</center>
        <center> 
<textarea id="sxriptout" class="console" cols="80" rows="15">
</textarea>
        </center>
        </td>
        </tr>
        </tbody>
        </table>
    </center>
    </td>
    </tr>
    </tbody>
</table>
</center>
</form>

<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>

<center>
<table width="100" border="0">
    <tbody>
    <tr>
    <td>
    <hr/>
    </td>
    </tr>
    </tbody>
</table>
</center>

</body>
</html>
