$page = Tools_Http::Get('page',true); $catid = Tools_Http::Get('catid',true); $del = Tools_Http::Get ('delgood',true); $contacts = new Contacts(); if ($del) { $contacts -> deleteContact($del); header('Location: /admin/contacts/?mod=contacts'); exit(); } $items = $contacts -> getList(); // echo '
'.print_r($items,1).''; ?>
=$L->Str('Type')?> | =$L->Str('Status')?> | =$L->Str('Date')?> | =$L->Str('Vārds')?> | =$L->Str('Your email')?> | =$L->Str('Iespējas')?> |
---|---|---|---|---|---|
=$item['type_name']?> | " >=$item['status_name']?> | =$item['date'] ? date('d.m.Y',$item['date']) : "" ?> | =$item['name']?> |
=$item['email']?> |
|
=$L->Str('product_name')?>: =strlen($item['title']>150) ? substr($item['title'],'0',150).'...' : $item['title']?> |