<?php
/**
 * Copyright (C) 2013 peredur.net
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
include_once '../../loginsystem/includes/db_connect.php';
include_once '../../loginsystem/includes/functions.php';

sec_session_start();
?>


 <html>
<style>
    
    
    
    .button-container form,
.button-container form div {
    display: inline;
}

.button-container button {
    display: inline;
    vertical-align: middle;
}
</style>

    <head>
        <meta charset="UTF-8">
        <title>Secure Login: Protected Page</title>
        <link rel="stylesheet" href="styles/main.css" />
        
        
    </head>
    <body>
        <?php if (login_check($mysqli) == true) : ?>
       
<div class="table-responsive" align="center"> 

<form action="search.php" method="post">
    
    <br><br> Search P.O (Purchase Order) NUMBER Below:<br><br><br> 
 
  <select name="stf">
<option value="10.5">10.5</option>
<option value="10.75">10.75</option>
<option value="11">11</option>
<option value="11.25">11.25</option>
<option value="11.5">11.5</option>
<option value="11.75">11.75</option>
<option value="12">12</option>
<option value="12.25">12.25</option>
<option value="12.5">12.5</option>
<option value="12.75">12.75</option>
<option value="13">13</option>
<option value="13.25">13.25</option>
<option value="13.5">13.5</option>
<option value="13.75">13.75</option>
<option value="14">14</option>
<option value="14.25">14.25</option>
<option value="14.5">14.5</option>
<option value="14.75">14.75</option>
<option value="15">15</option>
<option value="15.25">15.25</option>
<option value="15.5">15.5</option>
<option value="15.75">15.75</option>
<option value="16">16</option>
<option value="16.25">16.25</option>
<option value="16.5">16.5</option>
<option value="16.75">16.75</option>
<option value="17">17</option>
<option value="17.25">17.25</option>
<option value="17.5">17.5</option>
<option value="17.75">17.75</option>
<option value="18">18</option>
<option value="18.25">18.25</option>
<option value="18.5">18.5</option>
<option value="18.75">18.75</option>
<option value="19">19</option>
<option value="19.5">19.5</option>
  </select>
  <br><br>
  <input type="submit" name="leads" id="leads"/>

    <br> 
    <input type="submit" value="Search"/> 
    
    </form>

   
</div>
<div class="button-container">

<form action="../../dashboard/dashboard.php" method="POST"><input type="hidden" name="parts" value="headrest"><input type="image" src="img/go-back.png"></form>
</div>



</div>

 <?php else : ?>
            <p>
                <span class="error">You are not authorized to access this page.</span> Please <a href="../../../login/loginsystem/index.php">login</a>.
            </p>
        <?php endif; ?>