
<?php include('../include/wait.php') ?>
</head>

<body onLoad="MM_showHideLayers('wait','','hide')" onFocus="MM_showHideLayers('wait','','hide');">
<div class="wizard_page_middle_frame">
<form id="feedbackform" method="get" action="vehicleWiz6.php" >

<div class="wizard_frame">
  <table width="670" align="center" id="table_display" >
              <tr>
                <td width="134" align="left" valign="top">Registration no:</span></td>
                <td width="177" align="left" valign="top"><?php echo $_SESSION['reg_no'] ?></td>
                <td width="130" align="left" valign="top">In service:</td>
                <td width="209" align="left" valign="top"><?php echo $_SESSION['in_service'] ?></td>
              </tr>
              <tr>
                <td align="left" valign="top">Make:</td>
                <td align="left" valign="top"><?php echo $_SESSION['make'] ?></td>
                <td align="left" valign="top">Model:</td>
                <td align="left" valign="top"><?php echo $_SESSION['model'] ?></td>
              </tr>
              <tr>
                <td align="left" valign="top">Fuel:</td>
                <td align="left" valign="top"><?php echo $_SESSION['fuel'] ?></td>
                <td align="left" valign="top">Clock unit:</td>
                <td align="left" valign="top"><?php echo $_SESSION['clock'] ?></td>
              </tr>
              <tr>
                <td align="left" valign="top">Company:</td>
                <td align="left" valign="top"><?php echo $_SESSION['department'] ?></td>
                <td align="left" valign="top">Driver:</td>
                <td align="left" valign="top"><?php echo $_SESSION['driver'] ?></td>
              </tr>
              <tr>
                <td align="left" valign="top">Average consumption:</td>
                <td align="left" valign="top">1 liter on <?php echo $_SESSION['average'] ?> km </td>
                <td align="left" valign="top">&nbsp;</td>
                <td align="left" valign="top">&nbsp;</td>
              </tr>
              <tr>
                <td align="left" valign="top">Service interval:</td>
                <td align="left" valign="top"><?php echo $_SESSION['service_interval'] ?></td>
                <td align="left" valign="top">Clock reading:</td>
                <td align="left" valign="top"><?php echo $_SESSION['clock_reading'] ?></td>
              </tr>
              <tr>
                <td align="left" valign="top">License expire:</td>
                <td align="left" valign="top"><?php if ($_SESSION['license']!='') {echo 'end of '.$_SESSION['license'];} else { echo 'n/a';} ?></td>
                <td align="left" valign="top">BA license:</td>
                <td align="left" valign="top"><?php if ($_SESSION['ba_license']!='') {echo 'end of '.$_SESSION['ba_license'];} else { echo 'n/a';} ?></td>
              </tr>
              <tr>
                <td align="left" valign="top">Notes:</td>
                <td colspan="3" align="left" valign="top"><?php echo $_SESSION['notes'] ?></td>
              </tr>
            </table>
</div>            
            
<div class="wizard_spacer_frame" style="height:20px;"></div>

<div class="wizard_frame">
              <label class="label_std">If you want to make changes use the 'Prev' button to go back. <br />
              Click 'New' to make a new entry or to finish the wizard click 'Finish'.</label>
</div>

<div class="wizard_frame">       
              <table width="645" height="50" align="center" id="tableButtonBar">
                <tr>
                  <td width="117"><input type="button" name="lastprev_button" class="imagebutton" value="Prev" onClick="needToConfirm = false; MM_showHideLayers('wait','','show'); MM_goToURL('parent','vehicleWizbase.php?s=6&amp;p=4');return document.MM_returnValue" /></td>
                  <td width="115">
                    <input name="s" type="hidden" id="s" value="5" />
                    <input name="p" type="hidden" id="p" value="5" />
                  </td>
                  <td width="99"><input name="cancelbutton" type="button" class="imagebutton" id="cancelbutton" onClick="needToConfirm = false; cancel_confirmation(1, '../store/store_main.php');" value="Cancel" /></td>
                  <td width="125" align="right"><input type="submit" name="new_button" class="imagebutton" id="new_button" value="New" onClick="needToConfirm = false; MM_showHideLayers('wait','','show');" /></td>
                  <td width="110" align="right"><input  name="finish_button" type="submit" class="imagebutton" id="finish_button" value="Finish" onClick="needToConfirm = false; MM_showHideLayers('wait','','show');"  /></td>
                </tr>
              </table>
</div>  
</form>
</div>
</div>

</body>
