<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 {$type|upper} VIDEOS</h2></div>
			  {if $videos}
              <div class="blink">
                <div class="blinkl">
                    &nbsp;Showing <strong>{$start_num}</strong> to <strong>{$end_num}</strong> of <strong>{$videos_total}</strong> videos.
                </div>
                <div class="blinkr">
                {if isset($smarty.session.uid) && $smarty.session.uid == $user.UID}
                    <a href="{$relative}/upload">Upload Video</a>
                {/if}
                </div>
                <div class="clear"></div>
              </div>
              {section name=i loop=$videos}
              <div class="video_box_small">
                  <a href="{$relative}/video/{$videos[i].VID}/{$videos[i].title|clean}"><img src="{$relative}/media/videos/tmb/{$videos[i].VID}/{$videos[i].thumb}.jpg" title="{$videos[i].title|escape:'html'}" alt="{$videos[i].title|escape:'html'}" width="140" id="favoriterotate_{$videos[i].VID}" /><br /><span class="font-12 font-bold">{$videos[i].title|truncate:23:' ...':true|escape:'html'}</span><br />{if $videos[i].type == 'private'}<img alt="" style="position: absolute; left: 0px; top: 0px; width: 140px; height: 105px;" src="{$relative_tpl}/images/private-video.png" />{/if}</a>
                  <div class="vbox_small_left">
                      {insert name=duration assign=duration duration=$videos[i].duration}
                      {$duration}<br />
                  </div>
                  <div class="vbox_small_right">
                      {insert name=rating_small assign=video_rating rating=$videos[i].rate}
                      {$video_rating}
                      <div class="clear_right"></div>
                      {$videos[i].viewnumber} views                                                                                           
                  </div>
                  <div class="clear"></div>
              </div>                                                  
              {/section}
              <br />
              <div class="clear_left"></div>
              <div class="pagination"><ul>{$page_link}</ul></div><br />
			  {else}
              <p>&nbsp;&nbsp;&nbsp;No {$type} videos found.</p>
			  {/if}
          </div>
    </div>
    <div class="clear"></div>
</div>
