Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.75 KB | None | 0 0
  1. <div class="to-lock" style="text-align: center;">
  2.                     <div id="image">
  3.                         <?php
  4.                         if (getOption("Use_thickbox") && !isImageVideo()) {
  5.                             $boxclass = " class=\"thickbox\"";
  6.                         } else {
  7.                             $boxclass = "";
  8.                         }
  9.                         if (isImagePhoto()) {
  10.                             $tburl = getFullImageURL();
  11.                         } else {
  12.                             $tburl = NULL;
  13.                         }
  14.                         if (!empty($tburl)) {
  15.                             ?>
  16.                             <a href="<?php echo html_encode(pathurlencode($tburl)); ?>"<?php echo $boxclass; ?> title="<?php printBareImageTitle(); ?>">
  17.                                 <?php
  18.                             }
  19.                             printCustomSizedImageMaxSpace(getBareImageTitle(), 580, 580);
  20.                             ?>
  21.                             <?php
  22.                             if (!empty($tburl)) {
  23.                                 ?>
  24.                             </a>
  25.                             <?php
  26.                         }
  27.                    
  28.  
  29.                         ?>
  30.                     </div>
  31.                    
  32.                         </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement