Highlights Bootstrap 4.5 theme
Highlight separate cells and full rows.
HIDE CODE
<?php
$xcrud = Xcrud::get_instance();
$xcrud->table('orderdetails');
$xcrud->highlight('quantityOrdered', '<', 25, 'red');
$xcrud->highlight('quantityOrdered', '>=', 25, 'yellow');
$xcrud->highlight('quantityOrdered', '>', 40, '#8DED79');
$xcrud->highlight_row('quantityOrdered', '>=', 50, '#8DED79');
$xcrud->highlight('priceEach', '>', 100, '#9ADAFF');
//$xcrud->modal('quantityOrdered');
//$xcrud->modal('quantityOrdered', 'fa fa-user');
$xcrud->modal(array('quantityOrdered'=>'glyphicon glyphicon-search'));
//$xcrud->modal(array('quantityOrdered'=>'fa fa-user'));
echo $xcrud->render();
?>
Fatal error: Uncaught mysqli_sql_exception: Table 'shpilkina.orderdetails' doesn't exist in D:\aaa_iVzuvi\test\Shafa\Telegram_Item_Parser\htdocs\shpilkina\xcrud_1.7.0.7\xcrud\xcrud_db.php:61 Stack trace: #0 D:\aaa_iVzuvi\test\Shafa\Telegram_Item_Parser\htdocs\shpilkina\xcrud_1.7.0.7\xcrud\xcrud_db.php(61): mysqli->query('SHOW COLUMNS FR...', 1) #1 D:\aaa_iVzuvi\test\Shafa\Telegram_Item_Parser\htdocs\shpilkina\xcrud_1.7.0.7\xcrud\xcrud.php(4896): Xcrud_db->query('SHOW COLUMNS FR...') #2 D:\aaa_iVzuvi\test\Shafa\Telegram_Item_Parser\htdocs\shpilkina\xcrud_1.7.0.7\xcrud\xcrud.php(1992): Xcrud->_get_table_info() #3 D:\aaa_iVzuvi\test\Shafa\Telegram_Item_Parser\htdocs\shpilkina\xcrud_1.7.0.7\demos\pages\highlights.php(15): Xcrud->render() #4 D:\aaa_iVzuvi\test\Shafa\Telegram_Item_Parser\htdocs\shpilkina\xcrud_1.7.0.7\demos\html\template.php(82): include('D:\\aaa_iVzuvi\\t...') #5 D:\aaa_iVzuvi\test\Shafa\Telegram_Item_Parser\htdocs\shpilkina\xcrud_1.7.0.7\demos\index.php(31): include('D:\\aaa_iVzuvi\\t...') #6 {main} thrown in D:\aaa_iVzuvi\test\Shafa\Telegram_Item_Parser\htdocs\shpilkina\xcrud_1.7.0.7\xcrud\xcrud_db.php on line 61