Exemplo n.º 1
0
function module_main($menuitem)
{
    global $incdir;
    global $bildverzeichnis;
    global $get_vars;
    switch ($menuitem) {
        default:
        case 'Hochzeit':
            $akt_album = $get_vars['airyal'];
            $fertigesAlbum = new airy_album($bildverzeichnis, 'fla_airy_files/');
            $fertigesAlbum->airy_init();
            $fertigesAlbum->set_akt_album($akt_album);
            echo $fertigesAlbum->get_html($get_vars);
            break;
        case 'Interieur':
            $akt_album = $get_vars['airyal'];
            $fertigesAlbum = new airy_album($bildverzeichnis, 'fla_airy_files/');
            $fertigesAlbum->airy_init();
            $fertigesAlbum->set_akt_album($akt_album);
            echo $fertigesAlbum->get_html($get_vars);
            break;
            /*		case 'portrait':
            
            				echo <<<FLA
            			<div id="journalentry"> 
            	
            				<div id="journalentrydate"> 
            				01.01.2009
            				</div> 
            
            				<div id="journalentrytitel"> 
            				I would rather suggest one liners.</div> 
            				
            				<div id="journalentrycontent"> 
            					<span class="journalentrycontent"> 
            						<h1 class="normal_content">The date just looks better!</h1> 
                                    <div id="journalpic"> 
            								<img src="images/about.jpg" border="0" alt="yeah yeah self portrait" /> 
            						</div> 
            						To make a long story short: for me photography is the ultimate means to express what would otherwise remain inside myself. I understand it as a process where one uses the medium to compress a certain bit of reality into the frame. This is a very strong reduction and although it might seem so - and this makes it so compelling - the result is not a record of reality, it is a new thing. No other medium allows this kind of workflow, and I think therefore photography just meets my very nature best. <br /><br /> Before I arrived here, I was a software engineer. Propably this helped me doing this site and also makes understanding aspects  of digital photography a bit easier. <br /><br />What else to say? I also like to write occasionally, which led me to get also made me thinking about the parallels between photography and writing. And of course I like to listen to good music, for which there is too less time left. Btw, if you wanna hear some real cool yet unknown piece, go <a href="http://www.myspace.com/oriolvandela" target="_blank">here</a> and check out oriol 66.                           
            						 <br /> <br /> <br /> 
            						<h1 class="normal_content">Contact Information</h1>  
            						Please drop me an <a href="mailto:office@flamelingo.net">email</a>.
            					</span> 
            				</div> 
             
            			</div> 
            FLA;
            
            				break;
            */
    }
    return;
}
Exemplo n.º 2
0
function airy_wrapper($album)
{
    $fertigesAlbum = new airy_album($album, AIRY_VERZEICHNIS);
    $fertigesAlbum->airy_init();
    echo $fertigesAlbum->get_html();
}