<div id="content">
    <div class="left span-300">
        {include file='user_info.tpl'}
    </div>
    <div class="right span-650">
          <div class="box">
              
              <div class="btitle"><h2>{$username|upper}'S SUBSCRIPTIONS</h2></div>
              <div class="bsubmenu">
				  <div class="bsubmenul">
	              &nbsp;{if $order == 'subscribe_date'}Recent Subscriptions{else}<a href="{url base="user/`$username`/subscriptions" strip='o' value='subscribe_date'}">Recent Subscriptions</a>{/if} <strong>&middot;</strong>
              	  {if $order == 'recent_users'}Recent Users{else}<a href="{url base="user/`$username`/subscriptions" strip='o' value='recent_users'}">Recent Users</a>{/if} <strong>&middot;</strong>
              	  {if $order == 'recent_logins'}Recent Logins{else}<a href="{url base="user/`$username`/subscriptions" strip='o' value='recent_logins'}">Recent Logins</a>{/if} <strong>&middot;</strong>
                  {if $order == 'username'}Username{else}<a href="{url base="user/`$username`/subscriptions" strip='o' value='username'}">Username</a>{/if}
				  </div>
				  <div class="bsubmenur">&nbsp;</div>
				  <div class="clear"></div>
              </div>
              {if $subscriptions}
              <div class="blinkp">&nbsp;Showing <strong>{$start_num}</strong> to <strong>{$end_num}</strong> of <strong>{$subscriptions_total}</strong> subscriptions.</div>
			  <div id="remove_subscription_message" class="posting" style="display:none"></div>
              {section name=i loop=$subscriptions}
              <div id="subscription_{$subscriptions[i].UID}" class="user-box">
                  <a href="{$relative}/user/{$subscriptions[i].username}"><img src="{$relative}/media/users/{if $subscriptions[i].photo == ''}nopic-{$subscriptions[i].gender}.gif{else}{$subscriptions[i].photo}{/if}" alt="{$subscriptions[i].username}'s avatar" /><br /><span class="font-12">{$subscriptions[i].username|escape:'html'}</span></a><br />
				  {if isset($smarty.session.uid) && $smarty.session.uid == $user.UID}
                  <div class="user-box-remove">
                      <a href="#remove_subscription" id="remove_subscription_{$subscriptions[i].UID}" class="remove">Remove</a>
                  </div>
                  {/if}				  
              </div>                                                      
              {/section}
              <br />
              <div class="clear_left"></div>
              <div class="pagination"><ul>{$page_link}</ul></div><br />
              {else}
              <p>&nbsp;&nbsp;&nbsp;No subscriptions found.</p>
              {/if}
          </div>
    </div>
    <div class="clear"></div>
</div>
