Cogito ergo sum…

…hic falsus!

Ich denke also bin ich...

...hier falsch!

Bilder

Bilder gibts hier: http://strübe.de/wp-gallery2.fphp

2 Reaktionen zu “Bilder”

  1. Keine Bilder zu sehen !
    Nur :
    getAsHtml();
    echo “Gallery2 Error:”.$ret;
    exit;
    }

    $g2data = GalleryEmbed::handleRequest();

    if ($g2data['isDone']) {
    exit; // G2 has already sent output (redirect or binary data)
    }

    // Theme Switcher Hook
    if(!empty($_COOKIE['wp_ts2_'.COOKIEHASH])) {

    if ( file_exists( TEMPLATEPATH . ‘/wpg2header.php’) ) {
    $g2_option['g2_externalheader'] = “Yes”;
    } else {
    $g2_option['g2_externalheader'] = “No”;
    }

    if ( file_exists( TEMPLATEPATH . ‘/wpg2footer.php’) ) {
    $g2_option['g2_externalfooter'] = “Yes”;
    } else {
    $g2_option['g2_externalfooter'] = “No”;
    }
    }

    // Should we Disable the Header output and instead allow the wpg2header to control the Output?
    if ( $g2_option['g2_externalheader']==”Yes” ) {
    include (TEMPLATEPATH.’/wpg2header.php’);
    } else {
    //Initialize the WP class to be able to get the header
    wp();
    //Set status to 200 to override the 404 set by WordPress
    status_header(200);
    //Set $g2_wp_init to TRUE so that won’t do again for footer
    $g2_wp_init = TRUE;
    //Include the WP Header
    get_header();

    //Include any plug-in header content set in the plugin options
    echo stripslashes($g2_option['g2_header']);
    // Display G2 Header Output
    echo $g2data['headHtml']; //Include the gallery header
    }

    echo $g2data['bodyHtml']; //Display the gallery content

    //Close Gallery Connection
    GalleryEmbed::done();

    // Should we Disable the Header output and instead allow the wpg2footer to control the Output?
    if ($g2_option['g2_externalfooter']==”Yes” ) {
    include (TEMPLATEPATH.’/wpg2footer.php’);
    } else {
    //Initialize WP class if not already initialized to be able to get the footer
    if(!$g2_wp_init)
    wp();
    //Set status to 200 to override the 404 set by WordPress
    status_header(200);
    //Include plug-in footer content
    echo stripslashes($g2_option['g2_footer']);
    //Include WP footer
    get_footer();
    }
    ?>

    Ich

  2. Stimmt – Kümmer mich drum

    morty

Einen Kommentar schreiben