<?php
include "koneksi.php";
if (!isset($_SESSION["UserID"])) {
    header("location:login.php?p=3");
}
$idKaryawan = $_GET['id'];
//echo "<br>idkaryawan : . $idKaryawan;</br>";
?>
<!DOCTYPE html>
<link rel="stylesheet" type="text/css" href="style.css">
<html>

<head>
    <title> PT. MULTI HIDRACHROME BALIKPAPAN </title>
	<?php        include "part/menu2.php";
	?>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <?php
    include "part/jss.php";
    ?>


</head>

<body>
    <div style="width:1280px; height:220px" class="container" >

			
				<div class="alert alert-info" style='background-color:#F8F8FF' href="#">
				<div style="display: block; margin-left: auto; margin-right: auto; width: 1000px;  height:100px;"><img style="width: 1000px;  height:180px;" src="images/hd.jpg"></div>
				<div>
                <center>
                    <h1>PT. MULTI HYDRACHROM BALIKPAPAN</h1>
                </center>
            </div>
            <div>
                <center>
                    <h4>PROFESIONAL INFORMATION SYSTEM</h4>
                </center>
            </div>
        </div>

        <?php
		$id=mysqli_real_escape_string($conn,$_GET["id"]);
	
        $q = "SELECT nama_gambar FROM daily_report WHERE id = $id";
        $res = mysqli_query($conn, $q);
		while ($row = mysqli_fetch_array($res)) 
		{
			?>
			<center>
			<?php
				echo "<img src='fotoDailyReport/".$row['nama_gambar']."' width='1000' height='1000'>";
			?>
			</center>
			<?php
        }
        ?>

<div><div><div>

		<center><h5 class="form-signin">Copyright &copy; <a href="#" data-toggle="modal" data-target="#contact">SatrioPringgondani</a></h5></center>  
</body>

</html>