'.$products_h2.' ('.$query_total.')

'.$products_p.'

'; if (isset($success_msg)){ $view .= '

'.$success_msg.'

'; } $view .= '
'.$button_create_product.'
'.$general_filters.'
'; $view .= '
'; if (empty($responses)){ $view .= ' '; } else { foreach ($responses as $response){ $picture = glob('./assets/images/products/'.$response->productcode.'.{jpg,jpeg,png,gif}', GLOB_BRACE); $view .= ' '; } } $view .= '
'.$product_code.' '.$product_category.' '.$product_parttype.' '.$product_name.' '.$general_actions.'
'.$message_no_products.'
'.$response->productcode.' '.${'part_type'.$response->parttype}.' '.${'product_category'.$response->product_category}.' '.(($picture)?'' : '').' '.(${$response->productname} ?? $response->productname).' '.$general_view .'
'; $view.=''; //OUTPUT echo $view; template_footer(); ?>