<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Template Name: Internet Business
Author: <a href="http://www.os-templates.com/">OS Templates</a>
Author URI: http://www.os-templates.com/
Licence: Free to use under our free template licence terms
Licence URI: http://www.os-templates.com/template-terms
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Internet Business | Style Demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />
<link rel="stylesheet" href="form.css" type="text/css" />
<link rel="stylesheet" href="table.css" type="text/css" />

</head>
<body id="top">
<div id="header">
  <div class="wrapper">
    <div class="fl_left">
      <h1><a href="index.html">Sistem Cerdas</a></h1>
      <p>Deteksi Dini Penyakit Jantung</p>
    </div>
    <div class="fl_right"> <a href="#"><img src="images/demo/468x60.gif" alt="" /></a> </div>
    <br class="clear" />
  </div>
</div>
<!-- ####################################################################################################### -->
<div id="topbar">
  <div class="wrapper">
    <div id="topnav">
      <ul>
       <li class="active"><a href="index_admin.html">Home</a></li>
        <li><a href="tambah_user.php">User</a></li>
        <li><a href="tambah_gejala.php">Gejala</a></li>
        <li><a href="tambah_penyakit.php">Penyakit</a></li>
        <li><a href="tambah_solusi.php">Solusi</a></li>
        <li><a href="index.html">Log Out</a></li>
        
        
      </ul>
    </div>
    <div id="search">
      <form action="#" method="post">
        <fieldset>
          <legend>Site Search</legend>
            
        </fieldset>
      </form>
    </div>
    <br class="clear" />
  </div>
</div>
<!-- ####################################################################################################### -->
<div id="breadcrumb">
  <div class="wrapper">
    <ul>
       <li class="first">You Are Here</li>
      <li>&#187;</li>
      <li><a href="#">Penyakit</a></li>
      <li>&#187;</li>
      <li><a href="tabel_penyakit.php">Tabel penyakit</a></li>
    </ul>
  </div>
</div>
<!-- ####################################################################################################### -->
<div id="container">
  <div class="wrapper">
    <div id="content">
	<h1> Tambahkan data penyakit</h1>
	
	<form method="POST" enctype="multipart/form-data" action="update.php">
	<center><img src="images/demo/penyakit.png" width='50%'></center>
	<br>
	<br>
		<table width='100%'><tr>
		<?php
include_once "library/inc.connection.php";
include_once "library/inc.library.php";
$id_penyakit= $_GET['id_penyakit'];
$query = mysql_query("select * from penyakit where id_penyakit ='$id_penyakit'");
while ($q = mysql_fetch_array($query)) {
?>
<td>Id Penyakit </td><td><input type='text' name='id_penyakit' value='<?php echo $q['id_penyakit'] ?>'></td></tr>

		<td>Nama Penyakit </td><td><input type='text' name='nama_penyakit'value='<?php echo $q['nama_penyakit'] ?>'></td></tr>
		<td>Keterangan </td><td><textarea rows='5' cols='50' name ='keterangan'><?php echo $q['keterangan'] ?></textarea>
										
											
							</td></tr>
		<td></td><td><input type="reset" value="Hapus Form">
		<input type="submit" value="update" name="update_penyakit"></td></tr>
		</form>
		</table>
		<?php
		}
		?>
			<br></br>
     
      
      
      <table summary="Summary Here" cellpadding="0" cellspacing="0">
        <thead>
          
        </thead>
        <tbody>
          
          
          
        </tbody>
      </table>
      <div id="comments">
        
         
          
        </ul>
      </div>
      
      <div id="respond">
        <form action="#" method="post">
          <p>
            <input type="text" name="name" id="name" value="" size="22" />
            <label for="name"><small>Name (required)</small></label>
          </p>
          <p>
            <input type="text" name="email" id="email" value="" size="22" />
            <label for="email"><small>Mail (required)</small></label>
          </p>
          <p>
            <textarea name="comment" id="comment" cols="100%" rows="10"></textarea>
            <label for="comment" style="display:none;"><small>Comment (required)</small></label>
          </p>
          <p>
            <input name="submit" type="submit" id="submit" value="Submit Form" />
            &nbsp;
            <input name="reset" type="reset" id="reset" tabindex="5" value="Reset Form" />
          </p>
        </form>
      </div>
    </div>
    <div id="column">
      <div class="subnav">
       <h2>Secondary Navigation</h2>
        <ul>
          
          <li><a href="#">User</a>
            <ul>
              <li><a href="tambah_user.php">Tambah User</a></li>
              <li><a href="tabel_user.php">Tabel User</a></li>
            </ul>
          </li>
          <li><a href="#">Gejala</a>
            <ul>
              <li><a href="tambah_gejala.php">Tambah Gejala</a></li>
              <li><a href="tabel_gejala.php">Tabel Gejala</a></li>
            </ul>
          </li>
		  <li><a href="#">Penyakit</a>
            <ul>
              <li><a href="tambah_penyakit.php">Tambah Penyakit</a></li>
              <li><a href="tabel_penyakit.php">Tabel Penyakit</a></li>
            </ul>
          </li>
		  		  <li><a href="#">Solusi</a>
            <ul>
              <li><a href="tambah_solusi.php">Tambah Solusi</a></li>
              <li><a href="tabel_solusi.php">Tabel Solusi</a></li>
            </ul>
          </li>
          <li><a href="diagnosa.php">Diagnosa</a></li>
          <li><a href="index.html">Log Out</a></li>
        </ul>
      </div> 
      <div class="holder">
        <ul>
         
        </ul>
      </div>
     
    </div>
    <br class="clear" />
  </div>
</div>
<!-- ####################################################################################################### -->
<div id="footer">
  <div class="wrapper">
    <div id="newsletter">
      <h2>Stay In The Know !</h2>
      <p>Please enter your email to join our mailing list</p>
      <form action="#" method="post">
        <fieldset>
          <legend>News Letter</legend>
          <input type="text" value="Enter Email Here&hellip;"  onfocus="this.value=(this.value=='Enter Email Here&hellip;')? '' : this.value ;" />
          <input type="submit" name="news_go" id="news_go" value="GO" />
        </fieldset>
      </form>
      <p>To unsubscribe please <a href="#">click here &raquo;</a></p>
    </div>
    <div class="footbox">
      <h2>Lacus interdum</h2>
      <ul>
        <li><a href="#">Praesent et eros</a></li>
        <li><a href="#">Praesent et eros</a></li>
        <li><a href="#">Lorem ipsum dolor</a></li>
        <li><a href="#">Suspendisse in neque</a></li>
        <li class="last"><a href="#">Praesent et eros</a></li>
      </ul>
    </div>
    <div class="footbox">
      <h2>Lacus interdum</h2>
      <ul>
        <li><a href="#">Praesent et eros</a></li>
        <li><a href="#">Praesent et eros</a></li>
        <li><a href="#">Lorem ipsum dolor</a></li>
        <li><a href="#">Suspendisse in neque</a></li>
        <li class="last"><a href="#">Praesent et eros</a></li>
      </ul>
    </div>
    <div class="footbox">
      <h2>Lacus interdum</h2>
      <ul>
        <li><a href="#">Praesent et eros</a></li>
        <li><a href="#">Praesent et eros</a></li>
        <li><a href="#">Lorem ipsum dolor</a></li>
        <li><a href="#">Suspendisse in neque</a></li>
        <li class="last"><a href="#">Praesent et eros</a></li>
      </ul>
    </div>
    <br class="clear" />
  </div>
</div>
<!-- ####################################################################################################### -->
<div id="copyright">
  <div class="wrapper">
    <p class="fl_left">Copyright &copy; 2014 - All Rights Reserved - <a href="#">Domain Name</a></p>
    <p class="fl_right">Template by <a target="_blank" href="http://www.os-templates.com/" title="Free Website Templates">OS Templates</a></p>
    <br class="clear" />
  </div>
</div>
</body>
</html>