<div id="content">
    <div class="left span-200">
        <div class="box">
            
            <div class="btitle"><h2>SUBSCRIPTIONS:</h2></div>
            <ul class="submenu_links">
                <li>{if $username == 'all'}All{else}<a href="{$relative}/feeds">All</a>{/if}</li>
                {section name=i loop=$subscriptions}
                <li>
                {if $username == $subscriptions[i].username}
                {$subscriptions[i].username|escape:'html'}
                {else}
                <a href="{url base='feeds' strip='u' value=$subscriptions[i].username}">{$subscriptions[i].username|escape:'html'}</a></li>
                {/if}
                {/section}
            </ul>
            <div class="clear_left"></div>
        </div>
    </div>    
    <div class="right span-750">
        <div class="box">
            
            <div class="btitle"><h2>FEED ACTIVITY</h2></div>
            <div class="blinkp">
                 {if $table == 'all'}All{else}<a href="{url base='feeds' strip='t' value='all'}">All</a>{/if} <strong>&middot;</strong>
                 {if $table == 'albums'}Albums{else}<a href="{url base='feeds' strip='t' value='albums'}">Albums</a>{/if} <strong>&middot;</strong>
                 {if $table == 'blogs'}Blogs{else}<a href="{url base='feeds' strip='t' value='blogs'}">Blogs</a>{/if} <strong>&middot;</strong>
                 {if $table == 'games'}Games{else}<a href="{url base='feeds' strip='t' value='games'}">Games</a>{/if} <strong>&middot;</strong>
                 {if $table == 'videos'}Videos{else}<a href="{url base='feeds' strip='t' value='videos'}">Videos</a>{/if}
            </div>
            {if $feeds}                        
            {section name=i loop=$feeds}
            <div class="feed_row">
                {if $feeds[i].type == 'video'}
                <img src="{$relative}/images/film.png" />
                {elseif $feeds[i].type == 'album'}
                <img src="{$relative}/images/images.png" />
                {elseif $feeds[i].type == 'photo'}
                <img src="{$relative}/images/image.png" />
                {elseif $feeds[i].type == 'game'}
                <img src="{$relative}/images/joystick.png" />
                {elseif $feeds[i].type == 'blog'}
                <img src="{$relative}/images/page.png" />
                {/if}
                &nbsp;
                [{$feeds[i].time|date_format:"%m/%d/%y"}] &nbsp;<a href="{$relative}/user/{$feeds[i].data.username}">{$feeds[i].data.username}</a>&nbsp;
                {if $feeds[i].type == 'video'}
                has uploaded &nbsp;<a href="{$relative}/video/{$feeds[i].data.VID}/{$feeds[i].data.title|clean}">a new video</a>.
                {elseif $feeds[i].type == 'album'}
                has created &nbsp;<a href="{$relative}/album/{$feeds[i].data.AID}/{$feeds[i].data.name|clean}">a new album</a>.
                {elseif $feeds[i].type == 'game'}
                has uploaded &nbsp;<a href="{$relative}/game/{$feeds[i].data.GID}/{$feeds[i].data.title|clean}">a new game</a>.
                {elseif $feeds[i].type == 'blog'}
                has created &nbsp;<a href="{$relative}/blog/{$feeds[i].data.BID}/{$feeds[i].data.title|clean}">a new blog</a>.
                {/if}            
            </div>
            {/section}
            <div class="pagination"><ul>{$page_link}</ul></div><br />
            {else}
            <br /><div class="no_comments">NO FEEDS YET...</div><br />
            {/if}
        </div>
    </div>
    <div class="clear"></div>
</div>