public function get_menu($param_list = array())
 {
     $html = '';
     while (!(NULL === ($el = $this->get_next_element()))) {
         //echo $el['basis_verzeichnis'] . '<br />';
         //echo "<pre>".print_r($el,true)."</pre>";
         switch ($el['typ']) {
             case 'bild':
                 break;
             case 'verzeichnis':
                 $klasse = "level{$el['level']}";
                 if ($klasse == "level1") {
                     $href = "";
                     if ($el['basis_verzeichnis'] == $this->akt_album) {
                         $klasse .= ' current';
                     }
                     if ($el['werbinich'] == 'verzeichnis') {
                         $href = url_plus_param('airyal', $el['basis_verzeichnis'], $this->php_basis, $param_list);
                     }
                     //$html .= "<li><a {$href}>{$el['album_menu_name']}</a></li>";
                     $html .= " \n\t\t\t\t\t\t\t\t\t<a href=\"" . $href . "\">\n\t\t\t\t\t\t\t\t\t\t<div id=\"mainselector\">\n\t\t\t\t\t\t\t\t\t\t\t<div id=\"journalentrytitel\">" . $el['album_titel'] . "</div>\n\t\t\t\t\t\t\t\t\t\t\t<h1>" . $el['album_teaser'] . "</h1>\n\t\t\t\t\t\t\t\t\t\t\t<img src=\"" . $el['vorschaubild'] . "\" />\n\t\t\t\t\t\t\t\t\t\t\t" . $el['album_beschreibung'] . "\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</a>";
                 }
                 break;
             default:
                 break;
         }
     }
     return $html;
 }
 function __construct($pfad_in, $airy_verzeichnis = 'airy_files', $level = 0, $param_list = array())
 {
     $server_vars = $_SERVER ? $_SERVER : $HTTP_SERVER_VARS;
     $this->wpurl = get_bloginfo("wpurl") . '/';
     //"http://andreaszeitler.net/blog/";
     $this->php_basis = @$server_vars['PHP_SELF'];
     $this->php_basis = url_plus_param('airyal', '', $this->php_basis, $this->param_list);
     //echo $this->php_basis;
     $this->html = '';
     $this->bild_liste = array();
     $this->basis_verzeichnis = normalize_path($pfad_in);
     $this->set_airy_verzeichnis($airy_verzeichnis);
     $this->set_identitaet();
     $this->level = $level;
     _debug($this->level);
 }