Example #1
0
                <br/>
                <?php 
if (isset($_GET["msg"])) {
    ?>
                <p class="ui-state-highlight ui-corner-all"><?php 
    echo htmlentities($_GET["msg"]);
    ?>
</p>
                <?php 
}
?>
                <form action="" method="post" id="form1" >
                    <?php 
include_once "../model/Item.php";
$itemObj = new Item();
$items = $itemObj->missingReport();
if (count($items) > 0) {
    ?>
                    <table border="0" style="border: 1px solid" align="center">
                        <thead>
                            <tr class='ui-widget-header'>
                                <th>&nbsp;</th>
                                <th>Item</th>
                                <th>Need</th>
                                <th>Available</th>
                                <th>Missing</th>
                            </tr>
                        </thead>
                        <?php 
    foreach ($items as $item) {
        ?>