Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="media-upload">
- <table>
- <tr valign="top">
- <td><input id="upload_image_button" type="button" value="Upload Media"></td>
- </tr>
- <tr valign="top" class="ppwfg-images">
- <?php
- $show_the_value = get_post_meta($post->ID, '_ppwfg_images', true);
- if ($show_the_value) {
- foreach ($show_the_value as $value) { ?>
- <input type="text" name="ppwfg[]" value="<?php if($value['ppwfg'] != '') echo $value['ppwfg']; ?>" size="60" />
- <img src="<?php if($value['ppwfg'] != '') echo $value['ppwfg']; ?>" id="upload_image" class="ppwfg_image" style='width:75px; height:75px; margin: 3px;'/>
- <?php }
- }
- ?>
- </tr>
- </table>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement