<html><body bgcolor="#d2e9ff">
  <?php
include('koneksi.php');

$strSQL1="select * from jadwaldokter where dokter not in ('Online', 'Dokter Umum', 'Radiologi', 'Laboratorium', 'Fisioterapi', 'BIO E')";
$result = sqlsrv_query($koneksi, $strSQL1);

?>
<table width=100% border=0 ><tr><td align=left><img src="kop.png" alt="RSI PURWODADI"></td>
<td align=center><font face="Arial, Helvetica, sans-serif"><b>JADWAL DOKTER RUMAH SAKIT ISLAM PURWODADI</b></font></td>

</tr>
<tr><td></td></tr>
<tr>
</tr>
</table>

<table width=100% border=1 >
<td width=10% align=center bgcolor=#f32142><font size=2 face="Arial, Helvetica, sans-serif" color=white><b>POLI</b></font></td>
<td width=20% align=center bgcolor=#f32142><font size=2 face="Arial, Helvetica, sans-serif" color=white><b>DOKTER</b></font></td>
<td width=8% align=center bgcolor=#f32142><font size=2 face="Arial, Helvetica, sans-serif" color=white><b>SENIN</b></font></td>
<td width=8% align=center bgcolor=#f32142><font size=2 face="Arial, Helvetica, sans-serif" color=white><b>SELASA</b></font></td>
<td width=8% align=center bgcolor=#f32142><font size=2 face="Arial, Helvetica, sans-serif" color=white><b>RABU</b></font></td>
<td width=8% align=center bgcolor=#f32142><font size=2 face="Arial, Helvetica, sans-serif" color=white><b>KAMIS</b></font></td>
<td width=8% align=center bgcolor=#f32142><font size=2 face="Arial, Helvetica, sans-serif" color=white><b>JUMAT</b></font></td>
<td width=8% align=center bgcolor=#f32142><font size=2 face="Arial, Helvetica, sans-serif" color=white><b>SABTU</b></font></td>
<td width=8% align=center bgcolor=#f32142><font size=2 face="Arial, Helvetica, sans-serif" color=white><b>MINGGU</b></font></td>
<td width=30% align=center bgcolor=#f32142><font size=2 face="Arial, Helvetica, sans-serif" color=white><b>KETERANGAN</b></font></td>
</tr>
<?php
while ($row=sqlsrv_fetch_array ($result)) {
	echo "<tr>";
	echo "<td bgcolor=#f7efde><font size=2  face=Arial>" . $row["poli"] . "</font></td>";
		echo "<td bgcolor=#f7efde><font size=2 face=Arial>" . $row["dokter"] . "</font></td>";
	echo "<td align=center bgcolor=#f7efde><font size=2 face=Arial>" . $row["senin"] . "</font></td>";
	echo "<td align=center bgcolor=#f7efde><font size=2 face=Arial>" . $row["selasa"] . "</font></td>";
	echo "<td align=center bgcolor=#f7efde><font size=2 face=Arial>" . $row["rabu"] . "</font></td>";
	echo "<td align=center bgcolor=#f7efde><font size=2 face=Arial>" . $row["kamis"] . "</font></td>";
	echo "<td align=center bgcolor=#f7efde><font size=2 face=Arial>" . $row["jumat"] . "</font></td>";
	echo "<td align=center bgcolor=#f7efde><font size=2 face=Arial>" . $row["sabtu"] . "</font></td>";
	echo "<td align=center bgcolor=#f7efde><font size=2 face=Arial>" . $row["minggu"] . "</font></td>";
	echo "<td align=center bgcolor=#f7efde><font size=2 face=Arial>" . $row["ket"] . "</font></td>";
}
?>
</table>
<br>
<footer>
<p></p>
	
                <p align=center>&copy; 2025 - RSI Purwodadi</p>
            </footer>
</body>
</html>