<link href="css/form.css" type="text/css" rel="stylesheet" />


<?php
	$qryx=mysqli_query($mysqli,"SELECT * FROM qa WHERE id='$_GET[id_qa]'");
  $datax=mysqli_fetch_array($qryx);
  $asal=$datax["asal"];
  $tanggal_tanya=$datax["tanggal_tanya"];
  $pertanyaan=$datax["pertanyaan"];


	echo "<h3>MENJAWAB PERTANYAAN</h3>";
	echo "<h3 align=\"right\"><a href=\"javascript:history.back()\" style=\"color:#FF0066\">Kembali</a></h3>";

?>

<form name="form1" method="post" action="_save_jawaban.php">
  <table width="600" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="204">&nbsp;</td>
      <td width="396">&nbsp;</td>
    </tr>
    <tr>
      <td valign="top">Asal</td>
      <td valign="top"><input type="hidden" value="<?php echo $_GET[id_qa] ?>" name="txtId" id="txtId"><textarea name="txtAsal" id="txtAsal" cols="30" rows="2" class="kotakarea" readonly><?php echo $asal ?></textarea></td>
    </tr>
    <tr>
      <td valign="top">Pertanyaan</td>
      <td valign="top"><textarea name="txtPertanyaan" id="txtPertanyaan" cols="50" rows="4" class="kotakarea" readonly><?php echo $pertanyaan ?></textarea></td>
    </tr>
    <tr>
      <td valign="top">Uraian Jawaban</td>
      <td valign="top"><textarea name="txtJawaban" id="txtJawaban" cols="50" rows="4" class="kotakarea"></textarea></td>
    </tr>
    <tr>
      <td width="204">&nbsp;</td>
      <td width="396">&nbsp;</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td><input type="submit" name="button" id="button" value="Kirim" class="tombol"></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
  </table>
</form>

