$this->data = array_merge($this->data, $this->load->language('openbay/ebay_profile'));
$this->load->model('openbay/ebay_profile');
$this->document->setTitle($this->data['lang_title_list']);
$this->document->addStyle('view/stylesheet/openbay.css');
$this->document->addScript('view/javascript/openbay/faq.js');
$this->template = 'openbay/ebay_profile_list.tpl';
$this->children = array(
'common/header',
'common/footer'
);
if (isset($this->session->data['error'])) {
$this->data['error_warning'] = $this->session->data['error'];
unset($this->session->data['error']);
} else {
$this->data['error_warning'] = '';
}
if (isset($this->session->data['success'])) {
$this->data['success'] = $this->session->data['success'];
unset($this->session->data['success']);
} else {
$this->data['success'] = '';
}
$this->data['btn_add'] = $this->url->link('openbay/ebay_profile/add', 'token=' . $this->session->data['token'], 'SSL');
$this->data['types'] = $this->model_openbay_ebay_profile->getTypes();
$this->data['profiles'] = $this->model_openbay_ebay_profile->getAll();
$this->data['token'] = $this->session->data['token'];
$this->data['breadcrumbs'] = array();
$this->data['breadcrumbs'][] = array(
'href' => $this->url->link('common/home', 'token=' . $this->session->data['token'], 'SSL'),
'text' => $this->language->get('text_home'),
'separator' => false
);
$this->data['breadcrumbs'][] = array(
'href' => $this->url->link('extension/openbay', 'token=' . $this->session->data['token'], 'SSL'),
'text' => $this->language->get('lang_openbay'),
'separator' => ' :: '
);
$this->data['breadcrumbs'][] = array(
'href' => $this->url->link('openbay/openbay', 'token=' . $this->session->data['token'], 'SSL'),
'text' => $this->language->get('lang_ebay'),
'separator' => ' :: '
);
$this->data['breadcrumbs'][] = array(
'href' => $this->url->link('openbay/ebay_profile/profileAll', 'token=' . $this->session->data['token'], 'SSL'),
'text' => $this->language->get('lang_heading'),
'separator' => ' :: '
);
$this->response->setOutput($this->render(true), $this->config->get('config_compression'));