modified.

This commit is contained in:
umaircb 2014-03-12 10:25:25 +00:00
parent 020ccb9101
commit 5ff3cdbe49

View file

@ -1,70 +1,94 @@
<span class="page_title">Editor's Pick</span>
<h1>Editor's Pick</h1>
<form name="editors_pick" action="" method="post">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="30" align="center" valign="middle"><img src="{$imageurl}/arrow_return.png" width="25" height="25"></td>
<td height="50" style="padding-left:15px">
<input type="submit" value="Update" name="update_order" class="btn btn-primary btn-xs" />
<input type="submit" name="delete_selected" value="Delete" class="btn btn-primary btn-xs" onclick="return confirm_it('Are you sure you want to delete selected video(s)')"/>
<div class="btn-group">
<input class="btn btn-primary btn-xs" type="submit" name="update_order" value="Update" class="button"/>
<input class="btn btn-primary btn-xs" type="submit" name="delete_selected" value="Delete" class="button"
onclick="return _cb.confirm_it('Are you sure you want to delete selected video(s)')"/>
</div>
</td>
</tr>
</table>
<table class="table table-bordered table-striped manageUsersTable">
<tr>
<td>
<input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/></td>
<td>Order</td>
<td>Details</td>
<td>&nbsp;</td>
</tr>
{assign var = bgcolor value = ""}
{section name=list loop=$videos}
<tr class="video_opt_td" bgcolor="{$bgcolor}">
<td width="30" align="center" valign="top" class="video_opt_td"> <input name="check_video[]" type="checkbox" id="check_video" value="{$videos[list].videoid}" /></td>
<td width="50" align="left" valign="top" class="video_opt_td"><input name="ep_order_{$videos[list].pick_id}" type="text" id="order" style="border:1px solid #999; padding:2px; width:30px" value="{$videos[list].sort}" size="5" maxlength="5" /></td>
<td valign="top" class="video_opt_td"
onmouseover="$('#ep_opts-{$videos[list].videoid}').show()"
onmouseout="$('#ep_opts-{$videos[list].videoid}').hide()"
>
<a href="{$baseurl}/watch_video.php?v={$videos[list].videokey}" target="_blank" style="text-indent:10px">
{$videos[list].title}
</a> &#8211;<a href="?remove={$videos[list].videoid}"> Remove from editor's pick</a>&#8212;
<span class="vdo_sets">
Featured:<strong>{$videos[list].featured} </strong> &#8226;
Active:<strong>{$videos[list].active}</strong> &#8226;
Status:<strong>{$videos[list].status}</strong>
</span>
<br />
<div id="ep_opts-{$videos[list].videoid}" style="display:none" class="vid_opts">
<a href="?remove={$videos[list].videoid}">Remove from editor's pick</a>
</div>
</td>
<td width="50" valign="top" class="video_opt_td">&nbsp;</td>
</tr>
{if $bgcolor == ""}
{assign var = bgcolor value = "#EEEEEE"}
{else}
{assign var = bgcolor value = ""}
{/if}
{/section}
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<div class="btn-group">
<input class="btn btn-primary btn-xs" type="submit" name="update_order" value="Update" class="button"/>
<td width="30" align="center" valign="middle" class="left_head">
<input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/></td>
<td width="50" class="head">Order</td>
<td class="head">Details</td>
<td width="50" class="right_head">&nbsp;</td>
</tr>
</table>
<table class="table table-bordered table-striped manageUsersTable">
<tr>
<td>
<input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/></td>
<td>VID</td>
<td>Videos Details</td>
<td>&nbsp;</td>
</tr>
{if $videos}
{foreach from=$videos item=video}
<tr>
<td>
<input name="check_video[]" type="checkbox" id="check_video" value="{$video.videoid}"/>
</td>
<td>{$video.sort}</td>
<td>
<div class="row">
<div class="col-md-10">
<div class="row">
<div class="col-md-3">
<img src="{getThumb vdetails=$video}" width="130" height="80" id="thumbs_{$video.videoid}" title=""/>
</div>
<div class="col-md-9">
<a href="edit_video.php?video={$video.videoid}">
{$video.title|truncate:80} </a>({if
$video.duration>1}{$video.duration|SetTime}{else}00:00{/if})<br>
<span class="labels1"> <strong>{$video.date_added|niceTime}</strong>
{lang code='views'} : <strong>{$video.views|number_format}</strong></span>
<div class="labels">
{if $video.featured=='yes'}<span class="label label-primary">Featured{else}{/if}</span>
<span class="label {if $video.active=='yes'}label-success{else}label-warning{/if}">
{if $video.active=='yes'}Active{else}InActive{/if} </span>
<span class="label {if $video.status=='yes'}label-success{else}label-warning{/if}">
{if $video.status=='yes'}Successful{else}Processing{/if}</span>
<span class="label label-info">
Viewed {$video.last_viewed|niceTime}</span>
</div>
</div>
</div>
</div>
<div class="col-md-2">
<a href="view_user.php?uid={$video.userid}">{$video.username}</a>
</div>
</div>
</td>
<td>
<div class="dropdown">
<button id="dropdownMenu1" class="btn btn-primary btn-xs dropdown-toggle pull-left" data-toggle="dropdown">
Actions <i class="caret"></i></button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1" role="menu">
<li><a role="menuitem" tabindex="-1"
href="?remove={$video.videoid}">Remove Video</a></li>
</ul>
</div>
</td>
</tr>
{/foreach}
{/if}
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="30" align="center" valign="middle"><img src="{$imageurl}/arrow_return_invert.png" width="25" height="25"></td>
<td height="50" style="padding-left:15px"><input type="submit" value="Update" name="update_order" class="btn btn-primary btn-xs" />
<input type="submit" name="delete_selected" value="Delete" class="btn btn-primary btn-xs" onclick="return confirm_it('Are you sure you want to delete selected video(s)')"/>
<input class="btn btn-primary btn-xs" type="submit" name="delete_selected" value="Delete" class="button"
onclick="return _cb.confirm_it('Are you sure you want to delete selected video(s)')"/>
</div>
</td>
</tr>
</table>