<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php
include ("../navigation/header.php");
include ("../navigation/admin_sidebar.php");

	
	$s = $_GET['s'];
	$p = $_GET['p'];
	$error = $_SESSION['error'];
	$_SESSION['p']=$p;
	$_SESSION['s']=$s;
	
	
	if (isset($_GET['prev_button']) )
	   {
		 $_SESSION['p']= $_SESSION['p']-1;
	   }
		 
	if (isset($_GET['next_button']) )
	  {
		$_SESSION['p']=$_SESSION['p']+1;
	  }
	
		
	
	if ($s==1) {
		 $_SESSION['first_choice'] = $_GET['first_choice'];
		 if ($_SESSION['first_choice'] == 'log_in') { ?>
<script language="javascript" type="text/javascript">window.location="tracking_login.php?date=0"; </script>
<?php }
		 if ($_SESSION['first_choice'] == 'HR') { ?>
<script language="javascript" type="text/javascript">window.location="tracking_HR.php?date=0"; </script>
<?php }
		 if ($_SESSION['first_choice'] == 'production') { ?>
<script language="javascript" type="text/javascript">window.location="tracking_production.php?date=0"; </script>
<?php }	
		 if ($_SESSION['first_choice'] == 'stores') { ?>
<script language="javascript" type="text/javascript">window.location="tracking_stores.php?date=0"; </script>
<?php }
		  if ($_SESSION['first_choice'] == 'sales') { ?>
<script language="javascript" type="text/javascript">window.location="tracking_sales.php?date=0"; </script>
<?php }
		 if ($_SESSION['first_choice'] == 'admin') { ?>
<script language="javascript" type="text/javascript">window.location="tracking_admin.php?date=0"; </script>
<?php }
		
	}
		
	if($s==2) {
	  
     
	 
	};
	
	if($s==3) {
	 
	 
	};
	
	if($s==4) {
	 $_SESSION['notes'] = $_GET['notes_text'];
	}
	
	?>

<!--style sheets-->
<link rel="stylesheet" type="text/css" href="../css/wizard.css" />

<!--jscript-->
<script language="JavaScript" src="../jscript/cancel_confirmation.js"  type="text/javascript"></script>
<script language="JavaScript" src="../jscript/confirm_exit.js"  type="text/javascript"></script>
</head>

<body>
<div class="main_frame">
  <table id="tableMain" width="595">
    <!--begin of tableMain-->
    <tr>
      <td ><div class="page_head_frame">
          <label class="label_page_head">Tracking</label>
        </div>
        <br />
        <br />
        <br />
        <br />
        <table align="left">
          <tr>
            <td><?php if ($_SESSION['p']==1) { ?>
              <div class="active_step_frame">
                <div class="active_step_head_label">&nbsp;1</div>
                <div class="active_step_label"><br />
                  <br />
                  <br />
                  Select category</div>
              </div>
              <?php } else { ?>
              <div class="de_active_step_frame">
                <div class="de_active_step_head_label">&nbsp;1</div>
                <div class="de_active_step_label"><br />
                  <br />
                  <br />
                  Select category</div>
              </div>
              <?php } ?></td>
          </tr>
        </table></td>
      <!--center of tableMain--> 
    </tr>
    <tr>
      <td><!--center of tableMain-->
        
        <?php 
	if ($_SESSION['p']==1) { include("trackingWiz1.php"); }
	
    ?></td>
    </tr>
  </table>
  </td>
  </tr>
  </table>
  <!--end of tableMain--> 
</div>
<?php include ('../navigation/side_bar.php'); ?>

</body>
