function vapor_twitter_card() { $twitter = site_meta('twitter_account'); if ($twitter != '' || $twitter != NULL) { $title = article_id() ? article_title() : site_name(); $description = article_id() ? article_description() : site_description(); echo '<meta name="twitter:card" content="summary" /> <meta name="twitter:site" content="@' . str_replace('@', '', $twitter) . '" /> <meta name="twitter:title" content="' . $title . '" /> <meta name="twitter:description" content="' . $description . '" />'; } }
echo article_title(); ?> </a><br/> <small>Dodane: <time datetime="<?php echo date(DATE_W3C, article_time()); ?> "><?php echo relative_time(article_time()); ?> </time></small> </h4> </div> <div class="panel-body"> <!--<img src="http://lorempixel.com/200/200/abstract" alt="">--> <p class="" style="text-align:justify"><?php echo article_description(); ?> </p> <a href="<?php echo article_url(); ?> " class="btn btn-default">Read more</a> </div> </div> </div><!--/.item --> <?php } ?> </div>
?> </time> By <?php echo article_author('real_name'); ?> </h3> <div class="animated bounceInLeft"> <div class="addthis_sharing_toolbox"></div> <?php $pageTitle = article_title() . ' - DownloadMii Blog'; $buffer = ob_get_contents(); ob_end_clean(); $buffer = str_replace("%TITLE%", $pageTitle, $buffer); $buffer = str_replace("%DESCRIPTION%", article_title(), $buffer); $buffer = str_replace("%SOCIAL_TITLE%", $pageTitle, $buffer); $buffer = str_replace("%SOCIAL_URL%", article_url(), $buffer); $buffer = str_replace("%SOCIAL_DESC%", article_description(), $buffer); echo $buffer; if (article_custom_field('appnameField1', 'null') != 'null') { ?> App: <a href="https://www.downloadmii.com/apps/view/<?php echo article_custom_field('appnameField1_GUID'); ?> "><?php echo article_custom_field('appnameField1'); ?> </a> <br /> <?php } ?> <br />
<?php defined('IN_CMS') or die('No direct access allowed.'); $home = is_postspage(); $url = isset($url) && !$home ? $url : article_url(); $title = isset($title) && !$home ? $title : article_title(); $time = isset($time) && !$home ? $time : article_time(); $excerpt = isset($excerpt) && !$home ? $excerpt : trim(article_description()); $excerpt = $excerpt == "" ? false : $excerpt; $content = isset($content) && !$home ? $content : article_html(); $image = isset($image) && !$home ? $image : article_custom_field('img', false); $isArticle = isset($isArticle) && $isArticle; $uurl = urlencode(full_url()); $utitle = urlencode($title); $tags = array("theme_url" => theme_url()); foreach ($tags as $s => $r) { $content = str_replace("{" . $s . "}", $r, $content); } ?> <li class="<?php if (isset($first) && $first) { echo "showContent"; } if (!$time) { echo " noFooter"; } echo is_single() ? " single" : " multiple"; ?> "> <header tabindex="-1"> <!--<a href="<?php
echo article_url(); ?> "><?php echo article_title(); ?> </a></h1> <div class="meta"> <?php echo get_author(); ?> </div> </header> <?php if (article_description()) { echo "<p>" . article_description() . "</p>"; } else { echo split_content(article_markdown()); } ?> <p><a href="<?php echo article_url(); ?> " rel="article">detaily</a></p> </article> <?php } ?> <?php }