<?php defined('ABSPATH') or die("No script kiddies please!"); ?>
<div class="egpr-shortcode-usage-wrapper">
    <ul>
        <li rel="tab-1" class="selected">
            <p class="description">
                <?php _e('Copy &amp; paste the shortcode directly into any WordPress post or page.',EGPR_TD);?>
                </p>
             <h4>Shortcode</h4>
             <input type='text' class='egpr-shortcode-wrap' readonly='' value='[egpr_reviews id="<?php echo $post->ID; ?>"]' style='width: 100%;' onclick='select()' />
            <span class="egpr-copied-info" style="display: none;"><?php _e('Shortcode copied to your clipboard.', EGPR_TD); ?></span>
        </li>
        <li rel="tab-2">
            <h4>Template Include</h4>
            <p class="description"><?php _e('Copy &amp; paste this code into a template file to include the Everest Google Places Reviews within your theme to display this specific places review.',EGPR_TD);?></p>
            
             <textarea cols="37" rows="3" class='egpr-shortcode-wrap2' readonly='readonly'>&lt;?php echo do_shortcode("[egpr_reviews id=<?php echo $post->ID; ?>]")?&gt;</textarea>
             <span class="egpr-copied-info2" style="display: none;"><?php _e('Shortcode copied to your clipboard.', EGPR_TD); ?></span>
        </li>
    </ul>
</div>
