HenryMKalango

Single_image Kalango Seco

Oct 9th, 2012
107
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /*
  3. Template Name: Single Image
  4. */
  5. ?>
  6.  
  7.  
  8. <?php get_header(); ?>
  9.  
  10. <?php include(TEMPLATEPATH . '/includes/breadcrumbs.php'); ?>
  11.  
  12. <div id="left-area"<?php if ($fullwidth) echo ' class="fullwidth"'; ?>>
  13. <div class="big-box">
  14. <div class="big-box-top">
  15. <div class="big-box-content">
  16. <div class="post clearfix single">
  17.  
  18. <?php
  19. $pid = $_GET["pid"];
  20. $pid = ereg_replace("[^0-9]", "", $pid);
  21.  
  22. $shortcode_output = do_shortcode('[singlepic id="' . $pid . '" w="" h=""]');
  23. if ($shortcode_output=="[SinglePic not found]"){
  24. echo ("No picture here");
  25. }else {
  26. echo do_shortcode('[singlepic id="' . $pid . '" w="" h=""]');
  27. }?>
  28.  
  29.  
  30.  
  31. </div> <!-- end .post-->
  32. </div> <!-- end .big-box-content-->
  33. </div> <!-- end .big-box-top-->
  34. </div> <!-- end .big-box-->
  35.  
  36. </div> <!-- end #left-area -->
  37.  
  38. <?php if (!$fullwidth) get_sidebar(); ?>
  39.  
  40. <?php get_footer(); ?>
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×