  |
16 | 16 | | function osC_Image() { |
| |
17 | 17 | | global $osC_Database; |
| |
18 | 18 | | |
  |
19 | | - | $Qgroups = $osC_Database->query('select distinct id, code, size_height as height, size_width as width from :table_images_groups'); |
| |
20 | | - | $Qgroups->bindTable(':table_images_groups', TABLE_IMAGES_GROUPS); |
| |
| 19 | + | $Qgroups = $osC_Database->query('select distinct id, code, size_height as height, size_width as width from :table_products_images_groups'); |
| |
| 20 | + | $Qgroups->bindTable(':table_products_images_groups', TABLE_PRODUCTS_IMAGES_GROUPS); |
|
21 | 21 | | $Qgroups->setCache('images_groups'); |
| |
22 | 22 | | $Qgroups->execute(); |
| |
23 | 23 | | |
| |
|
|
 |
… |
|
40 | 40 | | return $this->_data[$code]['height']; |
| |
41 | 41 | | } |
| |
42 | 42 | | |
  |
43 | | - | function showImage(&$image, &$title = '', $parameters = '', $group = 'default') { |
| |
| 43 | + | function show(&$image, &$title = '', $parameters = '', $group = 'default') { |
  |
44 | 44 | | if (isset($this->_data[$group]) === false) { |
| |
45 | 45 | | $group = 'default'; |
| |
46 | 46 | | } |