<?php
	include "db_connection/db_connection.php";
	include "config/config.php";
	
	if($_SESSION['admin_login_id'] == '')
	{
		echo "<script>window.location='index.php';</script>";
	}
	else // THIS IS FOR GETTING PARTY DET ID ROM LOAGIN DET AND PARTY DET TABLE
	{
		$admin_id = $_SESSION['admin_login_id'];
		
		$SLCT_log = "SELECT * FROM login_details,ac_party_det WHERE ac_party_det.party_det_id = login_details.party_det_id AND login_details.admin_id = '$admin_id'";
		//echo $SLCT_log;
		$QURY_log = mysqli_query($connect,$SLCT_log);
		$FTCH_log = mysqli_fetch_object($QURY_log);
		$party_id = '$FTCH_log->party_det_id';
	}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="https://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<title><?php echo $PROJECT_TITLE ?></title>
<script type="text/javascript" src="js/stock_analize_JS.js"></script>
<link href="css/styles.css" rel="stylesheet" type="text/css" />
<!--[if IE]> <link href="css/ie.css" rel="stylesheet" type="text/css"> <![endif]-->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
<script type="text/javascript" src="js/plugins/forms/ui.spinner.js"></script>
<script type="text/javascript" src="js/plugins/forms/jquery.mousewheel.js"></script> 
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<script type="text/javascript" src="js/plugins/charts/excanvas.min.js"></script>
<script type="text/javascript" src="js/plugins/charts/jquery.flot.js"></script>
<script type="text/javascript" src="js/plugins/charts/jquery.flot.orderBars.js"></script>
<script type="text/javascript" src="js/plugins/charts/jquery.flot.pie.js"></script>
<script type="text/javascript" src="js/plugins/charts/jquery.flot.resize.js"></script>
<script type="text/javascript" src="js/plugins/charts/jquery.sparkline.min.js"></script>
<script type="text/javascript" src="js/plugins/tables/jquery.dataTables.js"></script>
<script type="text/javascript" src="js/plugins/tables/jquery.sortable.js"></script>
<script type="text/javascript" src="js/plugins/tables/jquery.resizable.js"></script>
<script type="text/javascript" src="js/plugins/forms/autogrowtextarea.js"></script>
<script type="text/javascript" src="js/plugins/forms/jquery.uniform.js"></script>
<script type="text/javascript" src="js/plugins/forms/jquery.inputlimiter.min.js"></script>
<script type="text/javascript" src="js/plugins/forms/jquery.tagsinput.min.js"></script>
<script type="text/javascript" src="js/plugins/forms/jquery.maskedinput.min.js"></script>
<script type="text/javascript" src="js/plugins/forms/jquery.autotab.js"></script>
<script type="text/javascript" src="js/plugins/forms/jquery.chosen.min.js"></script>
<script type="text/javascript" src="js/plugins/forms/jquery.dualListBox.js"></script>
<script type="text/javascript" src="js/plugins/forms/jquery.cleditor.js"></script>
<script type="text/javascript" src="js/plugins/forms/jquery.ibutton.js"></script>
<script type="text/javascript" src="js/plugins/forms/jquery.validationEngine-en.js"></script>
<script type="text/javascript" src="js/plugins/forms/jquery.validationEngine.js"></script>
<script type="text/javascript" src="js/plugins/uploader/plupload.js"></script>
<script type="text/javascript" src="js/plugins/uploader/plupload.html4.js"></script>
<script type="text/javascript" src="js/plugins/uploader/plupload.html5.js"></script>
<script type="text/javascript" src="js/plugins/uploader/jquery.plupload.queue.js"></script>
<script type="text/javascript" src="js/plugins/wizards/jquery.form.wizard.js"></script>
<script type="text/javascript" src="js/plugins/wizards/jquery.validate.js"></script>
<script type="text/javascript" src="js/plugins/wizards/jquery.form.js"></script>
<script type="text/javascript" src="js/plugins/ui/jquery.collapsible.min.js"></script>
<script type="text/javascript" src="js/plugins/ui/jquery.breadcrumbs.js"></script>
<script type="text/javascript" src="js/plugins/ui/jquery.tipsy.js"></script>
<script type="text/javascript" src="js/plugins/ui/jquery.progress.js"></script>
<script type="text/javascript" src="js/plugins/ui/jquery.timeentry.min.js"></script>
<script type="text/javascript" src="js/plugins/ui/jquery.colorpicker.js"></script>
<script type="text/javascript" src="js/plugins/ui/jquery.jgrowl.js"></script>
<script type="text/javascript" src="js/plugins/ui/jquery.fancybox.js"></script>
<script type="text/javascript" src="js/plugins/ui/jquery.fileTree.js"></script>
<script type="text/javascript" src="js/plugins/ui/jquery.sourcerer.js"></script>
<script type="text/javascript" src="js/plugins/others/jquery.fullcalendar.js"></script>
<script type="text/javascript" src="js/plugins/others/jquery.elfinder.js"></script>
<script type="text/javascript" src="js/plugins/ui/jquery.easytabs.min.js"></script>
<script type="text/javascript" src="js/files/bootstrap.js"></script>
<script type="text/javascript" src="js/files/functions.js"></script>
<script type="text/javascript" src="js/charts/chart.js"></script>
<script type="text/javascript" src="js/charts/hBar_side.js"></script>
<!-- Shared on MafiaShare.net  --><!-- Shared on MafiaShare.net  -->	
</head>
<body>
	<!-- Top line begins -->
	<?php include "header_footer/header.php"; ?>
	<!-- Top line ends -->
	<!-- Sidebar begins -->
	<?php include "menus/left_menu.php"; ?>
	<!-- Sidebar ends -->
	<!-- Content begins -->
	<div id="content">    
		<?php include "menus/top_menu.php"; ?>    
	    <!-- Breadcrumbs line -->
	    <div class="breadLine">
	        <div class="bc">
	            <ul id="breadcrumbs" class="breadcrumbs">
	                <li><a href="dashboard.pgp">Dashboard</a></li>
	                <li><a href="javascript:">Piece Tracking</a></li>
	                    
	            </ul>
	        </div>
			<?php include "menus/top_left_menu.php"; ?> 
	    </div>    
	    <!-- Main content -->
	    <div class="wrapper">
	        <ul class="middleNavR"></ul>            
			<form>			
		   		<fieldset>
	    			<div class="widget" style="display: block"> <!--style="width:600px; margin-left:150px;"-->
						<div class="whead">
							<h6>Finish Design List</h6>
							<div class="clear"></div>
						</div>
						<div id="dyn" class="hiddenpars">
							<a href="javascript:0" id="searchlink" onfocus="foc(this.id)" onblur="stnon(this.id)" class="tOptions" title="Options"><img src="images/icons/options.png" alt="" /></a>
							<table width="100%" border="0" cellpadding="0" cellspacing="0" class="dTable" id="dynamic">
								<thead>
									<tr>
										<th align="center" style="display:table-cell;vertical-align:middle" width="5%">S.No<span class="sorting" style="display: block;"></span></th>
										<th align="center" style="display:table-cell;vertical-align:middle" width="15%">Party Code</th>
										<th align="center" style="display:table-cell;vertical-align:middle" width="20%">Party Name</th>
										<th align="center" style="display:table-cell;vertical-align:middle" width="15%">Po No</th>
										<th align="center" style="display:table-cell;vertical-align:middle" width="15%">PO Date</th>
										<th align="center" style="display:table-cell;vertical-align:middle" width="15%">Finish Date</th>
										<th align="center" style="display:table-cell;vertical-align:middle" width="15%">Image</th>
									</tr>
								</thead>
								<tbody>
									<tr>
										<td align="center" style="display:table-cell;vertical-align:middle"></td>
										<td align="center" style="display:table-cell;vertical-align:middle"></td>
				                        <td align="center" style="display:table-cell;vertical-align:middle"></td>
				                        <td align="center" style="display:table-cell;vertical-align:middle"></td>
				                        <td align="center" style="display:table-cell;vertical-align:middle"></td>
				                        <td align="center" style="display:table-cell;vertical-align:middle"></td>
				                        <td align="center" style="display:table-cell;vertical-align:middle"></td>
				                        <td align="center" style="display:table-cell;vertical-align:middle"></td>
									</tr>
								</tbody>
							</table>
						</div>
					</div>
					<input name="tot_cnt" id="tot_cnt" type="hidden" value="" />	 
    				<input name="tot_cst" id="tot_cst" type="hidden" value="" />
        		</fieldset>
     		</form>
        	<div class="fluid"><!-- Media table --></div>
    	</div>
    	<!-- Main content ends -->    
	</div>
	<!-- Content ends -->
	<?php /*?><?php include "header_footer/footer.php"; ?><?php */?>
</body>
</html>
