Ejemplo n.º 1
0
        if ($imageUrl) {
            ?>
                            <img class='ml-preview-img' src='<?php 
            echo $imageUrl;
            ?>
'/>   
                            <?php 
        }
        ?>
                            <div class='ml-preview-article-body'>
                                <h3><?php 
        echo $post->post_title;
        ?>
</h3>
                                <span class='ml-article-date'><?php 
        echo get_option('ml_datetype', 'prettydate') == 'prettydate' ? Mobiloud_App_Preview::how_long_ago(strtotime($post->post_date)) : date_i18n(get_option('ml_dateformat', 'F j, Y'), strtotime($post->post_date), get_option('gmt_offset'));
        ?>
</span>
                            </div>
                        </div>
                        <?php 
    }
} else {
    ?>
                    <div class='ml-preview-article'>
                        <img src='<?php 
    echo MOBILOUD_PLUGIN_URL;
    ?>
/images/articles/1.jpg'/>          
                        <div class='ml-preview-article-body'>
                            <h3>Microsoft and Knewton partner up to bring adaptive learning to publishers & schools</h3>
        if ($imageUrl) {
            ?>
                            <img class='ml-preview-img' src='<?php 
            echo $imageUrl;
            ?>
'/>   
                            <?php 
        }
        ?>
                            <div class='ml-preview-article-body'>
                                <h3><?php 
        echo $post->post_title;
        ?>
</h3>
                                <span class='ml-article-date'><?php 
        echo get_option(base64_decode('bWxfZGF0ZXR5cGU='), base64_decode('cHJldHR5ZGF0ZQ==')) == base64_decode('cHJldHR5ZGF0ZQ==') ? Mobiloud_App_Preview::how_long_ago(strtotime($post->post_date)) : date_i18n(get_option(base64_decode('bWxfZGF0ZWZvcm1hdA=='), base64_decode('RiBqLCBZ')), strtotime($post->post_date), get_option(base64_decode('Z210X29mZnNldA==')));
        ?>
</span>
                            </div>
                        </div>
                        <?php 
    }
} else {
    ?>
                    <div class='ml-preview-article'>
                        <img src='<?php 
    echo MOBILOUD_PLUGIN_URL;
    ?>
/images/articles/1.jpg'/>          
                        <div class='ml-preview-article-body'>
                            <h3>Microsoft and Knewton partner up to bring adaptive learning to publishers & schools</h3>