Exemplo n.º 1
0
</a></span><span style="float:right;"><?php 
        _e("Sponsored ad", "modern");
        ?>
</span>
                     </h3>
                     <p style="clear: left;">
                         <strong><?php 
        if (osc_price_enabled_at_items()) {
            echo osc_premium_formated_price();
            ?>
 - <?php 
        }
        echo osc_premium_city();
        ?>
 (<?php 
        echo osc_premium_region();
        ?>
) - <?php 
        echo osc_format_date(osc_premium_pub_date());
        ?>
</strong>
                     </p>
                     <p><?php 
        echo osc_highlight(strip_tags(osc_premium_description()));
        ?>
</p>
                 </td>
             </tr>
            <?php 
        $class = $class == 'even' ? 'odd' : 'even';
        ?>
Exemplo n.º 2
0
            ?>
"><?php 
            echo osc_premium_category();
            ?>
</a></span></h3>
            <p><?php 
            printf(__('<strong>Publish date</strong>: %s', 'twitter'), osc_format_date(osc_premium_pub_date()));
            ?>
</p>
            <?php 
            $location = array();
            if (osc_premium_country() != '') {
                $location[] = sprintf(__('<strong>Country</strong>: %s', 'twitter'), osc_premium_country());
            }
            if (osc_premium_region() != '') {
                $location[] = sprintf(__('<strong>Region</strong>: %s', 'twitter'), osc_premium_region());
            }
            if (osc_premium_city() != '') {
                $location[] = sprintf(__('<strong>City</strong>: %s', 'twitter'), osc_premium_city());
            }
            if (count($location) > 0) {
                ?>
                    <p><?php 
                echo implode(' &middot; ', $location);
                ?>
</p>
                <?php 
            }
            ?>
            <p><?php 
            echo osc_highlight(strip_tags(osc_premium_description()));