if($Imgs AND $TplConf['imgs']=='right') : ?>
endif; ?>
if($MainImg['file']) : ?>
endif; ?>
endif; ?>
if($this->get('cnt/list2')) : ?>
endif; ?>
if($Mizu->isAdmin) echo '
'.$Mizu->getEB('cnt/list2').''; ?>
$P = $Mizu->getPageChildrenIds(false,false,false,true);
if(!$P AND isset($TplConf['Pages'])) {
echo ''.$L['noEntrys'].'';
} else if($P) {
$i=1;
$counter ='';
echo '
Home
if($Imgs AND $TplConf['imgs']!='right') : ?>Downloads
-
// build gallery
$Imgs = $this->get('cnt/list2');
foreach($Imgs as $k => $v) {
if(!$v['txt']) $v['txt'] = basename($v['file']);
echo '
- '.$v['txt'].' '; } ?>
'.$Mizu->getEB('cnt/list2').'
';
foreach($P as $v) :
/*
if(!$Mizu->get('lng/title',$v['id'])) {
continue;
}
*/
if(isset($TplConf['Pages'])) {
$counter = $i.' - ';
}
// get img
$tmp = $Mizu->get('cnt/list1',$v['id']);
$img = false;
if(is_array($tmp) AND $tmp[0]['file']) {
$img = $tmp[0]['file'];
}
// get url tag
$urlTag = ' href="'.$Mizu->getUrl($v['id']).'" ';
if($Mizu->get('lng/extUrl',$v['id'])) {
$urlTag = ' href="'.$Mizu->get('lng/extUrl',$v['id']).'" target="_blank" ';
}
echo '
';
}
?>
';
if($img) {
echo '
getER('cnt/list1',$v['id']).'/>';
}
echo '
';
$i++;
endforeach;
echo '';
echo '
';
echo '';
echo ''.$counter.$Mizu->getE('lng/title',$v['id']).'
'; echo ''.$Mizu->truncate(trim(strip_tags($Mizu->get('lng/txt1',$v['id']))),200).''.$Mizu->getEB('lng/txt1',$v['id']).'
';
if($Mizu->isAdmin) {
#echo 'Link bearbeiten:'.$Mizu->getEB('lng/extUrl',$v['id']);
}
echo '
else:
$S = array(537,240);
?>