Advertisement
bowenac

Untitled

Jun 2nd, 2014
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.70 KB | None | 0 0
  1.     <div class="media-upload">
  2.     <table>
  3.        <tr valign="top">
  4.           <td><input id="upload_image_button" type="button" value="Upload Media"></td>
  5.        </tr>
  6.        <tr valign="top" class="ppwfg-images">
  7.         <?php
  8.         $show_the_value = get_post_meta($post->ID, '_ppwfg_images', true);
  9.         if ($show_the_value) {
  10.             foreach ($show_the_value as $value) { ?>
  11.                 <input type="text" name="ppwfg[]" value="<?php if($value['ppwfg'] != '') echo  $value['ppwfg']; ?>"  size="60" />
  12.                 <img src="<?php if($value['ppwfg'] != '') echo  $value['ppwfg']; ?>" id="upload_image" class="ppwfg_image" style='width:75px; height:75px; margin: 3px;'/>
  13.             <?php }
  14.         }
  15.         ?>
  16.        </tr>
  17.     </table>
  18.     </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement