- <?php
- /*
- Template Name: Single Image
- */
- ?>
- <?php get_header(); ?>
- <?php include(TEMPLATEPATH . '/includes/breadcrumbs.php'); ?>
- <div id="left-area"<?php if ($fullwidth) echo ' class="fullwidth"'; ?>>
- <div class="big-box">
- <div class="big-box-top">
- <div class="big-box-content">
- <div class="post clearfix single">
- <?php
- $pid = $_GET["pid"];
- $pid = ereg_replace("[^0-9]", "", $pid);
- $shortcode_output = do_shortcode('[singlepic id="' . $pid . '" w="" h=""]');
- if ($shortcode_output=="[SinglePic not found]"){
- echo ("No picture here");
- }else {
- echo do_shortcode('[singlepic id="' . $pid . '" w="" h=""]');
- }?>
- </div> <!-- end .post-->
- </div> <!-- end .big-box-content-->
- </div> <!-- end .big-box-top-->
- </div> <!-- end .big-box-->
- </div> <!-- end #left-area -->
- <?php if (!$fullwidth) get_sidebar(); ?>
- <?php get_footer(); ?>
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.