<?php
include('header.php');
include('dbcon.php');
?>


		<div class="clearfix">
</div>
<!-- BEGIN CONTAINER -->
<div class="page-container">

        <!-- BEGIN SIDEBAR -->
    <div class="page-sidebar-wrapper">
        <div class="page-sidebar navbar-collapse collapse">
            <!-- BEGIN SIDEBAR MENU -->
            <ul class="page-sidebar-menu">
                <li class="sidebar-toggler-wrapper">
                    <!-- BEGIN SIDEBAR TOGGLER BUTTON -->
                    <div class="sidebar-toggler hidden-phone">
                    </div>
                    <!-- BEGIN SIDEBAR TOGGLER BUTTON -->
                </li>
                
                
                <!--SEARCH-->
                <li class="sidebar-search-wrapper">
                    <!-- BEGIN RESPONSIVE QUICK SEARCH FORM -->
                    <form class="sidebar-search" action="#" method="POST">
                        <div class="form-container">
                            <div class="input-box">
                                <a href="javascript:;" class="remove"></a>
                                <input type="text" placeholder="Search..."/>
                                <input type="button" class="submit" value=" "/>
                            </div>
                        </div>
                    </form>
                    <!-- END RESPONSIVE QUICK SEARCH FORM -->
                </li>
                <!--SEARCH-->
                
                <li class="">
        
                    <a href="dashboard.php">
                    <i class="fa fa-desktop"></i>
                    <span class="title">Dashboard</span>
                    <span class="selected"></span>
                    </a>
                </li>
                
                

                    <li class="">
                    <a href="banner.php">
                    <i class="fa fa-home" aria-hidden="true"></i>
                    <span class="title">HOME</span>
                    <span class="arrow "></span>
                    </a>
                    <ul class="sub-menu">
                        <li><a href="banner.php">Banner</a></li>
                        <li><a href="welcome-note.php">Welcome Note</a></li>
                       
                        
                    </ul>


                  </li>

                


                    <li class="">
                    <a href="aboutus.php">
                    <i class="fa fa-info-circle" aria-hidden="true"></i>
                    <span class="title">ABOUT US</span>
                    </a>
                </li>



                    <li class="">
                    <a href="projects.php">
                    <i class="fa fa-info-circle" aria-hidden="true"></i>
                    <span class="title">PROJECTS</span>
                    </a>
                </li>
                
                    <li class="">
                    <a href="javascript:;">
                    <i class="fa fa-tags" aria-hidden="true"></i>
                    <span class="title">PRODUCTS</span>
                    <span class="arrow "></span>
                    </a>

                    <ul class="sub-menu">
                        <li><a href="works.php">Add Products</a></li>
                        <li><a href="">Products Details List</a></li>
                        
                    </ul>


                </li>



                    <li class="">
                    <a href="gallery.php">
                    <i class="fa fa-picture-o" aria-hidden="true"></i>
                    <span class="title">GALLERY</span>
                    </a>
                </li>


                    <li class="active">
                    <a href="contactus.php">
                    <i class="fa fa-envelope" aria-hidden="true"></i>
                    <span class="title">ENQUIRIES</span>
                    </a>
                  </li>
                  
                   <li class="">
                    <a href="seo.php">
                    <i class="fa fa-globe" aria-hidden="true"></i>
                    <span class="title">SEO</span>
                    </a>
                  </li>


                   

                    <li class="">
                    <a href="lock.php">
                    <i class="fa fa-bar-chart-o"></i>
                    <span class="title">Lock</span>
                    </a>
                </li>
                
                
                                </ul>
            <!-- END SIDEBAR MENU -->
        </div>
    </div>
    <!-- END SIDEBAR -->
    
	<!-- BEGIN CONTENT -->
	<div class="page-content-wrapper">
		<div class="page-content">
			<!-- BEGIN PAGE HEADER-->
			<div class="row">
            
				<div class="col-md-12">
					<!-- BEGIN PAGE TITLE & BREADCRUMB-->
					
					<ul class="page-breadcrumb breadcrumb">
						<li class="btn-group">
							
							<ul class="dropdown-menu pull-right" role="menu">
								
							</ul>
						</li>
						<li>
							<i class="fa fa-envelope"></i>
							<a href="contactus.php">Enquires</a>
							<i class="fa fa-angle-right"></i>
						</li>
					</ul>
					<!-- END PAGE TITLE & BREADCRUMB-->
				</div>
                
			</div>
			<!-- END PAGE HEADER-->
			
										<div class="row">
				<div class="col-md-12">
					<!-- Begin: life time stats -->
					<div class="portlet">
						<div class="portlet-title">
							
						
							
						</div>
                            <form name="form6" id="form6" action="product-view.php" method="post">
						<div class="portlet-body">
							<div class="table-container">
								
                                
                                
                                <div class="scroller" data-height="500px" data-always-visible="1" data-rail-visible1="1">
                                
								<table class="table table-striped table-bordered table-hover" id="datatable_orders">
								<thead>
								<tr role="row" class="heading">
									<!--<th width="1%">
										<input type="checkbox" class="group-checkable">
									</th>-->
									<th width="5%">
										 ID
									</th>
									<th width="21%">
										 Name
									</th>
									<th width="15%">
										 Email
									</th>
									
									<th width="15%">
										 Phone
									</th>
									
								
									
									<th width="15%">
										 Message
									</th>
									
									
									<th width="15%">
										 Date
									</th>
									
									<th width="15%">
										 status
									</th>
									
									<th width="10%">
										 Actions
									</th>
								</tr>
								<tr role="row" class="filter">
									<!--<td>
									</td>-->


                                    
									
									<td>
										
									</td>
								</tr>
                          
                                
                                                   

	
	<?php 
	
	$query="select * from  contact_us";
	$res=mysqli_query($con,$query);
	while($Data = mysqli_fetch_array($res))
	{
		
?>      
                                
               
                                
                   <tr role="row" class="filter">
										<!--<td>
                                        <input type="checkbox" class="group-checkable">
									</td>-->
                                    <td>
                                    <?php echo $Data['id'];?>
									</td>
									<td>
					            <?php echo $Data['name'];?>
									</td>
									<td>
							    <?php echo $Data['email'];?>
									</td>
									
									<td>
							    <?php echo $Data['phone'];?>
									</td>
									
								
									<td>
							    <?php echo $Data['message'];?>
									</td>
									
									<td>
							    <?php echo $Data['date'];?>
									</td>
									
									<td>
							    <?php echo $Data['status'];?>
									</td>
									
									<td>
										<div class="margin-bottom-5">
                                        <a href="product.php?productid=<?php echo $Data['productid']?>" class="btn default btn-xs blue"><i class="fa fa-edit"></i> </a> 
                                            	<a href="productdetail-delete.php?productid=<?php echo $Data['productid']?>" class="btn default btn-xs red"><i class="fa fa-trash-o " onClick="return confirm('Are you sure you want to delete ?');"></i> </a>
                                                                 
										</div>	
									</td>
								</tr>
                                             
                                
                                  
                                                                <?php
																}?>
                                                            
                                
                                
								</thead>
								<tbody>
								</tbody>
								</table></div></form>
							</div>
						</div>
					</div>
					<!-- End: life time stats -->
				</div>
			</div>
			<!-- END PAGE CONTENT-->
		</div>
	</div>
	<!-- END CONTENT -->
</div>
<!-- END CONTAINER -->
<!-- BEGIN FOOTER -->
<!-- END CONTAINER -->
<?php
include('footer.php');?>
<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
<!-- BEGIN CORE PLUGINS -->
<!--[if lt IE 9]>
<script src="assets/plugins/respond.min.js"></script>
<script src="assets/plugins/excanvas.min.js"></script> 
<![endif]-->
<script src="assets/plugins/jquery-1.10.2.min.js" type="text/javascript"></script>
<script src="assets/plugins/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>
<script src="assets/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="assets/plugins/bootstrap/js/bootstrap2-typeahead.min.js" type="text/javascript"></script>
<script src="assets/plugins/bootstrap-hover-dropdown/twitter-bootstrap-hover-dropdown.min.js" type="text/javascript"></script>
<script src="assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
<script src="assets/plugins/jquery.blockui.min.js" type="text/javascript"></script>
<script src="assets/plugins/jquery.cokie.min.js" type="text/javascript"></script>
<script src="assets/plugins/uniform/jquery.uniform.min.js" type="text/javascript"></script>
<!-- END CORE PLUGINS -->


<!-- BEGIN PAGE LEVEL PLUGINS -->
<script type="text/javascript" src="assets/plugins/fuelux/js/spinner.min.js"></script>
<script type="text/javascript" src="assets/plugins/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="assets/plugins/bootstrap-fileupload/bootstrap-fileupload.js"></script>

<script type="text/javascript" src="assets/plugins/bootstrap-wysihtml5/wysihtml5-0.3.0.js"></script>
<script type="text/javascript" src="assets/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.js"></script>
<script type="text/javascript" src="assets/plugins/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
<script type="text/javascript" src="assets/plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.js"></script>
<script type="text/javascript" src="assets/plugins/clockface/js/clockface.js"></script>
<script type="text/javascript" src="assets/plugins/bootstrap-daterangepicker/moment.min.js"></script>
<script type="text/javascript" src="assets/plugins/bootstrap-daterangepicker/daterangepicker.js"></script>
<script type="text/javascript" src="assets/plugins/bootstrap-colorpicker/js/bootstrap-colorpicker.js"></script>
<script type="text/javascript" src="assets/plugins/bootstrap-timepicker/js/bootstrap-timepicker.js"></script>
<script type="text/javascript" src="assets/plugins/jquery-inputmask/jquery.inputmask.bundle.min.js"></script>
<script type="text/javascript" src="assets/plugins/jquery.input-ip-address-control-1.0.min.js"></script>
<script type="text/javascript" src="assets/plugins/jquery-multi-select/js/jquery.multi-select.js"></script>
<script type="text/javascript" src="assets/plugins/jquery-multi-select/js/jquery.quicksearch.js"></script>
<script src="assets/plugins/jquery.pwstrength.bootstrap/src/pwstrength.js" type="text/javascript"></script>
<script src="assets/plugins/bootstrap-switch/static/js/bootstrap-switch.min.js" type="text/javascript"></script>
<script src="assets/plugins/jquery-tags-input/jquery.tagsinput.min.js" type="text/javascript"></script>
<script src="assets/plugins/bootstrap-markdown/js/bootstrap-markdown.js" type="text/javascript"></script>
<script src="assets/plugins/bootstrap-markdown/lib/markdown.js" type="text/javascript"></script>
<script src="assets/plugins/bootstrap-maxlength/bootstrap-maxlength.min.js" type="text/javascript"></script>
<script src="assets/plugins/bootstrap-touchspin/bootstrap.touchspin.js" type="text/javascript"></script>
<!-- END PAGE LEVEL PLUGINS -->
<script type="text/javascript" src="assets/plugins/select2/select2.min.js"></script>
<!-- BEGIN PAGE LEVEL SCRIPTS -->
<script src="assets/scripts/app.js"></script>
<script src="assets/scripts/form-components.js"></script>
<!-- END PAGE LEVEL SCRIPTS -->
<script>
jQuery(document).ready(function() {       
   // initiate layout and plugins
   App.init();
   FormComponents.init();
});   
</script>
<!-- BEGIN GOOGLE RECAPTCHA 
<script type="text/javascript">
var RecaptchaOptions = {
   theme : 'custom',
   custom_theme_widget: 'recaptcha_widget'
};
</script>
<script type="text/javascript" src="https://www.google.com/recaptcha/api/challenge?k=6LcrK9cSAAAAALEcjG9gTRPbeA0yAVsKd8sBpFpR"></script>
<!-- END GOOGLE RECAPTCHA -->
<!-- END JAVASCRIPTS -->
</body>
<!-- END BODY -->
</html>
