<?php
require("includes/check_auth_user.php");
require("includes/dbconnect.php");
include('includes/function.php');

$zdb = $_SESSION["zdbyear_" . $dbname];

$formname = "Item Group List";
$action = "itemgrplst_fr.php";
mysqli_select_db($conn, $zdb);
include("includes/linkshead.php");
$focusfield = "code";
?>


<!--<script src="MyScript/item.js" type="text/javascript"></script>-->
</head>
<body>
    <form method='POST' action="<?= $action; ?>">
        <!-- Default box -->
        <div>
            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12  pad">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title"><?php Echo $formname; ?></h3>
                        <div class="actions pull-right">
                            <i class="fa fa-chevron-down"></i>
                            <i class="fa fa-times"></i>
                        </div>
                    </div>
                    <div class="panel-body">
                        <div class="row">
                            <div class="col-lg-5 col-md-4 col-sm-4 col-xs-4 text-right pad">
                                <label class="label-control marg">Code</label>
                            </div>
                            <div class="col-lg-1 col-md-4 col-sm-4 col-xs-4 pad">
                                <input type="text" class="form-control code" name="code" autofocus>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-lg-5 col-md-4 col-sm-4 col-xs-4 text-right pad">
                                <label class="label-control marg">Name</label>
                            </div>
                            <div class="col-lg-2 col-md-4 col-sm-4 col-xs-4 pad">
                                <input type="text" class="form-control name" name="name">
                            </div>
                        </div>
                    </div>
                    <div class="panel-footer">
                        <?php include("includes/but_reg.php"); ?>
                    </div>
                </div>
            </div>
        </div>
    </form>
    <?php include("includes/linksfoot.php"); ?>
