<{include file="db:profile_header.html"}>
<{if $profile_videosform}>
<{if $hideForm}>
<div class="profile-form outer">
  <h2 class="head">
    <a href="#" onclick ="jQuery().find('div.profile-album-form').toggle(400);"><img src="images/toggle.gif" /></a>&nbsp;<{$lang_videosform_title}>
  </h2>
  <div class="profile-album-form" style="display: none">
    <{includeq file='db:system_common_form.html' form=$profile_videosform}>
  </div>
</div>
<{else}>
<{includeq file='db:system_common_form.html' form=$profile_videosform}>
<{/if}>
<{/if}>
<{if $profile_single_video}>
<div class="profile_single_video_container">
  <h1 class="video-title"><{$profile_single_video.video_desc}></h1>
  <div class="profile_single_video_content"><{$profile_single_video.video_content}></div>
  <{if $profile_single_video.userCanEditAndDelete}>
  <div class="profile_admin_links"><{$profile_single_video.editItemLink}><{$profile_single_video.deleteItemLink}></div>
  <{/if}>
</div>
<{/if}>
<{if $profile_allvideos}>
<div id="profile-video-container" class="outer">
  <table width="100%" cellspacing="1" cellpadding="4">
    <tbody>
      <tr align="center">
        <th width="350px"><{$lang_video}></th>
        <th><{$lang_description}></th>
        <{if $actions}><th width="130px"><{$lang_actions}></th><{/if}>
      </tr>
      <{foreach item=video from=$profile_allvideos}>
      <{cycle values='even,odd' assign=class}>
      <tr class="<{$class}>">
        <td width="350px" align="center"><{$video.video_content}></td>
	<td style="vertical-align:top;"><strong><{$video.video_title}></strong><br /><br /><{$video.video_desc}></td>
        <{if $video.userCanEditAndDelete}>
        <td width="130px" align="center"><{$video.editItemLink}><{$video.deleteItemLink}></td>
        <{/if}>
      </tr>
      <{/foreach}>
    </tbody>
  </table>
</div>
<{/if}>
<{if $icmspersistable_delete_confirm}>
<{$icmspersistable_delete_confirm}>
<{/if}>
<{if $lang_nocontent}><div id="profile-nocontent" class="outer"><p class="odd"><{$lang_nocontent}></p></div><{/if}>