<?php
ini_set('session.gc_maxlifetime', 30 * 60 * 60 * 60);
session_start();
$_SESSION["brand"] = "";
if ($_SESSION["dev"] == "") {
    echo "Invalid User Session";
    exit();
}
?>

<link rel="stylesheet" href="css/themes/redmond/jquery-ui-1.10.3.custom.css" />

<!-- Main content -->
<section class="content">

    <div class="box box-primary">
        <div class="box-header with-border">
            <h3 class="box-title">ITEM THREAD UPDATE</h3>
        </div>

        <form role="form" name ="form1" class="form-horizontal" target="_blank"  ">
            <div class="box-body">
                <br>               
                <div class="form-group">
                     <a onclick="location.reload()" class="btn btn-default">
                            <span class="fa fa-user-plus"></span> &nbsp; New

                        </a>
                        <a onclick="uprep();" class="btn btn-primary">
                            <span class="fa fa-edit"></span> &nbsp; UPDATE THREAD

                        </a>
                      
                         

                       
 

                </div>
                <div id="msg_box"  class="span12 text-center"  ></div>
                <div class="form-group">
                    <label class="col-sm-1 control-label" for="invno">STOCK NO</label>
                    <div class="col-sm-2">
                        <input type="text"  class="form-control input-sm  " disabled=""    name="stkno" id="stkno">
                    </div>
                    <label class="col-sm-1 control-label" for="invno">DESCRIPTION</label>
                    <div class="col-sm-3">
                        <input type="text"  class="form-control input-sm  " disabled=""    name="des" id="des">
                    </div>
                    <label class="col-sm-1 control-label" for="invno">BRAND</label>
                    <div class="col-sm-2">
                        <input type="text"  class="form-control input-sm  " disabled=""    name="brand" id="brand">
                    </div>
                                <div class="col-sm-1">
                        <a href=""  class="btn btn-danger btn-sm " onClick="NewWindow('search_item.php', 'mywin', '800', '700', 'yes', 'center');
                                return false" onFocus="this.blur()">
                            ...
                        </a>
                    </div>
                   
                    </div>
           
          <div class="form-group">
                    <label class="col-sm-1 control-label" for="invno">THREAD</label>
                    <div class="col-sm-2">
                        <input type="number"  class="form-control input-sm  "   name="th1" id="th1">
                    </div>

                    <div class="col-sm-2">
                        <input type="number"  class="form-control input-sm  "   name="th2" id="th2">
                    </div>
                     <div class="col-sm-2">
                        <input type="number"  class="form-control input-sm  "   name="th3" id="th3">
                    </div>
                     <div class="col-sm-2">
                        <input type="number"  class="form-control input-sm  "   name="th4" id="th4">
                    </div>

               

                </div> 
          

                </div>
        </form>
    </div>

</section>
 
<script src="js/itemthreadup.js"></script>
 