slot gacor
slot gacor
Form Buttons <span class="new_2">1.7.25</span> - Bootstrap theme - eXtended CRUD & Data Management System
DEMO SITE v1.7.26

Form Buttons 1.7.25 Bootstrap theme

Create buttons to be displayed on the form

HIDE CODE
<?php
    // Get an instance of the Xcrud class
	$xcrud = Xcrud::get_instance();	

    // Set the table to work with
	$xcrud->table("orders");

    // Define which columns to display in the table
    $xcrud->columns("orderDate,status,requiredDate,shippedDate,comments");

    // Define which fields are available for data entry or editing
    $xcrud->fields("orderDate,status,requiredDate,shippedDate,action");

    $xcrud->fields_arrange("orderDate,status,requiredDate,shippedDate","Info",true);
    $xcrud->fields_arrange("action","Action",true);

    // Change the input type of the 'status' field to a select dropdown and provide options
    $xcrud->change_type("status","select","",array("Not Shipped"=>"Not Shipped","Shipped"=>"Shipped","Completed"=>"Completed"));

    $xcrud->label("action","");
    $xcrud->change_type("action","button","",array("href"=>"#","after"=>"edit","task"=>"save","icon"=>"fa fa-file","title"=>"Save My Form"));
    $xcrud->set_attr("action",array("class"=>"btn btn-light xcrud-action","data-confirm"=>"Do you wish to save?"));

    $xcrud->hide_button("save_edit");
    $xcrud->hide_button("save_return");
    $xcrud->hide_button("save_new");

    // Render the xcrud instance to display the table and form
    echo $xcrud->render();	
?>

Orders

#OrderdateStatusRequireddateShippeddateComments
Actions
114.11.2024 00:00:00Shipped22.11.2024 00:00:00 View Edit Remove
224.03.2003 00:00:00Shipped03.04.2003 00:00:0029.03.2003 00:00:00Customer requested that ad materials (such as… View Edit Remove
326.03.2003 00:00:00Completed02.04.2003 00:00:0027.03.2003 00:00:00 View Edit Remove
404.04.2003 00:00:00Shipped12.04.2003 00:00:0007.04.2003 00:00:00 View Edit Remove
511.04.2003 00:00:00Shipped19.04.2003 00:00:0013.04.2003 00:00:00 View Edit Remove
616.04.2003 00:00:00Shipped24.04.2003 00:00:0017.04.2003 00:00:00 View Edit Remove
721.04.2003 00:00:00Shipped29.04.2003 00:00:0026.04.2003 00:00:00Customer has worked with some of our vendors in… View Edit Remove
828.04.2003 00:00:00Shipped05.05.2003 00:00:0002.05.2003 00:00:00 View Edit Remove
929.04.2003 00:00:00Shipped08.05.2003 00:00:0001.05.2003 00:00:00 View Edit Remove
1007.05.2003 00:00:00Shipped13.05.2003 00:00:0013.05.2003 00:00:00 View Edit Remove
Search
 
slot thailand
slot thailand slot gacor
slot gacor