first commit

This commit is contained in:
2024-11-11 15:28:20 +01:00
commit 3f5649dbc7
6231 changed files with 999089 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
<?php
global $gdb;
$grid = new \grid( 'globelus_settings' );
$grid -> gdb_opt = $gdb;
$grid -> order = [ 'column' => 'param', 'type' => 'ASC' ];
$grid -> search = [
[ 'name' => 'param', 'db' => 'text', 'type' => 'text' ]
];
$grid -> columns_view = [
[
'name' => 'Lp.',
'th' => [ 'class' => 'g-lp' ],
'td' => [ 'class' => 'g-center' ],
'autoincrement' => true
],
[
'name' => 'Parametr',
'db' => 'param',
'sort' => true
],
[
'name' => 'Wartośc',
'db' => 'value'
]
];
$grid -> columns_edit = [
[
'name' => 'Parametr',
'db' => 'param',
'type' => 'text',
'readonly-edit' => true
],
[
'name' => 'Wartość',
'db' => 'value',
'type' => 'text',
'readonly' => true
]
];
$grid -> actions = [ 'edit' => true ];
echo $grid -> draw();