Sie sind hier:
if (empty($start)){
$start=0;
}
$db = new dbconnect();
$articlesort=array();
$articles_find = $articlemanager->find(null, $filterarray, $folderid, array ("includechildfolders" => true,"sortorder" => "folder"));
if( $articlemanager->openArticleList($articles_find, $start_all, $limit_all,false) ) {
while ($articlemanager->fetch()) {
$aprimary = $articlemanager -> getProperty("primary");
$bezeichnung = $attributes -> getAttributeValue("Artikelbezeichnung","none");
$articlesort[] = array("aprimary" => $aprimary,
"bezeichnung" => $bezeichnung);
}
}
$articlemanager->closeArticleList();
usort($articlesort,"cmpData");
$articles = array();
foreach ($articlesort as $value){
$articles[] = $value["aprimary"];
}
$limit = 10;
$mediadb = new getmedia($attributes -> db);
//$articles = $db->fetch_in_flatarray("select article_id from shp_attributevalue where article_id IN (SELECT article_id from shp_articlefolder where folder_id = '".$folderid."') AND attribute_id=2354 ORDER by charvalue");
//do_error_log("php","article",$articles);
//do_error_log("php","newarticle",$newarticle);
?>
openArticleList($articles, $start, $limit,false) ) {
while ($articlemanager->fetch()) {
$aprimary = $articlemanager -> getProperty("primary");
$articleparams = "folderid=".$folderid."&primary=".$aprimary."&l=".$l."&dom=".$dom;
$bild1_id = $attributes->getAttributeValue("Screenshot1","none");
$bild_k='';
if($mediadb -> find($bild1_id, "de",MEDIA_WEB_PREVIEW,MEDIA_TYPE_IMAGE) ) {
$bild_k = $mediadb -> getPath();
}
$artTitle = $attributes->getAttributeValue("Artikelbezeichnung","none");
$Webseitenlink = $attributes->getAttributeValue("Webseitenlink","none");
//$Branche = $attributes->getAttributeValue("Branche","none");
$Branche=array();
$assignedFolders = $articlemanager -> foldermanager -> getAssignedFolders($aprimary);
foreach ($assignedFolders as $assignedFolder){
$Branche[$assignedFolder] = $foldermanager->getFolderById($assignedFolder);
}
?>
}
}?>
=getPaginierung(count($articles),$limit,array("folderid"=>$folderid,"paging" => true), 3395);?>