Embed Audio by Genre
Using Jamroom
agreed
{jrCore_list module="jrBlog" order_by="_created desc" search1="_profile_id in 1,166144" search2="blog_category = news" template=$site_news_template pagebreak="4" page=$_post.p}
<div id="site_news_div" class="body_3" style="margin-bottom:40px;">
{* ROW TEMPLATE *}
{capture name="row_template" assign="site_news_template"}
{literal}
{if isset($_items)}
{jrCore_module_url module="jrBlog" assign="murl"}
{foreach from=$_items item="item"}
<div style="padding:10px;">
<div class="br-info" style="margin-bottom:20px;">
<div class="blog-div">
<span class="blog-user capital"> By {$item.profile_name}</span>
</div>
<div class="blog-div">
<span class="blog-date"> {$item.blog_publish_date|jrCore_format_time:false:"%m/%d/%y"}</span>
</div>
<div class="blog-div">
<span class="blog-tag capital"> Tag: {$item.blog_category}</span>
</div>
{if jrCore_module_is_active('jrComment')}
<div class="blog-div">
<span class="blog-replies">
{if $item.profile_id == '1'}
<a href="{$jamroom_url}/news_story/{$item.blog_title_url}#comments"><span class="capital">{jrCore_lang module="jrBlog" id="27" default="comments"}</span>: {$item.blog_comment_count|default:0}</a>
{else}
<a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.blog_title_url}#comments"><span class="capital">{jrCore_lang module="jrBlog" id="27" default="comments"}</span>: {$item.blog_comment_count|default:0}</a>
{/if}
</span>
<span class="normal"> | </span>
<span class='st_facebook' st_title='{$item.blog_title|escape}' st_url='{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.blog_title_url}'></span><span class='st_twitter' st_title='{$item.blog_title|escape}' st_url='{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.blog_title_url}'></span><span class='st_email' st_title='{$item.blog_title|escape}' st_url='{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.blog_title_url}'></span><span class='st_sharethis'></span>
</div>
{/if}
{if jrUser_is_master()}
<div class="float-right">
<a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.blog_title_url}">{jrCore_icon icon="gear" size="18"}</a>
</div>
{/if}
<div class="clear"></div>
</div>
<h3><a href="{$jamroom_url}/news_story/{$item.blog_title_url}">{$item.blog_title}</a></h3>
<div class="blog-text">
{if isset($item.blog_image_size) && $item.blog_image_size > 0}
{jrCore_module_function function="jrImage_display" module="jrBlog" type="blog_image" item_id=$item._item_id size="large" alt=$item.blog_title width="128" height="128" crop="auto" class="iloutline img_shadow" style="float:left;margin-right:8px;margin_bottom:8px;"}
{/if}
{$item.blog_text|jrCore_format_string:$item.profile_quota_id|jrBlog_readmore|jrEmbed_embed|nl2br}
</div>
</div>
{* share this http://sharethis.com *}
<script type="text/javascript">var switchTo5x = true;</script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({ldelim}publisher:"388dfdea-9f20-4afd-ad57-a451dd00eac1"{rdelim});</script>
{/foreach}