
Added : Ajax System Added : Ajax comments Added : New rating Added : Ajax Add to favorites Added : Ajax share this Added : Ajax Flag Video Added : new watch video page Added : New ClipBucket V2 Template
116 lines
No EOL
4.4 KiB
HTML
116 lines
No EOL
4.4 KiB
HTML
<div>
|
|
{include file="$style_dir/blocks/manage/account_left.html"}
|
|
<div class="account_box">
|
|
{include file="$style_dir/blocks/manage/account_head.html" user=$user}
|
|
|
|
{if $mode =='manage_playlist'}
|
|
<h2>Manage Playlists</h2>
|
|
|
|
<!-- ADD NEW PLAYLIST -->
|
|
<div class="account_form">
|
|
<form method="post" name="edit_profile">
|
|
<fieldset class="fieldset">
|
|
<legend>{lang code='add_new_playlist'}</legend>
|
|
|
|
<div class="account_field_block">
|
|
<div class="account_field_label" align="right"><strong><label for="old_pass">{lang code='playlist_name'}</label></strong></div>
|
|
<div class="account_field"><input name="name" type="text" id="name" style="margin-bottom:10px"></div>
|
|
<div class="clearfix"></div>
|
|
</div>
|
|
|
|
<div align="right"><button name="add_playlist" id="button" value="submit" class="cb_button_2">{lang code='add_new_playlist'}</button></div>
|
|
|
|
</fieldset>
|
|
</form>
|
|
</div>
|
|
<!-- Add new playlist -->
|
|
|
|
<!-- Getting List of Playlist -->
|
|
<div class="account_table">
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td width="25"><input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/>
|
|
</td>
|
|
<td>Title</td>
|
|
<td width="130">Date added</td>
|
|
<td width="130" class="last_td">Total Items</td>
|
|
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
{assign var='bg' value='fff'}
|
|
{section name=plist loop=$playlists}
|
|
<div class="account_vid_list" style="background-color:#{$bg}">
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td width="25"><input type="checkbox" name="check_vid[]" id="check_vid-{$video.videoid}" value="{$video.videoid}" />
|
|
<label for="checkbox"></label></td>
|
|
<td valign="middle">
|
|
{$playlists[plist].playlist_name|truncate:100}<br />
|
|
<span class="video_control"><a href="?mode=edit_playlist&pid={$playlists[plist].playlist_id}">view</a> - <a href="javascript:void(0)" onmousedown="delete_video('delete_icon_a','{$playlists[plist].playlist_id}','{lang code="remove_playlist_confirm"}','?mode=manage_playlist&delete_pl={$playlists[plist].playlist_id}')" id="delete_icon_a-{$playlists[plist].playlist_id}">delete</a></span></td>
|
|
<td width="130">{$playlists[plist].date_added|date_format}</td>
|
|
<td width="130">{$cbvid->action->count_playlist_items($playlists[plist].playlist_id)|number_format}</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
{if $bg=='fff'}
|
|
{assign var='bg' value='EFF5F8'}
|
|
{else}
|
|
{assign var='bg' value='fff'}
|
|
{/if}
|
|
{/section}
|
|
<!-- Getting List of Playlist -->
|
|
{/if}
|
|
|
|
{if $mode =='edit_playlist'}
|
|
<h2>Edit Playlist</h2>
|
|
<div class="account_form">
|
|
<form method="post" name="edit_profile">
|
|
<fieldset class="fieldset">
|
|
<legend>{lang code='edit_playlist'}</legend>
|
|
|
|
<div class="account_field_block">
|
|
<div class="account_field_label" align="right"><strong><label for="old_pass">{lang code='playlist_name'}</label></strong></div>
|
|
<div class="account_field"><input name="name" type="text" id="name" style="margin-bottom:10px" value="{$playlist.playlist_name}"></div>
|
|
<div class="clearfix"></div>
|
|
</div>
|
|
|
|
<div align="right"><button name="edit_playlist" id="button" value="submit" class="cb_button_2">{lang code='edit_playlist'}</button></div>
|
|
|
|
</fieldset>
|
|
</form>
|
|
</div>
|
|
|
|
{if $items}<div align="right"><a href="{videoLink vdetails=$items[0]}">PLAY NOW</a></div>{/if}
|
|
<div class="account_table">
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td width="25"><input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/>
|
|
</td>
|
|
<td>Title</td>
|
|
<td width="100">Date added</td>
|
|
<td width="100">Views</td>
|
|
<td width="100">Comments</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
{assign var='bg' value='fff'}
|
|
{section name=plist loop=$items}
|
|
{include file="$style_dir/blocks/manage/account_video.html" video=$items[plist] bg=$bg control="playlist" pid=$playlist.playlist_id}
|
|
{if $bg=='fff'}
|
|
{assign var='bg' value='EFF5F8'}
|
|
{else}
|
|
{assign var='bg' value='fff'}
|
|
{/if}
|
|
|
|
{sectionelse}
|
|
<div align="center" style="padding:5px"><strong><em>You do not have any favorite video</em></strong></div>
|
|
{/section}
|
|
|
|
{/if}
|
|
</div>
|
|
</div> |