Blame | Last modification | View Log | RSS feed
<div class="col" id="home_screen"><div class="blog_search"><form action="<?php echo SP_WEBPATH . "/blog.php"?>" method="post"><input type="text" name="search" value="<?php echo $post['search']?>" placeholder="Search"></form></div><?phpif (!empty($blogList)) {foreach ($blogList as $blogInfo) {$publishedTime = strtotime($blogInfo['updated_time'])?><div class="blog_section"><div class="blog_List_head"><a href="<?php echo SP_WEBPATH . "/blog.php?id=" . $blogInfo['id']?>"><?php echo $blogInfo['blog_title']?></a><p>Posted on <?php echo date('F d, Y', $publishedTime);?> by Admin</p></div><div class="blog_body"><p><?php echo convertMarkdownToHtml($blogInfo['blog_content'])?></p></div><div class="blog_tags">Tags:<?php$tagList = explode(",", $blogInfo['tags']);foreach ($tagList as $tag) {$tag = trim($tag);if (!empty($tag)) {?><a href="<?php echo SP_WEBPATH . "/blog.php?tag=". urlencode($tag);?>"><?php echo $tag;?></a> <?php}}?></div></div><?php}?><?php if (!empty($olderPage)) { ?><div style="float: left;width: 40%;" class="blog_paginate_div"><a href="<?php echo $blogBaseLink . "&page=$olderPage";?>"><< <?php echo $spBlogText['Older Posts']?></a></div><?php }?><?php if (!empty($newerPage)) { ?><div style="float: left;width: 40%;" class="blog_paginate_div"><a href="<?php echo $blogBaseLink . "&page=$newerPage";?>"><?php echo $spBlogText['Newer Posts']?> >></a></div><?php }?><?php } else {?><div class="blog_section"><div class="blog_List_head"><a><?php echo $spBlogText['Nothing Found']?></a><br><br><span><?php echo $spBlogText['NothingFound_text2']?></span></div></div><?php }?></div>