Exemplo n.º 1
0
                </label><label><input type="checkbox" <?php 
echo $_POST['client_marks_select_chk'] == "yes" ? 'checked="checked"' : '';
?>
 value="yes" name="client_marks_select_chk" id="client_marks_select_chk">Client Marks
                </label><label><input type="checkbox" <?php 
echo $_POST['history_select_chk'] == "yes" ? 'checked="checked"' : '';
?>
 value="yes" name="history_select_chk" id="history_select_chk" class="tf">History<br>
                </label><label><input type="checkbox" <?php 
echo $_POST['status_select_chk'] == "yes" ? 'checked="checked"' : '';
?>
 value="yes" name="status_select_chk" id="status_select_chk" class="tf">Status Enforcement<br>
                </label><label><input type="checkbox" name="all" id="check_all" checked="checked" onClick="checkall(this.form)" value="check_all">Select All</label>
                <br><br>          

                <input type="submit" name="selective_search" value="search">
            </form><br><br>

            <?php 
if ($_POST['selective_search']) {
    $sective->select_search();
}
?>
        </div>

        <style>
            label{width: 150px;display: inline-block}	
        </style>
    </body>
</html>
Exemplo n.º 2
0
<?php

ini_set("display_errors", "off");
include "class.docket.php";
include "include/class.selectiveSearch.php";
$obj = new docket();
$sective = new selectivesearch();
header("Pragma: no-cache");
header("Expires: 0");
header("Content-Type: application/vnd.ms-excel");
header("Content-disposition: attachment; filename=Status_Chart.xls");
$sective->select_search(TRUE);
/*
 * Clear Session
 */