Home
if($this->getE('cnt/list1') AND $TplConf['tpl']=='img-right') : ?>
// build gallery
$Imgs = $this->checkFiles($this->get('cnt/list1'));
$i = 0;
foreach($Imgs as $k => $v) {
$i++;
if($i==6) {
$s = 'class="last"';
$i=0;
} else {
$s ='';
} $title = $Mizu->get('title');
if($v['txt']) {
$title=$v['txt'];
}
$title.=' ('.($k+1).'/'.count($Imgs).')';
echo '';
}
?>
endif; ?>
if($this->get('lng/list2')) : ?>
Downloads
-
// build gallery
$Imgs = $this->get('lng/list2');
foreach($Imgs as $k => $v) {
if(!$v['txt']) $v['txt'] = basename($v['file']);
echo '
- '.$v['txt'].' '; } ?>
// build gallery
$Imgs = $this->checkFiles($this->get('cnt/list1'));
$i = 0;
foreach($Imgs as $k => $v) {
$i++;
if($i==6) {
$s = 'class="last"';
$i=0;
} else {
$s ='';
} $title = $Mizu->get('title');
if($v['txt']) {
$title=$v['txt'];
}
$title.=' ('.($k+1).'/'.count($Imgs).')';
echo '';
}
?>
endif; ?>
if(!$P AND isset($TplConf['Pages'])) {
echo ''.$Lng['noEntrys'].'';
} else {
$i=1;
$counter ='';
foreach($P as $v) :
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']).'" ';
#$noMore = $Mizu->get('cnt/noMore',$v['id']);
if($noMore) {
#$urlTag = '';
}
echo '
';
echo '';
if($img) {
echo '
getER('cnt/list1',$v['id']).'/>';
}
echo '';
echo '
endif; ?>
';
echo '
';
$i++;
endforeach;
}
?>
'.$counter.$Mizu->getE('lng/title',$v['id']).'
'; if($noMore) { echo ''.$Mizu->get('lng/txt1',$v['id']);
} else {
echo '
';
if(!$noMore) {
echo ''.$Lng['next'].'/';
}
echo '';
echo ''.$Mizu->truncate(strip_tags($Mizu->get('lng/txt1',$v['id'])),250);
}
echo $Mizu->getEB('lng/txt1',$v['id']).'
';
echo '