<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8" />
	<link rel="apple-touch-icon" sizes="76x76" href="assets/img/apple-icon.png">
	<link rel="icon" type="image/png" sizes="96x96" href="assets/img/favicon.png">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

	<title>MYORI - KPDNKK</title>

	<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />
    <meta name="viewport" content="width=device-width" />


    <!-- Bootstrap core CSS     -->
    <link href="assets/css/bootstrap.min.css" rel="stylesheet" />

    <!-- Animation library for notifications   -->
    <link href="assets/css/animate.min.css" rel="stylesheet"/>

    <!--  Paper Dashboard core CSS    -->
    <link href="assets/css/paper-dashboard.css" rel="stylesheet"/>

    <!--  CSS for Demo Purpose, don't include it in your project     -->
    <link href="assets/css/demo.css" rel="stylesheet" />

    <!--  Fonts and icons     -->
    <link href="http://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" rel="stylesheet">
    <link href='https://fonts.googleapis.com/css?family=Muli:400,300' rel='stylesheet' type='text/css'>
    <link href="assets/css/themify-icons.css" rel="stylesheet">

</head>
<body>



<div class="wrapper">
    <div class="sidebar" data-background-color="white" data-active-color="danger">

    <!--
		Tip 1: you can change the color of the sidebar's background using: data-background-color="white | black"
		Tip 2: you can change the color of the active button using the data-active-color="primary | info | success | warning | danger"
	-->

    <div class="sidebar-wrapper">
    <div class="logo">
        <img src="./assets/img/logo.png" alt="logo.png" width="55%" style="display:block;margin:auto;"/>
        <a href="#" class="simple-text">
            <b>KPDNKK</b>
        </a>
    </div>

    <ul class="nav">
        <li >
            <a href="dashboard.html">
                <i class="ti-stats-up"></i>
                <p>Dashboard</p>
            </a>
        </li>

        <!-- PENGILANG -->
        <li style="background-color:#EAEAEA;">
            <a href="#" aria-disabled="disabled">
                <i class="ti-home"></i>
                <p>PENGILANG</p>
            </a>
        </li>                
        <li>
            <a href="table_sahmanu.php">
                <i class="ti-angle-right"></i>
                <p>&nbsp;Sah Permohonan</p>
            </a>
        </li>                
        <li class="active">
            <a href="table_manu.php">
                <i class="ti-angle-right"></i>
                <p>&nbsp;Senarai Pengilang</p>
            </a>
        </li> 

        <!-- PRODUK -->
        <li style="background-color:#EAEAEA;">
            <a href="#" aria-disabled="disabled">
                <i class="ti-package"></i>
                <p>PRODUK</p>
            </a>
        </li>                
        <li>
            <a href="#">
                <i class="ti-angle-right"></i>
                <p>&nbsp;Sah Produk</p>
            </a>
        </li>                
        <li>
        <a href="table_prod.php?id=M00001">
                <i class="ti-angle-right"></i>
                <p>&nbsp;Senarai Produk</p>
            </a>
        </li>                

        <!-- STIKER -->
        <!--
        <li style="background-color:#EAEAEA;">
            <a href="#" aria-disabled="disabled">
                <i class="ti-rss-alt"></i>
                <p>STIKER</p>
            </a>
        </li>                
        <li>
            <a href="#">
                <i class="ti-angle-right"></i>
                <p>&nbsp;Batch Stiker</p>
            </a>
        </li>                
        <li>
            <a href="#">
                <i class="ti-angle-right"></i>
                <p>&nbsp;Senarai Stiker</p>
            </a>
        </li> 
--> 

        <!-- KES -->
        <li style="background-color:#EAEAEA;">
            <a href="#" aria-disabled="disabled">
                <i class="ti-comment-alt"></i>
                <p>KES</p>
            </a>
        </li>                
        <li>
            <a href="table_kes.php">
                <i class="ti-angle-right"></i>
                <p>&nbsp;Senarai Kes</p>
            </a>
        </li>  

        <!-- TADBIR -->
        <li style="background-color:#EAEAEA;">
            <a href="#" aria-disabled="disabled">
                <i class="ti-settings"></i>
                <p>TADBIR</p>
            </a>
        </li>                
        <li>
            <a href="#">
                <i class="ti-angle-right"></i>
                <p>&nbsp;Pengguna</p>
            </a>
        </li>                
        <li>
            <a href="#">
                <i class="ti-angle-right"></i>
                <p>&nbsp;Settings</p>
            </a>
        </li>                 


<!--
                <li>
                    <a href="user.html">
                        <i class="ti-user"></i>
                        <p>User Profile</p>
                    </a>
                </li>
                <li>
                    <a href="table.html">
                        <i class="ti-view-list-alt"></i>
                        <p>Table List</p>
                    </a>
                </li>
                <li>
                    <a href="typography.html">
                        <i class="ti-text"></i>
                        <p>Typography</p>
                    </a>
                </li>
                <li>
                    <a href="icons.html">
                        <i class="ti-pencil-alt2"></i>
                        <p>Icons</p>
                    </a>
                </li>
                <li>
                    <a href="maps.html">
                        <i class="ti-map"></i>
                        <p>Maps</p>
                    </a>
                </li>
                <li>
                    <a href="notifications.html">
                        <i class="ti-bell"></i>
                        <p>Notifications</p>
                    </a>
                </li>
				<li class="active-pro">
                    <a href="upgrade.html">
                        <i class="ti-export"></i>
                        <p>Upgrade to PRO</p>
                    </a>
                </li>
-->

            </ul>
    	</div>
    </div>

    <div class="main-panel">
		<nav class="navbar navbar-default">
            <div class="container-fluid">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar bar1"></span>
                        <span class="icon-bar bar2"></span>
                        <span class="icon-bar bar3"></span>
                    </button>
                    <a class="navbar-brand" href="#">PENGILANG</a>
<?php
//receiving parameter
$id = $_GET['id'];
//echo $id;
echo "<input id='id' type='hidden' value='" .$id. "'/>";
?>
                </div>
                <div class="collapse navbar-collapse">
                    <ul class="nav navbar-nav navbar-right">
                        <li>
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <i class="ti-panel"></i>
								<p>Stats</p>
                            </a>
                        </li>
                        <li class="dropdown">
                              <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                    <i class="ti-bell"></i>
                                    <p class="notification">5</p>
									<p>Notifications</p>
									<b class="caret"></b>
                              </a>
                              <ul class="dropdown-menu">
                                <li><a href="#">Notification 1</a></li>
                                <li><a href="#">Notification 2</a></li>
                                <li><a href="#">Notification 3</a></li>
                                <li><a href="#">Notification 4</a></li>
                                <li><a href="#">Another notification</a></li>
                              </ul>
                        </li>
						<li>
                            <a href="#">
								<i class="ti-settings"></i>
								<p>Settings</p>
                            </a>
                        </li>
                    </ul>

                </div>
            </div>
        </nav>


        <div class="content">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-lg-4 col-md-5">
                        <div class="card card-user">
                            <div class="image" style="height:206px !important">
                                <img src="assets/img/background2.jpg" alt="..."/>
                            </div>
                            <div class="content" style="margin-top:-70px">
                                <div class="author"> 
                                  <img class="avatar border-white" style="zoom:2.5;opacity:10% !important;" src="assets/img/logo.jpg" alt="..."/>
                                  <h4 class="title"><span id="label_title"></span><br />
                                     <a href="#"><small id="label_reg"></small></a>
                                  </h4>
                                </div>
                            </div>
                            <hr>
                            <div class="text-center">
                                <div class="row">
                                    <!--
                                    <div class="col-md-3 col-md-offset-1">
                                        <h5>12<br /><small>Files</small></h5>
                                    </div>
                                    -->
                                    <div class="col-md-4 col-md-offset-2">
                                        <h5>000<br /><small>Products</small></h5>
                                    </div>
                                    <div class="col-md-4">
                                        <h5>000<br /><small>Stickers</small></h5>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="card hidden">
                            <div class="header">
                                <h4 class="title">Team Members</h4>
                            </div>
                            <div class="content">
                                <ul class="list-unstyled team-members">
                                            <li>
                                                <div class="row">
                                                    <div class="col-xs-3">
                                                        <div class="avatar">
                                                            <img src="assets/img/faces/face-0.jpg" alt="Circle Image" class="img-circle img-no-padding img-responsive">
                                                        </div>
                                                    </div>
                                                    <div class="col-xs-6">
                                                        DJ Khaled
                                                        <br />
                                                        <span class="text-muted"><small>Offline</small></span>
                                                    </div>

                                                    <div class="col-xs-3 text-right">
                                                        <btn class="btn btn-sm btn-success btn-icon"><i class="fa fa-envelope"></i></btn>
                                                    </div>
                                                </div>
                                            </li>
                                            <li>
                                                <div class="row">
                                                    <div class="col-xs-3">
                                                        <div class="avatar">
                                                            <img src="assets/img/faces/face-1.jpg" alt="Circle Image" class="img-circle img-no-padding img-responsive">
                                                        </div>
                                                    </div>
                                                    <div class="col-xs-6">
                                                        Creative Tim
                                                        <br />
                                                        <span class="text-success"><small>Available</small></span>
                                                    </div>

                                                    <div class="col-xs-3 text-right">
                                                        <btn class="btn btn-sm btn-success btn-icon"><i class="fa fa-envelope"></i></btn>
                                                    </div>
                                                </div>
                                            </li>
                                            <li>
                                                <div class="row">
                                                    <div class="col-xs-3">
                                                        <div class="avatar">
                                                            <img src="assets/img/faces/face-3.jpg" alt="Circle Image" class="img-circle img-no-padding img-responsive">
                                                        </div>
                                                    </div>
                                                    <div class="col-xs-6">
                                                        Flume
                                                        <br />
                                                        <span class="text-danger"><small>Busy</small></span>
                                                    </div>

                                                    <div class="col-xs-3 text-right">
                                                        <btn class="btn btn-sm btn-success btn-icon"><i class="fa fa-envelope"></i></btn>
                                                    </div>
                                                </div>
                                            </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-8 col-md-7">
                        <div class="card card-plain">
                            <div class="header">
                                <h4 class="title">Paparan Maklumat</h4>
                            </div>
                            <div class="content">
                                <form>
                                    <div class="row">
                                        <div class="col-md-8">
                                            <div class="form-group">
                                                <label>Nama </label>
                                                <input id="name" type="text" class="form-control border-input" placeholder="Nama" value="Creative Code Inc." disabled>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label >Pendaftaran Syarikat</label>
                                                <input id="reg" type="email" class="form-control border-input" placeholder="Pendaftaran Syarikat" readonly>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="row">
                                        <div class="col-md-8">
                                            <div class="form-group">
                                                <label for="exampleInputEmail1">Alamat Email</label>
                                                <input type="email" class="form-control border-input" placeholder="Alamat Email" readonly>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label>No. Telefon</label>
                                                <input type="text" class="form-control border-input" placeholder="No.Telefon" value="" readonly>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="row">
                                        <div class="col-md-12">
                                            <div class="form-group">
                                                <label>Alamat</label>
                                                <input type="text" class="form-control border-input" placeholder="Alamat" value="" readonly>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="row">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label>Poskod</label>
                                                <input type="text" class="form-control border-input" placeholder="Poskod" readonly>
                                            </div>
                                        </div>

                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label>Bandar</label>
                                                <input type="text" class="form-control border-input" placeholder="Bandar" value="" readonly>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="row">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label>Negeri</label>
                                                <!--
                                                <input type="text" class="form-control border-input" placeholder="Negeri" value="Australia">
                                                -->
                                                <select id="area" class="form-control border-input" readonly>
                                                    <option value="SEL" selected>Selangor</option>
                                                    <option value="MLK">Melaka</option>
                                                    <option value="PRK">Perak</option>
                                                    <option value="PAH">Pahang</option>
                                                </select>
                                            </div>
                                        </div>
                                    </div>



                                    <div class="row">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label>Jenis Perniagaan</label>
                                                <input id="type" type="text" class="form-control border-input" placeholder="Jenis Perniagaan" value="Melbourne" readonly>
                                            </div>
                                        </div>                                        
                                    </div>

                                    <div class="text-center">
                                        <!--
                                        <button type="submit" class="btn btn-info btn-fill btn-wd">Update Profile</button>
                                        -->
                                    </div>

                                    <div class="clearfix"></div>
                                </form>
                            </div>
                        </div>
                    </div>


                </div>
            </div>
        </div>


        <footer class="footer">
            <div class="container-fluid">
                <nav class="pull-left">
                    <!--
                    <ul>

                        <li>
                            <a href="http://www.creative-tim.com">
                                Creative Tim
                            </a>
                        </li>
                        <li>
                            <a href="http://blog.creative-tim.com">
                               Blog
                            </a>
                        </li>
                        <li>
                            <a href="http://www.creative-tim.com/license">
                                Licenses
                            </a>
                        </li>
                    </ul>
                -->
                </nav>
				<div class="copyright pull-right">
                    &copy; <script>document.write(new Date().getFullYear())</script>, made with <i class="fa fa-heart heart"></i> by <a href="http://www.creative-tim.com">myori services</a>
                </div>
            </div>
        </footer>

    </div>
</div>


</body>

    <!--   Core JS Files   -->
    <script src="assets/js/jquery-1.10.2.js" type="text/javascript"></script>
	<script src="assets/js/bootstrap.min.js" type="text/javascript"></script>

	<!--  Checkbox, Radio & Switch Plugins -->
	<script src="assets/js/bootstrap-checkbox-radio.js"></script>

	<!--  Charts Plugin -->
	<script src="assets/js/chartist.min.js"></script>

    <!--  Notifications Plugin    -->
    <script src="assets/js/bootstrap-notify.js"></script>

    <!--  Google Maps Plugin    -->
    <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js"></script>

    <!-- Paper Dashboard Core javascript and methods for Demo purpose -->
	<script src="assets/js/paper-dashboard.js"></script>

	<!-- Paper Dashboard DEMO methods, don't include it in your project! -->
    <script src="assets/js/demo.js"></script>
    
    <script>

        $(document).ready(function() {

            var id = $('#id').val();

            function getData(){
                $.ajax({
                    type: "get",
                    url: "/k/ws/get_manu.php?id=" + id
                }).done(function(json) { 
                //console.log(json);
                var data = $.parseJSON(json);
                //console.log('data...', data[0]);
                $("#name").val(data[0].name).change();
                $("#reg").val(data[0].reg).change();
                $("#area").val(data[0].area).change();
                $("#type").val(data[0].type).change();

                $("#label_title").html(data[0].name).change();
                $("#label_reg").html(data[0].reg).change();
            });	



            }

            getData();



        });

    </script>






</html>
