<!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</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />
<script type="text/javascript" src="layout/scripts/jquery.min.js"></script>
<script type="text/javascript" src="layout/scripts/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="layout/scripts/jquery.hslides.1.0.js"></script>
<script type="text/javascript">
$((function () {
    $('#accordion').hSlides({
        totalWidth: 920,
        totalHeight: 300,
        minPanelWidth: 111,
        maxPanelWidth: 476,
		easing: "easeOutBack",
		activeClass: 'current'
    });
}));
</script>
</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="laporan.php">Laporan</a></li>
        <li><a href="index.html">Log Out</a></li>
        
        
      </ul>
    </div>
    <div id="search">
      <form action="#" method="post">
        <fieldset>
          <legend></legend>
          
        </fieldset>
      </form>
    </div>
    <br class="clear" />
  </div>
</div>
<!-- ####################################################################################################### -->
<div id="featured_slide">
  <div class="wrapper">
    <div class="featured_content">
      <ul id="accordion">
        <li class="current">
          <div class="featured_box">
            <h2>1. Data User</h2>
            <p>Data User pada Aplikasi ini digunakan Untuk Login baik Sebagai admin Maupun User Biasa.</p>
            <p class="readmore"><a href="tabel_user.php">Continue Reading &raquo;</a></p>
          </div>
          <div class="featured_tab"> <img src="images/demo/1.png" alt="" />
            <p>Tabel Data User</p>
          </div>
        </li>
        <li>
          <div class="featured_box">
            <h2>2. Data Gejala</h2>
            <p>Data Gejala Di GUnakan Untuk Melakukan Diagnosa Penyakit Pada User.Untuk Menginput data Gejala Klik Menu Gejala di Top Menu</p>
            <p class="readmore"><a href="tabel_gejala.php">Continue Reading &raquo;</a></p>
          </div>
          <div class="featured_tab"><img src="images/demo/2.png" alt="" />
            <p>Tabel Gejala</p>
          </div>
        </li>
        <li>
          <div class="featured_box">
            <h2>3. Data Penyakit</h2>
            <p>Data Penyakit Digunakan Untuk Menginput data Penyakit yang akan di tampilkan Setelah melakukan proses diagnosa</p>
            <p class="readmore"><a href="tabel_penyakit.php">Continue Reading &raquo;</a></p>
          </div>
          <div class="featured_tab"><img src="images/demo/3.png" alt="" />
            <p>Tabel penyakit</p>
          </div>
        </li>
        <li>
          <div class="featured_box">
            <h2>4. Data Solusi</h2>
            <p>Setelah mengetahui penyakit yang di alami maka dibutuhkan solusi sebagai langkah awal penanganan penyakit pasien .</p>
            <p class="readmore"><a href="tabel_solusi.php">Continue Reading &raquo;</a></p>
          </div>
          <div class="featured_tab"><img src="images/demo/4.png" alt="" />
            <p>Tabel Solusi</p>
          </div>
        </li>
        <li>
          <div class="featured_box">
            <h2>5. Diagnosa</h2>
            <p>Lakukan Diagnosa Dengan Memilih data Gejala-Gejala Yang di Input Sebelumnya.</p>
            <p class="readmore"><a href="diagnosa.php">Continue Reading &raquo;</a></p>
          </div>
          <div class="featured_tab"><img src="images/demo/5.png" alt="" />
            <p>Tabel Diagnosa</p>
          </div>
        </li>
      </ul>
    </div>
  </div>
</div>
<!-- ####################################################################################################### -->
<div id="homecontent">
  
</div>
<!-- ####################################################################################################### -->
<div id="container">
  <div class="wrapper">
   
      <h2>Laporan Hasil Diagnosa</h2>
	  <div class="table">
	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
	  <thead>
         
       
							<tr bgcolor='brown'>
								<th width="10"><font color='white'>No</font></th>
								<th width="170"><font color='white'>Nama</font></th>
								<th><font color='white'>Diagnosa Penyakit</font></th>
		</thead>
		 <tbody>
						<?php
						include_once "library/inc.connection.php";
						$query = mysql_query("SELECT * FROM user, riwayat where riwayat.id_user = user.id_user and user.level <> 'admin' order by user.id_user asc");
						$no=1;
			               while($row=mysql_fetch_array($query)) {
				
							echo"<tr>
							 <td>$no</td>
							  <td>$row[nama_lengkap]</td>
							   <td>$row[penyakit]</td>
							
							
							 <tr>";
								$no++;
			                }
						
						
						
						?>
        </tbody>					
	  </table>
	  
	  
	  </div>
     
    </div>
    <div id="column">
      <div class="holder">
        
          
        </ul>
      </div>
    </div>
    <br class="clear" />
  </div>
</div>
<!-- ####################################################################################################### -->
<div id="footer">
  <div class="wrapper">
    <div id="newsletter">
      
        
      
    
    
<!-- ####################################################################################################### -->

</div>
</body>
</html>