diff --git a/phpxpress/phpxpress/breadcrumb.php b/phpxpress/phpxpress/breadcrumb.php index fb076e2..aba97f7 100644 --- a/phpxpress/phpxpress/breadcrumb.php +++ b/phpxpress/phpxpress/breadcrumb.php @@ -1,5 +1,16 @@ + * @note This program is distributed in the hope that it will be useful - WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + */ + include "include.php"; class BreadCrumb{ diff --git a/phpxpress/phpxpress/card.php b/phpxpress/phpxpress/card.php index 7f0b615..210fa81 100644 --- a/phpxpress/phpxpress/card.php +++ b/phpxpress/phpxpress/card.php @@ -1,4 +1,16 @@ + * @note This program is distributed in the hope that it will be useful - WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + */ + include "include.php"; class Card{ diff --git a/phpxpress/phpxpress/dropdown.php b/phpxpress/phpxpress/dropdown.php index bc7753d..34ae09e 100644 --- a/phpxpress/phpxpress/dropdown.php +++ b/phpxpress/phpxpress/dropdown.php @@ -1,5 +1,17 @@ + * @note This program is distributed in the hope that it will be useful - WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + */ + include "include.php"; class Dropdown{ diff --git a/phpxpress/phpxpress/table.php b/phpxpress/phpxpress/table.php index c8f8c71..e2e7eaa 100644 --- a/phpxpress/phpxpress/table.php +++ b/phpxpress/phpxpress/table.php @@ -1,7 +1,7 @@ columnCaptions)){ foreach($dataSource as &$row){ - foreach($this -> columnCaptions as $captionName){ + foreach(array_reverse($this -> columnCaptions) as $captionName){ if($is_array_of_arrays){ $row = array($captionName => null) + (array)$row; // append the already inserted captions at the beginning //$element->{$captionName} = null; // append the already inserted captions at the end