19 lines
718 B
PHP
19 lines
718 B
PHP
<?php
|
|
|
|
class default_wohnung extends SYSTEM\PAGE\Page {
|
|
public function html() {
|
|
$vars = \SYSTEM\locale::getStrings(\DBD\locale_string::CATEGORY_RHEIN_TEXT);
|
|
$vars['gallery_house'] = $this->gallery();
|
|
//return $vars['rhein_wohnung'].'</br></br>'.saimod_webcraft_gallery::getGallery(2);
|
|
return SYSTEM\PAGE\replace::replaceFile(\SYSTEM\SERVERPATH(new PPAGE(),'default_wohnung/default_wohnung.tpl'), $vars);
|
|
}
|
|
|
|
private function gallery(){
|
|
$pics = \SYSTEM\FILES\files::get('house');
|
|
$result = '';
|
|
foreach($pics as $pic){
|
|
$result .= '<img src="api.php?call=files&cat=house&id='.$pic.'" alt="" />';
|
|
}
|
|
return $result;
|
|
}
|
|
} |