if (!empty($this->storeReleatedView)) { if (!empty($this->store_role_list)) { $active = 'storeorders'; $view = $this->comquick2cartHelper->getViewpath('vendor', 'toolbar'); ob_start(); include $view; $html = ob_get_contents(); ob_end_clean(); echo $html; ?> <legend> <?php if (!empty($this->store_role_list)) { $storehelp = new storeHelper(); $index = $storehelp->array_search2d($this->store_id, $this->store_role_list); if (is_numeric($index)) { $store_name = $this->store_role_list[$index]['title']; } echo JText::sprintf('QTC_STORE_ORDERS_OWN', $store_name); } else { echo JText::_('QTC_STORE_ORDERS'); } ?> </legend> <?php } else { ?> <legend><strong><?php echo JText::_('QTC_STORE_CUS_ORDERS'); ?>