Str('navigation')?> GetSearchString(Tools_Http::Get('search')); $page = Tools_Http::Get('page',true); $catid = Tools_Http::Get('catid',true); $del = Tools_Http::Get ('delgood',true); $categories = new Projects_Categories(); $items = $categories -> getList(-1); $JS = "d = new dTree('d');\n"; // $JS .= "d.add(0, -1, '".$L->Str('Visas kategorijas')."', '?catid=0'); \n"; if (!empty($items)) { foreach ($items as $item) { if($item['childs']) continue; //$JS .= "d.add(".$item['id'].",".$item['parentid'].",'".$item['title']." ','?catid=".$item['id']."','','".($item['status']=='active'?'':'inactive')."','');\n"; echo ''.$item['title'].'
'; } } ?>
Str('Projects')?>
Str('Meklēt nosaukumā')?>:

 

*/ ?> deleteProduct($del); } $moveup = Tools_Http::Get ('moveup',true); $movedown = Tools_Http::Get ('movedown',true); if ($moveup||$movedown) { $direction = $moveup ? 'up' : 'down'; $id = $moveup?$moveup:$movedown; $DB -> SetRowOrdering ($id, "goods", "position", $direction); } $params = array ( 'limit' => true, 'offset' => $page, 'length' => 20, 'order' => 'id DESC' ); $fields = array (); if ($catid) { $fields['catid'] = $catid; } $where = array(); if (!empty($fields)) { foreach ($fields as $k=>$v) { $where[] = $k." = ".$v; } } $row_c = $DB -> getRowCount("projects", implode(',',$where)); if ($search) { $fields['title'] = '%'.$search.'%'; } $items = $products -> getList($fields, $params); $items = $items['data']; $paging_filter = "&catid=".$catid; if (!empty($items)) { ?> getThumbnail($item['id'],'m'); ?> */?>
  Date ID Str('Nosaukums')?> Str('Kategorija')?> Str('Iespējas')?>
'); ?>
Str('Nav nevienas lapas.')?>