<?php 
$page_name = "AD-tracking";
include ("../navigation/access.php");


if ($permission_num==1) {
	 
	?>

<!--jscript-->
<script language="JavaScript" src="../jscript/gen_validatorv4.js"  type="text/javascript" xml:space="preserve"></script>

<body>

<form id="form1" name="form1" method="get" action="trackingWizbase.php">
  <table border="0" align="center" cellpadding="10" cellspacing="0" bordercolor="#0066FF" border-collapse="collapse">
    <tr>
      <td width="525" >
        
     
        <div class="wizard_frame">
          <label class="label_std">Select what to track:</label><label class="star"> *</label>&nbsp;&nbsp;&nbsp;<br>
        
          <label class="label_std">
            <input type="radio" name="first_choice" value="log_in" id="first_choice_0" <?php if ($_SESSION['first_choice'] == "log_in") { ?> <?php } ?> >
            log in</label><br>
          <label class="label_std">
<input type="radio" name="first_choice" value="HR" id="first_choice_1" <?php if ($_SESSION['first_choice'] == "HR") { ?> <?php } ?>  > 
HR
</label>
          <br>
          <label class="label_std">
            <input type="radio" name="first_choice" value="production" id="first_choice_5"  <?php if ($_SESSION['first_choice'] == "production") { ?> <?php } ?>  > 
            Production</label>
          <br>
          <label class="label_std">
            <input type="radio" name="first_choice" value="stores" id="first_choice_2"  <?php if ($_SESSION['first_choice'] == "stores") { ?> <?php } ?>  > 
            Stores</label>
            
          <br>
          <label class="label_std">
            <input type="radio" name="first_choice" value="sales" id="first_choice_4"  <?php if ($_SESSION['first_choice'] == "sales") { ?> <?php } ?>  >
            Sales</label>  
          <br>

          <label class="label_std">
<input type="radio" name="first_choice" value="admin" id="first_choice_3" <?php if ($_SESSION['first_choice'] == "Admin") { ?> <?php } ?>  >   
Admin
</label><br>

          
        </div>
      </td>
    </tr>
    <tr>
      <td><table id="table_button_bar">
          <tr>
            <td width="117">&nbsp;</td>
            <td width="115">&nbsp;</td>
            <td width="99"><span class="wizard">
              <input name="p" type="hidden" id="p" value="1" />
              <input name="error" type="hidden" id="error" value="0" />
              <input name="s" type="hidden" id="s" value="1" />
            </span></td>
            <td width="125"><input name="cancelbutton" type="button" class="imagebutton" id="cancelbutton" onClick="needToConfirm = false; cancel_confirmation(1, '../admin_module/user_list.php') " value="Cancel" /></td>
            <td width="110" align="right"><input type="submit" name="next_button" class="imagebutton" value="Next" onClick="needToConfirm = false; " /></td>
          </tr>
        </table></td>
    </tr>
  </table>
 </form>
<!--form validation-->
<script language="JavaScript" type="text/javascript" xml:space="preserve">
  var frmvalidator  = new Validator("form1");
  frmvalidator.EnableMsgsTogether();
  frmvalidator.addValidation("first_choice","selone","Please make a selection first.");
</script>

<?php } else { 
    $_SESSION['denied_return'] = "admin_module/user_list.php";	?>
	<body onLoad="accessdenied(); return false">
</body>
<?php }
?>

