#!/usr/local/bin/php4

<HTML>
  <HEAD>
    <TITLE>Add Question: <?php echo($unitName . '-&gt;'
      . $subunitName);?></TITLE>
    <link rel='stylesheet' type='text/css' href='../istutorial.css'>
  </HEAD>

  <BODY>
<?php

include('setPhpExt.phtml');
require ("defineStuff.$phpExt");
include("setCurrentDir.$phpExt");
//include ("fileStuff.$phpExt");
//include ("nameFinders.$phpExt");

?>

    <P CLASS="Breadcrumbs"><A HREF="units.phtml">Units List</A> 
      <?php echo(ARROW_LINK);?><A
      HREF="subunits.phtml?unit=<?php echo($unitNum);?>"><?php
      echo($unitName);?> Subunits List</A> <?php echo(ARROW_LINK);?><?php
      echo($subunitName);?> <?php echo(ARROW_LINK);?>Add Question</P>

    <HR />

    <H1>Instructional Strategies Tutorial</H1>
<!--    <H2>Practice Section Questions List</H2> -->

<?php

echo("<H3>$unitName" . ARROW_LINK . "$subunitName</H3>\n");
//echo("<H4>$subunitName</H4>\n");

?>

    <form name="form1" method="post" action="processAddQuestion.phtml">

      <table width="100%" border="0">
        <tr>
          <td width="20%" class="QuestionEditor">
    &nbsp;
          </td>
          <td class="QuestionEditor" width="40%">Question:<br>
            <textarea name="question" cols="32" rows="5"></textarea>
          </td>
          <td class="QuestionEditor" width="40%">Example:<br>
            <textarea name="example" cols="32" rows="5"></textarea>
          </td>
        </tr>
        <tr>
          <td class="QuestionEditor">
            <input name="correct1" type="checkbox"> Correct
          </td>
          <td class="QuestionEditor">Option 1:<br>
            <input name="option1" type="text">
          </td>
          <td class="QuestionEditor">Option 1 Feedback:<br>
           <textarea name="feedback1" cols="32" rows="5"></textarea>
          </td>
        </tr>
        <tr>
          <td class="QuestionEditor">
            <input name="correct2" type="checkbox"> Correct
          </td>
          <td class="QuestionEditor">Option 2:<br>
            <input name="option2" type="text">
          </td>
          <td class="QuestionEditor">Option 2 Feedback:<br>
           <textarea name="feedback2" cols="32" rows="5"></textarea>
          </td>
        </tr>
        <tr>
          <td class="QuestionEditor">
            <input name="correct3" type="checkbox"> Correct
          </td>
          <td class="QuestionEditor">Option 3:<br>
            <input name="option3" type="text">
          </td>
          <td class="QuestionEditor">Option 3 Feedback:<br>
           <textarea name="feedback3" cols="32" rows="5"></textarea>
          </td>
        </tr>
        <tr>
          <td class="QuestionEditor">
            <input name="correct4" type="checkbox"> Correct
          </td>
          <td class="QuestionEditor">Option 4:<br>
            <input name="option4" type="text">
          </td>
          <td class="QuestionEditor">Option 4 Feedback:<br>
           <textarea name="feedback4" cols="32" rows="5"></textarea>
          </td>
        </tr>
        <tr>
          <td class="QuestionEditor">
            <input name="correct5" type="checkbox"> Correct
          </td>
          <td class="QuestionEditor">Option 5:<br>
            <input name="option5" type="text">
          </td>
          <td class="QuestionEditor">Option 5 Feedback:<br>
           <textarea name="feedback5" cols="32" rows="5"></textarea>
          </td>
        </tr>

      </table>
      <p>
        <input type="submit" value="Submit">
        <input type="reset"  value="Reset">
      </p>

      <INPUT TYPE="hidden" NAME="unitNum" VALUE="<?php echo($unitNum);?>"/>
      <INPUT TYPE="hidden" NAME="unitName"
        VALUE="<?php echo($unitName);?>"/>
      <INPUT TYPE="hidden" NAME="subunitNum" VALUE="<?php
        echo($subunitNum);?>"/>
      <INPUT TYPE="hidden" NAME="subunitName"
        VALUE="<?php echo($subunitName);?>"/>

    </form>

<!--
    <FORM ACTION="generateWebPage.phtml" METHOD="POST">
      <INPUT TYPE="submit" VALUE="Generate Web Page" />

      <INPUT TYPE="hidden" NAME="unitNum" VALUE="<?php echo($unit);?>"/>
      <INPUT TYPE="hidden" NAME="unitName"
        VALUE="<?php echo($currentUnit);?>"/>
      <INPUT TYPE="hidden" NAME="subunitNum" VALUE="<?php
        echo($subunit);?>"/>
      <INPUT TYPE="hidden" NAME="subunitName"
        VALUE="<?php echo($currentSubunit);?>"/>

    </FORM>
-->
    
  </BODY>

</HTML>
